CN109644351B - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN109644351B CN109644351B CN201780049127.4A CN201780049127A CN109644351B CN 109644351 B CN109644351 B CN 109644351B CN 201780049127 A CN201780049127 A CN 201780049127A CN 109644351 B CN109644351 B CN 109644351B
- Authority
- CN
- China
- Prior art keywords
- mac
- sdu
- pdcp
- pdcp sdu
- mac pdu
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提供一种数据处理方法和设备,可以尽可能避免不必要的缓存开销。该方法包括:针对第一分组数据汇聚协议PDCP服务数据单元SDU开启用于限制缓存时长的定时器;在所述定时器到期时,对包括所述第一PDCP SDU的第一媒体接入控制MAC数据单元进行处理。
The embodiments of the present application provide a data processing method and device, which can avoid unnecessary cache overhead as much as possible. The method includes: starting a timer for limiting the buffering duration for a first packet data convergence protocol PDCP service data unit SDU; when the timer expires, controlling access to a first medium including the first PDCP SDU MAC data units are processed.
Description
技术领域technical field
本申请涉及通信领域,并且更具体地,涉及一种数据处理方法和设备。The present application relates to the field of communications, and more particularly, to a data processing method and device.
背景技术Background technique
在长期演进(Long Term Evolution,LTE)系统中,发送端在发送数据时,会针对媒体接入控制(Media Access Control,MAC)数据单元设置最大重传次数,如果传输一直失败,且在达到最大重传次数时,可以对缓存中存储的媒体接入控制(Media AccessControl,MAC)数据单元进行清除。In the Long Term Evolution (LTE) system, when sending data, the sender will set the maximum number of retransmissions for the Media Access Control (MAC) data unit. During the number of retransmissions, the media access control (Media Access Control, MAC) data unit stored in the cache may be cleared.
只有在达到最大重传次数时,才清除缓存中的数据,这样将导致不必要的缓存开销。Only when the maximum number of retransmissions is reached, the data in the cache is cleared, which will cause unnecessary cache overhead.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种数据处理方法和设备,可以尽可能避免不必要的缓存开销。The embodiments of the present application provide a data processing method and device, which can avoid unnecessary cache overhead as much as possible.
第一方面,提供了一种数据处理方法,包括:In a first aspect, a data processing method is provided, including:
针对第一分组数据汇聚协议PDCP服务数据单元SDU开启用于限制缓存时长的定时器;Starting a timer for limiting the buffering duration for the first packet data convergence protocol PDCP service data unit SDU;
在所述定时器到期时,对包括所述第一PDCP SDU的第一媒体接入控制 MAC数据单元进行处理。When the timer expires, the first medium access control MAC data unit including the first PDCP SDU is processed.
因此,在本申请实施例中,在针对PDCP SDU设置的定时器到期时,对包括第一PDCPSDU的MAC数据单元进行处理,可以尽可能避免不必要的缓存开销。Therefore, in this embodiment of the present application, when the timer set for the PDCP SDU expires, the MAC data unit including the first PDCP SDU is processed, so as to avoid unnecessary buffering overhead as much as possible.
结合第一方面,在第一方面的一种可能的实现方式中,在所述定时器到期时,对包括所述第一PDCP SDU的MAC数据单元进行处理,包括:With reference to the first aspect, in a possible implementation manner of the first aspect, when the timer expires, processing the MAC data unit including the first PDCP SDU includes:
在所述定时器到期时,且所述第一MAC数据单元为未经过空口传输的第一MAC SDU时,丢弃所述第一MAC SDU。When the timer expires and the first MAC data unit is the first MAC SDU that has not been transmitted over the air interface, the first MAC SDU is discarded.
结合第一方面或其上述任一种可能的实现方式,在第一方面的另一种可能的实现方式中,在所述定时器到期时,对包括所述第一PDCP SDU的第一 MAC数据单元进行处理,包括:With reference to the first aspect or any of the above-mentioned possible implementations, in another possible implementation of the first aspect, when the timer expires, the first MAC including the first PDCP SDU is Data units are processed, including:
在所述定时器到期时,且所述第一MAC数据单元为经过空口传输的第一MAC协议数据单元PDU时,判断所述第一MAC PDU是否包括非所述第一PDCP SDU的第二PDCP SDU;When the timer expires and the first MAC data unit is the first MAC protocol data unit PDU transmitted over the air interface, it is determined whether the first MAC PDU includes a second MAC PDU that is not the first PDCP SDU PDCP SDU;
根据所述第一MAC PDU是否包括所述第二PDCP SDU,对所述第一 MAC PDU进行处理。The first MAC PDU is processed according to whether the first MAC PDU includes the second PDCP SDU.
结合第一方面或其上述任一种可能的实现方式,在第一方面的另一种可能的实现方式中,根据所述第一MAC PDU是否包括所述第二PDCP SDU,对所述第一MAC PDU进行处理,包括:With reference to the first aspect or any of the above possible implementation manners, in another possible implementation manner of the first aspect, according to whether the first MAC PDU includes the second PDCP SDU, MAC PDUs are processed, including:
在所述第一MAC PDU不包括所述第二PDCP SDU时,丢弃所述第一 MAC PDU。When the first MAC PDU does not include the second PDCP SDU, the first MAC PDU is discarded.
结合第一方面或其上述任一种可能的实现方式,在第一方面的另一种可能的实现方式中,所述方法还包括:With reference to the first aspect or any of the above possible implementations thereof, in another possible implementation of the first aspect, the method further includes:
将针对所述第一MAC数据单元设置的最大重传次数进行清零。The maximum number of retransmissions set for the first MAC data unit is cleared.
结合第一方面或其上述任一种可能的实现方式,在第一方面的另一种可能的实现方式中,根据所述第一MAC PDU是否包括所述第二PDCP SDU,对所述第一MAC PDU进行处理,包括:With reference to the first aspect or any of the above possible implementation manners, in another possible implementation manner of the first aspect, according to whether the first MAC PDU includes the second PDCP SDU, MAC PDUs are processed, including:
在所述第一MAC PDU包括所述第二PDCP SDU时,保留所述第一MAC PDU,以用于后续重传。When the first MAC PDU includes the second PDCP SDU, the first MAC PDU is reserved for subsequent retransmission.
结合第一方面或其上述任一种可能的实现方式,在第一方面的另一种可能的实现方式中,在所述定时器到期时,所述方法还包括:With reference to the first aspect or any of the above possible implementations thereof, in another possible implementation of the first aspect, when the timer expires, the method further includes:
丢弃在PDCP层缓存的所述第一PDCP SDU。The first PDCP SDU buffered at the PDCP layer is discarded.
结合第一方面或其上述任一种可能的实现方式,在第一方面的另一种可能的实现方式中,在所述定时器到期时,所述方法还包括:With reference to the first aspect or any of the above possible implementations thereof, in another possible implementation of the first aspect, when the timer expires, the method further includes:
丢弃在无线链路控制RLC层缓存的包括所述第一PDCP SDU的RLC SDU。The RLC SDU including the first PDCP SDU buffered at the radio link control RLC layer is discarded.
第二方面,提供了一种数据处理设备,用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。具体地,所述数据处理设备包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的功能模块。In a second aspect, a data processing device is provided for executing the method in the first aspect or any possible implementation manner of the first aspect. Specifically, the data processing device includes functional modules for executing the above-mentioned first aspect or the method in any possible implementation manner of the first aspect.
第三方面,提供了一种数据处理设备,包括处理器、存储器和收发器。所述处理器、所述存储器和所述收发器之间通过内部连接通路互相通信,传递控制和/或数据信号,使得所述数据处理设备执行上述第一方面或第一方面的任意可能的实现方式中的方法。In a third aspect, a data processing device is provided, including a processor, a memory and a transceiver. The processor, the memory, and the transceiver communicate with each other through an internal connection path, and transmit control and/or data signals, so that the data processing device executes the first aspect or any possible implementation of the first aspect method in method.
第四方面,提供了一种计算机可读介质,用于存储计算机程序,所述计算机程序包括用于执行上述任意一种方法或任意可能的实现方式中的指令。In a fourth aspect, a computer-readable medium is provided for storing a computer program, wherein the computer program includes instructions for executing any one of the above-mentioned methods or any possible implementation manner.
第五方面,提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任意一种方法或任意可能的实现方式中的方法。In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform any one of the above methods or any of the methods in any possible implementations.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some of the drawings in the present application. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是根据本申请实施例的无线通信系统的示意性图。FIG. 1 is a schematic diagram of a wireless communication system according to an embodiment of the present application.
图2是根据本申请实施例的数据处理方法的示意性流程图。FIG. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application.
图3是根据本申请实施例的数据处理设备的示意性框图。FIG. 3 is a schematic block diagram of a data processing device according to an embodiment of the present application.
图4是根据本申请实施例的系统芯片的示意性框图。FIG. 4 is a schematic block diagram of a system chip according to an embodiment of the present application.
图5是根据本申请实施例的通信设备的示意性框图。FIG. 5 is a schematic block diagram of a communication device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(GlobalSystem of Mobile communication,简称为“GSM”)系统、码分多址(Code DivisionMultiple Access,简称为“CDMA”)系统、宽带码分多址 (Wideband Code DivisionMultiple Access,简称为“WCDMA”)系统、通用分组无线业务(General Packet RadioService,简称为“GPRS”)、长期演进 (Long Term Evolution,简称为“LTE”)系统、LTE频分双工(Frequency Division数据单元plex,简称为“FDD”)系统、LTE时分双工(TimeDivision 数据单元plex,简称为“TDD”)、通用移动通信系统(Universal MobileTelecommunication System,简称为“UMTS”)、全球互联微波接入(WorldwideInteroperability for Microwave Access,简称为“WiMAX”)通信系统或未来的5G系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (referred to as "GSM") system, Code Division Multiple Access (Code Division Multiple Access, referred to as "CDMA") system , Wideband Code Division Multiple Access (WCDMA for short) system, General Packet Radio Service (General Packet RadioService, referred to as "GPRS"), Long Term Evolution (Long Term Evolution, referred to as "LTE") system , LTE frequency division duplex (Frequency Division data unit plex, referred to as "FDD") system, LTE time division duplex (TimeDivision data unit plex, referred to as "TDD"), universal mobile communication system (Universal MobileTelecommunication System, referred to as "" UMTS”), Worldwide Interoperability for Microwave Access (“WiMAX” for short) communication system or future 5G system, etc.
图1示出了本申请实施例应用的无线通信系统100。该无线通信系统100 可以包括网络设备110。网络设备110可以是与终端设备通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备(例如UE)进行通信。可选地,该网络设备110可以是GSM 系统或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是 WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio AccessNetwork,CRAN)中的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备、未来5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public LandMobile Network,PLMN)中的网络设备等。FIG. 1 shows a
该无线通信系统100还包括位于网络设备110覆盖范围内的至少一个终端设备120。终端设备120可以是移动的或固定的。可选地,终端设备120 可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(WirelessLocal Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、未来5G网络中的终端设备或者未来演进的 PLMN中的终端设备等。The
可选地,终端设备120之间可以进行终端直连(Device to Device,D2D) 通信。Optionally, direct terminal (Device to Device, D2D) communication may be performed between the
可选地,5G系统或网络还可以称为新无线(New Radio,NR)系统或网络。Optionally, the 5G system or network may also be referred to as a New Radio (New Radio, NR) system or network.
图1示例性地示出了一个网络设备和两个终端设备,可选地,该无线通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。FIG. 1 exemplarily shows one network device and two terminal devices. Optionally, the
可选地,该无线通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。Optionally, the
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
图2是根据本申请实施例的无线通信方法200的示意性流程图。该方法 200可选地可以应用于图1所示的系统,但并不限于此。该方法200包括以下内容中的至少部分内容。FIG. 2 is a schematic flowchart of a
在210中,发送端针对第一分组数据汇聚协议(Packet Data ConvergenceProtocol,PDCP)服务数据单元(Serving Data Unit,SDU)开启用于限制缓存时长的定时器。In 210, the sender starts a timer for limiting the buffering duration for the first Packet Data Convergence Protocol (PDCP) serving data unit (Serving Data Unit, SDU).
具体地,在PDCP层,发送端可以针对每个来自高层的PDCP SDU分别开启丢弃定时器(Discard Timer)。其中,该丢弃定时器的时长是可以配置的。该丢弃定时器的目的在于防止对应的PDCP SDU在PDCP传输缓存中存放过长的时间导致不必要的缓存开销。当丢弃定时器到期时,相应的PDCP SDU可以进行丢弃。Specifically, at the PDCP layer, the transmitting end may respectively start a discard timer (Discard Timer) for each PDCP SDU from a higher layer. The length of the discard timer is configurable. The purpose of the discard timer is to prevent the corresponding PDCP SDU from being stored in the PDCP transmission buffer for too long and causing unnecessary buffer overhead. When the discard timer expires, the corresponding PDCP SDU may be discarded.
应理解,本申请实施例中提到的发送端可以是系统100中的网络设备110,也可以是系统100中的终端设备120。It should be understood that the sending end mentioned in the embodiments of this application may be the
在220中,在该定时器到期时,发送端对包括该第一PDCP SDU的第一媒体接入控制MAC数据单元进行处理。In 220, when the timer expires, the transmitting end processes the first medium access control MAC data unit including the first PDCP SDU.
具体地,发送端在发送数据时,会针对媒体接入控制(Media Access Control,MAC)数据单元设置最大重传次数,如果传输一直失败,且在达到最大重传次数时,可以对缓存中存储的媒体接入控制(Media Access Control,MAC)数据单元进行清除。只有在达到最大重传次数时,才清除缓存中的数据,将会导致不必要的缓存开销。因为在达到最大重传次数时,在210中设置的针对PDCP SDU设置的定时器可能已经到期,也即针对PDCP SDU的重传已经没有意义。Specifically, when sending data, the sender will set the maximum number of retransmissions for the Media Access Control (MAC) data unit. If the transmission fails all the time, and when the maximum number of retransmissions is reached, it can store in the cache. The media access control (Media Access Control, MAC) data unit is cleared. Only when the maximum number of retransmissions is reached, the data in the cache is cleared, which will cause unnecessary cache overhead. Because when the maximum number of retransmissions is reached, the timer set for the PDCP SDU in 210 may have expired, that is, the retransmission of the PDCP SDU has no meaning.
因此,在本申请实施例中,在针对PDCP SDU设置的定时器到期时,对包括第一PDCPSDU的MAC数据单元进行处理,可以尽量避免不必要的缓存开销。Therefore, in this embodiment of the present application, when the timer set for the PDCP SDU expires, the MAC data unit including the first PDCP SDU is processed, so as to avoid unnecessary buffering overhead as much as possible.
可选地,本申请实施例提到的最大重传次数可以为maxHARQ-Tx(最大混合自动重传请求(Hybrid Automatic Repeat reQuest,HARQ)发送)参数,该参数可以是针对每个MAC实体(entity)配置的,其限制了每个HARQ 进程对于MAC PDU的最大重传次数。每一个HARQ进程可以对应一个 HARQ缓存(buffer)。对于同步上行HARQ,每一个HARQ进程可以维护一个状态变量CURRENT_TX_NB,该变量记录的是对于缓存在当前HARQ buffer中的MAC协议数据单元(Protocol Data Unit,PDU)已经传输的次数。在HARQ进程建立起来的时候,CURRENT_TX_NB需要置零。当 CURRENT_TX_NB增加到maxHARQ-tx,对应的HARQ buffer需要清空。Optionally, the maximum number of retransmissions mentioned in this embodiment of the present application may be a maxHARQ-Tx (maximum hybrid automatic repeat request (Hybrid Automatic Repeat reQuest, HARQ) sending) parameter, which may be a parameter for each MAC entity. ), which limits the maximum number of retransmissions of each HARQ process for MAC PDUs. Each HARQ process may correspond to a HARQ buffer (buffer). For synchronous uplink HARQ, each HARQ process may maintain a state variable CURRENT_TX_NB, which records the number of times the MAC protocol data unit (Protocol Data Unit, PDU) buffered in the current HARQ buffer has been transmitted. When the HARQ process is established, CURRENT_TX_NB needs to be set to zero. When CURRENT_TX_NB is increased to maxHARQ-tx, the corresponding HARQ buffer needs to be cleared.
可选地,本申请实施例可以用到数据预处理的场景。具体地,当终端设备在PDCP层收到高层递交的PDCP SDU时,可以对该PDCP SDU进行预处理,也即可以进行无线链路控制(Radio Link Control,RLC)层和MAC 层的处理,在收到相应的处理命令(grant),且分配有空口传输资源时,即可以较快的生成传输块,并进行空口传输。而无需在收到相应的处理命令,才进行RLC层和MAC层的处理,可以节省处理时间。Optionally, the embodiment of the present application may use the scenario of data preprocessing. Specifically, when the terminal device receives the PDCP SDU submitted by the upper layer at the PDCP layer, the PDCP SDU can be preprocessed, that is, the radio link control (Radio Link Control, RLC) layer and the MAC layer can be processed. When a corresponding processing command (grant) is received and air interface transmission resources are allocated, a transmission block can be generated quickly and air interface transmission is performed. It is not necessary to perform the processing of the RLC layer and the MAC layer only after receiving the corresponding processing command, which can save processing time.
为了更加清楚地理解本申请,以下将介绍在该定时器到期时,发送端如果对包括该第一PDCP SDU的第一媒体接入控制MAC数据单元进行处理。In order to understand the present application more clearly, the following will describe how when the timer expires, if the transmitting end processes the first medium access control MAC data unit including the first PDCP SDU.
在一种实现方式中,在该定时器到期时,且该第一MAC数据单元为未经过空口传输的第一MAC SDU时,丢弃该第一MAC SDU。In an implementation manner, when the timer expires and the first MAC data unit is the first MAC SDU that has not been transmitted over the air interface, the first MAC SDU is discarded.
具体地,在该种实现方式中,如果针对第一PDCP SDU的定时器到期,且第一MAC数据单元还未进行PDU的封装,未分配空口传输资源,则可以清除HARQ buffer中的数据,直接丢失该第一MAC SDU。其中,如果第一 MAC SDU包括除第一PDCP SDU之外的第二PDCP SDU时,可以对该第二 PDCP SDU再次进行RLC和MAC层的处理。Specifically, in this implementation, if the timer for the first PDCP SDU expires, and the first MAC data unit has not been encapsulated with PDUs, and no air interface transmission resources have been allocated, the data in the HARQ buffer can be cleared, The first MAC SDU is directly lost. Wherein, if the first MAC SDU includes a second PDCP SDU other than the first PDCP SDU, the RLC and MAC layer processing may be performed on the second PDCP SDU again.
可选地,将针对该第一MAC数据单元设置的最大重传次数进行清零。Optionally, the maximum number of retransmissions set for the first MAC data unit is cleared.
具体地,因为已经丢弃第一MAC SDU,针对该MAC数据单元设置的最大重传次数已经没有用途,因此可以进行清零。Specifically, because the first MAC SDU has been discarded, the maximum number of retransmissions set for the MAC data unit has no use, so it can be cleared.
在一种实现方式中,在该定时器到期时,且该第一MAC数据单元为经过空口传输的第一MAC PDU时,判断该第一MAC PDU是否包括非该第一 PDCP SDU的第二PDCP SDU;根据该第一MAC PDU是否包括该第二PDCP SDU,对该第一MAC PDU进行处理。In an implementation manner, when the timer expires and the first MAC data unit is the first MAC PDU transmitted over the air interface, it is determined whether the first MAC PDU includes a second MAC PDU that is not the first PDCP SDU PDCP SDU; process the first MAC PDU according to whether the first MAC PDU includes the second PDCP SDU.
具体地,在该种实现方式中,如果针对第一PDCP SDU的定时器到期,且第一MAC数据单元已经进行PDU的封装且分配了空口传输资源,则需要判断第一MAC PDU是否封装有其他的PDCP SDU,根据是否有其他的PDCP SDU,来对第一MAC PDU进行处理。Specifically, in this implementation, if the timer for the first PDCP SDU expires, and the first MAC data unit has been encapsulated with PDUs and allocated air interface transmission resources, it is necessary to determine whether the first MAC PDU is encapsulated with Other PDCP SDUs process the first MAC PDU according to whether there are other PDCP SDUs.
可选地,在该第一MAC PDU不包括该第二PDCP SDU时,丢弃该第一 MAC PDU。Optionally, when the first MAC PDU does not include the second PDCP SDU, the first MAC PDU is discarded.
具体地,如果第一MAC PDU不包括第二PDCP SDU,则意味着可以清除HARQ中的数据,丢弃该第一MAC PDU,因为第一PDCP SDU的定时器已经到期,无需缓存封装有该第一PDCP SDU的MAC PDU,而此时,该第一MAC PDU没有封装有其他PDCP SDU,直接丢弃该第一MAC PDU,不会对其他PDCP SDU的传输造成影响。Specifically, if the first MAC PDU does not include the second PDCP SDU, it means that the data in the HARQ can be cleared, and the first MAC PDU is discarded, because the timer of the first PDCP SDU has expired, and there is no need to cache and encapsulate the second PDCP SDU A MAC PDU of a PDCP SDU, and at this time, the first MAC PDU is not encapsulated with other PDCP SDUs, and the first MAC PDU is directly discarded without affecting the transmission of other PDCP SDUs.
可选地,在该第一MAC PDU包括该第二PDCP SDU时,保留该第一 MAC数据单元,以用于后续重传。Optionally, when the first MAC PDU includes the second PDCP SDU, the first MAC data unit is reserved for subsequent retransmission.
具体地,如果第一MAC PDU包括第二PDCP SDU,需要保留该第一 MAC PDU,因为直接丢弃该第一MAC PDU,会对其他PDCP SDU的传输造成影响,而接收端到由于相应的定时器已经到期,第一PDCP SDU将会被接收端直接丢弃。Specifically, if the first MAC PDU includes the second PDCP SDU, the first MAC PDU needs to be retained, because directly discarding the first MAC PDU will affect the transmission of other PDCP SDUs, and the receiving end cannot receive the second PDCP SDU due to the corresponding timer. Has expired, the first PDCP SDU will be directly discarded by the receiving end.
以上已经介绍了如何对MAC数据单元进行处理。以下将对RLC和 PDCP层的处理进行说明。The above has described how to process the MAC data unit. The processing of the RLC and PDCP layers will be described below.
可选地,丢弃在PDCP层缓存的该第一PDCP SDU。Optionally, the first PDCP SDU buffered at the PDCP layer is discarded.
可选地,丢弃在无线链路控制RLC层缓存的包括该第一PDCP SDU的 RLC SDU。Optionally, discard the RLC SDU including the first PDCP SDU buffered at the RLC layer of the radio link control.
因此,在本申请实施例中,在针对PDCP SDU设置的定时器到期时,对包括第一PDCPSDU的MAC数据单元进行处理,可以尽可能避免不必要的缓存开销。Therefore, in this embodiment of the present application, when the timer set for the PDCP SDU expires, the MAC data unit including the first PDCP SDU is processed, so as to avoid unnecessary buffering overhead as much as possible.
图3是根据本申请实施例的数据处理设备300的示意性流程图。如图3 所示,该设备300包括开启单元310和处理单元320。FIG. 3 is a schematic flowchart of a data processing device 300 according to an embodiment of the present application. As shown in FIG. 3 , the device 300 includes an
其中,开启单元310用于针对第一分组数据汇聚协议PDCP服务数据单元SDU开启用于限制缓存时长的定时器;处理单元320,用于在该定时器到期时,对包括该第一PDCP SDU的第一媒体接入控制MAC数据单元进行处理。Wherein, the
可选地,该处理单元320进一步用于:Optionally, the
在该定时器到期时,且该第一MAC数据单元为未经过空口传输的第一 MAC SDU时,丢弃该第一MAC SDU。When the timer expires and the first MAC data unit is the first MAC SDU that has not been transmitted over the air interface, the first MAC SDU is discarded.
可选地,该处理单元320进一步用于:Optionally, the
在该定时器到期时,且该第一MAC数据单元为经过空口传输的第一 MAC协议数据单元PDU时,判断该第一MAC PDU是否包括非该第一 PDCP SDU的第二PDCP SDU;When the timer expires and the first MAC data unit is the first MAC protocol data unit PDU transmitted through the air interface, determine whether the first MAC PDU includes a second PDCP SDU other than the first PDCP SDU;
根据该第一MAC PDU是否包括该第二PDCP SDU,对该第一MAC PDU 进行处理。The first MAC PDU is processed according to whether the first MAC PDU includes the second PDCP SDU.
可选地,该处理单元320进一步用于:Optionally, the
在该第一MAC PDU不包括该第二PDCP SDU时,丢弃该第一MAC PDU。When the first MAC PDU does not include the second PDCP SDU, the first MAC PDU is discarded.
可选地,该处理单元320进一步用于:Optionally, the
将针对该第一MAC数据单元设置的最大重传次数进行清零。The maximum number of retransmissions set for the first MAC data unit is cleared.
可选地,该处理单元320进一步用于:Optionally, the
在该第一MAC PDU包括该第二PDCP SDU时,保留该第一MAC PDU,以用于后续重传。When the first MAC PDU includes the second PDCP SDU, the first MAC PDU is reserved for subsequent retransmission.
可选地,该处理单元320进一步用于:Optionally, the
在该定时器到期时,丢弃在PDCP层缓存的该第一PDCP SDU。When the timer expires, the first PDCP SDU buffered at the PDCP layer is discarded.
可选地,该处理单元320进一步用于:Optionally, the
在该定时器到期时,丢弃在无线链路控制RLC层缓存的包括该第一 PDCP SDU的RLC SDU。When the timer expires, the RLC SDU including the first PDCP SDU buffered at the radio link control RLC layer is discarded.
应理解,该数据处理设备300可以对应于方法实施例中的发送端,可以实现方法实施例中发送端实现的相应操作,为了简洁,在此不再赘述。It should be understood that the data processing device 300 may correspond to the transmitting end in the method embodiment, and may implement the corresponding operations implemented by the transmitting end in the method embodiment, which will not be repeated here for brevity.
图4是本申请实施例的系统芯片600的一个示意性结构图。图4的系统芯片600包括输入接口601、输出接口602、所述处理器603以及存储器604 之间可以通过内部通信连接线路相连,所述处理器603用于执行所述存储器 604中的代码。FIG. 4 is a schematic structural diagram of a system chip 600 according to an embodiment of the present application. The system chip 600 in FIG. 4 includes an
可选地,当所述代码被执行时,所述处理器603实现方法实施例中由发送端执行的方法。为了简洁,在此不再赘述。Optionally, when the code is executed, the
图5是根据本申请实施例的通信设备700的示意性框图。如图5所示,该通信设备700包括处理器710和存储器720。其中,该存储器720可以存储有程序代码,该处理器710可以执行该存储器720中存储的程序代码。FIG. 5 is a schematic block diagram of a communication device 700 according to an embodiment of the present application. As shown in FIG. 5 , the communication device 700 includes a
可选地,如图5所示,该通信设备700可以包括收发器730,处理器710 可以控制收发器730对外通信。Optionally, as shown in FIG. 5 , the communication device 700 may include a transceiver 730, and the
可选地,该处理器710可以调用存储器720中存储的程序代码,执行方法实施例中的发送端的相应操作,为了简洁,在此不再赘述。Optionally, the
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (Erasable PROM, EPROM), Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) And direct memory bus random access memory (DirectRambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,) ROM、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory,) ROM, random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (10)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/111685 WO2019095293A1 (en) | 2017-11-17 | 2017-11-17 | Method and device for processing data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109644351A CN109644351A (en) | 2019-04-16 |
| CN109644351B true CN109644351B (en) | 2020-09-04 |
Family
ID=66053545
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201780049127.4A Active CN109644351B (en) | 2017-11-17 | 2017-11-17 | Data processing method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109644351B (en) |
| WO (1) | WO2019095293A1 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104168214A (en) * | 2014-08-21 | 2014-11-26 | 京信通信系统(中国)有限公司 | Grouped data discarding method and device |
| CN106375230A (en) * | 2015-07-20 | 2017-02-01 | 中兴通讯股份有限公司 | A message transmission method and device |
| CN108476435A (en) * | 2017-06-19 | 2018-08-31 | 北京小米移动软件有限公司 | Data processing method and device, user equipment and computer readable storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101729524B (en) * | 2008-11-03 | 2012-12-12 | 电信科学技术研究院 | Data processing method, data processing device, RLC entity and PDCP entity |
| CN102469511A (en) * | 2010-11-15 | 2012-05-23 | 中兴通讯股份有限公司 | Method and system for processing data by packet data convergence protocol layer |
| CN103036658B (en) * | 2011-10-09 | 2018-08-17 | 南京中兴新软件有限责任公司 | A kind of method and apparatus of data processing |
| EP2896267A4 (en) * | 2012-09-12 | 2016-05-11 | Intel Corp | Passive radio link control entity with unified interface |
-
2017
- 2017-11-17 CN CN201780049127.4A patent/CN109644351B/en active Active
- 2017-11-17 WO PCT/CN2017/111685 patent/WO2019095293A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104168214A (en) * | 2014-08-21 | 2014-11-26 | 京信通信系统(中国)有限公司 | Grouped data discarding method and device |
| CN104168214B (en) * | 2014-08-21 | 2018-02-27 | 京信通信系统(中国)有限公司 | A kind of method and device for abandoning grouped data |
| CN106375230A (en) * | 2015-07-20 | 2017-02-01 | 中兴通讯股份有限公司 | A message transmission method and device |
| CN108476435A (en) * | 2017-06-19 | 2018-08-31 | 北京小米移动软件有限公司 | Data processing method and device, user equipment and computer readable storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 《Discussion on PDCP SDU discard 》;Samsung;《3GPP TSG-RAN WG2 Meeting #97bis R2-1703584》;20170407;第1-2页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109644351A (en) | 2019-04-16 |
| WO2019095293A1 (en) | 2019-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI734010B (en) | Method and apparatus for transmitting data | |
| CN109644467B (en) | Method and device for transmitting uplink control information | |
| US11025555B2 (en) | Method for processing data and device | |
| CN110351684A (en) | Transmit the method and device thereof and system of data | |
| CN109845320B (en) | Method and device for data transmission based on quality of service | |
| CN110771230B (en) | Uplink transmission method and terminal equipment | |
| JP2020523908A5 (en) | ||
| CN109246753A (en) | A method, network device and terminal device for transmitting data | |
| CN111935809A (en) | Wireless communication method and terminal device | |
| WO2020056880A1 (en) | Connection release method, data processing method, device, and storage medium | |
| CN111886893B (en) | A data packet processing method, entity and storage medium | |
| CN109845318B (en) | Method, terminal equipment and network equipment for data processing | |
| WO2019047912A1 (en) | Method and device for processing data | |
| CN110663267B (en) | Method and device for transmitting data | |
| WO2020107220A1 (en) | Wireless communication method, terminal device and network device | |
| CN111148106B (en) | Wireless communication method and apparatus | |
| CN109644351B (en) | Data processing method and device | |
| CN111654360B (en) | Non-active state switching processing method and communication equipment | |
| CN112470532B (en) | Method for lateral communication, terminal device, chip, storage medium | |
| CN114978450A (en) | Data processing method, apparatus and computer readable medium | |
| WO2021097686A1 (en) | Method for transmitting compressed ethernet packet, and apparatus | |
| WO2020124540A1 (en) | Data packet reordering method, electronic device and storage medium | |
| WO2019014918A1 (en) | Data transmission method and device | |
| CN109757130B (en) | Method, terminal device and network device for configuring packet data convergence protocol PDCP | |
| CN109716822B (en) | Method for controlling terminal equipment to generate uplink signaling, terminal equipment and network equipment |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |