WO2016188233A1 - Data packet processing method, device, communication system and computer storage medium - Google Patents

Data packet processing method, device, communication system and computer storage medium Download PDF

Info

Publication number
WO2016188233A1
WO2016188233A1 PCT/CN2016/078496 CN2016078496W WO2016188233A1 WO 2016188233 A1 WO2016188233 A1 WO 2016188233A1 CN 2016078496 W CN2016078496 W CN 2016078496W WO 2016188233 A1 WO2016188233 A1 WO 2016188233A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
data packet
time window
timing advance
tproc
Prior art date
Application number
PCT/CN2016/078496
Other languages
French (fr)
Chinese (zh)
Inventor
居文涛
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016188233A1 publication Critical patent/WO2016188233A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes

Definitions

  • the present invention relates to the field of communications, and in particular, to a data packet processing method and apparatus, a communication system, and a computer storage medium.
  • UMTS Universal Mobile Telecommunications System
  • RNC Radio Network Controller
  • NodeB a wireless base station in a third generation UMTS mobile communication system
  • the data is transmitted according to the Iub interface protocol.
  • the data may be delayed due to physical factors or other problems during the transmission process.
  • the UMTS system considers the time window adjustment, the delay jitter is large, and the adjustment is not timely or adjusted. Deviation may cause a certain amount of packet loss, which in turn affects business performance.
  • the time that the frame data (FP, Frame Packet) packet arrives at the NodeB should be processed in advance (Tproc, Processing time before transmission on air-interface) ms, and the system can process normally.
  • the Tproc is equal to the NodeB processing FP packet.
  • the time is usually set by the system device.
  • chip offset chip offset, referred to as code offset
  • the arrival time of the FP packet is relatively late, even if the receiving time of the FP packet falls to the receiving window, if the arrival time (TOA) , Time Of Arrival) is small, the data does not arrive at the NodeB in advance Tproc ms, which causes the NodeB to fail to correctly process the packet data.
  • the NodeB will not adjust the time to the RNC, and the data packet loss will occur. May cause dropped calls.
  • the embodiment of the invention provides a data packet processing method and device, a communication system and a computer storage medium, so as to solve the problem that the FP packet caused by the system device setting Tproc cannot be processed normally due to the large code size.
  • an embodiment of the present invention provides a data packet processing method, including:
  • the arrival time of the frame data packet received through the transmission channel is calculated according to the timing advance, and the frame data packet is processed according to the arrival time.
  • processing the frame data packet according to the arrival time comprises: determining whether the frame data packet arrives within the time window according to the arrival time, and if not, discarding the frame data packet.
  • the method further includes: transmitting, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
  • the method further includes: when the time window parameter and the code offset change, acquiring the new time advance amount by using the changed time window parameter and the code offset calculation.
  • the method further comprises: when the new timing advance is greater than the timing advance, replacing the timing advance with the new timing advance.
  • the method further includes: acquiring a time T1 from the start of processing a radio frame to the air interface, and a frame length T2 of a radio frame in the communication system;
  • the time window parameter includes a time window start time TOAWS, a time window end time TOAWE, and a code
  • the offset is chipoffset;
  • an embodiment of the present invention provides a data packet processing apparatus, including:
  • Obtaining a module configured to acquire a time window parameter of the transport channel, and obtain a code offset of a physical channel carrying the transport channel;
  • a calculation module configured to calculate a time advance of the transmission channel according to the time window parameter and the code offset
  • the processing module is configured to calculate an arrival time of the frame data packet received through the transmission channel according to the timing advance, and process the frame data packet according to the arrival time.
  • the processing module is configured to determine whether the frame data packet arrives within the time window according to the arrival time, and if not, discard the frame data packet.
  • the processing module is further configured to send, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
  • the calculation module is further configured to acquire a new timing advance by using the changed time window parameter and the code offset calculation when the time window parameter and the code offset change.
  • the calculation module is further configured to replace the timing advance with the new timing advance if the new timing advance is greater than the timing advance.
  • the obtaining module is further configured to acquire a time T1 of the base station from the processing of one radio frame to the air interface, and a frame length T2 of a radio frame in the communication system;
  • the time window parameter includes a time window start time TOAWS and a time window end time TOAWE
  • the code offset is chipoffset;
  • an embodiment of the present invention provides a communication system, including a base station and a wireless network.
  • the controller, and the packet processing apparatus provided by the embodiment of the present invention are configured to process a frame data packet received by the base station from the radio network controller by using a data packet processing apparatus.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores executable instructions, and the executable instructions are used to execute a data packet processing method provided by an embodiment of the present invention.
  • An embodiment of the present invention provides a data packet processing method, which acquires a time window parameter of a transport channel, carries a code offset of a physical channel of a transport channel, and calculates a time advancement Tproc of the transport channel according to a time window parameter and a code offset, such that Tproc is related to the parameters of each transmission channel.
  • the Tproc calculation result will be obtained according to the parameters of different transmission channels, which is more accurate than the existing method of setting Tproc by the system equipment, and solves the problem that the existing system equipment is used to set Tproc.
  • the problem that the FP packet with a large code offset cannot be processed normally.
  • FIG. 1 is a schematic structural diagram of a data packet processing apparatus according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a data packet processing method according to a second embodiment of the present invention.
  • FIG. 3 is a flowchart of a data packet processing method according to a third embodiment of the present invention.
  • FIG. 4 is a schematic diagram of Tproc calculation conditions in the 3GPP TS25.402 protocol.
  • FIG. 1 is a schematic structural diagram of a data packet processing apparatus according to a first embodiment of the present invention. As shown in FIG. 1 , in the embodiment, the data packet processing apparatus 1 includes:
  • the obtaining module 11 is configured to acquire a time window parameter of the transport channel and carry the transport channel
  • the code offset of the channel (the mapping relationship between the transport channel and the physical channel);
  • the calculating module 12 is configured to calculate a timing advance of the transmission channel according to the time window parameter and the code offset;
  • the processing module 13 is configured to calculate an arrival time of the frame data packet received through the transmission channel according to the timing advance, and process the frame data packet according to the arrival time.
  • the processing module 13 in the above embodiment is configured to determine whether the frame data packet arrives within the time window according to the arrival time, and if not, discard the frame data packet.
  • the processing module 13 in the foregoing embodiment is further configured to send, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
  • the calculation module 12 in the above embodiment is further configured to acquire a new timing advance using the changed time window parameter and the code offset calculation when the time window parameter and the code offset change.
  • the calculation module 12 in the above embodiment is further configured to replace the timing advance with the new timing advance if the new timing advance is greater than the timing advance.
  • the obtaining module 11 in the foregoing embodiment is further configured to acquire a time T1 from the start of processing a radio frame to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window.
  • the embodiment of the present invention provides a communication system, which includes a base station and a radio network controller, and the data packet processing apparatus 1 provided by the embodiment of the present invention, which utilizes data packet processing.
  • the device processes the frame data packet received by the base station from the radio network controller.
  • the data packet processing device 1 can be used as a hardware device independent of the base station and the radio network controller, and can also be coupled to the radio network controller to become a wireless device.
  • a functional module of the network controller for processing frame data packets received by the radio network controller.
  • FIG. 2 is a flowchart of a data packet processing method according to a second embodiment of the present invention. As shown in FIG. 2, in the embodiment, the data packet processing method includes the following steps:
  • S201 Obtain a time window parameter of a transport channel, and carry a code offset of a physical channel of the transport channel;
  • S203 Calculate an arrival time of a frame data packet received through the transmission channel according to the timing advance, and process the frame data packet according to the arrival time.
  • processing the frame data packet according to the arrival time in the foregoing embodiment includes: determining, according to the arrival time, whether the frame data packet arrives within the time window, and if not, discarding the frame data packet.
  • the method in the foregoing embodiment further includes: sending, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
  • the method in the foregoing embodiment further includes: when the time window parameter and the code offset change, acquiring the new timing advance using the changed time window parameter and the code offset calculation.
  • the method in the above embodiment further includes: when the new timing advance is greater than the timing advance, replacing the timing advance with the new timing advance.
  • the method in the foregoing embodiment further includes: acquiring a time T1 from the start of processing a radio frame to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window start time.
  • the obtaining module 11, the calculating module 12 and the processing module 13 described in the above embodiments are partitioning of the data packet processing device at the functional module level.
  • the above modules may be implemented by independent hardware and coupled to perform cooperation.
  • the above processing; or, may be implemented by the same hardware, for example, by a microprocessor (MCU), a logic programmable gate array (FPGA), or the like.
  • MCU microprocessor
  • FPGA logic programmable gate array
  • the embodiment provides a method for dynamically calculating Tproc according to TOAWE/TOAWS.
  • TOA Time Of Arrival
  • LTOA Latest Time Of Arrival
  • TOAWS TOA window starting endpoint
  • TOAWE is the end point of the TOA window; according to the calculation condition of the Tproc, in one embodiment, the TACT of each transmission bearer is calculated by using the TOAWS/TOAWE of the dedicated transport channel and the common transport channel, and the chipoffset of the physical channel carrying the transport channel. , including the following steps:
  • the NodeB records the TOAWS, TOAWE, and chipoffset parameters of each transport channel, and each transport channel corresponds to a LinkId;
  • the NodeB For each transport channel, the NodeB calculates Tproc based on the recorded transport channel parameters, which is calculated as:
  • Tproc MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+ ⁇ T3;
  • T1 is the time from the time when the NodeB processes data of one radio frame to the time of sending to the air interface, and the unit is ms;
  • T2 is equal to 10, which is a frame length of one radio frame in the WCDMA system equal to 10 ms;
  • ⁇ T3 is reserved for the NodeB processing. It is necessary to ensure that the data of one slot at the end of each frame may be processed in the next frame header. Therefore, according to the task cycle executed by the software, an additional time margin is required, and the unit is Ms. For example, the task execution period is less than 1ms, calculated by 1ms. If it exceeds 1ms, but less than 2ms, take 2ms. In short, ⁇ T3 is rounded up.
  • Tproc can be set smaller, it is a value according to chipoffset changes.
  • the FP packet with the arrival time of TOA Late cannot be processed. Only the packet adjustment time is used to make the RNC retransmit the packet time.
  • the TOA Late packet is Can be processed normally, and will also be accompanied by time adjustment frame transmission.
  • variable Tproc is recorded under each transport bearer.
  • the Tproc value is calculated and then the data falling within the time window is processed according to the actual transmission situation.
  • the data packet processing method provided in this embodiment includes the following steps:
  • the base station acquires a transmission channel parameter.
  • the NodeB saves the transmission channel related parameters in the received NBAP (NodeB Application Part, Node B Application Part Protocol) signaling, TOAWS, TOAWE, Chipoffset, each transport channel corresponds to a transport bearer line identifier.
  • NBAP NodeB Application Part, Node B Application Part Protocol
  • the NodeB calculates a Tproc of the transport channel.
  • the TNB MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE)+ ⁇ T3 sequentially calculates the value of Tproc of each transmission channel.
  • S303 The NodeB dynamically calculates the Tproc of the transport channel.
  • the NodeB updates TOAWS, TOAWE, and chipoffset, and needs to recalculate the value of Tproc.
  • S304 The NodeB processes the data packet according to the Tproc.
  • the NodeB When receiving the FP packet of the Iub interface, the NodeB calculates the arrival time of the data packet according to the Tproc, and determines whether the received data packet is in the time window; if yes, it processes normally; if in the Late interval, the NodeB sends the time adjustment to the RNC in time. Control the frame to ensure that the subsequent data is adjusted forward and try to fall. Within the time window; if in the Too late interval, the NodeB discards the FP packet without affecting normal data transmission.
  • the embodiment of the invention provides a computer storage medium, which can be implemented as: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk or a magnetic disk. And other various media that can store program code, the computer storage medium storing executable instructions for causing the processor to execute the data packet processing method shown in FIG. 2 or FIG.
  • the foregoing storage medium includes: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk.
  • RAM random access memory
  • ROM read-only memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making
  • a computer device (which may be a personal computer, server, or network device, etc.) performs all of the methods described in various embodiments of the present invention or section.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided in an embodiment of the present invention are a data packet processing method, device, communication system and computer storage medium. The method comprises: acquiring a time window parameter of a transmission channel, and acquiring an offset of a physical channel carrying the transmission channel; according to the time window parameter and the offset, calculating a timing advance of the transmission channel; calculating, according to the timing advance, an arrival time of a frame data packet received via the transmission channel, and processing the frame data packet according to the arrival time.

