WO2018107925A1 - Data stream processing method and apparatus, and computer storage medium - Google Patents

Data stream processing method and apparatus, and computer storage medium Download PDF

Info

Publication number
WO2018107925A1
WO2018107925A1 PCT/CN2017/109993 CN2017109993W WO2018107925A1 WO 2018107925 A1 WO2018107925 A1 WO 2018107925A1 CN 2017109993 W CN2017109993 W CN 2017109993W WO 2018107925 A1 WO2018107925 A1 WO 2018107925A1
Authority
WO
WIPO (PCT)
Prior art keywords
data stream
node
data
level information
data packet
Prior art date
Application number
PCT/CN2017/109993
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 WO2018107925A1 publication Critical patent/WO2018107925A1/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/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data stream processing method and apparatus, and a computer storage medium.
  • the data flows with the same Quality of Service (QoS) requirements are aggregated into bearers, and the access network (AN, Access Network and the core network (CN, Core Network) handle QoS by bearer.
  • the access network includes an evolved base station (eNB) and a user equipment (UE, User Equipment).
  • eNB evolved base station
  • UE User Equipment
  • FIG. 1 the network side bearer on the S1 interface between the eNB and the core network and the radio bearer on the air interface between the eNB and the UE are 1:1.
  • the QoS policy is controlled by the core network.
  • the base station can only passively accept or reject the QoS parameters.
  • the base station cannot adjust the QoS parameters according to the actual wireless load, and the core network cannot know the current actual wireless load, so it is difficult to make a reasonable one. QoS decision making.
  • the fifth generation (5G, 5Generation) new technology research currently under development is aimed at improving the performance of 1000 times of network throughput, 100 times of device connection, and 10 times of low latency compared to 4G. This requires the 5G system to have a new and better QoS mechanism to a certain extent.
  • the 5G system will adopt a unified technology architecture to support enhanced mobile broadband (eMBB), massive machine type communication (mMTC), and high reliability and low latency communication (URLLC, Ultra Reliable and Low Latency). Communication) and other services.
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communication
  • URLLC Ultra Reliable and Low Latency
  • Communication Communication
  • the core network, base station and UE will all undergo major evolution.
  • FIG. 2 similar to the X2 interface between eNBs in a 4G system, in a 5G system, there may also be a direct interface between 5G base stations, which is referred to herein as an Xn interface.
  • the interface between the 5G base station and the 5G core network is referred to herein as an NG interface.
  • the access network's QoS processing will still be carried out under the concept of bearer.
  • the core network will adopt a new mechanism for the processing of QoS, and currently tends to adopt the feeling of flow.
  • Multiple streams (hereinafter referred to as data streams) in the core network can be mapped to a single bearer in the access network.
  • some data packets may be critical. Once lost, there may be a big impact. For example, some key data packets are dependent on multiple data packets. If the key data packets are lost, more Even if the packets are received, they cannot be parsed normally and can only be discarded passively.
  • the 5G system puts forward higher requirements for QoS. Therefore, how to improve the service quality of the data stream must be solved in the 5G system.
  • an embodiment of the present invention provides a data stream processing method and apparatus, and a computer storage medium.
  • the invention discloses a data stream processing method, which comprises:
  • the first node receives the data stream, and determines key level information of each data packet in the data stream;
  • the first node determines that the second node does not receive the data packet before the timer expires, the first node retransmits the data packet to the second node.
  • a receiving unit configured to receive a data stream
  • a determining unit configured to determine key level information of each data packet in the data stream
  • a setting unit configured to set a corresponding discarding timer for each of the data packets according to the key level information of each of the data packets
  • Activating unit configured to: when the data packet is sent to the second node, start a discarding timer corresponding to the data packet;
  • a retransmission unit configured to: if the first node determines that the second node does not receive the data packet before the timer expires, the first node resends the data packet to the Said second node.
  • the embodiment of the invention further provides a computer storage medium storing a computer program configured to execute the processing method of the data stream.
  • the first node receives the data stream, and determines key level information of each data packet in the data stream; the first node is used as the data according to the key level information of each data packet. Setting a corresponding discard timer; when the first node sends the data packet to the second node, starting a discard timer corresponding to the data packet; if the timer expires, the first The node determines that the second node does not receive the data packet, and the first node retransmits the data packet to the second node, and the data packet retransmission may be performed multiple times until After the timer expires, the packet will be discarded.
  • a corresponding discarding timer is set for each data packet according to the key level information of each data packet in the data stream, so as to ensure that the data packet with a higher critical level can be received by the receiving end to the maximum extent. Further improving the service quality of the data stream and improving the user's service Experience.
  • Figure 1 is a schematic diagram of a 4G system
  • FIG. 2 is a schematic diagram of a 5G system
  • FIG. 3 is a schematic flowchart 1 of a method for processing a data stream according to an embodiment of the present invention
  • FIG. 4 is a second schematic flowchart of a method for processing a data stream according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart 3 of a method for processing a data stream according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart 4 of a method for processing a data stream according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart 5 of a method for processing a data stream according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a data stream processing apparatus according to an embodiment of the present invention.
  • the first node receives the data stream generated by the second node or the local node, and respectively sets a corresponding discarding timer according to the key level information of each data packet in the data stream. The longer the longer the critical packet's drop timer is set, the more critical the packet will be discarded.
  • FIG. 3 is a schematic flowchart of a method for processing a data stream according to an embodiment of the present invention. As shown in FIG. 3, the method for processing the data stream includes the following steps:
  • Step 301 The first node receives the data stream, and determines key level information of each data packet in the data stream.
  • the first node receives the data stream, including:
  • the first node receives the data stream sent by the third node.
  • the first node receives the data stream generated by the local node.
  • the determining the level information of each data packet in the data stream includes: extracting key level information from each data packet in the data stream.
  • the key level information is represented by a predetermined number of bits.
  • 0 means a normal data packet
  • 1 means a key data packet
  • 00 means a normal data packet
  • 01, 10, and 11 indicate Critical data packets, and the criticality is increased in turn, that is, 11 is the highest critical level.
  • the determining the key level information of each data packet in the data stream includes: acquiring key level information of the data stream, and using the key level information of the data stream as the data stream Key level information for each packet in .
  • the first node receives a plurality of data streams generated by the second node or the local node, acquires key level information of each data stream, and sets corresponding data packets in each data stream according to key level information of each data stream. Discard the timer. For example, the longer the discard timer for packets belonging to a higher-priority data stream is set, to ensure that packets in the higher-level data stream are less discarded.
  • the obtaining key level information of the data stream includes:
  • the first node Before the first node receives the data stream, the first node acquires a mapping relationship between the data flow identifier and the key level information from the third node or the local node;
  • the first node determines the key level information corresponding to the received data stream according to the mapping relationship between the data stream identifier and the key level information.
  • the key level information of the data stream is obtained by the first node from the second node in advance, for example, the first node First receiving a control plane message from the second node (including a mapping relationship between the data flow identifier and the key level information) and saving the subsequent, when the first node receives the data stream from the second node, according to the data stream identifier from the saved The corresponding key level information is found in the information; or, when the first node receives the plurality of data streams generated by the node, the key level information of the data stream is generated and saved by the first node in advance.
  • Step 302 The first node sets a corresponding drop timer for each data packet according to the key level information of each data packet.
  • the key level information includes: a common level and a key level; wherein the length of the discard timer of the common level is less than the duration of the discard timer of the key level.
  • the key level includes a plurality of key sub-levels, wherein a discard timer having a lower key sub-level is smaller than a discard timer having a higher key sub-level.
  • the corresponding discard timer is set according to the key level information of each data packet in the data stream, or the corresponding discard timer is set for each data packet in each data stream according to the key level information of each data stream.
  • PDCP Packet Data Convergence Protocol
  • the key level information of the data packet and the key level information of the data flow may exist at the same time, or may exist independently, that is, only the key level information of the data packet exists or only the key level information of the data flow exists.
  • the discarding timer of each data packet is set based on two factors of the key level information of the data stream and the key level information of the data packet.
  • Step 303 When the first node sends the data packet to the second node, start a discard timer corresponding to the data packet.
  • Step 304 If the timer expires, the first node determines the second section If the data packet is not received, the first node retransmits the data packet to the second node.
  • the first node determines that the second node does not receive the data packet before the timer expires, the first node resends the data packet to the The second node, wherein the first node retransmits the data packet to the second node multiple times, and discards the data packet after the timer expires. In this way, it is ensured that the data packets with higher critical levels can be received by the receiving end to the greatest extent, which further improves the service quality of the data stream and improves the user experience.
  • a data stream processing method includes:
  • Step 1 The base station receives a data stream from the core network, and each data packet in the data stream is marked with key level information.
  • 00 is a normal data packet
  • 01, 10, and 11 are key data packets, and the critical degree is increased sequentially, that is, 11 is the highest key level.
  • Step 2 The PDCP entity of the base station sets different discard timers according to the key level information of the data packet when processing each data packet. For example, setting the discard timer of the key data packet with the highest critical level is the longest, which will be the key. The lowest level of normal packets has the shortest drop timer setting to ensure that packets with higher critical levels are not discarded.
  • Step 3 The base station sends a data packet to the UE, and sets a corresponding discarding timer according to the key level information for each sent data packet. Before the discarding timer expires, the UE does not acknowledge the received data packet, and the base station will The retransmission is performed to the UE, and the retransmission may be performed multiple times until the discard timer expires, and the corresponding packet is discarded.
  • Step 4 The UE receives the data packet, and the higher the key level, the more secure the data packet can be. Roger that.
  • a data stream processing method includes:
  • Step 1 The PDCP entity of the UE receives the data stream from the upper layer application of the UE, and each data packet in the data stream is marked with information of whether it is a key data packet.
  • one bit is used to represent key level information in the packet header, 0 is a normal packet, and 1 is a key packet.
  • Step 2 The PDCP entity of the UE sets different drop timers according to whether the data packet is a critical data packet when processing each data packet, for example, setting a discard timer of the critical data packet to be long enough to ensure that the critical data packet is not as high as possible. Will be discarded.
  • Step 3 The UE sends a data packet to the base station, and sets a corresponding discarding timer for each sent data packet. Before the discarding timer expires, the UE does not acknowledge the received data packet, and the UE retransmits the data packet to the base station. The retransmission may occur multiple times until the discard timer expires and the corresponding packet will be discarded.
  • Step 4 The base station receives the data stream, and the key data packets therein can be ensured to be received to the greatest extent.
  • a data stream processing method includes:
  • Step 1 The base station receives multiple data streams from the core network. For each data stream, the base station obtains key level information of the data stream according to the data flow identifier.
  • the base station has previously received the data flow key level information corresponding to each data flow identifier from the core network.
  • Step 2 The PDCP entity of the base station sets different discarding timers according to the key level information of the data stream to which the data packet belongs when processing each data packet, for example, setting a discard timer of a data packet belonging to a data stream with a higher critical level. The longer it is, the more packets in the data stream that are at the critical level are not discarded.
  • Step 3 The base station sends a data packet to the UE, and sets a corresponding discarding timer according to the key level of the data stream to which each sent data packet is sent. Before the discarding timer expires, the UE does not acknowledge the received data packet. The base station will resend to the UE, and the retransmission may be performed multiple times. After the drop timer expires, the corresponding data packet will be discarded.
  • Step 4 The UE receives the data packet, wherein the data packet in the data stream with higher key level can be ensured to be received.
  • a data stream processing method includes:
  • Step 1 The PDCP entity of the UE receives multiple data streams from the upper layer application of the UE. For each data stream, the UE obtains whether the data stream is a key data stream according to the data flow identifier.
  • the UE has previously stored information about whether the data stream corresponding to each data stream identifier is a key data stream.
  • Step 2 The PDCP entity of the UE sets different discarding timers according to whether the data packet belongs to the key data stream when processing each data packet, for example, setting the discard timer of the data packet belonging to the critical data stream long enough to ensure the data. The package will not be discarded as much as possible.
  • Step 3 The UE sends a data packet to the base station, and sets a corresponding discarding timer for each sent data packet. Before the drop timer expires, the UE does not acknowledge the received data packet, and the UE performs heavy weight on the base station. Sending, resending may occur multiple times, until the discard timer expires, the corresponding packet will be discarded.
  • Step 4 The base station receives the data stream, and the data packets in the key data stream can be ensured to be received to the greatest extent.
  • FIG. 8 is a schematic structural diagram of a data stream processing apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes:
  • the receiving unit 81 is configured to receive the data stream
  • a determining unit 82 configured to determine key level information of each data packet in the data stream
  • the setting unit 83 is configured to set a corresponding discarding timer for each of the data packets according to the key level information of the respective data packets;
  • the initiating unit 84 is configured to: when the data packet is sent to the second node, start a discarding timer corresponding to the data packet;
  • the retransmission unit 85 is configured to: if the first node determines that the second node does not receive the data packet before the timer expires, the first node resends the data packet to The second node.
  • the retransmission unit 85 is further configured to: retransmit the data packet to the second node multiple times, and discard the data packet after the timer expires.
  • the receiving unit 81 is further configured to: receive the data stream sent by the third node; or receive the data stream generated by the local node.
  • the determining unit 82 includes: an extracting subunit 821 configured to extract key level information from each data packet in the data stream.
  • the key level information is represented by a predetermined number of bits in a header of each data packet in the data stream.
  • the determining unit 82 includes: an obtaining subunit 822, configured to acquire key level information of the data stream, and use key level information of the data stream as a key of each data packet in the data stream. Level information.
  • the obtaining sub-unit 822 is further configured to: before receiving the data stream, obtain a mapping relationship between the data flow identifier and the key level information from the third node or the local node; when receiving the data During the flow, the key level information corresponding to the received data stream is determined according to the mapping relationship between the data flow identifier and the key level information.
  • the key level information includes: a common level and a key level; wherein the length of the discard timer of the common level is less than the duration of the discard timer of the key level.
  • the key level includes a plurality of key sub-levels, wherein the duration of the drop timer with a lower key sub-level is smaller than the duration of the discard timer with a higher key sub-level.
  • each unit in the processing unit of the data stream may be implemented by a central processing unit (CPU, Central Processing Unit) or a microprocessor (MPU, Micro) located in the processing unit of the data stream.
  • CPU Central Processing Unit
  • MPU Microprocessor
  • Processor Unit or digital signal processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA).
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded into a computer or other programmable data processing device Having a series of operational steps performed on a computer or other programmable device to produce computer-implemented processing such that instructions executed on a computer or other programmable device are provided for implementing one or more processes in a flowchart and/or Or block diagram the steps of a function specified in a box or multiple boxes.
  • an embodiment of the present invention further provides a computer storage medium, wherein a computer program is configured, and the computer program is configured to execute a data stream processing method according to an embodiment of the present invention.
  • the first node receives the data stream, and determines key level information of each data packet in the data stream; the first node is configured to use the key level information of each data packet as the each data packet.
  • Setting a corresponding discard timer when the first node sends the data packet to the second node, starting a discard timer corresponding to the data packet; if the timer is before the timer expires, the first node Determining that the second node does not receive the data packet, the first node resends the data packet to the second node, and the data packet retransmission may be performed multiple times until the After the timer expires, the packet will be discarded.
  • a corresponding discarding timer is set for each data packet according to the key level information of each data packet in the data stream, so as to ensure that the data packet with a higher critical level can be received by the receiving end to the maximum extent.
  • the service quality of the data stream is further improved, and the user experience is improved.

Abstract

Disclosed in the present invention are a data stream processing method and apparatus, and a computer storage medium. The method comprises: a first node receives a data stream, and determines key grade information of each data packet in the data stream; the first node sets a corresponding discard timer for each data packet according to the key grade information of each data packet; when the first node sends the data packet to a second node, the first node starts the discard timer corresponding to the data packet; and if the first node determines that the second node does not receive the data packet before the timer times out, the first node retransmits the data packet to the second node.

Description

一种数据流的处理方法及装置、计算机存储介质Data stream processing method and device, computer storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201611145977.8、申请日为2016年12月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 13, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种数据流的处理方法及装置、计算机存储介质。The present invention relates to the field of communications technologies, and in particular, to a data stream processing method and apparatus, and a computer storage medium.
背景技术Background technique
在第四代(4G,4Generation)如长期演进(LTE,Long Term Evolution)移动通信系统中,将具有相同服务质量(QoS,Quality of Service)要求的数据流聚合成承载,接入网(AN,Access Network)与核心网(CN,Core Network)对QoS的处理都是按承载进行的。4G系统中,接入网包括演进基站(eNB,evolved Node B)与用户设备(UE,User Equipment)。如图1所示,eNB与核心网间S1接口上的网络侧承载和eNB与UE间空口上的无线承载是1比1对应的。In the fourth generation (4G, 4Generation), such as the Long Term Evolution (LTE) mobile communication system, the data flows with the same Quality of Service (QoS) requirements are aggregated into bearers, and the access network (AN, Access Network and the core network (CN, Core Network) handle QoS by bearer. In the 4G system, the access network includes an evolved base station (eNB) and a user equipment (UE, User Equipment). As shown in FIG. 1 , the network side bearer on the S1 interface between the eNB and the core network and the radio bearer on the air interface between the eNB and the UE are 1:1.
4G系统中,QoS策略由核心网控制,基站只能被动地接受或拒绝QoS参数,基站无法根据实际无线负荷调整QoS参数,而核心网又无法获知当前实际无线负荷,因此较难做出合理的QoS决策。In the 4G system, the QoS policy is controlled by the core network. The base station can only passively accept or reject the QoS parameters. The base station cannot adjust the QoS parameters according to the actual wireless load, and the core network cannot know the current actual wireless load, so it is difficult to make a reasonable one. QoS decision making.
当前正大力展开的第五代(5G,5Generation)新技术研究,其目标是相比4G将有1000倍级网络吞吐量、100倍级设备连接数、10倍级低时延的性能提升。这在一定程度上要求5G系统具有新的更好的QoS机制。 The fifth generation (5G, 5Generation) new technology research currently under development is aimed at improving the performance of 1000 times of network throughput, 100 times of device connection, and 10 times of low latency compared to 4G. This requires the 5G system to have a new and better QoS mechanism to a certain extent.
5G 系统将采用一个统一的技术架构来支持增强移动宽带(eMBB,enhanced Mobile Broadband)、巨量机器类型通讯(mMTC,massive Machine Type Communication)、高可靠低时延通讯(URLLC,Ultra Reliable and Low Latency Communication)等业务。5G系统中,核心网、基站和UE都会做重大演进。如图2所示,类似于4G系统中eNB之间的X2接口,5G系统中,5G基站之间也可以有直接接口,这里称Xn接口。类似于4G系统中eNB与核心网间的S1接口,5G系统中,对于5G基站与5G核心网间的接口,这里称为NG接口。The 5G system will adopt a unified technology architecture to support enhanced mobile broadband (eMBB), massive machine type communication (mMTC), and high reliability and low latency communication (URLLC, Ultra Reliable and Low Latency). Communication) and other services. In the 5G system, the core network, base station and UE will all undergo major evolution. As shown in FIG. 2, similar to the X2 interface between eNBs in a 4G system, in a 5G system, there may also be a direct interface between 5G base stations, which is referred to herein as an Xn interface. Similar to the S1 interface between the eNB and the core network in the 4G system, in the 5G system, the interface between the 5G base station and the 5G core network is referred to herein as an NG interface.
根据目前业界对5G新技术的研究讨论,未来在5G系统中,接入网对QoS的处理仍将以承载的概念进行。但核心网对QoS的处理将采取新的机制,目前趋向于采用流的感念。核心网中的多个流(以下称数据流)可以映射到接入网中的单个承载。According to the current research and discussion on 5G new technologies in the industry, in the future 5G systems, the access network's QoS processing will still be carried out under the concept of bearer. However, the core network will adopt a new mechanism for the processing of QoS, and currently tends to adopt the feeling of flow. Multiple streams (hereinafter referred to as data streams) in the core network can be mapped to a single bearer in the access network.
在一个数据流中,有些数据包可能是至关重要的,一旦丢失可能会产生很大的影响,比如有的关键数据包是后续多个数据包的依赖,该关键数据包如丢失,后续多个数据包即使收到也无法正常解析也只能被动丢弃。5G系统对QoS提出了更高的要求,因而,如何提高数据流的服务质量在5G系统中是必须要得到解决的。In a data stream, some data packets may be critical. Once lost, there may be a big impact. For example, some key data packets are dependent on multiple data packets. If the key data packets are lost, more Even if the packets are received, they cannot be parsed normally and can only be discarded passively. The 5G system puts forward higher requirements for QoS. Therefore, how to improve the service quality of the data stream must be solved in the 5G system.
发明内容Summary of the invention
为解决上述技术问题,本发明实施例提供了一种数据流的处理方法及装置、计算机存储介质。To solve the above technical problem, an embodiment of the present invention provides a data stream processing method and apparatus, and a computer storage medium.
本发明公开了一种数据流的处理方法,包括:The invention discloses a data stream processing method, which comprises:
第一节点接收数据流,确定所述数据流中各个数据包的关键级别信息;The first node receives the data stream, and determines key level information of each data packet in the data stream;
所述第一节点根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器;Setting, by the first node, a corresponding discard timer for each data packet according to key level information of each data packet;
当所述第一节点向第二节点发送所述数据包时,启动与所述数据包相 应的丢弃定时器;When the first node sends the data packet to the second node, starting with the data packet Should discard timer;
如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点。If the first node determines that the second node does not receive the data packet before the timer expires, the first node retransmits the data packet to the second node.
本发明实施例提供的数据流的处理装置,包括:The device for processing a data stream provided by the embodiment of the present invention includes:
接收单元,配置为接收数据流,a receiving unit configured to receive a data stream,
确定单元,配置为确定所述数据流中各个数据包的关键级别信息;a determining unit configured to determine key level information of each data packet in the data stream;
设置单元,配置为根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器;a setting unit, configured to set a corresponding discarding timer for each of the data packets according to the key level information of each of the data packets;
启动单元,配置为当向第二节点发送所述数据包时,启动与所述数据包相应的丢弃定时器;Activating unit, configured to: when the data packet is sent to the second node, start a discarding timer corresponding to the data packet;
重发单元,配置为如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点。a retransmission unit, configured to: if the first node determines that the second node does not receive the data packet before the timer expires, the first node resends the data packet to the Said second node.
本发明实施例还提供一种计算机存储介质,该计算机存储介质存储有计算机程序,该计算机程序配置为执行上述数据流的处理方法。The embodiment of the invention further provides a computer storage medium storing a computer program configured to execute the processing method of the data stream.
本发明实施例的技术方案中,第一节点接收数据流,确定所述数据流中各个数据包的关键级别信息;所述第一节点根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器;当所述第一节点向第二节点发送所述数据包时,启动与所述数据包相应的丢弃定时器;如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点,所述数据包重发可能会进行多次,直到所述定时器超时后,所述数据包将被丢弃。采用本发明实施例的技术方案,依据数据流中各个数据包的关键级别信息为各个数据包设置相应的丢弃定时器,确保了关键级别较高的数据包能最大程度的被接收端接收到,进一步提高了数据流的服务质量,提升了用户的业务 体验。In the technical solution of the embodiment of the present invention, the first node receives the data stream, and determines key level information of each data packet in the data stream; the first node is used as the data according to the key level information of each data packet. Setting a corresponding discard timer; when the first node sends the data packet to the second node, starting a discard timer corresponding to the data packet; if the timer expires, the first The node determines that the second node does not receive the data packet, and the first node retransmits the data packet to the second node, and the data packet retransmission may be performed multiple times until After the timer expires, the packet will be discarded. According to the technical solution of the embodiment of the present invention, a corresponding discarding timer is set for each data packet according to the key level information of each data packet in the data stream, so as to ensure that the data packet with a higher critical level can be received by the receiving end to the maximum extent. Further improving the service quality of the data stream and improving the user's service Experience.
附图说明DRAWINGS
附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。The drawings generally illustrate the various embodiments discussed herein by way of example and not limitation.
图1为4G系统示意图;Figure 1 is a schematic diagram of a 4G system;
图2为5G系统示意图;2 is a schematic diagram of a 5G system;
图3为本发明实施例的数据流的处理方法的流程示意图一;3 is a schematic flowchart 1 of a method for processing a data stream according to an embodiment of the present invention;
图4为本发明实施例的数据流的处理方法的流程示意图二;4 is a second schematic flowchart of a method for processing a data stream according to an embodiment of the present invention;
图5为本发明实施例的数据流的处理方法的流程示意图三;FIG. 5 is a schematic flowchart 3 of a method for processing a data stream according to an embodiment of the present invention;
图6为本发明实施例的数据流的处理方法的流程示意图四;FIG. 6 is a schematic flowchart 4 of a method for processing a data stream according to an embodiment of the present invention;
图7为本发明实施例的数据流的处理方法的流程示意图五;FIG. 7 is a schematic flowchart 5 of a method for processing a data stream according to an embodiment of the present invention;
图8为本发明实施例的数据流的处理装置的结构组成示意图。FIG. 8 is a schematic structural diagram of a data stream processing apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
本发明实施例的技术方案中,第一节点接收来自第二节点的或本地节点产生的数据流,根据数据流中的每个数据包的关键级别信息分别设置相应的丢弃定时器。将越关键的数据包的丢弃定时器的时长设置的越长,以确保越关键的数据包越不会被丢弃。In the technical solution of the embodiment of the present invention, the first node receives the data stream generated by the second node or the local node, and respectively sets a corresponding discarding timer according to the key level information of each data packet in the data stream. The longer the longer the critical packet's drop timer is set, the more critical the packet will be discarded.
图3为本发明实施例的数据流的处理方法的流程示意图,如图3所示,所述数据流的处理方法包括以下步骤:FIG. 3 is a schematic flowchart of a method for processing a data stream according to an embodiment of the present invention. As shown in FIG. 3, the method for processing the data stream includes the following steps:
步骤301:第一节点接收数据流,确定所述数据流中各个数据包的关键级别信息。Step 301: The first node receives the data stream, and determines key level information of each data packet in the data stream.
本发明实施例中,所述第一节点接收数据流,包括: In the embodiment of the present invention, the first node receives the data stream, including:
第一节点接收第三节点发送的数据流;或者,The first node receives the data stream sent by the third node; or
第一节点接收本地节点产生的数据流。The first node receives the data stream generated by the local node.
在第一种实施方式中,所述确定所述数据流中各个数据包的关键级别信息,包括:从所述数据流中的各个数据包中提取关键级别信息。In a first implementation manner, the determining the level information of each data packet in the data stream includes: extracting key level information from each data packet in the data stream.
这里,在所述数据流中的各个数据包的包头中,通过预定数目的比特位来表示所述关键级别信息。Here, in the header of each packet in the data stream, the key level information is represented by a predetermined number of bits.
例如:用一个比特位表示关键级别信息时,0表示普通数据包,1表示关键数据包;再例如:用两个比特位表示关键级别信息时,00表示普通数据包,01、10、11表示关键数据包,且关键程度依次提高,即11为最高关键级别。For example, when a key bit is used to represent key level information, 0 means a normal data packet, 1 means a key data packet; for example, when two key bits are used to represent key level information, 00 means a normal data packet, and 01, 10, and 11 indicate Critical data packets, and the criticality is increased in turn, that is, 11 is the highest critical level.
在第二种实施方式中,所述确定所述数据流中各个数据包的关键级别信息,包括:获取所述数据流的关键级别信息,将所述数据流的关键级别信息作为所述数据流中各个数据包的关键级别信息。In the second implementation manner, the determining the key level information of each data packet in the data stream includes: acquiring key level information of the data stream, and using the key level information of the data stream as the data stream Key level information for each packet in .
这里,第一节点接收来自第二节点的或本节点产生的多个数据流,获取各数据流的关键级别信息,根据各数据流的关键级别信息分别为各数据流中的数据包设置相应的丢弃定时器。例如:将属于关键级别越高的数据流的数据包的丢弃定时器设置的越长,以确保越高关键级别的数据流中的数据包越不会被丢弃。Here, the first node receives a plurality of data streams generated by the second node or the local node, acquires key level information of each data stream, and sets corresponding data packets in each data stream according to key level information of each data stream. Discard the timer. For example, the longer the discard timer for packets belonging to a higher-priority data stream is set, to ensure that packets in the higher-level data stream are less discarded.
这里,所述获取所述数据流的关键级别信息,包括:Here, the obtaining key level information of the data stream includes:
在所述第一节点接收数据流之前,所述第一节点从所述第三节点中或者本地节点中获取数据流标识与关键级别信息的映射关系;Before the first node receives the data stream, the first node acquires a mapping relationship between the data flow identifier and the key level information from the third node or the local node;
当所述第一节点接收到数据流时,所述第一节点根据所述数据流标识与关键级别信息的映射关系,确定所接收到的数据流对应的关键级别信息。When the first node receives the data stream, the first node determines the key level information corresponding to the received data stream according to the mapping relationship between the data stream identifier and the key level information.
在一实施方式中,当第一节点接收来自第二节点的多个数据流时,数据流的关键级别信息由第一节点事先从第二节点获取,例如:第一节点事 先接收来自第二节点的控制面消息(包括数据流标识和关键级别信息的映射关系)并保存下来,后续当第一节点接收来自第二节点的数据流时,根据数据流标识从已保存的信息中找出对应的关键级别信息;或者,当第一节点接收来自本节点产生的多个数据流时,数据流的关键级别信息由第一节点事先产生并保存。In an embodiment, when the first node receives the plurality of data streams from the second node, the key level information of the data stream is obtained by the first node from the second node in advance, for example, the first node First receiving a control plane message from the second node (including a mapping relationship between the data flow identifier and the key level information) and saving the subsequent, when the first node receives the data stream from the second node, according to the data stream identifier from the saved The corresponding key level information is found in the information; or, when the first node receives the plurality of data streams generated by the node, the key level information of the data stream is generated and saved by the first node in advance.
步骤302:所述第一节点根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器。Step 302: The first node sets a corresponding drop timer for each data packet according to the key level information of each data packet.
本发明实施例中,所述关键级别信息包括:普通级别、关键级别;其中,所述普通级别的丢弃定时器的时长小于所述关键级别的丢弃定时器的时长。In the embodiment of the present invention, the key level information includes: a common level and a key level; wherein the length of the discard timer of the common level is less than the duration of the discard timer of the key level.
在一实施方式中,所述关键级别包括多个关键子级别,其中,关键子级别较低的丢弃定时器的时长小于关键子级别较高的丢弃定时器的时长。In an embodiment, the key level includes a plurality of key sub-levels, wherein a discard timer having a lower key sub-level is smaller than a discard timer having a higher key sub-level.
本发明实施例中,根据数据流中的每个数据包的关键级别信息分别设置相应的丢弃定时器或根据各数据流的关键级别信息分别为各数据流中的数据包设置相应的丢弃定时器,具体在第一节点的分组数据汇聚协议(PDCP,Packet Data Convergence Protocol)实体中实现。In the embodiment of the present invention, the corresponding discard timer is set according to the key level information of each data packet in the data stream, or the corresponding discard timer is set for each data packet in each data stream according to the key level information of each data stream. Specifically implemented in a Packet Data Convergence Protocol (PDCP) entity of the first node.
本发明实施例中,所述数据包的关键级别信息和所述数据流的关键级别信息可以同时存在,也可以独立存在,即只存在数据包的关键级别信息或者只存在数据流的关键级别信息。其中,当同时存在数据包的关键级别信息和数据流的关键级别信息时,基于数据流的关键级别信息和数据包的关键级别信息两个因素来设置各个数据包的丢弃定时器。In the embodiment of the present invention, the key level information of the data packet and the key level information of the data flow may exist at the same time, or may exist independently, that is, only the key level information of the data packet exists or only the key level information of the data flow exists. . Wherein, when the key level information of the data packet and the key level information of the data flow exist at the same time, the discarding timer of each data packet is set based on two factors of the key level information of the data stream and the key level information of the data packet.
步骤303:当所述第一节点向第二节点发送所述数据包时,启动与所述数据包相应的丢弃定时器。Step 303: When the first node sends the data packet to the second node, start a discard timer corresponding to the data packet.
这里,丢弃定时器启动时,便开始进行计时,直到定时器超时为止。Here, when the discard timer is started, timing is started until the timer expires.
步骤304:如果在所述定时器超时前,所述第一节点确定出所述第二节 点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点。Step 304: If the timer expires, the first node determines the second section If the data packet is not received, the first node retransmits the data packet to the second node.
本发明实施例中,如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点,其中,所述第一节点将所述数据包多次重发给所述第二节点,直到所述定时器超时后,将所述数据包丢弃。这样,确保了关键级别较高的数据包能最大程度的被接收端接收到,进一步提高了数据流的服务质量,提升了用户的业务体验。In the embodiment of the present invention, if the first node determines that the second node does not receive the data packet before the timer expires, the first node resends the data packet to the The second node, wherein the first node retransmits the data packet to the second node multiple times, and discards the data packet after the timer expires. In this way, it is ensured that the data packets with higher critical levels can be received by the receiving end to the greatest extent, which further improves the service quality of the data stream and improves the user experience.
下面结合具体应用场景对本发明实施例的技术方案做进一步描述。The technical solutions of the embodiments of the present invention are further described below in conjunction with specific application scenarios.
实施例一:参照图4,数据流的处理方法包括:Embodiment 1: Referring to FIG. 4, a data stream processing method includes:
步骤1、基站收到来自核心网的数据流,该数据流中的每个数据包均标有关键级别信息。 Step 1. The base station receives a data stream from the core network, and each data packet in the data stream is marked with key level information.
例如:在数据包的包头中用两个比特位表示关键级别信息,00表示普通数据包,01、10、11表示关键数据包,且关键程度依次提高,即11为最高关键级别。For example, two bits are used to represent key level information in the packet header, 00 is a normal data packet, and 01, 10, and 11 are key data packets, and the critical degree is increased sequentially, that is, 11 is the highest key level.
步骤2、基站的PDCP实体在处理各数据包时根据数据包的关键级别信息设置不同的丢弃定时器(discardTimer),如将关键级别最高的关键数据包的丢弃定时器设置的最长,将关键级别最低的普通数据包的丢弃定时器设置的最短,以确保关键级别越高的数据包越不会被丢弃。Step 2: The PDCP entity of the base station sets different discard timers according to the key level information of the data packet when processing each data packet. For example, setting the discard timer of the key data packet with the highest critical level is the longest, which will be the key. The lowest level of normal packets has the shortest drop timer setting to ensure that packets with higher critical levels are not discarded.
步骤3、基站向UE发送数据包,针对每个已发送的数据包根据其关键级别信息设置一个相应的丢弃定时器,在丢弃定时器超时前,未被UE确认收到的数据包,基站会向UE进行重发,重发可能会进行多次,直到丢弃定时器超时后,相应的数据包将被丢弃。Step 3: The base station sends a data packet to the UE, and sets a corresponding discarding timer according to the key level information for each sent data packet. Before the discarding timer expires, the UE does not acknowledge the received data packet, and the base station will The retransmission is performed to the UE, and the retransmission may be performed multiple times until the discard timer expires, and the corresponding packet is discarded.
步骤4、UE接收数据包,其中关键级别越高的数据包越能确保都可以 收到。Step 4: The UE receives the data packet, and the higher the key level, the more secure the data packet can be. Roger that.
实施例二:参照图5,数据流的处理方法包括:Embodiment 2: Referring to FIG. 5, a data stream processing method includes:
步骤1、UE的PDCP实体接收来自UE上层应用的数据流,该数据流中的每个数据包均标有是否为关键数据包的信息。 Step 1. The PDCP entity of the UE receives the data stream from the upper layer application of the UE, and each data packet in the data stream is marked with information of whether it is a key data packet.
例如:在数据包的包头中用一个比特位表示关键级别信息,0表示普通数据包,1表示关键数据包。For example, one bit is used to represent key level information in the packet header, 0 is a normal packet, and 1 is a key packet.
步骤2、UE的PDCP实体在处理各数据包时根据数据包是否为关键数据包设置不同的丢弃定时器,如将关键数据包的丢弃定时器设置的足够长,以确保关键数据包尽可能不会被丢弃。Step 2: The PDCP entity of the UE sets different drop timers according to whether the data packet is a critical data packet when processing each data packet, for example, setting a discard timer of the critical data packet to be long enough to ensure that the critical data packet is not as high as possible. Will be discarded.
步骤3、UE向基站发送数据包,针对每个已发送的数据包设置一个相应的丢弃定时器,在丢弃定时器超时前,未被基站确认收到的数据包,UE会向基站进行重发,重发可能会进行多次,直到丢弃定时器超时后,相应的数据包将被丢弃。Step 3: The UE sends a data packet to the base station, and sets a corresponding discarding timer for each sent data packet. Before the discarding timer expires, the UE does not acknowledge the received data packet, and the UE retransmits the data packet to the base station. The retransmission may occur multiple times until the discard timer expires and the corresponding packet will be discarded.
步骤4、基站接收数据流,其中的关键数据包能最大程度确保都可以收到。Step 4: The base station receives the data stream, and the key data packets therein can be ensured to be received to the greatest extent.
实施例三:参照图6,数据流的处理方法包括:Embodiment 3: Referring to FIG. 6, a data stream processing method includes:
步骤1、基站收到来自核心网的多个数据流,针对每个数据流,基站根据数据流标识获得该数据流的关键级别信息。 Step 1. The base station receives multiple data streams from the core network. For each data stream, the base station obtains key level information of the data stream according to the data flow identifier.
这里,基站之前已经从核心网收到各数据流标识所对应的数据流关键级别信息。Here, the base station has previously received the data flow key level information corresponding to each data flow identifier from the core network.
步骤2、基站的PDCP实体在处理各数据包时根据数据包所属数据流的关键级别信息分别设置不同的丢弃定时器,如将属于关键级别越高的数据流的数据包的丢弃定时器设置的越长,以确保越高关键级别的数据流中的数据包越不会被丢弃。 Step 2: The PDCP entity of the base station sets different discarding timers according to the key level information of the data stream to which the data packet belongs when processing each data packet, for example, setting a discard timer of a data packet belonging to a data stream with a higher critical level. The longer it is, the more packets in the data stream that are at the critical level are not discarded.
步骤3、基站向UE发送数据包,针对每个已发送的数据包根据其所属数据流的关键级别设置一个相应的丢弃定时器,在丢弃定时器超时前,未被UE确认收到的数据包,基站会向UE进行重发,重发可能会进行多次,直到丢弃定时器超时后,相应的数据包将被丢弃。Step 3: The base station sends a data packet to the UE, and sets a corresponding discarding timer according to the key level of the data stream to which each sent data packet is sent. Before the discarding timer expires, the UE does not acknowledge the received data packet. The base station will resend to the UE, and the retransmission may be performed multiple times. After the drop timer expires, the corresponding data packet will be discarded.
步骤4、UE接收数据包,其中关键级别越高的数据流中的数据包越能确保都可以收到。Step 4: The UE receives the data packet, wherein the data packet in the data stream with higher key level can be ensured to be received.
实施例四:参照图7,数据流的处理方法包括:Embodiment 4: Referring to FIG. 7, a data stream processing method includes:
步骤1、UE的PDCP实体接收来自UE上层应用的多个数据流,针对每个数据流,UE根据数据流标识获得该数据流是否为关键数据流。 Step 1. The PDCP entity of the UE receives multiple data streams from the upper layer application of the UE. For each data stream, the UE obtains whether the data stream is a key data stream according to the data flow identifier.
这里,UE之前已经保存有各数据流标识所对应的数据流是否为关键数据流的信息。Here, the UE has previously stored information about whether the data stream corresponding to each data stream identifier is a key data stream.
步骤2、UE的PDCP实体在处理各数据包时根据数据包是否属于关键数据流设置不同的丢弃定时器,如将属于关键数据流的数据包的弃定时器设置的足够长,以确保这些数据包尽可能不会被丢弃。Step 2: The PDCP entity of the UE sets different discarding timers according to whether the data packet belongs to the key data stream when processing each data packet, for example, setting the discard timer of the data packet belonging to the critical data stream long enough to ensure the data. The package will not be discarded as much as possible.
步骤3、UE向基站发送数据包,针对每个已发送的数据包设置一个相应的弃定定时器,在丢弃定时器超时前,未被基站确认收到的数据包,UE会向基站进行重发,重发可能会进行多次,直到丢弃定时器超时后,相应的数据包将被丢弃。Step 3: The UE sends a data packet to the base station, and sets a corresponding discarding timer for each sent data packet. Before the drop timer expires, the UE does not acknowledge the received data packet, and the UE performs heavy weight on the base station. Sending, resending may occur multiple times, until the discard timer expires, the corresponding packet will be discarded.
步骤4、基站接收数据流,其中的关键数据流中的数据包能最大程度确保都可以收到。Step 4: The base station receives the data stream, and the data packets in the key data stream can be ensured to be received to the greatest extent.
图8为本发明实施例的数据流的处理装置的结构组成示意图,如图8所示,所述装置包括:FIG. 8 is a schematic structural diagram of a data stream processing apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus includes:
接收单元81,配置为接收数据流,The receiving unit 81 is configured to receive the data stream,
确定单元82,配置为确定所述数据流中各个数据包的关键级别信息; a determining unit 82, configured to determine key level information of each data packet in the data stream;
设置单元83,配置为根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器;The setting unit 83 is configured to set a corresponding discarding timer for each of the data packets according to the key level information of the respective data packets;
启动单元84,配置为当向第二节点发送所述数据包时,启动与所述数据包相应的丢弃定时器;The initiating unit 84 is configured to: when the data packet is sent to the second node, start a discarding timer corresponding to the data packet;
重发单元85,配置为如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点。The retransmission unit 85 is configured to: if the first node determines that the second node does not receive the data packet before the timer expires, the first node resends the data packet to The second node.
本发明实施例中,所述重发单元85,还配置为:将所述数据包多次重发给所述第二节点,直到所述定时器超时后,将所述数据包丢弃。In the embodiment of the present invention, the retransmission unit 85 is further configured to: retransmit the data packet to the second node multiple times, and discard the data packet after the timer expires.
本发明实施例中,所述接收单元81,还配置为:接收第三节点发送的数据流;或者,接收本地节点产生的数据流。In the embodiment of the present invention, the receiving unit 81 is further configured to: receive the data stream sent by the third node; or receive the data stream generated by the local node.
本发明实施例中,所述确定单元82包括:提取子单元821,配置为从所述数据流中的各个数据包中提取关键级别信息。In the embodiment of the present invention, the determining unit 82 includes: an extracting subunit 821 configured to extract key level information from each data packet in the data stream.
本发明实施例中,在所述数据流中的各个数据包的包头中,通过预定数目的比特位来表示所述关键级别信息。In the embodiment of the present invention, the key level information is represented by a predetermined number of bits in a header of each data packet in the data stream.
本发明实施例中,所述确定单元82包括:获取子单元822,配置为获取所述数据流的关键级别信息,将所述数据流的关键级别信息作为所述数据流中各个数据包的关键级别信息。In the embodiment of the present invention, the determining unit 82 includes: an obtaining subunit 822, configured to acquire key level information of the data stream, and use key level information of the data stream as a key of each data packet in the data stream. Level information.
本发明实施例中,所述获取子单元822,还配置为:在接收数据流之前,从所述第三节点中或者本地节点中获取数据流标识与关键级别信息的映射关系;当接收到数据流时,根据所述数据流标识与关键级别信息的映射关系,确定所接收到的数据流对应的关键级别信息。In the embodiment of the present invention, the obtaining sub-unit 822 is further configured to: before receiving the data stream, obtain a mapping relationship between the data flow identifier and the key level information from the third node or the local node; when receiving the data During the flow, the key level information corresponding to the received data stream is determined according to the mapping relationship between the data flow identifier and the key level information.
本发明实施例中,所述关键级别信息包括:普通级别、关键级别;其中,所述普通级别的丢弃定时器的时长小于所述关键级别的丢弃定时器的时长。 In the embodiment of the present invention, the key level information includes: a common level and a key level; wherein the length of the discard timer of the common level is less than the duration of the discard timer of the key level.
本发明实施例中,所述关键级别包括多个关键子级别,其中,关键子级别较低的丢弃定时器的时长小于关键子级别较高的丢弃定时器的时长。In the embodiment of the present invention, the key level includes a plurality of key sub-levels, wherein the duration of the drop timer with a lower key sub-level is smaller than the duration of the discard timer with a higher key sub-level.
在实际应用中,所述数据流的处理装置中的各个单元所实现的功能,均可由位于数据流的处理装置中的中央处理器(CPU,Central Processing Unit)、或微处理器(MPU,Micro Processor Unit)、或数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In practical applications, the functions implemented by each unit in the processing unit of the data stream may be implemented by a central processing unit (CPU, Central Processing Unit) or a microprocessor (MPU, Micro) located in the processing unit of the data stream. Processor Unit), or digital signal processor (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA).
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing device Having a series of operational steps performed on a computer or other programmable device to produce computer-implemented processing such that instructions executed on a computer or other programmable device are provided for implementing one or more processes in a flowchart and/or Or block diagram the steps of a function specified in a box or multiple boxes.
相应地,本发明实施例还提供一种计算机存储介质,其中存储有计算机程序,该计算机程序配置为执行本发明实施例的数据流的处理方法。Correspondingly, an embodiment of the present invention further provides a computer storage medium, wherein a computer program is configured, and the computer program is configured to execute a data stream processing method according to an embodiment of the present invention.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例的技术方案,第一节点接收数据流,确定所述数据流中各个数据包的关键级别信息;所述第一节点根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器;当所述第一节点向第二节点发送所述数据包时,启动与所述数据包相应的丢弃定时器;如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点,所述数据包重发可能会进行多次,直到所述定时器超时后,所述数据包将被丢弃。采用本发明实施例的技术方案,依据数据流中各个数据包的关键级别信息为各个数据包设置相应的丢弃定时器,确保了关键级别较高的数据包能最大程度的被接收端接收到,进一步提高了数据流的服务质量,提升了用户的业务体验。 In the technical solution of the embodiment of the present invention, the first node receives the data stream, and determines key level information of each data packet in the data stream; the first node is configured to use the key level information of each data packet as the each data packet. Setting a corresponding discard timer; when the first node sends the data packet to the second node, starting a discard timer corresponding to the data packet; if the timer is before the timer expires, the first node Determining that the second node does not receive the data packet, the first node resends the data packet to the second node, and the data packet retransmission may be performed multiple times until the After the timer expires, the packet will be discarded. According to the technical solution of the embodiment of the present invention, a corresponding discarding timer is set for each data packet according to the key level information of each data packet in the data stream, so as to ensure that the data packet with a higher critical level can be received by the receiving end to the maximum extent. The service quality of the data stream is further improved, and the user experience is improved.

