Data packet processing method and apparatus, device and storage medium

By identifying and marking packet types, the problem of flex FEC packet processing on the network side is solved, and resource optimization is achieved in the case of congestion.

WO2025167995A1PCT designated stage Publication Date: 2025-08-14VIVO MOBILE COMM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/076027
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-08
Filing Date
2025-02-06
Publication Date
2025-08-14

AI Technical Summary

Technical Problem

In the prior art, the problem of how the network side supports processing of data packets based on flex FEC has not been effectively solved.

Method used

Effective processing of the data packet is achieved by identifying the data packet as a redundant data packet or source data packet and marking the data packets related information, including information related to the data packet and indication of allowing discarding.

Benefits of technology

In the event of network congestion, information is discarded according to the allowed tags, redundant data packets are discarded or not transmitted, saving network communication resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025076027_14082025_PF_FP_ABST
    Figure CN2025076027_14082025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and discloses a data packet processing method and apparatus, a device and a readable storage medium. The method in embodiments of the present application comprises: a first communication device acquires information related to a data packet; and the first communication device executes a first operation on the basis of the information related to the data packet, wherein the first operation comprises at least one of the following: identifying the data packet as a redundant data packet; identifying the data packet as a source data packet; and marking the data packet with first information; and wherein the first information comprises at least one of the following: information of an associated data packet associated with the data packet, information for indicating that the data packet is allowed or not allowed to be discarded; and information for indicating that the data packet is or is not a redundant data packet.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus, device, and storage medium for processing data packets

[0001] Cross-reference to related applications

[0002] This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on February 8, 2024, with the application number 202410177772.6 and the invention title "Method, apparatus, device, and storage medium for processing data packets", the entire content of which is incorporated herein by reference. Technical field

[0003] This application belongs to the field of communication technology, and particularly relates to a method, apparatus, device, and readable storage medium for processing data packets. Background technique

[0004] Currently, forward error correction (FEC) is usually used in the application layer for data error correction. The principle of FEC is as follows:

[0005] The application data unit sent by the application program consists of source data, such as a video frame, and there is also redundant data. Then the source data and redundant data will be distributed in N data packets, and as long as any K (K < N) data packets are received, the source data can be restored.

[0006] In the prior art, FEC data packets can be generated through non-interleaved and interleaved parity check codes. These parity check codes are systematic codes, usually called flexible flex FEC. In flex FEC, redundant data packets are generated from a group of source data packets from one or more source Real-time Transport Protocol (RTP) streams. These redundant data are sent in a redundant RTP stream different from the source RTP stream carrying the source data packets. The lost RTP source data packets during transmission can be reconstructed through the received source data packets and redundant data packets.

[0007] However, in the prior art, how the network side supports the processing of data packets based on flex FEC remains to be studied. Summary of the invention

[0008] The embodiments of this application provide a method, apparatus, device, and storage medium for processing data packets, which can solve the problem of how the network side supports the processing of data packets based on flex FEC.

[0009] In the first aspect, a method for processing data packets is provided, including:

[0010] The first communication device obtains information related to the data packet;

[0011] The first communication device performs a first operation based on the information related to the data packet, where the first operation includes at least one of the following:

[0012] Identifying a data packet as a redundant data packet;

[0013] Identifying the data packet as a source data packet;

[0014] marking the data packet with first information;

[0015] The first information includes at least one of the following:

[0016] Information of associated data packets associated with the data packet;

[0017] Information for indicating whether the data packet is allowed to be discarded or not;

[0018] Information indicating whether the data packet is a redundant data packet or not.

[0019] Optionally, in an embodiment of the present application, the identification data packet is a redundant data packet, including:

[0020] Identifying a data packet as a redundant data packet;

[0021] Identifying that the Real-time Transport Protocol (RTP) stream to which the data packet belongs is a redundant RTP stream;

[0022] identifying that the set of data packets to which the data packet belongs includes redundant data packets;

[0023] It is identified that a Quality of Service (QoS) flow to which the data packet belongs includes redundant data packets.

[0024] Optionally, in an embodiment of the present application, the identification data packet is a source data packet, including:

[0025] Identifying the data packet as a source data packet;

[0026] Identifying that the RTP stream to which the data packet belongs is not a redundant RTP stream;

[0027] identifying that the set of data packets to which the data packet belongs does not include redundant data packets;

[0028] Identifying that the QoS flow to which the data packet belongs does not include redundant data packets.

[0029] Optionally, in this embodiment of the present application, when the data packet is identified as a redundant data packet, the first information includes at least one of the following:

[0030] Information of the associated data packet, wherein the associated data packet is a source data packet;

[0031] Information used to indicate that the data packet is allowed to be discarded;

[0032] Information indicating that the data packet is a redundant data packet.

[0033] In this embodiment of the present application, when the data packet is identified as a source data packet, the first information includes:

[0034] Information of the associated data packet, wherein the associated data packet is a redundant data packet;

[0035] Information for indicating that the data packet is not allowed to be discarded;

[0036] Information indicating that the data packet is not a redundant data packet.

[0037] Optionally, in this embodiment of the present application, the information used to indicate that the data packet is allowed to be discarded includes at least one of the following:

[0038] Information used to indicate that the data packet is allowed to be discarded;

[0039] Information for indicating that the data packet of the RTP stream to which the data packet belongs is allowed to be discarded;

[0040] Information for indicating that the data packet of the data packet set to which the data packet belongs is allowed to be discarded;

[0041] Information used to indicate whether the packet of the QoS flow to which the packet belongs is allowed to be discarded.

[0042] Optionally, in this embodiment of the present application, the information used to indicate that the data packet is a redundant data packet includes at least one of the following:

[0043] Information indicating that the data packet is a redundant data packet;

[0044] Information for indicating that the RTP stream to which the data packet belongs includes redundant data packets;

[0045] Information used to indicate that the data packet set to which the data packet belongs includes redundant data packets;

[0046] Information used to indicate that the QoS flow to which the data packet belongs includes redundant data packets.

[0047] Optionally, in this embodiment of the present application, the information of the associated data packet associated with the data packet includes at least one of the following:

[0048] Information of the associated data packet;

[0049] Information about the RTP stream to which the associated data packet belongs;

[0050] Information about the data packet set to which the associated data packet belongs;

[0051] Information about the QoS flow to which the associated data packet belongs.

[0052] Optionally, in an embodiment of the present application, the information of the associated data packet associated with the data packet is indicated by at least one of an offset, a bit mask, a sequence number SN, a quality of service QoS flow identifier QFI, and time information.

[0053] Optionally, in this embodiment of the present application, the offset includes at least one of the following:

[0054] The offset from the Protocol Data Unit (PDU);

[0055] Offset from SN;

[0056] Row information of the first FEC block;

[0057] Column information of the first FEC block;

[0058] The first FEC block includes at least one of a data packet and the associated data packet.

[0059] Optionally, in an embodiment of the present application, the SN includes at least one of a General Packet Radio Service (GPRS) tunneling protocol (GPRS Tunnelling Protocol for the user plane, GTP-U) SN at the user layer, a PDU set SN, a PDU SN in a PDU set, and an SN in an RTP header.

[0060] Optionally, in this embodiment of the present application, the time information includes at least one of the following:

[0061] The time when the first communication device receives the data packet;

[0062] The time when the first communication device starts scheduling the data packet;

[0063] the time at which the first communication device receives the associated data packet;

[0064] The first communication device starts scheduling the associated data packet.

[0065] Optionally, in this embodiment of the present application, the first operation further includes at least one of the following:

[0066] determining a priority of the data packet;

[0067] Determining the priority of the data packet set to which the data packet belongs;

[0068] determining the priority of the associated data packet;

[0069] Determine the priority of the data packet set to which the associated data packet belongs.

[0070] Optionally, in an embodiment of the present application, the method further includes:

[0071] The first communication device sends the first information to the access network device.

[0072] Optionally, in this embodiment of the present application, the first communication device sending the first information to the access network device includes:

[0073] The first communication device sends the first information to the access network device through a GTP-U header.

[0074] Optionally, in this embodiment of the present application, the first communication device obtains information related to the data packet, including:

[0075] The first communication device obtains second information from the second communication device, wherein the second information is used for at least one of the following:

[0076] marking the data packet with the first information;

[0077] Identify source or redundant packets.

[0078] Optionally, in the embodiment of the present application, marking the data packet with the first information includes:

[0079] Marking the QoS flow where the data packet belongs to with the first information,

[0080] The QoS flow where the data packet is located includes a QoS flow corresponding to a first policy and charging control (PCC) rule, or the QoS flow where the data packet is located includes a QoS flow corresponding to a first data flow.

[0081] Optionally, in the embodiment of the present application, marking the data packet with the first information includes:

[0082] Marking the QoS flow to which the associated data packet belongs with the first information;

[0083] The QoS flow where the associated data packet is located includes a QoS flow corresponding to a second PCC rule, or the QoS flow where the associated data packet is located includes a QoS flow corresponding to a second data flow.

[0084] Optionally, in this embodiment of the present application, the redundant data packet includes at least one of the following:

[0085] Redundant packets in RTP streams;

[0086] FEC repair packet used to protect or repair the source data packet.

[0087] Optionally, in an embodiment of the present application, the redundant RTP stream includes redundant data or does not include source data packets.

[0088] Optionally, in an embodiment of the present application, the data packet includes a PDU or a PDU set.

[0089] In a second aspect, a method for processing a data packet is provided, comprising:

[0090] The second communication device obtains information related to the data packet;

[0091] The second communication device sends second information to the first communication device based on the information related to the data packet;

[0092] The second information is used for at least one of the following:

[0093] Require the first communication device to mark the data packet with first information;

[0094] Identifying a data packet as a redundant data packet;

[0095] Identifying the data packet as a source data packet;

[0096] The first information includes at least one of the following:

[0097] Information of associated data packets associated with the data packet;

[0098] Information for indicating whether the data packet is allowed to be discarded or not;

[0099] Information indicating whether the data packet is a redundant data packet or not.

[0100] Optionally, in an embodiment of the present application, the method further includes:

[0101] The second communication device determines at least one of the following:

[0102] The priority of the QoS flow to which the data packet belongs;

[0103] The priority of the QoS flow to which the associated data packet belongs;

[0104] The priority of the scheduling resources of the QoS flow to which the data packet belongs;

[0105] The priority of the scheduling resources of the QoS flow to which the associated data packet belongs.

[0106] Optionally, in this embodiment of the present application, the second communication device obtains information related to the data packet, including:

[0107] The second communication device receives third information from a third communication device, where the third information is used for at least one of the following:

[0108] Requesting the first communication device to mark the data packet with the first information;

[0109] Identify packets as source packets or redundant packets.

[0110] Optionally, in this embodiment of the present application, the third information is included in a PCC rule.

[0111] Optionally, in this embodiment of the present application, the second information includes at least one of the following:

[0112] Protocol description information, used to identify source data packets or redundant data packets;

[0113] a first synchronization source real-time control protocol (SSRC), wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first data stream is a redundant RTP stream;

[0114] a second SSRC, wherein a data packet in the first data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0115] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0116] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0117] Optionally, in an embodiment of the present application, the first SSRC indicates that data packets in the first data stream corresponding to the first SSRC include redundant data packets, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0118] Optionally, in this embodiment of the present application, the second SSRC indicates that the data packets in the second data stream corresponding to the second SSRC include source data packets, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0119] Optionally, in an embodiment of the present application, the second information is included in an N4 rule or a data packet detection rule PDR.

[0120] A third aspect provides a method for processing a data packet, comprising:

[0121] The second communication device obtains information related to the data packet;

[0122] The second communication device sends fifth information to the access network device based on the information related to the data packet;

[0123] The fifth information includes at least one of the following:

[0124] association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow;

[0125] The associated information of the second QoS flow includes the information of the first QoS flow.

[0126] Optionally, in this embodiment of the present application, the first QoS flow includes a QoS flow corresponding to a first PCC rule, or the first QoS flow includes a QoS flow corresponding to a first data flow.

[0127] Optionally, in this embodiment of the present application, the second QoS flow includes a QoS flow corresponding to a first PCC rule, or the second QoS flow includes a QoS flow corresponding to a second data flow.

[0128] Optionally, in an embodiment of the present application, the first QoS flow includes redundant data packets, and the second QoS flow includes source data packets.

[0129] Optionally, in this embodiment of the present application, the information of the first QoS flow includes a first QoS flow identifier QFI.

[0130] Optionally, in this embodiment of the present application, the information of the second QoS flow includes a second QoS flow identifier QFI.

[0131] A fourth aspect provides a method for processing a data packet, comprising:

[0132] The third communication device obtains information related to the data packet;

[0133] The third communication device sends third information to the second communication device based on the information related to the data packet, wherein the third information is used for at least one of the following:

[0134] Requesting the first communication device to mark the data packet with first information;

[0135] Identify packets as source packets or redundant packets.

[0136] Optionally, in this embodiment of the present application, the third information is included in a PCC rule.

[0137] Optionally, in an embodiment of the present application, the method further includes:

[0138] The third communication device determines the priority of scheduling resources for the QoS flows.

[0139] Optionally, in this embodiment of the present application, the third communication device determines the priority of the scheduling resources of the QoS flow, including:

[0140] The third communication device determines the priority of the scheduling resource of the QoS flow to which the data packet belongs;

[0141] The third communication device determines the priority of the scheduling resource of the QoS flow to which the associated data packet belongs.

[0142] Optionally, in an embodiment of the present application, the priority of the scheduling resources of the QoS flow where the data packet is located is greater than or equal to the priority of the scheduling resources of the QoS flow where the associated data packet is located; wherein, the data packet is a source data packet, and the associated data packet is a redundant data packet.

[0143] Optionally, in this embodiment of the present application, the third communication device sending third information to the second communication device based on the information related to the data packet includes:

[0144] The third communication device sends third information to the second communication device based on the local configuration.

[0145] Optionally, in this embodiment of the present application, the third communication device obtains information related to the data packet, including:

[0146] The third communication device receives fourth information sent by the fourth communication device, where the fourth information includes at least one of the following:

[0147] Protocol description information PD, used to identify source data packets or redundant data packets;

[0148] Information used to request data packet marking;

[0149] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0150] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0151] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0152] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0153] Optionally, in an embodiment of the present application, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0154] Optionally, in this embodiment of the present application, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0155] A fifth aspect provides a method for processing a data packet, comprising:

[0156] The fourth communication device obtains information related to the data packet;

[0157] The fourth communication device sends fourth information to the third communication device based on the information related to the data packet, where the fourth information includes at least one of the following:

[0158] Information used to identify source data packets or redundant data packets;

[0159] Used to request information about packet marking.

[0160] Optionally, in this embodiment of the present application, the information used to identify the source data packet or the redundant data packet includes at least one of the following:

[0161] Protocol description information PD;

[0162] SSRC;

[0163] Information indicating the SSRC.

[0164] Optionally, in an embodiment of the present application, the SSRC includes:

[0165] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream;

[0166] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0167] Optionally, in this embodiment of the present application, the information used to indicate the SSRC includes at least one of the following:

[0168] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0169] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0170] Optionally, in an embodiment of the present application, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0171] Optionally, in this embodiment of the present application, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0172] In a sixth aspect, a method for processing a data packet is provided, comprising:

[0173] The access network device obtains information related to the data packet;

[0174] The access network device performs a second operation based on the information related to the data packet, where the second operation includes at least one of the following:

[0175] Identifying a data packet as a redundant data packet;

[0176] Identifying the data packet as a source data packet;

[0177] Associated data packets and associated data packets;

[0178] The packet is dropped or not sent.

[0179] Optionally, in the embodiment of the present application, discarding or not sending the data packet includes:

[0180] discarding or not sending the data packet set to which the data packet belongs;

[0181] discarding or not sending the data packet in the QoS flow to which the data packet belongs;

[0182] The QoS flow to which the data packet belongs includes a QoS flow corresponding to a first PCC rule, or the QoS flow to which the data packet belongs includes a QoS flow corresponding to a first data flow.

[0183] Optionally, in the embodiment of the present application, the access network device obtains information related to the data packet, including:

[0184] The access network device obtains first information from the first communication device, where the first information includes at least one of the following:

[0185] Information of associated data packets associated with the data packet;

[0186] Information for indicating whether the data packet is allowed to be discarded or not;

[0187] Information indicating whether the data packet is a redundant data packet or not.

[0188] Optionally, in this embodiment of the present application, the access network device obtaining the first information from the first communication device includes:

[0189] The access network device obtains the first information from the first communication device through a GTP-U header.

[0190] Optionally, in the embodiment of the present application, the access network device obtains information related to the data packet, including:

[0191] The access network device obtains fifth information from the second communication device, where the fifth information includes at least one of the following:

[0192] association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow;

[0193] The associated information of the second QoS flow includes the information of the first QoS flow.

[0194] Optionally, in an embodiment of the present application, the method further includes:

[0195] The access network device sends the data packet to the terminal;

[0196] The access network device receives a first message from the terminal, where the first message is used to indicate that the data packet is successfully transmitted;

[0197] The discarding or not sending the data packet includes:

[0198] Based on the first message, the data packet is discarded or not sent.

[0199] Optionally, in this embodiment of the present application, the discarding or not sending the data packet includes at least one of the following:

[0200] When the access network device is in congestion, discarding or not sending the redundant data packet;

[0201] When the first QoS flow is congested, discarding or not sending the redundant data packet;

[0202] When the second QoS flow is congested, the redundant data packet is discarded or not sent.

[0203] In a seventh aspect, a data packet processing device is provided, comprising:

[0204] A first data packet information acquisition module, configured for the first communication device to acquire information related to the data packet;

[0205] A first operation directing module is configured for the first communication device to perform a first operation based on the information related to the data packet, where the first operation includes at least one of the following:

[0206] Identifying a data packet as a redundant data packet;

[0207] Identifying the data packet as a source data packet;

[0208] marking the data packet with first information;

[0209] The first information includes at least one of the following:

[0210] Information of associated data packets associated with the data packet;

[0211] Information for indicating whether the data packet is allowed to be discarded or not;

[0212] Information indicating whether the data packet is a redundant data packet or not.

[0213] In an eighth aspect, a data packet processing device is provided, comprising:

[0214] A second data packet information acquisition module, configured for the second communication device to acquire information related to the data packet;

[0215] a second information sending module, configured for the second communication device to send second information to the first communication device based on the information related to the data packet;

[0216] The second information is used for at least one of the following:

[0217] Require the first communication device to mark the data packet with first information;

[0218] Identifying a data packet as a redundant data packet;

[0219] Identifying the data packet as a source data packet;

[0220] The first information includes at least one of the following:

[0221] Information of associated data packets associated with the data packet;

[0222] Information for indicating whether the data packet is allowed to be discarded or not;

[0223] Information indicating whether the data packet is a redundant data packet or not.

[0224] In a ninth aspect, a data packet processing device is provided, comprising:

[0225] A third data packet information acquisition module is used for the second communication device to acquire information related to the data packet;

[0226] A fifth information sending module, configured for the second communication device to send fifth information to the access network device based on the information related to the data packet;

[0227] The fifth information includes at least one of the following:

[0228] association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow;

[0229] The associated information of the second QoS flow includes the information of the first QoS flow.

[0230] In a tenth aspect, a data packet processing device is provided, comprising:

[0231] A fourth data packet information acquisition module, configured for the third communication device to acquire information related to the data packet;

[0232] A third information sending module is configured for the third communication device to send third information to the second communication device based on the information related to the data packet, wherein the third information is used for at least one of the following:

[0233] Requesting the first communication device to mark the data packet with first information;

[0234] Identify packets as source packets or redundant packets.

[0235] In an eleventh aspect, a data packet processing device is provided, comprising:

[0236] A fifth data packet information acquisition module, configured for the fourth communication device to acquire information related to the data packet;

[0237] a fourth information sending module, configured for the fourth communication device to send fourth information to the third communication device based on the information related to the data packet, wherein the fourth information includes at least one of the following:

[0238] Information used to identify source data packets or redundant data packets;

[0239] Used to request information about packet marking.

[0240] In a twelfth aspect, a data packet processing device is provided, comprising:

[0241] A sixth data packet information acquisition module, configured for the access network device to acquire information related to the data packet;

[0242] A second operation execution module is configured to execute, on the access network device, a second operation based on the information related to the data packet, where the second operation includes at least one of the following:

[0243] Identifying a data packet as a redundant data packet;

[0244] Identifying the data packet as a source data packet;

[0245] Associated data packets and associated data packets;

[0246] The packet is dropped or not sent.

[0247] In the thirteenth aspect, a communication device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing a data packet as described in the first aspect are implemented.

[0248] In a fourteenth aspect, a communication device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing data packets as described in the second aspect are implemented.

[0249] In the fifteenth aspect, a communication device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing data packets as described in the third aspect are implemented.

[0250] In the sixteenth aspect, a communication device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing data packets as described in the fourth aspect are implemented.

[0251] In the seventeenth aspect, a communication device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing data packets as described in the fifth aspect are implemented.

[0252] In the eighteenth aspect, an access network device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing data packets as described in the sixth aspect are implemented.

[0253] In the nineteenth aspect, a readable storage medium is provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method for processing a data packet as described in any one of the first aspect, or the steps of the method for processing a data packet as described in the second aspect, or the steps of the method for processing a data packet as described in the third aspect, or the steps of the method for processing a data packet as described in the fourth aspect, or the steps of the method for processing a data packet as described in the fifth aspect, or the steps of the method for processing a data packet as described in the sixth aspect are implemented.

[0254] In summary, the data packet processing method provided in the present application can discard or not transmit data packets that are allowed to be discarded based on the information on whether the data packets are allowed to be discarded when the network is congested, thereby saving network communication resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0255] FIG1 is a schematic diagram of a communication system architecture provided in an embodiment of the present application;

[0256] FIG2 is a schematic flow chart of a method for processing a data packet provided in an embodiment of the present application;

[0257] FIG3 is a schematic flow chart of another method for processing a data packet provided in an embodiment of the present application;

[0258] FIG4 is a schematic flow chart of another method for processing a data packet provided in an embodiment of the present application;

[0259] FIG5 is a schematic signaling interaction diagram of a method for processing a data packet according to an embodiment of the present application;

[0260] FIG6 is a schematic block diagram of a data packet processing device according to an embodiment of the present application;

[0261] FIG7 is a schematic block diagram of another data packet processing device provided according to an embodiment of the present application;

[0262] FIG8 is a schematic block diagram of another data packet processing device provided according to an embodiment of the present application;

[0263] FIG9 is a schematic block diagram of a fourth data packet processing device provided according to an embodiment of the present application;

[0264] FIG10 is a schematic block diagram of a fifth data packet processing device provided according to an embodiment of the present application;

[0265] FIG11 is a schematic block diagram of a sixth data packet processing device provided according to an embodiment of the present application;

[0266] FIG12 is a schematic block diagram of a communication device provided according to an embodiment of the present application;

[0267] FIG13 is a schematic diagram of the hardware structure of a terminal provided according to an embodiment of the present application;

[0268] FIG14 is a schematic block diagram of a network-side device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0269] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0270] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects, for example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0271] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the operation to be performed or the requested result, etc. based on the judgment result.

[0272] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the technology described can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following description, but these technologies can also be applied to systems other than NR systems, such as 6th generation (6G) systems. th Generation, 6G) communication system.

[0273] FIG1 is a block diagram of a wireless communication system applicable to an embodiment of the present application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR), a virtual reality (VR) device, a robot, a wearable device (Wearable Device), an aircraft (Flight Vehicle), a vehicle-mounted device (VUE), a ship-mounted device, a pedestrian user equipment (PUE), a smart home (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), a game console, a personal computer (PC), an ATM, or a self-service machine, or other terminal-side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be called a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (WLAN) access point (AS) or a wireless fidelity (WiFi) node, etc.Among them, the base station can be referred to as Node B (NB), Evolved Node B (eNB), the next generation Node B (gNB), New Radio Node B (NR Node B), access point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B (home evolved Node B), Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.

[0274] The core network device may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (MME), access mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), policy and charging rules function unit (PCRF), edge application server discovery function (EASDF), unified data management (UDM), unified data storage (UDR), home user server (HSS), centralized network configuration (CNC), network storage function (NRF), network exposure function (NEF), local NEF (L-NEF), binding support function (BNSF), network access function (UE ... Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.But not limited to at least one of the following: core network node, core network function, Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized Network Configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (L-NEF), Binding Support Function (BSF), Application Function (AF), etc. It should be noted that in the embodiments of this application, only the core network equipment in the NR system is introduced as an example, and the specific type of the core network equipment is not limited.

[0275] The following describes the data packet processing method provided by the embodiment of the present application through some embodiments and their application scenarios in conjunction with the accompanying drawings.

[0276] FIG2 is a schematic flow chart of a method for processing a data packet according to an embodiment of the present application. As shown in FIG2 , the method includes:

[0277] S201. A first communication device obtains information related to a data packet;

[0278] In the embodiment of the present application, the first communication device may be any terminal in FIG1 or any network-side device in FIG1 , and this embodiment does not impose any specific restrictions thereon. The first communication device receives information related to a data packet from another communication device, or the first communication device may obtain information related to a data packet locally, and this embodiment does not impose any specific restrictions thereon.

[0279] S202: The first communication device performs a first operation based on the information related to the data packet, where the first operation includes at least one of the following:

[0280] Identifying a data packet as a redundant data packet;

[0281] Identifying the data packet as a source data packet;

[0282] marking the data packet with first information;

[0283] The first information includes at least one of the following:

[0284] Information of associated data packets associated with the data packet;

[0285] Information for indicating whether the data packet is allowed to be discarded or not;

[0286] Information indicating whether the data packet is a redundant data packet or not.

[0287] Optionally, in an embodiment of the present application, the data packet includes a source data packet and a redundant data packet. When the data packet is a source data packet, the associated data packet associated with the data packet is a redundant data packet; when the data packet is a redundant data packet, the associated data packet associated with the data packet is a source data packet.

[0288] In summary, the data packet processing method provided by the present application is that the first communication device obtains information related to the data packet; the first communication device performs a first operation based on the information related to the data packet, and the first operation includes at least one of the following: identifying the data packet as a redundant data packet; identifying the data packet as a source data packet; marking the data packet with first information; wherein the first information includes at least one of the following: information of an associated data packet associated with the data packet; information used to indicate whether the data packet is allowed or not to be discarded; information used to indicate whether the data packet is a redundant data packet or not, and can identify redundant data packets and source data packets, and mark the data packet with information of its associated associated data packets, whether it is a redundant data packet, and whether it is allowed to be discarded, so that when the network is congested, the data packet that is allowed to be discarded can be discarded or not transmitted according to the information on whether the data packet is allowed to be discarded, thereby saving network communication resources.

[0289] In one embodiment, the information related to a data packet in the embodiments of the present application may be indication information. The indication information is used to indicate whether the data packet is a redundant data packet or a source data packet. For example, the first communication device (e.g., a UPF) may identify the source data packet or the redundant data packet based on the indication information and then mark the data packet with the first information.

[0290] Below, the data packet processing method provided by the present application is further described in detail, taking the source data packet as an example of a data packet and the redundant data packet as an example of an associated data packet. As shown in Figure 3, the method includes:

[0291] S301: The fourth communication device obtains information related to a data packet.

[0292] In an embodiment of the present application, the fourth core network device may be an application function (AF) device.

[0293] In an embodiment of the present application, the data packet includes a source data packet and a redundant data packet, and the redundant data packet includes a repair data packet that can repair the source data packet.

[0294] S302: The fourth communication device sends fourth information to the third communication device based on the information related to the data packet.

[0295] In the embodiment of the present application, the third communication device may be a Policy Control Function (PCF) device.

[0296] Optionally, in this embodiment of the present application, the fourth information includes at least one of the following:

[0297] Information used to identify source data packets or redundant data packets;

[0298] Used to request information about packet marking.

[0299] Optionally, in this embodiment of the present application, the information used to identify the source data packet or the redundant data packet includes at least one of the following:

[0300] Protocol Description (PD) information;

[0301] Synchronization Source Real-time Control Protocol (SSRC);

[0302] Information indicating the SSRC.

[0303] Optionally, in this embodiment of the present application, SSRC includes:

[0304] a first SSRC, wherein a data packet in a first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant Real-Time Transport Protocol (RTP) stream;

[0305] The second SSRC, the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream.

[0306] Optionally, in this embodiment of the present application, the information used to indicate the SSRC includes:

[0307] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0308] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0309] Optionally, in an embodiment of the present application, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0310] Optionally, in this embodiment of the present application, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0311] S303: The third communication device obtains information related to the data packet.

[0312] Optionally, in the embodiment of the present application, the third communication device obtains information related to the data packet, including:

[0313] The third communication device receives fourth information sent by the fourth communication device, where the fourth information includes at least one of the following:

[0314] Protocol description information PD, used to identify source data packets or redundant data packets;

[0315] Information for requesting redundant data packets to be marked;

[0316] Information for requesting marking of source data packets;

[0317] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0318] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0319] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0320] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0321] S304: The third communication device sends third information to the second communication device based on the information related to the data packet.

[0322] Optionally, in an embodiment of the present application, the second communication device may be a session management function (SMF) device.

[0323] Optionally, in this embodiment of the present application, the third information is used for at least one of the following:

[0324] Requesting the first communication device to mark the data packet with first information;

[0325] Identify packets as source packets or redundant packets.

[0326] Optionally, in an embodiment of the present application, the third communication device may request the first communication network device to mark the data packets with the first information by sending a command to the second communication device.

[0327] Optionally, in an embodiment of the present application, the third information is included in a Policy and Charging Control (PCC) rule.

[0328] Optionally, in the embodiment of the present application, the third communication device sending third information to the second communication device based on the information related to the data packet includes:

[0329] The third communication device sends third information to the second communication device based on the local configuration.

[0330] Optionally, in this embodiment of the present application, in addition to receiving the fourth information sent by the fourth core network device and sending the third information to the second core network device, the third communication device may also send the third information to the second core network device by locally configuring the core network. That is, the third information is pre-configured on the third communication device, and then the locally configured third information is directly sent to the second communication device.

[0331] Based on the above content, optionally, in an embodiment of the present application, the above method further includes:

[0332] S311. The third communication device determines the priority of scheduling resources for Quality of Service (QoS) flows.

[0333] Based on the above content, optionally, in the embodiment of the present application, the third communication device determines the priority of the scheduling resources of the QoS flow, including:

[0334] S3111. The third core network device determines the priority of the scheduling resources of the QoS flow where the source data packet is located;

[0335] S3112. The third core network device determines the priority of the scheduling resources of the QoS flow where the redundant data packet is located.

[0336] Optionally, in an embodiment of the present application, the third communication device may map the source data packet and the redundant data packet to different QoS flows respectively, and then determine the scheduling resource priority of each QoS flow.

[0337] Optionally, in this embodiment of the present application, the priority of the QoS flow resource where the source data packet is located is greater than or equal to the priority of the scheduling resource of the QoS flow where the redundant data packet is located. Therefore, the third communication device can prioritize scheduling the source data packet to send the third information to the second communication device.

[0338] Based on the above content, optionally, in an embodiment of the present application, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0339] Based on the above content, optionally, in an embodiment of the present application, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0340] S305: The second communication device obtains information related to the data packet.

[0341] Optionally, in this embodiment of the present application, the second communication device obtains information related to the data packet, including:

[0342] The second communication device receives third information from a third communication device, where the third information is used for at least one of the following:

[0343] Requesting the first communication device to mark the data packet with the first information;

[0344] Identify packets as source packets or redundant packets.

[0345] Based on the above content, optionally, in an embodiment of the present application, the above method further includes:

[0346] The second communication device determines at least one of the following:

[0347] The priority of the QoS flow to which the source data packet belongs;

[0348] The priority of the QoS flow to which the redundant data packet belongs;

[0349] The priority of the scheduling resources of the QoS flow to which the source data packet belongs;

[0350] The priority of the scheduling resources of the QoS flow where the redundant data packet is located.

[0351] S306. The second communication device sends second information to the first communication device based on the information related to the data packet.

[0352] In an embodiment of the present application, the first communication device may be a user plane function (UPF) device.

[0353] Optionally, in this embodiment of the present application, the second information is used for at least one of the following:

[0354] Require the first communication device to mark the data packet with first information;

[0355] Identifying a data packet as a source data packet or a redundant data packet;

[0356] The first information includes at least one of the following:

[0357] Association information between redundant data packets and source data packets;

[0358] Information for indicating whether the data packet is allowed to be discarded or not;

[0359] Information indicating whether the data packet is a redundant data packet or not.

[0360] Based on the above content, optionally, in this embodiment of the present application, the second information includes at least one of the following:

[0361] Protocol description information, used to identify source data packets or redundant data packets;

[0362] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0363] a second SSRC, wherein a data packet in the first data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0364] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0365] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0366] Based on the above content, optionally, in an embodiment of the present application, the first SSRC indicates that data packets in the first data stream corresponding to the first SSRC include redundant data packets, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0367] Based on the above content, optionally, in an embodiment of the present application, the second SSRC indicates that the data packets in the second data stream corresponding to the second SSRC include source data packets, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0368] Based on the above content, optionally, in an embodiment of the present application, the second information includes N4 rules or packet detection rules (Packet Detection Rules, PDR).

[0369] S307. The first core network device obtains information related to the data packet.

[0370] Based on the above content, optionally, in an embodiment of the present application, the first communication device obtains information related to the data packet, including:

[0371] The first communication device obtains second information from the second communication device, wherein the second information is used for at least one of the following:

[0372] marking the data packet with the first information;

[0373] Identify source or redundant packets.

[0374] S308. The first communication device performs a first operation based on the information related to the data packet, where the first operation includes at least one of the following:

[0375] Identifying a data packet as a redundant data packet;

[0376] Identifying the data packet as a source data packet;

[0377] marking the data packet with first information;

[0378] The first information includes at least one of the following:

[0379] Information of associated data packets associated with the data packet;

[0380] Information for indicating whether the data packet is allowed to be discarded or not;

[0381] Information indicating whether the data packet is a redundant data packet or not.

[0382] Based on the above content, optionally, in an embodiment of the present application, the identification data packet is a redundant data packet, including:

[0383] Identifying a data packet as a redundant data packet;

[0384] Identifying that the RTP stream to which the data packet belongs is a redundant RTP stream;

[0385] identifying that the set of data packets to which the data packet belongs includes redundant data packets;

[0386] Identifying that the QoS flow to which the data packet belongs includes redundant data packets.

[0387] Based on the above content, optionally, in an embodiment of the present application, the identification data packet is a source data packet, including:

[0388] Identifying the data packet as a source data packet;

[0389] Identifying that the RTP stream to which the data packet belongs is not a redundant RTP stream;

[0390] identifying that the set of data packets to which the data packet belongs does not include redundant data packets;

[0391] Identifying that the QoS flow to which the data packet belongs does not include redundant data packets.

[0392] Based on the above content, optionally, in an embodiment of the present application, when the data packet is identified as a redundant data packet, the first information includes at least one of the following:

[0393] Information of the associated data packet, wherein the associated data packet is a source data packet;

[0394] Information used to indicate that the data packet is allowed to be discarded;

[0395] Information indicating that the data packet is a redundant data packet.

[0396] Based on the above content, optionally, in an embodiment of the present application, when the data packet is identified as a source data packet, the first information includes:

[0397] Information of the associated data packet, wherein the associated data packet is a redundant data packet;

[0398] Information for indicating that the data packet is not allowed to be discarded;

[0399] Information indicating that the data packet is not a redundant data packet.

[0400] Based on the above content, optionally, in this embodiment of the present application, the information used to indicate that the data packet is allowed to be discarded includes at least one of the following:

[0401] Information used to indicate that the data packet is allowed to be discarded;

[0402] Information for indicating that the data packet of the RTP stream to which the data packet belongs is allowed to be discarded;

[0403] Information for indicating that the data packet of the data packet set to which the data packet belongs is allowed to be discarded;

[0404] Information used to indicate whether the packet of the QoS flow to which the packet belongs is allowed to be discarded.

[0405] Based on the above content, optionally, in an embodiment of the present application, the information used to indicate that the data packet is a redundant data packet includes at least one of the following:

[0406] Information indicating that the data packet is a redundant data packet;

[0407] Information for indicating that the RTP stream to which the data packet belongs includes redundant data packets;

[0408] Information used to indicate that the data packet set to which the data packet belongs includes redundant data packets;

[0409] Information used to indicate that the QoS flow to which the data packet belongs includes redundant data packets.

[0410] Based on the above content, optionally, in an embodiment of the present application, the information of the associated data packet associated with the data packet includes at least one of the following:

[0411] Information of the associated data packet;

[0412] Information about the RTP stream to which the associated data packet belongs;

[0413] Information about the data packet set to which the associated data packet belongs;

[0414] Information about the QoS flow to which the associated data packet belongs.

[0415] For example, when the associated data packet is a redundant data packet, the information of the associated data packet associated with the data packet includes at least one of the information of the redundant data packet; the information of the RTP stream to which the redundant data packet belongs; the information of the data packet set to which the redundant data packet belongs; and the information of the QoS stream to which the redundant data packet belongs.

[0416] Based on the above content, optionally, in an embodiment of the present application, the information of the associated data packet associated with the data packet is indicated by at least one of an offset, a bit mask, a sequence number SN, a quality of service QoS flow identifier QFI, and time information.

[0417] Based on the above content, optionally, in an embodiment of the present application, the offset includes at least one of the following:

[0418] Offset from PDU;

[0419] Offset from SN;

[0420] Row information of the first FEC block;

[0421] Column information of the first FEC block;

[0422] The first FEC block includes at least one of the data packet or the associated data packet.

[0423] In one example, the first FEC block includes the data packet. In one example, the first FEC block includes the associated data packet. In one example, the first FEC block includes the data packet and the associated data packet.

[0424] Based on the above content, optionally, in an embodiment of the present application, the SN includes at least one of a GTP-U SN, a PDU set SN, a PDU SN in a PDU set, and an SN in an RTP header.

[0425] Based on the above content, optionally, in an embodiment of the present application, the time information includes at least one of the following:

[0426] The time when the first communication device receives the data packet;

[0427] The time when the first communication device starts scheduling the data packet;

[0428] the time at which the first communication device receives the associated data packet;

[0429] The first communication device starts scheduling a time for the associated data packet.

[0430] For example, when the data packet is a source data packet and the associated data packet is a redundant data packet, the time information includes at least one of the time when the first communication device receives the source data packet; the time when the first communication device starts scheduling the source data packet; the time when the first communication device receives the redundant data packet; and the time when the first communication device starts scheduling the redundant data packet.

[0431] Based on the above content, optionally, in this embodiment of the present application, the first operation further includes at least one of the following:

[0432] determining a priority of the data packet;

[0433] Determining the priority of the data packet set to which the data packet belongs;

[0434] determining the priority of the associated data packet;

[0435] Determine the priority of the data packet set to which the associated data packet belongs.

[0436] For example, when the data packet is a source data packet and the associated data packet is a redundant data packet, the first operation includes determining the priority of the source data packet; determining the priority of the data packet set where the source data packet is located; determining the priority of the redundant data packet; and determining at least one of the priorities of the data packet set where the redundant data packet is located.

[0437] Based on the above content, optionally, in an embodiment of the present application, marking the data packet with the first information includes:

[0438] Marking the QoS flow where the data packet belongs to with the first information,

[0439] The QoS flow where the data packet is located includes a QoS flow corresponding to a first PCC rule, or the QoS flow where the data packet is located includes a QoS flow corresponding to a first data flow.

[0440] For example, when the data packet is a redundant data packet, the QoS corresponding to the data packet is a first QoS flow, and the first information is marked on the first QoS flow.

[0441] Based on the above, in another embodiment of the present application, marking the data packet with the first information includes:

[0442] Marking the QoS flow to which the associated data packet belongs with the first information;

[0443] The QoS flow where the associated data packet is located includes a QoS flow corresponding to a second PCC rule, or the QoS flow where the associated data packet is located includes a QoS flow corresponding to a second data flow.

[0444] For example, when the data packet is a source data packet, the QoS corresponding to the data packet is a second QoS flow, and the first information is marked on the second QoS flow.

[0445] Based on the above content, optionally, in an embodiment of the present application, the redundant data packet includes at least one of the following:

[0446] Redundant packets in RTP streams;

[0447] FEC repair packet used to protect or repair the source data packet.

[0448] Based on the above content, optionally, in an embodiment of the present application, the redundant RTP stream includes redundant data packets or does not include source data packets.

[0449] Based on the above content, optionally, in an embodiment of the present application, the data packet includes a protocol data unit (PDU) or a PDU set.

[0450] Based on the above content, optionally, in an embodiment of the present application, the method further includes:

[0451] The first communication device sends the first information to the access network device.

[0452] Based on the above content, optionally, in this embodiment of the present application, the first communication device sending the first information to the access network device includes:

[0453] The first communication device sends the first information to the access network device through a GPRS Tunnel Protocol User plane (GTP-U) header.

[0454] S309, the access network device obtains information related to the data packet;

[0455] Based on the above content, optionally, in an embodiment of the present application, the access network device obtains information related to the data packet, including:

[0456] The access network device obtains first information from the first communication device, where the first information includes at least one of the following:

[0457] Information of associated data packets associated with the data packet;

[0458] Information for indicating whether the data packet is allowed to be discarded or not;

[0459] Information indicating whether the data packet is a redundant data packet or not.

[0460] Optionally, in this embodiment of the present application, the access network device obtaining the first information from the first communication device includes:

[0461] The access network device obtains the first information from the first communication device through a GTP-U header.

[0462] S310: The access network device performs a second operation based on the information related to the data packet, where the second operation includes at least one of the following:

[0463] Identifying a data packet as a redundant data packet;

[0464] Identifying the data packet as a source data packet;

[0465] Associated data packets and associated data packets;

[0466] The packet is dropped or not sent.

[0467] Based on the above content, optionally, in an embodiment of the present application, discarding or not sending a data packet includes:

[0468] discarding or not sending the data packet set to which the data packet belongs;

[0469] discarding or not sending the data packet in the QoS flow to which the data packet belongs;

[0470] The QoS flow to which the data packet belongs includes a QoS flow corresponding to a first PCC rule, or the QoS flow to which the data packet belongs includes a QoS flow corresponding to a first data flow.

[0471] Optionally, in the embodiment of the present application, the data packet that is discarded or not sent may be a redundant data packet.

[0472] For example, after the access network device identifies a data packet as a redundant data packet, it may discard or not send the redundant data packet when the access network device is congested or the QoS flow is congested, thereby saving network communication resources.

[0473] Based on the above content, optionally, in an embodiment of the present application, the above method further includes:

[0474] S312, the access network device sends the data packet to the terminal;

[0475] S313. The access network device receives a first message from the terminal, where the first message is used to indicate that the data packet transmission is successful.

[0476] The discarding or not sending the data packet includes:

[0477] Based on the first message, the data packet is discarded or not sent.

[0478] For example, when the data packet is a source data packet, upon receiving the first message from the terminal, the access network device can determine that the terminal device has received the source data packet. Therefore, the access network device does not need to send redundant data packets, including repair data packets, to the terminal. Therefore, the access network device discards or does not send the redundant data packets, thereby conserving network communication resources.

[0479] In summary, the data packet processing method provided in this application enables the access network device to discard or not transmit unnecessary redundant data packets when the network is congested or the QoS flow is congested, thereby saving network communication resources.

[0480] Next, another method for processing data packets provided by the present application is further described in detail. As shown in FIG4 , the method includes:

[0481] S401: The second communication device obtains information related to a data packet.

[0482] Likewise, the second communication device may be an SMF device, and the data packet includes a source data packet and / or a redundant data packet.

[0483] Optionally, in an embodiment of the present application, the second communication device may obtain information related to the data packet locally.

[0484] In another embodiment of the present application, before step S401, the method may further include steps S301 to S304 in the data packet processing method shown in FIG3 , thereby enabling the second communication device to obtain information related to the data packet.

[0485] S402. The second communication device sends fifth information to the access network device based on the information related to the data packet;

[0486] The fifth information includes at least one of the following:

[0487] association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow;

[0488] The associated information of the second QoS flow includes the information of the first QoS flow.

[0489] Based on the above content, optionally, in an embodiment of the present application, the first QoS flow includes a QoS flow corresponding to a first PCC rule, or the first QoS flow includes a QoS flow corresponding to a first data flow.

[0490] Based on the above content, optionally, in an embodiment of the present application, the second QoS flow includes a QoS flow corresponding to the first PCC rule, or the second QoS flow includes a QoS flow corresponding to the second data flow.

[0491] Based on the above content, optionally, in an embodiment of the present application, the first QoS flow includes redundant data packets, and the second QoS flow includes source data packets.

[0492] Based on the above content, optionally, in an embodiment of the present application, the information of the first QoS flow includes a first QoS flow identifier QFI.

[0493] Based on the above content, optionally, in an embodiment of the present application, the information of the second QoS flow includes a second QoS flow identifier QFI.

[0494] S403: The access network device obtains information related to the data packet.

[0495] Optionally, in the embodiment of the present application, the access network device acquiring information related to the data packet includes:

[0496] The access network device obtains fifth information from the second communication device.

[0497] S404, the access network device sends the data packet to the terminal;

[0498] S405. The access network device receives a first message from the terminal, where the first message is used to indicate that the data packet transmission is successful.

[0499] The discarding or not sending the data packet includes:

[0500] Based on the first message, the data packet is discarded or not sent.

[0501] Optionally, in this embodiment of the present application, the discarding or not sending the data packet includes at least one of the following:

[0502] When the access network device is in congestion, the redundant data packet is discarded or not sent.

[0503] When the first QoS flow is congested, the redundant data packet is discarded or not sent.

[0504] When the second QoS flow is congested, the redundant data packet is discarded or not sent.

[0505] For example, when the data packet is a source data packet, upon receiving the first message from the terminal, the access network device may determine that the terminal device has received the source data packet, and therefore, the access network device does not need to send redundant data packets including repair data packets to the terminal. Therefore, when the access network device is experiencing network congestion or the first QoS flow or the second QoS flow is experiencing congestion, the access network device may discard or not send the redundant data packets, thereby saving network communication resources.

[0506] In summary, the data packet processing method provided in this application enables the access network device to discard or not transmit unnecessary redundant data packets when the network is congested, the first QoS flow or the second QoS flow is congested, thereby saving network communication resources.

[0507] In some embodiments, the present application also provides a method for processing a data packet, including:

[0508] The third communication device obtains at least one of the local configuration information and the fourth information;

[0509] The third communication device performs a first operation based on at least one of the local configuration information and the fourth information;

[0510] The fourth information includes at least one of the following:

[0511] Information for requesting first information of a marking data packet;

[0512] Protocol description information PD;

[0513] First SSRC;

[0514] Second SSRC;

[0515] Information used to indicate the priority of the first data stream corresponding to the first SSRC;

[0516] Information used to indicate the priority of the second data stream corresponding to the second SSRC;

[0517] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0518] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream;

[0519] in,

[0520] The first operation includes at least one of the following:

[0521] generating a first PCC rule;

[0522] generating a second PCC rule;

[0523] sending third information to the second communication device;

[0524] The third information includes at least one of the following:

[0525] First PCC Rule;

[0526] Second PCC Rule;

[0527] Information for at least one of the following:

[0528] requiring the data packet to be marked with the first information;

[0529] It is required to identify the data packet as a source data packet or a redundant data packet.

[0530] The first information includes at least one of the following:

[0531] Information of associated data packets associated with the data packet;

[0532] Information for indicating whether the data packet is allowed to be discarded or not;

[0533] Information indicating whether the data packet is a redundant data packet or not.

[0534] Optionally, generating the first PCC rule includes at least one of the following:

[0535] Determining a priority level in a first PCC rule;

[0536] The first PCC rule includes a first SSRC;

[0537] The first PCC rule includes first indication information;

[0538] The first indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0539] Optionally, the data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0540] or

[0541] The priority level in the first PCC rule is determined to indicate information on the priority of the first data flow corresponding to the first SSRC.

[0542] Optionally, generating the second PCC rule includes at least one of the following:

[0543] determining a priority level in a second PCC rule;

[0544] The second PCC rule includes a second SSRC;

[0545] The second PCC rule includes second indication information;

[0546] The data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream; and the second indication information is used to indicate that the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0547] Optionally, the data packet in the first data stream corresponding to the second SSRC is a redundant data packet, or the first data stream corresponding to the second SSRC is a redundant RTP stream;

[0548] or

[0549] The priority level in the second PCC rule is determined to indicate information about the priority of the first data flow corresponding to the second SSRC.

[0550] Optionally, the priority level in the second PCC rule is greater than or equal to the priority level in the first PCC rule.

[0551] Optionally, the first PCC rule is applied to a first QoS flow;

[0552] The second PCC rule is applied to a second QoS flow;

[0553] in,

[0554] The first QoS flow comprises a QoS flow corresponding to a first data flow, the first data flow comprising redundant data packets;

[0555] The second QoS flow comprises a QoS flow corresponding to a second data flow, the first data flow comprising source data packets;

[0556] Optionally, the third information is included in a PCC rule, and the PCC rule includes at least one of the following:

[0557] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0558] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0559] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0560] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0561] Optionally, the fourth information includes at least one of the following:

[0562] Protocol description information PD;

[0563] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0564] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0565] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0566] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0567] Optionally, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0568] Optionally, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0569] In some embodiments, a method for processing a data packet is further provided, comprising:

[0570] The second communication device obtains at least one of the local configuration information and the third information;

[0571] The second communication device performs a second operation based on at least one of the local configuration information and the third information;

[0572] The third information includes at least one of the following:

[0573] First PCC Rule;

[0574] Second PCC Rule;

[0575] Information for at least one of the following:

[0576] requiring the data packet to be marked with the first information;

[0577] It is required to identify the data packet as a source data packet or a redundant data packet.

[0578] The second operation includes at least one of the following:

[0579] Binding the first PCC rule and the second PCC rule to different QoS flows; or, binding the first PCC rule to an independent QoS flow;

[0580] Determine a first QoS flow priority;

[0581] Determining a second QoS flow priority;

[0582] sending second information to the first communication device;

