Data processing method and device, core network equipment, storage medium and program product

By identifying and marking the importance of PDU Sets in QoS flows, the problem of being unable to perform differentiated processing within the same QoS flow in existing technologies is solved, DSCP value marking at the PDU Set granularity is implemented, and the flexibility of packet processing is improved.

CN120614654APending Publication Date: 2025-09-09CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410267856.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-08
Publication Date
2025-09-09

AI Technical Summary

Technical Problem

In 5G systems, existing technologies cannot perform differentiated processing of different protocol data unit sets (PDU Sets) within the same QoS flow, resulting in poor flexibility in differentiated processing of data packets.

Method used

By identifying each PDU Set in the target QoS flow in the downlink and its importance, and marking each PDU Set with a different Differentiated Services Code Point (DSCP) value based on its importance, the expansion from QoS flow granularity to PDU Set granularity is achieved.

Benefits of technology

Improves the flexibility of differentiated processing of data packets, and can mark different DSCP values ​​for PDU Sets of different importance within the same QoS flow, thereby enhancing the flexibility of data packet processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120614654A_ABST
    Figure CN120614654A_ABST
Patent Text Reader

Abstract

The invention relates to a data processing method and device, core network equipment, a storage medium and a program product. The method is applied to a user plane function (UPF), and comprises the following steps: identifying each protocol data unit set (PDU) Set in a target quality of service (QoS) flow in a downlink and the importance of each PDU Set; and according to the importance of each PDU Set, marking a target differential service code point (DSCP) value for a data packet included in each PDU Set. By adopting the method, the flexibility of adding the DSCP value to the data packet in the QoS flow by using the UPF to realize differential processing of the data packet can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data processing method, apparatus, core network equipment, storage medium, and program product. Background Art

[0002] In the fifth generation mobile communication technology (5G) system, in the downlink direction, the session management function (SMF) sends the differentiated services code point (DSCP) value corresponding to the data packets in the quality of service (QoS) flow to the user plane function (UPF) to instruct the UPF to add the DSCP value to the data packets in the QoS flow, and sends the QoS flow with the added DSCP value to the base station, so that the base station can distinguish the service priority of the QoS flow, wherein the DSCP value added to the data packets in a QoS flow is the same.

[0003] However, the above method has poor flexibility when implementing differentiated processing of data packets. Summary of the Invention

[0004] The embodiments of the present application provide a data processing method, apparatus, core network device, storage medium and program product, which can improve the flexibility of using UPF to add DSCP values ​​to data packets in QoS flows to achieve differentiated processing of data packets.

[0005] In a first aspect, the present application provides a data processing method applied to a user plane function (UPF), the method comprising:

[0006] Identify the importance of each protocol data unit set (PDU Set) and each PDU Set in a target quality of service (QoS) flow in a downlink;

[0007] According to the importance of each PDU Set, a target Differentiated Services Code Point (DSCP) value is marked on the data packets included in each PDU Set.

[0008] In one embodiment, identifying each PDU Set in a target QoS flow in a downlink and the importance of each PDU Set includes:

[0009] Receive the protocol description of the PDU Set sent by the session management function SMF, and the transport protocol header and payload sent by the application server AS;

[0010] Identifying each of the PDU Sets based on the protocol description and the transport protocol header and payload;

[0011] The importance of each PDU Set is determined according to the protocol description and the transport protocol header and payload.

[0012] In one embodiment, identifying each of the PDU Sets based on the protocol description and the transport protocol header and payload includes:

[0013] Determining information for identifying a PDU Set based on the protocol description and the transport protocol header and payload;

[0014] Each of the PDU Sets is identified according to the information used to identify each of the PDU Sets.

[0015] In one embodiment, the information used to identify the PDU Set includes at least one of the following:

[0016] The sequence number of each PDU Set, the indication of the end PDU in each PDU Set, the sequence number of the PDU in each PDU Set, and the size of each PDU Set.

[0017] In one embodiment, determining the importance of each PDU Set based on the protocol description and the transport protocol header and payload includes:

[0018] A target protocol data unit set importance (PSI) value of each PDU Set is determined according to the protocol description and the transport protocol header and payload, where the target PSI value is used to characterize the importance of the PDU Set.

[0019] In one embodiment, marking a target Differentiated Services Code Point (DSCP) value on a data packet included in each PDU Set according to the importance of each PDU Set includes:

[0020] For one PDU Set, determining the target DSCP value corresponding to the PDU Set according to the target PSI value of the PDU Set;

[0021] The data packets included in the PDU Set are marked with the target DSCP value.

[0022] In one embodiment, determining the target DSCP value corresponding to the PDU Set according to the target PSI value of the PDU Set includes:

[0023] According to the target PSI value of the PDU Set, the target DSCP value corresponding to the PDU Set is determined in a preset mapping relationship, where the mapping relationship includes a correspondence between each PSI value and each DSCP value.

[0024] In one embodiment, the method further comprises:

[0025] Receive the mapping relationship sent by the SMF.

[0026] In one embodiment, the receiving the mapping relationship sent by the SMF includes:

[0027] Receive an N4 session request sent by the SMF, where the N4 session request includes an N4 rule, and the N4 rule includes the mapping relationship.

[0028] In one of the embodiments, the N4 rule further includes indication information, and the indication information is used to instruct the UPF to mark a DSCP value on a data packet included in each PDU Set in the QoS flow.

[0029] In one embodiment, the N4 rule also includes the protocol description.

[0030] In one embodiment, determining the mapping relationship according to a pre-configured local policy includes:

[0031] Obtaining, according to the local policy, each of the PSI values ​​and a DSCP value corresponding to each discard priority, wherein the discard priority represents a priority for discarding the PDU Set;

[0032] Determine, according to each of the PSI values, a discarding priority corresponding to each of the PSI values;

[0033] The mapping relationship is generated according to each of the PSI values, each of the DSCP values, and the discard priority corresponding to each of the PSI values.

[0034] In a second aspect, the present application provides a data processing method, applied to SMF, the method comprising:

[0035] Send the protocol description of PDU Set to UPF;

[0036] The protocol description is used by the UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transport protocol header and payload; according to the importance of each PDU Set, the target DSCP value is marked for the data packets included in each PDU Set; the transport protocol header and payload are sent by the AS to the UPF.

[0037] In one embodiment, the method further comprises:

[0038] A preset mapping relationship is sent to the UPF, where the mapping relationship includes a correspondence between each PSI value and each DSCP value, and the mapping relationship is used by the UPF to determine the target DSCP value corresponding to the PDU Set.

[0039] In one embodiment, sending the preset mapping relationship to the UPF includes:

[0040] An N4 session request is sent to the UPF, where the N4 session request includes an N4 rule, and the N4 rule includes the mapping relationship.

[0041] In one of the embodiments, the N4 rule further includes indication information, and the indication information is used to instruct the UPF to mark a DSCP value on a data packet included in each PDU Set in the QoS flow.

[0042] In one embodiment, the N4 rule also includes the protocol description.

[0043] In one embodiment, the method further comprises:

[0044] receiving a policy and charging control (PCC) rule sent by a policy control function (PCF), wherein the PCC rule includes flow description information of the QoS flow, QoS information, and the protocol description;

[0045] The mapping relationship is generated according to the flow description information, the QoS information and the protocol description.

[0046] In one embodiment, the PCC rule is generated by the PCF according to a session creation or update request sent by an application function AF to the PCF.

[0047] In one embodiment, generating the mapping relationship according to the flow description information, the QoS information, and the protocol description includes:

[0048] Determine, based on the flow description information and the QoS information, an assured forwarding class corresponding to the QoS flow, and obtain, based on the assured forwarding class, a DSCP value corresponding to each drop priority in the assured forwarding class;

[0049] Determine each of the PSI values ​​according to the protocol description, and determine a discarding priority corresponding to each of the PSI values ​​according to each of the PSI values;

[0050] The mapping relationship is generated according to each of the PSI values, each of the DSCP values, and the discard priority corresponding to each of the PSI values.

[0051] In a third aspect, the present application further provides a data processing device, applied to a UPF, comprising:

[0052] an identification module, configured to identify each PDU Set in a target QoS flow in a downlink and the importance of each PDU Set;

[0053] The marking module is used to mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set.

[0054] In a fourth aspect, the present application further provides a data processing device, applied to SMF, comprising:

[0055] Sending module, used to send the protocol description of PDU Set to UPF;