Description

数据包处理方法、装置及通信系统、计算机存储介质Data packet processing method, device and communication system, computer storage medium 技术领域Technical field
本发明涉及通信领域,尤其涉及一种数据包处理方法、装置及通信系统、计算机存储介质。The present invention relates to the field of communications, and in particular, to a data packet processing method and apparatus, a communication system, and a computer storage medium.
背景技术Background technique
在第三代环球移动通信系统(UMTS,Universal Mobile Telecommunications System,)移动通信系统中,无线网络控制器(RNC,Radio Network Controller)与NodeB(第三代UMTS移动通信系统中的无线基站)间的数据按照Iub口协议进行传输,数据在传输过程中可能会因为物理因素或其他问题,导致数据延时较大,虽然UMTS系统考虑了时间窗调整,但时延抖动较大,调整不及时或者调整偏差,可能会造成一定程度的丢包,进而影响业务性能。In a third generation Universal Mobile Telecommunications System (UMTS) mobile communication system, between a Radio Network Controller (RNC) and a NodeB (a wireless base station in a third generation UMTS mobile communication system) The data is transmitted according to the Iub interface protocol. The data may be delayed due to physical factors or other problems during the transmission process. Although the UMTS system considers the time window adjustment, the delay jitter is large, and the adjustment is not timely or adjusted. Deviation may cause a certain amount of packet loss, which in turn affects business performance.
UMTS系统中要求帧数据(FP,Frame Packet)包到达NodeB的时间应该提前时间提前量(Tproc,Processing time before transmission on air-interface)ms,系统才能正常的处理,其中的Tproc等于NodeB处理FP包的时间,一般由系统设备设定。在实际应用中,当物理信道存在码片偏移(chipoffset,简称为码偏)比较大的情况,FP包的到达时间比较晚,即使FP包的接收时间落到了接收窗,若到达时间(TOA,Time Of Arrival)很小,数据也并未提前Tproc ms到达NodeB,从而导致NodeB无法正确帧处理该包数据,此时NodeB也不会发时间调整给RNC,结果就会发生数据丢包,严重可能导致掉话。In the UMTS system, the time that the frame data (FP, Frame Packet) packet arrives at the NodeB should be processed in advance (Tproc, Processing time before transmission on air-interface) ms, and the system can process normally. The Tproc is equal to the NodeB processing FP packet. The time is usually set by the system device. In practical applications, when the physical channel has a chip offset (chip offset, referred to as code offset), the arrival time of the FP packet is relatively late, even if the receiving time of the FP packet falls to the receiving window, if the arrival time (TOA) , Time Of Arrival) is small, the data does not arrive at the NodeB in advance Tproc ms, which causes the NodeB to fail to correctly process the packet data. At this time, the NodeB will not adjust the time to the RNC, and the data packet loss will occur. May cause dropped calls.
综上,如何解决采用系统设备设定Tproc、从而导致FP包因码偏较大而无法被正常处理的问题,尚无有效解决方案。 In summary, how to solve the problem that the system device is used to set Tproc, which causes the FP packet to be processed due to the large code size, has no effective solution.
发明内容Summary of the invention
本发明实施例提供了一种数据包处理方法、装置及通信系统、计算机存储介质,以解决现有采用系统设备设定Tproc导致的FP包因码偏较大而无法正常处理的问题。The embodiment of the invention provides a data packet processing method and device, a communication system and a computer storage medium, so as to solve the problem that the FP packet caused by the system device setting Tproc cannot be processed normally due to the large code size.
第一方面,本发明实施例提供了一种数据包处理方法,其包括:In a first aspect, an embodiment of the present invention provides a data packet processing method, including:
获取传输信道的时间窗参数,获取承载传输信道的物理信道的码偏(chipoffset);Obtaining a time window parameter of the transport channel, and acquiring a code offset of a physical channel carrying the transport channel;
根据时间窗参数及码偏,计算传输信道的时间提前量(Tproc);Calculating the time advance of the transmission channel (Tproc) according to the time window parameter and the code offset;
根据时间提前量计算通过传输信道所接收的帧数据包的到达时间,根据到达时间处理帧数据包。The arrival time of the frame data packet received through the transmission channel is calculated according to the timing advance, and the frame data packet is processed according to the arrival time.
优选地,根据到达时间处理帧数据包包括:根据到达时间判断帧数据包是否在时间窗内到达,若否,则丢弃帧数据包。Preferably, processing the frame data packet according to the arrival time comprises: determining whether the frame data packet arrives within the time window according to the arrival time, and if not, discarding the frame data packet.
优选地,在丢弃帧数据包之后,还包括:向无线网络控制器发送配置为调整帧数据包发送时间的发送时间调整控制帧。Preferably, after the frame data packet is discarded, the method further includes: transmitting, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
优选地,还包括:当时间窗参数及码偏发生变化时,利用变化后的时间窗参数及码偏计算获取新时间提前量。Preferably, the method further includes: when the time window parameter and the code offset change, acquiring the new time advance amount by using the changed time window parameter and the code offset calculation.
优选地,还包括:若新时间提前量大于时间提前量时,利用新时间提前量替换时间提前量时。Preferably, the method further comprises: when the new timing advance is greater than the timing advance, replacing the timing advance with the new timing advance.
优选地,还包括:获取基站从处理一个无线帧开始至发送到空口的时间T1、通信系统内一个无线帧的帧长T2;时间窗参数包括时间窗开始时间TOAWS、时间窗结束时间TOAWE,码偏为chipoffset;根据时间窗参数及码偏,计算传输信道的时间提前量包括:利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE),计算时间提前量Tproc。Preferably, the method further includes: acquiring a time T1 from the start of processing a radio frame to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window start time TOAWS, a time window end time TOAWE, and a code The offset is chipoffset; according to the time window parameter and the code offset, calculating the time advance of the transmission channel includes: calculating the timing advance Tproc by using the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE).
优选地,还包括:根据任务周期确定时间余量ΔT3;根据时间窗参数及码偏,计算传输信道的时间提前量包括:利用公式Tproc=MAX(T1,T2 +(T2*ChipOffset/38400)-TOAWE)+ΔT3,计算时间提前量Tproc。Preferably, the method further includes: determining a time margin ΔT3 according to the task period; and calculating a time advance of the transmission channel according to the time window parameter and the code offset, including: using a formula Tproc=MAX(T1, T2) +(T2*ChipOffset/38400)-TOAWE)+ΔT3, calculate the timing advance Tproc.
第二方面,本发明实施例提供了一种数据包处理装置,其包括:In a second aspect, an embodiment of the present invention provides a data packet processing apparatus, including:
获取模块,配置为获取传输信道的时间窗参数,获取承载传输信道的物理信道的码偏;Obtaining a module, configured to acquire a time window parameter of the transport channel, and obtain a code offset of a physical channel carrying the transport channel;
计算模块,配置为根据时间窗参数及码偏,计算传输信道的时间提前量;a calculation module configured to calculate a time advance of the transmission channel according to the time window parameter and the code offset;
处理模块,配置为根据时间提前量计算通过传输信道所接收的帧数据包的到达时间,根据到达时间处理帧数据包。The processing module is configured to calculate an arrival time of the frame data packet received through the transmission channel according to the timing advance, and process the frame data packet according to the arrival time.
优选地,处理模块配置为根据到达时间判断帧数据包是否在时间窗内到达,若否,则丢弃帧数据包。Preferably, the processing module is configured to determine whether the frame data packet arrives within the time window according to the arrival time, and if not, discard the frame data packet.
优选地,处理模块在丢弃帧数据包之后,还配置为向无线网络控制器发送配置为调整帧数据包发送时间的发送时间调整控制帧。Preferably, after the frame data packet is discarded, the processing module is further configured to send, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
优选地,计算模块还配置为当时间窗参数及码偏发生变化时,利用变化后的时间窗参数及码偏计算获取新时间提前量。Preferably, the calculation module is further configured to acquire a new timing advance by using the changed time window parameter and the code offset calculation when the time window parameter and the code offset change.
优选地,计算模块还配置为若新时间提前量大于时间提前量时,利用新时间提前量替换时间提前量时。Preferably, the calculation module is further configured to replace the timing advance with the new timing advance if the new timing advance is greater than the timing advance.
优选地,获取模块还配置为获取基站从处理一个无线帧开始至发送到空口的时间T1、通信系统内一个无线帧的帧长T2;时间窗参数包括时间窗开始时间TOAWS、时间窗结束时间TOAWE,码偏为chipoffset;计算模块配置为利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE),计算时间提前量Tproc。Preferably, the obtaining module is further configured to acquire a time T1 of the base station from the processing of one radio frame to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window start time TOAWS and a time window end time TOAWE The code offset is chipoffset; the calculation module is configured to calculate the timing advance Tproc by using the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE).
优选地,获取模块还配置为根据任务周期确定时间余量ΔT3;计算模块配置为利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3,计算时间提前量Tproc。Preferably, the acquisition module is further configured to determine a time margin ΔT3 according to the task period; the calculation module is configured to calculate the timing advance Tproc using the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3.
第三方面,本发明实施例提供了一种通信系统,包括基站及无线网络 控制器,以及本发明实施例提供的数据包处理装置,利用数据包处理装置配置为处理所述基站从所述无线网络控制器接收到的帧数据包。In a third aspect, an embodiment of the present invention provides a communication system, including a base station and a wireless network. The controller, and the packet processing apparatus provided by the embodiment of the present invention, are configured to process a frame data packet received by the base station from the radio network controller by using a data packet processing apparatus.
第四方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令用于执行本本发明实施例提供的数据包处理方法。In a fourth aspect, an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores executable instructions, and the executable instructions are used to execute a data packet processing method provided by an embodiment of the present invention.
本发明实施例的有益效果:Advantageous effects of embodiments of the present invention:
本发明实施例提供了一种数据包处理方法,获取传输信道的时间窗参数,承载传输信道的物理信道的码偏,并根据时间窗参数及码偏,计算传输信道的时间提前量Tproc,这样Tproc都是与各传输信道的参数相关,Tproc计算结果将根据不同传输信道的参数获得,与现有由系统设备设定Tproc的方式相比,更准确,解决了现有采用系统设备设定Tproc导致的码偏较大的FP包无法正常处理的问题。An embodiment of the present invention provides a data packet processing method, which acquires a time window parameter of a transport channel, carries a code offset of a physical channel of a transport channel, and calculates a time advancement Tproc of the transport channel according to a time window parameter and a code offset, such that Tproc is related to the parameters of each transmission channel. The Tproc calculation result will be obtained according to the parameters of different transmission channels, which is more accurate than the existing method of setting Tproc by the system equipment, and solves the problem that the existing system equipment is used to set Tproc. The problem that the FP packet with a large code offset cannot be processed normally.
附图说明DRAWINGS
图1为本发明实施例第一实施例提供的数据包处理装置的结构示意图;1 is a schematic structural diagram of a data packet processing apparatus according to a first embodiment of the present invention;
图2为本发明实施例第二实施例提供的数据包处理方法的流程图;2 is a flowchart of a data packet processing method according to a second embodiment of the present invention;
图3为本发明实施例第三实施例提供的数据包处理方法的流程图;FIG. 3 is a flowchart of a data packet processing method according to a third embodiment of the present invention;
图4为3GPP TS25.402协议中Tproc计算条件示意图。4 is a schematic diagram of Tproc calculation conditions in the 3GPP TS25.402 protocol.
具体实施方式detailed description
现通过具体实施方式结合附图的方式对本发明实施例做出进一步诠释说明。The embodiments of the present invention will be further explained by way of specific embodiments in conjunction with the accompanying drawings.
第一实施例:First embodiment:
图1为本发明实施例第一实施例提供的数据包处理装置的结构示意图,由图1可知,在本实施例中,提供的数据包处理装置1包括:FIG. 1 is a schematic structural diagram of a data packet processing apparatus according to a first embodiment of the present invention. As shown in FIG. 1 , in the embodiment, the data packet processing apparatus 1 includes:
获取模块11,配置为获取传输信道的时间窗参数,承载传输信道的物 理信道的码偏(传输信道与物理信道之间存在映射关系);The obtaining module 11 is configured to acquire a time window parameter of the transport channel and carry the transport channel The code offset of the channel (the mapping relationship between the transport channel and the physical channel);
计算模块12,配置为根据时间窗参数及码偏,计算传输信道的时间提前量;The calculating module 12 is configured to calculate a timing advance of the transmission channel according to the time window parameter and the code offset;
处理模块13,配置为根据时间提前量计算通过传输信道所接收的帧数据包的到达时间,根据到达时间处理帧数据包。The processing module 13 is configured to calculate an arrival time of the frame data packet received through the transmission channel according to the timing advance, and process the frame data packet according to the arrival time.
在一些实施例中,上述实施例中的处理模块13配置为根据到达时间判断帧数据包是否在时间窗内到达,若否,则丢弃帧数据包。In some embodiments, the processing module 13 in the above embodiment is configured to determine whether the frame data packet arrives within the time window according to the arrival time, and if not, discard the frame data packet.
在一些实施例中,上述实施例中的处理模块13在丢弃帧数据包之后,还配置为向无线网络控制器发送配置为调整帧数据包发送时间的发送时间调整控制帧。In some embodiments, after the frame data packet is discarded, the processing module 13 in the foregoing embodiment is further configured to send, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
在一些实施例中,上述实施例中的计算模块12还配置为当时间窗参数及码偏发生变化时,利用变化后的时间窗参数及码偏计算获取新时间提前量。In some embodiments, the calculation module 12 in the above embodiment is further configured to acquire a new timing advance using the changed time window parameter and the code offset calculation when the time window parameter and the code offset change.
在一些实施例中,上述实施例中的计算模块12还配置为若新时间提前量大于时间提前量时,利用新时间提前量替换时间提前量时。In some embodiments, the calculation module 12 in the above embodiment is further configured to replace the timing advance with the new timing advance if the new timing advance is greater than the timing advance.
在一些实施例中,上述实施例中的获取模块11还配置为获取基站从处理一个无线帧开始至发送到空口的时间T1、通信系统内一个无线帧的帧长T2;时间窗参数包括时间窗开始时间TOAWS、时间窗结束时间TOAWE,码偏为chipoffset;计算模块12配置为利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE),计算时间提前量Tproc。In some embodiments, the obtaining module 11 in the foregoing embodiment is further configured to acquire a time T1 from the start of processing a radio frame to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window. Start time TOAWS, time window end time TOAWE, code offset is chipoffset; calculation module 12 is configured to calculate the timing advance Tproc using the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE).
在一些实施例中,上述实施例中的获取模块11还配置为根据任务周期确定时间余量ΔT3;计算模块12配置为利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3,计算时间提前量Tproc。In some embodiments, the acquisition module 11 in the above embodiment is further configured to determine a time margin ΔT3 according to a task period; the calculation module 12 is configured to utilize the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE) +ΔT3, calculate the timing advance Tproc.
对应的,本发明实施例提供了一种通信系统,其中,包括基站及无线网络控制器,以及本发明实施例提供的数据包处理装置1,利用数据包处理 装置处理基站从无线网络控制器接收到的帧数据包,实际实施中,数据包处理装置1可以作为独立于基站和无线网络控制器的硬件设备,当然也可以耦合入无线网络控制器而成为无线网络控制器的一个功能模块,用于对无线网络控制器接收的帧数据包进行处理。Correspondingly, the embodiment of the present invention provides a communication system, which includes a base station and a radio network controller, and the data packet processing apparatus 1 provided by the embodiment of the present invention, which utilizes data packet processing. The device processes the frame data packet received by the base station from the radio network controller. In actual implementation, the data packet processing device 1 can be used as a hardware device independent of the base station and the radio network controller, and can also be coupled to the radio network controller to become a wireless device. A functional module of the network controller for processing frame data packets received by the radio network controller.
第二实施例:Second embodiment:
图2为本发明第二实施例提供的数据包处理方法的流程图,由图2可知,在本实施例中,数据包处理方法包括以下步骤:FIG. 2 is a flowchart of a data packet processing method according to a second embodiment of the present invention. As shown in FIG. 2, in the embodiment, the data packet processing method includes the following steps:
S201:获取传输信道的时间窗参数,承载传输信道的物理信道的码偏;S201: Obtain a time window parameter of a transport channel, and carry a code offset of a physical channel of the transport channel;
S202:根据时间窗参数及码偏,计算传输信道的时间提前量;S202: Calculate a time advance of the transmission channel according to the time window parameter and the code offset;
S203:根据时间提前量计算通过传输信道所接收的帧数据包的到达时间,根据到达时间处理帧数据包。S203: Calculate an arrival time of a frame data packet received through the transmission channel according to the timing advance, and process the frame data packet according to the arrival time.
在一些实施例中,上述实施例中的根据到达时间处理帧数据包包括:根据到达时间判断帧数据包是否在时间窗内到达,若否,则丢弃帧数据包。In some embodiments, processing the frame data packet according to the arrival time in the foregoing embodiment includes: determining, according to the arrival time, whether the frame data packet arrives within the time window, and if not, discarding the frame data packet.
在一些实施例中,上述实施例中的方法在丢弃帧数据包之后,还包括:向无线网络控制器发送配置为调整帧数据包发送时间的发送时间调整控制帧。In some embodiments, after the method of discarding the frame data packet, the method in the foregoing embodiment further includes: sending, to the radio network controller, a transmission time adjustment control frame configured to adjust a frame data packet transmission time.
在一些实施例中,上述实施例中的方法还包括:当时间窗参数及码偏发生变化时,利用变化后的时间窗参数及码偏计算获取新时间提前量。In some embodiments, the method in the foregoing embodiment further includes: when the time window parameter and the code offset change, acquiring the new timing advance using the changed time window parameter and the code offset calculation.
在一些实施例中,上述实施例中的方法还包括:若新时间提前量大于时间提前量时,利用新时间提前量替换时间提前量时。In some embodiments, the method in the above embodiment further includes: when the new timing advance is greater than the timing advance, replacing the timing advance with the new timing advance.
在一些实施例中,上述实施例中的方法还包括:获取基站从处理一个无线帧开始至发送到空口的时间T1、通信系统内一个无线帧的帧长T2;时间窗参数包括时间窗开始时间TOAWS、时间窗结束时间TOAWE,码偏为chipoffset;根据时间窗参数及码偏,计算传输信道的时间提前量包括:利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE),计 算时间提前量Tproc。In some embodiments, the method in the foregoing embodiment further includes: acquiring a time T1 from the start of processing a radio frame to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window start time. TOAWS, time window end time TOAWE, code offset is chipoffset; according to the time window parameter and code offset, calculating the time advance of the transmission channel includes: using the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE), Count Calculate the time advance Tproc.
在一些实施例中,上述实施例中的方法还包括:根据任务周期确定时间余量ΔT3;根据时间窗参数及码偏,计算传输信道的时间提前量包括:利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3,计算时间提前量Tproc。In some embodiments, the method in the foregoing embodiment further includes: determining a time margin ΔT3 according to the task period; and calculating a time advance of the transmission channel according to the time window parameter and the code offset, including: using a formula Tproc=MAX(T1, T2+ (T2*ChipOffset/38400)-TOAWE)+ΔT3, calculate the timing advance Tproc.
现结合具体应用场景对本发明实施例做优选地诠释说明。The embodiments of the present invention are preferably explained in conjunction with specific application scenarios.
上述实施例中记载的获取模块11、计算模块12和处理模块13是对数据包处理装置在功能模块层面的划分,实际实施中,上述的模块可以分别由独立的硬件实现并进行耦合以协同进行上述的处理;或者,可以由同一硬件实现,例如,可以由微处理器(MCU)、逻辑可编程门阵列(FPGA)等实现。The obtaining module 11, the calculating module 12 and the processing module 13 described in the above embodiments are partitioning of the data packet processing device at the functional module level. In actual implementation, the above modules may be implemented by independent hardware and coupled to perform cooperation. The above processing; or, may be implemented by the same hardware, for example, by a microprocessor (MCU), a logic programmable gate array (FPGA), or the like.
第三实施例:Third embodiment:
针对现有技术中存在的Tproc设定方式单一且不准确的问题,本实施例提供了一种根据TOAWE/TOAWS动态计算Tproc的方法。In view of the problem that the Tproc setting mode existing in the prior art is single and inaccurate, the embodiment provides a method for dynamically calculating Tproc according to TOAWE/TOAWS.
图4为3GPP TS25.402协议中Tproc计算条件示意图,在图4中,TOA为到达时间(Time Of Arrival),LTOA为最迟到达时间(Latest Time Of Arrival),TOAWS为TOA窗口起始端点,TOAWE为TOA窗口结束端点;根据该Tproc的计算条件可知,在一个实施例中,利用专用传输信道和公用传输信道的TOAWS/TOAWE,及承载传信道的物理信道的chipoffset计算每条传输承载的Tproc,包含以下步骤:4 is a schematic diagram of Tproc calculation conditions in the 3GPP TS25.402 protocol. In FIG. 4, TOA is Time Of Arrival, LTOA is Latest Time Of Arrival, and TOAWS is TOA window starting endpoint. TOAWE is the end point of the TOA window; according to the calculation condition of the Tproc, in one embodiment, the TACT of each transmission bearer is calculated by using the TOAWS/TOAWE of the dedicated transport channel and the common transport channel, and the chipoffset of the physical channel carrying the transport channel. , including the following steps:
NodeB记录每条传输信道的TOAWS、TOAWE、chipoffset参数,每条传输信道都会对应一个LinkId;The NodeB records the TOAWS, TOAWE, and chipoffset parameters of each transport channel, and each transport channel corresponds to a LinkId;
针对每一条传输信道,NodeB根据记录的传输信道参数计算Tproc,其计算方法为:For each transport channel, the NodeB calculates Tproc based on the recorded transport channel parameters, which is calculated as:
Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+Δ T3;Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+Δ T3;
其中,among them,
T1为NodeB从处理一个无线帧的数据开始到发送至空口的时间,单位为ms;T1 is the time from the time when the NodeB processes data of one radio frame to the time of sending to the air interface, and the unit is ms;
T2等于10,为WCDMA系统中一个无线帧的帧长等于10ms;T2 is equal to 10, which is a frame length of one radio frame in the WCDMA system equal to 10 ms;
ΔT3为NodeB处理预留的余量,需要保证每帧最后会有1个时隙的数据可能在下一帧帧头才被处理,所以根据软件执行的任务周期,需要额外增加时间余量,单位为ms。如:任务执行周期不足1ms,按1ms计算,如果超过1ms,但不足2ms,取2ms,总之,ΔT3向上圆整。ΔT3 is reserved for the NodeB processing. It is necessary to ensure that the data of one slot at the end of each frame may be processed in the next frame header. Therefore, according to the task cycle executed by the software, an additional time margin is required, and the unit is Ms. For example, the task execution period is less than 1ms, calculated by 1ms. If it exceeds 1ms, but less than 2ms, take 2ms. In short, ΔT3 is rounded up.
从原理上来看,在chipoffset比较小的情况下,Tproc可以设置的小一些,它是一个根据chipoffset变化的值。chipoffset比较大的情况下,到达时间为TOA Late的FP包就无法处理了,只有通过时间调整帧使RNC再发的包时间上靠前一点,在chipoffset比较小的情况下,TOA Late的包是可以正常处理的,并且也会伴有时间调整帧的发送。根据公式计算Tproc值,再加ΔT3ms的余量,只要计算出来的Tproc大于预先设定的值,就立即对Tproc进行更新,确保下一次落在时间窗边缘的数据能够被正确处理,而不会造成丢包。In principle, in the case of a small chipoffset, Tproc can be set smaller, it is a value according to chipoffset changes. In the case of a large chipoffset, the FP packet with the arrival time of TOA Late cannot be processed. Only the packet adjustment time is used to make the RNC retransmit the packet time. In the case where the chipoffset is small, the TOA Late packet is Can be processed normally, and will also be accompanied by time adjustment frame transmission. Calculate the Tproc value according to the formula, plus the margin of ΔT3ms. As long as the calculated Tproc is greater than the preset value, the Tproc is updated immediately to ensure that the data that falls on the edge of the time window can be processed correctly without Causes packet loss.
在实际应用中,在每个传输承载下面下记录变量Tproc,在每个传输承载建立的时候,进行计算得出这个Tproc值,然后根据实际传输情况,对落在时间窗内的数据进行处理。In practical applications, the variable Tproc is recorded under each transport bearer. When each transport bearer is established, the Tproc value is calculated and then the data falling within the time window is processed according to the actual transmission situation.
具体的,如图3所示,在本实施例中提供的数据包处理方法包括以下步骤:Specifically, as shown in FIG. 3, the data packet processing method provided in this embodiment includes the following steps:
S301:基站获取传输信道参数。S301: The base station acquires a transmission channel parameter.
NodeB保存所接收到的NBAP(NodeB Application Part,Iub信令协议中NodeB应用部分协议)信令中传输信道相关参数,TOAWS、TOAWE、 chipoffset,每条传输信道对应一个传输承载线路标识。The NodeB saves the transmission channel related parameters in the received NBAP (NodeB Application Part, Node B Application Part Protocol) signaling, TOAWS, TOAWE, Chipoffset, each transport channel corresponds to a transport bearer line identifier.
S302:NodeB计算传输信道的Tproc。S302: The NodeB calculates a Tproc of the transport channel.
NodeB根据本实施例提供的Tproc的计算方法,Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3,依次计算出各传输信道的Tproc的值。According to the calculation method of Tproc provided by this embodiment, the TNB=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3 sequentially calculates the value of Tproc of each transmission channel.
例如,某一传输信道的相关参数为:T1=11ms,T2=10ms,ΔT3=1ms,TOAWE=4ms,chipoffset=27904,则计算出的Tproc=14ms。那么NodeB收到每个传输信道从Iub口发过来的包后,从开始经过下行编码处理后再到发送到空口的时间为14ms。For example, the relevant parameters of a certain transmission channel are: T1=11ms, T2=10ms, ΔT3=1ms, TOAWE=4ms, chipoffset=27904, then the calculated Tproc=14ms. Then, after the NodeB receives the packet sent from the Iub interface for each transport channel, the time from the start of the downlink encoding process to the transmission to the air interface is 14 ms.
在实际应用中,如果不加入chipoffset使用动态计算方法,强制Tproc=T1,则TOA比实际偏大,那么理论上落在时间窗TOAWE之外的包,在空口时间CFN其实已经超过了,仍然会被当做有效数据处理,会与正常达到的数据包CFN重叠,造成空口同一CFN有两帧数据,终端接收数据后解析出错,影响业务。如果加入chipoffset经过计算,Tproc=14ms,对数据包的到达时间判断更精准,已经严重到达较晚(Too late)的FP包被丢弃,不影响后面正常的数据发送。同时,在检测到数据包的到达时间在Toa Late区间后,NodeB及时向RNC发送时间调整控制帧,保证后续数据向前调整,尽量落在时间窗之内。In practical applications, if you do not add chipoffset to use the dynamic calculation method, forcing Tproc=T1, then the TOA is larger than the actual one, then the packet that theoretically falls outside the time window TOAWE, in fact, the CFN in the air interface time has actually exceeded, still As the effective data processing, it will overlap with the normally reached data packet CFN, causing the air interface to have two frames of data in the same CFN. After receiving the data, the terminal parses the error and affects the service. If the chipoffset is added, Tproc=14ms, the packet arrival time is judged more accurately, and the oo packet that has reached the late (Too late) is discarded, which does not affect the normal data transmission. At the same time, after detecting the arrival time of the data packet in the Toa Late interval, the NodeB sends a time adjustment control frame to the RNC in time to ensure that the subsequent data is adjusted forward and falls within the time window as much as possible.
S303:NodeB动态计算传输信道的Tproc。S303: The NodeB dynamically calculates the Tproc of the transport channel.
如果因业务改变,RNC和NodeB之间的传输信道参数发生改变,NodeB更新TOAWS、TOAWE、chipoffset,需要重新计算Tproc的值。If the traffic channel parameters between the RNC and the NodeB change due to service changes, the NodeB updates TOAWS, TOAWE, and chipoffset, and needs to recalculate the value of Tproc.
S304:NodeB根据Tproc处理数据包。S304: The NodeB processes the data packet according to the Tproc.
NodeB在接收到Iub口的FP包时,根据Tproc计算数据包的到达时间,判断收到的数据包是否在时间窗内;若是,则正常处理;若在Late区间,NodeB及时向RNC发送时间调整控制帧,保证后续数据向前调整,尽量落 在时间窗之内;若在Too late区间,NodeB将FP包丢弃,不影响后面正常的数据发送。When receiving the FP packet of the Iub interface, the NodeB calculates the arrival time of the data packet according to the Tproc, and determines whether the received data packet is in the time window; if yes, it processes normally; if in the Late interval, the NodeB sends the time adjustment to the RNC in time. Control the frame to ensure that the subsequent data is adjusted forward and try to fall. Within the time window; if in the Too late interval, the NodeB discards the FP packet without affecting normal data transmission.
本发明实施例提供一种计算机存储介质,计算机存储介质可以实施为:移动存储设备、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质,计算机存储介质中存储有可执行指令,可执行指令用于引起处理器执行图2或图3示出的数据包处理方法。The embodiment of the invention provides a computer storage medium, which can be implemented as: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk or a magnetic disk. And other various media that can store program code, the computer storage medium storing executable instructions for causing the processor to execute the data packet processing method shown in FIG. 2 or FIG.
综上可知,通过本发明实施例,至少存在以下有益效果:In summary, through the embodiments of the present invention, at least the following beneficial effects exist:
获取传输信道的时间窗参数,承载传输信道的物理信道的码偏,并根据时间窗参数及码偏,计算传输信道的时间提前量Tproc,这样Tproc都是与各传输信道的参数相关,Tproc计算结果将根据不同传输信道的参数获得,与现有由系统设备设定Tproc的方式相比,更准确,解决了现有采用系统设备设定Tproc导致的码偏较大的FP包无法正常处理的问题。Obtaining the time window parameter of the transmission channel, carrying the code offset of the physical channel of the transmission channel, and calculating the time advancement Tproc of the transmission channel according to the time window parameter and the code offset, so that Tproc is related to the parameters of each transmission channel, and Tproc is calculated. The result is obtained according to the parameters of different transmission channels, which is more accurate than the existing method of setting Tproc by the system equipment, and solves the problem that the existing FP packet with large code offset caused by the system device setting Tproc cannot be processed normally. problem.
本领域的技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be completed by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk. A medium that can store program code.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或 部分。而前述的存储介质包括:移动存储设备、RAM、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making A computer device (which may be a personal computer, server, or network device, etc.) performs all of the methods described in various embodiments of the present invention or section. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (16)

  1. 一种数据包处理方法,包括:A data packet processing method includes:
    获取传输信道的时间窗参数,获取承载所述传输信道的物理信道的码偏;Obtaining a time window parameter of the transport channel, and acquiring a code offset of a physical channel carrying the transport channel;
    根据所述时间窗参数及所述码偏,计算所述传输信道的时间提前量;Calculating a timing advance of the transmission channel according to the time window parameter and the code offset;
    根据所述时间提前量计算通过所述传输信道所接收的帧数据包的到达时间,根据所述到达时间处理所述帧数据包。Calculating an arrival time of a frame data packet received through the transmission channel according to the timing advance, and processing the frame data packet according to the arrival time.
  2. 如权利要求1所述的数据包处理方法,其中,所述根据所述到达时间处理所述帧数据包包括:根据所述到达时间判断所述帧数据包是否在时间窗内到达,若否,则丢弃所述帧数据包。The data packet processing method according to claim 1, wherein the processing the frame data packet according to the arrival time comprises: determining, according to the arrival time, whether the frame data packet arrives within a time window, and if not, Then the frame data packet is discarded.
  3. 如权利要求2所述的数据包处理方法,其中,在丢弃所述帧数据包之后,还包括:向无线网络控制器发送配置为调整所述帧数据包发送时间的发送时间调整控制帧。The data packet processing method according to claim 2, further comprising, after discarding the frame data packet, transmitting, to the radio network controller, a transmission time adjustment control frame configured to adjust a transmission time of the frame data packet.
  4. 如权利要求1所述的数据包处理方法,其中,还包括:当所述时间窗参数及所述码偏发生变化时,利用变化后的时间窗参数及码偏计算获取新时间提前量。The data packet processing method according to claim 1, further comprising: obtaining a new timing advance by using the changed time window parameter and the code offset calculation when the time window parameter and the code offset change.
  5. 如权利要求4所述的数据包处理方法,其中,还包括:若所述新时间提前量大于所述时间提前量时,利用所述新时间提前量替换所述时间提前量。The packet processing method according to claim 4, further comprising: replacing said timing advance with said new timing advance if said new timing advance is greater than said timing advance.
  6. 如权利要求1至5任一项所述的数据包处理方法,其中,还包括:The data packet processing method according to any one of claims 1 to 5, further comprising:
    获取基站从处理一个无线帧开始至发送到空口的时间T1、通信系统内一个无线帧的帧长T2;所述时间窗参数包括时间窗开始时间TOAWS、时间窗结束时间TOAWE,所述码偏为chipoffset;Obtaining a time T1 of the base station from processing a radio frame to being sent to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window start time TOAWS and a time window end time TOAWE, where the code offset is Chipoffset;
    所述根据所述时间窗参数及所述码偏,计算所述传输信道的时间提前量包括:利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)- TOAWE),计算所述时间提前量Tproc。Calculating the time advance of the transmission channel according to the time window parameter and the code offset includes: using a formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)- TOAWE), the time advance amount Tproc is calculated.
  7. 如权利要求6所述的数据包处理方法,其中,还包括:根据任务周期确定时间余量ΔT3;所述根据所述时间窗参数及所述码偏,计算所述传输信道的时间提前量包括:利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3,计算所述时间提前量Tproc。The data packet processing method according to claim 6, further comprising: determining a time margin ΔT3 according to the task period; calculating the time advance amount of the transmission channel according to the time window parameter and the code offset, The time advance amount Tproc is calculated using the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3.
  8. 一种数据包处理装置,包括:A data packet processing apparatus includes:
    获取模块,配置为获取传输信道的时间窗参数,获取承载所述传输信道的物理信道的码偏;An acquiring module, configured to acquire a time window parameter of a transport channel, and obtain a code offset of a physical channel that carries the transport channel;
    计算模块,配置为根据所述时间窗参数及所述码偏,计算所述传输信道的时间提前量;a calculation module, configured to calculate a timing advance of the transmission channel according to the time window parameter and the code offset;
    处理模块,配置为根据所述时间提前量计算通过所述传输信道所接收的帧数据包的到达时间,根据所述到达时间处理所述帧数据包。And a processing module, configured to calculate, according to the timing advance, an arrival time of a frame data packet received through the transport channel, and process the frame data packet according to the arrival time.
  9. 如权利要求8所述的数据包处理装置,其中,所述处理模块配置为根据所述到达时间判断所述帧数据包是否在时间窗内到达,若否,则丢弃所述帧数据包。The packet processing apparatus according to claim 8, wherein said processing module is configured to determine whether said frame data packet arrives within a time window based on said arrival time, and if not, discard said frame data packet.
  10. 如权利要求9所述的数据包处理装置,其中,所述处理模块在丢弃所述帧数据包之后,还配置为向无线网络控制器发送配置为调整所述帧数据包发送时间的发送时间调整控制帧。The packet processing apparatus according to claim 9, wherein said processing module, after discarding said frame data packet, is further configured to transmit to said radio network controller a transmission time adjustment configured to adjust said frame data packet transmission time Control frame.
  11. 如权利要求8所述的数据包处理装置,其中,所述计算模块还配置为当所述时间窗参数及所述码偏发生变化时,利用变化后的时间窗参数及码偏计算获取新时间提前量。The packet processing apparatus according to claim 8, wherein said calculation module is further configured to acquire a new time by using the changed time window parameter and the code offset calculation when said time window parameter and said code offset change Advance quantity.
  12. 如权利要求11所述的数据包处理装置,其中,所述计算模块还配置为若所述新时间提前量大于所述时间提前量时,利用所述新时间提前量替换所述时间提前量时。The packet processing device according to claim 11, wherein said calculation module is further configured to: when said new timing advance is greater than said timing advance, replace said timing advance with said new timing advance .
  13. 如权利要求8至12任一项所述的数据包处理装置,其中,所述获 取模块还配置为获取基站从处理一个无线帧开始至发送到空口的时间T1、通信系统内一个无线帧的帧长T2;所述时间窗参数包括时间窗开始时间TOAWS、时间窗结束时间TOAWE,所述码偏为chipoffset;所述计算模块配置为利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE),计算所述时间提前量Tproc。A packet processing device according to any one of claims 8 to 12, wherein said obtaining The fetching module is further configured to acquire a time T1 of the radio frame from the start of processing a radio frame to the air interface, and a frame length T2 of a radio frame in the communication system; the time window parameter includes a time window start time TOAWS and a time window end time TOAWE, The code offset is chipoffset; the calculation module is configured to calculate the timing advance Tproc by using the formula Tproc=MAX(T1, T2+(T2*ChipOffset/38400)-TOAWE).
  14. 如权利要求13所述的数据包处理装置,其中,所述获取模块还配置为根据任务周期确定时间余量ΔT3;所述计算模块配置为利用公式Tproc=MAX(T1,T2+(T2*ChipOffset/38400)-TOAWE)+ΔT3,计算所述时间提前量Tproc。The packet processing apparatus according to claim 13, wherein said acquisition module is further configured to determine a time margin ΔT3 according to a task period; said calculation module being configured to utilize a formula Tproc=MAX(T1, T2+(T2*ChipOffset/) 38400) - TOAWE) + ΔT3, the time advance amount Tproc is calculated.
  15. 一种通信系统,包括基站及无线网络控制器、以及如权利要求8至14任一项所述的数据包处理装置。A communication system comprising a base station and a radio network controller, and the packet processing apparatus according to any one of claims 8 to 14.
  16. 一种计算机存储介质,所述计算机存储介质中存储有可执行指令,所述可执行指令用于执行权利要求1至7任一项所述的数据包处理方法。 A computer storage medium having stored therein executable instructions for performing the data packet processing method of any one of claims 1 to 7.
