WO2016061985A1 - 报文处理方法、装置及系统 - Google Patents
报文处理方法、装置及系统 Download PDFInfo
- Publication number
- WO2016061985A1 WO2016061985A1 PCT/CN2015/074329 CN2015074329W WO2016061985A1 WO 2016061985 A1 WO2016061985 A1 WO 2016061985A1 CN 2015074329 W CN2015074329 W CN 2015074329W WO 2016061985 A1 WO2016061985 A1 WO 2016061985A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- packet
- messages
- buffer area
- packets
- determining
- Prior art date
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
Definitions
- the present invention relates to the field of communications, and in particular to a packet processing method, apparatus, and system.
- the Layer 2 user plane protocol stack of LTE consists of three sublayers, which are divided into Packet Data Convergence Protocol (PDCP), Radio Link Control (RLC), and Media Access Control ( Media Access Control, referred to as MAC).
- PDCP Packet Data Convergence Protocol
- RLC Radio Link Control
- MAC Media Access Control
- the main functions of the PDCP layer include header compression, security functions (integrity protection and encryption), and support for reordering and retransmission at handover, depending on the radio bearer.
- Each radio bearer has a PDCP entity.
- the processing flow of the transmitting end of the PDCP layer after receiving the Service Data Unit (SDU) from the upper layer, the sequence number (Sequence Number, referred to as SN) is assigned, and if integrity protection is required, the integrity protection process is performed. If the encryption is required, the encryption process is performed; the serial number of the sender and the Hyper Frame Number (HFN) value are maintained, and the Protocol Data Unit (PDU) is sent to the lower layer for processing.
- SDU Service Data Unit
- SN Sequence Number
- HFN Hyper Frame Number
- PDCP layer receiving end processing flow receiving protocol data unit PDU from the lower layer, performing decryption processing if decryption is required; performing integrity protection check if integrity protection is required; maintaining local receiving serial number SN according to receiving serial number SN And the superframe number HFN value, the service data unit SDU is delivered to the upper layer processing.
- the processing of the PDCP protocol is basically a chip of a central processing unit (CPU), and its main feature is linear processing, and the packet processing capability is poor.
- each SDU of the upper layer needs to be processed independently, and processed by the PDCP protocol to form a PDU and sent to a lower layer protocol stack, such as RLC.
- a Frequency Division Duplex (FDD) 20M bandwidth cell has an air interface capacity of 150 Mbps. It is assumed that the chip can process 10,000 packets per second.
- each packet is 1500 bytes
- the traffic is 110 Mbps. Left and right; if each message size is 64 bytes, the traffic is only about 5 Mbps. Of course, considering the 1500-byte and 64-byte memory processing factors, it may be higher, but the traffic is still very low, far from meeting the needs of real-life commercial environments.
- the current processing method generally uses a higher speed processor and a larger memory, but basically it is a temporary solution.
- the present invention provides a packet processing method, apparatus, and system, to at least solve the problem that the related art cannot solve the problem that the small message processing capability is poor.
- a packet processing method including: creating a buffer area, wherein the buffer area is configured to store at least two messages; and determining to be used in the buffer area for the at least two The two packets perform the grouping condition of the group packet; the at least two messages are processed in the buffer area according to the determined group packet condition.
- processing the at least two packets in the buffer area according to the determined grouping condition includes: determining whether the at least two messages meet the predetermined grouping condition; If yes, the at least two packets are grouped, and the at least two packets after the packet are sent to the packet data aggregation protocol PDCP layer for processing.
- the method before determining whether the at least two messages meet the predetermined grouping condition, the method further includes: receiving a packet data aggregation protocol (PDCP) configuration message sent by the radio link control RRC, where the PDCP configuration message carries The cumulative number of bytes threshold of the group packet and/or a predetermined duration for the group packet; the predetermined grouping condition is determined according to the PDCP configuration message.
- PDCP packet data aggregation protocol
- determining whether the at least two messages meet the predetermined grouping condition includes at least one of: configuring a maximum accumulated number of bytes in the buffer area, and determining a total number of bytes of the at least two messages Whether it is greater than or equal to the maximum number of accumulated bytes, if the determination result is yes, determining to group the at least two packets; configuring a delay timer in the buffer area, determining the cache Whether the waiting time after the first one of the at least two packets exceeds a preset threshold in the delay timer, and if the determination result is yes, determining to group the at least two packets.
- a packet processing apparatus including: a creating module, configured to create a buffer area, wherein the buffer area is configured to store at least two messages; and the determining module is configured to determine a grouping condition for grouping the at least two packets in the buffer area; the processing module is configured to: in the buffer area, the at least two packets according to the determined grouping condition Process it.
- the processing module includes: a determining unit, configured to determine whether the at least two messages meet the predetermined grouping condition; and the grouping unit is configured to, if the determination result is yes, At least two packets are grouped, and the at least two packets after the packet are sent to the packet data aggregation protocol PDCP layer for processing.
- a determining unit configured to determine whether the at least two messages meet the predetermined grouping condition
- the grouping unit is configured to, if the determination result is yes, At least two packets are grouped, and the at least two packets after the packet are sent to the packet data aggregation protocol PDCP layer for processing.
- the apparatus further includes: a receiving unit, configured to receive a packet data aggregation protocol PDCP configuration message sent by the radio link control RRC, where the PDCP configuration message carries a threshold number of accumulated bytes for the group packet and And/or a predetermined duration for the group package; the determining unit, configured to determine the predetermined grouping condition according to the PDCP configuration message.
- a receiving unit configured to receive a packet data aggregation protocol PDCP configuration message sent by the radio link control RRC, where the PDCP configuration message carries a threshold number of accumulated bytes for the group packet and And/or a predetermined duration for the group package
- the determining unit configured to determine the predetermined grouping condition according to the PDCP configuration message.
- the determining unit includes at least one of the following: a first determining subunit, configured to configure a maximum accumulated number of bytes in the buffer area, and determine whether the total number of bytes of the at least two messages is greater than or Equivalent to the maximum number of accumulated bytes, if the determination result is yes, determining to group the at least two packets; the second determining subunit is configured to configure a delay timer in the buffer area Determining whether the time waiting to cache the first one of the at least two packets exceeds a preset threshold in the delay timer, and if the determination result is yes, determining to the at least two reports The text is grouped.
- a first determining subunit configured to configure a maximum accumulated number of bytes in the buffer area, and determine whether the total number of bytes of the at least two messages is greater than or Equivalent to the maximum number of accumulated bytes, if the determination result is yes, determining to group the at least two packets
- the second determining subunit is configured to configure a delay timer in
- a message processing system comprising: a transmitting device comprising the device of any of the above, and a receiving device, wherein the receiving device is configured to receive the After at least two packets are packetized, the data packet is parsed.
- a buffer area is created, wherein the buffer area is used to store at least two packets; and a grouping condition for grouping the at least two messages in the buffer area is determined; Determining the group packet condition to process the at least two packets in the buffer area, which solves the problem that the small message processing capability cannot be solved in the related art, and effectively improves the small message in the wireless network. Processing capacity.
- FIG. 1 is a flowchart of a message processing method according to an embodiment of the present invention.
- FIG. 2 is a block diagram of a message processing apparatus according to an embodiment of the present invention.
- FIG. 3 is a block diagram 1 of a message processing apparatus in accordance with a preferred embodiment of the present invention.
- FIG. 4 is a block diagram 2 of a message processing apparatus in accordance with a preferred embodiment of the present invention.
- FIG. 5 is a block diagram 3 of a message processing apparatus in accordance with a preferred embodiment of the present invention.
- FIG. 6 is a schematic diagram of a message processing apparatus in accordance with a preferred embodiment of the present invention.
- FIG. 7 is a flow chart of a packet processing function configuration in accordance with a preferred embodiment of the present invention.
- FIG. 1 is a flowchart of a packet processing method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
- Step S102 creating a buffer area, where the buffer area is used to store at least two messages
- Step S104 determining a grouping condition for grouping the at least two messages in the buffer area
- Step S106 The at least two messages are processed in the buffer area according to the determined group of packet conditions.
- a buffer area is created, where the buffer area is used to store at least two packets; and a grouping condition for grouping the at least two packets in the buffer area is determined; according to the determined group of packets
- the condition is that the at least two packets are processed in the buffer area, which solves the problem that the small message processing capability cannot be solved in the related art, and the processing capability of the small message in the wireless network is effectively improved.
- the packet after the packet is sent to the PDCP layer of the packet data aggregation protocol for processing.
- the packet data aggregation protocol PDCP configuration sent by the radio resource control radio resource controller is received before determining whether the at least two packets meet the predetermined packet condition.
- a message, where the PDCP configuration message carries a tired packet The byte number threshold and/or the predetermined duration for the group packet are determined; the predetermined group packet condition is determined according to the PDCP configuration message, thereby clarifying that the small message processing function is performed for the small message.
- the packet After the first packet waits for more than the second preset value, and there is only one packet at this time, the packet can be directly sent.
- it can be determined in other manners to determine whether the packet meets the conditions for performing the packet, and the determination condition that can achieve the same effect is in the protection scope of the embodiment of the present invention, and details are not described herein again.
- a message processing apparatus which is used to implement the above-described embodiments and preferred embodiments, and has not been described again.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 2 is a block diagram of a message processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the method includes: a creating module 22, a determining module 24, and a processing module 26. The following briefly describes each module.
- the creating module 22 is configured to create a buffer area, where the buffer area is used to store at least two messages;
- a determining module configured to determine a grouping condition for grouping the at least two messages in the buffer area
- the processing module 26 is configured to process the at least two messages in the buffer according to the determined group of packet conditions.
- FIG. 3 is a block diagram of a message processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 3, the processing module 26 includes:
- the determining unit 32 is configured to determine whether the at least two messages meet the predetermined grouping condition
- the grouping unit 34 is configured to, when the determination result is yes, group the at least two packets, and send the at least two packets after the group packet to the packet data aggregation protocol PDCP layer for processing.
- FIG. 4 is a block diagram 2 of a message processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 4, the apparatus further includes:
- the receiving unit 42 is configured to receive a packet data aggregation protocol PDCP configuration message sent by the radio link control RRC, where the PDCP configuration message carries a cumulative byte number threshold for the group packet and/or a predetermined duration for the group packet. ;
- the determining unit 44 is configured to determine the predetermined grouping condition according to the PDCP configuration message.
- FIG. 5 is a block diagram 3 of a message processing apparatus according to a preferred embodiment of the present invention.
- the determining unit 32 includes at least one of the following:
- the first determining sub-unit 52 is configured to configure a maximum accumulated number of bytes in the buffer area, and determine whether the total number of bytes of the at least two messages is greater than or equal to the maximum accumulated number of bytes, and the determination result is yes. In the case, determining to group the at least two packets;
- the second judging sub-unit 54 is configured to configure a delay timer in the buffer area, and determine whether the waiting time after buffering the first one of the at least two packets exceeds a preset threshold in the delay timer. If the determination result is yes, it is determined that the at least two packets are grouped.
- a message processing system comprising: a transmitting device including at least the above device, and a receiving device, wherein the receiving device is configured to receive the at least two messages upon receiving After the packet is packaged, the packet is parsed.
- FIG. 6 is a schematic diagram of a message processing apparatus according to a preferred embodiment of the present invention.
- the buffer area is mainly used for : If the number of bytes in the buffer area is greater than or equal to N bytes, or the first message in the buffer area waits for more than T time; all the packets in the buffer area are sent together to the PDCP protocol layer as a SUD. Send; otherwise, wait in the buffer area.
- the packet is packaged into an SDU and processed in the PDCP layer. Therefore, the format of the current PDCP protocol packet is changed.
- the standard PDCP protocol packet needs to be extended to some extent. Leave the field to indicate whether it is enabled.
- DelayTimer the timing at which the packet buffer is started when there is a first buffered packet. If the timer expires, all the packets in the buffer area are delivered to the PDCP layer; the maximum accumulated byte (MaxCulBytes), the maximum number of bytes of the packet buffered in the packet buffer area, if the value exceeds this value, the cache is cached. All messages in the zone are delivered to the PDCP layer.
- PDCP-smallpacket indicates whether the PDCP packet function is enabled
- the PDCP layer is not configured with the packet processing function, it is processed according to the standard PDCP protocol; if the PDCP layer is configured with the packet processing function, it is processed according to the packet processing function; in the RRC protocol, when the PDCP instance is configured, the option for processing the packet is increased; When the option is enabled, configure the delay timer and the maximum packet length, which is MaxCulBytes.
- FIG. 7 is a flow chart showing a configuration of a packet processing function according to a preferred embodiment of the present invention. As shown in FIG. 7, the method includes the following steps:
- Step S702 the RRC configures a PDCP configuration message.
- Step S704 the PDCP layer parses the configuration message.
- Step S706 it is determined whether the packet processing function is enabled, if the determination result is yes, step S708 is performed, otherwise step S712 is performed;
- Step S708 creating a packet buffer area
- Step S710 storing a delay timer and a maximum packet length
- step S712 the configuration ends.
- the packet function enable configuration process includes the following: the PDCP layer packet function enable switch is enabled; the RRC configuration PDCP-config message carries the parameters of the small packet (SmallPacket), that is, the delay timer DelayTimer And the maximum packet length of the MaxCulBytes; when the PDCP protocol layer is configured with the PDCP instance, a packet buffer is created, and the delay timer DelayTimer and the maximum packet length MaxCulBytes are saved; for the sender, the upper packet is sent to the PDCP packet cache when it arrives. The area is determined according to the configured delay timer DelayTimer and the maximum packet length MaxCulBytes. For the receiving end, when the PDCP packet function is enabled, the packet needs to be unpacked and sent to the upper layer respectively. Message processing is handled according to the packet process.
- SmallPacket small packet
- the delay timer DelayTimer And the maximum packet length of the MaxCulBytes when the PDCP protocol layer is configured with the PD
- the packet function non-enable configuration process includes the following: the PDCP layer packet function enable switch is disabled; the RRC configuration PDCP-config message does not carry the relevant parameters of the SmallPacket; the PDCP protocol layer configures the PDCP instance; and processes according to the normal PDCP process.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
- the above embodiments and the preferred embodiments solve the problem that the processing capability of the small message cannot be solved poorly in the related art, and the processing capability of the small message in the wireless network is effectively improved.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种报文处理方法、装置及系统,其中,该方法包括:创建缓存区,其中,该缓存区用于储存至少两个报文;确定在该缓存区中用于对该至少两个报文进行组包的组包条件;依据确定的该组包条件在该缓存区中对该至少两个报文进行处理。通过本发明,解决了相关技术中不能解决小报文处理能力较差的问题,有效提升了无线网络中小报文的处理能力。
Description
本发明涉及通信领域,具体而言,涉及一种报文处理方法、装置及系统。
LTE的层2用户面协议栈由3个子层组成,分为分组数据汇聚协议(Packet Data Convergence Protocol,简称为PDCP)、无线链路控制(Radio Link Control,简称为RLC)和媒体接入控制(Media Access Control,简称为MAC)。其中PDCP层主要功能包括头压缩、安全性功能(完整性保护和加密)以及对切换时重排序和重传的支持,这些功能取决于无线承载。每一无线承载有一个PDCP实体。
PDCP层发送端处理流程:从上层接收到业务数据单元(Service Data Unit,简称为SDU)后,赋予序列号(Sequence Number,简称为SN)值,如果需要完整性保护,则执行完整性保护处理;如果需要加密,则执行加密处理;维护发送端的序列号和超帧号(Hyper Frame Number,简称为HFN)值,将协议数据单元(Protocol Data Unit,简称为PDU)发送给下层处理。
PDCP层接收端处理流程:从下层接收到协议数据单元PDU,如果需要解密,执行解密处理;如果需要完整性保护,执行完整性保护校验;根据接收到序列号SN维护本地的接收序列号SN和超帧号HFN值,将业务数据单元SDU投递到高层处理。
随着LTE的大规模商用和移动互联网的蓬勃发展,网络中的业务类型变得更加的丰富,各种各样的报文都存在,比如很多的O2O应用、如微信、易信,微博等,还有传输控制协议(Transmission Control Protocol,简称为TCP)的ACK反馈报文等,这些报文的特点都是小包,而且是非常频繁,数据量比较大。
但目前不论是终端侧或者是网络侧,PDCP协议的处理基本上都是类中央处理单元(Central Processing Unit,简称为CPU)的芯片,其主要特点是线性处理,小包处理能力较差。而根据PDCP协议,高层的每一个SDU都需要独立处理,经过PDCP协议处理后形成PDU发送给低层协议栈,如RLC。这样就会导致终端或者网络侧PDCP层处理小报文能力非常差,而空口带宽又无法得到足够的利用。例如,频分双工(Frequency Division Duplex,简称为FDD)20M带宽小区,空口能力是150Mbps,假设芯片每秒能处理10000个报文,如果每个报文大小是1500字节,则流量是110Mbps
左右;如果每个报文大小是64字节,则流量仅仅有5Mbps左右。当然,考虑到1500字节和64字节内存处理等因素,可能会更高一些,但是流量还是非常的低,远远没法满足真实商用环境的需求。
对于这种小包的问题,目前的处理方法一般是使用更高速的处理器,更大的内存,但是基本上是治标不治本。
针对相关技术中不能解决小报文处理能力较差的问题,目前尚未提出有效的解决方案。
发明内容
本发明提供了一种报文处理方法、装置及系统,以至少解决相关技术中不能解决小报文处理能力较差的问题。
根据本发明的一个方面,提供了一种报文处理方法,包括:创建缓存区,其中,所述缓存区用于储存至少两个报文;确定在所述缓存区中用于对所述至少两个报文进行组包的组包条件;依据确定的所述组包条件在所述缓存区中对所述至少两个报文进行处理。
优选地,依据确定的所述组包条件在所述缓存区中对所述至少两个报文进行处理包括:判断所述至少两个报文是否满足所述预定的组包条件;在判断结果为是的情况下,对所述至少两个报文进行组包,并将组包后的所述至少两个报文发送到分组数据聚合协议PDCP层进行处理。
优选地,在判断所述至少两个报文是否满足预定的组包条件之前,还包括:接收无线链路控制RRC发送的分组数据聚合协议PDCP配置消息,其中,所述PDCP配置消息中携带有用于组包的累计字节数阈值和/或用于组包的预定时长;依据所述PDCP配置消息确定所述预定的组包条件。
优选地,判断所述至少两个报文是否满足预定的组包条件包括以下至少之一:在所述缓存区中配置最大累计字节数,判断所述至少两个报文的总字节数是否大于或等于所述最大累计字节数,在判断结果为是的情况下,确定对所述至少两个报文进行组包;在所述缓存区中配置延时定时器,判断缓存所述至少两个报文中的第一个报文后等待的时间是否超过延时定时器中预设的阈值,在判断结果为是的情况下,确定对所述至少两个报文进行组包。
根据本发明的另一方面,提供了一种报文处理装置,包括:创建模块,设置为创建缓存区,其中,所述缓存区用于储存至少两个报文;确定模块,设置为确定在所述缓存区中用于对所述至少两个报文进行组包的组包条件;处理模块,设置为依据确定的所述组包条件在所述缓存区中对所述至少两个报文进行处理。
优选地,所述处理模块包括:判断单元,设置为判断所述至少两个报文是否满足所述预定的组包条件;组包单元,设置为在判断结果为是的情况下,对所述至少两个报文进行组包,并将组包后的所述至少两个报文发送到分组数据聚合协议PDCP层进行处理。
优选地,所述装置还包括:接收单元,设置为接收无线链路控制RRC发送的分组数据聚合协议PDCP配置消息,其中,所述PDCP配置消息中携带有用于组包的累计字节数阈值和/或用于组包的预定时长;确定单元,设置为依据所述PDCP配置消息确定所述预定的组包条件。
优选地,所述判断单元包括以下至少之一:第一判断子单元,设置为在所述缓存区中配置最大累计字节数,判断所述至少两个报文的总字节数是否大于或等于所述最大累计字节数,在判断结果为是的情况下,确定对所述至少两个报文进行组包;第二判断子单元,设置为在所述缓存区中配置延时定时器,判断缓存所述至少两个报文中的第一个报文后等待的时间是否超过延时定时器中预设的阈值,在判断结果为是的情况下,确定对所述至少两个报文进行组包。
根据本发明的另一方面,还提供了一种报文处理系统,包括:包括上述任一项所述装置的发送设备,和接收设备,其中,所述接收设备设置为在接收到对所述至少两个报文进行组包后的数据包后,对所述数据包进行解析处理。
通过本发明,采用创建缓存区,其中,所述缓存区用于储存至少两个报文;确定在所述缓存区中用于对所述至少两个报文进行组包的组包条件;依据确定的所述组包条件在所述缓存区中对所述至少两个报文进行处理,解决了相关技术中不能解决小报文处理能力较差的问题,有效提升了无线网络中小报文的处理能力。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的报文处理方法的流程图;
图2是根据本发明实施例的报文处理装置的框图;
图3是根据本发明优选实施例的报文处理装置的框图一;
图4是根据本发明优选实施例的报文处理装置的框图二;
图5是根据本发明优选实施例的报文处理装置的框图三;
图6是根据本发明优选实施例的报文处理装置的示意图;
图7是根据本发明优选实施例的小包处理功能配置的流程图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在本实施例中提供了一种报文处理方法,图1是根据本发明实施例的报文处理方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,创建缓存区,其中,该缓存区用于储存至少两个报文;
步骤S104,确定在该缓存区中用于对该至少两个报文进行组包的组包条件;
步骤S106,依据确定的该组包条件在该缓存区中对该至少两个报文进行处理。
通过上述步骤,创建缓存区,其中,缓存区用于储存至少两个报文;确定在该缓存区中用于对该至少两个报文进行组包的组包条件;依据确定的该组包条件在该缓存区中对该至少两个报文进行处理,解决了相关技术中不能解决小报文处理能力较差的问题,有效提升了无线网络中小报文的处理能力。
本实施例中,通过判断该至少两个报文是否满足预定的组包条件确定是否对报文进行组包,在满足预定的组包条件的情况下,对报文进行组包,并将组包后的报文发送到分组数据聚合协议PDCP层进行处理。
作为一种优选的实施方式,在判断至少两个报文是否满足预定的组包条件之前,接收无线链路控制无线资源控制器(Radio Resource Controller,简称为RRC)发送的分组数据聚合协议PDCP配置消息,其中,该PDCP配置消息中携带有用于组包的累
计字节数阈值和/或用于组包的预定时长;依据该PDCP配置消息确定该预定的组包条件,从而明确了对于小报文是进行相应的小报文处理功能进行处理。
本实施例中,通过以下至少之一判断至少两个报文是否满足预定的组包条件:在缓存区中配置最大累计字节数,判断该至少两个报文的总字节数是否大于或等于该最大累计字节数,在判断结果为是的情况下,确定对该至少两个报文进行组包;在缓存区中配置延时定时器,判断缓存该至少两个报文中的第一个报文后等待的时间是否超过延时定时器中预设的阈值,在判断结果为是的情况下,确定对该至少两个报文进行组包,另外,需要强调的是,在缓存第一个报文后等待的时间超过第二预设值,且此时仅有一个报文的情况下,将该报文直接进行发送即可。当然也可以通过其他的方式判断从而确定报文是否满足进行组包的条件,只要能够达到相同效果的判断条件均在本发明实施例的保护范围中,在此不再赘述。
根据本发明的另一方面,提供了一种报文处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的报文处理装置的框图,如图2所示,包括:创建模块22、确定模块24和处理模块26,下面对各个模块进行简要说明。
创建模块22,设置为创建缓存区,其中,该缓存区用于储存至少两个报文;
确定模块24,设置为确定在该缓存区中用于对该至少两个报文进行组包的组包条件;
处理模块26,设置为依据确定的该组包条件在该缓存区中对该至少两个报文进行处理。
图3是根据本发明优选实施例的报文处理装置的框图一,如图3所示,处理模块26包括:
判断单元32,设置为判断该至少两个报文是否满足该预定的组包条件;
组包单元34,设置为在判断结果为是的情况下,对该至少两个报文进行组包,并将组包后的该至少两个报文发送到分组数据聚合协议PDCP层进行处理。
图4是根据本发明优选实施例的报文处理装置的框图二,如图4所示,该装置还包括:
接收单元42,设置为接收无线链路控制RRC发送的分组数据聚合协议PDCP配置消息,其中,该PDCP配置消息中携带有用于组包的累计字节数阈值和/或用于组包的预定时长;
确定单元44,设置为依据该PDCP配置消息确定该预定的组包条件。
图5是根据本发明优选实施例的报文处理装置的框图三,如图5所示,该判断单元32包括以下至少之一:
第一判断子单元52,设置为在该缓存区中配置最大累计字节数,判断该至少两个报文的总字节数是否大于或等于该最大累计字节数,在判断结果为是的情况下,确定对该至少两个报文进行组包;
第二判断子单元54,设置为在该缓存区中配置延时定时器,判断缓存该至少两个报文中的第一个报文后等待的时间是否超过延时定时器中预设的阈值,在判断结果为是的情况下,确定对该至少两个报文进行组包。
根据本发明的另一方面,还提供了一种报文处理系统,包括:至少包括上述装置的发送设备,和接收设备,其中,该接收设备设置为在接收到对该至少两个报文进行组包后的数据包后,对该数据包进行解析处理。
下面结合优选实施方式对本发明实施例进行进一步说明。
本发明实施例的关键是在PDCP协议层和高层之间增加一个小包缓存区,图6是根据本发明优选实施例的报文处理装置的示意图,如图6所示,该缓存区主要用于:如果缓存区中的报文字节数大于等于N字节,或者缓存区第一个报文等待的时间超过T时间;把缓存区中的所有报文一起发送到PDCP协议层作为一个SUD进行发送;否则,在缓存区进行等待。在增加缓存区后,将小包打包成一个SDU在PDCP层进行处理,因此会对现在的PDCP协议报文格式有一定的改动,需要对于标准PDCP协议报文进行一定的扩展,使用了PDCP中的保留字段来表明是否启用。
为了在终端侧以及网络侧PDCP层同时配置或者不配置小包处理功能,需要在RRC协议36.331中针对PDCP层的配置添加可选字段,在PDCP-Config报文格式中增加一个标识,以标识是否打开小包处理功能;并且增加小包处理功能需要的两个配置参数:延时定时器(DelayTimer),小包缓存区在有第一个缓存的小包时启动的定时
器,如果定时器超时,则把缓存区中的所有报文都投递给PDCP层;最大累计字节(MaxCulBytes),小包缓存区最大缓存的报文字节数,如果超过此值,则把缓存区中的所有报文都投递给PDCP层。
下面对增加了小包处理功能的PDCP配置进行说明。
其中,上述斜体部分所描述的内容即是在36.331协议PDCP-Config参数配置中增加小包处理的协议字段,字段含义解释如下:
PDCP-smallpacket 指示PDCP小包功能是否使能;
DelayTimer 延时定时器时长;
MaxCulBytes 最大组包长度。
如果PDCP层没有配置小包处理功能,则按照标准PDCP协议处理;如果PDCP层配置了小包处理功能,则按照小包处理功能进行处理;在RRC协议中,配置PDCP实例时,增加小包处理的选项;在选项使能的情况下,配置延时定时器和最大组包长度,也即MaxCulBytes。
图7是根据本发明优选实施例的小包处理功能配置的流程图,如图7所示,该方法包括以下步骤:
步骤S702,RRC配置PDCP配置消息;
步骤S704,PDCP层解析配置消息;
步骤S706,判断是否使能小包处理功能,在判断结果为是的情况下,执行步骤S708,否则执行步骤S712;
步骤S708,创建小包缓存区;
步骤S710,存储延时定时器和最大组包长度
步骤S712,配置结束。
结合图7所示的流程,小包功能使能配置处理流程包括以下内容:PDCP层小包功能使能开关打开;RRC配置PDCP-config消息中携带了小包(SmallPacket)的参数,即延时定时器DelayTimer和最大组包长度MaxCulBytes;PDCP协议层配置PDCP实例时,创建一个小包缓存区,并且保存延时定时器DelayTimer和最大组包长度MaxCulBytes;对于发送端,高层报文到达时先送到PDCP小包缓存区,根据配置的延时定时器DelayTimer和最大组包长度MaxCulBytes来判断报文如何处理;对于接收端,在PDCP小包功能使能的情况下,需要将小包解开后,分别发送到高层,后续报文处理按照小包流程处理。
小包功能非使能配置处理流程包括以下内容:PDCP层小包功能使能开关关闭;RRC配置PDCP-config消息中不携带SmallPacket的相关参数;PDCP协议层配置PDCP实例;按照正常PDCP流程进行处理。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处
的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
如上所述,通过上述实施例及优选实施方式,解决了相关技术中不能解决小报文处理能力较差的问题,有效提升了无线网络中小报文的处理能力。
Claims (9)
- 一种报文处理方法,包括:创建缓存区,其中,所述缓存区用于储存至少两个报文;确定在所述缓存区中用于对所述至少两个报文进行组包的组包条件;依据确定的所述组包条件在所述缓存区中对所述至少两个报文进行处理。
- 根据权利要求1所述的方法,其中,依据确定的所述组包条件在所述缓存区中对所述至少两个报文进行处理包括:判断所述至少两个报文是否满足所述预定的组包条件;在判断结果为是的情况下,对所述至少两个报文进行组包,并将组包后的所述至少两个报文发送到分组数据聚合协议PDCP层进行处理。
- 根据权利要求2所述的方法,其中,在判断所述至少两个报文是否满足预定的组包条件之前,还包括:接收无线链路控制RRC发送的分组数据聚合协议PDCP配置消息,其中,所述PDCP配置消息中携带有用于组包的累计字节数阈值和/或用于组包的预定时长;依据所述PDCP配置消息确定所述预定的组包条件。
- 根据权利要求2所述的方法,其中,判断所述至少两个报文是否满足预定的组包条件包括以下至少之一:在所述缓存区中配置最大累计字节数,判断所述至少两个报文的总字节数是否大于或等于所述最大累计字节数,在判断结果为是的情况下,确定对所述至少两个报文进行组包;在所述缓存区中配置延时定时器,判断缓存所述至少两个报文中的第一个报文后等待的时间是否超过延时定时器中预设的阈值,在判断结果为是的情况下,确定对所述至少两个报文进行组包。
- 一种报文处理装置,包括:创建模块,设置为创建缓存区,其中,所述缓存区用于储存至少两个报文;确定模块,设置为确定在所述缓存区中用于对所述至少两个报文进行组包的组包条件;处理模块,设置为依据确定的所述组包条件在所述缓存区中对所述至少两个报文进行处理。
- 根据权利要求5所述的装置,其中,所述处理模块包括:判断单元,设置为判断所述至少两个报文是否满足所述预定的组包条件;组包单元,设置为在判断结果为是的情况下,对所述至少两个报文进行组包,并将组包后的所述至少两个报文发送到分组数据聚合协议PDCP层进行处理。
- 根据权利要求6所述的装置,其中,所述装置还包括:接收单元,设置为接收无线链路控制RRC发送的分组数据聚合协议PDCP配置消息,其中,所述PDCP配置消息中携带有用于组包的累计字节数阈值和/或用于组包的预定时长;确定单元,设置为依据所述PDCP配置消息确定所述预定的组包条件。
- 根据权利要求6所述的装置,其中,所述判断单元包括以下至少之一:第一判断子单元,设置为在所述缓存区中配置最大累计字节数,判断所述至少两个报文的总字节数是否大于或等于所述最大累计字节数,在判断结果为是的情况下,确定对所述至少两个报文进行组包;第二判断子单元,设置为在所述缓存区中配置延时定时器,判断缓存所述至少两个报文中的第一个报文后等待的时间是否超过延时定时器中预设的阈值,在判断结果为是的情况下,确定对所述至少两个报文进行组包。
- 一种报文处理系统,包括:包括权利要求5至8中任一项所述装置的发送设备,和接收设备,其中,所述接收设备用于在接收到对所述至少两个报文进行组包后的数据包后,对所述数据包进行解析处理。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410579111.2 | 2014-10-24 | ||
CN201410579111.2A CN105591976A (zh) | 2014-10-24 | 2014-10-24 | 报文处理方法、装置及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016061985A1 true WO2016061985A1 (zh) | 2016-04-28 |
Family
ID=55760161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/074329 WO2016061985A1 (zh) | 2014-10-24 | 2015-03-16 | 报文处理方法、装置及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105591976A (zh) |
WO (1) | WO2016061985A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107181696A (zh) * | 2017-06-14 | 2017-09-19 | 中国传媒大学 | 一种节省小包数据网络资源及能耗的方法 |
CN112242962B (zh) * | 2019-07-16 | 2023-06-23 | 北京物芯科技有限责任公司 | 报文缓存切割处理方法、装置、设备及存储介质 |
CN113207175A (zh) * | 2021-03-25 | 2021-08-03 | 厦门才茂通信科技有限公司 | 一种通信过程中数据包智能传输方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026545A (zh) * | 2006-02-21 | 2007-08-29 | 联想(北京)有限公司 | 一种实时多媒体传输系统和方法 |
CN101932128A (zh) * | 2009-06-25 | 2010-12-29 | 大唐移动通信设备有限公司 | 一种数据链路层的数据收发处理方法及设备 |
CN102300259A (zh) * | 2011-09-16 | 2011-12-28 | 电信科学技术研究院 | 一种数据块级联和拆解处理方法、装置及系统 |
CN103746945A (zh) * | 2013-12-30 | 2014-04-23 | 上海华为技术有限公司 | 一种数据传输装置及方法 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101415276A (zh) * | 2008-11-24 | 2009-04-22 | 中兴通讯股份有限公司 | 一种发送和接收数据的方法及其设备 |
CN102026289A (zh) * | 2010-12-22 | 2011-04-20 | 中兴通讯股份有限公司 | 一种通用路由封装报文的处理方法及系统 |
US9173147B2 (en) * | 2013-01-18 | 2015-10-27 | Blackberry Limited | Communicating data using a local wireless access network node |
-
2014
- 2014-10-24 CN CN201410579111.2A patent/CN105591976A/zh active Pending
-
2015
- 2015-03-16 WO PCT/CN2015/074329 patent/WO2016061985A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026545A (zh) * | 2006-02-21 | 2007-08-29 | 联想(北京)有限公司 | 一种实时多媒体传输系统和方法 |
CN101932128A (zh) * | 2009-06-25 | 2010-12-29 | 大唐移动通信设备有限公司 | 一种数据链路层的数据收发处理方法及设备 |
CN102300259A (zh) * | 2011-09-16 | 2011-12-28 | 电信科学技术研究院 | 一种数据块级联和拆解处理方法、装置及系统 |
CN103746945A (zh) * | 2013-12-30 | 2014-04-23 | 上海华为技术有限公司 | 一种数据传输装置及方法 |
Also Published As
Publication number | Publication date |
---|---|
CN105591976A (zh) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11133897B2 (en) | Data transmission method and apparatus | |
RU2475989C2 (ru) | Способы и устройство для форматирования заголовков в коммуникационном фрейме | |
TWI566549B (zh) | 用於處理封包資料收斂協定資料單元之通信方法、裝置及系統 | |
WO2018059447A1 (en) | Method and apparatus for ordering of protocol data unit delivery | |
WO2015139557A1 (zh) | 分组数据汇聚协议pdcp实体及其执行的方法 | |
US11159981B2 (en) | Congestion processing method and apparatus | |
RU2543996C2 (ru) | Управление перегрузкой в сети связи | |
WO2020048517A1 (zh) | 一种rrc连接方法、设备及系统 | |
KR100954925B1 (ko) | 상위로 PDCP 데이터 유닛(data unit)을 전달하는 방법 | |
WO2017008266A1 (zh) | Lte和wlan聚合的数据处理方法、装置以及通信系统 | |
WO2017045501A1 (zh) | 一种报文调度方法和装置、存储介质 | |
WO2016039673A1 (en) | Explicit congestion notification marking of user traffic | |
CN107659558A (zh) | 一种数据传输方法及基站 | |
WO2016061985A1 (zh) | 报文处理方法、装置及系统 | |
EP3937565A1 (en) | Communication method and apparatus | |
JP2011514741A5 (zh) | ||
US8989008B2 (en) | Wirespeed TCP packet window field modification for networks having radio segments | |
WO2016061987A1 (zh) | 报文处理方法及装置 | |
JP2023062123A (ja) | 無線通信装置、無線通信方法、及び無線通信システム | |
CN109561443B (zh) | 一种信息处理方法、装置、设备及计算机可读存储介质 | |
EP3065500A1 (en) | Communication device, and layer-2 status control method | |
US20170324674A1 (en) | Active queue management for a wireless communication network | |
WO2019015487A1 (zh) | 一种数据重传处理方法、rlc实体和mac实体 | |
JP4447028B2 (ja) | 通信制御方法、送信装置、およびコンピュータプログラム | |
JP4372814B2 (ja) | データユニットの送信回数のカウント方法、カウント装置、送信装置、およびコンピュータプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15852322 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15852322 Country of ref document: EP Kind code of ref document: A1 |