Claims (19)

  1. 一种数据流的处理方法,所述方法包括:A method of processing a data stream, the method comprising:
    第一节点接收数据流,确定所述数据流中各个数据包的关键级别信息;The first node receives the data stream, and determines key level information of each data packet in the data stream;
    所述第一节点根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器;Setting, by the first node, a corresponding discard timer for each data packet according to key level information of each data packet;
    当所述第一节点向第二节点发送所述数据包时,启动与所述数据包相应的丢弃定时器;When the first node sends the data packet to the second node, start a discarding timer corresponding to the data packet;
    如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点。If the first node determines that the second node does not receive the data packet before the timer expires, the first node retransmits the data packet to the second node.
  2. 根据权利要求1所述的数据流的处理方法,其中,The data stream processing method according to claim 1, wherein
    所述第一节点将所述数据包多次重发给所述第二节点,直到所述定时器超时后,将所述数据包丢弃。The first node retransmits the data packet to the second node multiple times, and discards the data packet after the timer expires.
  3. 根据权利要求1所述的数据流的处理方法,其中,所述第一节点接收数据流,包括:The method of processing a data stream according to claim 1, wherein the receiving, by the first node, a data stream comprises:
    第一节点接收第三节点发送的数据流;或者,The first node receives the data stream sent by the third node; or
    第一节点接收本地节点产生的数据流。The first node receives the data stream generated by the local node.
  4. 根据权利要求1或3所述的数据流的处理方法,其中,所述确定所述数据流中各个数据包的关键级别信息,包括:The method for processing a data stream according to claim 1 or 3, wherein the determining the key level information of each data packet in the data stream comprises:
    从所述数据流中的各个数据包中提取关键级别信息。Key level information is extracted from individual packets in the data stream.
  5. 根据权利要求4所述的数据流的处理方法,其中,在所述数据流中的各个数据包的包头中,通过预定数目的比特位来表示所述关键级别信息。The data stream processing method according to claim 4, wherein said key level information is represented by a predetermined number of bits in a header of each data packet in said data stream.
  6. 根据权利要求3所述的数据流的处理方法,其中,所述确定所述数据流中各个数据包的关键级别信息,包括: The method for processing a data stream according to claim 3, wherein the determining key level information of each data packet in the data stream comprises:
    获取所述数据流的关键级别信息,将所述数据流的关键级别信息作为所述数据流中各个数据包的关键级别信息。Obtaining key level information of the data stream, and using key level information of the data stream as key level information of each data packet in the data stream.
  7. 根据权利要求6所述的数据流的处理方法,其中,所述获取所述数据流的关键级别信息,包括:The method for processing a data stream according to claim 6, wherein the obtaining key level information of the data stream comprises:
    在所述第一节点接收数据流之前,所述第一节点从所述第三节点中或者本地节点中获取数据流标识与关键级别信息的映射关系;Before the first node receives the data stream, the first node acquires a mapping relationship between the data flow identifier and the key level information from the third node or the local node;
    当所述第一节点接收到数据流时,所述第一节点根据所述数据流标识与关键级别信息的映射关系,确定所接收到的数据流对应的关键级别信息。When the first node receives the data stream, the first node determines the key level information corresponding to the received data stream according to the mapping relationship between the data stream identifier and the key level information.
  8. 根据权利要求1所述的数据流的处理方法,其中,所述关键级别信息包括:普通级别、关键级别;其中,所述普通级别的丢弃定时器的时长小于所述关键级别的丢弃定时器的时长。The method for processing a data stream according to claim 1, wherein the key level information comprises: a common level, a key level; wherein a duration of the normal level discard timer is less than a discard timer of the key level duration.
  9. 根据权利要求8所述的数据流的处理方法,其中,所述关键级别包括多个关键子级别,其中,关键子级别较低的丢弃定时器的时长小于关键子级别较高的丢弃定时器的时长。The method for processing a data stream according to claim 8, wherein the key level comprises a plurality of key sub-levels, wherein a discard timer of a lower key sub-level is smaller than a discard timer of a higher key sub-level duration.
  10. 一种数据流的处理装置,所述装置包括:A processing device for a data stream, the device comprising:
    接收单元,配置为接收数据流,a receiving unit configured to receive a data stream,
    确定单元,配置为确定所述数据流中各个数据包的关键级别信息;a determining unit configured to determine key level information of each data packet in the data stream;
    设置单元,配置为根据所述各个数据包的关键级别信息为所述各个数据包设置相应的丢弃定时器;a setting unit, configured to set a corresponding discarding timer for each of the data packets according to the key level information of each of the data packets;
    启动单元,配置为当向第二节点发送所述数据包时,启动与所述数据包相应的丢弃定时器;Activating unit, configured to: when the data packet is sent to the second node, start a discarding timer corresponding to the data packet;
    重发单元,配置为如果在所述定时器超时前,所述第一节点确定出所述第二节点未接收到所述数据包,则所述第一节点将所述数据包重发给所述第二节点。 a retransmission unit, configured to: if the first node determines that the second node does not receive the data packet before the timer expires, the first node resends the data packet to the Said second node.
  11. 根据权利要求10所述的数据流的处理装置,其中,所述重发单元,还配置为:将所述数据包多次重发给所述第二节点,直到所述定时器超时后,将所述数据包丢弃。The processing device of the data stream according to claim 10, wherein the retransmission unit is further configured to: retransmit the data packet to the second node multiple times, until after the timer expires, The data packet is discarded.
  12. 根据权利要求10所述的数据流的处理装置,其中,所述接收单元,还配置为:接收第三节点发送的数据流;或者,接收本地节点产生的数据流。The processing device of the data stream according to claim 10, wherein the receiving unit is further configured to: receive the data stream sent by the third node; or receive the data stream generated by the local node.
  13. 根据权利要求10或12所述的数据流的处理装置,其中,所述确定单元包括:提取子单元,配置为从所述数据流中的各个数据包中提取关键级别信息。The data stream processing apparatus according to claim 10 or 12, wherein the determining unit comprises: an extracting subunit configured to extract key level information from respective data packets in the data stream.
  14. 根据权利要求13所述的数据流的处理装置,其中,在所述数据流中的各个数据包的包头中,通过预定数目的比特位来表示所述关键级别信息。The data stream processing apparatus according to claim 13, wherein said key level information is represented by a predetermined number of bits in a header of each data packet in said data stream.
  15. 根据权利要求12所述的数据流的处理装置,其中,所述确定单元包括:获取子单元,配置为获取所述数据流的关键级别信息,将所述数据流的关键级别信息作为所述数据流中各个数据包的关键级别信息。The processing device of the data stream according to claim 12, wherein the determining unit comprises: an obtaining subunit configured to acquire key level information of the data stream, and use key level information of the data stream as the data Key level information for each packet in the stream.
  16. 根据权利要求15所述的数据流的处理装置,其中,所述获取子单元,还配置为:在接收数据流之前,从所述第三节点中或者本地节点中获取数据流标识与关键级别信息的映射关系;当接收到数据流时,根据所述数据流标识与关键级别信息的映射关系,确定所接收到的数据流对应的关键级别信息。The apparatus for processing a data stream according to claim 15, wherein the obtaining subunit is further configured to: obtain a data stream identifier and key level information from the third node or a local node before receiving the data stream. The mapping relationship is determined. When the data stream is received, the key level information corresponding to the received data stream is determined according to the mapping relationship between the data stream identifier and the key level information.
  17. 根据权利要求10所述的数据流的处理装置,其中,所述关键级别信息包括:普通级别、关键级别;其中,所述普通级别的丢弃定时器的时长小于所述关键级别的丢弃定时器的时长。The processing device of the data stream according to claim 10, wherein the key level information comprises: a normal level, a key level; wherein a duration of the normal level discard timer is less than a discard timer of the key level duration.
  18. 根据权利要求17所述的数据流的处理装置,其中,所述关键级别包括多个关键子级别,其中,关键子级别较低的丢弃定时器的时长小 于关键子级别较高的丢弃定时器的时长。The data stream processing apparatus according to claim 17, wherein said key level comprises a plurality of key sub-levels, wherein a discard timer of a lower key sub-level has a small duration The length of the drop timer at the key sub-level.
  19. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行权利要求1-9任一项所述的数据流的处理方法。 A computer storage medium having computer executable instructions stored thereon, the computer executable instructions being configured to perform the method of processing the data stream of any of claims 1-9.