PCT/CN2016/078496 2015-10-29 2016-04-05 Data packet processing method, device, communication system and computer storage medium WO2016188233A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510715926.3A CN106658596A (en) 2015-10-29 2015-10-29 Data packet processing method, data packet processing device, and communication system
CN201510715926.3 2015-10-29

Publications (1)

Publication Number Publication Date
WO2016188233A1 true WO2016188233A1 (en) 2016-12-01

Family

ID=57392446

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078496 WO2016188233A1 (en) 2015-10-29 2016-04-05 Data packet processing method, device, communication system and computer storage medium

Country Status (2)

Country Link
CN (1) CN106658596A (en)
WO (1) WO2016188233A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479536A (en) * 2003-04-11 2004-03-03 大唐移动通信设备有限公司 Method and device dfor realizing synchronization of interface business between base stution controller and base stations in radio commumnication system
CN1810053A (en) * 2003-06-25 2006-07-26 美商内数位科技公司 Method for downlink transmission synchronization and data buffer sizing in a radio access network
CN101652958A (en) * 2007-04-05 2010-02-17 艾利森电话股份有限公司 Method and arrangement in a telecommunication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479536A (en) * 2003-04-11 2004-03-03 大唐移动通信设备有限公司 Method and device dfor realizing synchronization of interface business between base stution controller and base stations in radio commumnication system
CN1810053A (en) * 2003-06-25 2006-07-26 美商内数位科技公司 Method for downlink transmission synchronization and data buffer sizing in a radio access network
CN101652958A (en) * 2007-04-05 2010-02-17 艾利森电话股份有限公司 Method and arrangement in a telecommunication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3RD GENERATION PARTNERSHIP PROJECT: "Synchronisation in UTRAN Stage 2", 3GPP TS 25.402 TECHNICAL SPECIFICATION GROUP RADIO ACCESS NETWORK, vol. V6.4.0, 30 September 2006 (2006-09-30), XP055333178 *