[0056] Among them, the protocol description is used by the UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transmission protocol header and payload; according to the importance of each PDU Set, the target DSCP value is marked for the data packets included in each PDU Set; the transmission protocol header and payload are sent to the UPF by the AS.

[0057] In a fifth aspect, the present application further provides a core network device, including: a processor;

[0058] The processor is configured to identify each PDU Set in a target QoS flow in a downlink and the importance of each PDU Set; and mark a target DSCP value on a data packet included in each PDU Set according to the importance of each PDU Set.

[0059] In a sixth aspect, the present application further provides a core network device, including: a transmitter;

[0060] The transmitter is used to send the protocol description of the PDU Set to the UPF;

[0061] Among them, the protocol description is used by the UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transmission protocol header and payload; according to the importance of each PDU Set, the target DSCP value is marked for the data packets included in each PDU Set; the transmission protocol header and payload are sent to the UPF by the AS.

[0062] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first and second aspects above.

[0063] In an eighth aspect, the present application further provides a computer program product, comprising a computer program, characterized in that when the computer program is executed by a processor, the steps of the method described in the first and second aspects above are implemented.

[0064] The above-mentioned data processing method, apparatus, core network equipment, storage medium and program product, UPF can mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set by identifying each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set, thereby enabling UPF to mark different DSCP values ​​for PDU Sets of different importance within the same QoS flow, and further expand the DSCP marking method from the QoS flow granularity to the PDU Set granularity, thereby improving the flexibility of using UPF to add DSCP values ​​to data packets in the QoS flow to achieve differentiated processing of data packets. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A diagram of an application environment of a data processing method in one embodiment;

[0066] Figure 2 1 is a flow chart of a data processing method in one embodiment;

[0067] Figure 3 is a flow chart of a data processing method in another embodiment;

[0068] Figure 4 is a flow chart of a data processing method in another embodiment;

[0069] Figure 5 is a schematic diagram of a data packet included in a PDU Set in one embodiment;

[0070] Figure 6 is a flow chart of a data processing method in another embodiment;

[0071] Figure 7 A schematic diagram of marking a target DSCP value for a data packet included in a PDU Set in one embodiment;

[0072] Figure 8 is a flow chart of a data processing method in another embodiment;

[0073] Figure 9 is a flow chart of a data processing method in another embodiment;

[0074] Figure 10 is a flow chart of a data processing method in another embodiment;

[0075] Figure 11 The figure is a signaling interaction flow chart of data processing in one embodiment.

[0076] Figure 12 is a structural block diagram of a data processing device in one embodiment;

[0077] Figure 13 is a structural block diagram of a data processing device in another embodiment;

[0078] Figure 14 is a structural block diagram of a data processing device in another embodiment;

[0079] Figure 15 is a structural block diagram of a data processing device in another embodiment;

[0080] Figure 16 This is a diagram showing the internal structure of a core network device in one embodiment;

[0081] Figure 17 This is a diagram of the internal structure of a core network device in another embodiment. DETAILED DESCRIPTION

[0082] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0083] Figure 1 Schematic diagram of an application scenario of a data processing method provided in an embodiment of the present application. Figure 1As shown, this scenario includes a User Plane Function (UPF) 101, a Session Management Function (SMF) 102, a Policy Control Function (PCF) 103, an Application Function (AF) 104, an Application Server (AS) 105, and a Radio Access Network (RAN) 106. UPF 101 can receive a protocol description from SMF 102 and a Quality of Service (QoS) flow from AS 105. Each packet in a QoS flow includes a transport protocol header and a payload. UPF 101 identifies packets in the QoS flow based on the protocol description and the received transport protocol header and payload, marks each packet with a Differentiated Services Code Point (DSCP) value, and sends the DSCP-marked packets to RAN 106. RAN 106 can then determine the service category of each QoS flow based on the DSCP value to prioritize services.

[0084] Among them, RAN106 can be a base station (NodeB, NB for short) in Wideband Code Division Multiple Access (WCDMA), or an evolved base station (Evolutional NodeB, eNB or eNodeB for short) in LTE, or a relay station or access point, or a base station in a 5G network, etc., which is not limited here.

[0085] In traditional technology, when the transmission network between UPF and RAN sends data packets, each QoS flow is processed differently according to the DSCP mark value in the header of the data packet in the QoS flow to distinguish the priority of different QoS flows. Usually, AF sends the control information of the QoS flow to SMF through PCF. SMF determines the corresponding DSCP value in each QoS flow based on the received control information, and sends the determined DSCP value to UPF to instruct UPF to mark each data packet in the QoS flow with the same DSCP value. In this way, UPF can send the QoS flow marked with the DSCP value to the base station. The base station can divide the service category according to the DSCP value in each QoS flow to distinguish the priority of different QoS flows. In the network architecture of Extended Reality (XR) services, considering the packetization characteristics of audio and video frames, the data packets belonging to the same QoS flow are divided into multiple Protocol Data Unit Sets (PDU Sets). Different processing methods can be adopted for different PDU Sets according to the importance of different frames. However, because packets within the same QoS flow share the same DSCP value in traditional technologies, it's impossible to add different DSCP values ​​to packets in different PDU Sets, thus preventing the implementation of DSCP marking at the PDU Set level. Consequently, traditional technologies using the UPF to add DSCP values ​​to packets within a QoS flow to achieve differentiated packet processing suffer from limited flexibility.

[0086] Based on the above-mentioned traditional technology, an embodiment of the present application provides a data processing method. The UPF identifies each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set. It can mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set, thereby enabling the UPF to mark different DSCP values ​​for PDU Sets of different importance within the same QoS flow, and then expand the DSCP marking method from the QoS flow granularity to the PDU Set granularity, thereby improving the flexibility of using the UPF to add DSCP values ​​to the data packets in the QoS flow to achieve differentiated processing of data packets.

[0087] It should be noted that the beneficial effects or technical problems solved by the embodiments of the present application are not limited to this one, but may also include other implicit or related problems. For details, please refer to the description of the following embodiments.

[0088] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0089] In one embodiment, Figure 2 As shown, a data processing method is provided, which is applied to Figure 1 The UPF in the example is used to illustrate, including the following steps:

[0090] S201: Identify each protocol data unit set (PDU Set) in a target quality of service (QoS) flow in a downlink and the importance of each PDU Set.

[0091] It should be noted that during the transmission process between the terminal and the radio access network, the transmission network for sending data from the radio access network to the terminal is the downlink. The radio access network can send multiple data streams, i.e., QoS streams, to the terminal via the downlink. In this embodiment, the QoS stream that needs to be marked can be determined as the target QoS stream. By dividing the data packets in the target QoS stream, multiple different PDU Sets can be obtained, where each PDU Set contains one or more dependent protocol data units (PDUs) used to carry the payload of an information unit (e.g., a video frame) generated by the application layer. It is understandable that different PDU Sets correspond to different importances, and each PDU Set can be prioritized based on its importance. For example, if a video stream includes I frames, B frames, and P frames, where I frames are the most important frames, P frames depend on I frames for decoding, and B frames are the least important frames, then all frames can be divided into different PDU Sets based on their importance. The importance of each PDU Set can be determined based on information configured by the application layer. For example, the UPF can determine the importance of each PDU Set based on control information sent by the application function AF.

[0092] In this embodiment, UPF can obtain the control information of the target QoS flow issued by the application function AF, and receive the target QoS flow from the application server AS, so as to determine the PDUSet included in the target QoS flow according to the control information of the target QoS flow, and determine the data packets belonging to the same PDU Set from all the data packets in the target QoS flow, thereby dividing the data packets in the target QoS flow into multiple PDU Sets. UPF can also obtain the importance of each PDUSet based on the control information of the target QoS flow.

[0093] S202: Mark the data packets included in each PDU Set with a target Differentiated Services Code Point (DSCP) value according to the importance of each PDU Set.

[0094] DSCP refers to the eight-byte code within the service category identifier byte in each data packet's IP header. Different code values ​​can be used to classify data packets according to their corresponding service category, thereby distinguishing service priorities. It should be noted that since each PDU Set corresponds to a different processing method, a corresponding DSCP value can be assigned to each PDU Set based on its importance. Data packets belonging to the same PDU Set have the same DSCP value. In this embodiment, the DSCP value corresponding to each PDU Set in the target QoS flow can be determined as the target DSCP value.

[0095] In this embodiment, the UPF may determine the target DSCP value corresponding to each PDU Set according to the importance of each PDU Set, thereby marking the data packets included in each PDU Set with the target DSCP value corresponding to each PDU Set.