[0583] The second information is used for at least one of the following:

[0584] requiring to mark the data packet with first information;

[0585] It is required to identify the data packet as a source data packet or a redundant data packet.

[0586] The first information includes at least one of the following:

[0587] Information of associated data packets associated with the data packet;

[0588] Information for indicating whether the data packet is allowed to be discarded or not;

[0589] Information indicating whether the data packet is a redundant data packet or not.

[0590] In one implementation, binding the first PCC rule to an independent QoS flow means that the first QoS flow is only used for the first PCC rule and is not used for other PCC rules.

[0591] Optionally, the first PCC rule includes: at least one of a first SSRC and first indication information, wherein the first indication information is used to indicate that a data packet in a first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0592] The second PCC rule includes: at least one of a second SSRC and second indication information, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream; and the second indication information is used to indicate that the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0593] Optionally, binding the first PCC rule and the second PCC rule to different QoS flows includes:

[0594] Binding the first PCC rule to the first QoS flow;

[0595] The second PCC rule is bound to the second QoS flow.

[0596] Optionally, the second QoS flow priority is greater than or equal to the first QoS flow priority.

[0597] Optionally, the first QoS flow includes a QoS flow corresponding to a first PCC rule, or the first QoS flow includes a QoS flow corresponding to a first data flow, and the first data flow includes redundant data packets.

[0598] Optionally, the second QoS flow includes a QoS flow corresponding to a second PCC rule, or the second QoS flow includes a QoS flow corresponding to a second data flow, and the second data flow includes a source data packet.

[0599] Optionally, the second information is included in a packet detection rule PDR.

[0600] Optionally, the second information includes at least one of the following:

[0601] Protocol description information PD;

[0602] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream;

[0603] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0604] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0605] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream;

[0606] Optionally, the second information includes: a first PDR; a second PDR.

[0607] Optionally, the first PDR includes at least one of the following:

[0608] Protocol description information PD;

[0609] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream;

[0610] The first indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0611] Optionally, the second PDR includes at least one of the following:

[0612] Protocol description information PD;

[0613] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0614] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

[0615] Optionally, the third information includes a first PCC rule and a second PCC rule.

[0616] Optionally, the first PCC rule includes at least one of the following:

[0617] Priority level;

[0618] First SSRC;

[0619] First instruction information;

[0620] The data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream; and the first indication information is used to indicate that the data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0621] Optionally, the second PCC rule includes at least one of the following:

[0622] Priority level;

[0623] Second SSRC;

[0624] Second instruction information;

[0625] The data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream; and the second indication information is used to indicate that the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0626] Optionally, the priority level in the second PCC rule is greater than or equal to the priority level in the first PCC rule.

[0627] Optionally, the first PCC rule is applied to a first QoS flow;

[0628] The second PCC rule is applied to a second QoS flow;

[0629] wherein the first QoS flow comprises a QoS flow corresponding to a first data flow, and the first data flow comprises redundant data packets;

[0630] The second QoS flow includes a QoS flow corresponding to a second data flow, and the first data flow includes source data packets.

[0631] In some embodiments, the present application also provides a method for processing a data packet, including:

[0632] The first communication device obtains second information;

[0633] Perform a first operation based on the second information, where the first operation includes at least one of the following:

[0634] Identifying a data packet as a redundant data packet;

[0635] Identifying the data packet as a source data packet;

[0636] marking the data packet with first information;

[0637] The second information includes at least one of the following:

[0638] Protocol description information PD;

[0639] First SSRC;

[0640] Second SSRC;

[0641] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0642] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream;

[0643] Information for at least one of the following:

[0644] requiring to mark the data packet with first information;

[0645] It is required to identify the data packet as a source data packet or a redundant data packet;

[0646] The first information includes at least one of the following:

[0647] Information of associated data packets associated with the data packet;

[0648] Information for indicating whether the data packet is allowed to be discarded or not;

[0649] Information indicating whether the data packet is a redundant data packet or not.

[0650] In one embodiment, at least one of the following may be used for at least one of the following requirements: requiring marking a data packet with first information; requiring identifying a data packet as a source data packet or a redundant data packet.

[0651] Protocol description information PD;

[0652] First SSRC;

[0653] Second SSRC;

[0654] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0655] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

[0656] Optionally, the identification data packet is a redundant data packet, including:

[0657] Identifying a data packet as a redundant data packet;

[0658] Identifying that the RTP stream to which the data packet belongs is a redundant RTP stream;

[0659] identifying that the set of data packets to which the data packet belongs includes redundant data packets;

[0660] Identifying that the QoS flow to which the data packet belongs includes redundant data packets.

[0661] Optionally, the identification data packet is a source data packet, including:

[0662] Identifying the data packet as a source data packet;

[0663] Identifying that the RTP stream to which the data packet belongs is not a redundant RTP stream;

[0664] identifying that the set of data packets to which the data packet belongs does not include redundant data packets;

[0665] Identifying that the QoS flow to which the data packet belongs does not include redundant data packets.

[0666] Optionally, when the data packet is identified as a redundant data packet, the first information includes at least one of the following:

[0667] Information of the associated data packet, wherein the associated data packet is a source data packet;

[0668] Information used to indicate that the data packet is allowed to be discarded;

[0669] Information indicating that the data packet is a redundant data packet.

[0670] Optionally, when the data packet is identified as a source data packet, the first information includes:

[0671] Information of the associated data packet, wherein the associated data packet is a redundant data packet;

[0672] Information for indicating that the data packet is not allowed to be discarded;

[0673] Information indicating that the data packet is not a redundant data packet.

[0674] Optionally, the information indicating that the data packet is allowed to be discarded includes at least one of the following:

[0675] Information used to indicate that the data packet is allowed to be discarded;

[0676] Information for indicating that the data packet of the RTP stream to which the data packet belongs is allowed to be discarded;

[0677] Information for indicating that the data packet of the data packet set to which the data packet belongs is allowed to be discarded;

[0678] Information used to indicate whether the packet of the QoS flow to which the packet belongs is allowed to be discarded.

[0679] Optionally, the information used to indicate that the data packet is a redundant data packet includes at least one of the following:

[0680] Information indicating that the data packet is a redundant data packet;

[0681] Information for indicating that the RTP stream to which the data packet belongs includes redundant data packets;

[0682] Information used to indicate that the data packet set to which the data packet belongs includes redundant data packets;

[0683] Information used to indicate that the QoS flow to which the data packet belongs includes redundant data packets.

[0684] Optionally, the information of the associated data packet associated with the data packet includes at least one of the following:

[0685] Information of the associated data packet;

[0686] Information about the RTP stream to which the associated data packet belongs;

[0687] Information about the data packet set to which the associated data packet belongs;

[0688] Information about the QoS flow to which the associated data packet belongs.

[0689] Optionally, the information of the associated data packet associated with the data packet is indicated by at least one of an offset, a bit mask, a sequence number SN, a quality of service QoS flow identifier (QoS Flow Identifier, QFI), and time information.

[0690] Optionally, the offset includes at least one of the following:

[0691] Offset from PDU;

[0692] Offset from SN;

[0693] Row information of the first FEC block;

[0694] Column information of the first FEC block;

[0695] The first FEC block includes at least one of the data packet and the associated data packet.

[0696] Optionally, the SN includes at least one of a GTP-U SN, a PDU set SN, a PDU SN in a PDU set, and an SN in an RTP header.

[0697] Optionally, the time information includes at least one of the following:

[0698] The time when the first communication device receives the data packet;

[0699] The time when the first communication device starts scheduling the data packet;

[0700] the time at which the first communication device receives the associated data packet;

[0701] The first communication device starts scheduling the associated data packet.

[0702] Optionally, the first operation further includes at least one of the following:

[0703] determining a priority of the data packet;

[0704] Determining the priority of the data packet set to which the data packet belongs;

[0705] determining the priority of the associated data packet;

[0706] Determine the priority of the data packet set to which the associated data packet belongs.

[0707] Optionally, the method further includes:

[0708] The first communication device sends the first information to the access network device.

[0709] Optionally, the first communication device sending the first information to the access network device includes:

[0710] The first communication device sends the first information to the access network device through a GTP-U header.

[0711] Optionally, the first communication device obtains the second information from the second communication device.

[0712] Optionally, the second information is included in a packet detection rule PDR.

[0713] Optionally, the second information includes at least one of the following:

[0714] Protocol description information PD;

[0715] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream;

[0716] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0717] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0718] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream;

[0719] Optionally, the second information includes: a first PDR; a second PDR.

[0720] Optionally, the first PDR includes at least one of the following:

[0721] Protocol description information PD;

[0722] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream;

[0723] The first indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0724] Optionally, the second PDR includes at least one of the following:

[0725] Protocol description information PD;

[0726] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[0727] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

[0728] Optionally, marking the data packet with the first information includes:

[0729] Marking the QoS flow where the data packet belongs to with the first information,

[0730] The QoS flow where the data packet is located includes a QoS flow corresponding to a first PCC rule, or the QoS flow where the data packet is located includes a QoS flow corresponding to a first data flow.

[0731] Optionally, marking the data packet with the first information includes:

[0732] Marking the QoS flow to which the associated data packet belongs with the first information;

[0733] The QoS flow where the associated data packet is located includes a QoS flow corresponding to a second PCC rule, or the QoS flow where the associated data packet is located includes a QoS flow corresponding to a second data flow.

[0734] Optionally, the redundant data packet includes at least one of the following:

[0735] Redundant packets in RTP streams;

[0736] FEC repair packet used to protect or repair the source data packet.

[0737] Optionally, the redundant RTP stream includes redundant data or does not include source data packets.

[0738] Optionally, the data packet includes a PDU or a PDU set.

[0739] The present invention also provides a method for processing a data packet, including:

[0740] The fourth communication device sends fourth information to the third communication device,

[0741] The fourth information includes at least one of the following:

[0742] Protocol description information PD;

[0743] First SSRC;

[0744] Second SSRC;

[0745] Information used to indicate the priority of the first data stream corresponding to the first SSRC;

[0746] Information used to indicate the priority of the second data stream corresponding to the second SSRC;

[0747] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0748] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream;

[0749] Information for requesting at least one of the following: requesting identification of a data packet as a source data packet or a redundant data packet, and requesting first information for marking a data packet;

[0750] in,

[0751] The first information includes at least one of the following:

[0752] Information of associated data packets associated with the data packet;

[0753] Information for indicating whether the data packet is allowed to be discarded or not;

[0754] Information indicating whether the data packet is a redundant data packet or not.

[0755] In one embodiment, at least one of the following may be used for at least one of the following requirements: requiring marking a data packet with first information; requiring identifying a data packet as a source data packet or a redundant data packet.

[0756] Protocol description information PD;

[0757] First SSRC;

[0758] Second SSRC;

[0759] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[0760] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

[0761] The first SSRC and the second SSRC are two SSRCs of the same data stream (e.g., a data stream identified by an IP 5-tuple) or a same connection. It is understood that the first data stream corresponding to the first SSRC or the second data stream corresponding to the second SSRC can be understood as sub-data streams of the same data stream.

[0762] Optionally, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[0763] Optionally, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[0764] The present invention also provides a method for processing a data packet, which includes:

[0765] The access network device obtains the first information;

[0766] The access network device performs a second operation based on the first information, where the second operation includes at least one of the following:

[0767] Identifying a data packet as a redundant data packet;

[0768] Identifying the data packet as a source data packet;

[0769] Associated data packets and associated data packets;

[0770] The packet is dropped or not sent.

[0771] Optionally, discarding or not sending a data packet includes:

[0772] discarding or not sending the data packet set to which the data packet belongs;

[0773] discarding or not sending the data packet in the QoS flow to which the data packet belongs;

[0774] The QoS flow to which the data packet belongs includes a QoS flow corresponding to a first PCC rule, or the QoS flow to which the data packet belongs includes a QoS flow corresponding to a first data flow.

[0775] Optionally, the access network device obtains information related to the data packet, including:

[0776] The access network device obtains first information from the first communication device, where the first information includes at least one of the following:

[0777] Information of associated data packets associated with the data packet;

[0778] Information for indicating whether the data packet is allowed to be discarded or not;

[0779] Information indicating whether the data packet is a redundant data packet or not.

[0780] Optionally, the access network device acquiring the first information from the first communication device includes:

[0781] The access network device obtains the first information from the first communication device through a GTP-U header.

[0782] Optionally, the access network device obtains information related to the data packet, including:

[0783] The access network device obtains fifth information from the second communication device, where the fifth information includes at least one of the following:

[0784] association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow;

[0785] The associated information of the second QoS flow includes the information of the first QoS flow.

[0786] Optionally, the method further includes:

[0787] The access network device sends the data packet to the terminal;

[0788] The access network device receives a first message from the terminal, where the first message is used to indicate that the data packet is successfully transmitted;

[0789] The discarding or not sending the data packet includes:

[0790] Based on the first message, the data packet is discarded or not sent.

[0791] Optionally, the discarding or not sending the data packet includes at least one of the following:

[0792] When the access network device is in congestion, discarding or not sending the redundant data packet;

[0793] When the first QoS flow is congested, discarding or not sending the redundant data packet;

[0794] When the second QoS flow is congested, the redundant data packet is discarded or not sent.

[0795] The data packet processing method of the present application is further described below with reference to three specific embodiments.

[0796] Example 1:

[0797] As shown in FIG5 , the first embodiment includes the following steps:

[0798] In step 1-3, the AF sends a service requirement to the PCF, requesting marking of the repair data packet. The service requirement includes at least one of the following: an SSRC; first association information; and first indication information. The first indication information indicates the relationship between the SSRC and the Redundancy RTP Stream, and the first association information indicates at least one of the following: the relationship between the SSRC and the repair packet; and the relationship between the SSRC and the source data packet.

[0799] In some implementations, the relationship between the SSRC and the repair packet is as follows: the RTP stream identified by the SSRC includes the repair packet, that is, the AF sends the SSRC of the RTP stream containing the repair packet to the PCF.

[0800] In some implementations, the relationship between the SSRC and the source packet is as follows: the RTP stream identified by the SSRC includes the source packet, that is, the AF sends the SSRC of the RTP stream where the source packet is located to the PCF.

[0801] In some implementations, the relationship between the SSRC and the Redundancy RTP Stream is as follows: the SSRC is the Redundancy RTP Stream, that is, the AF sends the SSRC of the Redundancy RTP Stream to the PCF.

[0802] Step 4-5, corresponding response message.

[0803] In steps 6-7, the PCF generates a PCC rule for the SMF, and the PCC rule includes an SSRC. Optionally, the SSRC includes at least one of the following: the SSRC of the RTP stream where the source packet is located; the SSRC of the RTP stream where the repair packet is located. It is worth noting that in this embodiment, it is not limited to whether the PCF generates one or two PCC rules. In one embodiment, if the source packet and the repair packet are mapped to two QoS streams, the PCF generates two PCC rules. At this time, of the two PCC rules, one includes the SSRC of the RTP stream where the source packet is located, and the other includes the SSRC of the RTP stream where the repair packet is located. In one embodiment, if the source packet and the repair packet are mapped to one QoS stream, the PCF generates one PCC rule. At this time, the PCC rule includes both the SSRC of the RTP stream where the source packet is located and the SSRC of the RTP stream where the repair packet is located.

[0804] In steps 8-9, the SMF generates a PDR to the UPF, and the PDR includes: SSRC. Optionally, the SSRC includes at least one of the following: the SSRC of the RTP stream where the source packet is located; the SSRC of the RTP stream where the repair packet is located. In one embodiment, if the PCF provides two PCC rules, the SMF generates two PDRs, one of which includes the SSRC of the RTP stream where the source packet is located, and the other includes the SSRC of the RTP stream where the repair packet is located. In one embodiment, if the PCF provides a PCC rule, the SMF generates a PDR that includes the SSRC of the RTP stream where the source packet is located and the SSRC of the RTP stream where the repair packet is located.

[0805] In step 10, the UPF performs a first operation based on the PDR, including at least one of the following: determining a protocol data unit set importance (PDU set importance); determining or marking a repair packet; determining or marking a source packet; and providing first information to the RAN, wherein the first information includes at least one of the following:

[0806] Second association information, used to associate a set of data packets;

[0807] The second indication information is used to indicate the Redundancy RTP Stream;

[0808] The third indication information is used to indicate that the data packet set can be discarded.

[0809] Optionally, determining the PDU set importance includes: determining the PDU set importance of the source package; and determining the PDU set importance of the repair package.

[0810] In some implementations, the PDU set importance of the source packet is higher than the PDU set importance of the repair packet.

[0811] Optionally, the associated data packet set includes: a data packet set associated with source packets and a data packet set associated with repair packets.

[0812] Optionally, the second association information includes at least one of the following: SN; time information; Qos QFI; offset.

[0813] Optionally, the SN includes at least one of the following: GTP-U SN; PDU set SN; PDU SN in the PDU set; SN in the RTP header.