Also Published As

Publication number Publication date
CN106658596A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US10523352B2 (en) Forward error correction for incomplete blocks
US11418987B2 (en) Method for reporting latency of packet transmission in communication network
EP2564557B1 (en) Method for setting and adjusting a parameter dependent on a round trip time
EP3611955A1 (en) Method, device and system for sending and receiving data packet
US10602387B2 (en) Method, system and device for detecting a silence period status in a user equipment
CN107111280B (en) Communication device, time adjustment method and network system
WO2015170530A1 (en) Communication system
CA2694997A1 (en) Method and apparatus for transmission of circuit switched voice over packet switched networks
CN109863782B (en) 5G congestion control
WO2014098096A1 (en) Data transmission device, data transmission method, and program therefor
EP3952253A1 (en) Synchronization of time sensitive communication hold-and-forward buffers with time sensitive communication assistance information
Laner et al. Dissecting 3g uplink delay by measuring in an operational hspa network
CN109673021B (en) Service delay determining method
EP3720071A2 (en) Benchmarking of delay estimates in a 5g network for quality of service flow setup and monitoring
EP3977692B1 (en) Avoiding jitter in a communication system
EP1991013A1 (en) Method and device for broadcast synchronization in a network
JP2023509024A (en) Service quality and experience quality monitoring
WO2016188233A1 (en) Data packet processing method, device, communication system and computer storage medium
WO2014171543A1 (en) Data transmission device, data transmission method, and program therefor
CN108293210B (en) Cell switching method and equipment
KR20130091467A (en) Method for measuring traffic delay in client station using udp packets transmitted from server
CN111294864A (en) Wireless communication method and related wireless device
WO2018214610A1 (en) Method, device and system for sending and receiving data packet
CN111447026A (en) Method and apparatus for processing data
JP4534861B2 (en) Radio access network, radio network control apparatus, radio base station apparatus, and flow control method used therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16799122

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16799122

Country of ref document: EP

Kind code of ref document: A1