[0096] In the above data processing method, UPF identifies the importance of each PDU Set and each PDU Set in the target QoS flow in the downlink, and can mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set. This enables UPF to mark different DSCP values ​​for PDU Sets of different importance in the same QoS flow, and further expand the DSCP marking method from the QoS flow granularity to the PDU Set granularity, thereby improving the flexibility of using UPF to add DSCP values ​​to data packets in the QoS flow to achieve differentiated processing of data packets.

[0097] In the above scenario of identifying the importance of each PDU Set in the target QoS flow in the downlink and each of the PDU Sets, the UPF can receive the PDU Set protocol description sent by the SMF and the transport protocol header and payload sent by the AS, thereby identifying the importance of each PDU Set and each of the PDU Sets based on the PDU Set protocol description and the transport protocol header and payload. In one embodiment, Figure 3 As shown, the above S201 includes:

[0098] S301: Receive the protocol description of the PDU Set sent by the session management function SMF, and the transport protocol header and payload sent by the application server AS.

[0099] Among them, SMF is the network element in the control plane of the 5G core network responsible for services such as session establishment, IP address allocation and management, UP function selection and control, and billing data collection. SMF can receive control information sent by AF through PCF, and send the control information to the user plane function UPF network element through the N4 interface. In this embodiment, UPF can receive the protocol description of PDU Set sent by SMF through the N4 interface, wherein the protocol description of PDU Set can include the identification information and importance of each PDU Set in the target QoS flow, and UPF can also receive the QoS flow sent by AS, the transport protocol header and payload corresponding to each PDU Set in the QoS flow, wherein the header of each data packet contains its transport protocol header and payload, and the protocol corresponding to each data packet and the identification information of the PDU Set corresponding to each data packet can be determined based on the transport protocol header and payload.

[0100] S302: Identify each PDU Set according to the protocol description, the transport protocol header, and the payload.

[0101] In this embodiment, the UPF may obtain information about the PDU Set corresponding to each data packet in the target QoS flow according to the protocol description and the transport protocol header and payload, thereby identifying each PDU Set according to the information about each PDU Set.

[0102] As an optional implementation, Figure 4 As shown, the above S302 may include:

[0103] S401 : Determine information for identifying a PDU Set according to a protocol description, a transport protocol header, and a payload.

[0104] S402: Identify each PDU Set according to the information for identifying the PDU Set.

[0105] Optionally, the information used to identify the PDU Set includes at least one of the following: a serial number of each PDU Set, an indication of an end PDU in each PDU Set, a serial number of a PDU in each PDU Set, and a size of each PDU Set.

[0106] In this embodiment, the UPF can parse the received protocol description to obtain the protocol corresponding to the PDU Set in one or more QoS flows. Then, after receiving the data packet in the target QoS flow sent by the AS, the UPF can determine the protocol corresponding to each data packet in the target QoS flow and the identification information of the PDU Set corresponding to each data packet in the target QoS flow based on the transport protocol header and payload in the packet header of each data packet in the target QoS flow, so that the protocol corresponding to each data packet in the target QoS flow can be matched with the protocol corresponding to each PDU Set in the target QoS flow, and then the data packets with consistent matching results can be divided into the same PDU Set, and the PDU Sets in the target QoS flow can be identified. For example, Figure 5 As shown, taking a PDU Set in the target QoS flow as an example, the PDU Set includes N data packets, and the header of each data packet includes the transport protocol header and payload corresponding to the data packet. The protocol corresponding to the N data packets is the same as the protocol corresponding to the PDU Set.

[0107] S303: Determine the importance of each PDU Set based on the protocol description, the transport protocol header, and the payload.

[0108] In this embodiment, the UPF may parse the protocol description and the transport protocol header and payload, and obtain information related to the importance of each PDU Set based on the parsed information, thereby determining the importance of each PDU Set.

[0109] As an optional implementation, a target protocol data unit set importance (PSI) value of each PDU Set may be determined according to the protocol description and the transport protocol header and payload. The target PSI value is used to characterize the importance of the PDU Set.

[0110] The PSI value indicates the importance of a PDU Set. Optionally, a higher-importance PDU Set can be transmitted first, or a lower-importance PDU Set can be discarded first when the network is congested. In this embodiment, the importance of each PDU Set in the target QoS flow can be determined as a target PSI value.

[0111] In this embodiment, the UPF receives the protocol description of the PDU Set sent by the SMF and the transport protocol header and payload sent by the application server AS. It can identify each PDU Set based on the protocol description, the transport protocol header and the payload, and determine the importance of each PDU Set based on the protocol description, the transport protocol header and the payload, so that it can mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set.

[0112] In the above scenario where the target DSCP value is marked on the data packets included in each PDU Set according to the importance of each PDU Set, the target DSCP value can be determined according to the target PSI value of the PDU Set, thereby marking the target DSCP value on the PDU Set. Figure 6 As shown, the above S202 includes:

[0113] S501 : For a PDU Set, determine a target DSCP value corresponding to the PDU Set according to a target PSI value of the PDU Set.

[0114] It should be noted that in this embodiment, a PDU Set is used as an example to describe the specific process of marking the target DSCP value for the data packets included in the PDU Set. For a PDU Set, the UPF can determine the target PSI value of the PDU Set based on the protocol description, transport protocol header, and payload, and thus determine the target DSCP value corresponding to the PDU Set based on the target PSI value.

[0115] As an optional implementation, the UPF may determine the target DSCP value corresponding to the PDU Set in a preset mapping relationship according to the target PSI value of the PDU Set, where the mapping relationship includes a correspondence between each PSI value and each DSCP value.

[0116] The mapping relationship may represent the relationship between the importance of each PDU Set and the discard priority of each PDU Set. The importance of a PDU Set may be represented by a PSI value, and the discard priority of each PDU Set may be represented by a DSCP value. The mapping relationship may include the relationship between the PSI value and the DSCP value of each PDU Set in each QoS flow. Optionally, the UPF may receive the mapping relationship sent by the SMF; alternatively, the UPF may determine the mapping relationship based on local configuration information.

[0117] In this implementation, after determining the target PSI value of a certain PDU Set, the UPF may search for the DSCP value corresponding to the target PSI value from a preset mapping relationship, thereby determining the DSCP value as the target DSCP value corresponding to the PDU Set.

[0118] S502: Mark the target DSCP value for the data packets included in the PDU Set.

[0119] In this embodiment, the UPF may add the target DSCP value to the transport-level header of each data packet in the PDU Set, thereby marking the target DSCP value on the data packets included in the PDU Set.

[0120] As an optional implementation, after determining the target PSI value of a PDU Set, the UPF may add the target PSI value to the user-level General Packet Radio Service Tunneling Protocol GTP-U header of each data packet in the PDU Set. Furthermore, after determining the corresponding target DSCP value according to the target PSI value, the target DSCP value may be added to the transport-level header of each data packet, thereby obtaining the PDU Set after adding the DSCP mark. For example, it can be as follows Figure 7 As shown, the UPF may add the target PSI value in the GTP-U header of the data packet and the target DSCP value in the transport level header of the data packet.

[0121] In this embodiment, for a PDU Set, the UPF can determine the target DSCP value corresponding to the PDU Set based on the target PSI value of the PDU Set, so that the target DSCP value can be marked on the data packets included in the PDU Set, thereby achieving different DSCP values ​​for PDU Sets of different importance within the same QoS flow.

[0122] The following describes in detail the specific process of obtaining the preset mapping relationship of the two UPFs:

[0123] The first type: receiving the mapping relationship sent by SMF.

[0124] In this embodiment, the UPF may receive the mapping relationship sent by the SMF, wherein the mapping relationship is determined in advance by the SMF based on the relevant information of the QoS flow sent by the AF through the PCF.

[0125] As an optional implementation, the UPF may receive an N4 session request sent by the SMF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship.

[0126] It should be noted that in the 5G transmission network, SMF is a control plane network element and UPF is a user plane network element. SMF can send an N4 session request to UPF through the N4 interface, thereby sending control information to the user plane. In this embodiment, UPF can receive an N4 session request including an N4 rule sent by SMF, wherein the N4 rule includes a mapping relationship predetermined by SMF, thereby obtaining a mapping relationship.

[0127] Optionally, the N4 rule also includes indication information, which is used to instruct the UPF to mark the DSCP value for the data packets included in each PDU Set in the QoS flow. It is understandable that if the same QoS flow includes multiple PDU Sets of different importance, the indication information can be used to instruct the UPF to mark different DSCP values ​​for each PDU Set in the QoS flow; if the PDU Sets included in the same QoS flow have the same importance, the indication information can be used to instruct the UPF to mark the same DSCP value for each PDU Set in the QoS flow.