PCT/CN2017/109993 2016-12-13 2017-11-08 Data stream processing method and apparatus, and computer storage medium WO2018107925A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611145977.8A CN108616925B (en) 2016-12-13 2016-12-13 Data stream processing method and device
CN201611145977.8 2016-12-13

Publications (1)

Publication Number Publication Date
WO2018107925A1 true WO2018107925A1 (en) 2018-06-21

Family

ID=62557878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109993 WO2018107925A1 (en) 2016-12-13 2017-11-08 Data stream processing method and apparatus, and computer storage medium

Country Status (2)

Country Link
CN (1) CN108616925B (en)
WO (1) WO2018107925A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132065A (en) * 2019-12-30 2021-07-16 西安诺瓦星云科技股份有限公司 Data communication method, device and system, storage medium and video processing equipment
CN113467979A (en) * 2020-03-30 2021-10-01 华为技术有限公司 Data submission method and device
CN115996420A (en) * 2021-10-19 2023-04-21 维沃移动通信有限公司 Data processing method, device and terminal
WO2023130453A1 (en) * 2022-01-10 2023-07-13 Mediatek Singapore Pte. Ltd. Methods and apparatus of packet classification for xr traffic
CN115208521B (en) * 2022-08-22 2023-07-04 北京钢铁侠科技有限公司 Communication guarantee and workflow control method for session layer client and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1354930A (en) * 1999-04-06 2002-06-19 艾利森电话股份有限公司 Packet discard notification for semi-reliable retransmission protocol
US20030053468A1 (en) * 1998-10-30 2003-03-20 Feng Deng Method and apparatus for exiting a deadlock condition
CN102208970A (en) * 2005-10-21 2011-10-05 美商内数位科技公司 Method and apparatus for retransmission management for reliable hybrid ARQ process
CN102612095A (en) * 2012-03-05 2012-07-25 电信科学技术研究院 Transmission method and equipment of IP data packet

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101513033B1 (en) * 2007-09-18 2015-04-17 엘지전자 주식회사 A method for qos guarantees in a multilayer structure
CN103167553A (en) * 2011-12-13 2013-06-19 华为技术有限公司 Method, device and base station used for wireless communication
WO2015066836A1 (en) * 2013-11-05 2015-05-14 华为技术有限公司 Video service data transmission method, data receiving device and data transmitting device
CN106067847B (en) * 2016-05-25 2019-10-22 腾讯科技(深圳)有限公司 A kind of voice data transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030053468A1 (en) * 1998-10-30 2003-03-20 Feng Deng Method and apparatus for exiting a deadlock condition
CN1354930A (en) * 1999-04-06 2002-06-19 艾利森电话股份有限公司 Packet discard notification for semi-reliable retransmission protocol
CN102208970A (en) * 2005-10-21 2011-10-05 美商内数位科技公司 Method and apparatus for retransmission management for reliable hybrid ARQ process
CN102612095A (en) * 2012-03-05 2012-07-25 电信科学技术研究院 Transmission method and equipment of IP data packet