[0814] Optionally, the offset represents an offset from the PDU or SN.

[0815] In one embodiment, when the source packet and the repair packet are located in different QoS flows, the repair packet and the source packet may be associated through, for example, the GTP-U SN or the SN in the RTP header.

[0816] In one embodiment, when the source packet and the repair packet are in the same QoS flow, the repair packet and the source packet may be associated by, for example, a PDU set SN or a PDU SN in a PDU set.

[0817] In one implementation, the time information is expressed in the form of a timestamp.

[0818] In one embodiment, the UPF includes the timestamp information of the repair packet in the GTP-U header of a PDU in the data packet set of the source packet.

[0819] In one embodiment, the UPF includes the time stamp information of the source packet in the GTP-U header of a PDU in the data packet set of the repair packet.

[0820] In one embodiment, the UPF includes the SN of the repair packet in the GTP-U header of a PDU in the data packet set of the source packet, such as the GTP-U SN, the PDU set SN, the PDU in the PDU set, and the SN in the RTP header.

[0821] In one embodiment, the UPF includes the SN of the source packet in the GTP-U header of a PDU in the data packet set of the repair packet, such as the GTP-U SN, PDU set SN, PDU SN within a PDU Set, and SN in the RTP header.

[0822] In one embodiment, offset represents an offset from the PDU. For example, the UPF inserts offset in the GTP-U header to indicate at least one of the following: a PDU whose offset from the first PDU is equal to the offset value is a repair packet; or a PDU whose offset from the first PDU is greater than or equal to the offset value is a repair packet. For example, an offset value of 17 indicates that all PDUs in the PDU set starting from the 17th PDU are repair packets.

[0823] In one embodiment, offset represents an offset from the SN. For example, the UPF includes the SN and offset in the GTP-U header, which indicates at least one of the following: a PDU whose offset from the SN is equal to the offset value is a repair packet; a PDU whose offset from the SN is greater than or equal to the offset value is a repair packet. For example, if the offset value is 17, it means that all PDUs starting from SN+17 are repair packets. The SN here can be, for example, the GTP-U SN, the PDU set SN, the PDU SN in the PDU set, or the SN in the RTP header.

[0824] Optionally, the UPF provides the first information to the RAN, including at least one of the following: the UPF provides the first information to the RAN in the first PDU of the PDU set; the UPF provides the first information to the RAN in the last PDU of the PDU set; the UPF provides the first information to the RAN in the PDU of any PDU set.

[0825] Optionally, the Redundancy RTP Stream is an RTP stream that does not contain source data packets or only contains redundant data packets.

[0826] In one embodiment, the UPF indicates in the GTP-U header that the PDU set includes the Redundancy RTP Stream.

[0827] In one embodiment, the PDU set importance of the PDU set of the Redundancy RTP Stream is lower than the PDU set importance of the PDU set of the source packet.

[0828] In one embodiment, the set of packets of the Redundancy RTP Stream may be discarded.

[0829] Step 11: The RAN performs a second operation, where the second operation includes at least one of the following:

[0830] A collection of associated data packets;

[0831] Set of dropped packets.

[0832] Optionally, the RAN performing the second operation includes: the RAN obtaining first information; and performing the second operation based on the first information. The first information includes at least one of the following: second association information for associating a data packet set; second indication information for indicating a Redundancy RTP Stream; and third indication information for indicating that the data packet set can be discarded.

[0833] Optionally, the RAN-associated data packet set includes: a RAN-associated data packet set based on second association information.

[0834] In one embodiment, the UPF includes the repair packet's time stamp information and / or the repair packet's SN in the GTP-U header of a PDU in the source packet's data packet set, such as the GTP-U SN, PDU set SN, PDU SN within a PDU Set, or SN in RTP header. The RAN may associate the repair packet's data packet set with the source packet's data packet set based on the repair packet's time stamp information and / or the repair packet's SN.

[0835] Optionally, the RAN discards the data packet set, including at least one of the following: discarding the corresponding data packet set based on the second indication information; discarding the corresponding data packet set based on the third indication information; discarding the associated data packet set after the data packet set of the source packet is successfully transmitted.

[0836] In one embodiment, after the data packet set of the source packet is successfully transmitted, the RAN discards the data packet set of the repair packet corresponding to the source packet.

[0837] Optionally, the method further includes: the RAN obtaining a first message from the UE, where the first message is used to indicate that the data packet set of the source packet is successfully transmitted.

[0838] Example 2:

[0839] As shown in FIG5 , the second embodiment includes the following steps:

[0840] In steps 1-3, the AF sends at least one of the following to the PCF:

[0841] Protocol Description;

[0842] First information for requesting marking of a repair package;

[0843] First SSRC;

[0844] Second SSRC;

[0845] Information X;

[0846] Information Y.

[0847] in,

[0848] The Xth information is used to indicate at least one of the following: the data packet in the RTP stream indicated by the first SSRC is a source packet; the RTP stream of the first SSRC is not a redundant RTP stream;

[0849] The Yth information is used to indicate at least one of the following: the data packet in the stream of the second SSRC is a repair packet; and the RTP stream of the second SSRC is a Redundancy RTP Stream.

[0850] Optionally, the data packet in the RTP stream indicated by the first SSRC is a source packet, or the RTP Rstream of the first SSRC is not a Redundancy RTP Rstream.

[0851] Optionally, the data packet in the RTP stream indicated by the second SSRC is a repair packet, or the RTP stream of the second SSRC is a redundancy RTP stream.

[0852] Optionally, the protocol description information is used for at least one of the following: identifying repair packets and / or source packets; and describing the protocol used by the data flow.

[0853] Steps 4-5 are the same as those in Example 1.

[0854] In step 6-7, the PCF sends second information (eg, a repair packet marking indication) for requesting marking of the repair packet to the SMF.

[0855] In one embodiment, second information for requesting marking of the repair packet is determined and / or sent to the SMF according to a local configuration or the received first information.

[0856] In one embodiment, the granularity of the second information is: PCC rule, or data flow (e.g., service data flow). At data flow granularity, the marking request for a repair packet refers to marking the repair packet for the first data flow. At PCC rule granularity, the second information is included in the first PCC rule. The first PCC rule is the PCC rule corresponding to the first data flow.

[0857] It is worth noting that in this embodiment, it is not limited to whether the PCF generates one or two PCC rules. In one embodiment, if the source packet and the repair packet are mapped to two QoS streams, the PCF generates two PCC rules. In this case, one of the two PCC rules includes the SSRC of the RTP stream where the source packet is located, and the other includes the SSRC of the RTP stream where the repair packet is located. In one embodiment, if the source packet and the repair packet are mapped to one QoS stream, the PCF generates one PCC rule. In this case, the PCC rule includes both the SSRC of the RTP stream where the source packet is located and the SSRC of the RTP stream where the repair packet is located.

[0858] Optionally, the method further includes: the PCF determining a first QoS priority of at least one of the following: a source packet; a QoS flow to which the source packet belongs; a repair packet; a QoS flow to which the repair packet belongs; a redundant RTP stream; and a QoS flow to which the redundant RTP stream belongs.

[0859] Optionally, the first QoS priority includes: a priority level in a PCC rule.

[0860] Optionally, the PCF determines the first QoS priority, including: the PCF determines the first QoS priority according to local configuration or received first information.

[0861] In one implementation, the PCF assigns a lower Priority Level to the Redundant RTP stream (or the QoS flow to which it belongs) than to the RTP stream to which the source packet belongs (or the QoS flow to which it belongs). The Priority Level indicates a priority for resource scheduling within the QoS flow. While this implementation does not directly alleviate congestion, it ensures that higher-priority source packets are scheduled first in congested scenarios.

[0862] In one implementation, the PCF assigns a lower Priority Level to the RTP stream (or QoS stream) to which the repair packet belongs than to the RTP stream (or QoS stream to which the source packet belongs). The Priority Level indicates a priority for resource scheduling within the QoS stream. While this implementation does not directly alleviate congestion, it ensures that higher-priority source packets are scheduled first in congested scenarios.

[0863] In step 8-9, the SMF sends third information (eg, a repair packet marking indication) to the UPF for requesting marking of the repair packet.

[0864] In one embodiment, third information for requesting marking of the repair packet is determined and / or sent to the UPF according to the local configuration or the received second information.

[0865] In one embodiment, the third information is included in the PDR. If the PCF provides two PCC rules, the SMF generates two PDRs, one of which includes the SSRC of the RTP stream containing the source packet and the other includes the SSRC of the RTP stream containing the repair packet. In one embodiment, if the PCF provides one PCC rule, the SMF generates one PDR that includes the SSRC of the RTP stream containing the source packet and the SSRC of the RTP stream containing the repair packet.

[0866] In one embodiment, the granularity of the third information is QoS flow. The third information for requesting the marking of the repair packet refers to requesting the marking of the repair packet for the first QoS flow. The first QoS flow is a QoS flow bound to a first PCC rule, or the first QoS flow is a QoS flow bound to a first data flow.

[0867] Optionally, the method further includes: SMF determining a second QoS priority of at least one of the following: Source packet; QoS flow to which the Source packet belongs; repair packet; QoS flow to which the repair packet belongs; Redundant RTP Stream; QoS flow to which the Redundant RTP Stream belongs.

[0868] Optionally, the second QoS priority includes: priority in PDR.

[0869] Optionally, the PCF determines the QoS priority, including: the SMF determines the second QoS priority according to local configuration or the received first QoS priority.

[0870] In one embodiment, the Precedence of the Redundant RTP stream (or the QoS stream to which the Redundant RTP stream belongs) is lower than that of the RTP stream to which the source packet belongs (or the QoS stream to which the source packet belongs). The Precedence indicates the priority of the PDR. In this embodiment, although congestion cannot be directly alleviated, it can ensure that source packets with higher priority are scheduled first in congested scenarios.

[0871] In one embodiment, the Precedence of the repair packet (or the QoS flow to which the repair packet belongs) is lower than the RTP stream to which the source packet belongs (or the QoS flow to which the source packet belongs). The Precedence indicates the priority of the PDR. Although this embodiment cannot directly alleviate congestion, it can ensure that source packets with higher priority are scheduled first in congested scenarios.

[0872] In step 10, the UPF performs a first operation, where the first operation includes at least one of the following:

[0873] Identify the repair package;

[0874] Identify the source package;

[0875] Marking the first repair package with the first information;

[0876] Marking the first source packet with first information;

[0877] Determine the importance of a set of data packets;

[0878] The first information includes at least one of the following:

[0879] Information about the source package associated with the first repair package;

[0880] Information about the repair package associated with the first source package

[0881] First association information, used to associate the data packet set to which the source packet corresponding to the first repair packet belongs;

[0882] Information used to indicate Redundancy RTP Stream;

[0883] Information used to indicate that the first repair packet can be discarded;

[0884] Information used to indicate that the data packet set to which the first repair packet belongs can be discarded;

[0885] Information used to indicate that packets of the first QoS flow can be discarded.

[0886] In one embodiment, the UPF marks the repair packet with the first information, wherein the UPF marks the repair packet with the first information, including: setting the first information in a GTP-U header of the repair packet.

[0887] In one embodiment, the repair packet and the source packet are in the same QoS flow, and the repair packet and the source packet can be distinguished only by the first SSRC in the indication information.

[0888] In one embodiment, the repair packet and the source packet are not in the same QoS flow and are distinguished by at least one of QFI, indication information, and source packet information, wherein the source packet information includes at least one of the following: offset; SN; QoS flow identifier (QFI); and time information.

[0889] In one embodiment, the QFI is sent via control signaling: for example, the network indicates to the RAN that QoS flow 2 transmits the repair packet of QoS flow 1. This can effectively save the load of the GTP-U packet header.

[0890] In one embodiment, offset represents an offset from the PDU. For example, the UPF inserts offset in the GTP-U header to indicate at least one of the following: a PDU whose offset from the first PDU is equal to the offset value is a repair packet; or a PDU whose offset from the first PDU is greater than or equal to the offset value is a repair packet. For example, an offset value of 17 indicates that all PDUs in the PDU set starting from the 17th PDU are repair packets.

[0891] In one embodiment, offset represents an offset from the SN. For example, the UPF includes the SN and offset in the GTP-U header, which indicates at least one of the following: a PDU whose offset from the SN is equal to the offset value is a repair packet; a PDU whose offset from the SN is greater than or equal to the offset value is a repair packet. For example, if the offset value is 17, it means that all PDUs starting from SN+17 are repair packets. The SN here can be, for example, the GTP-U SN, the PDU set SN, the PDU SN in the PDU set, or the SN in the RTP header.

[0892] In one embodiment, offset represents the number of columns L and / or rows D of an FEC source block, and is used to indicate the offset between the source packet and the SN or the offset between the repair packet and the SN. For example, for each SSRC (e.g., each SSRC in the CSRC list): when D <= 1, the source packets for each row are: SN, SN+1, ..., SN+(L-1); when D > 1, the source packets for each column are: SN, SN+L, ..., SN+(D-1)*L.

[0893] Step 11: The RAN performs a second operation, where the second operation includes at least one of the following:

[0894] Identify the repair package;

[0895] Identify the source package;

[0896] Associate the source package and the repair package;

[0897] Discard the data packet set to which the first repair packet belongs;

[0898] The data packets in the first QoS flow are discarded.

[0899] In one embodiment, one or more source packages may be associated with one or more repair packages.

[0900] Optionally, the RAN performing the second operation includes: the RAN obtaining first information; and performing the second operation based on the first information.

[0901] The first information includes at least one of the following:

[0902] Information about the source package associated with the first repair package;

[0903] Information used to indicate Redundancy RTP Stream;

[0904] Information used to indicate that the first repair packet can be discarded;

[0905] Information used to indicate that the data packet set to which the first repair packet belongs can be discarded;

[0906] Information used to indicate that packets of the first QoS flow can be discarded.

[0907] Example 3:

[0908] Example 3 is an optional supplementary implementation of Example 1 and Example 2.

[0909] Step 1: The SMF sends association information of a first QoS flow to the RAN, wherein the association information of the first QoS flow includes information of a second QoS flow.

[0910] In one embodiment, the information of the second QoS flow is the QoS flow associated with the first QoS flow.

[0911] In one embodiment, the information of the first QoS flow is expressed as: an association relationship between the first QoS flow and the second QoS flow. The association relationship between the first QoS flow and the second QoS flow, for example, the second QoS flow transmits a repair packet, and the repair packet is a corresponding source packet transmitted by the first QoS flow.

[0912] In one embodiment, the information of the first QoS flow is represented by: a flow identifier (QFI) of the second QoS flow. Optionally, the information of the first QoS flow further includes indication information for indicating that the flow identifier (QFI) of the second QoS flow is related to the information of the first QoS flow.

[0913] In one embodiment, the first QoS flow is a QoS flow mapped by a repair packet, and the second QoS flow is a QoS flow mapped by a source packet.

[0914] In one implementation, the repair packet and the source packet are mapped into two QoS flows (ie, a first QoS flow and a second QoS flow), and the SMF sends the association relationship between the first QoS flow and the second QoS flow to the RAN.

[0915] In one embodiment, the SMF sends the association relationship between the first QoS flow and the second QoS flow in the first QoS flow.

[0916] In one implementation, the SMF sends the association relationship between the first QoS flow and the second QoS flow in the second QoS flow.

[0917] In one embodiment, the SMF sends the association relationship between the first QoS flow and the second QoS flow through a QoS profile or an Alternative QoS Profile.

[0918] Step 2: The RAN performs a second operation, where the second operation includes at least one of the following:

[0919] Identify the repair package;

[0920] Identify the source package;

[0921] Associate the source package and the repair package;

[0922] Discard the data packet set to which the first repair packet belongs;

[0923] The data packets in the first QoS flow are discarded.

[0924] In one embodiment, one or more source packages may be associated with one or more repair packages.

[0925] Optionally, the RAN performing the second operation includes: the RAN obtaining fourth information; and performing the second operation based on the fourth information, wherein the fourth information includes at least one of the following: the first information; and the QoS flow association information.

[0926] Based on the first information, a second operation is performed.

[0927] The first information includes at least one of the following:

[0928] Information about the source package associated with the first repair package;

[0929] Information used to indicate Redundancy RTP Stream;

[0930] Information used to indicate that the first repair packet can be discarded;

[0931] Information used to indicate that the data packet set to which the first repair packet belongs can be discarded;

[0932] Information used to indicate that packets of the first QoS flow can be discarded.

[0933] The data packet processing method provided in the embodiment of the present application can be executed by a data packet processing device. In the embodiment of the present application, the method of processing a data packet by a data packet processing device is taken as an example to illustrate the data packet processing device provided in the embodiment of the present application.

[0934] FIG6 is a schematic block diagram of a data packet processing device according to an embodiment of the present application. As shown in FIG6 , the device 60 includes:

[0935] A first data packet information acquisition module 601 is used for a first communication device to acquire information related to a data packet;

[0936] The first operation is directed to module 602, configured for the first communication device to perform a first operation based on the information related to the data packet, where the first operation includes at least one of the following:

[0937] Identifying a data packet as a redundant data packet;

[0938] Identifying the data packet as a source data packet;

[0939] marking the data packet with first information;

[0940] The first information includes at least one of the following:

[0941] Information of associated data packets associated with the data packet;

[0942] Information for indicating whether the data packet is allowed to be discarded or not;

[0943] Information indicating whether the data packet is a redundant data packet or not.

[0944] Optionally, in this embodiment of the present application, when the data packet is identified as a redundant data packet, the first information includes at least one of the following:

[0945] Information of the associated data packet, wherein the associated data packet is a source data packet;

[0946] Information used to indicate that the data packet is allowed to be discarded;

[0947] Information indicating that the data packet is a redundant data packet.

[0948] Optionally, in this embodiment of the present application, when the data packet is identified as a source data packet, the first information includes:

[0949] Information of the associated data packet, wherein the associated data packet is a redundant data packet;

[0950] Information for indicating that the data packet is not allowed to be discarded;

[0951] Information indicating that the data packet is not a redundant data packet.

[0952] Optionally, in this embodiment of the present application, the information used to indicate that the data packet is allowed to be discarded includes at least one of the following:

[0953] Information used to indicate that the data packet is allowed to be discarded;

[0954] Information for indicating that the data packet of the RTP stream to which the data packet belongs is allowed to be discarded;

[0955] Information for indicating that the data packet of the data packet set to which the data packet belongs is allowed to be discarded;

[0956] Information used to indicate whether the packet of the QoS flow to which the packet belongs is allowed to be discarded.

[0957] Optionally, in this embodiment of the present application, the information used to indicate that the data packet is a redundant data packet includes at least one of the following:

[0958] Information indicating that the data packet is a redundant data packet;

[0959] Information for indicating that the RTP stream to which the data packet belongs includes redundant data packets;

[0960] Information used to indicate that the data packet set to which the data packet belongs includes redundant data packets;

[0961] Information used to indicate that the QoS flow to which the data packet belongs includes redundant data packets.

[0962] Optionally, in this embodiment of the present application, the information of the associated data packet associated with the data packet includes at least one of the following:

[0963] Information of the associated data packet;

[0964] Information about the RTP stream to which the associated data packet belongs;

[0965] Information about the data packet set to which the associated data packet belongs;

[0966] Information about the QoS flow to which the associated data packet belongs.

[0967] Optionally, in an embodiment of the present application, the information of the associated data packet associated with the data packet is indicated by at least one of an offset, a bit mask, a sequence number SN, a quality of service QoS flow identifier QFI, and time information.

[0968] Optionally, in this embodiment of the present application, the offset includes at least one of the following:

[0969] Offset from PDU;

[0970] Offset from SN;

[0971] Row information of the first FEC block;

[0972] Column information of the first FEC block;

[0973] The first FEC block includes at least one of a data packet and the associated data packet.

[0974] Optionally, in an embodiment of the present application, the SN includes at least one of a GTP-U SN, a PDU set SN, a PDU SN in a PDU set, and an SN in an RTP header.

[0975] Optionally, in this embodiment of the present application, the time information includes at least one of the following:

[0976] The time when the first communication device receives the data packet;

[0977] The time when the first communication device starts scheduling the data packet;

[0978] the time at which the first communication device receives the associated data packet;

[0979] The first communication device starts scheduling the associated data packet.

[0980] Optionally, in this embodiment of the present application, the first operation further includes at least one of the following:

[0981] determining a priority of the data packet;

[0982] Determining the priority of the data packet set to which the data packet belongs;

[0983] determining the priority of the associated data packet;

[0984] Determine the priority of the data packet set to which the associated data packet belongs.

[0985] Optionally, in the embodiment of the present application, the device 60 further includes:

[0986] The first information sending module 603 is configured to:

[0987] The first communication device sends the first information to the access network device.

[0988] Optionally, in the embodiment of the present application, the first operation pointing module is specifically configured to:

[0989] The first communication device sends the first information to the access network device through a GTP-U header.

[0990] Optionally, in an embodiment of the present application, the first data packet information acquiring module is specifically configured to:

[0991] The first communication device obtains second information from the second communication device, wherein the second information is used for at least one of the following:

[0992] marking the data packet with the first information;

[0993] Identify source or redundant packets.

[0994] Optionally, in the embodiment of the present application, marking the data packet with the first information includes:

[0995] Marking the QoS flow where the data packet belongs to with the first information,

[0996] The QoS flow where the data packet is located includes a QoS flow corresponding to a first PCC rule, or the QoS flow where the data packet is located includes a QoS flow corresponding to a first data flow.

[0997] Optionally, in the embodiment of the present application, marking the data packet with the first information includes:

[0998] Marking the QoS flow to which the associated data packet belongs with the first information;

[0999] The QoS flow where the associated data packet is located includes a QoS flow corresponding to a second PCC rule, or the QoS flow where the associated data packet is located includes a QoS flow corresponding to a second data flow.

[1000] Optionally, in this embodiment of the present application, the redundant data packet includes at least one of the following:

[1001] Redundant packets in RTP streams;

[1002] FEC repair packet used to protect or repair the source data packet.

[1003] Optionally, in an embodiment of the present application, the redundant RTP stream includes redundant data or does not include source data packets.

[1004] Optionally, in an embodiment of the present application, the data packet includes a PDU or a PDU set.

[1005] FIG7 is a schematic block diagram of another data packet processing device provided according to an embodiment of the present application. As shown in FIG7 , the device 70 includes:

[1006] A second data packet information acquisition module 701 is used for a second communication device to acquire information related to a data packet;

[1007] A second information sending module 702 is configured for the second communication device to send second information to the first communication device based on the information related to the data packet;

[1008] The second information is used for at least one of the following:

[1009] Require the first communication device to mark the data packet with first information;

[1010] Identifying a data packet as a redundant data packet;

[1011] Identifying the data packet as a source data packet;

[1012] The first information includes at least one of the following:

[1013] Information of associated data packets associated with the data packet;

[1014] Information for indicating whether the data packet is allowed to be discarded or not;

[1015] Information indicating whether the data packet is a redundant data packet or not.

[1016] Optionally, in an embodiment of the present application, the device further includes:

[1017] The priority determination module 703 is used to:

[1018] The second communication device determines at least one of the following:

[1019] The priority of the QoS flow to which the data packet belongs;

[1020] The priority of the QoS flow to which the associated data packet belongs;

[1021] The priority of the scheduling resources of the QoS flow to which the data packet belongs;

[1022] The priority of the scheduling resources of the QoS flow to which the associated data packet belongs.

[1023] Optionally, in the embodiment of the present application, the second data packet information acquiring module is specifically configured to:

[1024] The second communication device receives third information from a third communication device, where the third information is used for at least one of the following:

[1025] Requesting the first communication device to mark the data packet with the first information;

[1026] Identify packets as source packets or redundant packets.

[1027] Optionally, in this embodiment of the present application, the third information is included in a PCC rule.

[1028] Optionally, in this embodiment of the present application, the second information includes at least one of the following:

[1029] Protocol description information, used to identify source data packets or redundant data packets;

[1030] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[1031] a second SSRC, wherein a data packet in the first data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[1032] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[1033] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[1034] Optionally, in this embodiment of the present application, the first SSRC indicates that the data packets in the first data stream corresponding to the first SSRC include redundant data packets, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[1035] Optionally, in this embodiment of the present application, the second SSRC indicates that the data packets in the second data stream corresponding to the second SSRC include source data packets, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[1036] Optionally, in an embodiment of the present application, the second information is included in an N4 rule or a data packet detection rule PDR.

[1037] FIG8 is a schematic block diagram of another data packet processing device provided according to an embodiment of the present application. As shown in FIG8 , the device 80 includes:

[1038] A third data packet information acquisition module 801 is used for the second communication device to acquire information related to the data packet;

[1039] A fifth information sending module 802 is configured for the second communication device to send fifth information to the access network device based on the information related to the data packet;

[1040] The fifth information includes at least one of the following:

[1041] association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow;

[1042] The associated information of the second QoS flow includes the information of the first QoS flow.

[1043] Optionally, in this embodiment of the present application, the first QoS flow includes a QoS flow corresponding to a first PCC rule, or the first QoS flow includes a QoS flow corresponding to a first data flow.

[1044] Optionally, in this embodiment of the present application, the second QoS flow includes a QoS flow corresponding to a first PCC rule, or the second QoS flow includes a QoS flow corresponding to a second data flow.

[1045] Optionally, in an embodiment of the present application, the first QoS flow includes redundant data packets, and the second QoS flow includes source data packets.

[1046] Optionally, in this embodiment of the present application, the information of the first QoS flow includes a first QoS flow identifier QFI.

[1047] Optionally, in this embodiment of the present application, the information of the second QoS flow includes a second QoS flow identifier QFI.

[1048] FIG9 is a schematic block diagram of a fourth data packet processing device according to an embodiment of the present application. As shown in FIG9 , the device includes:

[1049] A fourth data packet information acquisition module 901 is configured for the third communication device to acquire information related to the data packet;

[1050] A third information sending module 902 is configured for the third communication device to send third information to the second communication device based on the information related to the data packet, wherein the third information is used for at least one of the following:

[1051] Requesting the first communication device to mark the data packet with first information;

[1052] Identify packets as source packets or redundant packets.

[1053] Optionally, in this embodiment of the present application, the third information is included in a PCC rule.

[1054] Optionally, in an embodiment of the present application, the device further includes:

[1055] The priority determination module 903 is used to:

[1056] The third communication device determines the priority of scheduling resources for the QoS flows.

[1057] Optionally, in the embodiment of the present application, the priority determination module is specifically configured to:

[1058] The third communication device determines the priority of the scheduling resource of the QoS flow to which the data packet belongs;

[1059] The third communication device determines the priority of the scheduling resource of the QoS flow to which the associated data packet belongs.

[1060] Optionally, in an embodiment of the present application, the priority of the scheduling resources of the QoS flow where the data packet is located is greater than or equal to the priority of the scheduling resources of the QoS flow where the associated data packet is located; wherein, the data packet is a source data packet, and the associated data packet is a redundant data packet.

[1061] Optionally, in the embodiment of the present application, the third information sending module is specifically configured to:

[1062] The third communication device sends third information to the second communication device based on the local configuration.

[1063] Optionally, in the embodiment of the present application, the fourth data packet information acquiring module is specifically configured to:

[1064] The third communication device receives fourth information sent by the fourth communication device, where the fourth information includes at least one of the following:

[1065] Protocol description information PD, used to identify source data packets or redundant data packets;

[1066] Information used to request data packet marking;

[1067] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream;

[1068] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[1069] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[1070] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[1071] Optionally, in an embodiment of the present application, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[1072] Optionally, in this embodiment of the present application, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[1073] FIG10 is a schematic block diagram of a fifth data packet processing device provided in accordance with an embodiment of the present application. As shown in FIG10 , the device 100 includes:

[1074] A fifth data packet information acquisition module 1001 is configured for the fourth communication device to acquire information related to the data packet;

[1075] The fourth information sending module 1002 is configured for the fourth communication device to send fourth information to the third communication device based on the information related to the data packet, where the fourth information includes at least one of the following:

[1076] Information used to identify source data packets or redundant data packets;

[1077] Used to request information about packet marking.

[1078] Optionally, in this embodiment of the present application, the information used to identify the source data packet or the redundant data packet includes at least one of the following:

[1079] Protocol description information PD;

[1080] SSRC;

[1081] Information indicating the SSRC.

[1082] Optionally, in an embodiment of the present application, the SSRC includes:

[1083] a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream;

[1084] a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream;

[1085] Optionally, in this embodiment of the present application, the information used to indicate the SSRC includes at least one of the following:

[1086] First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream;

[1087] The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[1088] Optionally, in this embodiment of the present application, the first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

[1089] Optionally, in an embodiment of the present application, the second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

[1090] FIG11 is a schematic block diagram of a sixth data packet processing device according to an embodiment of the present application. As shown in FIG11 , the device 110 includes:

[1091] A sixth data packet information acquisition module 1101 is configured to acquire information related to a data packet via an access network device;

[1092] A second operation execution module 1102 is configured to execute, on the access network device, a second operation based on the information related to the data packet, where the second operation includes at least one of the following:

[1093] Identifying a data packet as a redundant data packet;

[1094] Identifying the data packet as a source data packet;

[1095] Associated data packets and associated data packets;

[1096] The packet is dropped or not sent.

[1097] Optionally, in the embodiment of the present application, discarding or not sending the data packet includes:

[1098] discarding or not sending the data packet set to which the data packet belongs;

[1099] discarding or not sending the data packet in the QoS flow to which the data packet belongs;

[1100] The QoS flow to which the data packet belongs includes a QoS flow corresponding to a first PCC rule, or the QoS flow to which the data packet belongs includes a QoS flow corresponding to a first data flow.

[1101] Optionally, in the embodiment of the present application, the sixth data packet information acquiring module is specifically configured to:

[1102] The access network device obtains first information from the first communication device, where the first information includes at least one of the following:

[1103] Information of associated data packets associated with the data packet;

[1104] Information for indicating whether the data packet is allowed to be discarded or not;

[1105] Information indicating whether the data packet is a redundant data packet or not.

[1106] Optionally, in the embodiment of the present application, the sixth data packet information acquiring module is further specifically configured to:

[1107] The access network device obtains the first information from the first communication device through a GTP-U header.

[1108] Optionally, in the embodiment of the present application, the sixth data packet information acquiring module is specifically configured to:

[1109] The access network device obtains fifth information from the second communication device, where the fifth information includes at least one of the following:

[1110] association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow;

[1111] The associated information of the second QoS flow includes the information of the first QoS flow.

[1112] Optionally, in the embodiment of the present application, the device 110 further includes:

[1113] The first message receiving module 1103 is configured to:

[1114] The access network device sends the data packet to the terminal;

[1115] The access network device receives a first message from the terminal, where the first message is used to indicate that the data packet is successfully transmitted;

[1116] The discarding or not sending the data packet includes:

[1117] Based on the first message, the data packet is discarded or not sent.

[1118] Optionally, in this embodiment of the present application, the discarding or not sending the data packet includes at least one of the following:

[1119] When the access network device is in congestion, discarding or not sending the redundant data packet;

[1120] When the first QoS flow is congested, discarding or not sending the redundant data packet;

[1121] When the second QoS flow is congested, the redundant data packet is discarded or not sent.

[1122] Therefore, optionally, in an embodiment of the present application, when the network is congested, data packets that are allowed to be discarded can be discarded or not transmitted based on the information on whether the data packets are allowed to be discarded, thereby saving network communication resources.

[1123] The data packet processing device in the embodiments of the present application can be an electronic device, such as an electronic device with an operating system, or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or a network-side device. For example, the terminal can include but is not limited to the types of terminal 11 listed above, and the network-side device can include but is not limited to the types of network-side device 12 listed above.

[1124] The data packet processing device provided in the embodiment of the present application can implement the various processes implemented by the method embodiments of Figures 2, 3, 4 or 5, and achieve the same technical effects. To avoid repetition, they will not be described here.

[1125] As shown in FIG12 , an embodiment of the present application further provides a communication device 1200 , including a processor 1201 and a memory 1202 , where the memory 1202 stores programs or instructions that can be run on the processor 1201 .

[1126] For example, when the communication device 1200 is a terminal, the program or instruction is executed by the processor 1201 to implement the various steps executed by the terminal in the above-mentioned timing advance information determination method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[1127] For another example, when the communication device 1200 is a network side device, the program or instruction is executed by the processor 1201 to implement the various steps performed by the network side device in the above-mentioned timing advance information determination method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[1128] The present application also provides a terminal, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps performed by the terminal in the method embodiment shown in FIG2 . This terminal embodiment corresponds to the aforementioned terminal-side method embodiment, and each implementation process and implementation method of the aforementioned method embodiment can be applied to this terminal embodiment and achieve the same technical effects. Specifically, FIG13 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.

[1129] The terminal 1300 includes but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309 and at least some of the components of the processor 1310.

[1130] Those skilled in the art will appreciate that the terminal 1300 may also include a power supply (such as a battery) to power various components. The power supply may be logically connected to the processor 1310 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The terminal structure shown in FIG13 does not limit the terminal. The terminal may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[1131] It should be understood that in an embodiment of the present application, the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042, and the graphics processor 13041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1307 includes a touch panel 13071 and at least one of the other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include two parts: a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[1132] In the embodiment of the present application, after receiving downlink data from a network-side device, the RF unit 1301 may transmit the data to the processor 910 for processing. Furthermore, the RF unit 1301 may send uplink data to the network-side device. Typically, the RF unit 901 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.