[0128] Optionally, the N4 rule also includes a protocol description. The UPF can obtain the protocol description including the identification information and importance of each PDU Set in the QoS flow according to the N4 rule in the received N4 session request, so that the UPF can obtain the protocol description through the received N4 session request and determine the transport protocol corresponding to the QoS flow. Furthermore, after the UPF receives the QoS flow and transport protocol header and payload sent by the AS, it can identify each PDU Set and the importance of each PDU Set based on the protocol description and the transport protocol header and payload.

[0129] In this embodiment, UPF receives the N4 session request sent by SMF. Since the session request includes N4 rules and the N4 rules include a mapping relationship, UPF can obtain the mapping relationship directly from SMF, thereby enabling UPF to determine the target DSCP value corresponding to the PDU Set in the target QoS flow according to the mapping relationship.

[0130] The second method is to determine the mapping relationship based on a pre-configured local policy.

[0131] The pre-configured local policies are policies configured by different operators for the 5G core network. The local policies may include the PSI value of each PDU Set in each QoS flow, the discard priority of each PDU Set in each QoS flow, and the DSCP values ​​corresponding to different discard priorities. In this embodiment, the UPF can obtain the local policies from the operator and determine the mapping relationship based on the local policies.

[0132] like Figure 8As shown, “determining a mapping relationship according to a pre-configured local policy” may include:

[0133] S601: Obtain, according to a local policy, each PSI value and a DSCP value corresponding to each discard priority. The discard priority represents a priority for discarding a PDU Set.

[0134] It should be noted that different PDU Set importances have different drop priorities. For example, if a PDU Set has the highest importance, its drop priority is the lowest. Within QoS flows, to differentiate service types and provide different services to different types of service data flows, thereby avoiding network congestion and reducing packet loss, core requirements such as bandwidth, latency, jitter, and packet loss rate are evaluated to determine the DSCP value for each service data flow. This DSCP value then determines the service priority for each service data flow. To ensure transmission success, four guaranteed forwarding classes are proposed. These classes guarantee transmission quality as much as possible while maintaining the permitted bandwidth. If the bandwidth is exceeded, the data is dropped according to a preset drop priority. Within each guaranteed forwarding class, IP packets are assigned three different drop priorities: high, medium, and low. This results in 12 different classes and combinations of drop priorities within each class. Each combination corresponds to a DSCP value. The following table shows the correspondence between each combination and DSCP value.

[0135]

[0136] In this embodiment, the UPF may parse the obtained local policy, obtain the PSI value of each PDU Set in each QoS flow from the parsing result, and obtain the DSCP value corresponding to each discard priority.

[0137] S602: Determine the discarding priority corresponding to each PSI value according to each PSI value.

[0138] It should be noted that the UPF needs to forward data packets to the terminal via the RAN. When the RAN experiences network congestion, to avoid data loss, some datagrams can be discarded based on the drop priority of different services. Packets with higher drop priorities are discarded first. In other words, the higher the drop priority of a packet, the less important it is. Therefore, the drop priority of a packet can be associated with the packet's PSI value. In this embodiment, packets are marked with DSCP values ​​at the PDU Set granularity. Therefore, the corresponding relationship between PSI values ​​and drop priorities can be used to determine the drop priority corresponding to the PSI value of each PDU Set. For example, if the PSI values ​​of the five PDU Sets in a QoS flow are 1, 2, 3, 4, and 5 respectively, and the discard priorities corresponding to the ensured forwarding class to which the QoS flow belongs are high, medium, and low respectively, then the UPF can correspond the PSI value with the discard priority based on the bandwidth, latency, and other information of the transmission network. For example, PSI values ​​1 and 2 can be corresponded to high discard priority, PSI values ​​3 and 4 can be corresponded to medium discard priority, and PSI value 5 can be corresponded to low discard priority; or, PSI value 1 can be corresponded to high discard priority, PSI values ​​2, 3, 4 can be corresponded to medium discard priority, and PSI value 5 can be corresponded to low discard priority. This embodiment does not impose any restrictions on this.

[0139] S603: Generate a mapping relationship according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0140] In this embodiment, the UPF can use the discard priority as the intermediate value to determine the DSCP value corresponding to each discard priority in each ensured forwarding class, and determine the PSI value corresponding to each discard priority based on the discard priority corresponding to each PSI value, thereby determining the correspondence between each PSI value and each DSCP value, and then determining the correspondence as a mapping relationship between each PSI value and each DSCP value.

[0141] In this embodiment, the UPF can obtain each PSI value and the DSCP value corresponding to each discard priority according to the local policy, and can determine the discard priority corresponding to each PSI value according to each PSI value, so that a mapping relationship can be generated according to each PSI value, each DSCP value and the discard priority corresponding to each PSI value. Since the discard priority represents the priority of discarding the PDU Set, the correspondence between the discard priority and the importance of the PDU Set can be determined, so that a mapping relationship between each PSI value and each DSCP value can be generated according to the correspondence between the discard priority and the DSCP value, thereby realizing the marking of the DSCP value of the PDU Set.

[0142] In one embodiment, the present application also provides a data processing method, which is applied to Figure 1 Taking the SMF in the example as an example, the following steps are included: sending the protocol description of PDU Set to UPF; wherein, the protocol description is used by UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transport protocol header and payload; marking the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set; the transport protocol header and payload are sent to UPF by AS.

[0143] Among them, the protocol description includes the identification information and importance of the PDU Set in the QoS flow. In this embodiment, the AF can send the protocol description to the SMF through the PCF, and the SMF can send the received protocol description to the UPF through the N4 interface, so that the UPF can identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the received protocol description and transport protocol header and payload after receiving the transmission protocol header and payload sent by the AS, and thus mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set.

[0144] In this embodiment, the SMF sends the protocol description of the PDU Set to the UPF. Since the protocol description can be used by the UPF to identify the importance of each PDU Set and each PDU Set in the target QoS flow in the downlink according to the protocol description and the transmission protocol header and payload sent by the AS to the UPF, and mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set, the UPF can mark different DSCP values ​​for PDU Sets of different importance in the same QoS flow, and further expand the DSCP marking method from the QoS flow granularity to the PDU Set granularity, thereby improving the flexibility of using the UPF to add DSCP values ​​to the data packets in the QoS flow to achieve differentiated processing of data packets.

[0145] In one embodiment, the above method further includes: sending a preset mapping relationship to the UPF, where the mapping relationship includes a correspondence between each PSI value and each DSCP value, and the mapping relationship is used by the UPF to determine the target DSCP value corresponding to the PDU Set.

[0146] In this embodiment, the SMF can also send a preset mapping relationship to the UPF through the N4 interface, so that the UPF can determine the target DSCP value corresponding to the PSI value of each PDU Set in the target QoS flow based on the mapping relationship, thereby marking the target DSCP value for each PDU Set in the target QoS flow.

[0147] Optionally, the SMF may send an N4 session request to the UPF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship.

[0148] Optionally, the N4 rule also includes indication information, which is used to instruct the UPF to mark the DSCP value for the data packets included in each PDU Set in the QoS flow. It is understandable that if the same QoS flow includes multiple PDU Sets of different importance, the indication information can be used to instruct the UPF to mark different DSCP values ​​for each PDU Set in the QoS flow; if the PDU Sets included in the same QoS flow have the same importance, the indication information can be used to instruct the UPF to mark the same DSCP value for each PDU Set in the QoS flow.

[0149] Optionally, the N4 rule also includes a protocol description. After the SMF sends an N4 session request to the UPF, the UPF can obtain the protocol description including the identification information and importance of each PDU Set in the QoS flow according to the N4 rule in the received N4 session request, thereby enabling the UPF to obtain the protocol description through the received N4 session request. Furthermore, after the UPF receives the QoS flow and transport protocol header and payload sent by the AS, the UPF can identify each PDU Set and the importance of each PDU Set based on the protocol description and the received transport protocol header and payload.

[0150] In this embodiment, the SMF sends a preset mapping relationship to the UPF. Since the mapping relationship includes the correspondence between each PSI value and each DSCP value, the UPF can determine the target DSCP value corresponding to the PDU Set according to the mapping relationship, so that the UPF can mark the target DSCP value for each PDU Set.

[0151] In one embodiment, Figure 9 As shown, the above method also includes:

[0152] S701: Receive a policy and charging control (PCC) rule sent by a policy control function (PCF). The PCC rule includes flow description information, QoS information, and protocol description of a QoS flow.

[0153] Optionally, the PCC rule is generated by the PCF according to a session creation or update request sent by the application function AF to the PCF.

[0154] It should be noted that in the core network, AF can send a session request containing PSI values ​​and protocol descriptions of different PDU Sets to PCF. PCF can generate PCC rules based on the received information and send the PCC rules to SMF, so that SMF can determine the DSCP value corresponding to each PDU Set based on the received PCC rules. Among them, PCC rules refer to Policy Control and Charging (PCC) rules, which are a kind of rules that map the QoS requirements of application-level session service data flows to IP-CAN structures, access the QoS requirements of transport network bearers and services to ensure data transmission, and implement service data flow-level charging functions according to the operator's charging policy.

[0155] Among them, the PCC rules may include flow description information, QoS information and protocol description of the QoS flow, among which the flow description information of the QoS flow may include the source IP address and destination IP address of each QoS flow to distinguish different QoS flows; QoS information can be used to determine the ensured forwarding class corresponding to each QoS flow; protocol description can be used to determine the identification information and importance of each PDUSet in each QoS flow.

[0156] S702: Generate a mapping relationship according to the flow description information, QoS information and protocol description.

[0157] In this embodiment, the guaranteed forwarding class to which each QoS belongs can be determined based on the flow description information and QoS information, and the identification information and importance of each PDU Set in the QoS flow can be determined based on the protocol description. Thus, the generated mapping relationship between the PSI value of each PDU Set and the DSCP value corresponding to each PDU Set can be determined based on the determined guaranteed forwarding class and the identification information and importance of each PDU Set.

[0158] In this embodiment, the SMF receives the PCC rules sent by the PCF. Since the PCC rules include flow description information, QoS information and protocol description of the QoS flow, the SMF can generate a mapping relationship based on the flow description information, QoS information and protocol description.

[0159] In the above scenario where a mapping relationship is generated based on the flow description information, QoS information, and protocol description, the SMF can determine the guaranteed forwarding class corresponding to the QoS flow based on the flow description information and QoS information, determine the corresponding relationship between the drop priority and the DSCP value based on the guaranteed forwarding class, thereby determining the PSI value and the drop priority corresponding to the PSI value based on the protocol description, and further determine the mapping relationship between the DSCP value and the PSI value. In one embodiment, Figure 10 As shown, the above S702 includes:

[0160] S801: Determine an assured forwarding class corresponding to a QoS flow according to flow description information and QoS information, and obtain a DSCP value corresponding to each drop priority in the assured forwarding class according to the assured forwarding class.

[0161] Among them, different guaranteed forwarding classes can include different discarding priorities. For example, each guaranteed forwarding class can correspond to three discarding priorities: high, medium, and low. The network side can pre-assign a corresponding DSCP value to each discarding priority in each class.

[0162] In this embodiment, SMF can determine the information of each QoS flow based on the flow description information, and determine the transmission resource information allocated by the network side to each QoS flow based on the QoS information, thereby determining the ensured forwarding class corresponding to each QoS flow, and thus obtaining the DSCP value corresponding to each discard priority in the ensured forwarding class based on the determined ensured forwarding class.

[0163] S802: Determine each PSI value according to the protocol description, and determine a discarding priority corresponding to each PSI value according to each PSI value.

[0164] In this embodiment, the SMF can determine the PSI value of each PDU Set in each QoS flow according to the protocol description, and determine the discard priority corresponding to each PSI value according to the correspondence between the importance of the PDU Set and the discard priority. For example, if the PSI values ​​of the five PDU Sets in a QoS flow are 1, 2, 3, 4, and 5 respectively, and the discard priorities corresponding to the assured forwarding class to which the QoS flow belongs are high, medium, and low respectively, the SMF can correspond the PSI value to the discard priority according to information such as the bandwidth and latency of the transmission network. For example, PSI values ​​of 1 and 2 can be corresponded to high discard priority, PSI values ​​of 3 and 4 can be corresponded to medium discard priority, and PSI value of 5 can be corresponded to low discard priority; alternatively, PSI value 1 can be corresponded to high discard priority, PSI values ​​of 2, 3, and 4 can be corresponded to medium discard priority, and PSI value 5 can be corresponded to low discard priority. This embodiment does not impose any restrictions on this.

[0165] S803: Generate a mapping relationship according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0166] In this embodiment, the SMF can determine the DSCP value corresponding to each drop priority in each ensured forwarding class, and determine the PSI value corresponding to each drop priority based on the drop priority corresponding to each PSI value, so that a mapping relationship can be generated based on the DSCP value and PSI value corresponding to the same drop priority.

[0167] In this embodiment, the SMF can determine the ensured forwarding class corresponding to the QoS flow based on the flow description information and QoS information, and obtain the DSCP value corresponding to each discard priority in the ensured forwarding class based on the ensured forwarding class, determine each PSI value based on the protocol description, and determine the discard priority corresponding to each PSI value based on each PSI value, so that a mapping relationship can be generated according to each PSI value, each DSCP value and the discard priority corresponding to each PSI value, and then the mapping relationship can be sent to the UPF, so that the UPF can determine the DSCP value corresponding to each PDU Set based on the mapping relationship.

[0168] In one embodiment, Figure 11 Provide a data processing signaling interaction flow chart. Figure 10 As shown, the method includes the following steps:

[0169] S1: AF sends a session creation / update request to PCF.

[0170] S2: PCF generates PCC rules according to the session creation / update request and sends the corresponding PCC rules to SMF. The PCC rules include flow description information, QoS information and protocol description of the QoS flow.

[0171] S3, SMF determines the guaranteed forwarding class corresponding to the QoS flow based on the flow description information and QoS information, and obtains the DSCP value corresponding to each drop priority in the guaranteed forwarding class based on the guaranteed forwarding class.

[0172] S4: Determine each PSI value according to the protocol description, and determine a discarding priority corresponding to each PSI value according to each PSI value.

[0173] S5. Generate a mapping relationship based on each PSI value, each DSCP value, and the discard priority corresponding to each PSI value. The mapping relationship includes the correspondence between each PSI value and each DSCP value. The mapping relationship is used by the UPF to determine the target DSCP value corresponding to the PDU Set.

[0174] S6, SMF sends an N4 session request to UPF, the N4 session request includes N4 rules, the N4 rules include mapping relationships, indication information for instructing UPF to mark DSCP values ​​for data packets included in each PDU Set in the QoS flow, and protocol description.

[0175] S7, UPF receives the N4 session request sent by SMF, and obtains the mapping relationship, the instruction information for instructing UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow, and the protocol description according to the N4 rule in the N4 session request.

[0176] S8, UPF receives each PDU Set, the transport protocol header and payload of each PDU Set sent by AS.

[0177] S9. The UPF determines the information used to identify the PDU Set based on the protocol description, transport protocol header, and payload. The information used to identify the PDU Set includes at least one of the following: the serial number of each PDU Set, an indication of the end PDU in each PDU Set, the serial number of the PDU in each PDU Set, and the size of each PDU Set.

[0178] S10, UPF identifies each PDU Set based on the information used to identify the PDU Set.

[0179] S12: The UPF determines the target PSI value of each PDU Set based on the protocol description, transport protocol header, and payload. The target PSI value is used to characterize the importance of the PDU Set.

[0180] S13: For a PDU Set, the UPF determines a target DSCP value corresponding to the PDU Set in a preset mapping relationship according to the target PSI value of the PDU Set.

[0181] S14: Mark the target DSCP value for the data packets included in the PDU Set.

[0182] S15, or, the UPF obtains the DSCP value corresponding to each PSI value and each discard priority according to the local policy, where the discard priority represents the priority of discarding the PDU Set.

[0183] S16, UPF determines the discarding priority corresponding to each PSI value according to each PSI value.

[0184] S17, UPF generates a mapping relationship according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0185] S18: For a PDU Set, the UPF determines a target DSCP value corresponding to the PDU Set in a preset mapping relationship according to the target PSI value of the PDU Set.

[0186] S19: Mark the target DSCP value for the data packets included in the PDU Set.

[0187] It should be noted that for the descriptions in S1-S19 above, reference can be made to the relevant descriptions in the above embodiments, and the effects are similar, so this embodiment will not be repeated here.

[0188] It should be understood that, although the various steps in the above flow chart are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above flow chart may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0189] In one embodiment, Figure 12 As shown, a data processing device is provided, which is applied to UPF, including: an identification module 11 and a marking module 12, wherein:

[0190] The identification module 11 is configured to identify each PDU Set in a target QoS flow in a downlink and the importance of each PDU Set.

[0191] The marking module 12 is configured to mark the data packets included in each PDU Set with a target DSCP value according to the importance of each PDU Set.

[0192] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0193] In one embodiment, Figure 13 As shown, the identification module 11 includes: a first receiving unit 111, a first determining unit 112 and a second determining unit 113, wherein:

[0194] The first receiving unit 111 is configured to receive the protocol description of the PDU Set sent by the session management function SMF, and the transport protocol header and payload sent by the application server AS.

[0195] The first determination unit 112 is used to identify each of the PDU Sets based on the protocol description and the transmission protocol header and payload; optionally, the information used to identify the PDU Set includes at least one of the following: the sequence number of each PDU Set, an indication of the end PDU in each PDU Set, the sequence number of the PDU in each PDU Set, and the size of each PDU Set.

[0196] The second determining unit 113 is configured to determine the importance of each PDUSet according to the protocol description and the transport protocol header and payload.

[0197] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0198] In one embodiment, please refer to Figure 13 The first determining unit 112 is specifically configured to determine information for identifying a PDU Set according to a protocol description, a transport protocol header, and a payload; and identify each PDU Set according to the information for identifying a PDU Set.

[0199] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0200] In one embodiment, please refer to Figure 13 The second determining unit 113 is specifically configured to determine a target protocol data unit set importance PSI value of each PDU Set according to the protocol description and the transport protocol header and payload, where the target PSI value is used to characterize the importance of the PDU Set.

[0201] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0202] In one embodiment, please refer to Figure 13 The marking module 12 includes a third determining unit 121 and a marking unit 122, wherein:

[0203] The third determining unit 121 is configured to determine, for a PDU Set, a target DSCP value corresponding to the PDU Set according to a target PSI value of the PDU Set;

[0204] The marking unit 122 is configured to mark the data packets included in the PDU Set with a target DSCP value.

[0205] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0206] In one embodiment, please refer to Figure 13 The third determining unit 121 is specifically configured to determine a target DSCP value corresponding to the PDU Set in a preset mapping relationship according to the target PSI value of the PDU Set, where the mapping relationship includes a correspondence between each PSI value and each DSCP value.

[0207] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0208] In one embodiment, please refer to Figure 13 The above device further includes: a first receiving module 13, wherein:

[0209] The first receiving module 13 is configured to receive the mapping relationship sent by the SMF.

[0210] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0211] In one embodiment, please refer to Figure 13 The receiving module 13 includes a second receiving unit 131, wherein:

[0212] The second receiving unit 131 is used to receive an N4 session request sent by the SMF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; optionally, the N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; the N4 rule also includes a protocol description.

[0213] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0214] In one embodiment, please refer to Figure 13 The above-mentioned device further includes: a determination module 14, wherein:

[0215] The determination module 14 is configured to determine a mapping relationship according to a pre-configured local policy.

[0216] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0217] In one embodiment, please refer to Figure 13 The above-mentioned determination module 14 includes: an acquisition unit 141, a fourth determination unit 142 and a first generation unit 143, wherein:

[0218] An acquiring unit 141 is configured to acquire, according to a local policy, each PSI value and a DSCP value corresponding to each discarding priority, where the discarding priority represents a priority for discarding a PDU Set;

[0219] The fourth determining unit 142 is configured to determine a discarding priority corresponding to each PSI value according to each PSI value;

[0220] The first generating unit 143 is configured to generate a mapping relationship according to each PSI value, each DSCP value, and a discard priority corresponding to each PSI value.

[0221] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0222] In one embodiment, Figure 14 As shown, a data processing device is provided, which is applied to SMF. The device includes: a first sending module 15, wherein:

[0223] The first sending module 15 is used to send the protocol description of the PDU Set to the UPF; wherein the protocol description is used by the UPF to identify the importance of each PDU Set and each PDU Set in the target QoS flow in the downlink according to the protocol description and the transport protocol header and payload; according to the importance of each PDU Set, the target DSCP value is marked for the data packets included in each PDU Set; the transport protocol header and payload are sent to the UPF by the AS.

[0224] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0225] In one embodiment, Figure 15 As shown, the above device further includes: a second sending module 16, wherein:

[0226] The second sending module 16 sends a preset mapping relationship to the UPF, where the mapping relationship includes a correspondence between each PSI value and each DSCP value. The mapping relationship is used by the UPF to determine a target DSCP value corresponding to the PDU Set.

[0227] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0228] In one embodiment, please refer to Figure 15 The second sending module 16 includes a sending unit 161, wherein:

[0229] The sending unit 161 is used to send an N4 session request to the UPF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; the optional N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; the N4 rule also includes a protocol description.

[0230] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0231] In one embodiment, please refer to Figure 15 The above device further includes: a second receiving module 17 and a generating module 18, wherein:

[0232] The second receiving module 17 is used to receive the policy and charging control PCC rules sent by the policy control function PCF, where the PCC rules include flow description information, QoS information and protocol description of the QoS flow; optionally, the PCC rules are generated by the PCF based on the session creation or update request sent by the application function AF to the PCF.

[0233] The second generating module 18 is configured to generate a mapping relationship according to the flow description information, the QoS information and the protocol description.

[0234] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0235] In one embodiment, please refer to Figure 15 The second generating module 18 includes: a fifth determining unit 181, a sixth determining unit 182, and a second generating unit 183, wherein:

[0236] a fifth determining unit 181 configured to determine an assured forwarding class corresponding to the QoS flow according to the flow description information and the QoS information, and obtain, according to the assured forwarding class, a DSCP value corresponding to each drop priority in the assured forwarding class;

[0237] a sixth determining unit 182, configured to determine each PSI value according to the protocol description, and determine a discarding priority corresponding to each PSI value according to each PSI value;

[0238] The second generating unit 183 is configured to generate a mapping relationship according to each PSI value, each DSCP value, and a discard priority corresponding to each PSI value.

[0239] The data processing device provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail here.

[0240] For the specific definition of the data processing device, please refer to the definition of the data processing method above and will not be repeated here. Each module in the above-mentioned data processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software so that the processor can call and execute the operations corresponding to each of the above modules.

[0241] Figure 16A schematic structural diagram of a core network device provided in an embodiment of the present application. The core network device may include a receiver 31, a memory 32, a processor 33, at least one communication bus 34, and a transmitter 35. The communication bus 34 is used to implement communication connections between components. The memory 32 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory. The memory 32 may store various programs for completing various processing functions and implementing the method steps of this embodiment. In this embodiment, the transmitter 35 may be a radio frequency processing module or a baseband processing module in the core network device, and the receiver 31 may also be a radio frequency processing module or a baseband processing module in the core network device. The transmitter 35 and the receiver 31 may be integrated together to form a transceiver. Both the transmitter 35 and the receiver 31 may be coupled to the processor 33, and they may perform receiving or transmitting actions under the instruction or control of the processor 33.

[0242] In this embodiment, the processor is configured to identify each protocol data unit set (PDU Set) in a target quality of service (QoS) flow in a downlink and the importance of each PDU Set; and mark a target differentiated services code point (DSCP) value on data packets included in each PDU Set according to the importance of each PDU Set.

[0243] In one embodiment, the processor is used to receive the protocol description of the PDU Set sent by the session management function SMF and the transport protocol header and payload sent by the application server AS; identify each PDU Set based on the protocol description and the transport protocol header and payload; determine the importance of each PDU Set based on the protocol description and the transport protocol header and payload; optionally, the information used to identify the PDU Set includes at least one of the following: the serial number of each PDU Set, an indication of the end PDU in each PDUSet, the serial number of the PDU in each PDU Set, and the size of each PDU Set.

[0244] In one embodiment, the processor is configured to determine information for identifying a PDU Set based on a protocol description and a transport protocol header and a payload; and identify each PDU Set based on the information for identifying the PDU Set.

[0245] In one embodiment, the processor is configured to determine a target protocol data unit set importance (PSI) value for each PDU Set according to the protocol description and the transport protocol header and payload, where the target PSI value is used to represent the importance of the PDU Set.

[0246] In one embodiment, the processor is configured to determine, for a PDU Set, a target DSCP value corresponding to the PDU Set according to a target PSI value of the PDU Set; and mark the target DSCP value on data packets included in the PDU Set.