Also Published As

Publication number Publication date
CN108616925A (en) 2018-10-02
CN108616925B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
US11658722B2 (en) Method and apparatus for managing user plane operation in wireless communication system
WO2018107925A1 (en) Data stream processing method and apparatus, and computer storage medium
JP7123920B2 (en) Switching method and device
US11395365B2 (en) Method and system for handling PDCP operation in wireless communication system
WO2021063133A1 (en) Harq process management method and apparatus, terminal, and storage medium
WO2015139557A1 (en) Packet data convergence protocol (pdcp) entity and execution method thereof
US8379855B2 (en) Ciphering in a packet-switched telecommunications system
TW202037198A (en) Methods for handling insufficient resources during pdu session establishment procedure and a user equipment thereof
US20190312938A1 (en) Data Transmission Method And Apparatus
EP3791685A1 (en) Methods for handling periodic radio access network notification area (rna) update configuration upon reject
CN110739993A (en) Method and apparatus for transmitting and receiving data using multiple carriers
US20160249232A1 (en) User equipment and method
US20160021567A1 (en) Method and system for parallelizing packet processing in wireless communication
JP2017508364A5 (en)
WO2018036492A1 (en) Congestion processing method and apparatus
WO2017049647A1 (en) Data sending method, data receiving method and relevant device
KR20140062499A (en) Method, flow-distribution equipment, user terminal and system for data transmission
TW201918093A (en) Handover method, a access network equipment and a terminal equipment
WO2017008266A1 (en) Data processing method and apparatus for lte and wlan aggregation, and communications system
TWI721333B (en) Method and apparatus for establishing bearers in a wireless communication system
TWI797414B (en) Method for mobility enhancement and user equipment thereof
WO2017000760A2 (en) Wireless network function configuration method, wireless network node, and core network device
US9820331B1 (en) UE-context release in response to failure of air interface communication
WO2015161791A1 (en) Method for processing data packet of rlc layer and rlc entity
WO2017028681A1 (en) Methods and devices for reporting data transmission status and for determining data transmission volume

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: 17880742

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: 17880742

Country of ref document: EP

Kind code of ref document: A1