[1133] The memory 1309 can be used to store software programs or instructions and various data. The memory 1309 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1309 may include a volatile memory or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1309 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[1134] Processor 1310 may include at least one processing unit. Optionally, processor 1310 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1310.

[1135] In some embodiments, the processor 1310 is configured to obtain information related to a data packet. The processor 1310 is further configured to perform a first operation based on the information related to the data packet, wherein the first operation includes at least one of the following: identifying the data packet as a redundant data packet; identifying the data packet as a source data packet; marking the data packet with first information; wherein the first information includes at least one of the following: information of associated data packets associated with the data packet; information indicating whether the data packet is allowed or not to be discarded; and information indicating whether the data packet is a redundant data packet. It is understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the method embodiment and achieve the same or corresponding technical effects. To avoid repetition, it will not be described here.

[1136] The present application also provides a network-side device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps performed by the network-side device in the method embodiment shown in FIG2 . This network-side device embodiment corresponds to the aforementioned network-side device method embodiment, and each implementation process and implementation method of the aforementioned method embodiment are applicable to this network-side device embodiment and can achieve the same technical effects. For the sake of brevity, they are not further described here.

[1137] Specifically, embodiments of the present application also provide a network-side device. As shown in Figure 14, the network-side device 140 includes an antenna 141, a radio frequency device 142, a baseband device 143, a processor 144, and a memory 145. Antenna 141 is connected to radio frequency device 142. In the uplink direction, radio frequency device 142 receives information via antenna 141 and sends the received information to baseband device 143 for processing. In the downlink direction, baseband device 143 processes the information to be transmitted and sends it to radio frequency device 142. Radio frequency device 142 processes the received information and then sends it through antenna 141.

[1138] The method executed by the network-side device in the above embodiment may be implemented in the baseband device 143 , which includes a baseband processor.

[1139] The baseband device 143 may include, for example, at least one baseband board, on which at least two chips are arranged, as shown in Figure 14, one of the chips is, for example, a baseband processor, which is connected to the memory 145 through a bus interface to call the program in the memory 145 and execute the network device operations shown in the above method embodiment.

[1140] The network side device may further include a network interface 146 , which is, for example, a Common Public Radio Interface (CPRI).

[1141] Specifically, the network side device 140 of the embodiment of the present application also includes: instructions or programs stored in the memory 145 and can be run on the processor 114. The processor 144 calls the instructions or programs in the memory 145 to execute the method executed by each unit shown in Figure 14 and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[1142] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned data packet processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[1143] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. In some examples, the readable storage medium may be a non-transitory readable storage medium.

[1144] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data packet processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[1145] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[1146] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned timing advance information determination method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here.

[1147] An embodiment of the present application also provides a communication system, including: a terminal and a network side device, wherein the terminal can be used to execute the steps performed by the terminal in the data packet processing method as described above, and the network side device can be used to execute the steps performed by the network side device in the data packet processing method as described above.

[1148] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[1149] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general-purpose hardware platform, or of course, by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes a number of instructions for enabling a terminal or network-side device to execute the methods described in each embodiment of the present application.

[1150] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of this application and the scope of protection of the claims. These implementation methods are all within the protection of this application.

Claims

1. A method for processing a data packet, wherein: include: The first communication device obtains information related to the data packet; The first communication device performs a first operation based on the information related to the data packet, where the first operation includes at least one of the following: Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; marking the data packet with first information; The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

2. The method according to claim 1, wherein The identification data packet is a redundant data packet, including: Identifying a data packet as a redundant data packet; Identifying that the Real-time Transport Protocol (RTP) stream to which the data packet belongs is a redundant RTP stream; identifying that the set of data packets to which the data packet belongs includes redundant data packets; Identifying that the Quality of Service (QoS) flow to which the data packet belongs includes redundant data packets.

3. The method according to claim 1, wherein The identification data packet is a source data packet, including: Identifying the data packet as a source data packet; Identifying that the RTP stream to which the data packet belongs is not a redundant RTP stream; identifying that the set of data packets to which the data packet belongs does not include redundant data packets; Identifying that the QoS flow to which the data packet belongs does not include redundant data packets.

4. The method according to claim 1, wherein In the case where the data packet is identified as a redundant data packet, the first information includes at least one of the following: Information of the associated data packet, wherein the associated data packet is a source data packet; Information used to indicate that the data packet is allowed to be discarded; Information indicating that the data packet is a redundant data packet.

5. The method according to claim 1, wherein In the case where the data packet is identified as a source data packet, the first information includes: Information of the associated data packet, wherein the associated data packet is a redundant data packet; Information for indicating that the data packet is not allowed to be discarded; Information indicating that the data packet is not a redundant data packet.

6. The method according to claim 4, wherein: The information for indicating that the data packet is allowed to be discarded includes at least one of the following: Information used to indicate that the data packet is allowed to be discarded; Information for indicating that the data packet of the RTP stream to which the data packet belongs is allowed to be discarded; Information for indicating that the data packet of the data packet set to which the data packet belongs is allowed to be discarded; Information used to indicate whether the packet of the QoS flow to which the packet belongs is allowed to be discarded.

7. The method according to claim 5, wherein: The information indicating that the data packet is a redundant data packet includes at least one of the following: Information indicating that the data packet is a redundant data packet; Information for indicating that the RTP stream to which the data packet belongs includes redundant data packets; Information used to indicate that the data packet set to which the data packet belongs includes redundant data packets; Information used to indicate that the QoS flow to which the data packet belongs includes redundant data packets.

8. The method according to any one of claims 1 to 7, wherein: The information of the associated data packet associated with the data packet includes at least one of the following: Information of the associated data packet; Information about the RTP stream to which the associated data packet belongs; Information about the data packet set to which the associated data packet belongs; Information about the QoS flow to which the associated data packet belongs.

9. The method according to any one of claims 1 to 8, wherein: The information of the associated data packet associated with the data packet is indicated by at least one of an offset, a bit mask, a sequence number SN, a quality of service QoS flow identifier QFI, and time information.

10. The method according to claim 9, wherein: The offset includes at least one of the following: Offset from the protocol data unit PDU; Offset from SN; Row information of the first forward error correction FEC block; Column information of the first FEC block; The first FEC block includes at least one of the data packet and the associated data packet.

11. The method according to claim 9, wherein The SN includes at least one of a user-level General Packet Radio Service GPRS Tunneling Protocol GTP-U SN, a PDU set SN, a PDU SN in a PDU set, and an SN in an RTP header.

12. The method according to claim 9, wherein The time information includes at least one of the following: The time when the first communication device receives the data packet; The time when the first communication device starts scheduling the data packet; the time at which the first communication device receives the associated data packet; The first communication device starts scheduling the associated data packet.

13. The method according to any one of claims 1 to 12, wherein: The first operation further includes at least one of the following: determining a priority of the data packet; Determining the priority of the data packet set to which the data packet belongs; determining the priority of the associated data packet; Determine the priority of the data packet set to which the associated data packet belongs.

14. The method according to any one of claims 1 to 13, wherein: The method further comprises: The first communication device sends the first information to the access network device.

15. The method according to claim 14, wherein The first communication device sending the first information to the access network device includes: The first communication device sends the first information to the access network device through a GTP-U header.

16. The method according to any one of claims 1 to 15, wherein: The first communication device obtains information related to the data packet, including: The first communication device obtains second information from the second communication device, wherein the second information is used for at least one of the following: marking the data packet with the first information; Identify source or redundant packets.

17. The method according to any one of claims 1 to 16, wherein: The step of marking the data packet with the first information includes: Marking the QoS flow where the data packet belongs to with the first information, The QoS flow where the data packet is located includes a QoS flow corresponding to a first policy and charging control (PCC) rule, or the QoS flow where the data packet is located includes a QoS flow corresponding to a first data flow.

18. The method according to any one of claims 1 to 16, wherein: The step of marking the data packet with the first information includes: Marking the QoS flow to which the associated data packet belongs with the first information; The QoS flow where the associated data packet is located includes a QoS flow corresponding to a second PCC rule, or the QoS flow where the associated data packet is located includes a QoS flow corresponding to a second data flow.

19. The method according to any one of claims 1 to 18, wherein: The redundant data packet includes at least one of the following: Redundant packets in RTP streams; FEC repair packet used to protect or repair the source data packet.

20. The method according to claim 19, wherein The redundant RTP stream includes redundant data or does not include source data packets.

21. The method according to any one of claims 1 to 20, wherein: The data packet includes a PDU or a PDU set.

22. A method for processing a data packet, wherein: include: The second communication device obtains information related to the data packet; The second communication device sends second information to the first communication device based on the information related to the data packet; The second information is used for at least one of the following: Require the first communication device to mark the data packet with first information; Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

23. The method according to claim 22, wherein The method further comprises: The second communication device determines at least one of the following: The priority of the Quality of Service (QoS) flow to which the data packet belongs; The priority of the QoS flow to which the associated data packet belongs; The priority of the scheduling resources of the QoS flow to which the data packet belongs; The priority of the scheduling resources of the QoS flow to which the associated data packet belongs.

24. The method according to claim 22, wherein The second communication device obtains information related to the data packet, including: The second communication device receives third information from a third communication device, where the third information is used for at least one of the following: Requesting the first communication device to mark the data packet with the first information; Identify packets as source packets or redundant packets.

25. The method according to claim 24, wherein The third information is included in a policy and charging control PCC rule.

26. The method according to any one of claims 22 to 25, wherein: The second information includes at least one of the following: Protocol description information, used to identify source data packets or redundant data packets; A first synchronization source real-time control protocol SSRC, wherein the data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant real-time transport protocol RTP stream; a second SSRC, wherein a data packet in the first data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream; First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

27. The method according to claim 26, wherein The first SSRC indicates that data packets in the first data stream corresponding to the first SSRC include redundant data packets, or that the first data stream corresponding to the first SSRC is a redundant RTP stream.

28. The method according to claim 26, wherein The second SSRC indicates that the data packets in the second data stream corresponding to the second SSRC include source data packets, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

29. The method according to any one of claims 22 to 28, wherein: The second information is included in the N4 rule or the packet detection rule PDR.

30. A method for processing a data packet, wherein: include: The second communication device obtains information related to the data packet; The second communication device sends fifth information to the access network device based on the information related to the data packet; The fifth information includes at least one of the following: association information of a first quality of service (QoS) flow, wherein the association information of the first QoS flow includes information of a second QoS flow; The associated information of the second QoS flow includes the information of the first QoS flow.

31. The method according to claim 30, wherein The first QoS flow includes a QoS flow corresponding to a first policy and charging control (PCC) rule, or the first QoS flow includes a QoS flow corresponding to a first data flow.

32. The method according to claim 30, wherein The second QoS flow includes a QoS flow corresponding to a first PCC rule, or the second QoS flow includes a QoS flow corresponding to a second data flow.

33. The method according to claim 31, wherein The first QoS flow includes redundant data packets, and the second QoS flow includes source data packets.

34. The method of claim 30, wherein: The information of the first QoS flow includes a first QoS flow identifier QFI.

35. The method of claim 30, wherein: The information of the second QoS flow includes a second QoS flow identifier QFI.

36. A method for processing a data packet, wherein: include: The third communication device obtains information related to the data packet; The third communication device sends third information to the second communication device based on the information related to the data packet, wherein the third information is used for at least one of the following: Requesting the first communication device to mark the data packet with first information; Identify packets as source packets or redundant packets.

37. The method according to claim 36, wherein The third information is included in a policy and charging control PCC rule.

38. The method according to claim 36 or 37, wherein The method further comprises: The third communication device determines the priority of scheduling resources for Quality of Service (QoS) flows.

39. The method according to claim 38, wherein The third communication device determines the priority of the scheduling resources of the QoS flow, including: The third communication device determines the priority of the scheduling resource of the QoS flow to which the data packet belongs; The third communication device determines the priority of the scheduling resource of the QoS flow to which the associated data packet belongs.

40. The method of claim 39, wherein The priority of the scheduling resources of the QoS flow to which the data packet belongs is greater than or equal to the priority of the scheduling resources of the QoS flow to which the associated data packet belongs; The data packet is a source data packet, and the associated data packet is a redundant data packet.

41. The method of claim 36, wherein: The third communication device sending third information to the second communication device based on the information related to the data packet includes: The third communication device sends third information to the second communication device based on the local configuration.

42. The method according to any one of claims 36 to 41, wherein: The third communication device obtains information related to the data packet, including: The third communication device receives fourth information sent by the fourth communication device, where the fourth information includes at least one of the following: Protocol description information PD, used to identify source data packets or redundant data packets; Information used to request data packet marking; A first synchronization source real-time control protocol SSRC, wherein the data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant real-time transport protocol RTP stream; a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream; First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

43. The method according to claim 42, wherein The first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

44. The method according to claim 43, wherein The second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

45. A method for processing a data packet, wherein: include: The fourth communication device obtains information related to the data packet; The fourth communication device sends fourth information to the third communication device based on the information related to the data packet, where the fourth information includes at least one of the following: Information used to identify source data packets or redundant data packets; Used to request information about packet marking.

46. The method of claim 45, wherein The information for identifying the source data packet or the redundant data packet includes at least one of the following: Protocol description information PD; Synchronous Source Real-time Control Protocol SSRC; Information indicating the SSRC.

47. The method of claim 46, wherein The SSRC includes: a first SSRC, wherein a data packet in a first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant Real-time Transport Protocol RTP stream; The second SSRC, the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream.

48. The method of claim 46, wherein Information used to indicate the SSRC includes at least one of the following: First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

49. The method according to claim 47 or 48, wherein The first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

50. The method according to claim 47 or 48, wherein The second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

51. A method for processing a data packet, wherein: include: The access network device obtains information related to the data packet; The access network device performs a second operation based on the information related to the data packet, where the second operation includes at least one of the following: Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; Associated data packets and associated data packets; The packet is dropped or not sent.

52. The method of claim 51, wherein The discarding or not sending the data packet includes: discarding or not sending the data packet set to which the data packet belongs; discarding or not sending a data packet in the QoS flow to which the data packet belongs; The QoS flow to which the data packet belongs includes a QoS flow corresponding to a first policy and charging control (PCC) rule, or the QoS flow to which the data packet belongs includes a QoS flow corresponding to a first data flow.

53. The method of claim 51, wherein The access network device obtains information related to the data packet, including: The access network device obtains first information from the first communication device, where the first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

54. The method of claim 53, wherein: The access network device obtains first information from the first communication device, including: The access network device obtains the first information from the first communication device through a General Packet Radio Service (GPRS) Tunneling Protocol (GTP-U) header at the user level.

55. The method of claim 51, wherein The access network device obtains information related to the data packet, including: The access network device obtains fifth information from the second communication device, where the fifth information includes at least one of the following: association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow; The associated information of the second QoS flow includes the information of the first QoS flow.

56. The method according to any one of claims 51 to 55, wherein: The method further comprises: The access network device sends the data packet to the terminal; The access network device receives a first message from the terminal, where the first message is used to indicate that the data packet is successfully transmitted; The discarding or not sending the data packet includes: Based on the first message, the data packet is discarded or not sent.

57. The method according to any one of claims 51 to 55, wherein: The discarding or not sending of the data packet includes at least one of the following: When the access network device is in congestion, discarding or not sending the redundant data packet; When the first QoS flow is congested, discarding or not sending the redundant data packet; When the second QoS flow is congested, the redundant data packet is discarded or not sent.

58. A data packet processing device, wherein: include: A first data packet information acquisition module, configured for a first communication device to acquire information related to a data packet; A first operation directing module is configured for the first communication device to perform a first operation based on the information related to the data packet, where the first operation includes at least one of the following: Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; marking the data packet with first information; The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

59. A data packet processing device, wherein: include: A second data packet information acquisition module, configured for the second communication device to acquire information related to the data packet; a second information sending module, configured for the second communication device to send second information to the first communication device based on the information related to the data packet; The second information is used for at least one of the following: Require the first communication device to mark the data packet with first information; Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

60. A data packet processing device, wherein: include: A third data packet information acquisition module is used for the second communication device to acquire information related to the data packet; A fifth information sending module, configured for the second communication device to send fifth information to the access network device based on the information related to the data packet; The fifth information includes at least one of the following: association information of a first quality of service (QoS) flow, wherein the association information of the first QoS flow includes information of a second QoS flow; The associated information of the second QoS flow includes the information of the first QoS flow.

61. A data packet processing device, wherein: include: A fourth data packet information acquisition module, configured for the third communication device to acquire information related to the data packet; A third information sending module is configured for the third communication device to send third information to the second communication device based on the information related to the data packet, wherein the third information is used for at least one of the following: Requesting the first communication device to mark the data packet with first information; Identify packets as source packets or redundant packets.

62. A data packet processing device, wherein: include: A fifth data packet information acquisition module, configured for the fourth communication device to acquire information related to the data packet; a fourth information sending module, configured for the fourth communication device to send fourth information to the third communication device based on the information related to the data packet, wherein the fourth information includes at least one of the following: Information used to identify source data packets or redundant data packets; Used to request information about packet marking.