[0247] In one embodiment, the processor is configured to determine a target DSCP value corresponding to the PDU Set in a preset mapping relationship according to a target PSI value of the PDU Set, where the mapping relationship includes a correspondence between each PSI value and each DSCP value.

[0248] In one embodiment, the receiver is used to receive the mapping relationship sent by the SMF.

[0249] In one embodiment, the receiver is used to receive an N4 session request sent by the SMF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; optionally, the N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; the N4 rule also includes a protocol description.

[0250] In one embodiment, the processor is configured to determine the mapping relationship according to a pre-configured local policy.

[0251] In one embodiment, the processor is configured to obtain, according to a local policy, each PSI value and a DSCP value corresponding to each discard priority, where the discard priority represents a priority for discarding a PDU Set; determine, according to each PSI value, the discard priority corresponding to each PSI value; and generate a mapping relationship according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0252] Figure 17 A structural diagram of another core network device provided in an embodiment of the present application. The core network device may include a receiver 41, a memory 42, a processor 43, at least one communication bus 44, and a transmitter 45. The communication bus 44 is used to implement communication connections between components. The memory 42 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory. Various programs may be stored in the memory 42 to perform various processing functions and implement the method steps of this embodiment. In this embodiment, the transmitter 45 may be a radio frequency processing module or a baseband processing module in the core network device, and the receiver 41 may also be a radio frequency processing module or a baseband processing module in the core network device. The transmitter 45 and the receiver 41 may be integrated together to form a transceiver. Both the transmitter 45 and the receiver 41 may be coupled to the processor 43, and they may perform receiving or transmitting actions under the instruction or control of the processor 43.

[0253] In this embodiment, the transmitter is configured to send a protocol description of a PDU Set to the UPF;

[0254] Among them, the protocol description is used by UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transport protocol header and payload; according to the importance of each PDU Set, the target DSCP value is marked for the data packets included in each PDU Set; the transport protocol header and payload are sent to UPF by AS.

[0255] In one embodiment, the transmitter is used to send a preset mapping relationship to the UPF, where the mapping relationship includes a correspondence between each PSI value and each DSCP value, and the mapping relationship is used by the UPF to determine a target DSCP value corresponding to the PDU Set.

[0256] In one embodiment, the transmitter is used to send an N4 session request to the UPF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; optionally, the N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; the N4 rule also includes a protocol description.

[0257] In one embodiment, the receiver is used to receive policy and charging control PCC rules sent by the policy control function PCF, where the PCC rules include flow description information, QoS information and protocol description of the QoS flow; optionally, the PCC rules are generated by the PCF based on a session creation or update request sent by the application function AF to the PCF.

[0258] The processor is used to generate a mapping relationship according to the flow description information, QoS information and protocol description.

[0259] In one embodiment, a processor is configured to determine an assured forwarding class corresponding to a QoS flow based on flow description information and QoS information, and obtain a DSCP value corresponding to each drop priority in the assured forwarding class based on the assured forwarding class; determine each PSI value based on a protocol description, and determine a drop priority corresponding to each PSI value based on each PSI value; and generate a mapping relationship based on each PSI value, each DSCP value, and the drop priority corresponding to each PSI value.

[0260] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0261] Identify each protocol data unit set (PDU Set) and the importance of each PDU Set in the target quality of service (QoS) flow in the downlink;

[0262] According to the importance of each PDU Set, the data packets included in each PDU Set are marked with a target Differentiated Services Code Point (DSCP) value.

[0263] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0264] Receive the protocol description of the PDU Set sent by the session management function SMF, and the transport protocol header and payload sent by the application server AS;

[0265] Identify each PDU Set based on the protocol description and the transport protocol header and payload; optionally, the information used to identify the PDU Set includes at least one of the following: the sequence number of each PDU Set, an indication of the end PDU in each PDU Set, the sequence number of the PDU in each PDU Set, and the size of each PDU Set.

[0266] Determine the importance of each PDU Set based on the protocol description and the transport protocol header and payload.

[0267] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0268] According to the protocol description and the transport protocol header and payload, information for identifying the PDU Set is determined; and according to the information for identifying the PDU Set, each PDU Set is identified.

[0269] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0270] The target protocol data unit set importance (PSI) value of each PDU Set is determined based on the protocol description and the transport protocol header and payload. The target PSI value is used to characterize the importance of the PDU Set.

[0271] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0272] For a PDU Set, determine the target DSCP value corresponding to the PDU Set based on the target PSI value of the PDU Set;

[0273] The target DSCP value is marked on the data packets included in the PDU Set.

[0274] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0275] According to the target PSI value of the PDU Set, a target DSCP value corresponding to the PDU Set is determined in a preset mapping relationship, where the mapping relationship includes a correspondence between each PSI value and each DSCP value.

[0276] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0277] Receive the mapping relationship sent by SMF.

[0278] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0279] Receive the N4 session request sent by the SMF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; optionally, the N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; the N4 rule also includes a protocol description.

[0280] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0281] The mapping relationship is determined based on the pre-configured local policy.

[0282] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0283] Obtain the DSCP value corresponding to each PSI value and each discard priority according to the local policy. The discard priority indicates the priority of discarding the PDU Set.

[0284] Determine the discarding priority corresponding to each PSI value according to each PSI value;

[0285] A mapping relationship is generated according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0286] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0287] Send the protocol description of PDU Set to UPF; wherein, the protocol description is used by UPF to identify each PDU Set and the importance of each PDU Set in the target QoS flow in the downlink according to the protocol description and the transport protocol header and payload, and mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set; the transport protocol header and payload are sent to UPF by AS.

[0288] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0289] The preset mapping relationship is sent to the UPF, where the mapping relationship includes the correspondence between each PSI value and each DSCP value. The mapping relationship is used by the UPF to determine the target DSCP value corresponding to the PDU Set.

[0290] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0291] An N4 session request is sent to the UPF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; optionally, the N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; optionally, the N4 rule also includes a protocol description.

[0292] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0293] Receive policy and charging control (PCC) rules sent by the policy control function (PCF). The PCC rules include flow description information, QoS information, and protocol description of the QoS flow. Optionally, the PCC rules are generated by the PCF based on a session creation or update request sent by the application function (AF) to the PCF.

[0294] A mapping relationship is generated based on the flow description information, QoS information and protocol description.

[0295] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0296] Determine the guaranteed forwarding class corresponding to the QoS flow based on the flow description information and QoS information, and obtain the DSCP value corresponding to each drop priority in the guaranteed forwarding class based on the guaranteed forwarding class;

[0297] Determine each PSI value according to the protocol description, and determine the discard priority corresponding to each PSI value based on the PSI value;

[0298] A mapping relationship is generated according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0299] The present application also provides a computer program product comprising instructions, which, when executed on a computer, causes the computer to perform the following steps:

[0300] Identify each protocol data unit set (PDU Set) and the importance of each PDU Set in the target quality of service (QoS) flow in the downlink;

[0301] According to the importance of each PDU Set, the data packets included in each PDU Set are marked with a target Differentiated Services Code Point (DSCP) value.

[0302] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0303] Receive the protocol description of the PDU Set sent by the session management function SMF, and the transport protocol header and payload sent by the application server AS;

[0304] Identify each PDU Set based on the protocol description and the transport protocol header and payload; optionally, the information used to identify the PDU Set includes at least one of the following: the sequence number of each PDU Set, an indication of the end PDU in each PDU Set, the sequence number of the PDU in each PDU Set, and the size of each PDU Set.

[0305] Determine the importance of each PDU Set based on the protocol description and the transport protocol header and payload.

[0306] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0307] According to the protocol description and the transport protocol header and payload, information for identifying the PDU Set is determined; and according to the information for identifying the PDU Set, each PDU Set is identified.

[0308] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0309] The target protocol data unit set importance (PSI) value of each PDU Set is determined based on the protocol description and the transport protocol header and payload. The target PSI value is used to characterize the importance of the PDU Set.

[0310] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0311] For a PDU Set, determine the target DSCP value corresponding to the PDU Set based on the target PSI value of the PDU Set;

[0312] The target DSCP value is marked on the data packets included in the PDU Set.

[0313] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0314] According to the target PSI value of the PDU Set, a target DSCP value corresponding to the PDU Set is determined in a preset mapping relationship, where the mapping relationship includes a correspondence between each PSI value and each DSCP value.

[0315] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0316] Receive the mapping relationship sent by SMF.

[0317] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0318] Receive the N4 session request sent by the SMF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; optionally, the N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; the N4 rule also includes a protocol description.

