[go: up one dir, main page]

CN113711558B - Ethernet frame packet header compression processing method and device, user terminal, base station and medium - Google Patents

Ethernet frame packet header compression processing method and device, user terminal, base station and medium Download PDF

Info

Publication number
CN113711558B
CN113711558B CN201980095284.8A CN201980095284A CN113711558B CN 113711558 B CN113711558 B CN 113711558B CN 201980095284 A CN201980095284 A CN 201980095284A CN 113711558 B CN113711558 B CN 113711558B
Authority
CN
China
Prior art keywords
base station
packet
data packet
user terminal
context information
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
Application number
CN201980095284.8A
Other languages
Chinese (zh)
Other versions
CN113711558A (en
Inventor
付喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN113711558A publication Critical patent/CN113711558A/en
Application granted granted Critical
Publication of CN113711558B publication Critical patent/CN113711558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network 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

本公开提出一种以太帧包头压缩处理方法、装置、用户终端、基站和介质,其中,应用于用户终端的方法包括:在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;其中,每个第一完整数据包包括上下文信息、未被压缩的包头信息及第一序号,上下文信息为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为基站在承载中未接收过的任一序号。由此,能够确保基站成功获取重置后的上下文信息,保证数据的正常传输。

The present disclosure proposes an Ethernet frame header compression processing method, device, user terminal, base station, and medium, wherein the method applied to the user terminal includes: when obtaining the packet data convergence protocol reconstruction instruction, if the transmission mode of the current bearer is confirmation mode, and the configuration file meets the preset conditions, and the current bearer includes a preset data packet, then at least one first complete data packet is sent to the base station; wherein, each first complete data packet includes context information, uncompressed header information and a first sequence number, and the context information is the context reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction information, the first sequence number is any sequence number that the base station has not received in the bearer. In this way, it can be ensured that the base station successfully obtains the reset context information, and normal data transmission is ensured.

Description

以太帧包头压缩处理方法、装置、用户终端、基站和介质Ethernet frame header compression processing method, device, user terminal, base station and medium

技术领域technical field

本公开涉及数据处理和网络传输技术领域,尤其涉及一种以太帧包头压缩处理方法、装置、用户终端、基站和介质。The present disclosure relates to the technical fields of data processing and network transmission, and in particular to a method, device, user terminal, base station and medium for compressing and processing Ethernet frame headers.

背景技术Background technique

目前,用户终端和基站通信时,若接收到分组数据汇聚协议(Packet DataConvergence Protocol,简称PDCP)重建请求,则用户终端需要执行PDCP重建过程,执行重建过程后,再执行正常的PDCP层的数据传输。At present, when the user terminal communicates with the base station, if a packet data convergence protocol (Packet Data Convergence Protocol, PDCP for short) reconstruction request is received, the user terminal needs to perform a PDCP reconstruction process, and then perform normal PDCP layer data transmission after performing the reconstruction process.

然而,若配置文件中的配置参数drb-ContinueROHC未被赋值或赋值为false,则在传输模式为确认模式时,且在重建前,存在未发送成功的数据包时,则用户终端会重置头压缩上下文信息,相应的,用户终端会向基站发送包含完整包头信息、上下文信息的PDCP协议数据单元(Protocol Data Unit,简称PDU)。如果发送的数据包采用的是重建之前发送过的PDCP PDU的序列号(SN),那么基站会认为这个SN对应的数据包被接收过,从而导致基站直接删除这个PDCPPDU,而不进一步检查或获取其中的信息,造成不能获取和/或存储有效的(新的)头压缩上下文信息。进而,由于基站没有有效的头压缩上下文信息,则将导致后续用户终端发送的压缩包无法被解压缩,造成解压缩失败,进而数据传输失败的问题。However, if the configuration parameter drb-ContinueROHC in the configuration file is not assigned a value or is assigned a value of false, then when the transmission mode is the confirmation mode, and there are unsuccessfully sent data packets before reconstruction, the user terminal will reset the header compression context information, and correspondingly, the user terminal will send a PDCP protocol data unit (Protocol Data Unit, PDU) including complete header information and context information to the base station. If the sent data packet uses the sequence number (SN) of the PDCP PDU sent before reconstruction, the base station will consider that the data packet corresponding to the SN has been received, causing the base station to directly delete the PDCP PDU without further checking or obtaining the information in it, resulting in failure to obtain and/or store valid (new) header compression context information. Furthermore, since the base station does not have effective header compression context information, subsequent compressed packets sent by the user terminal cannot be decompressed, resulting in decompression failure and further data transmission failure.

公开内容public content

本公开提出一种以太帧包头压缩处理方法、装置、用户终端、基站和介质,以实现确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输,用于解决现有技术中基站无法进行解压缩的技术问题。The disclosure proposes an Ethernet frame header compression processing method, device, user terminal, base station, and medium to ensure that the base station successfully obtains reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission, and is used to solve the technical problem that the base station cannot perform decompression in the prior art.

本公开第一方面实施例提出了一种以太帧包头压缩处理方法,应用于用户终端,包括:The embodiment of the first aspect of the present disclosure proposes an Ethernet frame header compression processing method, which is applied to a user terminal, including:

在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且所述配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;When the packet data convergence protocol reconstruction instruction is acquired, if the transmission mode of the current bearer is the confirmation mode, and the configuration file satisfies the preset condition, and the current bearer includes a preset data packet, then send at least one first complete data packet to the base station;

其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为所述用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为所述基站在承载中未接收过的任一序号。Wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number, wherein the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, and the first sequence number is any sequence number that has not been received by the base station in the bearer.

本公开实施例的以太帧包头压缩处理方法,通过用户终端在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为基站在承载中未接收过的任一序号。本公开中,用户终端向基站发送至少一个第一完整数据包,由于第一完整数据包中包括基站在承载中未接收过的序号,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。In the Ethernet frame header compression processing method of the embodiment of the present disclosure, when the user terminal obtains the packet data convergence protocol reconstruction instruction, if the transmission mode of the current bearer is the confirmation mode, and the configuration file satisfies the preset conditions, and the current bearer includes the preset data packet, at least one first complete data packet is sent to the base station; wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number. Any serial number not received in . In the present disclosure, the user terminal sends at least one first complete data packet to the base station. Since the first complete data packet includes a sequence number that the base station has not received in the bearer, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

本公开第二方面实施例提出了另一种以太帧包头压缩处理方法,应用于基站,包括:The embodiment of the second aspect of the present disclosure proposes another Ethernet frame header compression processing method, which is applied to the base station, including:

在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且所述配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为所述基站在当前承载中未接收过的序号,则保存所述第一完整数据包中的上下文信息,以根据所述第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;When the packet data convergence protocol reconstruction request is obtained, if the transmission mode of the current session is confirmation mode, and the configuration file satisfies the preset condition, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that has not been received by the base station in the current bearer, then saving the context information in the first complete data packet, so as to decompress the new compressed packet according to the context information in the first complete data packet;

其中,所述第一完整数据包为所述用户终端在获取到分组数据汇聚协议重建指令后向所述基站发送的。Wherein, the first complete data packet is sent by the user terminal to the base station after obtaining the packet data convergence protocol reconstruction instruction.

本公开实施例的以太帧包头压缩处理方法,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为基站在当前承载中未接收过的序号,则保存第一完整数据包中的上下文信息,以根据第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;其中,第一完整数据包为用户终端在获取到分组数据汇聚协议重建指令后向基站发送的。本公开中,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。In the Ethernet frame header compression processing method of the embodiment of the present disclosure, when the base station obtains the reconstruction request of the packet data convergence protocol, if the transmission mode of the current session is the confirmation mode and the configuration file meets the preset conditions, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that the base station has not received in the current bearer, then the context information in the first complete data packet is saved, so as to decompress the new compressed packet according to the context information in the first complete data packet; Sent to the base station after the reconstruction command. In the present disclosure, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

本公开第三方面实施例提出了另一种以太帧包头压缩处理方法,应用于基站,包括:The embodiment of the third aspect of the present disclosure proposes another Ethernet frame header compression processing method, which is applied to the base station, including:

在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且所述配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为所述基站在当前承载中已经接收过的序号,则保存所述第二完整数据包中的上下文信息。When the packet data convergence protocol reconstruction request is obtained, if the transmission mode of the current session is the confirmation mode, and the configuration file satisfies the preset condition, and the second sequence number in the second complete data packet obtained from the user terminal is a sequence number that the base station has received in the current bearer, then save the context information in the second complete data packet.

本公开实施例的以太帧包头压缩处理方法,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为基站在当前承载中已经接收过的序号,则保存第二完整数据包中的上下文信息。由此,可以确保基站成功获取上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。In the Ethernet frame header compression processing method of the embodiment of the present disclosure, when the base station obtains the packet data convergence protocol reconstruction request, if the transmission mode of the current session is the confirmation mode, and the configuration file meets the preset conditions, and the second sequence number in the second complete data packet obtained from the user terminal is the sequence number that the base station has received in the current bearer, then the context information in the second complete data packet is saved. In this way, it can be ensured that the base station successfully acquires the context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

本公开第四方面实施例提出了一种以太帧包头压缩处理装置,设置于用户终端,包括:The embodiment of the fourth aspect of the present disclosure proposes an Ethernet frame header compression processing device, which is set in a user terminal and includes:

发送模块,用于在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且所述配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;A sending module, configured to send at least one first complete data packet to the base station if the transmission mode of the current bearer is an acknowledgment mode, and the configuration file satisfies preset conditions, and the current bearer includes a preset data packet when the packet data convergence protocol reconstruction instruction is acquired;

其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为所述用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为所述基站在承载中未接收过的任一序号。Wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number, wherein the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, and the first sequence number is any sequence number that has not been received by the base station in the bearer.

本公开实施例的以太帧包头压缩处理装置,通过用户终端在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为基站在承载中未使用过的任一序号。本公开中,用户终端向基站发送至少一个第一完整数据包,由于第一完整数据包中包括基站在承载中未接收过的序号,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。The Ethernet frame header compression processing device in the embodiment of the present disclosure, when the user terminal obtains the packet data convergence protocol reconstruction instruction, if the transmission mode of the current bearer is confirmation mode, and the configuration file satisfies the preset conditions, and the current bearer includes the preset data packet, then at least one first complete data packet is sent to the base station; wherein, each first complete data packet includes: context information, uncompressed packet header information and a first sequence number, wherein the context information is context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, and the first sequence number is the base station carrying Any sequence number not used in . In the present disclosure, the user terminal sends at least one first complete data packet to the base station. Since the first complete data packet includes a sequence number that the base station has not received in the bearer, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

本公开第五方面实施例提出了另一种以太帧包头压缩处理装置,设置于基站,包括:The embodiment of the fifth aspect of the present disclosure proposes another Ethernet frame header compression processing device, which is set at the base station and includes:

保存模块,用于在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且所述配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为所述基站在当前承载中未接收过的序号,则保存所述第一完整数据包中的上下文信息,以根据所述第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;The saving module is configured to save the context information in the first complete data packet, so as to decompress the new compressed packet according to the context information in the first complete data packet, if the transmission mode of the current session is confirmation mode and the configuration file satisfies preset conditions, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that has not been received by the base station in the current bearer when the packet data convergence protocol reconstruction request is obtained;

其中,所述第一完整数据包为所述用户终端在获取到分组数据汇聚协议重建指令后向所述基站发送的。Wherein, the first complete data packet is sent by the user terminal to the base station after obtaining the packet data convergence protocol reconstruction instruction.

本公开实施例的以太帧包头压缩处理装置,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为基站在当前承载中未接收过的序号,则保存第一完整数据包中的上下文信息,以根据第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;其中,第一完整数据包为用户终端在获取到分组数据汇聚协议重建指令后向基站发送的。本公开中,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。The Ethernet frame header compression processing device in the embodiment of the present disclosure, when the base station obtains the reconstruction request of the packet data convergence protocol, if the transmission mode of the current session is the confirmation mode and the configuration file meets the preset conditions, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that the base station has not received in the current bearer, then the context information in the first complete data packet is saved, so as to decompress the new compressed packet according to the context information in the first complete data packet; Sent to the base station after the reconstruction command. In the present disclosure, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

本公开第六方面实施例提出了另一种以太帧包头压缩处理装置,设置于基站,包括:The embodiment of the sixth aspect of the present disclosure proposes another Ethernet frame header compression processing device, which is set at the base station and includes:

保存模块,用于在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且所述配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为所述基站在当前承载中已经接收过的序号,则保存所述第二完整数据包中的上下文信息。The saving module is configured to save the context information in the second complete data packet if the transmission mode of the current session is the confirmation mode, and the configuration file satisfies the preset condition, and the second sequence number in the second complete data packet obtained from the user terminal is a sequence number that the base station has received in the current bearer when the packet data convergence protocol reconstruction request is obtained.

本公开实施例的以太帧包头压缩处理装置,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为基站在当前承载中已经接收过的序号,则保存第二完整数据包中的上下文信息。由此,可以确保基站成功获取上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。The Ethernet frame header compression processing device of the embodiment of the present disclosure, when the base station obtains the packet data convergence protocol reconstruction request, if the transmission mode of the current session is the confirmation mode, and the configuration file meets the preset conditions, and the second sequence number in the second complete data packet obtained from the user terminal is the sequence number that the base station has received in the current bearer, then the context information in the second complete data packet is saved. In this way, it can be ensured that the base station successfully acquires the context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

本公开第七方面实施例提出了一种用户终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本公开第一方面实施例提出的以太帧包头压缩处理方法。The embodiment of the seventh aspect of the present disclosure proposes a user terminal, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it implements the Ethernet frame header compression processing method proposed in the embodiment of the first aspect of the present disclosure.

本公开第八方面实施例提出了一种基站端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本公开第二方面实施例提出的以太帧包头压缩处理方法。The embodiment of the eighth aspect of the present disclosure proposes a base station, including: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, it implements the Ethernet frame header compression processing method proposed in the embodiment of the second aspect of the present disclosure.

本公开第九方面实施例提出了一种基站端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本公开第三方面实施例提出的以太帧包头压缩处理方法。The embodiment of the ninth aspect of the present disclosure proposes a base station, including: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, it implements the Ethernet frame header compression processing method as proposed in the embodiment of the third aspect of the present disclosure.

本公开第十方面实施例提出了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如本公开第一方面实施例提出的以太帧包头压缩处理方法,或者,实现如本公开第二方面实施例提出的以太帧包头压缩处理方法,或者,实现如本公开第三方面实施例提出的以太帧包头压缩处理方法。The embodiment of the tenth aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and is characterized in that, when the program is executed by a processor, the Ethernet frame header compression processing method as proposed in the embodiment of the first aspect of the present disclosure is implemented, or, the Ethernet frame header compression processing method as proposed in the embodiment of the second aspect of the present disclosure is implemented, or, the Ethernet frame header compression processing method as proposed in the embodiment of the third aspect of the present disclosure is implemented.

本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.

附图说明Description of drawings

为了更清楚地说明本公开实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the accompanying drawings used in the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative work.

图1为本公开实施例一所提供的以太帧包头压缩处理方法的流程示意图;FIG. 1 is a schematic flow diagram of an Ethernet frame header compression processing method provided by Embodiment 1 of the present disclosure;

图2为本公开实施例中用户终端和基站的交互流程示意图;FIG. 2 is a schematic diagram of an interaction process between a user terminal and a base station in an embodiment of the present disclosure;

图3为本公开实施例二所提供的以太帧包头压缩处理方法的流程示意图;FIG. 3 is a schematic flow diagram of the Ethernet frame header compression processing method provided by Embodiment 2 of the present disclosure;

图4为本公开实施例三所提供的以太帧包头压缩处理方法的流程示意图;4 is a schematic flow diagram of the Ethernet frame header compression processing method provided by Embodiment 3 of the present disclosure;

图5为本公开实施例四所提供的以太帧包头压缩处理装置的结构示意图;5 is a schematic structural diagram of an Ethernet frame header compression processing device provided in Embodiment 4 of the present disclosure;

图6为本公开实施例五所提供的以太帧包头压缩处理装置的结构示意图;6 is a schematic structural diagram of an Ethernet frame header compression processing device provided in Embodiment 5 of the present disclosure;

图7为本公开实施例六所提供的以太帧包头压缩处理装置的结构示意图;7 is a schematic structural diagram of an Ethernet frame header compression processing device provided in Embodiment 6 of the present disclosure;

图8为本公开实施例七所提供的以太帧包头压缩处理装置的结构示意图。FIG. 8 is a schematic structural diagram of an Ethernet frame header compression processing device provided by Embodiment 7 of the present disclosure.

具体实施方式Detailed ways

下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the drawings, in which the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present disclosure and should not be construed as limiting the present disclosure.

在5G工业互联网(Industrial intenet of Things,简称IIoT)中,需求支持工业自动化(Factory automation),传输自动化(Transport Industry),智能电力(ElectricalPower Distribution)等业务在5G系统的传输。基于其时延和可靠性的传输需求,IIoT引入了时间敏感性网络TSN或TSC的概念,并且需要对TSN业务进行头压缩处理。其中,TSC业务可以由以太帧(Ethernet frame)承载,也可由IP数据包承载。In the 5G Industrial Internet of Things (IIoT for short), it is required to support the transmission of services such as Factory automation, Transport Industry, and Electrical Power Distribution in the 5G system. Based on its delay and reliability transmission requirements, IIoT introduces the concept of time-sensitive network TSN or TSC, and needs to perform header compression processing on TSN services. Wherein, the TSC service may be carried by an Ethernet frame (Ethernet frame), or may be carried by an IP data packet.

其中,以太帧议题的引入是因为现有的通信系统中仅支持对PDU会话为IP的数据包进行头压缩。而在5G新空口(New Radio,简称NR)系统中,PDU会话的类型不仅可以为IP数据包类型,也可以为以太帧类型。例如,对于PDU层来说,当PDU会话类型为互联网协议版本4(Internet Protocol version 4,简称Pv4)或者IPv6或者IPv4v6,该PDU会话对应的为IPv4数据包和/或IPv6数据包;当PDU会话类型为以太网时,该PDU会话对应的为以太帧。Among them, the introduction of the Ethernet frame issue is because the existing communication system only supports header compression for data packets whose PDU session is IP. In a 5G New Radio (NR) system, the type of PDU session can be not only an IP packet type, but also an Ethernet frame type. For example, for the PDU layer, when the PDU session type is Internet Protocol version 4 (Internet Protocol version 4, Pv4 for short) or IPv6 or IPv4v6, the PDU session corresponds to an IPv4 packet and/or IPv6 packet; when the PDU session type is Ethernet, the PDU session corresponds to an Ethernet frame.

目前,PDCP协议中引入了头压缩和解压缩功能,对IP数据包进行头压缩。而当前的健壮性包头压缩(Robust Header Compression,简称RoHC)是针对数据无线承载(DataRadio Bearer,简称DRB)配置的,压缩端和解压缩端根据配置文件使用不同的头压缩和头压缩参数,采用RoHC协议,进行压缩和解压缩处理。其中,在PDCP-config中配置,每个PDCP-config对应一个DRB。Currently, the PDCP protocol introduces header compression and decompression functions to perform header compression on IP data packets. The current Robust Header Compression (RoHC for short) is configured for Data Radio Bearer (DRB for short). The compression end and the decompression end use different header compression and header compression parameters according to the configuration file, and use the RoHC protocol to perform compression and decompression processing. Wherein, it is configured in PDCP-config, and each PDCP-config corresponds to one DRB.

在PDCP重建时,若在配置文件中配置了drb-ContinueROHC这个参数,则代表重建后还将使用之前的RoHC信息进行压缩和解压缩处理。否则,压缩和解压缩的状态就被重置,即解压缩端将没有有效的上下文信息,需要接收新的上下文信息,压缩端需要重置压缩状态,向解压缩端发送包含上下文信息的未压缩的数据包,即完整数据包。During PDCP reconstruction, if the drb-ContinueROHC parameter is configured in the configuration file, it means that the previous RoHC information will be used for compression and decompression after reconstruction. Otherwise, the state of compression and decompression will be reset, that is, the decompression end will have no valid context information and needs to receive new context information, the compression end needs to reset the compression state, and send an uncompressed data packet containing context information to the decompression end, that is, a complete data packet.

在用户终端和基站通信时,当接收到来自高层的PDCP重建请求时,用户终端需要执行PDCP重建过程,执行重建立过程后,再执行正常的PDCP层的数据传输。若drb-ContinueROHC未配置,或为false,在重建过程中,在传输模式为确认模式下,若在重建前有PDCP PDU已经传输到低层,但是还没有收到发送成功的确认或者未成功传输,那么用户终端在传输或重传这些数据包时,需要使用PDCP重建前使用的SN,但是使用新的头压缩上下文信息发送数据包,即删除原来的上下文,头压缩状态和上下文信息重置,使用新的上下文信息发送PDCP PDU。那么,在收到重建请求后,用户终端需要使用重建前的SN,向基站发送包含新的上下文信息的未压缩的数据包。而后,再发送对应后续的SN的对应PDCP PDU。When the user terminal communicates with the base station, when receiving a PDCP re-establishment request from a higher layer, the user terminal needs to perform a PDCP re-establishment process, and then perform normal PDCP layer data transmission after performing the re-establishment process. If drb-ContinueROHC is not configured, or is false, during the reconstruction process, when the transmission mode is confirmation mode, if a PDCP PDU has been transmitted to the lower layer before reconstruction, but has not received the confirmation of successful transmission or failed transmission, then when the user terminal transmits or retransmits these data packets, it needs to use the SN used before PDCP reconstruction, but use the new header compression context information to send data packets, that is, delete the original context, reset the header compression status and context information, and use the new context information to send PDCP PDUs. Then, after receiving the re-establishment request, the user terminal needs to use the SN before re-establishment to send an uncompressed data packet containing new context information to the base station. Then, the corresponding PDCP PDU corresponding to the subsequent SN is sent.

基站在收到来自高层的PDCP重建请求时,需要处理由于重建而从低层收到PDCPPDU以及后续的PDU。对在重建请求前收到的PDCP PDU,基站可以按照原来的上下文信息进行解压缩处理,而对在重建请求后收到的PDCP PDU,处理过程包括:删除SN相同的PDU(即当基站收到一个PDU后,当发现这个PDU对应的SN为之前接收过的SN,基站会直接对这个数据包进行丢弃,而不进一步检查包中的信息),重置新的上下文信息,重置解压缩状态,按照新的上下文信息解压缩,在重建请求后收到的新的PDU。When the base station receives the PDCP re-establishment request from the upper layer, it needs to process the PDCP PDU and subsequent PDU received from the lower layer due to the re-establishment. For the PDCP PDU received before the reconstruction request, the base station can decompress according to the original context information, and for the PDCP PDU received after the reconstruction request, the processing process includes: deleting the PDU with the same SN (that is, when the base station receives a PDU and finds that the SN corresponding to the PDU is the previously received SN, the base station will directly discard the data packet without further checking the information in the packet), reset the new context information, reset the decompression state, decompress according to the new context information, and receive the new PD after the reconstruction request U.

然而,若配置文件中的配置参数drb-ContinueROHC未被赋值或赋值为false,则在传输模式为确认模式时,且在重建前,存在未发送成功的数据包时,则用户终端会重置头压缩上下文信息,相应的,用户终端会向基站发送包含完整包头信息、上下文信息的PDCPPDU。如果发送的数据包采用的是重建之前发送过的PDCP PDU的序列号(SN),那么基站会认为这个SN对应的数据包被接收过,从而导致基站直接删除这个PDCP PDU,而不进一步检查或获取其中的信息,造成不能获取和/或存储有效的(新的)头压缩上下文信息。进而,由于基站没有有效的头压缩上下文信息,则导致后续用户终端发送的压缩包无法被解压缩,造成解压缩失败,进而数据传输失败的问题。However, if the configuration parameter drb-ContinueROHC in the configuration file is not assigned a value or is assigned a value of false, then when the transmission mode is the confirmation mode and there are unsuccessful data packets before reconstruction, the user terminal will reset the header compression context information, and correspondingly, the user terminal will send a PDCP PDU containing complete header information and context information to the base station. If the sent data packet uses the sequence number (SN) of the PDCP PDU sent before reconstruction, the base station will consider that the data packet corresponding to the SN has been received, causing the base station to directly delete the PDCP PDU without further checking or obtaining the information in it, resulting in failure to obtain and/or store valid (new) header compression context information. Furthermore, since the base station does not have effective header compression context information, subsequent compressed packets sent by the user terminal cannot be decompressed, causing decompression failure and further data transmission failure.

因此,本公开主要针对上述基站无法进行解压缩技术问题,提出一种以太帧包头压缩处理方法。Therefore, the present disclosure mainly aims at the technical problem that the above-mentioned base station cannot perform decompression, and proposes a method for compressing the packet header of the Ethernet frame.

本公开实施例的以太帧包头压缩处理方法,通过用户终端在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为基站在承载中未接收过的任一序号。本公开中,用户终端向基站发送至少一个第一完整数据包,由于第一完整数据包中包括基站在承载中未接收过的序号,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。In the Ethernet frame header compression processing method of the embodiment of the present disclosure, when the user terminal obtains the packet data convergence protocol reconstruction instruction, if the transmission mode of the current bearer is the confirmation mode, and the configuration file satisfies the preset conditions, and the current bearer includes the preset data packet, at least one first complete data packet is sent to the base station; wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number. Any serial number not received in . In the present disclosure, the user terminal sends at least one first complete data packet to the base station. Since the first complete data packet includes a sequence number that the base station has not received in the bearer, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

下面参考附图描述本公开实施例的以太帧包头压缩处理方法、装置、用户终端、基站和介质。在具体描述本公开实施例之前,为了便于理解,首先对本公开常用技术词进行介绍:The following describes the Ethernet frame header compression processing method, device, user terminal, base station and medium according to the embodiments of the present disclosure with reference to the accompanying drawings. Before specifically describing the embodiments of the present disclosure, for ease of understanding, firstly, the commonly used technical terms of the present disclosure are introduced:

头压缩(header compression),是指对数据包包头进行压缩,用于提高用户数据的传输效率。目前,在长期演进(Long Term Evolution,简称LTE)和NR中,在PDCP层,采用RoHC对数据包头进行头压缩。Header compression refers to compressing the header of a data packet to improve the transmission efficiency of user data. Currently, in Long Term Evolution (LTE for short) and NR, at the PDCP layer, RoHC is used to perform header compression on the data packet header.

完整数据包(full packet),为一种以太网数据包(Ethernet packet),该包中包含完整的Ethernet hearer包头信息和上下文信息等,例如包括context ID、指示信息(用于指示该数据包为压缩包还是完整数据包),以及其他可能但尚未确定的上行文信息,如profile ID等。其中,上下文信息,用于包头压缩和/或解压缩。具体的,当压缩端和解压缩端建立其上下文关系,或者解压缩端收到并保存有效的上下文信息(具体的,有效的上下文信息包括:上下文标识或指示,完整包头信息。进一步的,可以推断或保存该上下文标识或指示与该完整包头信息的对应关系)后,两者之间可以交互压缩包。A full packet is an Ethernet packet, which includes complete Ethernet hearer header information and context information, such as context ID, indication information (used to indicate whether the data packet is a compressed packet or a complete data packet), and other possible but undetermined upper context information, such as profile ID. Among them, the context information is used for packet header compression and/or decompression. Specifically, when the compression end and the decompression end establish their context relationship, or the decompression end receives and saves valid context information (specifically, the effective context information includes: context identifier or indication, complete packet header information. Further, after the corresponding relationship between the context identifier or indication and the complete packet header information can be inferred or saved), the compressed packets can be exchanged between the two.

压缩包(compressed packet),为一种Ethernet packet包,该包中包含被压缩的Ethernet hearer包头信息(不包含包头信息,或仅包含部分包头信息),和上下文信息等。A compressed packet is an Ethernet packet, which includes compressed Ethernet hearer header information (not including header information, or only including part of header information), context information, and the like.

图1为本公开实施例一所提供的以太帧包头压缩处理方法的流程示意图。FIG. 1 is a schematic flow chart of the Ethernet frame header compression processing method provided by Embodiment 1 of the present disclosure.

本公开实施例的以太帧包头压缩处理方法可以应用于用户终端,该用户终端具体可以为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为基站。The Ethernet frame header compression processing method in the embodiment of the present disclosure may be applied to a user terminal, and the user terminal may specifically be a compression end, that is, a PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a base station.

当然,在另一种实现方式中,以太帧包头压缩处理方法可以应用于基站侧,即基站为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为用户终端。Of course, in another implementation manner, the Ethernet frame header compression processing method can be applied to the base station side, that is, the base station is the compression end, that is, the PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a user terminal.

以下主要以以太帧包头压缩处理方法应用于的压缩端为用户终端说明。压缩端为基站的方法与之类似。The following description mainly takes the compression end to which the Ethernet frame header compression processing method is applied as the user terminal. The method in which the compression end is the base station is similar.

如图1所示,该以太帧包头压缩处理方法可以包括以下步骤:As shown in Figure 1, the Ethernet frame header compression processing method may include the following steps:

步骤101,在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包。Step 101: When the packet data convergence protocol reconstruction instruction is obtained, if the transmission mode of the current bearer is the confirmation mode, the configuration file meets the preset conditions, and the current bearer includes preset data packets, then at least one first complete data packet is sent to the base station.

其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为基站在承载中未接收过的任一序号。Wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number, wherein the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, and the first sequence number is any sequence number that the base station has not received in the bearer.

本公开实施例中,传输模式可以包括透明模式(TM)、非确认模式(UM)和确认模式(AM)。In the embodiment of the present disclosure, the transmission mode may include a transparent mode (TM), an unacknowledged mode (UM) and an acknowledged mode (AM).

本公开实施例中,配置文件满足预设条件可以包括:配置文件中预设的配置参数未赋值,或者,配置文件中预设的配置参数赋值为假。比如,预设的配置参数可以为drb-ContinueROHC,当drb-ContinueROHC未被赋值,或者,drb-ContinueROHC赋值为false时,确定配置参数满足预设条件。In the embodiment of the present disclosure, the configuration file meeting the preset condition may include: no value is assigned to the preset configuration parameter in the configuration file, or the value assigned to the preset configuration parameter in the configuration file is false. For example, the preset configuration parameter may be drb-ContinueROHC, and when drb-ContinueROHC is not assigned a value, or when drb-ContinueROHC is assigned a value of false, it is determined that the configuration parameter meets the preset condition.

本公开实施例中,预设数据包可以为用户终端在获取重建指令前发送失败的数据包,或者,预设数据包可以为用户终端在获取重建指令时未获取到发送成功确认或未确认发送状态的数据包,或者,预设数据包还可以为用户终端在获取重建指令时丢失的数据包,或者,预设数据包还可以为用户终端在获取重建指令之前丢失的数据包,本公开对此并不作限制。例如,可以根据PDCP状态报告,确认预设数据包,其中,预设数据包可以包括以下至少之一:已被发送成功的PDU、未被成功发送的PDU、丢失(missing)的PDU、发送状态不确定的PDU。In the embodiment of the present disclosure, the preset data packet may be a data packet that the user terminal failed to send before obtaining the reconstruction instruction, or the predetermined data packet may be a data packet that the user terminal has not obtained a transmission success confirmation or an unconfirmed sending status when obtaining the reconstruction instruction, or the preset data packet may also be a data packet lost when the user terminal obtains the reconstruction instruction, or the preset data packet may also be a data packet that the user terminal lost before obtaining the reconstruction instruction, which is not limited in this disclosure. For example, the preset data packet may be confirmed according to the PDCP status report, wherein the preset data packet may include at least one of the following: PDUs that have been successfully sent, PDUs that have not been successfully sent, missing (missing) PDUs, and PDUs with uncertain sending status.

本公开实施例中,每个第一完整数据包中包括一个第一序号,不同的第一完整数据包中的第一序号可以不同。其中,第一序号可以为序列号(SN),或者,第一序号也可以为计数(COUNT)。其中,COUNT占用32bit,由超帧号(Hyper Frame Number,简称HFN)和PDCP SN组成,SN为COUNT的低位。In the embodiment of the present disclosure, each first complete data packet includes a first sequence number, and the first sequence numbers in different first complete data packets may be different. Wherein, the first sequence number may be a sequence number (SN), or the first sequence number may also be a count (COUNT). Among them, COUNT occupies 32 bits, and is composed of Hyper Frame Number (HFN for short) and PDCP SN, and SN is the low bit of COUNT.

本公开实施例中,第一完整数据包中的第一序号是基站在当前承载中未接收过的任一序号,其中,基站在当前承载中未接收过的序号,即第一序号可以是用户终端未使用过的序号,或者,也可以是用户终端使用过的序号,但是该序号为丢失的数据包(missing的PDU)中的序号,对此并不限制。In the embodiment of the present disclosure, the first sequence number in the first complete data packet is any sequence number that the base station has not received in the current bearer, where the sequence number that the base station has not received in the current bearer, that is, the first sequence number may be a sequence number that has not been used by the user terminal, or may be a sequence number that has been used by the user terminal, but the sequence number is a sequence number in a lost data packet (missing PDU), which is not limited.

作为一种可能的实现方式,当序号为依次生成的时,第一序号可以为未使用过的序号中的第一个,也可以是未使用过的序号中的第M个。例如,第一序号可为在PDCP重建之前,用户终端发送数据包时未使用过或者未发送过的SN,或者,第一序号可以为在PDCP状态报告中携带的最后一个SN的下一个SN或后第M个SN,比如,PDCP状态报告中携带的最后一个SN为10,则第一序号可以为11、12、13等等,或者,第一序号还可以为未被基站确认过接收状态的SN的下一个SN或后第M个SN,本公开对此并不做限制。As a possible implementation manner, when the serial numbers are generated sequentially, the first serial number may be the first of the unused serial numbers, or may be the Mth of the unused serial numbers. For example, the first sequence number may be an SN that has not been used or sent by the user terminal before PDCP re-establishment, or the first sequence number may be the next SN or the Mth SN after the last SN carried in the PDCP status report. For example, if the last SN carried in the PDCP status report is 10, the first sequence number may be 11, 12, 13, etc., or the first sequence number may also be the next SN or the Mth SN after the SN whose reception status has not been confirmed by the base station. limit.

作为另一种可能的实现方式,当序号为随机生成的时,即用户终端每次发送的序号并非为连续的,此时,可以记录用户终端已使用过的序号,从而可以根据已使用过的序号,确定未被使用过的序号。比如,用户终端已使用过的序号为1和10,则第一序号可以为3、5、15、17等等。As another possible implementation, when the serial numbers are randomly generated, that is, the serial numbers sent by the user terminal each time are not continuous, at this time, the serial numbers that have been used by the user terminal can be recorded, so that the unused serial numbers can be determined according to the used serial numbers. For example, if the serial numbers used by the user terminal are 1 and 10, the first serial numbers may be 3, 5, 15, 17 and so on.

本公开实施例中,用户终端在接收到PDCP重建指令时,或者,高层指示PDCP重建时,可以判断是否同时满足上述当前承载的传输模式为确认模式、配置文件满足预设条件、当前承载中包括预设数据包这三个条件,若同时满足,则用户终端可以向基站发送至少一个第一完整数据包,其中,每个第一完整数据包中包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,比如用户终端可以更新已有的上下文信息,或者重置现有的上下文信息,上下文信息至少包括上下文标识;第一序号为基站在承载会话中未使用过的任一序号。In the embodiment of the present disclosure, when the user terminal receives the PDCP re-establishment instruction, or when the higher layer instructs the PDCP re-establishment, it can judge whether the transmission mode of the current bearer is confirmed mode, the configuration file satisfies the preset condition, and the current bearer includes the preset data packet. If these three conditions are met at the same time, the user terminal can send at least one first complete data packet to the base station, wherein each first complete data packet includes: context information, uncompressed header information and the first sequence number. The context information is reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction Context information, for example, the user terminal can update the existing context information, or reset the existing context information. The context information includes at least a context identifier; the first sequence number is any sequence number that has not been used by the base station in the bearer session.

需要说明的是,在用户终端重置上下文信息之前,用户终端向基站发送过完整数据包和压缩包,完整数据包和压缩包中的上下文形式、内容等信息可能是不同的,在用户终端接收到重建指令后,是根据原来的完整数据包中的上下文进行重置或者更新,得到重置的上下文信息。It should be noted that before the user terminal resets the context information, the user terminal has sent a complete data packet and a compressed packet to the base station, and the context form and content in the complete data packet and the compressed packet may be different. After the user terminal receives the reconstruction instruction, it resets or updates according to the context in the original complete data packet, and obtains the reset context information.

应当理解的是,在现有的通信协议不变的情况下,在接收到PDCP重建指令后,若用户终端向基站发送的完整数据包中包括的序号为基站在当前承载中接收过的序号,例如,该序号为PDCP状态报告中携带的最后一个SN,此时,基站在接收到该完整数据包后,判断该完整数据包中的序号已接收过,将采用现有协议,对该完整数据包进行丢弃处理。因此,本公开中,为了避免基站直接丢弃完整数据包,而不进一步检查或获取其中的信息,造成不能获取和/或存储有效的上下文信息的情况,用户终端向基站发送的完整数据包中的序号可以为基站在当前承载中未接收过的序号,由此,可以确保基站成功获取重置后的上下文信息,从而可以使得基站可以利用重置后的上下文信息,对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。It should be understood that, under the condition that the existing communication protocol remains unchanged, after receiving the PDCP re-establishment instruction, if the sequence number included in the complete data packet sent by the user terminal to the base station is the sequence number received by the base station in the current bearer, for example, the sequence number is the last SN carried in the PDCP status report. At this time, after receiving the complete data packet, the base station judges that the sequence number in the complete data packet has been received, and discards the complete data packet using the existing protocol. Therefore, in this disclosure, in order to prevent the base station from directly discarding the complete data packet without further checking or obtaining the information therein, resulting in failure to obtain and/or store valid context information, the sequence number in the complete data packet sent by the user terminal to the base station may be a sequence number that the base station has not received in the current bearer, thereby ensuring that the base station successfully obtains the reset context information, so that the base station can use the reset context information to perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

本公开实施例中,在存在未被成功发送的预设数据包,且该预设数据包并非为丢失的数据包(如确认接收失败或未确认(NACK)的包)时,用户终端还可以按照现有的方式,向基站发送第三完整数据包,其中,第三完整数据包中包括未被压缩的包头信息及预设数据包中的第三序号。In the embodiment of the present disclosure, when there is a preset data packet that has not been successfully sent, and the preset data packet is not a lost data packet (such as a packet that fails to be received or is not acknowledged (NACK), the user terminal may also send a third complete data packet to the base station in an existing manner, wherein the third complete data packet includes uncompressed header information and a third sequence number in the preset data packet.

本公开实施例中,在现有的通信协议不变的情况下,由于第三完整数据包中具有预设数据包的第三序号,即重建前使用的序号,若用户终端仅发送该第三完整数据包,则基站接收到该第三完整数据包后,根据第三完整数据包中的第三序号,可以确定该第三序号对应的数据包被接收过,则基站可能会直接删除该第三完整数据包,造成不能获取和/或存储有效的(或新的)上下文信息。因此,为了避免上述问题,用户终端还可以向基站发送至少一个第一完整数据包,其中,第一完整数据包中包含基站在承载中未接收过的任一序号,即第一序号,从而基站在接收到第一完整数据包后,根据第一序号,可以确定对应的数据包未被接收过,此时,基站可以对接收到的完整数据包进行解析,获取并存储用户终端在获取到PDCP重建指令后重置的上下文信息,从而后续可以根据该重置的上下文信息,对用户终端发送的压缩包进行解压缩处理,保证数据的正常传输。In the embodiment of the present disclosure, when the existing communication protocol remains unchanged, since the third complete data packet has a preset third sequence number of the data packet, that is, the sequence number used before reconstruction, if the user terminal only sends the third complete data packet, after receiving the third complete data packet, the base station can determine that the data packet corresponding to the third sequence number has been received according to the third sequence number in the third complete data packet, and the base station may directly delete the third complete data packet, resulting in failure to obtain and/or store valid (or new) context information. Therefore, in order to avoid the above problems, the user terminal may also send at least one first complete data packet to the base station, wherein the first complete data packet includes any sequence number that the base station has not received in the bearer, that is, the first sequence number, so that after receiving the first complete data packet, the base station can determine that the corresponding data packet has not been received according to the first sequence number. Perform decompression processing to ensure normal data transmission.

作为一种示例,以序号为SN,且SN为依次生成的示例,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中包含的最后一个SN为SN=20,且SN为15,17,18,20的PDCPPDU未成功传输(例如可根据PDCP状态报告确定),并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为15,17,18,19,20的PDCPPDU(SN号还是原来的15,17,18,20)。当用户终端使用SN=21(第一序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后可以发送压缩包。As an example, the sequence number is SN, and SN is an example of sequential generation. When the transmission mode of the current bearer is confirmation mode, the user terminal determines that the last SN contained in the PDCP PDU sent to the base station is SN=20, and the PDCP PDUs with SNs of 15, 17, 18, and 20 have not been successfully transmitted (for example, it can be determined according to the PDCP status report), and drb-ContinueROHC is not configured. Then the user terminal resets the header compression context information (new or valid context information), reset the header compression state, and use the new context information to resend PDCP PDUs with SNs of 15, 17, 18, 19, and 20 (the SN numbers are still the original 15, 17, 18, and 20). After the user terminal uses SN=21 (first sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal can send compressed packets thereafter.

需要说明的是,当预设数据包为丢失的数据包时,该丢失的数据包对应的序号是基站未接收过的,但是为用户终端使用过或发送过的序号,此时,用户终端向基站发送的第一完整数据包中的第一序号,具体可以为预设数据包中的第三序号。It should be noted that when the preset data packet is a lost data packet, the sequence number corresponding to the lost data packet has not been received by the base station, but is a sequence number used or sent by the user terminal. At this time, the first sequence number in the first complete data packet sent by the user terminal to the base station may specifically be the third sequence number in the preset data packet.

作为另一种示例,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中SN为19的PDU missing,并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为19的PDCP PDU。当用户终端使用SN=19(第三序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后可以发送压缩包。As another example, when the transmission mode of the current bearer is the confirmation mode, when the user terminal receives the PDCP re-establishment instruction, it determines that the PDU with the SN of 19 among the PDCP PDUs already sent to the base station is missing, and drb-ContinueROHC is not configured, then the user terminal resets the header compression context information (new or valid context information), resets the header compression state, and uses the new context information to resend the PDCP PDU with the SN of 19. After the user terminal uses SN=19 (the third sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal can send compressed packets thereafter.

作为又一种示例,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中包含的最后一个SN为SN=20,且SN为15,17,18,20的PDCP PDU未成功传输,SN为19的PDU missing,并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为15,17,18,19,20的PDCP PDU(SN号还是原来的15,17,18,20)。当用户终端使用SN=19(第三序号)和/或SN=21(第一序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后发送压缩包。As yet another example, when the transmission mode of the current bearer is confirmation mode, when the user terminal receives the PDCP re-establishment instruction, it determines that the last SN contained in the PDCP PDU sent to the base station is SN=20, and the PDCP PDU with the SN of 15, 17, 18, and 20 is not successfully transmitted, and the PDU with the SN is 19 is missing, and drb-ContinueROHC is not configured, then the user terminal resets the header compression context information (new or valid context information), resets the header compression state, and uses the new The context information resends PDCP PDUs with SNs of 15, 17, 18, 19, and 20 (the SN numbers are still the original 15, 17, 18, and 20). After the user terminal uses SN=19 (third sequence number) and/or SN=21 (first sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal then sends a compressed packet.

也就是说,当预设数据包为丢失的数据包时,用户终端可以仅向基站发送第一完整数据包,该第一完整数据包包括的第一序号具体可以指预设数据包中的第三序号。当预设数据包为非丢失的数据包时,用户终端可以向基站发送第一完整数据包和第三完整数据包,第三完整数据包中包括未被压缩的包头信息及预设数据包中的第三序号。That is to say, when the preset data packet is a lost data packet, the user terminal may only send the first complete data packet to the base station, and the first sequence number included in the first complete data packet may specifically refer to the third sequence number in the preset data packet. When the preset data packet is a non-lost data packet, the user terminal may send the first complete data packet and the third complete data packet to the base station, and the third complete data packet includes uncompressed header information and the third sequence number in the preset data packet.

进一步地,为了确保基站获取到对应的上下文信息,第一完整数据包的个数可以为多个,每个第一完整数据包中包括的第一序号可以不同。比如,可以使用某一个未被用户终端使用的SN和该SN后续的K个SN,将每个SN作为一个第一序号,从而用户终端可以向基站发送K+1个第一完整数据包,以使基站能够成功接收到重置后的上下文信息。即,用户终端向基站发送的第一完整数据包可能为多个,各第一完整数据包对应的第一序号是不同的,当用户终端向基站每发送一个第一完整数据包后,基站根据第一完整数据包,可以确定第一完整数据包中的第一序号为未当前承载中未接收过的序号,因此,将会保存第一完整数据包中的有效的上下文信息,以使基站能够成功接收到重置后的上下文信息。Further, in order to ensure that the base station obtains the corresponding context information, there may be multiple first complete data packets, and the first sequence numbers included in each first complete data packet may be different. For example, a certain SN that is not used by the user terminal and K SNs following the SN can be used, and each SN can be used as a first sequence number, so that the user terminal can send K+1 first complete data packets to the base station, so that the base station can successfully receive the reset context information. That is, there may be multiple first complete data packets sent by the user terminal to the base station, and the first sequence numbers corresponding to each first complete data packet are different. When the user terminal sends each first complete data packet to the base station, the base station can determine according to the first complete data packet that the first sequence number in the first complete data packet is a sequence number that has not been received in the current bearer. Therefore, valid context information in the first complete data packet will be saved, so that the base station can successfully receive the reset context information.

需要说明的是,第三完整数据包的数量与预设数据包的数量相同,也就是说,在重建之前,发送失败了几个数据包,在接收到PDCP重建指令之后,发送失败的数据包均可以重新发送一遍,以保证数据传输的可靠性和有效性。并且,第三完整数据包中可以包括重置后的上下文信息,也可以不包括重置后的上下文信息。应当理解的是,如果不修改基站的协议,基站收到包含重复序号的数据包后,会直接将该数据包进行丢弃,因此即使第三完整数据包中包含了重置后的上下文信息后,也可能被丢弃,因此,本公开中,为了减小数据包的bit数,第三完整数据包中可以不包括重置后的上下文信息。It should be noted that the number of the third complete data packets is the same as the number of preset data packets, that is, before reconstruction, several data packets failed to be sent, and after receiving the PDCP reconstruction instruction, the failed data packets can be resent to ensure the reliability and effectiveness of data transmission. Moreover, the reset context information may or may not be included in the third complete data packet. It should be understood that if the protocol of the base station is not modified, the base station will directly discard the data packet after receiving the data packet containing the repeated sequence number, so even if the third complete data packet contains the reset context information, it may be discarded. Therefore, in this disclosure, in order to reduce the number of bits of the data packet, the third complete data packet may not include the reset context information.

需要说明的是,第三完整数据包中可以包括重置后的上下文信息,也可以不包括重置后的上下文信息。应当理解的是,如果不修改基站的协议,若基站收到包含第三序号的数据包后,确定该数据包对应的SN没有收到过(如对应的SN的PDU为丢失的数据包),那么基站将保存该PDU,保存该上下文信息。此时,基站可以获取并存储用户终端在获取到PDCP重建指令后重置的上下文信息,从而后续可以根据该上下文信息,对用户终端发送的压缩包进行解压缩处理,保证数据的正常传输。进一步地,为了确保基站获取到对应的上下文信息,用户终端还可以发送第一完整数据包。第一完整数据包的个数为非负整数。It should be noted that the reset context information may or may not be included in the third complete data packet. It should be understood that if the protocol of the base station is not modified, if the base station receives the data packet containing the third sequence number and determines that the SN corresponding to the data packet has not received it (such as the PDU of the corresponding SN is a lost data packet), then the base station will save the PDU and save the context information. At this time, the base station can obtain and store the context information reset by the user terminal after obtaining the PDCP re-establishment command, so that the compressed packet sent by the user terminal can be decompressed later according to the context information to ensure normal data transmission. Further, in order to ensure that the base station acquires the corresponding context information, the user terminal may also send the first complete data packet. The number of the first complete data packet is a non-negative integer.

此外,基站可以在保存到更新的上下文信息后,向用户终端发送反馈包。用户终端收到反馈包后,可以开始发送压缩包。In addition, the base station may send a feedback packet to the user terminal after saving the updated context information. After receiving the feedback packet, the user terminal can start to send the compressed packet.

本公开实施例的以太帧包头压缩处理方法,通过用户终端在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为基站在承载中未接收过的任一序号。本公开中,用户终端向基站发送至少一个第一完整数据包,由于第一完整数据包中包括基站在承载中未接收过的序号,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。In the Ethernet frame header compression processing method of the embodiment of the present disclosure, when the user terminal obtains the packet data convergence protocol reconstruction instruction, if the transmission mode of the current bearer is the confirmation mode, and the configuration file satisfies the preset conditions, and the current bearer includes the preset data packet, at least one first complete data packet is sent to the base station; wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number. Any serial number not received in . In the present disclosure, the user terminal sends at least one first complete data packet to the base station. Since the first complete data packet includes a sequence number that the base station has not received in the bearer, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

作为一种可能的实现方式,在基站的协议不修改的情况下,基站在接收到第三完整数据包,和/或,至少一个第一完整数据包时,基站可以判断接收到的完整数据包中是否存在当前承载中已经接收过的序号,若否,则可以对完整数据包中重置后的上下文信息进行存储。进一步的,基站向用户终端发送反馈包,该反馈包可以为基站在确定收到包含上下文信息的完整数据包后发送的;或者,反馈包可以为基站在保存上下文信息后发送的。相应的,用户终端在接收到基站发送的反馈包后,可以向基站发送压缩包,其中,压缩包中包括:上下文信息,上下文信息为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,从而基站可以基于重置后的上下文信息,对压缩包进行解压缩处理,保证数据的正常传输。As a possible implementation, when the protocol of the base station is not modified, when the base station receives the third complete data packet, and/or, at least one first complete data packet, the base station can determine whether there is a sequence number that has already been received in the current bearer in the received complete data packet, and if not, can store the reset context information in the complete data packet. Further, the base station sends a feedback packet to the user terminal, and the feedback packet may be sent by the base station after determining to receive a complete data packet including the context information; or, the feedback packet may be sent by the base station after saving the context information. Correspondingly, after receiving the feedback packet sent by the base station, the user terminal can send a compressed packet to the base station, wherein the compressed packet includes: context information, which is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, so that the base station can decompress the compressed packet based on the reset context information to ensure normal data transmission.

作为一种可能的实现方式,在基站的协议修改的情况下,基站在接收到第三完整数据包和/或至少一个第一完整数据包时,基站可以判断接收到的完整数据包中是否存在当前承载中已经接收过的序号,若是,则可以对完整数据包中重置后的上下文信息进行存储。进一步的,基站向用户终端发送反馈包,该反馈包可以为基站在确定收到包含上下文信息的完整数据包后发送的;或者,反馈包可以为基站在保存上下文信息后发送的。相应的,用户终端在接收到基站发送的反馈包后,可以向基站发送压缩包,其中,压缩包中包括:上下文信息,上下文信息为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,从而基站可以基于重置后的上下文信息,对压缩包进行解压缩处理,保证数据的正常传输。As a possible implementation, when the protocol of the base station is modified, when the base station receives the third complete data packet and/or at least one first complete data packet, the base station can determine whether there is a sequence number already received in the current bearer in the received complete data packet, and if so, can store the reset context information in the complete data packet. Further, the base station sends a feedback packet to the user terminal, and the feedback packet may be sent by the base station after determining to receive a complete data packet including the context information; or, the feedback packet may be sent by the base station after saving the context information. Correspondingly, after receiving the feedback packet sent by the base station, the user terminal can send a compressed packet to the base station, wherein the compressed packet includes: context information, which is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, so that the base station can decompress the compressed packet based on the reset context information to ensure normal data transmission.

作为一种可能的实现方式,用户终端在接收到PDCP重建指令后的预设时间段后,可默认基站已收到包含上下文信息的完整数据包,或者,默认基站已保存重置后的上下文信息,此时,用户终端可以向基站发送压缩包,其中,压缩包中包括:上下文信息,上下文信息为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息。As a possible implementation, after a preset period of time after receiving the PDCP rebuilding instruction, the user terminal may assume that the base station has received a complete data packet containing context information, or that the base station has saved the reset context information. At this time, the user terminal may send a compressed packet to the base station, wherein the compressed packet includes: context information, and the context information is context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction.

具体地,在第一预设的时间间隔后,用户终端可以向基站发送压缩包。举例而言,假设第一预设的时间间隔为2秒,则用户终端在10:00:00接收到PDCP重建指令,可认为在10:00:02时完成PDCP重建过程,此时,用户终端可以向基站发送压缩包。Specifically, after the first preset time interval, the user terminal may send the compressed packet to the base station. For example, assuming that the first preset time interval is 2 seconds, the user terminal receives the PDCP re-establishment command at 10:00:00, and it can be considered that the PDCP re-establishment process is completed at 10:00:02. At this time, the user terminal can send compressed packets to the base station.

作为一种可能的实现方式,用户终端在完成PDCP重建过程后,可以向上层或者高层发送PDCP重建完成消息,在发送PDCP重建完成消息第二预设的时间间隔后,可以向基站发送压缩包,其中,压缩包中包括上下文信息,上下文信息为用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息。As a possible implementation, after the user terminal completes the PDCP re-establishment process, it can send a PDCP re-establishment complete message to the upper layer or higher layers, and after sending the PDCP re-establishment complete message at a second preset time interval, it can send a compressed packet to the base station, wherein the compressed packet includes context information, and the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol re-establishment instruction.

作为一种示例,以上行数据包的处理流程进行示例(压缩端为用户终端,解压缩端为基站),下行数据包的处理(压缩端为基站,解压缩端为用户终端)与之类似,此处不做赘述。As an example, the processing flow of the uplink data packet is used as an example (the compression end is the user terminal, and the decompression end is the base station), and the processing of the downlink data packet (the compression end is the base station, and the decompression end is the user terminal) is similar, and will not be repeated here.

1、可以在网络侧对第一DRB配置Ethernet头压缩参数,其中drb-ContinueROHC未配置或其值为false,具体的,通过专用RRC,如PDCP-config IE将该消息指示给用户终端。1. The first DRB can be configured with Ethernet header compression parameters on the network side, wherein drb-ContinueROHC is not configured or its value is false. Specifically, the message is indicated to the user terminal through a dedicated RRC, such as PDCP-config IE.

2、用户终端在后续发送时,按照配置信息进行头压缩处理。具体的,用户终端发送包含完整包头信息和上下文信息的完整数据包,在收到反馈包或者发送N个包含完整数据包后,向基站发送压缩包。2. The user terminal performs header compression processing according to the configuration information during subsequent sending. Specifically, the user terminal sends a complete data packet including complete packet header information and context information, and sends a compressed packet to the base station after receiving a feedback packet or sending N packets containing complete data.

3、基站接收来自用户终端的PDCPPDU,包括完整数据包和压缩包。3. The base station receives the PDCP PDU from the user terminal, including complete data packets and compressed packets.

4、当用户终端(UE)收到来自高层(如RRC层)的PDCP重建指令时,或高层指示PDCP重建时(例如UE RRC收到来自基站的重建指令时,UE RRC要求UE PDCP层进行PDCP重建时),若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,用户终端发送完整数据包。4. When the user terminal (UE) receives a PDCP re-establishment instruction from a higher layer (such as the RRC layer), or when a higher layer indicates PDCP re-establishment (for example, when the UE RRC receives a re-establishment instruction from the base station, the UE RRC requires the UE PDCP layer to perform PDCP re-establishment), if the transmission mode of the current bearer is the confirmation mode, and the configuration file meets the preset conditions, and the current bearer includes the preset data packet, the user terminal sends a complete data packet.

例如,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中包含的最后一个SN为SN=20,且SN为15,17,18,20的PDCPPDU未成功传输(例如可根据PDCP状态报告确定),并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为15,17,18,20(第三序号)的PDCPPDU(SN号还是原来的15,17,18,20)。当用户终端使用SN=21(第一序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后发送压缩包。For example, when the transmission mode of the current bearer is confirmation mode, when the user terminal receives the PDCP re-establishment instruction, it determines that the last SN contained in the PDCP PDU that has been sent to the base station is SN=20, and the PDCP PDUs with SNs of 15, 17, 18, and 20 have not been successfully transmitted (for example, it can be determined according to the PDCP status report), and drb-ContinueROHC is not configured, then the user terminal resets the header compression context information (new or valid context information), resets the header compression status, and uses the new context information to resend Use PDCP PDUs with SNs of 15, 17, 18, and 20 (the third sequence number) (the SN numbers are still the original 15, 17, 18, and 20). After the user terminal uses SN=21 (first sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal then sends a compressed packet.

又例如,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中包含的最后一个SN为SN=20,并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效上下文信息),重置头压缩状态,并使用新的上下文信息重新发送未确认状态的PDU。当用户终端使用SN=21发送包含新的上下文信息和完整包头新的完整数据包后,并收到基站的反馈包后,用户终端发送压缩包。For another example, when the transmission mode of the current bearer is the confirmed mode, the user terminal determines that the last SN contained in the PDCP PDU sent to the base station is SN=20 when receiving the PDCP re-establishment instruction, and drb-ContinueROHC is not configured, then the user terminal resets the header compression context information (new or valid context information), resets the header compression state, and uses the new context information to resend the PDU in the unacknowledged state. After the user terminal uses SN=21 to send a new complete data packet containing new context information and a complete packet header, and receives a feedback packet from the base station, the user terminal sends a compressed packet.

又例如,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCPPDU中包含的最后一个SN为SN=20,且SN为15,17,18,20的PDCPPDU未成功传输(例如可根据PDCP状态报告确定),SN为19的PDU missing,并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为15,17,18,19,20(第三序号)的PDCPPDU(SN号还是原来的15,17,18,20)。当用户终端使用SN=19(第三序号)和/或SN=21(第一序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后发送压缩包。For another example, when the transmission mode of the current bearer is confirmation mode, when the user terminal receives the PDCP re-establishment instruction, it determines that the last SN contained in the PDCP PDU sent to the base station is SN=20, and PDCP PDUs with SNs of 15, 17, 18, and 20 have not been successfully transmitted (for example, it can be determined according to the PDCP status report), and the PDU with SN is 19 is missing, and drb-ContinueROHC is not configured, then the user terminal resets the header compression context information (new or valid context information), resets Header compression state, and use the new context information to resend PDCP PDUs with SNs of 15, 17, 18, 19, 20 (the third sequence number) (the SN numbers are still the original 15, 17, 18, 20). After the user terminal uses SN=19 (third sequence number) and/or SN=21 (first sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal then sends a compressed packet.

5、在PDCP重建请求接收后,基站接收用户终端发送的完整数据包,获取新的上下文信息,并保存,从而后续可以利用新的上下文信息,对压缩包进行解压缩处理。5. After receiving the PDCP reconstruction request, the base station receives the complete data packet sent by the user terminal, acquires new context information, and saves it, so that the compressed packet can be decompressed later by using the new context information.

也就是说,参见图2,当用户终端接收到来自高层的PDCP重建指令后,若同时满足当前承载的传输模式为确认模式、配置文件满足预设条件、当前承载中包括预设数据包这三个条件,则用户终端可以向基站发送未压缩的PDCP PDU,其中,未压缩的PDCP PDU为完整数据包,包括第三完整数据包和/或至少一个第一完整数据包,具体地,当预设数据包为丢失的数据包时,发送第一完整数据包,该第一完整数据包中的第一序号为丢失的数据包对应的序号,而当预设数据包为非丢失的数据包时,发送第一完整数据包和第三完整数据包。而若当前承载的传输模式为确认模式、配置文件满足预设条件、当前承载中包括预设数据包这三个条件中的其中一个不满足时,用户终端向基站发送压缩包。That is to say, referring to FIG. 2, when the user terminal receives the PDCP reconstruction instruction from the upper layer, if the transmission mode of the current bearer is confirmed mode, the configuration file satisfies the preset conditions, and the current bearer includes the preset data packets. The first sequence number is the sequence number corresponding to the lost data packet, and when the preset data packet is a non-lost data packet, the first complete data packet and the third complete data packet are sent. And if the transmission mode of the current bearer is the confirmation mode, the configuration file meets the preset conditions, and one of the three conditions is not satisfied, the user terminal sends the compressed packet to the base station.

或者,基站也可以在保存到更新的上下文信息后,向用户终端发送反馈包。对应的,在用户终端收到反馈包后,用户终端才可以向基站开始发送压缩包。Alternatively, the base station may also send a feedback packet to the user terminal after saving the updated context information. Correspondingly, after the user terminal receives the feedback packet, the user terminal can start to send the compressed packet to the base station.

为了实现上述实施例,本公开还提出一种以太帧包头压缩处理方法。In order to realize the above-mentioned embodiments, the present disclosure also proposes a method for compressing and processing Ethernet frame headers.

图3为本公开实施例二所提供的以太帧包头压缩处理方法的流程示意图。FIG. 3 is a schematic flowchart of a method for compressing and processing Ethernet frame headers provided by Embodiment 2 of the present disclosure.

如图3所示,该以太帧包头压缩处理方法可以包括以下步骤:As shown in Figure 3, the Ethernet frame header compression processing method may include the following steps:

本公开实施例的以太帧包头压缩处理方法,可以应用于基站,该基站具体可以为解压缩端,即PDCP接收实体。相应的,发送端(压缩端,PDCP发送实体)为用户终端。The Ethernet frame header compression processing method in the embodiment of the present disclosure can be applied to a base station, and the base station can specifically be a decompression end, that is, a PDCP receiving entity. Correspondingly, the sending end (compressing end, PDCP sending entity) is a user terminal.

当然,在另一种实现方式中,以太帧包头压缩处理方法可以应用于用户终端,基站为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为用户终端。Of course, in another implementation manner, the Ethernet frame header compression processing method can be applied to the user terminal, and the base station is the compression end, that is, the PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a user terminal.

以下主要以以太帧包头压缩处理方法应用于的解压缩端为基站说明。解压缩端为用户终端的方法与之类似。The following mainly takes the decompression end to which the Ethernet frame header compression processing method is applied as the base station for description. The method in which the decompression end is a user terminal is similar.

步骤201,在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为基站在当前承载中未接收过的序号,则保存第一完整数据包中的上下文信息,以根据第一完整数据包中的上下文信息对新的压缩包进行解压缩处理。Step 201, when the packet data convergence protocol reconstruction request is obtained, if the transmission mode of the current session is confirmation mode, and the configuration file meets the preset conditions, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that has not been received by the base station in the current bearer, then save the context information in the first complete data packet, so as to decompress the new compressed packet according to the context information in the first complete data packet.

其中,第一完整数据包为用户终端在获取到分组数据汇聚协议重建指令后向基站发送的。Wherein, the first complete data packet is sent by the user terminal to the base station after obtaining the packet data convergence protocol reconstruction instruction.

本公开实施例中,传输模式可以包括透明模式(TM)、非确认模式(UM)和确认模式(AM)。In the embodiment of the present disclosure, the transmission mode may include a transparent mode (TM), an unacknowledged mode (UM) and an acknowledged mode (AM).

本公开实施例中,配置文件满足预设条件可以包括:配置文件中预设的配置参数未赋值,或者,配置文件中预设的配置参数赋值为假。比如,预设的配置参数可以为drb-ContinueROHC,当drb-ContinueROHC未被赋值,或者,drb-ContinueROHC赋值为false时,确定配置参数满足预设条件。In the embodiment of the present disclosure, the configuration file meeting the preset condition may include: no value is assigned to the preset configuration parameter in the configuration file, or the value assigned to the preset configuration parameter in the configuration file is false. For example, the preset configuration parameter may be drb-ContinueROHC, and when drb-ContinueROHC is not assigned a value, or when drb-ContinueROHC is assigned a value of false, it is determined that the configuration parameter meets the preset condition.

本公开实施例中,第一完整数据包中的第一序号是基站在当前承载中未接收过的任一序号,其中,基站在当前承载中未接收过的序号,即第一序号可以是用户终端未使用过的序号,或者,也可以是用户终端使用过的序号,但是该序号为丢失的数据包(missing的PDU)中的序号,对此并不限制。其中,第一序号可以为序列号(SN),或者,第一序号也可以为计数(COUNT)。其中,COUNT占用32bit,由超帧号(Hyper Frame Number,简称HFN)和PDCP SN组成,SN为COUNT的低位。In the embodiment of the present disclosure, the first sequence number in the first complete data packet is any sequence number that the base station has not received in the current bearer, where the sequence number that the base station has not received in the current bearer, that is, the first sequence number may be a sequence number that has not been used by the user terminal, or may be a sequence number that has been used by the user terminal, but the sequence number is a sequence number in a lost data packet (missing PDU), which is not limited. Wherein, the first sequence number may be a sequence number (SN), or the first sequence number may also be a count (COUNT). Among them, COUNT occupies 32 bits, and is composed of Hyper Frame Number (HFN for short) and PDCP SN, and SN is the low bit of COUNT.

作为一种可能的实现方式,当序号为依次生成的时,第一序号可以为未使用过的序号中的第一个,也可以是未使用过的序号中的第M个。例如,第一序号可为在PDCP重建之前,用户终端发送数据包时未使用过或者未发送过的SN,或者,第一序号可以为在PDCP状态报告中携带的最后一个SN的下一个SN或后第M个SN,比如,PDCP状态报告中携带的最后一个SN为10,则第一序号可以为11、12、13等等,或者,第一序号还可以为未被基站确认过接收状态的SN的下一个SN或后第M个SN,本公开对此并不做限制。As a possible implementation manner, when the serial numbers are generated sequentially, the first serial number may be the first of the unused serial numbers, or may be the Mth of the unused serial numbers. For example, the first sequence number may be an SN that has not been used or sent by the user terminal before PDCP re-establishment, or the first sequence number may be the next SN or the Mth SN after the last SN carried in the PDCP status report. For example, if the last SN carried in the PDCP status report is 10, the first sequence number may be 11, 12, 13, etc., or the first sequence number may also be the next SN or the Mth SN after the SN whose reception status has not been confirmed by the base station. limit.

作为另一种可能的实现方式,当序号为随机生成的时,即用户终端每次发送的序号并非为连续的,此时,可以记录用户终端已使用过的序号,从而可以根据已使用过的序号,确定未被使用过的序号。比如,用户终端已使用过的序号为1和10,则第一序号可以为3、5、15、17等等。As another possible implementation, when the serial numbers are randomly generated, that is, the serial numbers sent by the user terminal each time are not continuous, at this time, the serial numbers that have been used by the user terminal can be recorded, so that the unused serial numbers can be determined according to the used serial numbers. For example, if the serial numbers used by the user terminal are 1 and 10, the first serial numbers may be 3, 5, 15, 17 and so on.

本公开实施例中,基站在接收到PDCP重建请求时,或者,高层指示PDCP重建时,可以判断是否同时满足上述当前会话的传输模式为确认模式、配置文件满足预设条件、从用户终端获取的第一完整数据包中的第一序号,为基站在当前承载中未接收过的序号这三个条件,若同时满足,则基站可以保存第一完整数据包中的上下文信息,从而后续可以根据第一完整数据包中的上下文信息进行解压缩处理。其中,第一序号对应的第一完整数据包为基站收到来自高层PDCP重建请求后收到的,或者,第一完整数据包为由于PDCP重新从低层收到的。In an embodiment of the present disclosure, when the base station receives a PDCP re-establishment request, or when a high-level layer instructs PDCP re-establishment, it can determine whether the above three conditions are met: the transmission mode of the current session is confirmation mode, the configuration file meets the preset conditions, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that the base station has not received in the current bearer. Wherein, the first complete data packet corresponding to the first sequence number is received by the base station after receiving the PDCP reconstruction request from the upper layer, or the first complete data packet is received again from the lower layer due to PDCP.

具体地,用户终端在接收到PDCP重建指令时,或者,高层指示PDCP重建时,可以判断是否同时满足上述当前承载的传输模式为确认模式、配置文件满足预设条件、当前承载中包括预设数据包这三个条件,若同时满足,则用户终端可以向基站发送至少一个第一完整数据包,其中,每个第一完整数据包可以包括上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到PDCP重建指令后重置的上下文信息,第一序号为基站在承载中未接收过的任一序号。其中,预设数据包可以为用户终端在获取重建指令前发送失败的数据包,或者,预设数据包可以为用户终端在获取重建指令时未获取到发送成功确认或未确认发送状态的数据包,或者,预设数据包还可以为用户终端在获取重建指令时丢失的数据包,或者,预设数据包还可以为用户终端在获取重建指令之前丢失的数据包,本公开对此并不作限制。例如,可以根据PDCP状态报告,确认预设数据包,其中,预设数据包可以包括以下至少之一:已被发送成功的PDU、未被成功发送的PDU、丢失(missing)的PDU、发送状态不确定的PDU。Specifically, when the user terminal receives the PDCP re-establishment instruction, or when the higher layer instructs the PDCP re-establishment, it can determine whether the above-mentioned three conditions of the transmission mode of the current bearer being the confirmation mode, the configuration file meeting the preset condition, and the current bearer including the preset data packet are satisfied at the same time. Any sequence number that the base station has not received in the bearer. Wherein, the preset data packet may be a data packet that the user terminal fails to send before obtaining the rebuilding instruction, or the preset data packet may be a data packet that the user terminal does not obtain a transmission success confirmation or an unconfirmed sending status when obtaining the rebuilding instruction, or the preset data packet may also be a data packet lost when the user terminal obtains the rebuilding instruction, or the preset data packet may also be a data packet that the user terminal loses before obtaining the rebuilding instruction, which is not limited in this disclosure. For example, the preset data packet may be confirmed according to the PDCP status report, wherein the preset data packet may include at least one of the following: PDUs that have been successfully sent, PDUs that have not been successfully sent, missing (missing) PDUs, and PDUs with uncertain sending status.

相应的,基站在接收到第一完整数据包后,根据第一序号,确定对应的数据包未被接收过,此时,基站可以对接收到的完整数据包进行解析,获取并存储用户终端在获取到PDCP重建请求后重置的上下文信息,从而后续可以根据该上下文信息,对用户终端发送的新的压缩包进行解压缩处理,保证数据的正常传输。Correspondingly, after receiving the first complete data packet, the base station determines that the corresponding data packet has not been received according to the first sequence number. At this time, the base station can analyze the received complete data packet, obtain and store the context information reset by the user terminal after obtaining the PDCP reconstruction request, so that the new compressed packet sent by the user terminal can be subsequently decompressed according to the context information to ensure normal data transmission.

本公开实施例中,在存在未被成功发送的预设数据包,且该预设数据包并非为丢失的数据包(如确认接收失败或NACK的包)时,用户终端还可以按照现有的方式,向基站发送第三完整数据包,其中,第三完整数据包中包括未被压缩的包头信息及预设数据包中的第三序号。In the embodiment of the present disclosure, when there is a preset data packet that has not been successfully sent, and the preset data packet is not a lost data packet (such as a packet that confirms reception failure or NACK), the user terminal may also send a third complete data packet to the base station in an existing manner, wherein the third complete data packet includes uncompressed header information and a third sequence number in the preset data packet.

也就是说,本公开中,在现有的通信协议不变的情况下,由于第三完整数据包中具有预设数据包的第三序号,即重建前使用的序号,若用户终端仅发送该第三完整数据包,则基站接收到该第三完整数据包后,根据第三完整数据包中的第三序号,可以确定该第三序号对应的数据包被接收过,则基站可能会直接删除该第三完整数据包,造成不能获取和/或存储有效的(或新的)上下文信息。因此,为了避免上述问题,用户终端还可以向基站发送至少一个第一完整数据包,其中,第一完整数据包中包含基站在承载中未接收过的任一序号,即第一序号,从而基站在接收到第一完整数据包后,根据第一序号,可以确定对应的数据包未被接收过,此时,基站可以对接收到的完整数据包进行解析,获取并存储用户终端在获取到PDCP重建指令后重置的上下文信息,从而后续可以根据该上下文信息,对用户终端发送的新的压缩包进行解压缩处理,保证数据的正常传输。That is to say, in the present disclosure, when the existing communication protocol remains unchanged, since the third complete data packet has a preset third sequence number of the data packet, that is, the sequence number used before reconstruction, if the user terminal only sends the third complete data packet, after receiving the third complete data packet, the base station can determine that the data packet corresponding to the third sequence number has been received according to the third sequence number in the third complete data packet, and the base station may directly delete the third complete data packet, resulting in failure to obtain and/or store valid (or new) context information. Therefore, in order to avoid the above problems, the user terminal may also send at least one first complete data packet to the base station, wherein the first complete data packet includes any sequence number that the base station has not received in the bearer, that is, the first sequence number, so that after receiving the first complete data packet, the base station can determine that the corresponding data packet has not been received according to the first sequence number. Perform decompression processing to ensure normal data transmission.

作为一种示例,以序号为SN,且SN为依次生成的示例,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中包含的最后一个SN为SN=20,且SN为15,17,18,20的PDCPPDU未成功传输(例如可根据PDCP状态报告确定),并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为15,17,18,19,20的PDCPPDU(SN号还是原来的15,17,18,20)。当用户终端使用SN=21(第一序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后发送压缩包。As an example, the sequence number is SN, and SN is an example of sequential generation. When the transmission mode of the current bearer is confirmation mode, the user terminal determines that the last SN contained in the PDCP PDU sent to the base station is SN=20, and the PDCP PDUs with SNs of 15, 17, 18, and 20 have not been successfully transmitted (for example, it can be determined according to the PDCP status report), and drb-ContinueROHC is not configured. Then the user terminal resets the header compression context information (new or valid context information), reset the header compression state, and use the new context information to resend PDCP PDUs with SNs of 15, 17, 18, 19, and 20 (the SN numbers are still the original 15, 17, 18, and 20). After the user terminal uses SN=21 (first sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal then sends a compressed packet.

需要说明的是,当预设数据包为丢失的数据包时,该丢失的数据包对应的序号是基站未接收过的,但是为用户终端使用过或发送过的序号,此时,用户终端向基站发送的第一完整数据包中的第一序号,具体可以为预设数据包中的第三序号。It should be noted that when the preset data packet is a lost data packet, the sequence number corresponding to the lost data packet has not been received by the base station, but is a sequence number used or sent by the user terminal. At this time, the first sequence number in the first complete data packet sent by the user terminal to the base station may specifically be the third sequence number in the preset data packet.

作为另一种示例,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中SN为19的PDU missing,并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为19的PDCP PDU。当用户终端使用SN=19(第三序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后发送压缩包。As another example, when the transmission mode of the current bearer is the confirmation mode, when the user terminal receives the PDCP re-establishment instruction, it determines that the PDU with the SN of 19 among the PDCP PDUs already sent to the base station is missing, and drb-ContinueROHC is not configured, then the user terminal resets the header compression context information (new or valid context information), resets the header compression state, and uses the new context information to resend the PDCP PDU with the SN of 19. After the user terminal uses SN=19 (the third sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal then sends a compressed packet.

作为又一种示例,在当前承载的传输模式为确认模式时,用户终端在收到PDCP重建指令时,确定已经发送给基站的PDCP PDU中包含的最后一个SN为SN=20,且SN为15,17,18,20的PDCP PDU未成功传输,SN为19的PDU missing,并且drb-ContinueROHC未配置,那么用户终端重置头压缩上下文信息(新的或有效的上下文信息),重置头压缩状态,并使用新的上下文信息重新发送使用SN为15,17,18,19,20的PDCP PDU(SN号还是原来的15,17,18,20)。当用户终端使用SN=19(第三序号)和/或SN=21(第一序号)发送包含新的上下文信息和完整包头新的完整数据包后,用户终端此后发送压缩包。As another example, when the transmission mode of the current bearer is confirmation mode, when the user terminal receives the PDCP re-establishment instruction, it determines that the last SN contained in the PDCP PDU sent to the base station is SN=20, and the PDCP PDU with SN 15, 17, 18, and 20 is not successfully transmitted, and the PDU with SN is 19 is missing, and drb-ContinueROHC is not configured, then the user terminal resets the header compression context information (new or valid context information), resets the header compression state, and uses the new The context information resends PDCP PDUs with SNs of 15, 17, 18, 19, and 20 (the SN numbers are still the original 15, 17, 18, and 20). After the user terminal uses SN=19 (third sequence number) and/or SN=21 (first sequence number) to send a new complete data packet containing new context information and a complete packet header, the user terminal then sends a compressed packet.

进一步地,为了确保基站获取到对应的上下文信息,第一完整数据包的个数可以为多个,每个第一完整数据包中包括的第一序号可以不同。比如,可以使用某一个未被用户终端使用的SN和该SN后续的K个SN,将每个SN作为一个第一序号,从而用户终端可以向基站发送K+i个第一完整数据包,以使基站能够成功接收到重置后的上下文信息。即,用户终端向基站发送的第一完整数据包可能为多个,各第一完整数据包对应的第一序号是不同的,当用户终端向基站每发送一个第一完整数据包后,基站根据第一完整数据包,可以确定第一完整数据包中的第一序号为未当前承载中未接收过的序号,因此,将会保存第一完整数据包中的有效的上下文信息,以使基站能够成功接收到重置后的上下文信息。Further, in order to ensure that the base station obtains the corresponding context information, there may be multiple first complete data packets, and the first sequence numbers included in each first complete data packet may be different. For example, a certain SN that is not used by the user terminal and K SNs following the SN can be used, and each SN can be used as a first sequence number, so that the user terminal can send K+i first complete data packets to the base station, so that the base station can successfully receive the reset context information. That is, there may be multiple first complete data packets sent by the user terminal to the base station, and the first sequence numbers corresponding to each first complete data packet are different. When the user terminal sends each first complete data packet to the base station, the base station can determine according to the first complete data packet that the first sequence number in the first complete data packet is a sequence number that has not been received in the current bearer. Therefore, valid context information in the first complete data packet will be saved, so that the base station can successfully receive the reset context information.

需要说明的是,第三完整数据包的数量与预设数据包的数量相同,也就是说,在重建之前,发送失败了几个数据包,在接收到PDCP重建指令之后,发送失败的数据包均可以重新发送一遍,以保证数据传输的可靠性和有效性。并且,第三完整数据包中可以包括重置后的上下文信息,也可以不包括重置后的上下文信息。应当理解的是,如果不修改基站的协议,基站收到包含重复序号的数据包后,会直接将该数据包进行丢弃,因此即使第三完整数据包中包含了重置后的上下文信息后,也可能被丢弃,因此,本公开中,为了减小数据包的bit数,第三完整数据包中可以不包括重置后的上下文信息。It should be noted that the number of the third complete data packets is the same as the number of preset data packets, that is, before reconstruction, several data packets failed to be sent, and after receiving the PDCP reconstruction instruction, the failed data packets can be resent to ensure the reliability and effectiveness of data transmission. Moreover, the reset context information may or may not be included in the third complete data packet. It should be understood that if the protocol of the base station is not modified, the base station will directly discard the data packet after receiving the data packet containing the repeated sequence number, so even if the third complete data packet contains the reset context information, it may be discarded. Therefore, in this disclosure, in order to reduce the number of bits of the data packet, the third complete data packet may not include the reset context information.

需要说明的是,第三完整数据包中可以包括重置后的上下文信息,也可以不包括重置后的上下文信息。应当理解的是,如果不修改基站的协议,若基站收到包含第三序号的数据包后,确定该数据包对应的SN没有收到过(如对应的SN的PDU为丢失的数据包),那么基站将保存该PDU,保存该上下文信息。此时,基站可以获取并存储用户终端在获取到PDCP重建指令后重置的上下文信息,从而后续可以根据该上下文信息,对用户终端发送的压缩包进行解压缩处理,保证数据的正常传输。进一步地,为了确保基站获取到对应的上下文信息,用户终端还可以发送第一完整数据包。第一完整数据包的个数为非负整数。It should be noted that the reset context information may or may not be included in the third complete data packet. It should be understood that if the protocol of the base station is not modified, if the base station receives the data packet containing the third sequence number and determines that the SN corresponding to the data packet has not received it (such as the PDU of the corresponding SN is a lost data packet), then the base station will save the PDU and save the context information. At this time, the base station can obtain and store the context information reset by the user terminal after obtaining the PDCP re-establishment command, so that the compressed packet sent by the user terminal can be decompressed later according to the context information to ensure normal data transmission. Further, in order to ensure that the base station acquires the corresponding context information, the user terminal may also send the first complete data packet. The number of the first complete data packet is a non-negative integer.

此外,基站可以在保存到更新的上下文信息后,可以向用户终端发送反馈包。用户终端收到反馈包后,可以开始发送压缩包。In addition, the base station may send a feedback packet to the user terminal after saving the updated context information. After receiving the feedback packet, the user terminal can start to send the compressed packet.

本公开实施例的以太帧包头压缩处理方法,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为基站在当前承载中未接收过的序号,则保存第一完整数据包中的上下文信息,以根据第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;其中,第一完整数据包为用户终端在获取到分组数据汇聚协议重建指令后向基站发送的。本公开中,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。In the Ethernet frame header compression processing method of the embodiment of the present disclosure, when the base station obtains the reconstruction request of the packet data convergence protocol, if the transmission mode of the current session is the confirmation mode and the configuration file meets the preset conditions, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that the base station has not received in the current bearer, then the context information in the first complete data packet is saved, so as to decompress the new compressed packet according to the context information in the first complete data packet; Sent to the base station after the reconstruction command. In the present disclosure, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

为了实现上述实施例,本公开还提出一种以太帧包头压缩处理方法。In order to realize the above-mentioned embodiments, the present disclosure also proposes a method for compressing and processing Ethernet frame headers.

图4为本公开实施例三所提供的以太帧包头压缩处理方法的流程示意图。FIG. 4 is a schematic flowchart of a method for compressing and processing Ethernet frame headers provided by Embodiment 3 of the present disclosure.

如图4所示,该以太帧包头压缩处理方法可以包括以下步骤:As shown in Figure 4, the Ethernet frame header compression processing method may include the following steps:

本公开实施例的以太帧包头压缩处理方法,可以应用于基站,该基站具体可以为解压缩端,即PDCP接收实体。相应的,发送端(压缩端,PDCP发送实体)为用户终端。The Ethernet frame header compression processing method in the embodiment of the present disclosure can be applied to a base station, and the base station can specifically be a decompression end, that is, a PDCP receiving entity. Correspondingly, the sending end (compressing end, PDCP sending entity) is a user terminal.

当然,在另一种实现方式中,以太帧包头压缩处理可以应用于用户终端,基站为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为用户终端。Of course, in another implementation manner, the Ethernet frame header compression process can be applied to the user terminal, and the base station is the compression end, that is, the PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a user terminal.

以下主要以以太帧包头压缩处理的解压缩端为基站说明。解压缩端为用户终端的方法与之类似。The following mainly takes the decompression end of the Ethernet frame header compression processing as the base station for description. The method in which the decompression end is a user terminal is similar.

步骤301,在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为基站在当前承载中已经接收过的序号,则保存第二完整数据包中的上下文信息。Step 301, when the packet data convergence protocol reconstruction request is obtained, if the transmission mode of the current session is confirmation mode, and the configuration file satisfies the preset condition, and the second sequence number in the second complete data packet obtained from the user terminal is a sequence number that the base station has received in the current bearer, then save the context information in the second complete data packet.

本公开实施例中,传输模式可以包括透明模式(TM)、非确认模式(UM)和确认模式(AM)。In the embodiment of the present disclosure, the transmission mode may include a transparent mode (TM), an unacknowledged mode (UM) and an acknowledged mode (AM).

本公开实施例中,配置文件满足预设条件可以包括:配置文件中预设的配置参数未赋值,或者,配置文件中预设的配置参数赋值为假。比如,预设的配置参数可以为drb-ContinueROHC,当drb-ContinueROHC未被赋值,或者,drb-ContinueROHC赋值为false时,确定配置参数满足预设条件。In the embodiment of the present disclosure, the configuration file meeting the preset condition may include: no value is assigned to the preset configuration parameter in the configuration file, or the value assigned to the preset configuration parameter in the configuration file is false. For example, the preset configuration parameter may be drb-ContinueROHC, and when drb-ContinueROHC is not assigned a value, or when drb-ContinueROHC is assigned a value of false, it is determined that the configuration parameter meets the preset condition.

本公开实施例中,第二序号可以为序列号(SN),或者,第二序号也可以为计数(COUNT)。其中,COUNT占用32bit,由HFN和PDCP SN组成,SN为COUNT的低位。In this embodiment of the present disclosure, the second serial number may be a serial number (SN), or the second serial number may also be a count (COUNT). Among them, COUNT occupies 32 bits and consists of HFN and PDCP SN, and SN is the low bit of COUNT.

本公开实施例中,基站在接收到PDCP重建请求时,或者,高层指示PDCP重建时,可以判断是否同时满足上述当前会话的传输模式为确认模式、配置文件满足预设条件、从用户终端获取的第二完整数据包中的第二序号,为基站在当前承载中已经接收过的序号或为重复序号(比如重复SN,即duplicate SN)这三个条件时,若同时满足,则基站可以保存第二完整数据包中的上下文信息,从而后续可以根据第二完整数据包中的上下文信息进行解压缩处理。其中,第二序号对应的第三完整数据包为基站收到来自高层PDCP重建请求后收到的,或者,第二完整数据包为由于PDCP重新从低层收到的。In the embodiment of the present disclosure, when the base station receives a PDCP re-establishment request, or when high-level instructions indicate PDCP re-establishment, it can judge whether the transmission mode of the current session is confirmed mode, the configuration file meets the preset conditions, and the second sequence number in the second complete data packet obtained from the user terminal is a sequence number that the base station has received in the current bearer or a duplicate sequence number (such as a duplicate SN). If these three conditions are met at the same time, the base station can save the context information in the second complete data packet. The context information is decompressed. Wherein, the third complete data packet corresponding to the second sequence number is received by the base station after receiving the PDCP reconstruction request from the upper layer, or the second complete data packet is received again from the lower layer due to PDCP.

也就是说,可以修改基站(即接收端或解压缩端)的协议,在接收到PDCP重建请求时,若基站接收到的完整数据包中的序号为之前接收过的,则保存该完整数据包中的上下文信息,从而后续基站可以根据该上下文信息,对用户终端发送的压缩包进行解压缩处理,保证数据的正常传输。That is to say, the protocol of the base station (that is, the receiving end or the decompression end) can be modified. When receiving the PDCP reconstruction request, if the sequence number in the complete data packet received by the base station is received before, the context information in the complete data packet is saved, so that the subsequent base station can decompress the compressed packet sent by the user terminal according to the context information to ensure normal data transmission.

此外,基站可以在保存到上下文信息后,可以向用户终端发送反馈包。用户终端收到反馈包后,可以开始发送压缩包。In addition, the base station can send a feedback packet to the user terminal after saving the context information. After receiving the feedback packet, the user terminal can start to send the compressed packet.

本公开实施例的以太帧包头压缩处理方法,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为基站在当前承载中已经接收过的序号,则保存第二完整数据包中的上下文信息。由此,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。In the Ethernet frame header compression processing method of the embodiment of the present disclosure, when the base station obtains the packet data convergence protocol reconstruction request, if the transmission mode of the current session is the confirmation mode, and the configuration file meets the preset conditions, and the second sequence number in the second complete data packet obtained from the user terminal is the sequence number that the base station has received in the current bearer, then the context information in the second complete data packet is saved. In this way, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

作为一种可能的实现方式,基站对第二完整数据包中的上下文信息进行保存,或者,基站利用上下文信息对接收到的压缩包解压缩成功,或者,基站存在有效的上下文信息时,基站还可以向用户终端发送反馈包,其中,反馈包,用于指示第二完整数据包中的上下文信息已经被保存,或者,用于指示基站已经对收到的压缩包解压缩成功,或者,用于指示基站存在有效的上下文信息。As a possible implementation, the base station saves the context information in the second complete data packet, or the base station uses the context information to successfully decompress the received compressed packet, or, when the base station has valid context information, the base station can also send a feedback packet to the user terminal, where the feedback packet is used to indicate that the context information in the second complete data packet has been saved, or used to indicate that the base station has successfully decompressed the received compressed packet, or used to indicate that the base station has valid context information.

作为一种可能的实现方式,为了避免基站重复存储同一上下文信息,在基站保存第二完整数据包中的上下文信息之前,还需要确定基站中未存储第二完整数据包中的上下文信息。也就是说,确定基站中已保存的上下文信息,为获取到PDCP重建请求前存储的,从而当保存第二完整数据包中的上下文信息时,可确定已存储的数据中并不存在重复的上下文信息。As a possible implementation manner, in order to prevent the base station from repeatedly storing the same context information, before the base station saves the context information in the second complete data packet, it needs to be determined that the base station does not store the context information in the second complete data packet. That is to say, it is determined that the context information stored in the base station is stored before the PDCP re-establishment request is obtained, so that when the context information in the second complete data packet is stored, it can be determined that there is no repeated context information in the stored data.

作为一种可能的实现方式,当基站对第二完整数据包中的上下文信息进行存储后,若用户终端向基站发送的完整数据包中的序号,比如SN,为基站在当前承载中已经接收过的序号,则丢弃该完整数据包。具体地,当基站对第二完整数据包中的上下文信息进行存储后,若基站从用户终端新获取的第三完整数据包中的第三序号为基站在当前承载中已经接收过的序列号,则丢弃第三完整数据包。As a possible implementation, after the base station stores the context information in the second complete data packet, if the sequence number in the complete data packet sent by the user terminal to the base station, such as SN, is the sequence number that the base station has received in the current bearer, the complete data packet is discarded. Specifically, after the base station stores the context information in the second complete data packet, if the third sequence number in the third complete data packet newly acquired by the base station from the user terminal is the sequence number that the base station has received in the current bearer, the third complete data packet is discarded.

本公开实施例中,当基站对第二完整数据包中的上下文信息进行存储后,可以采用现有的协议,接收和存储数据。具体地,当基站接收到的完整数据包中包含之前已接收到的序号时,可以将该数据包进行丢弃。也就是说,本公开中,若基站后续接收到数据包中的序号为基站在当前承载中已经接收过的序号,基站可以采用现有协议,对该数据包进行丢弃处理。In the embodiment of the present disclosure, after the base station stores the context information in the second complete data packet, it can use an existing protocol to receive and store the data. Specifically, when the complete data packet received by the base station includes the previously received sequence number, the data packet may be discarded. That is to say, in the present disclosure, if the sequence number in the subsequent data packet received by the base station is the sequence number that the base station has already received in the current bearer, the base station can use the existing protocol to discard the data packet.

作为一种可能的实现方式,为了避免基站重复存储同一上下文信息,在基站保存第二完整数据包中的上下文信息之前,还需确定基站在获取到PDCP重建请求后,未向用户终端发送反馈包,其中,反馈包用于指示:基站对获取的数据包解压缩成功,或者,基站存在重置后的上下文信息、或者,重置后的上下文信息已经被保存。As a possible implementation, in order to prevent the base station from repeatedly storing the same context information, before the base station saves the context information in the second complete data packet, it needs to be determined that the base station has not sent a feedback packet to the user terminal after obtaining the PDCP reconstruction request, wherein the feedback packet is used to indicate that the base station successfully decompresses the obtained data packet, or that the base station has reset context information, or that the reset context information has been saved.

作为一种示例,以上行数据包的处理流程进行示例(压缩端为用户终端,解压缩端为基站),下行数据包的处理(压缩端为基站,解压缩端为用户终端)与之类似,此处不做赘述。As an example, the processing flow of the uplink data packet is used as an example (the compression end is the user terminal, and the decompression end is the base station), and the processing of the downlink data packet (the compression end is the base station, and the decompression end is the user terminal) is similar, and will not be repeated here.

1、可以在网络侧对第一DRB配置Ethernet头压缩参数,其中drb-ContinueROHC未配置或其值为false,具体的,通过专用RRC,如PDCP-config IE将该消息指示给用户终端。1. The first DRB can be configured with Ethernet header compression parameters on the network side, wherein drb-ContinueROHC is not configured or its value is false. Specifically, the message is indicated to the user terminal through a dedicated RRC, such as PDCP-config IE.

2、用户终端在后续发送时,按照配置信息进行头压缩处理。具体的,用户终端发送包含完整包头信息和上下文信息的完整数据包,在收到反馈包或者发送N个包含完整数据包的包后,向基站发送压缩包。2. The user terminal performs header compression processing according to the configuration information during subsequent sending. Specifically, the user terminal sends a complete data packet including complete packet header information and context information, and sends a compressed packet to the base station after receiving a feedback packet or sending N packets containing complete data packets.

3、基站接收来自用户终端的PDCPPDU,包括完整数据包和压缩包。3. The base station receives the PDCP PDU from the user terminal, including complete data packets and compressed packets.

4、当用户终端(UE)收到来自高层(如RRC层)的PDCP重建请求时,例如UE RRC收到来自基站的重建请求时,UE RRC要求UE PDCP层进行PDCP重建时,当前承载的传输模式为确认模式,用户终端重置上下文信息,重置头压缩状态,按照新的上下文信息发送PDCPPDU。4. When the user terminal (UE) receives a PDCP re-establishment request from a higher layer (such as the RRC layer), for example, when the UE RRC receives a re-establishment request from the base station, when the UE RRC requires the UE PDCP layer to perform PDCP re-establishment, the transmission mode of the current bearer is confirmed mode, the user terminal resets the context information, resets the header compression state, and sends the PDCP PDU according to the new context information.

5、在PDCP重建请求接收时或高层指示PDCP重建时,基站接收用户终端发送的数据包,获取新的上下文信息并保存。具体的,基站在收到PDCP重建请求后,当前承载的传输模式为确认模式,当收到的PDCP PDU对应的SN为duplicate SN或者为重建之前已经被接收过的SN时,执行以下操作至少之一:5. When the PDCP re-establishment request is received or the high layer instructs the PDCP re-establishment, the base station receives the data packet sent by the user terminal, acquires new context information and saves it. Specifically, after the base station receives the PDCP re-establishment request, the transmission mode of the current bearer is the confirmation mode, and when the SN corresponding to the received PDCP PDU is a duplicate SN or an SN that has been received before re-establishment, at least one of the following operations is performed:

1)对该PDCP PDU进行解压缩处理;1) Decompressing the PDCP PDU;

2)保存有效(新的)上下文信息。具体的,若PDCPPDU为完整数据包,和/或,PDCPPDU中有完整的包头信息和上下文信息时,基站则认为其中包含的上下文为有效(新的)上下文和/或保存该上下文;2) Save valid (new) context information. Specifically, if the PDCP PDU is a complete data packet, and/or, when there is complete header information and context information in the PDCP PDU, the base station considers the context contained therein as a valid (new) context and/or saves the context;

3)向用户终端发送反馈包,其中,反馈包用于指示有效的上下文信息已成功建立和/或保存。3) Sending a feedback packet to the user terminal, where the feedback packet is used to indicate that valid context information has been successfully established and/or saved.

否则,用户终端将采用现有协议,即当PDCPPDU中的SN为已经接收过的SN,基站则丢弃这个PDCP PDU。Otherwise, the user terminal will adopt the existing protocol, that is, when the SN in the PDCP PDU is a received SN, the base station discards the PDCP PDU.

之后,基站可以按照保存的新的上下文信息进行解压缩处理。特别的,在需要发送反馈包时,基站发送的反馈包,用于指示基站已经接收和/或保存有效的上下文信息。当用户终端收到该反馈包后,即可发送压缩包。Afterwards, the base station can perform decompression processing according to the saved new context information. In particular, when it is necessary to send a feedback packet, the feedback packet sent by the base station is used to indicate that the base station has received and/or saved valid context information. After receiving the feedback packet, the user terminal can send the compressed packet.

举例而言,当前会话的传输模式为确认模式,基站在收到PDCP重建请求后,收到SN为10的PDCP PDU,且该SN对应的数据包之前已经被接收过,由于drb-ContinueROHC未配置,且此时基站没有有效的上下文,则基站对SN为10的这个PDU进行解压缩。当确定这个PDU为完整数据包,或者,这个PDCP PDU中有完整的包头信息和上下文信息时,基站认为其中包含的上下文为有效(新的)上下文信息,基站将保存该上下文,用于后续收到压缩包时进行解压缩。此外,在后续若收到SN为11的PDU,且该SN对应的数据包之前已经被接收过,由于此时已经有了有效的上下文信息,基站将采用现有协议,对该数据包进行丢弃处理。For example, the transmission mode of the current session is confirmation mode. After receiving the PDCP re-establishment request, the base station receives a PDCP PDU with SN 10, and the data packet corresponding to the SN has been received before. Since drb-ContinueROHC is not configured, and the base station has no valid context at this time, the base station decompresses the PDU with SN 10. When it is determined that this PDU is a complete data packet, or that there is complete header information and context information in this PDCP PDU, the base station considers the context contained therein as valid (new) context information, and the base station will save the context for subsequent decompression when receiving compressed packets. In addition, if a PDU with an SN of 11 is subsequently received, and the data packet corresponding to the SN has been received before, the base station will use the existing protocol to discard the data packet because there is already valid context information at this time.

为了实现上述实施例,本公开还提出一种以太帧包头压缩处理装置。In order to realize the above embodiments, the present disclosure further proposes an Ethernet frame header compression processing device.

图5为本公开实施例四所提供的以太帧包头压缩处理装置的结构示意图。FIG. 5 is a schematic structural diagram of an Ethernet frame header compression processing device provided by Embodiment 4 of the present disclosure.

本公开实施例的以太帧包头压缩处理装置可以设置于用户终端,该用户终端具体可以为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为基站。The Ethernet frame header compression processing apparatus in the embodiment of the present disclosure may be set in a user terminal, and the user terminal may specifically be a compression end, that is, a PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a base station.

当然,在另一种实现方式中,以太帧包头压缩处理装置可以设置于基站侧,即基站为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为用户终端。Of course, in another implementation manner, the Ethernet frame header compression processing device may be set at the base station side, that is, the base station is the compression end, that is, the PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a user terminal.

以下主要以以太帧包头压缩处理装置设置于的压缩端为用户终端说明。压缩端为基站的装置与之类似。The following description mainly takes the compression end where the Ethernet frame header compression processing device is set as the user terminal for description. A device whose compression end is a base station is similar.

如图5所示,该以太帧包头压缩处理装置包括发送模块501。As shown in FIG. 5 , the Ethernet frame header compression processing apparatus includes a sending module 501 .

其中,发送模块501,用于在获取到分组数据汇聚协议重建请求时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包。Wherein, the sending module 501 is configured to send at least one first complete data packet to the base station when the packet data convergence protocol reconstruction request is obtained, if the transmission mode of the current bearer is the confirmation mode, and the configuration file satisfies the preset condition, and the current bearer includes a preset data packet.

其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建请求后重置的上下文信息,第一序号为基站在承载中未接收过的任一序号。Wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number, wherein the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction request, and the first sequence number is any sequence number that the base station has not received in the bearer.

作为一种可能的实现方式,预设数据包,为用户终端在获取重建指令前发送失败的数据包,或者,为用户终端在获取重建指令时未获取到发送成功确认或未确认发送状态的数据包,或者,为用户终端在获取重建指令时或在获取重建指令之前丢失的数据包。As a possible implementation, the preset data packet is a data packet that the user terminal failed to send before obtaining the reconstruction instruction, or a data packet that the user terminal did not obtain a sending confirmation or an unconfirmed sending status when obtaining the reconstruction instruction, or a data packet that was lost when the user terminal obtained the reconstruction instruction or before obtaining the reconstruction instruction.

作为一种可能的实现方式,配置文件满足预设条件,包括:配置文件中预设的配置参数未赋值;或者,配置文件中预设的配置参数赋值为假。As a possible implementation manner, the configuration file satisfies a preset condition, including: no value is assigned to a preset configuration parameter in the configuration file; or, a value is assigned to a preset configuration parameter in the configuration file.

作为一种可能的实现方式,发送模块401,还用于若获取到基站发送的反馈包,则向基站发送压缩包,其中,压缩包中包括:上下文信息,上下文信息为用户终端在获取到分组数据汇聚协议重建请求后重置的上下文信息;其中,反馈包,为基站在确定收到包含上下文信息的完整数据包后发送的;或者,反馈包,为基站在保存上下文信息后发送的。As a possible implementation, the sending module 401 is further configured to send a compressed packet to the base station if the feedback packet sent by the base station is obtained, wherein the compressed packet includes: context information, and the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction request; wherein, the feedback packet is sent by the base station after determining to receive a complete data packet containing the context information; or, the feedback packet is sent by the base station after saving the context information.

作为一种可能的实现方式,发送模块401,还用于在第一预设的时间间隔后,向基站发送压缩包,其中,压缩包中包括:上下文信息,上下文信息为用户终端在获取到分组数据汇聚协议重建请求后重置的上下文信息。As a possible implementation, the sending module 401 is further configured to send a compressed packet to the base station after the first preset time interval, wherein the compressed packet includes: context information, and the context information is context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction request.

作为一种可能的实现方式,在发送分组数据汇聚协议重建完成消息第二预设的时间间隔后,向基站发送压缩包,其中,压缩包中包括上下文信息,上下文信息为用户终端在获取到分组数据汇聚协议重建请求后重置的上下文信息。As a possible implementation, after sending the packet data convergence protocol reconstruction complete message at the second preset time interval, send a compressed packet to the base station, wherein the compressed packet includes context information, and the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction request.

作为一种可能的实现方式,第一序号;或者,第一序号为计数。As a possible implementation manner, the first serial number; or, the first serial number is a count.

需要说明的是,前述图1-图2实施例对以太帧包头压缩处理方法的解释说明也适用于该以太帧包头压缩处理装置,其实现原理类似,此处不做赘述。It should be noted that the explanations of the Ethernet frame header compression processing method described above in the embodiments of FIGS. 1-2 are also applicable to the Ethernet frame header compression processing device. The implementation principles are similar and will not be repeated here.

本公开实施例的以太帧包头压缩处理装置,通过用户终端在获取到分组数据汇聚协议重建请求时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为用户终端在获取到分组数据汇聚协议重建请求后重置的上下文信息,第一序号为用户终端在承载会话中未使用过的任一序号。本公开中,用户终端向基站发送至少一个第一完整数据包,由于第一完整数据包中包括基站在承载中未接收过的序号,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。The Ethernet frame header compression processing device in the embodiment of the present disclosure, when the user terminal obtains the packet data convergence protocol reconstruction request, if the transmission mode of the current bearer is the confirmation mode, and the configuration file meets the preset conditions, and the current bearer includes preset data packets, at least one first complete data packet is sent to the base station; wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number, wherein the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction request, and the first sequence number is the user terminal in Any sequence number not used in the bearer session. In the present disclosure, the user terminal sends at least one first complete data packet to the base station. Since the first complete data packet includes a sequence number that the base station has not received in the bearer, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

为了实现上述实施例,本公开还提出一种以太帧包头压缩处理装置。In order to realize the above embodiments, the present disclosure further proposes an Ethernet frame header compression processing device.

图6为本公开实施例五所提供的以太帧包头压缩处理装置的结构示意图。FIG. 6 is a schematic structural diagram of an Ethernet frame header compression processing device provided by Embodiment 5 of the present disclosure.

本公开实施例的以太帧包头压缩处理装置可以设置于基站,该基站具体可以为解压缩端,即PDCP接收实体。相应的,发送端(压缩端,PDCP发送实体)为用户终端。The Ethernet frame header compression processing apparatus in the embodiment of the present disclosure may be set in a base station, and the base station may specifically be a decompression end, that is, a PDCP receiving entity. Correspondingly, the sending end (compressing end, PDCP sending entity) is a user terminal.

当然,在另一种实现方式中,以太帧包头压缩处理装置可以设置于用户终端侧,基站为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为用户终端。Of course, in another implementation manner, the Ethernet frame header compression processing device may be set at the user terminal side, and the base station is the compression end, that is, the PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a user terminal.

以下主要以以太帧包头压缩处理装置设置于的解压缩端为基站说明。解压缩端为用户终端的装置与之类似。The following mainly takes the decompression end where the Ethernet frame header compression processing device is set as the base station for description. The device in which the decompression end is a user terminal is similar.

如图6所示,该以太帧包头压缩处理装置包括:保存模块601。As shown in FIG. 6 , the Ethernet frame header compression processing device includes: a saving module 601 .

保存模块601,用于在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为基站在当前承载中未接收过的序号,则保存第一完整数据包中的上下文信息,以根据第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;其中,第一完整数据包为用户终端在获取到分组数据汇聚协议重建指令后向基站发送的。Save module 601 to obtain the request for reconstruction of the group data convergence agreement, if the current session transmission mode is the confirmation mode, and the configuration file meets the preset conditions, and the first order number in the first complete data packet obtained from the user terminal is the unpaid number in the current carrying. The new compressed package is decompressed; among them, the first complete data packet sends the user terminal after obtaining the reconstruction instruction of the group data convergence agreement.

需要说明的是,前述图3实施例对以太帧包头压缩处理方法的解释说明也适用于该以太帧包头压缩处理装置,其实现原理类似,此处不做赘述。It should be noted that the above-mentioned explanation of the Ethernet frame header compression processing method in the embodiment of FIG. 3 is also applicable to the Ethernet frame header compression processing device, and its implementation principle is similar, so details are not repeated here.

本公开实施例的以太帧包头压缩处理装置,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的第一完整数据包中的第一序号,为基站在当前承载中未接收过的序号,则保存第一完整数据包中的上下文信息,以根据第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;其中,第一完整数据包为用户终端在获取到分组数据汇聚协议重建指令后向基站发送的。本公开中,可以确保基站成功获取重置后的上下文信息,从而可以使得基站对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。The Ethernet frame header compression processing device in the embodiment of the present disclosure, when the base station obtains the reconstruction request of the packet data convergence protocol, if the transmission mode of the current session is the confirmation mode and the configuration file meets the preset conditions, and the first sequence number in the first complete data packet obtained from the user terminal is a sequence number that the base station has not received in the current bearer, then the context information in the first complete data packet is saved, so as to decompress the new compressed packet according to the context information in the first complete data packet; Sent to the base station after the reconstruction command. In the present disclosure, it can be ensured that the base station successfully obtains the reset context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal to ensure normal data transmission.

为了实现上述实施例,本公开还提出一种以太帧包头压缩处理装置。In order to realize the above embodiments, the present disclosure further proposes an Ethernet frame header compression processing device.

图7为本公开实施例六所提供的以太帧包头压缩处理装置的结构示意图。FIG. 7 is a schematic structural diagram of an Ethernet frame header compression processing device provided by Embodiment 6 of the present disclosure.

本公开实施例的以太帧包头压缩处理装置可以设置于基站,该基站具体可以为解压缩端,即PDCP接收实体。相应的,发送端(压缩端,PDCP发送实体)为用户终端。The Ethernet frame header compression processing apparatus in the embodiment of the present disclosure may be set in a base station, and the base station may specifically be a decompression end, that is, a PDCP receiving entity. Correspondingly, the sending end (compressing end, PDCP sending entity) is a user terminal.

当然,在另一种实现方式中,以太帧包头压缩处理装置可以设置于用户终端侧,基站为压缩端,即PDCP发送实体。相应的,接收端(解压缩端,PDCP接收实体)为用户终端。Of course, in another implementation manner, the Ethernet frame header compression processing device may be set at the user terminal side, and the base station is the compression end, that is, the PDCP sending entity. Correspondingly, the receiving end (decompression end, PDCP receiving entity) is a user terminal.

以下主要以以太帧包头压缩处理装置设置于的解压缩端为基站说明。解压缩端为用户终端的装置与之类似。The following mainly takes the decompression end where the Ethernet frame header compression processing device is set as the base station for description. The device in which the decompression end is a user terminal is similar.

如图7所示,该以太帧包头压缩处理装置包括:保存模块701。As shown in FIG. 7 , the Ethernet frame header compression processing device includes: a saving module 701 .

其中,保存模块701,用于在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为基站在当前承载中已经接收过的序号,则保存第二完整数据包中的上下文信息。Wherein, the saving module 701 is configured to save the context information in the second complete data packet when the packet data convergence protocol reconstruction request is obtained, if the transmission mode of the current session is the confirmation mode, and the configuration file satisfies the preset condition, and the second sequence number in the second complete data packet obtained from the user terminal is a sequence number that the base station has received in the current bearer.

作为一种可能的实现方式,配置文件满足预设条件,包括:配置文件中预设的配置参数未赋值;或者,配置文件中预设的配置参数赋值为假。As a possible implementation manner, the configuration file satisfies a preset condition, including: no value is assigned to a preset configuration parameter in the configuration file; or, a value is assigned to a preset configuration parameter in the configuration file.

在作为本公开实施例的一种可能的实现方式中,参见图8,在图7所示实施例的基础上,该以太帧包头压缩处理方法还可以包括:In a possible implementation manner of an embodiment of the present disclosure, referring to FIG. 8, on the basis of the embodiment shown in FIG. 7, the Ethernet frame header compression processing method may further include:

发送模块702,用于向用户终端发送反馈包,反馈包用于指示,第二完整数据包中的上下文信息已经被保存。The sending module 702 is configured to send a feedback packet to the user terminal, where the feedback packet is used to indicate that the context information in the second complete data packet has been saved.

确定模块703,用于确定基站中未存储第二完整数据包中的上下文信息。A determining module 703, configured to determine that the context information in the second complete data packet is not stored in the base station.

丢弃模块704,用于若从用户终端新获取的第三完整数据包中的第三序号为基站在当前承载中已经接收过的序号,则丢弃第三完整数据包。The discarding module 704 is configured to discard the third complete data packet if the third sequence number in the third complete data packet newly acquired from the user terminal is the sequence number that the base station has received in the current bearer.

作为一种可能的实现方式,确定模块703,还用于确定基站在获取到分组数据汇聚协议重建请求后,未向用户终端发送反馈包,反馈包用于指示:基站对获取的数据包解压缩成功,或者,基站存在重置后的上下文信息、或者,重置后的上下文信息已经被保存。As a possible implementation, the determining module 703 is further configured to determine that the base station does not send a feedback packet to the user terminal after obtaining the packet data convergence protocol reconstruction request, and the feedback packet is used to indicate that the base station successfully decompresses the obtained data packet, or that the base station has reset context information, or that the reset context information has been saved.

需要说明的是,前述图4实施例对以太帧包头压缩处理方法的解释说明也适用于该以太帧包头压缩处理装置,其实现原理类似,此处不做赘述。It should be noted that the above-mentioned explanations of the method for compressing and processing Ethernet frame headers in the embodiment of FIG. 4 are also applicable to the device for compressing and processing Ethernet frame headers. The implementation principles are similar and will not be repeated here.

本公开实施例的以太帧包头压缩处理装置,通过基站在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件、且从用户终端获取的第二完整数据包中的第二序号,为基站在当前承载中已经接收过的序号,则保存第二完整数据包中的上下文信息。由此,可以确保基站成功获取上下文信息,从而可以使得基站根据该上下文信息,对用户终端发送的压缩包进行正常的解压缩处理,保证数据的正常传输。The Ethernet frame header compression processing device of the embodiment of the present disclosure, when the base station obtains the packet data convergence protocol reconstruction request, if the transmission mode of the current session is the confirmation mode, and the configuration file meets the preset conditions, and the second sequence number in the second complete data packet obtained from the user terminal is the sequence number that the base station has received in the current bearer, then the context information in the second complete data packet is saved. In this way, it can be ensured that the base station successfully obtains the context information, so that the base station can perform normal decompression processing on the compressed packet sent by the user terminal according to the context information, thereby ensuring normal data transmission.

为了实现上述实施例,本公开还提出一种用户终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时,实现如本公开前述图1至图2实施例提出的以太帧包头压缩处理方法。In order to realize the above-mentioned embodiments, the present disclosure also proposes a user terminal, including: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, it implements the Ethernet frame header compression processing method proposed in the foregoing embodiments of FIGS. 1 to 2 of the present disclosure.

为了实现上述实施例,本公开还提出一种基站,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时,实现如本公开前述图3实施例提出的以太帧包头压缩处理方法。In order to implement the above embodiments, the present disclosure also proposes a base station, including: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, it implements the Ethernet frame packet header compression processing method as proposed in the aforementioned embodiment of FIG. 3 of the present disclosure.

为了实现上述实施例,本公开还提出另一种基站,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时,实现如本公开前述图4实施例提出的以太帧包头压缩处理方法。In order to implement the above embodiments, the present disclosure also proposes another base station, including: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, it implements the Ethernet frame header compression processing method as proposed in the embodiment of FIG. 4 mentioned above in the present disclosure.

为了实现上述实施例,本公开还提出一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如本公开前述图1至图2实施例提出的以太帧包头压缩处理方法,或者,实现如本公开前述图3实施例提出的以太帧包头压缩处理方法,或者,实现如本公开前述图4实施例提出的以太帧包头压缩处理方法。In order to realize the above-described embodiments, the present disclosure also proposes a computer-readable storage medium on which a computer program is stored. It is characterized in that, when the program is executed by a processor, it realizes the Ethernet frame header compression processing method proposed in the aforementioned embodiments of FIG. 1 to FIG.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In the description of this specification, descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features, structures, materials or characteristics described in conjunction with this embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing custom logical functions or steps of a process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order as the functions involved are understood by those skilled in the art to which embodiments of the present disclosure pertain.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,″计算机可读介质″可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器,可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered to be a sequenced listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in conjunction with an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus, or device and execute instructions). For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use in or in conjunction with an instruction execution system, device, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connections with one or more wires (electronic devices), portable computer disk cases (magnetic devices), random access memory (RAM), read-only memory, erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc ROMs. In addition, the computer readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be obtained electronically, for example, by optical scanning of the paper or other medium, followed by editing, interpretation, or other suitable processing as necessary, and then stored in the computer memory.

应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列,现场可编程门阵列等。本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。It should be understood that various parts of the present disclosure may be implemented in hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if it is implemented by hardware as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit with logic gate circuits for implementing logic functions on data signals, an application-specific integrated circuit with suitable combinational logic gate circuits, programmable gate arrays, field programmable gate arrays, etc. Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one of the steps of the method embodiments or a combination thereof.

此外,在本公开各个实施例中的各功能单元可集成在一个处理模块中,也可是各个单元单独物理存在,也可两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing module, or each unit may physically exist separately, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure, and those skilled in the art can make changes, modifications, replacements and modifications to the above embodiments within the scope of the present disclosure.

Claims (13)

1.一种以太帧包头压缩处理方法,应用于用户终端,其特征在于,包括:1. A method for compressing the header of an Ethernet frame, applied to a user terminal, is characterized in that, comprising: 在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;When the packet data convergence protocol reconstruction instruction is acquired, if the transmission mode of the current bearer is the confirmation mode, and the configuration file satisfies the preset condition, and the current bearer includes the preset data packet, then send at least one first complete data packet to the base station; 其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为所述用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为所述基站在承载中未接收过的任一序号;其中,所述第一序号包括所述用户终端未使用过的序号;Wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number, wherein the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, and the first sequence number is any sequence number that has not been received by the base station in the bearer; wherein the first sequence number includes a sequence number that has not been used by the user terminal; 其中,当所述至少一个第一完整数据包包括两个或以上第一完整数据包时,每个第一完整数据包中包括的所述第一序号不同。Wherein, when the at least one first complete data packet includes two or more first complete data packets, the first sequence numbers included in each first complete data packet are different. 2.如权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein 所述预设数据包,为所述用户终端在获取重建指令前发送失败的数据包,或者,为所述用户终端在获取重建指令时未获取到发送成功确认或未确认发送状态的数据包,或者,为所述用户终端在获取重建指令时或在获取重建指令之前丢失的数据包。The preset data packet is a data packet that the user terminal failed to send before obtaining the reconstruction instruction, or a data packet that the user terminal did not obtain a transmission success confirmation or an unconfirmed transmission status when obtaining the reconstruction instruction, or a data packet that was lost when the user terminal obtained the reconstruction instruction or before obtaining the reconstruction instruction. 3.如权利要求1所述的方法,其特征在于,所述配置文件满足预设条件,包括:3. The method according to claim 1, wherein the configuration file satisfies preset conditions, including: 所述配置文件中预设的配置参数未赋值;The preset configuration parameters in the configuration file are not assigned; 或者,or, 所述配置文件中预设的配置参数赋值为假。The preset configuration parameter in the configuration file is assigned a value of false. 4.如权利要求1所述的方法,其特征在于,所述向基站发送所述至少一个第一完整数据包之后,还包括:4. The method according to claim 1, wherein, after sending the at least one first complete data packet to the base station, further comprising: 若获取到所述基站发送的反馈包,则向所述基站发送压缩包,其中,所述压缩包中包括:上下文信息,所述上下文信息为所述用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息;If the feedback packet sent by the base station is acquired, a compressed packet is sent to the base station, wherein the compressed packet includes: context information, the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction; 其中,所述反馈包,为所述基站在确定收到包含上下文信息的完整数据包后发送的;或者,所述反馈包,为所述基站在保存上下文信息后发送的。Wherein, the feedback packet is sent by the base station after determining to receive a complete data packet including context information; or, the feedback packet is sent by the base station after saving the context information. 5.如权利要求1所述的方法,其特征在于,所述获取到分组数据汇聚协议重建指令之后,还包括:5. The method according to claim 1, further comprising: 在第一预设的时间间隔后,向所述基站发送压缩包,其中,所述压缩包中包括:上下文信息,所述上下文信息为所述用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息。After the first preset time interval, a compressed packet is sent to the base station, wherein the compressed packet includes: context information, the context information is the context information reset by the user terminal after acquiring the packet data convergence protocol reconstruction instruction. 6.如权利要求1-5任一项所述的方法,其特征在于,所述向基站发送所述至少一个第一完整数据包之后,还包括:6. The method according to any one of claims 1-5, wherein after sending the at least one first complete data packet to the base station, further comprising: 在发送分组数据汇聚协议重建完成消息第二预设的时间间隔后,向所述基站发送压缩包,其中,所述压缩包中包括上下文信息,所述上下文信息为所述用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息。After sending the packet data convergence protocol reconstruction completion message for a second preset time interval, sending a compressed packet to the base station, wherein the compressed packet includes context information, and the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction. 7.如权利要求1-5任一项所述的方法,其特征在于,所述第一序号为序列号;7. The method according to any one of claims 1-5, wherein the first serial number is a serial number; 或者,所述第一序号为计数。Alternatively, the first sequence number is a count. 8.一种以太帧包头压缩处理方法,应用于基站,其特征在于,包括:8. A method for compressing the header of an Ethernet frame, applied to a base station, is characterized in that, comprising: 在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的至少一个第一完整数据包中的第一序号,为所述基站在当前承载中未接收过的序号,则保存所述第一完整数据包中的上下文信息,以根据所述第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;When the packet data convergence protocol reconstruction request is obtained, if the transmission mode of the current session is confirmation mode, and the configuration file satisfies the preset condition, and the first sequence number in at least one first complete data packet obtained from the user terminal is a sequence number that has not been received by the base station in the current bearer, then saving the context information in the first complete data packet, so as to decompress the new compressed packet according to the context information in the first complete data packet; 其中,所述至少一个第一完整数据包为所述用户终端在获取到分组数据汇聚协议重建指令后向所述基站发送的,所述第一序号包括所述用户终端未使用过的序号;Wherein, the at least one first complete data packet is sent by the user terminal to the base station after obtaining the packet data convergence protocol reconstruction instruction, and the first sequence number includes a sequence number that has not been used by the user terminal; 其中,当所述至少一个第一完整数据包包括两个或以上第一完整数据包时,每个第一完整数据包中包括的所述第一序号不同。Wherein, when the at least one first complete data packet includes two or more first complete data packets, the first sequence numbers included in each first complete data packet are different. 9.一种以太帧包头压缩处理装置,设置于用户终端,其特征在于,包括:9. A device for compressing and processing Ethernet frame headers, which is arranged on a user terminal, is characterized in that, comprising: 发送模块,用于在获取到分组数据汇聚协议重建指令时,若当前承载的传输模式为确认模式、且配置文件满足预设条件、且当前承载中包括预设数据包,则向基站发送至少一个第一完整数据包;The sending module is configured to send at least one first complete data packet to the base station if the transmission mode of the current bearer is an acknowledgment mode, and the configuration file satisfies preset conditions, and the current bearer includes a preset data packet when the packet data convergence protocol reconstruction instruction is acquired; 其中,每个第一完整数据包,包括:上下文信息、未被压缩的包头信息及第一序号,其中,上下文信息,为所述用户终端在获取到分组数据汇聚协议重建指令后重置的上下文信息,第一序号为所述基站在承载中未接收过的任一序号;其中,所述第一序号包括所述用户终端未使用过的序号;Wherein, each first complete data packet includes: context information, uncompressed packet header information, and a first sequence number, wherein the context information is the context information reset by the user terminal after obtaining the packet data convergence protocol reconstruction instruction, and the first sequence number is any sequence number that has not been received by the base station in the bearer; wherein the first sequence number includes a sequence number that has not been used by the user terminal; 其中,当所述至少一个第一完整数据包包括两个或以上第一完整数据包时,每个第一完整数据包中包括的所述第一序号不同。Wherein, when the at least one first complete data packet includes two or more first complete data packets, the first sequence numbers included in each first complete data packet are different. 10.一种以太帧包头压缩处理装置,设置于基站,其特征在于,包括:10. A device for compressing and processing Ethernet frame headers, which is arranged at a base station, is characterized in that it comprises: 保存模块,用于在获取到分组数据汇聚协议重建请求时,若当前会话的传输模式为确认模式、且配置文件满足预设条件,且从用户终端获取的至少一个第一完整数据包中的第一序号,为所述基站在当前承载中未接收过的序号,则保存所述第一完整数据包中的上下文信息,以根据所述第一完整数据包中的上下文信息对新的压缩包进行解压缩处理;The saving module is configured to save the context information in the first complete data packet, so as to decompress the new compressed packet according to the context information in the first complete data packet, if the transmission mode of the current session is confirmation mode and the configuration file meets the preset conditions, and the first sequence number in at least one first complete data packet obtained from the user terminal is a sequence number that has not been received by the base station in the current bearer when the packet data convergence protocol reconstruction request is obtained; 其中,所述至少一个第一完整数据包为所述用户终端在获取到分组数据汇聚协议重建指令后向所述基站发送的;所述第一序号包括所述用户终端未使用过的序号;Wherein, the at least one first complete data packet is sent by the user terminal to the base station after obtaining the packet data convergence protocol reconstruction instruction; the first sequence number includes a sequence number that has not been used by the user terminal; 其中,当所述至少一个第一完整数据包包括两个或以上第一完整数据包时,每个第一完整数据包中包括的所述第一序号不同。Wherein, when the at least one first complete data packet includes two or more first complete data packets, the first sequence numbers included in each first complete data packet are different. 11.一种用户终端,其特征在于,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如权利要求1-7中任一项所述的以太帧包头压缩处理方法。11. A user terminal, comprising: a memory, a processor and a computer program stored on the memory and operable on the processor, when the processor executes the program, it realizes the Ethernet frame header compression processing method according to any one of claims 1-7. 12.一种基站,其特征在于,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如权利要求8所述的以太帧包头压缩处理方法。12. A base station, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the program, the Ethernet frame header compression processing method as claimed in claim 8 is realized. 13.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任一项所述的以太帧包头压缩处理方法,或者,实现如权利要求8所述的以太帧包头压缩处理方法。13. A computer-readable storage medium, on which a computer program is stored, it is characterized in that, when the program is executed by a processor, it realizes the Ethernet frame packet header compression processing method as described in any one of claims 1-7, or realizes the Ethernet frame packet header compression processing method as claimed in claim 8.
CN201980095284.8A 2019-09-30 2019-09-30 Ethernet frame packet header compression processing method and device, user terminal, base station and medium Active CN113711558B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/109580 WO2021062690A1 (en) 2019-09-30 2019-09-30 Ethernet frame packet header compression processing method and apparatus, user terminal, base station and medium

Publications (2)

Publication Number Publication Date
CN113711558A CN113711558A (en) 2021-11-26
CN113711558B true CN113711558B (en) 2023-07-25

Family

ID=75337629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980095284.8A Active CN113711558B (en) 2019-09-30 2019-09-30 Ethernet frame packet header compression processing method and device, user terminal, base station and medium

Country Status (2)

Country Link
CN (1) CN113711558B (en)
WO (1) WO2021062690A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841852A (en) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 Method, device and system for transmitting uplink data in cross-base station handover

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780296B (en) * 2004-11-26 2010-08-04 华为技术有限公司 A method to quickly restore the compression and decompression context
JP6240747B2 (en) * 2013-04-02 2017-11-29 エルジー エレクトロニクス インコーポレイティド Method and apparatus for performing a cell change procedure in a wireless communication system
CN109348508B (en) * 2013-11-11 2022-04-12 华为技术有限公司 Data transmission method and device
CN106332178B (en) * 2015-06-18 2019-12-13 中国移动通信集团公司 Method, device, user equipment and base station for IP protocol header compression
KR102772269B1 (en) * 2017-02-03 2025-02-25 삼성전자 주식회사 Method and apparatus for processing a security key in a handover using multiple connections in a mobile communication system
CN108632229B (en) * 2017-03-24 2020-07-07 电信科学技术研究院 Header compression method, header decompression method and device in multi-connection
CN107360592B (en) * 2017-07-05 2019-11-12 京信通信系统(中国)有限公司 PDCP downlink transmission method, device, storage medium and its computer equipment
AU2018298512B9 (en) * 2017-08-10 2020-01-16 Lg Electronics Inc. Method for performing a re-establishment of a PDCP entity associated with UM RLC entity in wireless communication system and a device therefor
KR102602207B1 (en) * 2017-09-18 2023-11-15 삼성전자주식회사 Method and apparatus of reestablishing pdcp entity for header compression protocol in wireless communication system
ES2906704T3 (en) * 2017-09-18 2022-04-20 Samsung Electronics Co Ltd Method and apparatus for processing a packet in a wireless communication system
CN109936864A (en) * 2017-12-19 2019-06-25 大唐移动通信设备有限公司 A kind of method and apparatus across building head compressed context in the switching of station

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841852A (en) * 2009-03-20 2010-09-22 中兴通讯股份有限公司 Method, device and system for transmitting uplink data in cross-base station handover

Also Published As

Publication number Publication date
CN113711558A (en) 2021-11-26
WO2021062690A1 (en) 2021-04-08

Similar Documents

Publication Publication Date Title
JP7138738B2 (en) Method and apparatus for reconfiguring bearers
US7564851B2 (en) Apparatus and method for moving a receive window in a radio access network
CN101385375B (en) Link layer entity configuring technology for switching
US8400982B2 (en) Method for handling correctly received but header compression failed packets
EP2136501B1 (en) Method of delivering a PDCP data unit to an upper layer
WO2019095989A1 (en) Processing method and device for cache synchronous exception
WO2018196491A1 (en) Method and apparatus for decompressing and compressing uplink data
JP2004080752A (en) Timer processing method after rlc reset or reconstruction in wireless communication system
KR20090031239A (en) How to handle a packet that was successfully received but failed to decompress the header
CN103973414B (en) A kind of data transmission method and device
CN102413506B (en) Compression method and device
CN107645746B (en) A context update method, system and device
CN107172649A (en) A kind of data transmission method and equipment
CN111510419A (en) Data compression method and base station
KR20170004598A (en) Method and apparatus for communicating packets using header compression
WO2020010511A1 (en) Data transmission method and base station
JP7087020B2 (en) Call execution method and device using LTE system
WO2021244191A1 (en) Method and device for implementing mutual switching between 4g and 5g networks and storage medium
WO2012108215A1 (en) Communication system, transmission control device, and transmission control method
CN101605355B (en) A ROHC hybrid working method for LTE-advanced network relay nodes
WO2013001838A1 (en) Reception device, transmission device, and feedback method
CN115334588A (en) Data transmission method and device
CN101127715B (en) Reliability Guarantee Method for Packet Transmission in Simple Network Management Protocol
CN113711558B (en) Ethernet frame packet header compression processing method and device, user terminal, base station and medium
CN114126084A (en) Data processing method, base station, terminal and storage medium

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