63. A data packet processing device, wherein: include: A sixth data packet information acquisition module, configured for the access network device to acquire information related to the data packet; A second operation execution module is configured to execute, on the access network device, a second operation based on the information related to the data packet, where the second operation includes at least one of the following: Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; Associated data packets and associated data packets; The packet is dropped or not sent.

64. A method for processing a data packet, wherein: include: The third communication device obtains at least one of the local configuration information and the fourth information; The third communication device performs a first operation based on at least one of the local configuration information and the fourth information; The fourth information includes at least one of the following: Information for requesting first information of a marking data packet; Protocol description information PD; The first synchronization source real-time control protocol SSRC; Second SSRC; Information used to indicate the priority of the first data stream corresponding to the first SSRC; Information used to indicate the priority of the second data stream corresponding to the second SSRC; First indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant Real-time Transport Protocol RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream; in, The first operation includes at least one of the following: Generate a first policy and charging control PCC rule; generating a second PCC rule; sending third information to the second communication device; in, The third information includes at least one of the following: First PCC Rule; Second PCC Rule; Information for at least one of the following: requiring the data packet to be marked with the first information; requiring identification of the data packet as a source data packet or a redundant data packet; in, The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

65. The method of claim 64, wherein Generating the first PCC rule includes at least one of the following: Determining a priority level in a first PCC rule; The first PCC rule includes a first SSRC; The first PCC rule includes first indication information; The first indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream.

66. The method of claim 64, wherein The data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream; or The priority level in the first PCC rule is determined to indicate information on the priority of the first data flow corresponding to the first SSRC.

67. The method of claim 64, wherein Generating the second PCC rule includes at least one of the following: determining a priority level in a second PCC rule; The second PCC rule includes a second SSRC; The second PCC rule includes second indication information; The data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream; and the second indication information is used to indicate that the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

68. The method of claim 64, wherein The data packet in the first data stream corresponding to the second SSRC is a redundant data packet, or the first data stream corresponding to the second SSRC is a redundant RTP stream; or The priority level in the second PCC rule is determined to indicate information about the priority of the first data flow corresponding to the second SSRC.

69. The method according to any one of claims 64 to 68, wherein The priority level in the second PCC rule is greater than or equal to the priority level in the first PCC rule.

70. The method of claim 69, wherein include: The first PCC rule is applied to a first QoS flow; The second PCC rule is applied to a second QoS flow; in, The first QoS flow comprises a QoS flow corresponding to a first data flow, the first data flow comprising redundant data packets; The second QoS flow includes a QoS flow corresponding to a second data flow, and the first data flow includes source data packets.

71. The method of claim 64, wherein: The third information is included in a PCC rule, where the PCC rule includes at least one of the following: a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream; a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream; First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

72. The method of claim 64, wherein: The first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

73. The method of claim 64, wherein: The second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

74. A method for processing a data packet, wherein: include: The second communication device obtains at least one of the local configuration information and the third information; The second communication device performs a second operation based on at least one of the local configuration information and the third information; The third information includes at least one of the following: First policy and charging control PCC rules; Second PCC Rule; Information for at least one of: requiring a data packet to be marked with first information; requiring identification of the data packet as a source data packet or a redundant data packet; The second operation includes at least one of the following: Binding the first PCC rule and the second PCC rule to different quality of service (QoS) flows; or binding the first PCC rule to an independent QoS flow; Determine a first QoS flow priority; Determining a second QoS flow priority; sending second information to the first communication device; The second information is used for at least one of the following: requiring the data packet to be marked with the first information; It is required to identify the data packet as a source data packet or a redundant data packet; in, The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

75. The method of claim 74, wherein The first PCC rule includes: at least one of a first synchronization source real-time control protocol SSRC and first indication information, wherein the first indication information is used to indicate that a data packet in a first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant real-time transport protocol RTP stream; The second PCC rule includes: at least one of a second SSRC and second indication information, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream; and the second indication information is used to indicate that the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

76. The method of claim 74, wherein Binding the first PCC rule and the second PCC rule to different QoS flows includes: Binding the first PCC rule to the first QoS flow; The second PCC rule is bound to the second QoS flow.

77. The method of claim 74 or 76, wherein The second QoS flow priority is greater than or equal to the first QoS flow priority.

78. The method of claim 77, wherein The first QoS flow includes a QoS flow corresponding to a first PCC rule, or the first QoS flow includes a QoS flow corresponding to a first data flow, and the first data flow includes a redundant data packet.

79. The method of claim 77, wherein The second QoS flow includes a QoS flow corresponding to a second PCC rule, or the second QoS flow includes a QoS flow corresponding to a second data flow, and the second data flow includes a source data packet.

80. The method of claim 74, wherein The second information is included in a packet detection rule PDR.

81. The method of claim 80, wherein The second information includes at least one of the following: Protocol description information PD; a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream; a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream; First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

82. The method of claim 74, wherein The second information includes: a first data packet detection rule PDR; and a second PDR.

83. The method of claim 82, wherein The first PDR includes at least one of the following: Protocol description information PD; a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream; The first indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream.

84. The method of claim 82, wherein The second PDR includes at least one of the following: Protocol description information PD; a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

85. The method of claim 74, wherein The third information includes a first PCC rule and a second PCC rule.

86. The method of claim 85, wherein The first PCC rule includes at least one of the following: Priority level; First SSRC; First instruction information; The data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream; and the first indication information is used to indicate that the data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

87. The method of claim 85, wherein The second PCC rule includes at least one of the following: Priority level; Second SSRC; Second instruction information; The data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream; and the second indication information is used to indicate that the data packet in the second data stream corresponding to the second SSRC is a source data packet, or the second data stream corresponding to the second SSRC is not a redundant RTP stream.

88. The method according to any one of claims 85 to 87, wherein The priority level in the second PCC rule is greater than or equal to the priority level in the first PCC rule.

89. The method of claim 88, wherein include: The first PCC rule is applied to a first QoS flow; The second PCC rule is applied to a second QoS flow; in, The first QoS flow comprises a QoS flow corresponding to a first data flow, the first data flow comprising redundant data packets; The second QoS flow includes a QoS flow corresponding to a second data flow, and the first data flow includes source data packets.

90. A method for processing a data packet, wherein: include: The first communication device obtains second information; Perform a first operation based on the second information, where the first operation includes at least one of the following: Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; marking the data packet with first information; The second information includes at least one of the following: Protocol description information PD; The first synchronization source real-time control protocol SSRC; Second SSRC; First indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant Real-time Transport Protocol RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream; Information for at least one of: requiring a data packet to be marked with first information; requiring identification of the data packet as a source data packet or a redundant data packet; The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

91. The method of claim 90, wherein The identification data packet is a redundant data packet, including: Identifying a data packet as a redundant data packet; Identifying that the RTP stream to which the data packet belongs is a redundant RTP stream; identifying that the set of data packets to which the data packet belongs includes redundant data packets; Identifying that the Quality of Service (QoS) flow to which the data packet belongs includes redundant data packets.

92. The method of claim 90, wherein The identification data packet is a source data packet, including: Identifying the data packet as a source data packet; Identifying that the RTP stream to which the data packet belongs is not a redundant RTP stream; identifying that the set of data packets to which the data packet belongs does not include redundant data packets; Identifying that the QoS flow to which the data packet belongs does not include redundant data packets.

93. The method of claim 90, wherein: In the case where the data packet is identified as a redundant data packet, the first information includes at least one of the following: Information of the associated data packet, wherein the associated data packet is a source data packet; Information used to indicate that the data packet is allowed to be discarded; Information indicating that the data packet is a redundant data packet.

94. The method of claim 90, wherein In the case where the data packet is identified as a source data packet, the first information includes: Information of the associated data packet, wherein the associated data packet is a redundant data packet; Information for indicating that the data packet is not allowed to be discarded; Information indicating that the data packet is not a redundant data packet.

95. The method of claim 93, wherein The information for indicating that the data packet is allowed to be discarded includes at least one of the following: Information used to indicate that the data packet is allowed to be discarded; Information for indicating that the data packet of the RTP stream to which the data packet belongs is allowed to be discarded; Information for indicating that the data packet of the data packet set to which the data packet belongs is allowed to be discarded; Information used to indicate whether the packet of the QoS flow to which the packet belongs is allowed to be discarded.

96. The method of claim 94, wherein The information indicating that the data packet is a redundant data packet includes at least one of the following: Information indicating that the data packet is a redundant data packet; Information for indicating that the RTP stream to which the data packet belongs includes redundant data packets; Information used to indicate that the data packet set to which the data packet belongs includes redundant data packets; Information used to indicate that the QoS flow to which the data packet belongs includes redundant data packets.

97. The method according to any one of claims 90 to 96, wherein: The information of the associated data packet associated with the data packet includes at least one of the following: Information of the associated data packet; Information about the RTP stream to which the associated data packet belongs; Information about the data packet set to which the associated data packet belongs; Information about the QoS flow to which the associated data packet belongs.

98. The method according to any one of claims 90 to 97, wherein: The information of the associated data packet associated with the data packet is indicated by at least one of an offset, a bit mask, a sequence number SN, a quality of service QoS flow identifier QFI, and time information.

99. The method of claim 98, wherein The offset includes at least one of the following: Offset from PDU; Offset from SN; Row information of the first forward error correction FEC block; Column information of the first FEC block; The first FEC block includes at least one of the data packet and the associated data packet.

100. The method of claim 97, wherein The SN includes at least one of a user-level General Packet Radio Service GPRS Tunneling Protocol GTP-U SN, a protocol data unit PDU set SN, a PDU SN in a PDU set, and an SN in an RTP header.

101. The method of claim 97, wherein: The time information includes at least one of the following: The time when the first communication device receives the data packet; The time when the first communication device starts scheduling the data packet; the time at which the first communication device receives the associated data packet; The first communication device starts scheduling the associated data packet.

102. The method according to any one of claims 90 to 101, wherein: The first operation further includes at least one of the following: determining a priority of the data packet; Determining the priority of the data packet set to which the data packet belongs; determining the priority of the associated data packet; Determine the priority of the data packet set to which the associated data packet belongs.

103. The method according to any one of claims 90 to 102, wherein: The method further comprises: The first communication device sends the first information to the access network device.

104. The method according to claim 103, wherein The first communication device sending the first information to the access network device includes: The first communication device sends the first information to the access network device through a GTP-U header.

105. The method of claim 90, wherein: The first communication device acquires the second information from the second communication device.

106. The method of claim 90, wherein: The second information is included in a packet detection rule PDR.

107. The method of claim 106, wherein: The second information includes at least one of the following: Protocol description information PD; A first synchronization source real-time control protocol SSRC, wherein the data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream; a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream; First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

108. The method of claim 90, wherein: The second information includes: a first data packet detection rule PDR; and a second PDR.

109. The method of claim 108, wherein The first PDR includes at least one of the following: Protocol description information PD; a first SSRC, wherein a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the corresponding first data stream is a redundant RTP stream; The first indication information is used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream.

110. The method of claim 108, wherein The second PDR includes at least one of the following: Protocol description information PD; a second SSRC, wherein a data packet in the second data stream corresponding to the second SSRC is a source data packet, or the corresponding second data stream is not a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the first data stream corresponding to the second SSRC is a redundant RTP stream.

111. The method according to any one of claims 90 to 110, wherein: The step of marking the data packet with the first information includes: Marking the QoS flow where the data packet belongs to with the first information, The QoS flow where the data packet is located includes a QoS flow corresponding to a first PCC rule, or the QoS flow where the data packet is located includes a QoS flow corresponding to a first data flow.

112. The method according to any one of claims 90 to 110, wherein: The step of marking the data packet with the first information includes: Marking the QoS flow to which the associated data packet belongs with the first information; The QoS flow where the associated data packet is located includes a QoS flow corresponding to a second PCC rule, or the QoS flow where the associated data packet is located includes a QoS flow corresponding to a second data flow.

113. The method according to any one of claims 90 to 112, wherein: The redundant data packet includes at least one of the following: Redundant packets in RTP streams; FEC repair packet used to protect or repair the source data packet.

114. The method according to claim 113, wherein The redundant RTP stream includes redundant data or does not include source data packets.

115. The method according to any one of claims 90 to 114, wherein: The data packet includes a PDU or a PDU set.

116. A method for processing a data packet, wherein: include: The fourth communication device sends fourth information to the third communication device, The fourth information includes at least one of the following: Protocol description information PD; The first synchronization source real-time control protocol SSRC; Second SSRC; Information used to indicate the priority of the first data stream corresponding to the first SSRC; Information used to indicate the priority of the second data stream corresponding to the second SSRC; First indication information, used to indicate that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or that the first data stream corresponding to the first SSRC is a redundant RTP stream; The second indication information is used to indicate that the data packet in the RTP stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant real-time transport protocol RTP stream; Information for requesting at least one of the following: requesting identification of a data packet as a source data packet or a redundant data packet, and requesting first information for marking a data packet; in, The first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

117. The method according to claim 116, wherein The first SSRC indicates that a data packet in the first data stream corresponding to the first SSRC is a redundant data packet, or the first data stream corresponding to the first SSRC is a redundant RTP stream.

118. The method of claim 116, wherein: The second SSRC indicates that a data packet in the second data stream corresponding to the second SSRC is a source data packet, or that the second data stream corresponding to the second SSRC is not a redundant RTP stream.

119. A method for processing a data packet, wherein: include: The access network device obtains the first information; The access network device performs a second operation based on the first information, where the second operation includes at least one of the following: Identifying a data packet as a redundant data packet; Identifying the data packet as a source data packet; Associated data packets and associated data packets; The packet is dropped or not sent.

120. The method of claim 119, wherein The discarding or not sending the data packet includes: discarding or not sending the data packet set to which the data packet belongs; discarding or not sending a data packet in the QoS flow to which the data packet belongs; The QoS flow to which the data packet belongs includes a QoS flow corresponding to a first PCC rule, or the QoS flow to which the data packet belongs includes a QoS flow corresponding to a first data flow.

121. The method of claim 119, wherein The access network device obtains information related to the data packet, including: The access network device obtains first information from the first communication device, where the first information includes at least one of the following: Information of associated data packets associated with the data packet; Information for indicating whether the data packet is allowed to be discarded or not; Information indicating whether the data packet is a redundant data packet or not.

122. The method according to claim 121, wherein The access network device obtains first information from the first communication device, including: The access network device obtains the first information from the first communication device through a General Packet Radio Service (GPRS) Tunneling Protocol (GTP-U) header at the user level.

123. The method of claim 119, wherein The access network device obtains information related to the data packet, including: The access network device obtains fifth information from the second communication device, where the fifth information includes at least one of the following: association information of a first QoS flow, wherein the association information of the first QoS flow includes information of a second QoS flow; The associated information of the second QoS flow includes the information of the first QoS flow.

124. The method according to any one of claims 119 to 123, wherein: The method further comprises: The access network device sends the data packet to the terminal; The access network device receives a first message from the terminal, where the first message is used to indicate that the data packet is successfully transmitted; The discarding or not sending the data packet includes: Based on the first message, the data packet is discarded or not sent.

125. The method according to any one of claims 119 to 123, wherein The discarding or not sending of the data packet includes at least one of the following: When the access network device is in congestion, discarding or not sending the redundant data packet; When the first QoS flow is congested, discarding or not sending the redundant data packet; When the second QoS flow is congested, the redundant data packet is discarded or not sent.

126. A communication device, wherein: It comprises an execution unit for executing the steps of the method as claimed in any one of claims 64 to 125.

127. A communication device, wherein: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method as described in any one of claims 1 to 57 are implemented; or the steps of the method as described in any one of claims 64 to 125 are implemented.

128. A readable storage medium, wherein The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the method described in any one of claims 1 to 57 are implemented, or the steps of the method described in any one of claims 64 to 125 are implemented.

129. A chip, wherein The chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the wireless communication method as described in any one of claims 1 to 57, or to implement the wireless communication method as described in any one of claims 64 to 125.

130. A computer program product, wherein: The program product is stored in a storage medium, and the program product is executed by at least one processor to implement the wireless communication method according to any one of claims 1 to 57, or to implement the wireless communication method according to any one of claims 64 to 125.

131. A wireless communication device, wherein: The wireless communication device is included to execute the wireless communication method according to any one of claims 1 to 57, or execute the wireless communication method according to any one of claims 64 to 125.

Citation Information

Patent Citations

  • Unified transmission scheme for media stream redundancy

    US20080225850A1

  • A node and method for processing copied uplink or downlink local service cloud traffic

    WO2016130058A1

  • Data transmission method and device therefor

    WO2022047675A1

  • Data transmission method and apparatus

    WO2023024684A1

  • Session management for redundant PDU sessions

    WO2023148124A1