[0319] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0320] The mapping relationship is determined based on the pre-configured local policy.

[0321] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0322] Obtain the DSCP value corresponding to each PSI value and each discard priority according to the local policy. The discard priority indicates the priority of discarding the PDU Set.

[0323] Determine the discarding priority corresponding to each PSI value according to each PSI value;

[0324] A mapping relationship is generated according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0325] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0326] Send the protocol description of PDU Set to UPF; wherein, the protocol description is used by UPF to identify each PDU Set and the importance of each PDU Set in the target QoS flow in the downlink according to the protocol description and the transport protocol header and payload, and mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set; the transport protocol header and payload are sent to UPF by AS.

[0327] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0328] The preset mapping relationship is sent to the UPF, where the mapping relationship includes the correspondence between each PSI value and each DSCP value. The mapping relationship is used by the UPF to determine the target DSCP value corresponding to the PDU Set.

[0329] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0330] An N4 session request is sent to the UPF, where the N4 session request includes an N4 rule, and the N4 rule includes a mapping relationship; optionally, the N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow; optionally, the N4 rule also includes a protocol description.

[0331] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0332] Receive policy and charging control (PCC) rules sent by the policy control function (PCF). The PCC rules include flow description information, QoS information, and protocol description of the QoS flow. Optionally, the PCC rules are generated by the PCF based on a session creation or update request sent by the application function (AF) to the PCF.

[0333] A mapping relationship is generated based on the flow description information, QoS information and protocol description.

[0334] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0335] Determine the guaranteed forwarding class corresponding to the QoS flow based on the flow description information and QoS information, and obtain the DSCP value corresponding to each drop priority in the guaranteed forwarding class based on the guaranteed forwarding class;

[0336] Determine each PSI value according to the protocol description, and determine the discard priority corresponding to each PSI value based on the PSI value;

[0337] A mapping relationship is generated according to each PSI value, each DSCP value, and the discard priority corresponding to each PSI value.

[0338] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0339] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0340] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A data processing method, characterized in that: Applied to a user plane function (UPF), the method includes: Identify each protocol data unit set (PDU Set) in a target quality of service (QoS) flow in a downlink and the importance of each PDU Set; According to the importance of each PDU Set, a target Differentiated Services Code Point (DSCP) value is marked on the data packets included in each PDU Set.

2. The method according to claim 1, characterized in that The identifying the importance of each PDU Set and each PDU Set in the target QoS flow in the downlink includes: Receive the protocol description of the PDU Set sent by the session management function SMF, and the transport protocol header and payload sent by the application server AS; Identifying each of the PDU Sets based on the protocol description and the transport protocol header and payload; The importance of each PDU Set is determined according to the protocol description and the transport protocol header and payload.

3. The method according to claim 2, characterized in that The identifying each of the PDU Sets according to the protocol description and the transport protocol header and payload includes: Determining information for identifying a PDU Set based on the protocol description and the transport protocol header and payload; Each of the PDU Sets is identified according to the information used to identify the PDU Set.

4. The method according to claim 3, characterized in that The information used to identify the PDU Set includes at least one of the following: The sequence number of each PDU Set, the indication of the end PDU in each PDU Set, the sequence number of the PDU in each PDU Set, and the size of each PDU Set.

5. The method according to claim 2, characterized in that The determining the importance of each of the PDU Sets according to the protocol description and the transport protocol header and payload includes: A target protocol data unit set importance (PSI) value of each PDU Set is determined according to the protocol description and the transport protocol header and payload, where the target PSI value is used to characterize the importance of the PDU Set.

6. The method according to claim 5, characterized in that The marking of a target DSCP value for each data packet included in each PDU Set according to the importance of each PDU Set includes: For one PDU Set, determining the target DSCP value corresponding to the PDU Set according to the target PSI value of the PDU Set; The data packets included in the PDU Set are marked with the target DSCP value.

7. The method according to claim 6, characterized in that The determining, according to the target PSI value of the PDU Set, the target DSCP value corresponding to the PDU Set includes: According to the target PSI value of the PDU Set, the target DSCP value corresponding to the PDU Set is determined in a preset mapping relationship, where the mapping relationship includes a correspondence between each PSI value and each DSCP value.

8. The method according to claim 7, characterized in that The method further comprises: Receive the mapping relationship sent by the SMF.

9. The method according to claim 8, characterized in that The receiving the mapping relationship sent by the SMF includes: Receive an N4 session request sent by the SMF, where the N4 session request includes an N4 rule, and the N4 rule includes the mapping relationship.

10. The method according to claim 9, characterized in that The N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow.

11. The method according to claim 9, characterized in that The N4 rule also includes the protocol description.

12. The method according to claim 7, characterized in that The method further comprises: The mapping relationship is determined according to a pre-configured local policy.

13. The method according to claim 12, characterized in that The determining the mapping relationship according to the pre-configured local policy includes: Obtaining, according to the local policy, each of the PSI values ​​and a DSCP value corresponding to each discard priority, wherein the discard priority represents a priority for discarding the PDU Set; Determine, according to each of the PSI values, a discarding priority corresponding to each of the PSI values; The mapping relationship is generated according to each of the PSI values, each of the DSCP values, and the discard priority corresponding to each of the PSI values.

14. A data processing method, characterized in that: Applied to SMF, the method comprises: Send the protocol description of PDU Set to UPF; The protocol description is used by the UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transport protocol header and payload, and to mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set; the transport protocol header and payload are sent by the AS to the UPF.

15. The method according to claim 14, characterized in that The method further comprises: A preset mapping relationship is sent to the UPF, where the mapping relationship includes a correspondence between each PSI value and each DSCP value, and the mapping relationship is used by the UPF to determine the target DSCP value corresponding to the PDU Set.

16. The method according to claim 15, characterized in that The sending a preset mapping relationship to the UPF includes: An N4 session request is sent to the UPF, where the N4 session request includes an N4 rule, and the N4 rule includes the mapping relationship.

17. The method according to claim 16, characterized in that The N4 rule also includes indication information, and the indication information is used to instruct the UPF to mark the DSCP value of the data packets included in each PDU Set in the QoS flow.

18. The method according to claim 16, characterized in that The N4 rule also includes the protocol description.

19. The method according to any one of claims 14 to 18, characterized in that: The method further comprises: receiving a policy and charging control (PCC) rule sent by a policy control function (PCF), wherein the PCC rule includes flow description information of the QoS flow, QoS information, and the protocol description; The mapping relationship is generated according to the flow description information, the QoS information and the protocol description.

20. The method according to claim 19, characterized in that The PCC rule is generated by the PCF according to a session creation or update request sent by the application function AF to the PCF.

21. The method according to claim 19, wherein Generating the mapping relationship according to the flow description information, the QoS information, and the protocol description includes: Determine, based on the flow description information and the QoS information, an assured forwarding class corresponding to the QoS flow, and obtain, based on the assured forwarding class, a DSCP value corresponding to each drop priority in the assured forwarding class; Determine each of the PSI values ​​according to the protocol description, and determine a discarding priority corresponding to each of the PSI values ​​according to each of the PSI values; The mapping relationship is generated according to each of the PSI values, each of the DSCP values, and the discard priority corresponding to each of the PSI values.

22. A data processing device, characterized in that: Applied to UPF, the device comprises: an identification module, configured to identify each PDU Set in a target QoS flow in a downlink and the importance of each PDU Set; The marking module is used to mark the target DSCP value for the data packets included in each PDU Set according to the importance of each PDU Set.

23. A data processing device, characterized in that: Applied to SMF, the device comprises: Sending module, used to send the protocol description of PDU Set to UPF; The protocol description is used by the UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transport protocol header and payload; according to the importance of each PDU Set, the target DSCP value is marked for the data packets included in each PDU Set; the transport protocol header and payload are sent by the AS to the UPF.

24. A core network device, characterized in that: include: processor; The processor is configured to identify each PDU Set in a target QoS flow in a downlink and the importance of each PDU Set; According to the importance of each PDU Set, a target DSCP value is marked on the data packets included in each PDU Set.

25. A core network device, characterized in that: include: transmitter; The transmitter is used to send the protocol description of the PDU Set to the UPF; The protocol description is used by the UPF to identify each PDU Set in the target QoS flow in the downlink and the importance of each PDU Set according to the protocol description and the transport protocol header and payload; according to the importance of each PDU Set, the target DSCP value is marked for the data packets included in each PDU Set; the transport protocol header and payload are sent by the AS to the UPF.

26. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 21 are implemented.

27. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 21 are implemented.