CN111132232B - Method and device for intelligently receiving 5G NR RLC UMD PDU - Google Patents
Method and device for intelligently receiving 5G NR RLC UMD PDU Download PDFInfo
- Publication number
- CN111132232B CN111132232B CN202010001601.XA CN202010001601A CN111132232B CN 111132232 B CN111132232 B CN 111132232B CN 202010001601 A CN202010001601 A CN 202010001601A CN 111132232 B CN111132232 B CN 111132232B
- Authority
- CN
- China
- Prior art keywords
- rlc
- pdu
- receiving
- field
- buffer
- 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
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/02—Data link layer protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种智能接收5G NR RLC UMD PDU的方法和装置,属于通信技术领域。该方法包括:RLC层收到MAC层的RLC PDU发送通知后,自启第一检测装置并判断接收缓存装置是否满足接收条件;然后通过匹配SI字段检测PDU是否完整,根据SI字段取值自动存储至缓存一、二区,丢弃不包含SI字段的PDU;若接收缓存一区存在PDU,自动匹配并删除RLC头字段后转发至上层;若接收缓存二区存在PDU,触发第二检测装置自适应更新判断条件,检测SN的值是否在接收范围内,不在范围内的PDU丢弃,在范围内的PDU进入滑动重组窗口待完成分段重组后发送至上层。本发明可以减少后续接收中出现问题的几率。
The invention relates to a method and a device for intelligently receiving 5G NR RLC UMD PDUs, belonging to the technical field of communication. The method includes: after the RLC layer receives the notification of sending the RLC PDU of the MAC layer, it automatically starts the first detection device and judges whether the receiving buffer device meets the receiving condition; and then detects whether the PDU is complete by matching the SI field, and automatically stores the value according to the value of the SI field. To buffer area 1 and 2, discard the PDUs that do not contain the SI field; if there is a PDU in the receiving buffer area 1, it will automatically match and delete the RLC header field and forward it to the upper layer; if there is a PDU in the receiving buffer area 2, trigger the second detection device to adapt Update the judgment condition, check whether the value of SN is within the receiving range, discard the PDUs that are not within the range, and send the PDUs within the range to the sliding reassembly window to be sent to the upper layer after completing the segmental reorganization. The present invention can reduce the probability of problems in subsequent reception.
Description
技术领域technical field
本发明属于通信技术领域,涉及一种智能接收5GNRRLCUMDPDU的方法和装置。The invention belongs to the technical field of communication, and relates to a method and a device for intelligently receiving 5GNRLRCUMDPDU.
背景技术Background technique
5G技术提供了一个高速连接、低延时和大数据吞吐能力的万物互联网络,自2018年6月3GPP宣布完成5G第一个国际标准Release 15(R15)以来,全球多家电信运营商开始陆续实验5G服务,我国三大电信运营商和多家设备厂商也在积极推进5G建设。5G作为下一代的通信技术,代表着万物互联的未来应用场景,以5G技术为基础所构建的新一代信息技术体系,将为移动通信带来全新的发展。5G technology provides an Internet of Everything network with high-speed connection, low latency and big data throughput. Since 3GPP announced the completion of Release 15 (R15), the first international standard for 5G in June 2018, many telecom operators around the world have begun Experimenting with 5G services, my country's three major telecom operators and many equipment manufacturers are also actively promoting 5G construction. As the next generation of communication technology, 5G represents the future application scenario of the Internet of Everything. The new generation of information technology system built on the basis of 5G technology will bring new development to mobile communication.
无线链路控制层(RLC:RadioLinkControl)是5GNR实现数据传输的重要组成部分,位于协议栈PDCP层和MAC层之间,为用户平面和控制平面数据提供数据分段、数据传输(重传)、数据丢弃业务。根据不同类型的传输数据,将RLC数据传输模式分三类,分别是透明模式(TM:TransparentMode)、非确认模式(UM:UnacknowledgedMode)和确认模式(AM:AcknowledgedMode),并且对应于三种RLC实体。The Radio Link Control Layer (RLC: RadioLinkControl) is an important part of 5GNR to realize data transmission. It is located between the PDCP layer and the MAC layer of the protocol stack. It provides data segmentation, data transmission (retransmission), Data discard service. According to different types of transmission data, the RLC data transmission modes are divided into three categories, namely transparent mode (TM: TransparentMode), unacknowledged mode (UM: Unacknowledged Mode) and confirmed mode (AM: Acknowledged Mode), and correspond to three RLC entities .
其中,在非确认模式下传输数据的效率较高,但是由于该模块下不反馈确认信息,无法获知数据是否正常传输至对等实体,故该种模式的可靠性较差;而且在实际的5GNR系统中,由于物理层和空口等因素影响,传输中RLCPDU的头字段极有可能在对等RLC实体收到之前就发生了突变或丢失。在此情况下,在对等实体的接收端接受到不完整的PDU和可能接收到SN发生突变后PDU,造成数据传输业务断流或接收错误数据。Among them, the efficiency of data transmission in the unacknowledged mode is higher, but because the module does not feed back confirmation information, it is impossible to know whether the data is normally transmitted to the peer entity, so the reliability of this mode is poor; and in actual 5GNR In the system, due to factors such as the physical layer and the air interface, the header field of the RLC PDU in transmission is very likely to be mutated or lost before the peer RLC entity receives it. In this case, the receiving end of the peer entity receives an incomplete PDU and may receive a PDU after a mutation in the SN, resulting in interruption of data transmission services or reception of erroneous data.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的在于提供一种智能接收5GNRRLCUMDPDU的方法和装置,将UMDPDU接收流程智能化、可靠化,减少后续接收中出现问题的几率,实现高效率数据传输。In view of this, the purpose of the present invention is to provide a method and device for intelligently receiving 5GNRLRCUMDPDU, which intelligently and reliable UMDPDU receiving process, reduces the probability of problems in subsequent receiving, and realizes high-efficiency data transmission.
为达到上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
一种智能接收5GNRRLCUMDPDU的装置,包括:A device for intelligently receiving 5GNRLRCUMDPDU, comprising:
第一检测装置,当RLC层收到MAC层的RLCPDU发送通知后自启,通过匹配SI字段检测PDU是否完整,若PDU中不包括SI字段,直接丢弃,否则放入接收缓存;The first detection device, when the RLC layer receives the RLCPDU transmission notification of the MAC layer, starts automatically, and detects whether the PDU is complete by matching the SI field. If the SI field is not included in the PDU, it is directly discarded, otherwise it is put into the receiving buffer;
接收缓存装置,根据SI字段取值自动存储RLCPDU至缓存一区、和缓存二区;The receiving buffer device automatically stores the RLCPDU to the first buffer zone and the second buffer zone according to the value of the SI field;
第二检测装置,用于判断RLC PDU的序列号是否在接收范围内,不在范围内的PDU直接丢弃,否则进行RLC数据滑动重组;The second detection device is used to judge whether the sequence number of the RLC PDU is within the receiving range, and the PDU that is not within the range is directly discarded, otherwise the RLC data sliding reorganization is performed;
丢弃装置,用于丢弃不符合第一检测装置和第二检测装置检测条件以及不能进行分段重组的RLC PDU;a discarding device, configured to discard the RLC PDUs that do not meet the detection conditions of the first detection device and the second detection device and that cannot be segmented and reassembled;
RLC滑动重组装置,用于等待并重组RLC SDU的所有分段数据,若在指定时间存在未收到所有分段,则丢弃已接收的分段数据,否则进行重组;The RLC sliding reassembly device is used to wait and reassemble all the segment data of the RLC SDU. If all segments are not received within the specified time, the received segment data will be discarded, otherwise the reorganization will be performed;
发送装置,用于发送接收缓存一区的RLC PDU和分段重组后的RLC PDU至PDCP层。The sending device is used for sending and receiving the RLC PDU in the first area of the buffer and the RLC PDU after the segmentation and reassembly to the PDCP layer.
可选的,所述第一检测装置还包括接收缓存装置状态的检测,若接收缓存为空或尚有存储空间则触发数据接收流程;若接收缓存已满,则暂停第一检测模块,待缓存恢复正常后再启动接收流程。Optionally, the first detection device further includes detection of the state of the receiving buffer device, if the receiving buffer is empty or there is still storage space, the data receiving process is triggered; if the receiving buffer is full, the first detection module is suspended and the buffering After returning to normal, start the receiving process.
可选的,所述接收缓存装置根据数据类型可动态划分为接收缓存一区和接收缓存二区,其中,接收缓存一区负责存储SI至为00的PDU,接收缓存二区负责存储SI为其他值的PDU。Optionally, the receiving buffer device may be dynamically divided into a receiving buffer area 1 and a receiving buffer area 2 according to the data type, wherein the receiving buffer area 1 is responsible for storing PDUs with SI up to 00, and the receiving buffer area 2 is responsible for storing SI for other areas. value PDU.
可选的,所述第二检测装置判断PDU的序列号是否在收受范围内,即Re_Next_Ressembly<=SN<SNmax的PDU才符合接收条件。Optionally, the second detection device determines whether the sequence number of the PDU is within the receiving range, that is, only the PDU with Re_Next_Ressembly<=SN<SNmax meets the receiving condition.
可选的,所述第二检测装置判断,还包括对第二检测条件的自适应更新,其中,Re_Next_Ressembly状态变量维护等待重组的最早SN的值,取值随滑动重组窗口变化而变化,SNmax的取值由RRC层根据无线资源条件动态配置序列号为6比特或12比特。Optionally, the judgment of the second detection device further includes an adaptive update of the second detection condition, wherein the Re_Next_Ressembly state variable maintains the value of the earliest SN waiting for reorganization, and the value changes with the sliding reorganization window. The value of the sequence number is dynamically configured by the RRC layer to be 6 bits or 12 bits according to the radio resource conditions.
可选的,所述RLC滑动重组装置还包括RLC头字段删除装置,若在一定时间内收到SN=X的所有数据分段,自动匹配并删除RLC头字段后转发至上层;否则丢弃已经接收到SN=X的分段数据。Optionally, the RLC sliding reassembly device further includes an RLC header field deletion device, if all data segments with SN=X are received within a certain period of time, automatically match and delete the RLC header field and forward it to the upper layer; otherwise, discard the received data. Segment data to SN=X.
可选的,所述发送装置还包括RLC头字段删除装置,自动匹配接收缓存一区的RLCPDU的RLC头字段删除后转发至上层;对已经完成重组后的RLC PDU直接转发至上层;Optionally, the sending device further includes an RLC header field deletion device, which automatically matches the RLC header field of the RLC PDU in the first area of the buffer and is forwarded to the upper layer; the RLC PDU that has been reorganized is directly forwarded to the upper layer;
所有RLC装置对RLC PDU的不进行排序操作。All RLC devices do not perform sequencing operations on RLC PDUs.
一种智能接收5G NR RLC UMD PDU的方法,所述方法通过位于RLC层的接收装置来实现,所述接收装置执行以下步骤:A method for intelligently receiving a 5G NR RLC UMD PDU, the method is implemented by a receiving device located at the RLC layer, and the receiving device performs the following steps:
RLC收到MAC层的RLC PDU发送通知,自启第一检测装置判断接收缓存装置是否满足接收条件;RLC receives the RLC PDU transmission notification of the MAC layer, and automatically starts the first detection device to determine whether the receiving buffer device satisfies the receiving condition;
通过匹配SI字段,检测PDU头字段是否完整,根据SI字段取值自动存储至缓存一、二区,丢弃不包含SI字段的PDU;By matching the SI field, check whether the PDU header field is complete, and automatically store it in the first and second areas of the cache according to the value of the SI field, and discard the PDU that does not contain the SI field;
对接收缓存一区的RLC PDU进行处理,自动匹配并删除RLC头字段后转发至上层;Process the RLC PDU received in the first area of the buffer, automatically match and delete the RLC header field and forward it to the upper layer;
对接收缓存二区的RLC PDU进行处理,触发第二检测装置自适应更新判断条件,判断接收缓存二区的每个PDU的序列号是否在接收范围内,在范围内的数据段进入重组流程,否则丢弃此PDU;Process the RLC PDUs in the receiving buffer area 2, trigger the second detection device to adaptively update the judgment condition, and judge whether the serial number of each PDU in the receiving buffer area 2 is within the receiving range, and the data segments within the range enter the reorganization process, Otherwise discard this PDU;
检测SN范围,若SN的值在接收范围内,则该PDU进入滑动重组窗口,重组装置根据PDU的序列号进行重组,如果在一定时间内,收到SN=X的所有分段,自动匹配并删除RLC头字段后进入发送流程,否则丢弃当前收到的SN=X的所有分段;Detect the SN range, if the value of SN is within the receiving range, the PDU enters the sliding reorganization window, and the reassembly device reorganizes according to the sequence number of the PDU. If all segments with SN=X are received within a certain period of time, they will automatically match and Enter the sending process after deleting the RLC header field, otherwise discard all the currently received segments with SN=X;
发送在接收缓存一区和已完成分段重组的RLC SDU至PDCP层。Send the RLC SDU that is in the receive buffer area and that has completed segment reassembly to the PDCP layer.
可选的,在所述接收缓存之前,还包括以下步骤:Optionally, before the receiving buffer, the following steps are further included:
当接收到来自下层MAC的传输机会指示后,才开始执行接收RLC PDU的步骤。The step of receiving the RLC PDU is only executed after receiving the transmission opportunity indication from the lower layer MAC.
可选的,在所述检测SN范围之前,还包括以下步骤:Optionally, before the detection of the SN range, the following steps are also included:
自适应更新第二检测装置的判断条件,其中,根据滑动重组窗口的Re_Next_Ressembly值配置判断条件下限,根据RRC层配置的序列号大小配置判断条件上限。The judgment condition of the second detection device is adaptively updated, wherein the lower limit of the judgment condition is configured according to the Re_Next_Ressembly value of the sliding reassembly window, and the upper limit of the judgment condition is configured according to the size of the sequence number configured by the RRC layer.
本发明的有益效果在于:The beneficial effects of the present invention are:
首先,本发明在收到MAC层的RLC PDU发送通知后,才自启第一检测装置,判断接收缓存装置是否满足接收条件后再开始接收步骤;通过匹配SI字段检测PDU头字段判断数据是否完整;根据SI字段取值实现自动分区存储,且存储区的大小都是动态分配的;根据滑动重组窗口和上层配置自适应更新第二检测范围,进一步判断该RLC PDU的SN是否发生突变;根据不同RLC头字段自动匹配RLC头字段长度删除后转发至上层。通过本方法可以将UMDPDU接收流程智能化、可靠化,减少后续接收中出现问题的几率,实现高效率数据传输。First, the present invention automatically starts the first detection device after receiving the notification of RLC PDU transmission from the MAC layer, and then starts the receiving step after judging whether the receiving buffer device meets the receiving conditions; by matching the SI field to detect the PDU header field to determine whether the data is complete ; Realize automatic partition storage according to the value of the SI field, and the size of the storage area is dynamically allocated; According to the sliding reorganization window and the upper layer configuration, adaptively update the second detection range, and further judge whether the SN of this RLC PDU has a sudden change; According to different The RLC header field automatically matches the length of the RLC header field and is forwarded to the upper layer after deletion. The method can make the UMDPDU receiving process intelligent and reliable, reduce the probability of problems in subsequent receiving, and realize high-efficiency data transmission.
本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书来实现和获得。Other advantages, objects, and features of the present invention will be set forth in the description that follows, and will be apparent to those skilled in the art based on a study of the following, to the extent that is taught in the practice of the present invention. The objectives and other advantages of the present invention may be realized and attained by the following description.
附图说明Description of drawings
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作优选的详细描述,其中:In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be preferably described in detail below with reference to the accompanying drawings, wherein:
图1为本发明的智能接收5G NR RLC UMD PDU的装置结构示意图;1 is a schematic structural diagram of an apparatus for intelligently receiving 5G NR RLC UMD PDUs according to the present invention;
图2为本发明的智能接收5G NR RLC UMD PDU的方法第一种流程图;Fig. 2 is the first flow chart of the method for intelligently receiving 5G NR RLC UMD PDU according to the present invention;
图3为本发明的智能接收5G NR RLC UMD PDU的方法第二种流程图;Fig. 3 is the second flow chart of the method for intelligently receiving 5G NR RLC UMD PDU of the present invention;
具体实施方式Detailed ways
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The embodiments of the present invention are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the drawings provided in the following embodiments are only used to illustrate the basic idea of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.
其中,附图仅用于示例性说明,表示的仅是示意图,而非实物图,不能理解为对本发明的限制;为了更好地说明本发明的实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;对本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。Among them, the accompanying drawings are only used for exemplary description, and represent only schematic diagrams, not physical drawings, and should not be construed as limitations of the present invention; in order to better illustrate the embodiments of the present invention, some parts of the accompanying drawings will be omitted, The enlargement or reduction does not represent the size of the actual product; it is understandable to those skilled in the art that some well-known structures and their descriptions in the accompanying drawings may be omitted.
本发明实施例的附图中相同或相似的标号对应相同或相似的部件;在本发明的描述中,需要理解的是,若有术语“上”、“下”、“左”、“右”、“前”、“后”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此附图中描述位置关系的用语仅用于示例性说明,不能理解为对本发明的限制,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it should be understood that if there are terms “upper”, “lower”, “left” and “right” , "front", "rear" and other indicated orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must be It has a specific orientation, is constructed and operated in a specific orientation, so the terms describing the positional relationship in the accompanying drawings are only used for exemplary illustration, and should not be construed as a limitation of the present invention. situation to understand the specific meaning of the above terms.
请参阅图1,图1为本发明的一种智能接收5G NR RLC UMD PDU的装置结构示意图。其中,所述装置包含在无线通信系统的终端设备中。所述无线通信系统为基于3GPP 5G NR的无线通信系统。所述无线通信系统的终端设备包括基站与用户装置。其需要说明的是,本领域技术人员应该理解,所述无线通信系统、基站、以及用户装置并非以所述为限。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of an apparatus for intelligently receiving 5G NR RLC UMD PDUs according to the present invention. Wherein, the apparatus is included in a terminal device of a wireless communication system. The wireless communication system is a wireless communication system based on 3GPP 5G NR. The terminal equipment of the wireless communication system includes a base station and a user equipment. It should be noted that those skilled in the art should understand that the wireless communication system, base station, and user equipment are not limited to the above.
其中,所述接收装置位于RLC层,包括第一检测装置11、接收缓存装置12、第二检测装置13、丢弃装置14、RLC滑动重组装置15、发送装置16。The receiving device is located at the RLC layer, and includes a first detecting device 11 , a receiving buffer device 12 , a second detecting device 13 , a discarding device 14 , an RLC sliding reassembly device 15 , and a sending device 16 .
第一检测装置11,当RLC层收到MAC层的RLC PDU发送通知后自启,用于检测接收的RLC PDU是否含有SI字段,若PDU中不包括SI字段,直接丢弃,否则放入接收缓存。The first detection device 11 starts automatically when the RLC layer receives the notification of the RLC PDU transmission from the MAC layer, and is used to detect whether the received RLC PDU contains the SI field. .
所述第一检测模块11,还包括接收缓存装置状态的检测,若接收缓存为空或尚有存储空间则触发数据传输流程;若接收缓存已满,则暂停第一检测模块11。The first detection module 11 also includes detection of the state of the receiving buffer device. If the receiving buffer is empty or there is still storage space, the data transmission process is triggered; if the receiving buffer is full, the first detecting module 11 is suspended.
接收缓存装置12,根据SI字段取值自动存储RLC PDU至缓存一区、和缓存二区。The receiving buffer device 12 automatically stores the RLC PDU in the first buffer area and the second buffer area according to the value of the SI field.
所述接收缓存装置12应根据接收到的数据量动态划分接收缓存一区和接收缓存二区,其中,接收缓存一区负责存储SI至为00的PDU,接收缓存二区负责存储SI为其他值的PDU。The receiving buffer device 12 should dynamically divide the receiving buffer area 1 and the receiving buffer area 2 according to the amount of data received, wherein the receiving buffer area 1 is responsible for storing PDUs with SI to 00, and the receiving buffer area 2 is responsible for storing SI as other values. PDU.
第二检测装置13,用于判断RLC PDU的序列号是否在接受范围Re_Next_Ressembly<=SN<SNmax内,不在范围内的PDU直接丢弃,否则进行RLC数据滑动重组,每次判断前可自适应更新第二检测的判断范围。The second detection device 13 is used for judging whether the sequence number of the RLC PDU is within the acceptance range Re_Next_Ressembly<=SN<SNmax, and the PDUs that are not within the range are directly discarded, otherwise the RLC data sliding reorganization is performed, and the No. 1 can be adaptively updated before each judgment. 2. Judgment range of detection.
所述第二检测装置13,还包括对判断范围的自动更新,其中,Re_Next_Ressembly的取值随重组窗口变化,SNmax的取值由RRC层根据无线资源条件动态配置序列号为6比特或12比特。The second detection device 13 also includes automatic update of the judgment range, wherein the value of Re_Next_Ressembly changes with the reassembly window, and the value of SNmax is dynamically configured by the RRC layer according to the radio resource conditions. The sequence number is 6 bits or 12 bits.
丢弃装置14,用于丢弃不符合第一检测装置11和第二检测装置13检测条件以及不能进行分段重组的RLC PDU。The discarding device 14 is used for discarding the RLC PDUs that do not meet the detection conditions of the first detection device 11 and the second detection device 13 and cannot be segmented and reassembled.
RLC滑动重组装置15,用于等待并重组RLC SDU的所有分段数据,若在指定时间未收到所有分段,则丢弃已接收到的分段数据,否则进行重组。The RLC sliding reassembly device 15 is configured to wait and reassemble all the segment data of the RLC SDU. If all the segments are not received within the specified time, the received segment data will be discarded, otherwise, the reassembly will be performed.
所述RLC重组装置15还包括自动匹配RLC头字段后删除,若在一定时间内收到SN=X的所有数据分段,删除头字段进入发送流程;否则丢弃已经接收到SN=X的分段数据。The RLC reassembly device 15 also includes automatically matching the RLC header field and then deleting it. If all data segments with SN=X are received within a certain period of time, delete the header field and enter the sending process; otherwise, discard the segments that have received SN=X. data.
发送装置16,用于发送缓存一区的RLC PDU和分段重组后的RLC PDU至PDCP层。The sending device 16 is configured to send the RLC PDU buffered in one area and the RLC PDU after segment reassembly to the PDCP layer.
所述发送装置16还包括自动匹配RLC头字段后删除,对接收缓存一区的RLC PDU头字段删除后转发给上层;对已经完成重组后的RLC PDU直接转发至上层。The sending device 16 also includes automatically matching the RLC header field and deleting it, deleting the RLC PDU header field in the first area of the receiving buffer and forwarding it to the upper layer; and directly forwarding the RLC PDU that has been reorganized to the upper layer.
图2为本发明的一种智能接收5GNR RLC UMD PDU的方法第一种流程图,适用于PDU的SI字段丢失或者SI为00的情况。其中,所述方法通过由第一检测装置、接收缓存装置、丢弃装置、发送装置实现,其中,所述第一检测装置执行步骤S11、步骤S12、步骤S13、步骤S15,丢弃装置执行步骤S14,接收缓存装置执行步骤S16,发送装置执行步骤S17。FIG. 2 is a first flow chart of a method for intelligently receiving a 5GNR RLC UMD PDU according to the present invention, which is applicable to the case where the SI field of the PDU is lost or the SI is 00. Wherein, the method is implemented by a first detection device, a receiving buffer device, a discarding device, and a sending device, wherein the first detecting device performs step S11, step S12, step S13, and step S15, and the discarding device performs step S14, The receiving buffer device executes step S16, and the sending device executes step S17.
在步骤S11中,RLC收到MAC层的RLC PDU发送通知,自启第一检测装置判断接收缓存装置是否满足接收条件。In step S11, the RLC receives the RLC PDU sending notification of the MAC layer, and automatically starts the first detection device to determine whether the reception buffer device satisfies the reception condition.
接着,在步骤S12,对接收缓存装置状态检测,若接收缓存为空或尚有存储空间则触发数据传输流程;若接收缓存已满,则暂停第一检测模块。Next, in step S12, the state of the receiving buffer device is detected, if the receiving buffer is empty or there is still storage space, the data transmission process is triggered; if the receiving buffer is full, the first detection module is suspended.
在步骤S13,匹配SI字段判断数据是否完整,其中SI的值为PDU的前两个字节。In step S13, it is determined whether the data is complete by matching the SI field, where the value of SI is the first two bytes of the PDU.
SI的匹配长度为两个字节,位于PDU前两个字节。若RLC PDU的SI不存在或者丢失,则说明该RLC PDU可能异常,将该RLC PDU丢弃。The matching length of the SI is two bytes, and it is located two bytes before the PDU. If the SI of the RLC PDU does not exist or is lost, it indicates that the RLC PDU may be abnormal, and the RLC PDU is discarded.
在步骤S14,丢弃缺失SI字段的PDU;At step S14, discard the PDU lacking the SI field;
在步骤S15,检测该RLC PDU的SI是否为00。In step S15, it is detected whether the SI of the RLC PDU is 00.
若RLC PDU的SI为00,则说明此PDU内包含了整个SDU,即该SDU未分段,可以匹配RLC头字段删除后直接传送给上层。If the SI of the RLC PDU is 00, it means that the PDU contains the entire SDU, that is, the SDU is not segmented, and can be directly transmitted to the upper layer after the matching RLC header field is deleted.
在步骤S16中,将SI字段为00的RLC PDU放入接收缓存一区,其中,可根据接收到的PDU数据量动态划分存储区域。In step S16, the RLC PDU with the SI field of 00 is put into the first area of the receiving buffer, wherein the storage area can be dynamically divided according to the amount of received PDU data.
在步骤S17中,自动匹配并删除RLC头字段后转发至上层。In step S17, the RLC header field is automatically matched and deleted, and then forwarded to the upper layer.
当PDU的头字段不含SN时,自动匹配RLC头长度为八个字节,分别是两个字节的SI,六个字节的保留位,此时自动匹配删除时只删除这八个字节。When the header field of the PDU does not contain SN, the length of the automatic matching RLC header is eight bytes, which are two bytes of SI and six bytes of reserved bits. At this time, only these eight words are deleted when the automatic matching is deleted. Festival.
图3为本发明的一种智能接收5G NR RLC UMD PDU的装置的第二种流程图,适用于PDU的SI字段为00、01或11的情况。其中,所述方法通过由第一检测装置、接收缓存装置、丢弃装置、第二检测装置、重组装置、发送装置实现,所述方法,所述第一检测装置执行步骤S21、S22、S23、S25,丢弃装置执行步骤S24,接收缓存装置执行步骤S26,第二检测装置执行步骤S27,重组装置执行步骤S28、步骤S29,发送装置执行步骤S210。3 is a second flow chart of an apparatus for intelligently receiving a 5G NR RLC UMD PDU according to the present invention, which is applicable to the case where the SI field of the PDU is 00, 01 or 11. Wherein, the method is implemented by a first detection device, a receiving buffer device, a discarding device, a second detection device, a recombination device, and a sending device. In the method, the first detection device executes steps S21, S22, S23, and S25. , the discarding device executes step S24, the receiving buffer device executes step S26, the second detection device executes step S27, the reorganization device executes steps S28 and S29, and the sending device executes step S210.
在步骤S21中,RLC收到MAC层的RLC PDU发送通知,自启第一检测装置判断接收缓存装置是否满足接收条件。In step S21, the RLC receives the RLC PDU sending notification of the MAC layer, and automatically starts the first detection device to determine whether the reception buffer device satisfies the reception condition.
接着,在步骤S22,对接收缓存装置状态检测,若接收缓存为空或尚有存储空间则触发数据传输流程;若接收缓存已满,则暂停第一检测模块。Next, in step S22, the state of the receiving buffer device is detected, if the receiving buffer is empty or there is still storage space, the data transmission process is triggered; if the receiving buffer is full, the first detection module is suspended.
在步骤S23,匹配SI字段判断数据是否完整,其中SI的值为PDU的前两个字节。In step S23, it is determined whether the data is complete by matching the SI field, where the value of SI is the first two bytes of the PDU.
若RLC PDU的SI不存在或者丢失,则说明该RLC PDU可能异常,可将该RLC PDU丢弃。If the SI of the RLC PDU does not exist or is lost, it indicates that the RLC PDU may be abnormal, and the RLC PDU can be discarded.
在步骤S24,丢弃缺失SI字段的PDU;At step S24, discard the PDU lacking the SI field;
在步骤S25,检测该RLC PDU的SI是否为00。In step S25, it is detected whether the SI of the RLC PDU is 00.
若RLC PDU的SI不为00,则说明此PDU内包含SDU分段,即该SDU分段,要等待所有分段到达完成重组后才能将完整SDU传至上层。If the SI of the RLC PDU is not 00, it means that the PDU contains an SDU segment, that is, the SDU segment, and the complete SDU can only be transmitted to the upper layer after all the segments arrive and complete the reassembly.
在步骤S26中,将SI字段不为00的RLC PDU放入缓存二区。In step S26, the RLC PDU whose SI field is not 00 is put into the second buffer area.
在步骤S27中,检测该RLC PDU的SN是否在范围Re_Next_Ressembly<=SN<SNmax内。In step S27, it is detected whether the SN of the RLC PDU is within the range Re_Next_Ressembly<=SN<SNmax.
第二检测装置自适应更新判断条件,判断条件下限为重组窗口的Re_Next_Ressembly的值,判断条件上限为RRC层配置的序列号(6比特或12比特)。若PDU在接收不在范围内,说明该PDU的SN突变或者不该接收此PDU。若SN的值在接收范围内,则该PDU进入滑动重组窗口。The second detection device adaptively updates the judgment condition, the lower limit of the judgment condition is the value of Re_Next_Ressembly of the reassembly window, and the upper limit of the judgment condition is the sequence number (6 bits or 12 bits) configured by the RRC layer. If the PDU is received and not within the range, it indicates that the SN of the PDU has changed abruptly or the PDU should not be received. If the value of SN is within the receiving range, the PDU enters the sliding reassembly window.
在步骤S28中,判断是否收到SN=X的所有PDU,若收到所有分段说明所有的SDU分段都已收到,可以完成重组并上传。In step S28, it is judged whether all PDUs with SN=X are received. If all segments are received, it means that all SDU segments have been received, and the reassembly and uploading can be completed.
重组装置根据PDU的序列号进行重组,如若在一定时间内,收到SN=X的所有分段,自动匹配RLC头后删除并进入发送流程,否则丢弃当前收到的SN=X的所有分段。其中,一定时间的取值由RRC层配置。The reorganization device reorganizes according to the sequence number of the PDU. If it receives all the segments with SN=X within a certain period of time, it automatically matches the RLC header and deletes it and enters the sending process, otherwise it discards all the currently received segments with SN=X . The value of a certain time is configured by the RRC layer.
在步骤S29中,自动匹配RLC头字段删除后,将PDU重组为完整的SDU。In step S29, after the automatic matching RLC header field is deleted, the PDU is reassembled into a complete SDU.
当PDU的头字段包含SN时,自动匹配RLC头字段一共有四种情况,长度分别为八字节、十六字节、二十四字节、三十二字节,根据SI和SN的值实现自动匹配,此时自动匹配删除时只删除对应头字段长度。When the header field of the PDU contains an SN, there are four cases in which the RLC header field is automatically matched, and the lengths are eight bytes, sixteen bytes, twenty-four bytes, and thirty-two bytes. According to the values of SI and SN Realize automatic matching. At this time, when automatic matching is deleted, only the length of the corresponding header field is deleted.
在步骤S210中,将已完成分段重组的RLC SDU传至PDCP层。In step S210, the RLC SDU for which segment reassembly has been completed is transmitted to the PDCP layer.
本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
综上所述,根据本发明的方案,首先,收到MAC层的RLC PDU发送通知后,才自启第一检测装置,判断接收缓存装置是否满足接收条件后再开始接收步骤;再通过匹配SI字段检测PDU头字段判断数据是否完整;根据SI字段值实现自动分区存储,且动态划分存储区大小;根据滑动重组窗口和上层配置自适应更新第二检测范围,进一步判断该RLC PDU的SN是否发生突变;根据不同RLC头字段自动匹配RLC头字段删除后转发至上层。通过本方法可以将UMD PDU接收流程智能化、可靠化,减少后续接收中出现问题的几率,实现高效率数据传输。To sum up, according to the solution of the present invention, firstly, after receiving the notification of RLC PDU transmission from the MAC layer, the first detection device is automatically activated to determine whether the receiving buffer device meets the receiving conditions, and then the receiving step is started; The field detection PDU header field judges whether the data is complete; realizes automatic partition storage according to the SI field value, and dynamically divides the size of the storage area; adaptively updates the second detection range according to the sliding reorganization window and the upper layer configuration, and further judges whether the SN of the RLC PDU occurs. Mutation; automatically match the RLC header field according to different RLC header fields and delete it and forward it to the upper layer. The method can make the UMD PDU receiving process intelligent and reliable, reduce the probability of problems in subsequent receiving, and realize high-efficiency data transmission.
最后说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本技术方案的宗旨和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements, without departing from the spirit and scope of the technical solution, should all be included in the scope of the claims of the present invention.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010001601.XA CN111132232B (en) | 2020-01-02 | 2020-01-02 | Method and device for intelligently receiving 5G NR RLC UMD PDU |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010001601.XA CN111132232B (en) | 2020-01-02 | 2020-01-02 | Method and device for intelligently receiving 5G NR RLC UMD PDU |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111132232A CN111132232A (en) | 2020-05-08 |
| CN111132232B true CN111132232B (en) | 2022-10-25 |
Family
ID=70507490
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010001601.XA Active CN111132232B (en) | 2020-01-02 | 2020-01-02 | Method and device for intelligently receiving 5G NR RLC UMD PDU |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111132232B (en) |
Citations (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101222516A (en) * | 2007-01-09 | 2008-07-16 | 华为技术有限公司 | MAC layer data processing method, sending device and receiving device |
| WO2008088956A2 (en) * | 2007-01-12 | 2008-07-24 | Nextwave Broadband Inc. | Multidiversity handoff in a wireless broadcast system |
| CN101369967A (en) * | 2007-08-14 | 2009-02-18 | 华为技术有限公司 | Method for transmitting and receiving data, base station, terminal |
| CN101977102A (en) * | 2004-08-07 | 2011-02-16 | 三星电子株式会社 | Method and apparatus for signalling user equipment status information for uplink packet transmission |
| CN101986593A (en) * | 2010-10-22 | 2011-03-16 | 意法·爱立信半导体(北京)有限公司 | Method and terminal for reporting scheduling information |
| CN102917463A (en) * | 2011-08-02 | 2013-02-06 | 华为技术有限公司 | Method, base station and user equipment for transmitting dispatching information |
| CN102970108A (en) * | 2012-11-13 | 2013-03-13 | 北京创毅讯联科技股份有限公司 | Radio link control (RLC) layer data transmission method and device |
| CN103856286A (en) * | 2012-11-30 | 2014-06-11 | 上海贝尔股份有限公司 | AMD PDU-based state PDU sending method and equipment |
| CN103888219A (en) * | 2014-03-11 | 2014-06-25 | 华为技术有限公司 | Method and device for receiving unacknowledged wireless link control layer data |
| EP2761955A1 (en) * | 2011-09-30 | 2014-08-06 | Interdigital Patent Holdings, Inc. | Device communication using a reduced channel bandwidth |
| CN104683017A (en) * | 2015-03-24 | 2015-06-03 | 重庆邮电大学 | Satellite mobile communication RLC layer AM mode transmission method |
| CN105471487A (en) * | 2014-07-01 | 2016-04-06 | 索尼公司 | Communication equipment, base station and communication method |
| CN106304188A (en) * | 2015-05-13 | 2017-01-04 | 苏州简约纳电子有限公司 | A kind of AM RLC is for retransmitting the receiving handling method of the optimization of data |
| CN107147594A (en) * | 2016-03-01 | 2017-09-08 | 深圳市中兴微电子技术有限公司 | A data packet processing method and device |
| CN109041121A (en) * | 2017-06-09 | 2018-12-18 | 三星电子株式会社 | Method and apparatus for supporting RLC UM mode operation |
| CN109792634A (en) * | 2016-09-30 | 2019-05-21 | 华为技术有限公司 | Data processing method, apparatus and system |
| CN110351021A (en) * | 2018-04-03 | 2019-10-18 | 夏普株式会社 | Affirmation mode RLC entity and its transmission/repeating method, communication equipment |
| CN110612739A (en) * | 2017-04-28 | 2019-12-24 | 三星电子株式会社 | Method and apparatus for communication in a wireless communication system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060064716A1 (en) * | 2000-07-24 | 2006-03-23 | Vivcom, Inc. | Techniques for navigating multiple video streams |
| CN101043301B (en) * | 2006-03-22 | 2011-08-10 | 华为技术有限公司 | Data rearrangement and recombination method in wireless communication system and its base station |
| US8503423B2 (en) * | 2007-02-02 | 2013-08-06 | Interdigital Technology Corporation | Method and apparatus for versatile MAC multiplexing in evolved HSPA |
-
2020
- 2020-01-02 CN CN202010001601.XA patent/CN111132232B/en active Active
Patent Citations (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101977102A (en) * | 2004-08-07 | 2011-02-16 | 三星电子株式会社 | Method and apparatus for signalling user equipment status information for uplink packet transmission |
| CN101222516A (en) * | 2007-01-09 | 2008-07-16 | 华为技术有限公司 | MAC layer data processing method, sending device and receiving device |
| WO2008088956A2 (en) * | 2007-01-12 | 2008-07-24 | Nextwave Broadband Inc. | Multidiversity handoff in a wireless broadcast system |
| CN101369967A (en) * | 2007-08-14 | 2009-02-18 | 华为技术有限公司 | Method for transmitting and receiving data, base station, terminal |
| CN101986593A (en) * | 2010-10-22 | 2011-03-16 | 意法·爱立信半导体(北京)有限公司 | Method and terminal for reporting scheduling information |
| CN102917463A (en) * | 2011-08-02 | 2013-02-06 | 华为技术有限公司 | Method, base station and user equipment for transmitting dispatching information |
| EP2761955A1 (en) * | 2011-09-30 | 2014-08-06 | Interdigital Patent Holdings, Inc. | Device communication using a reduced channel bandwidth |
| CN102970108A (en) * | 2012-11-13 | 2013-03-13 | 北京创毅讯联科技股份有限公司 | Radio link control (RLC) layer data transmission method and device |
| CN103856286A (en) * | 2012-11-30 | 2014-06-11 | 上海贝尔股份有限公司 | AMD PDU-based state PDU sending method and equipment |
| CN103888219A (en) * | 2014-03-11 | 2014-06-25 | 华为技术有限公司 | Method and device for receiving unacknowledged wireless link control layer data |
| CN105471487A (en) * | 2014-07-01 | 2016-04-06 | 索尼公司 | Communication equipment, base station and communication method |
| CN104683017A (en) * | 2015-03-24 | 2015-06-03 | 重庆邮电大学 | Satellite mobile communication RLC layer AM mode transmission method |
| CN106304188A (en) * | 2015-05-13 | 2017-01-04 | 苏州简约纳电子有限公司 | A kind of AM RLC is for retransmitting the receiving handling method of the optimization of data |
| CN107147594A (en) * | 2016-03-01 | 2017-09-08 | 深圳市中兴微电子技术有限公司 | A data packet processing method and device |
| CN109792634A (en) * | 2016-09-30 | 2019-05-21 | 华为技术有限公司 | Data processing method, apparatus and system |
| CN110612739A (en) * | 2017-04-28 | 2019-12-24 | 三星电子株式会社 | Method and apparatus for communication in a wireless communication system |
| CN109041121A (en) * | 2017-06-09 | 2018-12-18 | 三星电子株式会社 | Method and apparatus for supporting RLC UM mode operation |
| CN110351021A (en) * | 2018-04-03 | 2019-10-18 | 夏普株式会社 | Affirmation mode RLC entity and its transmission/repeating method, communication equipment |
Non-Patent Citations (2)
| Title |
|---|
| "38523-1-g00".《3GPP specs\38_series》.2019, * |
| Huawei, HiSilicon.Assembly Timer for RLC Segments.《R2-1705121》.2017, * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111132232A (en) | 2020-05-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100459728C (en) | System and method for polling transmitting protocol data unit in buffer memory | |
| CN102045132B (en) | Retransmission mechanism-based method and device for transmitting header compression data packet | |
| CN101931516B (en) | Quick-retransmission method and device in wireless chain control layer determination mode | |
| US7646791B2 (en) | Method and apparatus of data segmentation in a mobile communications system | |
| RU2487485C2 (en) | Method of controlling transmission window and retransmission and transmitting device | |
| CN101043301B (en) | Data rearrangement and recombination method in wireless communication system and its base station | |
| US7801142B2 (en) | Method to avoid potential deadlocks in a SDU discard function | |
| CN101729524B (en) | Data processing method, data processing device, RLC entity and PDCP entity | |
| CN104093170B (en) | Data transmission method and TCP agent device based on TCP | |
| KR102141389B1 (en) | Method and apparatus for sending radio link control status report for sending in a communication system based on a multi-radio access technologies | |
| WO2015139557A1 (en) | Packet data convergence protocol (pdcp) entity and execution method thereof | |
| CN101227483B (en) | Data processing method and apparatus of wireless link control layer | |
| CN100361481C (en) | Method, device and transmitter for transmitting data from transmitter to receiver | |
| WO2018214081A1 (en) | Radio link control transmission method and related products | |
| CN118488493A (en) | Packet data convergence protocol data unit preprocessing | |
| US20050232298A1 (en) | Early direct memory access in network communications | |
| WO2018171369A1 (en) | Method and device for transmitting data using protocol data unit | |
| CN101925195A (en) | Method and system for processing acknowledgment information in acknowledgment mode based on RLC protocol | |
| JP2023062123A (en) | Wireless communication device, wireless communication method, and wireless communication system | |
| CN1842052A (en) | Data transmission method for wireless link control layer | |
| CN102299777B (en) | Data repeating method and device | |
| CN111132232B (en) | Method and device for intelligently receiving 5G NR RLC UMD PDU | |
| CN112566256B (en) | Method for sending protocol data unit based on RLC UM mode | |
| CN103905143B (en) | Uplink-data processing method and system | |
| JP2002271442A (en) | RLC communication apparatus and RLC communication type determination processing method |
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 | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20260115 Address after: 201900 9, 1, 9, Yixian Road, Baoshan District, Shanghai. Patentee after: Shanghai Rongaotong Technology Co.,Ltd. Country or region after: China Address before: 400065 Chongqing Nan'an District huangjuezhen pass Chongwen Road No. 2 Patentee before: CHONGQING University OF POSTS AND TELECOMMUNICATIONS Country or region before: China |
|
| TR01 | Transfer of patent right |
