Data processing method, related equipment and communication system

By using flow identification and data identification in service flow packets for QoS stream mapping, the problem that the prior art cannot distinguish and process the QoS requirements of different packets in the same RTP session is solved, and efficient QoS processing of different packets is achieved.

CN119922171APending Publication Date: 2025-05-02HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311438912.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The prior art cannot distinguish the QoS requirements of different packets in the same RTP session and perform corresponding QoS processing on them.

Method used

By obtaining data packets in the service flow, based on the flow identification and data identification in the data packet, the packets are QoS stream mapped using processing rules, and mapped to different QoS stream bearers to realize QoS processing of different data packets.

Benefits of technology

It realizes the distinction between different data packets in the same service flow and QoS processing, improving the quality and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922171A_ABST
    Figure CN119922171A_ABST
Patent Text Reader

Abstract

The invention relates to the field of XR. The invention specifically relates to a data processing method, related equipment and a communication system. The method comprises: a first device obtaining a first data packet and a second data packet in a service flow, the first data packet comprising a first data identifier and a flow identifier of the service flow, and the second data packet comprising a second data identifier and the flow identifier of the service flow; and performing quality of service (QoS) flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and a processing rule corresponding to the flow identifier, so as to map the first data packet to a first QoS flow bearer and map the second data packet to a second QoS flow bearer. By adopting the scheme of the invention, the QoS requirements of different data packets in the same service flow can be distinguished, and corresponding QoS processing can be carried out on different data packets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of extended reality (XR), and in particular to a data processing method, related equipment and a communication system. Background Art

[0002] At present, for mixed service scenarios in which multiple types of data such as audio and video are transmitted simultaneously, the real-time transport protocol (RTP) session-level multiplexing technology is mainly used, that is, different types of service data packets are mixed and multiplexed in the same real-time transport protocol (RTP) session. At this time, different types of service data flows share a service flow description information (such as Internet Protocol (IP) quintuple or IP triplet information). The fifth generation wireless communication system (5GS) can only distinguish data packets of different RTP sessions and perform corresponding quality of services (QoS) processing on the RTP session, but cannot distinguish data packets with different QoS requirements in the same RTP session, that is, cannot perform corresponding QoS processing on different data packets multiplexed in the same RTP session. Summary of the invention

[0003] The embodiments of the present application provide a data processing method, related equipment and a communication system. The embodiments of the present application can distinguish the QoS requirements of different data packets in the same service flow, and can perform corresponding QoS processing on different data packets.

[0004] In a first aspect, an embodiment of the present application provides a data processing method. The method can be applied to a first device. The first device can be a user plane function (UPF) network element or a user equipment.

[0005] The first device obtains a first data packet and a second data packet in a service flow, the first data packet includes a flow identifier and a first data identifier of the service flow, and the second data packet includes a flow identifier and a second data identifier of the service flow; the first device performs QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and a processing rule corresponding to the flow identifier, so as to map the first data packet to a first QoS flow bearer and map the second data packet to a second QoS flow bearer.

[0006] The QoS flow indicated by the QoS flow identifier is used to carry the corresponding data packet. The flow identifier in each data packet is used to indicate the service flow. Optionally, the flow identifier is optional, and the flow identifier is an IP quintuple, an IP triplet, a service type (type of service, ToS) in the IPv4 header, or a flow label (flowlabel) in the IPv6 header. The data packets included in the service flow may include data packets of different data streams such as audio data packets, video data packets, tactile data packets, RTP data packets, and RTCP data packets.

[0007] By detecting the data identifier carried in the data packet of the business flow, different data packets in the same business flow are distinguished based on the data identifier, and mapped to QoS flows corresponding to different QoS requirement parameters, thereby achieving corresponding QoS processing for different data packets in the same business flow.

[0008] In combination with the first aspect, in a possible implementation manner, the first device performs QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier, and a processing rule corresponding to the flow identifier, including:

[0009] An identifier of a first QoS flow is added to a first data packet, and an identifier of a second QoS flow is added to a second data packet, wherein the first data identifier corresponds to the identifier of the first QoS flow, and the second data identifier corresponds to the identifier of the second QoS flow.

[0010] In combination with the first aspect, in a possible implementation manner, the method of this embodiment further includes:

[0011] The first device obtains a processing rule corresponding to the flow identifier of the business flow, and the processing rule includes the data identifier of each data packet in the business flow and the QoS flow identifier corresponding to the data identifier of each data packet; the processing rule of the business flow is used to instruct the first device to perform QoS flow mapping on the data packets of the business flow based on the data identifier.

[0012] It should be understood that one QoS flow identifier corresponds to one or more data identifiers.

[0013] It should be understood that the processing rules of the business flow can be understood as the processing rules containing information related to the business flow, such as flow identification information.

[0014] By introducing the processing rules, the first device can determine the QoS flow identifier added to the data packet based on the data identifier of the data packet, thereby achieving corresponding QoS processing for different data packets in the same service flow.

[0015] In combination with the first aspect, in a possible implementation, the processing rule is used to indicate that the data identifier is a synchronization source (SSRC) identifier or a load type identifier. Specifically, the SSRC identifier and the load type identifier are in the RTP layer header of the data packet.

[0016] In conjunction with the first aspect, in a possible implementation, the processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is an RTP data packet or a real-time transport control protocol (RTCP) data packet.

[0017] In conjunction with the first aspect, in a possible implementation, the processing rule is used to:

[0018] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0019] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0020] Or the data identifier indicating the data packet indicates that the data packet is an RTCP data packet.

[0021] In conjunction with the first aspect, in a possible implementation, the processing rule is generated based on the data identifier and the QoS requirement parameter corresponding to the data identifier, wherein the QoS requirement parameter may be a specific QoS parameter, such as bandwidth, delay, packet loss rate, transmission priority, etc.

[0022] In combination with the first aspect, in a possible implementation manner, the first device is a user plane function network element or a user equipment. When the first device is a user equipment, the method of this embodiment further includes:

[0023] Send the data identifier and the QoS requirement parameters corresponding to the data identifier to the session management function (SMF) network element or the policy control function (PCF) network element. The user equipment sends the above data identifier and the QoS requirement parameters corresponding to the data packet to the SMF network element or the PCF network element through the access network equipment and the mobility management function (AMF) network element.

[0024] In a second aspect, an embodiment of the present application provides a data processing method, which is applied to an SMF network element.

[0025] The SMF network element obtains a flow identifier, a first data identifier included in a first data packet of a service flow identified by the flow identifier, a second data identifier included in a second data packet of the service flow identified by the flow identifier, a first QoS requirement parameter corresponding to the first data identifier, and a QoS requirement parameter corresponding to the second data identifier; the SMF network element generates a processing rule corresponding to the flow identifier based on the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter; the SMF network element sends a processing rule corresponding to the flow identifier to a target UPF network element or user equipment, the processing rule including the first data identifier and the QoS flow identifier corresponding to the first data identifier, the second data identifier, and the QoS flow identifier corresponding to the second data identifier. The processing rule is used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier of the data packets of the service flow, so as to map the first data packet to the first QoS flow bearer and the second data packet to the second QoS flow bearer.

[0026] Among them, the target UPF network element is a UPF network element selected by the SMF network element that supports the capability of QoS differentiated processing based on data identification.

[0027] It can be seen that SMF generates service flow processing rules based on data identification and QoS requirements corresponding to the data identification, and sends the service flow processing rules to the user equipment or UPF network element, so that different data packets in the same service flow can be processed according to QoS based on the data identification.

[0028] It should be understood that the processing rule corresponds to the service flow indicated by the flow identifier, and the processing rule may include the flow identifier corresponding to the service flow, such as IP triplet, quintuple and other information.

[0029] In conjunction with the second aspect, in a possible implementation, the processing rule is used to indicate that the data identifier is an SSRC identifier or a payload type identifier.

[0030] In conjunction with the second aspect, in a possible implementation, the processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet.

[0031] In conjunction with the first aspect, in a possible implementation, the processing rule is used to:

[0032] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0033] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0034] Or the data identifier indicating the data packet indicates that the data packet is an RTCP data packet.

[0035] In conjunction with the second aspect, in a possible implementation, the processing rule is used to indicate the data identifier and the QoS requirement parameter corresponding to the data identifier, and the UPF network element or user equipment performs QoS flow mapping on the data packet of the service flow based on the data identifier, and maps the data packet of the service flow to the QoS flow that meets the QoS requirement parameter corresponding to the data identifier based on the data identifier. The QoS flow mapping specifically adds the QoS flow identifier corresponding to the QoS flow to the data packet.

[0036] In combination with the second aspect, in a possible implementation method, the SMF network element obtains multiple data identifiers and the QoS requirement parameters corresponding to each data identifier, including: the SMF network element obtains multiple PCC rules, each PCC rule includes at least one data identifier and corresponding QoS requirement parameters with the same corresponding QoS requirement parameters.

[0037] In a third aspect, an embodiment of the present application provides a data processing method, which is applied to a PCF network element.

[0038] The PCF network element receives an application function AF request sent by an application server, where the AF request includes a flow identifier, multiple data identifiers, and QoS requirement parameters corresponding to each data identifier; multiple PCC rules are generated based on the multiple data identifiers and the QoS requirement parameters corresponding to each data identifier, where each PCC rule includes at least one data identifier and a corresponding QoS requirement parameter that are the same as the corresponding QoS requirement parameters; the flow identifier and the multiple PCC rules are used to generate processing rules, where the processing rules correspond to the service flow indicated by the flow identifier, and the processing rules include multiple data identifiers and a QoS flow identifier corresponding to each data identifier; the processing rules are used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier.

[0039] The PCF network element generates multiple PCC rules based on multiple data identifiers and the QoS parameters corresponding to each data identifier, and sends the multiple PCC rules to the SMF network element, so that the SMF network element generates processing rules for the service flow based on the multiple PCC rules and the flow identifier of the service flow, and sends the processing rules for the service flow to the user equipment or UPF network element, and performs corresponding QoS processing on different data packets in the same service flow based on the data identifier.

[0040] It should be understood that the processing rule corresponds to the service flow indicated by the flow identifier, and the processing rule may include the flow identifier corresponding to the service flow, such as IP triplet, quintuple and other information.

[0041] In conjunction with the third aspect, in a possible implementation, the processing rule is used to indicate that the data identifier is an SSRC identifier or a payload type identifier.

[0042] In conjunction with the third aspect, in a possible implementation, the processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet.

[0043] In conjunction with the third aspect, in a possible implementation, the processing rule is used to:

[0044] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0045] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0046] Or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTCP data packet.

[0047] In a fourth aspect, an embodiment of the present application provides a first device, comprising a unit or module for implementing the method provided by the first aspect or any possible implementation manner of the first aspect.

[0048] In a fifth aspect, an embodiment of the present application provides an SMF network element, comprising a unit or module for implementing the method provided in the second aspect or any possible implementation manner of the second aspect.

[0049] In a sixth aspect, an embodiment of the present application provides a PCF network element, comprising a unit or module for implementing the method provided in the third aspect or any possible implementation manner of the third aspect.

[0050] In a seventh aspect, an embodiment of the present application provides a first device, including a processor and a memory. The memory is used to store program code. The processor is used to call the program code stored in the memory to execute the method provided in the first aspect or any possible implementation of the first aspect.

[0051] In an eighth aspect, an embodiment of the present application provides an SMF network element, including a processor and a memory. The memory is used to store program code. The processor is used to call the program code stored in the memory to execute the method provided in the second aspect or any possible implementation of the second aspect.

[0052] In a ninth aspect, an embodiment of the present application provides a PCF network element, including a processor and a memory. The memory is used to store program code. The processor is used to call the program code stored in the memory to execute the method provided in the third aspect or any possible implementation of the third aspect.

[0053] In the tenth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes a method provided in any possible implementation of the first aspect, or a method provided in any possible implementation of the second aspect, or a method provided in any possible implementation of the third aspect.

[0054] In the eleventh aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute a method provided in any possible implementation of the first aspect, or a method provided in any possible implementation of the second aspect, or a method provided in any possible implementation of the third aspect.

[0055] In a twelfth aspect, an embodiment of the present application further provides a data processing method, which is applied to a communication system, the communication system including a user equipment, a UPF network element, an SMF network element and an application server, the method comprising:

[0056] The SMF network element obtains a flow identifier from the user equipment or the application server, a first data identifier included in a first data packet of a service flow identified by the flow identifier, a second data identifier included in a second data packet of the service flow identified by the flow identifier, a first service quality QoS requirement parameter corresponding to the first data identifier, and a second QoS requirement parameter corresponding to the second data identifier;

[0057] The SMF network element generates a processing rule corresponding to the flow identifier according to the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter; the processing rule is used to instruct the UPF network element or the user equipment to perform QoS flow mapping on the data packet of the service flow based on the data identifier; the processing rule includes the first data identifier and the QoS flow corresponding to the first data identifier and the second data identifier and the QoS flow corresponding to the second data identifier;

[0058] The SMF network element sends the processing rules corresponding to the flow identifier to the UPF network element or user equipment.

[0059] The application server sends the first data packet and the second data packet to the UPF network element, or the user equipment obtains the first data packet and the second data packet;

[0060] The UPF network element or user equipment performs service quality QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

[0061] In a thirteenth aspect, an embodiment of the present application further provides a communication system, which includes a user equipment, a UPF network element, an SMF network element and an application server,

[0062] The SMF network element is used to obtain a flow identifier from a user device or an application server, a first data identifier included in a first data packet of a service flow identified by the flow identifier, a second data identifier included in a second data packet of the service flow identified by the flow identifier, a first service quality QoS requirement parameter corresponding to the first data identifier, and a second QoS requirement parameter corresponding to the second data identifier;

[0063] The SMF network element is further used to generate a processing rule corresponding to the flow identifier according to the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter; the processing rule is used to instruct the UPF network element or the user equipment to perform QoS flow mapping on the data packet of the service flow based on the data identifier; the processing rule includes the first data identifier and the QoS flow corresponding to the first data identifier and the second data identifier and the QoS flow corresponding to the second data identifier;

[0064] The SMF network element is also used to send the processing rules corresponding to the flow identifier to the UPF network element or user equipment.

[0065] The application server is used to send the first data packet and the second data packet to the UPF network element, or the user equipment is used to obtain the first data packet and the second data packet;

[0066] The UPF network element or user equipment is used to perform service quality QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

[0067] It can be understood that the beneficial effects of the embodiments described in the fourth to thirteenth aspects can refer to the beneficial effects of the methods described in the first to third aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 A schematic diagram of a communication system architecture provided in an embodiment of the present application;

[0069] Figure 2 A flowchart of a data processing method provided in an embodiment of the present application;

[0070] Figure 2a This is a schematic diagram of the header data of the RTP packet;

[0071] Figure 2b This is a schematic diagram of the header data of the RTCP packet;

[0072] Figure 3 A flowchart of another data processing method provided in an embodiment of the present application;

[0073] Figure 4 A schematic diagram of another data processing method provided in an embodiment of the present application;

[0074] Figure 5 An interactive flow chart of a data processing method provided in an embodiment of the present application;

[0075] Figure 6 A schematic diagram of the structure of a first device provided in an embodiment of the present application;

[0076] Figure 7 A schematic diagram of the structure of an SMF network element provided in an embodiment of the present application;

[0077] Figure 8 A schematic diagram of the structure of a PCF network element provided in an embodiment of the present application;

[0078] Fig. 9 A schematic diagram of the structure of another first device provided in an embodiment of the present application;

[0079] Fig.10 A schematic diagram of the structure of another SMF network element provided in an embodiment of the present application;

[0080] Fig.11 A schematic diagram of the structure of another PCF network element provided in an embodiment of the present application. DETAILED DESCRIPTION

[0081] The terms "first", "second", "third", "fourth" and the like in the specification, claims and drawings of this application are used to distinguish different objects rather than to describe a specific order.

[0082] "Multiple" means two or more. "And / or" describes the association relationship of the associated objects, indicating that there are three relationships. For example, A and / or B means: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0083] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0084] See also Figure 1 , Figure 1A communication system architecture diagram provided for an embodiment of the present application. The communication system is a network architecture diagram of the fifth generation mobile communication technology (5th Generation Mobile Networks, 5G). It includes a (radio) access network ((radio) access network, (R) AN, which is expressed as two parts: RAN equipment and core network (core network, CN). The RAN equipment is used to provide network access functions for authorized user equipment (User Equipment, UE) in a specific area, and can use transmission tunnels of different qualities according to the level of UE, business requirements, etc. For example, the RAN equipment can manage wireless resources, provide access services for UE, and then complete the forwarding of control information and / or data information between UE and CN.

[0085] To facilitate understanding of the embodiments of the present application, first Figure 1 An application scenario of an embodiment of the present application is described in detail.

[0086] 1. User equipment (UE): can be referred to as terminal equipment, terminal, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication equipment, user agent or user device. The terminal equipment can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a drone, a wearable device, a terminal device in a 5G network or a terminal device in an evolved public land mobile network (PLMN), etc., and the embodiments of the present application are not limited to this.

[0087] 2. Access network (AN): provides network access for authorized users in a specific area, and can use transmission tunnels of different qualities according to the user level, business requirements, etc. The access network can be an access network that uses different access technologies. Current access network technologies include: the wireless access network technology used in the third generation (3rd generation, 3G) system, the wireless access network technology used in the fourth generation (4th generation, 4G) system, or the next generation radio access network (NG-RAN) technology (such as the wireless access technology used in the 5G system, etc.).

[0088] An access network that implements access network functions based on wireless communication technology can be called a radio access network (RAN). The radio access network can manage wireless resources, provide access services to terminals, and then complete the forwarding of control signals and user data between terminals and the core network.

[0089] The wireless access network device may be, for example, a base station (NodeB), an evolved NodeB (eNB or eNodeB), a next generation Node base station (gNB) in a 5G mobile communication system, a base station in a future mobile communication system, or an access point (AP) in a wifi wireless hotspot system, etc. It may also be a wireless controller in a cloud radio access network (CRAN) scenario, or the wireless access network device may be a relay station, an access point, a vehicle-mounted device, a drone, a wearable device, a network device in a 5G network, or a network device in an evolved PLMN, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device.

[0090] 3. Access management network element: mainly used for mobility management and access management, responsible for delivering user policies between user equipment and PCF network elements, etc., and can be used to implement other functions of the mobility management entity (MME) except session management, for example, access authorization (authentication) function.

[0091] In a 5G communication system, the access management network element may be an access and mobility management function (AMF) network element. In future communication systems, the access management network element may still be an AMF network element, or may have other names, which are not limited in this application.

[0092] 4. Session management network element: mainly used for session management, allocation and management of Internet protocol (IP) addresses of user equipment, selection of endpoints of manageable user plane functions, policy control and charging function interfaces, and downlink data communication.

[0093] In a 5G communication system, the session management network element may be an SMF network element. In future communication systems, the session management network element may still be an SMF network element, or may have other names, which are not limited in this application.

[0094] 5. User plane network element: used for packet routing and forwarding, QoS processing of user plane data, completion of user plane data forwarding, session / flow-level billing statistics, bandwidth limitation functions, etc.

[0095] In a 5G communication system, the user plane network element may be a UPF network element. In future communication systems, the user plane network element may still be a UPF network element, or may have other names, which are not limited in this application.

[0096] 6. Data network element: a network used to provide data transmission.

[0097] In a 5G communication system, a data network element may be a data network (DN) element. In future communication systems, a data network element may still be a DN element, or may have other names, which are not limited in this application.

[0098] 7. Policy control network element: A unified policy framework used to guide network behavior and provide policy rule information for control plane functional network elements (such as AMF, SMF network elements, etc.).

[0099] In a 4G communication system, the policy control network element may be a policy and charging rules function (PCRF) network element. In a 5G communication system, the policy control network element may be a PCF network element. In future communication systems, the policy control network element may still be a PCF network element, or may have other names, which are not limited in this application.

[0100] 8. Data management network element: used to process user equipment identification, access authentication, registration and mobility management, etc.

[0101] In a 5G communication system, the data management network element may be a unified data management (UDM) network element; in a 4G communication system, the data management network element may be a home subscriber server (HSS) network element. In future communication systems, the data management network element may still be a UDM network element, or may have other names, which are not limited in this application.

[0102] 9. Network exposure function (NEF) element: used to securely open the services and capabilities provided by the 3rd generation partnership project (3GPP) network function to the outside world.

[0103] 10. Application function (AF) network element: Provides certain application layer services to UE. When providing services to UE, AF has requirements for QoS strategy and charging strategy, and needs to notify the network. At the same time, AF also needs to obtain application-related information fed back by the core network. AF can have all the functions of AF defined in the technical specification (TS) 23.501R-15 version, as well as related functions for application services. That is to say, in the user plane architecture, the application server (AS) and UE communicate in the user plane through the UE-RAN-UPF-AF path. AF can also communicate with other network function (NF) network elements in the 5G core network (5GC) through NEF in the control plane architecture. For example, communicate with PCF network elements through NEF network elements. If AF is deployed by the operator of 5GC, the AF network element can also communicate directly with other NF network elements in 5GC in the control plane architecture without passing through NEF network elements, such as directly communicating with PCF network elements.

[0104] 11. Network data analysis function (NWDAF) network element: It can be used to collect data from network elements, AF and operation administration and maintenance (OAM) management systems, analyze the data through machine learning, artificial intelligence and other solutions, and provide feedback to network elements, AF, etc. for network or service configuration optimization, thereby providing better network quality and service experience.

[0105] 12. Network repository function (NRF) network element: It can be used to provide network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements. NRF network elements also provide network element management services, such as network element registration, update, deregistration, and network element status subscription and push.

[0106] 13. Authentication server function (AUSF) network element: Mainly responsible for authenticating users to determine whether users or devices are allowed to access the network.

[0107] 14. Service communication proxy (SCP) network element: It can be used for direct and indirect communication between NFs. The service request of NF can be proxied by SCP.

[0108] Figure 1 Among them, N1, N2, N3, N4, N6, N9, Nnwdaf, Nnef, Nnrf, Npcf, Nudm, Naf, Nausf, Namf and Nsmf are interface serial numbers. The meanings of these interface serial numbers can be found in the definition of 3GPPTS23.501.

[0109] It should be understood that the above-mentioned network architecture applied to the embodiments of the present application is only an example, and the network architecture applicable to the embodiments of the present application is not limited to this. Any network architecture that can realize the functions of the above-mentioned network elements is applicable to the embodiments of the present application.

[0110] It should also be understood that Figure 1 The AMF network element, SMF network element, UPF network element, NEF network element, PCF network element, UDM network element, NWDAF network element, NRF network element, AUSF network element, SCP network element, etc. shown can be understood as network elements used to implement different functions in the core network, for example, they can be combined into network slices as needed. These core network network elements can be independent devices or integrated into the same device to implement different functions. This application does not limit the specific form of the above network elements.

[0111] It should also be understood that the above naming is only defined for the convenience of distinguishing different functions and should not constitute any limitation to this application. This application does not exclude the possibility of using other naming in 5G networks and other future networks. For example, in 6G networks, some or all of the above networks may continue to use the terminology in 5G, or may use other names, etc. Figure 1The interface name between the network elements is only an example. The interface name in the specific implementation may be other names, and this application does not specifically limit this. In addition, the name of the message (or signaling) transmitted between the above network elements is only an example and does not constitute any limitation on the function of the message itself.

[0112] See also Figure 2 , Figure 2 A flow chart of a data processing method provided in an embodiment of the present application. The method is applied to a first device, the first device is Figure 1 The UPF network element or user equipment in the 5G system is shown. Figure 2 As shown, the method includes:

[0113] S201. A first device obtains a first data packet and a second data packet in a service flow.

[0114] Wherein, the service flow includes one or more data packets. The first data packet and the second data packet are data packets included in the same service flow. The first data packet includes a flow identifier and a first data identifier, and the second data packet includes a flow identifier and a second data identifier. The flow identifier is used to identify the service flow. Optionally, the flow identifier is an IP quintuple, an IP triplet, a ToS in an IPv4 header, or a flow label (flowlabel) in an IPv6 header. The IP quintuple includes a source IP address, a source port, a destination IP address, a destination port, and a transport layer protocol. The IP triplet includes a destination IP address, a destination port number, and a protocol.

[0115] In an example, the data packets of the service flow may be one or more of audio data packets, video data packets, tactile data packets, RTP data packets, RTCP data packets, and the like.

[0116] Optionally, the data identifier is an SSRC identifier, a load type identifier, or a data type identifier used to indicate that the data packet is an RTP stream or an RTCP stream.

[0117] It should be noted that there are two sources of service flows: from the application layer of the user equipment and from the application server. The service flow from the application layer of the user equipment is the uplink service flow, and the service flow from the application server is the downlink service flow.

[0118] S202. The first device performs QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

[0119] The processing rule includes a data identifier of a data packet in a service flow and a QoS flow identifier corresponding to the data identifier.

[0120] The first device performs QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, specifically referring to: adding the identifier of the first QoS flow to the first data packet, and adding the identifier of the second QoS flow to the second data packet; or carrying the first data packet on the first QoS flow for transmission, and carrying the second data packet on the second QoS flow for transmission, wherein the first data identifier corresponds to the identifier of the first QoS flow, and the second data identifier corresponds to the identifier of the second QoS flow.

[0121] In this way, data packets in the service flow can be mapped to corresponding QoS flows based on data identifiers, thereby achieving corresponding QoS processing for the data packets in the service flow.

[0122] It should be understood that the data packets belonging to the same service flow have the same flow identifier, such as the IP five-tuple, IP triplet and other information carried in these data packets are the same. For example, the above-mentioned service flow includes a first data packet and a second data packet, wherein the first data packet includes a flow identifier and a first data identifier, and the second data packet includes a flow identifier and a second data identifier. The first data packet and the second data packet have different QoS requirements, the first data identifier corresponds to the identifier of the first QoS flow, and the second data identifier corresponds to the identifier of the second QoS flow. In other words, the identifier of the first QoS flow is added to the first data packet, and the identifier of the second QoS flow is added to the second data packet, that is, the first data packet is mapped to the first QoS flow, and the second data packet is mapped to the second QoS flow, so as to achieve corresponding QoS processing of the first data packet and the second data packet. Specifically, the identifier of the QoS flow can be added to the user plane general packet radio service tunneling protocol (general packet radio service tunneling protocol-userplane) GTP-U layer or the service data adaptation protocol (service data adaptation protocol, SDAP) layer of the data packet.

[0123] In a possible embodiment, the first device obtains a processing rule corresponding to a flow identifier, the processing rule including a data identifier of each data packet of the service flow and a QoS flow identifier corresponding to each data identifier, and there is one or more data identifiers corresponding to one QoS flow identifier. The processing rule of the service flow is used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier.

[0124] It should be pointed out here that for user equipment, the processing rule is the QoS rule, and for UPF network element, the processing rule is the N4 rule.

[0125] Among them, the first device obtains the processing rules of the service flow specifically based on the flow identifier of the service flow to obtain the processing rules of the service flow, that is, the processing rules of the service flow refer to the processing rules of the service flow for data packets in the service flow to perform data detection and QoS mapping, or the processing rules of the service flow will contain description information of the service flow, such as the flow identifier, which can be an IP triplet, an IP quintuple, the ToS of the IPv4 header, or the flow label (Flowlabel) of the IPv6 header, etc., which can also be understood as a correspondence between the processing rules and the flow identifier. In one example, the processing rules include the flow identifier, and the first device matches the flow identifier of the data packet with the flow identifier in the processing rules, and determines the processing rules of the matching flow identifier as the processing rules of the service flow. In another example, the first device obtains a correspondence table between the processing rules and the flow identifier, and the first device traverses the correspondence table between the processing rules and the flow identifier based on the flow identifier of the data packet to obtain the processing rules corresponding to the flow identifier of the data packet, and determines the processing rules as the processing rules of the above-mentioned service flow.

[0126] In one possible implementation, the processing rule is used to indicate that the data identifier of the data packet is an SSRC identifier or a load type identifier. It should be noted that the data packet included in the service flow is an RTP data packet, and the data identifier of the data packet is in the header of the RTP data packet. The first device distinguishes the data packet by the SSRC identifier or the load type identifier of the data packet, thereby determining the QoS requirement of the data packet.

[0127] In one possible implementation, the processing rule is used to indicate that the data identifier of the data packet is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet. The service flow includes RTCP data packets and RTP data packets. The first device distinguishes whether the data packet is an RTCP data packet or an RTP data packet by the data type identifier of the data packet. In one example, when the data type identifier of the data packet includes a payload type (PT) identifier and an M field, the first device determines that the data packet is an RTP data packet based on the payload type identifier and the M field, wherein the payload type identifier and the M field occupy 8 bits in the header of the RTP data packet, the payload type identifier occupies 7 bits, and the M field occupies 1 bit, such as Figure 2a As shown; the first device determines that the data packet is an RTP data packet based on the value of the 8 bits. When the data type identifier of the data packet only includes the packet type (packettype, PT) identifier, the first device determines that the data packet is an RTCP data packet, wherein the packet type identifier occupies 8 bits in the header of the RTCP data packet, such as Figure 2b As shown, the first device determines that the data packet is an RTCP data packet based on the value of the 8 bits. It should be noted that Figure 2a The PT in is the load type. Figure 2bThe PT in is the data packet type.

[0128] The load type identifier and M field in the RTP data packet are in the same position as the data packet type identifier in the RTCP data packet, both occupy 8 bits, and the first device determines whether the data packet is an RTP data packet or an RTCP data packet based on the value of these 8 bits.

[0129] In one possible implementation, the processing rules are used to:

[0130] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0131] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0132] Or the data identifier of the data packet is an identifier indicating that the data packet is an RTCP data packet.

[0133] This implementation method targets the following scenario: when a service flow includes both RTP data packets and RTCP data packets, and different RTP data packets correspond to different QoS requirements, the first device determines the type of data packets (RTP data packets and RTCP data packets) of the service flow based on the data identifier of the data packets in the service flow, and then maps the RTCP data packets to the corresponding QoS flow, thereby ensuring that the RTCP data packets meet the corresponding QoS requirements; for RTP data packets corresponding to different QoS requirements, the first device further determines the third QoS flow corresponding to the first RTP data packet based on the SSRC identifier or the load type identifier in the data identifier of the RTP data packet, and maps the first RTP data packet to the third QoS flow corresponding to its SSRC identifier or the load type identifier, and the first device further determines the fourth QoS flow corresponding to the second RTP data packet based on the SSRC identifier or the load type identifier carried in the data identifier of the RTP data packet, and maps the second RTP data packet to the fourth QoS flow corresponding to its SSRC identifier or the load type identifier.

[0134] It should be noted that RTP packets corresponding to different QoS requirement parameters means that different RTP packets have different QoS requirements. RTP packets can be packets of the same type, such as all video packets, or RTP packets can be packets of different types. For example, the first RTP packet mentioned above can be a video packet, and the second RTP packet can be an audio packet; or some RTP packets of the same type correspond to different QoS requirements, such as the first RTP data packet is the first video packet, the second RTP packet is the second video packet, the third RTP packet is the audio packet, etc., and the second RTP packet, the second RTP packet and the third RTP packet correspond to different QoS requirements respectively.

[0135] It should be pointed out that, for a data packet of type RTP data packet, its data identification has two forms: one is that the data identification includes a load type identification, an M field and an SSRC identification; wherein, the load type identification and the M field are used to identify the data packet as an RTP data packet, that is, the data packet is determined to be an RTP data packet through the value corresponding to the load type identification and the M field, and the SSRC identification is used to further identify the data packet within the range of the RTP data packet to determine the QoS requirement or QoS flow corresponding to the RTP data packet; the other is that the data identification includes a load type identification and an M field, wherein the load type identification and the M field are used to identify the data packet as an RTP data packet, that is, the data packet is determined to be an RTP data packet through the value corresponding to the load type identification and the M field, and the load type identification is used to further identify the data packet within the range of the RTP data packet to determine the QoS requirement or QoS flow corresponding to the RTP data packet.

[0136] In a possible implementation, the processing rule is generated based on the data identifier and the QoS requirement parameter corresponding to the data identifier, wherein the QoS requirement parameter may be a specific QoS parameter, such as bandwidth, delay, packet loss rate, transmission priority, etc.

[0137] In one possible implementation, the processing rules come from the SMF network element.

[0138] In one example, the SMF network element obtains the flow identifier of a service flow and multiple PCC rules. A PCC rule includes at least one data identifier and corresponding QoS requirement parameters and the flow identifier of the service flow. It should be understood that the QoS requirement parameters corresponding to the data identifier included in a PCC rule are the same. The SMF network element generates a processing rule for the service flow based on the flow identifier of the service flow and multiple PCC rules. Among them, the PCC rule is generated by the PCF network element based on at least one data identifier from a user device or an application server and the QoS requirement parameters corresponding to each data identifier. It should be understood that the flow identifier of the service flow comes from the user device or the application server, and is forwarded to the SMF network element by the PCF network element. The PCC rule will include a flow identifier to clarify that the data packet carrying the data identifier in the current service flow needs to be processed according to the QoS requirement parameters. In another example, the SMF network element obtains at least one data identifier from the user equipment or application function (AF) network element and the QoS requirement parameters corresponding to each data identifier and the flow identifier of the service flow from the PCF network element, and the SMF network element generates a processing rule for the service flow based on the at least one data identifier from the user equipment or application function network element and the QoS requirement parameters corresponding to each data identifier and the flow identifier of the service flow. Optionally, the user equipment directly sends at least one data identifier and the QoS requirement parameters corresponding to each data identifier and the flow identifier of the service flow to the SMF network element. Specifically, the user equipment sends the above information to the AMF network element, which is forwarded to the SMF network element.

[0139] It should be understood that when data packets with the same QoS requirement exist in multiple service flows, one PCC rule includes multiple flow identifiers.

[0140] It should be noted that the user equipment here may refer to a communication module (modem) of the user equipment.

[0141] In a possible implementation manner, when the first device is a user equipment, the method of this embodiment further includes:

[0142] The user equipment sends at least one data identifier, a QoS requirement parameter corresponding to each data identifier in the at least one data identifier, and a flow identifier of the service flow to the PCF network element or the SMF network element.

[0143] Specifically, the application layer of the user equipment sends an AT command to the communication module of the user equipment, and the AT command is used to request QoS differentiated processing of data packets in the service flow, and the AT command includes at least one data identifier, a QoS requirement parameter corresponding to each data identifier in the at least one data identifier, and a flow identifier of the service flow. It should be understood that the data identifier included in the AT command is the data identifier of the data packet in the service flow. When the communication module of the user equipment receives the AT command, the communication module of the user equipment determines whether the communication module of the user equipment supports the ability to perform QoS differentiated processing based on the data identifier of the data packet; if it is determined that the communication module of the user equipment supports the ability to perform QoS differentiated processing based on the data identifier of the data packet, the communication module of the user equipment sends at least one data identifier, the QoS requirement parameter corresponding to each data identifier, and the flow identifier of the service flow to the PCF network element or the SMF network element, and requests the network side to provide corresponding QoS requirements for the service flow data packets corresponding to each data identifier.

[0144] It can be seen that in the scheme of this embodiment, by detecting the data identifier carried in the data packet of the business flow, different data packets in the same business flow are distinguished based on the data identifier, and mapped to QoS flows corresponding to different QoS requirement parameters, thereby achieving corresponding QoS processing of different data packets in the same business flow.

[0145] See also Figure 3 , Figure 3 A flowchart of another data processing method provided in an embodiment of the present application. Figure 1 The method comprises:

[0146] S301, the SMF network element obtains the flow identifier, the first data identifier included in the first data packet of the service flow identified by the flow identifier, the second data identifier included in the second data packet of the service flow identified by the flow identifier, the first service quality QoS requirement parameter corresponding to the first data identifier, and the second QoS requirement parameter corresponding to the second data identifier.

[0147] The QoS requirement parameters may be specific QoS parameters, such as bandwidth, delay, packet loss rate, transmission priority, etc.

[0148] In one example, the SMF network element obtains multiple PCC rules from the PCF network element, each PCC rule includes at least one data identifier, corresponding QoS requirement parameters and flow identifier of the service flow, and it should be understood that the QoS requirement parameters corresponding to the data identifiers included in a PCC rule are the same. Among them, the PCC rule is generated by the PCF network element based on at least one data identifier from the user equipment or application server and the QoS requirement parameters corresponding to each data identifier. It should be understood that the flow identifier of the service flow comes from the user equipment or application server, and is sent by the PCF network element to the SMF network element through the PCC rule.

[0149] In another example, the SMF network element obtains at least one data identifier from the user equipment or the application server and the QoS requirement parameters corresponding to each data identifier and the flow identifier of the service flow from the PCF network element.

[0150] Optionally, the user equipment directly sends at least one data identifier and the QoS requirement parameters corresponding to each data identifier and the flow identifier of the service flow to the SMF network element. In other words, the at least one data identifier and the QoS requirement parameters corresponding to each data identifier and the flow identifier of the service flow obtained by the SMF network element come from the user equipment, passing through the access network device and the AMF network element.

[0151] S302. The SMF network element generates a processing rule corresponding to the flow identifier according to the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter.

[0152] In one feasible implementation, the SMF network element generates a processing rule for the service flow based on the received PCC rule. In another feasible implementation, the SMF network element generates a processing rule corresponding to the flow identifier based on the received flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter. In another feasible implementation, the SMF network element generates a processing rule for the service flow based on at least one pre-configured data identifier and the QoS requirement parameter corresponding to each data identifier and the flow identifier of the service flow.

[0153] The processing rules of the service flow include the data identifier of each data packet in the service flow and the QoS flow identifier corresponding to each data identifier, and there are one or more data identifiers corresponding to one QoS flow identifier. The processing rules of the service flow are used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier, that is, based on the data identifier carried by the data packet in the service flow, add the QoS flow identifier corresponding to the data identifier in the data packet.

[0154] According to the above method, the SMF network element can obtain multiple processing rules, and the multiple processing rules correspond to the business flow.

[0155] In one example, each of the multiple processing rules includes a flow identifier of a corresponding service flow. In another example, the SMF network element generates a correspondence table between processing rules and flow identifiers based on the correspondence between the multiple processing rules and the multiple service flows.

[0156] In one possible implementation, the processing rule is used to indicate that the data identifier of the data packet is an SSRC identifier or a load type identifier. It should be noted that the data packets included in the service flow are RTP data packets, and the data identifier of the data packet is in the header of the RTP data packet. The user equipment or the target UPF network element distinguishes the data packets by the SSRC identifier or the load type identifier of the data packet, thereby determining the QoS requirement of the data packet.

[0157] In a possible implementation, the processing rule is used to indicate that the data identifier of the data packet is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet. The service flow includes RTCP data packets and RTP data packets. The user equipment or the target UPF network element distinguishes whether the data packet is an RTCP data packet or an RTP data packet through the data type identifier of the data packet. In one example, when the data type identifier of the data packet includes a load type identifier and an M field, the user equipment or the target UPF network element determines that the data packet is an RTP data packet based on the load type identifier and the M field, wherein the load type identifier and the M field occupy 8 bits in the header of the RTP data packet, the load type PT identifier occupies 7 bits, and the M field occupies 1 bit; the user equipment or the target UPF network element determines that the data packet is an RTP data packet based on the value corresponding to these 8 bits. When the data type identifier of the data packet only includes the data packet type identifier, the user equipment or the target UPF network element determines that the data packet is an RTCP data packet based on the data packet type identifier, wherein the data packet type identifier occupies 8 bits in the header of the RTCP data packet, and the user equipment or the target UPF network element determines that the data packet is an RTCP data packet based on the value corresponding to these 8 bits. The load type identifier and M field in the RTP data packet are in the same position as the data packet type identifier field in the RTCP data packet. The first device determines whether the data packet is an RTP data packet or an RTCP data packet based on the value of these 8 bits.

[0158] In one possible implementation, the processing rules are used to:

[0159] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0160] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier in the data packet,

[0161] Or the data identifier indicating the data packet is an identifier indicating that the data packet is an RTCP data packet.

[0162] This implementation method targets the following scenario: when a service flow includes both RTP packets and RTCP packets, and there are multiple RTP packets, the user device or the target UPF network element determines the type of data packets (RTP packets and RTCP packets) of the service flow based on the data identifier of the data packets in the service flow, and then maps the RTCP packets to the corresponding QoS flow, thereby ensuring that the RTCP packets meet the corresponding QoS requirements; for multiple RTP packets, the user device or the target UPF network element further determines the QoS flow corresponding to the RTP packet based on the SSRC identifier or load type identifier carried in the RTP packet, and maps the RTP packet to the QoS flow corresponding to its SSRC identifier or load type identifier.

[0163] It should be pointed out that, for a data packet of type RTP data packet, its data identification has two forms: one is that the data identification includes a load type identification, an M field and an SSRC identification; wherein, the load type identification and the M field are used to identify the data packet as an RTP data packet, that is, the data packet is determined to be an RTP data packet through the value corresponding to the load type identification and the M field, and the SSRC identification is used to further identify the data packet within the range of the RTP data packet; the other is that the data identification includes a load type identification and an M field, wherein the load type identification and the M field are used to identify the data packet as an RTP data packet, that is, the data packet is determined to be an RTP data packet through the value corresponding to the load type identification and the M field, and the load type identification is used to further identify the data packet within the range of the RTP data packet.

[0164] S303, the SMF network element sends a processing rule to the target UPF network element or user equipment, and the processing rule is used to perform QoS flow mapping on the data packets of the service flow based on the data identifier of the data packets of the service flow, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

[0165] In one example, the processing rules include the flow identifier of the corresponding service flow, and the SMF network element only needs to send the processing rules to the target UPF network element or user equipment.

[0166] In another example, the processing rules do not include the flow identifier of the corresponding service flow, and the SMF network element also needs to send a correspondence table between the processing rules and the flow identifier to the target UPF network element or user equipment.

[0167] Optionally, there may be multiple UPF network elements in the 5GS network, some of which do not support the ability to perform differentiated QoS processing on data packets based on the data identifier of the data packet, while some support the ability to perform differentiated QoS processing on data packets based on the data identifier of the data packet. The SMF network element obtains the UPF network element that supports the ability to perform differentiated QoS processing on data packets based on the data identifier of the data packet from multiple UPF network elements, and uses the UPF network element as the target UPF network element. Specifically, the ability to support differentiated QoS processing on data packets based on the data identifier of the data packet mainly refers to the ability to identify the data identifier in the data packet and to map the data packet to the corresponding QoS flow according to the data identifier, or simply refers to the ability to identify the data identifier in the data packet. It should be pointed out here that for user equipment, the processing rule is the QoS rule, and for UPF network elements, the processing rule is the N4 rule.

[0168] It can be seen that in the solution of this embodiment, SMF generates processing rules for service flows based on data identifiers and QoS requirements corresponding to the data identifiers, and sends the processing rules for service flows to user equipment or UPF network elements, so that corresponding QoS processing is performed on different data packets in the same service flow based on the data identifiers.

[0169] See also Figure 4 , Figure 4 A flowchart of another data processing method provided in an embodiment of the present application. Figure 1 The method comprises:

[0170] S401. A PCF network element receives an application function AF request sent by an application server. The AF request includes a flow identifier, multiple data identifiers, and a QoS requirement parameter corresponding to each data identifier.

[0171] The AF request is used to request QoS differentiation for data packets in the service flow. The flow identifier is used to indicate the service flow, which can be the description information of the service flow, such as IP triplet, IP quintuple, service type ToS in IPv4 header, and flow label (FlowLabel) in IPv6 header. The QoS requirement parameter can be a specific QoS parameter, such as bandwidth, latency, packet loss rate, transmission priority, etc.

[0172] The PCF network element sends a response message to the application server for the AF request. If the PCF network element supports the ability to perform QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet, the response message is used to indicate that the PCF network element can meet the requirements for performing QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet. If the PCF network element does not support the ability to perform QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet, the above response message carries error indication information, and the error indication information is used to indicate that the PCF network element does not support the ability to perform QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet. Among them, the PCF network element does not support the ability to perform QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet, which means that the network where the PCF network element is located does not support the ability to perform QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet, or the UPF network element or UE in the network where the PCF network element is located does not support the ability to perform QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet. The specific meaning of the ability to support QoS differentiated processing on data packets in the service flow based on the data identifier of the data packet can be referred to the explanation in the previous S302.

[0173] S402: The PCF network element generates multiple PCC rules based on multiple data identifiers and QoS parameters corresponding to each data identifier.

[0174] Each PCC rule includes at least one data identifier and a corresponding QoS requirement parameter that are the same as the corresponding QoS requirement parameter. In addition, the PCC rule also includes a flow identifier. Multiple PCC rules are used to generate processing rules, the processing rules include a flow identifier of a service flow, the processing rules include multiple data identifiers and a QoS flow identifier corresponding to each data identifier; the processing rules are used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier.

[0175] In one possible implementation, the processing rules are used to indicate that the data identifier of the data packet is an SSRC identifier or a load type identifier. It should be noted that the data packets included in the service flow are RTP data packets, and the data identifier of the data packet is in the header of the RTP data packet. The UPF network element or user equipment distinguishes the data packets by the SSRC identifier or load type identifier of the data packet, thereby determining the QoS requirements of the data packets. The processing rules also include the flow identifier of the service flow, that is, the flow description information. The processing rules are used to indicate that the UPF network element or user equipment determines that the RTP data packet is a data packet of the service flow based on the flow identifier / flow description information, and further maps the data packet to the corresponding QoS flow based on the data identifier.

[0176] In a possible implementation, the processing rule is used to indicate that the data identifier of the data packet is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet, and the data type identifier is used to distinguish whether the data packet is an RTP data packet or an RTCP data packet, and specifically may refer to the value or value range corresponding to the 8 bits occupied by the M field of the load type identifier of the RTP data packet header and / or the value or value range corresponding to the 8 bits occupied by the data packet type of the RTCP data packet header. The service flow includes RTCP data packets and RTP data packets. The UPF network element or user equipment distinguishes whether the data packet is an RTCP data packet or an RTP data packet by the data type identifier of the data packet, that is, by the value corresponding to the 8 bits occupied by the M field of the load type identifier of the RTP data packet header in the data packet or the value corresponding to the 8 bits occupied by the data packet type identifier of the RTCP data packet header, it is determined that the data packet is an RTP data packet or an RTCP data packet. In an example, if the data type identifier is used to indicate that the data packet is an RTP data packet or an RTCP data packet, when the value of the 8 bits corresponding to the data type identifier is a preset value or within a preset range, it indicates that the data packet carrying the 8 bits is an RTP data packet, otherwise it is an RTCP data packet. When the 8-bit value corresponding to the data type identifier of the data packet represents the load type identifier and the M field, the UPF network element or user equipment determines that the data packet is an RTP data packet, wherein the load type identifier and the M field occupy 8 bits in the header of the RTP data packet, the load type identifier occupies 7 bits, and the M field occupies 1 bit. When the 8-bit value corresponding to the data type identifier of the data packet represents the data packet type identifier, the UPF network element or user equipment determines that the data packet is an RTCP data packet, wherein the data packet PT identifier occupies 8 bits in the header of the RTCP data packet.

[0177] In one possible implementation, the processing rules are used to:

[0178] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0179] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0180] Or the data identifier of the data packet is an identifier indicating that the data packet is an RTCP data packet.

[0181] This implementation method targets the following scenario: when a service flow includes both RTP packets and RTCP packets, and there are multiple RTP packets, the user device or UPF network element determines the type of data packets (RTP packets and RTCP packets) of the service flow based on the data identifier of the data packets in the service flow, and then maps the RTCP packets to the corresponding QoS flow, thereby ensuring that the RTCP packets meet the corresponding QoS requirements; for multiple RTP packets, the user device or the target UPF network element further determines the QoS flow corresponding to the RTP packet based on the SSRC identifier or load type identifier carried in the RTP packet, and maps the RTP packet to the QoS flow corresponding to its SSRC identifier or load type identifier.

[0182] It should be pointed out that, for a data packet of type RTP data packet, its data identification has two forms: one is that the data identification includes a load type identification, an M field and an SSRC identification; wherein, the load type identification and the M field are used to identify the data packet as an RTP data packet, that is, the data packet is determined to be an RTP data packet through the value corresponding to the load type identification and the M field, and the SSRC identification is used to further identify the data packet within the range of the RTP data packet; the other is that the data identification includes a load type identification and an M field, wherein the load type identification and the M field are used to identify the data packet as an RTP data packet, that is, the data packet is determined to be an RTP data packet through the value corresponding to the load type identification and the M field, and the load type identification is used to further identify the data packet within the range of the RTP data packet.

[0183] When the PCF network element obtains multiple PCC rules, it sends multiple PCC rules to the SMF network element, so that the SMF network element generates a processing rule for the service flow based on the multiple PCC rules and the flow identifier of the service flow. It should be pointed out here that for the user equipment, the processing rule is the QoS rule; for the UPF network element, the processing rule is the N4 rule, which specifically includes the packet detection rule PDR (Packet Detection Rule) and the QoS enforcement rule (QoS enforcement rule, QER).

[0184] It should be understood that S402 is performed when the PCF network element supports the capability of performing QoS differentiated processing on data packets in the service flow based on the data identification of the data packets.

[0185] It can be seen that in the scheme of this embodiment, the PCF network element generates multiple PCC rules based on multiple data identifiers and the QoS requirement parameters corresponding to each data identifier, and sends the multiple PCC rules to the SMF network element, so that the SMF network element generates service flow processing rules based on the multiple PCC rules, and sends the service flow processing rules to the user equipment or UPF network element, and performs corresponding QoS processing on different data packets in the same service flow based on the data identifier.

[0186] It should be understood that the flow identifier in the present application has two meanings. One is to distinguish business flows, and the other is to determine whether the data packets in the business flows are subjected to corresponding QoS processing. For example, the data packets carry flow identifiers and data identifiers. After the communication module of the UPF network element or the user equipment obtains the data packet, it determines whether the data packet belongs to a business flow for which corresponding QoS processing is performed based on the flow identifier in the data packet; if it does, the communication module of the UPF network element or the user equipment performs corresponding QoS processing on the data packet based on the data identifier in the data packet.

[0187] See also Figure 5 , Figure 5 An interactive flow chart of a data processing method provided in an embodiment of the present application. The method is applied to Figure 1 The system shown. Figure 5 As shown, the method includes:

[0188] S501. The application function network element sends an AF request to the PCF network element.

[0189] The AF request is used to perform differentiated QoS processing on data packets in the same service flow. The AF request includes a flow identifier, at least one data identifier, and the QoS requirement parameters corresponding to each data identifier. The flow identifier is used to indicate the service flow, that is, the flow description information, which can be an IP triplet, an IP quintuple, the ToS of the IPv4 header, or the flow label of the IPv6 header.

[0190] In an example, the AF request includes a flow identifier, multiple groups of data identifiers, and QoS requirement parameters corresponding to each group of data identifiers, and each group of data identifiers includes one or more data identifiers.

[0191] In an example, the AF request includes a flow identifier, multiple data identifiers, and a QoS requirement parameter corresponding to each data identifier.

[0192] It should be understood that the data identifier carried in the AF request and the QoS requirement parameter corresponding to the data identifier implicitly instruct the PCF network element to perform corresponding QoS processing on the data packets in the service flow based on the data identifier.

[0193] Optionally, the AF request also includes indication information, which is used to instruct the PCF network element to perform corresponding QoS processing on the data packets in the service flow based on the data identifier, or to instruct the 5GS to perform corresponding QoS processing on the data packets in the service flow based on the data identifier.

[0194] Specifically, the application function network element can be an AF network element in an application server, that is, the application function network element can be a part of the function or a part of the application server, or a functional network element outside the application server, which is not limited here. When the AF network element is in a trusted domain, the AF network element directly sends an AF request to the PCF network element by calling the service interface of the PCF network element. In one example, the service interface of the PCF network element is the Npcf_PolicyAuthorization service interface. When the AF network element is located in a non-trusted domain, the AF network element needs to send an AF request to the PCF network element through the NEF network element. The AF network element calls the service interface of the NEF network element to send an AF request to the NEF network element. In one example, the service interface of the NEF network element is the Nnef_AFSessionWithQoS service interface. The NEF network element calls the service interface of the PCF network element to send an AF request to the PCF network element.

[0195] S502. The PCF network element sends a first response message to the application function network element.

[0196] The first response message is used to respond to the first request.

[0197] When the PCF network element or NEF network element determines, based on its own configuration or perception of 5GS capabilities, that the current 5GS network does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identifiers, or that the current 5GS network cannot distinguish different QoS requirements of different data packets in the same service flow based on data identifiers, the first response message carries error indication information, which is used to indicate that the current 5GS network does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identifiers, or that the current 5GS network cannot distinguish different QoS requirements of different data packets in the same service flow based on data identifiers. Specifically, the ability to support differentiated QoS processing of data packets based on data identifiers of data packets mainly refers to the ability to identify data identifiers in data packets and map data packets to corresponding QoS flows based on data identifiers, or simply refers to the ability to identify data identifiers in data packets. When the PCF network element or NEF network element determines, based on its own configuration or perception of 5GS capabilities, that the current 5GS network supports the ability to perform differentiated QoS processing on data packets in the same service flow based on data identifiers, or that the current 5GS network can distinguish different QoS requirements of different data packets in the same service flow based on data identifiers, the first response message is used to indicate that differentiated QoS processing can be performed on data packets in the same service flow.

[0198] Optionally, the current 5GS network here includes at least PCF network elements, SMF network elements, UPF network elements, NEF network elements, RAN equipment, and user equipment. The current 5GS network does not support the ability to perform QoS differentiated processing on data packets in the same service flow based on data identification, which means that at least one of the application server, PCF network element, SMF network element, UPF network element, NEF network element, and RAN equipment does not support the ability to perform QoS differentiated processing on data packets in the same service flow based on data identification. The current 5GS network supports the ability to perform QoS differentiated processing on data packets in the same service flow based on data identification, which means that the application server, PCF network element, SMF network element, UPF network element, NEF network element, and RAN equipment all support the ability to perform QoS differentiated processing on data packets in the same service flow based on data identification.

[0199] In one example, the error indication information is a reason value.

[0200] S503: The application function network element performs processing based on the first response message.

[0201] This step is optional.

[0202] Specifically, when the first response message carries error indication information, the application server determines that the current 5GS does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identification or the current 5GS network cannot distinguish different QoS requirements of different data packets in the same service flow based on data identification, and the application server will not multiplex data packets with different QoS requirements into the same service flow. For example, when it is necessary to implement differentiated QoS processing on data packets with different QoS requirements, and the ability to perform differentiated QoS processing on data packets in the same service flow based on data identification is not supported or the current 5GS network cannot distinguish different QoS requirements of different data packets in the same service flow based on data identification, the application server puts the data packets with the same QoS requirement into the same service flow for transmission.

[0203] S504: The application layer of the user equipment sends an AT command to the communication module of the user equipment.

[0204] It should be noted that the function and information carried by the AT command can be found in the relevant description of the AF request in S501, which will not be described here. The application layer of the user equipment is the operating system, applications, etc. of the user equipment.

[0205] S505. The communication module of the user equipment sends a second response message to the application layer.

[0206] The second response message is used to respond to the AT command.

[0207] When the communication module of the user equipment determines that the current 5GS network does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identification or the current 5GS network cannot distinguish the different QoS requirements of different data packets in the same service flow based on data identification, the second response message carries error indication information, which is used to indicate that the current 5GS network does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identification or the current 5GS network cannot distinguish the different QoS requirements of different data packets in the same service flow based on data identification.

[0208] When the communication module of the user equipment determines that the current 5GS network supports the ability to perform differentiated QoS processing on data packets in the same service flow based on data identifiers, or the current 5GS network cannot distinguish the different QoS requirements of different data packets in the same service flow based on data identifiers, the second response message is used to indicate that differentiated QoS processing can be performed on data packets in the same service flow.

[0209] S506: The application layer of the user equipment performs processing based on the second response message.

[0210] This step is optional.

[0211] Specifically, when the second response message includes error indication information, the application layer of the user device determines that the current 5GS network does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identifiers or the current 5GS network cannot distinguish different QoS requirements of different data packets in the same service flow based on data identifiers, the application layer of the user device will not multiplex data packets with different QoS requirements into the same service flow.

[0212] Here, the current 5GS network does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identification, or the current 5GS network cannot distinguish different QoS requirements of different data packets in the same service flow based on data identification, which means that the modem of the user equipment does not support the ability to perform differentiated QoS processing on data packets in the same service flow based on data identification, or cannot distinguish different data packets in the same service flow based on data identification.

[0213] S507. The user equipment sends a first request to the AMF network element.

[0214] This step is optional.

[0215] Specifically, the user equipment sends a first request to the AMF network element. The first request is used to request the creation or modification of a packet data unit (PDU) session between the user equipment and the AMF network element. The first request carries flow description information, and the flow description information includes a flow identifier, at least one data identifier, and a QoS requirement parameter corresponding to each data identifier.

[0216] It should be noted here that S507 is executed when the second response message does not carry error indication information.

[0217] Specifically, the user equipment sends a first request to the AMF network element through the access network device.

[0218] S508. The AMF network element sends a second request to the SMF network element.

[0219] The second request is used to request the creation or modification of a PDU session between an SMF network element and an AMF network element. The second request carries a flow identifier, at least one data identifier, and a QoS requirement parameter corresponding to each data identifier.

[0220] S509: The PCF network element generates a PCC rule.

[0221] Specifically, the PCF network element generates at least one PCC rule based on at least one data identifier from the application server or user equipment and the QoS requirement parameters corresponding to each data identifier. Among them, a PCC rule includes at least one data identifier corresponding to the same QoS requirement parameter and the corresponding QoS requirement parameter. Specifically, the PCC rule also includes the flow identifier corresponding to the service flow. The PCF network element sends the PCC rule to the SMF network element.

[0222] It should be understood that if the data identification information and the QoS requirement parameters corresponding to the data identification come from the user equipment, S509 is executed after S510; if the data identification and the QoS requirement parameters corresponding to the data identification come from the application function network element, S509 is executed before S510. The data identification and the QoS requirement parameters corresponding to the data identification come from the user equipment. For the PCF network element, the SMF network element obtains the flow identification, at least one data identification and the QoS requirement parameters corresponding to each data identification from the user equipment, and then sends the flow identification, at least one data identification and the QoS requirement parameters corresponding to each data identification to the PCF network element. In an example, the SMF network element sends a third request to the PCF network element, and the third request is used to request to create or modify an SM policy association. The third request carries the flow identification, at least one data identification and the QoS requirement parameters corresponding to each data identification.

[0223] S510. The SMF network element performs processing based on the PCC rule.

[0224] Specifically, the SMF network element generates QoS rules, QoS profiles (QoSProfile) and N4 rules based on the PCC rules, and sends the QoS rules, QoS profiles and N4 rules to the user equipment, RAN equipment and UPF network elements respectively.

[0225] It should be noted that the detailed description of QoS rules, QoS profiles and N4 rules can be found in Figure 2-4 The relevant description of the processing rules in the corresponding embodiments will not be repeated here.

[0226] Optionally, there may be multiple UPF network elements in the 5GS network, some of which do not support the ability to perform QoS differentiated processing on data packets based on the data identification of the data packets, while some of which support the ability to perform QoS differentiated processing on data packets based on the data identification of the data packets. The UPF network element in the N4 rule sent by the SMF network element to the UPF network element is the UPF network element that the SMF network element obtains from multiple UPF network elements that supports the ability to perform QoS differentiated processing on data packets based on the data identification of the data packets.

[0227] S511. The SMF network element binds the PCC rules to different QoS flows.

[0228] It should be understood that there are multiple PCC rules, and different PCC rules correspond to different QoS requirements. The SMF network element binds different PCC rules to different QoS flows according to information such as QoS requirements, so that data packets can be subsequently mapped to different QoS flows based on data identifiers.

[0229] S512. The SMF network element sends a fourth request to the UPF network element.

[0230] Among them, the fourth request is used to request the creation of an N4 session between the SMF network element and the UPF network element. The fourth request carries the N4 rule. The N4 rule includes a flow identifier, a data identifier, and a QoS flow identifier corresponding to the data identifier, which is used by the UPF network element to perform corresponding data packet detection and QoS flow mapping based on the data identifier of the downlink data packet.

[0231] S513. The SMF network element sends a third response message to the user equipment.

[0232] The third response message is used to respond to the first request. The third response message is a PDU session creation or modification acceptance message. The third response message carries a QoS rule. Optionally, the QoS rule includes a data identifier and a QoS flow identifier corresponding to the data identifier, which is used by the user equipment to map the uplink data packet to the corresponding QoS flow.

[0233] S514, user equipment, RAN equipment, AMF network element, SMF network element, UPF network element and PCF network element complete the remaining PDU session creation or modification process.

[0234] It should be pointed out here that the specific process of user equipment, RAN equipment, AMF network element, SMF network element, UPF network element and PCF network element completing the remaining PDU session creation or modification process can be referred to Chapter 4.3.2.1 of TS23.502 and will not be described here.

[0235] S515. The UPF network element receives the downlink data packet sent by the application server and processes it.

[0236] This step is optional and is for downlink service scenarios.

[0237] Specifically, the UPF network element receives at least one downlink data packet of the same service flow sent by the application server, and detects and obtains the flow identifier and data identifier of each downlink data packet; the UPF network element maps the downlink data packet carrying the data identifier in the service flow to the corresponding QoS flow based on the flow identifier and the data identifier, that is, adds the QoS flow identifier corresponding to the data identifier to the corresponding downlink data packet.

[0238] The downlink data packet may be transmitted via RTP, and the data identifier of the downlink data stream is carried in the message header of the RTP message. Alternatively, the downlink data packet may be transmitted via RTCP, and the data identifier of the downlink data packet is carried in the message header of the RTCP message.

[0239] S516: The user equipment processes the uplink data packet.

[0240] This step is optional and is for downlink service scenarios.

[0241] Specifically, the uplink data packet here refers to the data packet sent by the application layer of the user equipment to the communication module. The communication module of the user equipment receives at least one uplink data packet of the same service flow sent by the application layer of the user equipment, and detects and obtains the flow identifier and data identifier of each uplink data packet; based on the flow identifier and the data identifier, the UE maps the uplink data packet carrying the data identifier in the service flow to the corresponding QoS flow, that is, adds the QoS flow identifier corresponding to the data identifier to the corresponding uplink data packet.

[0242] S517: The RAN device performs corresponding QoS processing on different QoS flows.

[0243] Among them, the RAN device receives different QoS flows sent by the UPF device or the user equipment. Different QoS flows correspond to different QoS requirements. The RAN device performs corresponding QoS processing on different QoS flows.

[0244] It can be seen that in the solution of this embodiment, the UPF network element or user equipment can achieve more fine-grained QoS demand detection of data packets through data identification in the mixed media service transmission scenario, or when RTP data packets and RTCP data packets are multiplexed in the same service flow, and map the data packets to the corresponding QoS flow based on the data identification for corresponding QoS processing. When RTP data packets and RTCP data packets are multiplexed in the same service flow, the service transmission quality is improved because the RTP data packets and RTCP data packets can be identified and mapped to the corresponding QoS flow.

[0245] Reference Figure 6 FIG. 6 is a schematic diagram of the structure of a first device provided in an embodiment of the present application. The first device 600 is Figure 1 UPF network element or user equipment in. Figure 6 As shown, the first device 600 includes:

[0246] An acquiring unit 601 is configured to acquire a first data packet and a second data packet in a service flow, wherein the first data packet includes a flow identifier and a first data identifier of the service flow, and the second data packet includes a flow identifier and a second data identifier of the service flow;

[0247] The processing unit 602 is used to perform QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

[0248] In a possible implementation, the processing unit 602 is specifically configured to:

[0249] An identifier of a first QoS flow is added to a first data packet, and an identifier of a second QoS flow is added to a second data packet, wherein the first data identifier corresponds to the identifier of the first QoS flow, and the second data identifier corresponds to the identifier of the second QoS flow.

[0250] In a possible implementation, the acquiring unit 601 is further configured to:

[0251] Obtain processing rules for the service flow, which include a data identifier for each data packet in the service flow and a QoS flow identifier corresponding to the data identifier of each data packet; the processing rules for the service flow are used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier.

[0252] It should be understood that one QoS flow identifier corresponds to one or more data identifiers.

[0253] In a possible implementation, the processing rule is used to indicate that the data identifier is an SSRC identifier or a payload type identifier.

[0254] In a possible implementation, the processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet.

[0255] In one possible implementation, the processing rules are used to:

[0256] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0257] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0258] Or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTCP data packet.

[0259] In a possible implementation, the processing rule is generated based on the data identifier and the QoS requirement parameter corresponding to the data identifier.

[0260] In a possible implementation manner, the first device is a UPF network element or a user equipment. When the first device is a user equipment, the first device further includes:

[0261] The sending unit 603 is used to send the data identifier and the QoS requirement parameter corresponding to the data identifier to the SMF network element or the PCF network element.

[0262] It is worth noting that the specific functional implementation of the first device 600 is shown in Figure 2 The specific description of the illustrated embodiment, for example, the acquisition unit 601 is used to execute the relevant content of S201, and the processing unit 602 and the sending unit 603 are used to execute the relevant content of S202. Each unit or module in the first device 600 can be separately or completely combined into one or several other units or modules to constitute, or one (some) of the units or modules can be further divided into multiple functionally smaller units or modules to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units or modules are divided based on logical functions. In practical applications, the functions of one unit (or module) are implemented by multiple units (or modules), or the functions of multiple units (or modules) are implemented by one unit (or module).

[0263] Reference Figure 7 FIG. 7 is a schematic diagram of the structure of an SMF network element provided in an embodiment of the present application. The SMF network element 700 is Figure 1 The SMF network element 700 includes:

[0264] An acquisition unit 701 is configured to acquire a flow identifier, a first data identifier included in a first data packet of a service flow identified by the flow identifier, a second data identifier included in a second data packet of the service flow identified by the flow identifier, a first QoS requirement parameter corresponding to the first data identifier, and a QoS requirement parameter corresponding to the second data identifier;

[0265] A generating unit 702, configured to generate a processing rule corresponding to the flow identifier based on the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter;

[0266] The sending unit 703 is used to send a processing rule corresponding to the flow identifier to the target UPF network element or user equipment, where the processing rule includes a first data identifier and a QoS flow identifier corresponding to the first data identifier, a second data identifier and a QoS flow identifier corresponding to the second data identifier. The processing rule is used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier of the data packets of the service flow, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

[0267] Among them, the target UPF network element is the UPF network element selected by the SMF network element 700 that supports the capability of QoS differentiated processing based on data identification.

[0268] In a possible implementation, the processing rule is used to indicate that the data identifier is an SSRC identifier or a payload type identifier.

[0269] In a possible implementation, the processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet.

[0270] In one possible implementation, the processing rules are used to:

[0271] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0272] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0273] Or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTCP data packet.

[0274] In a possible implementation, in terms of obtaining multiple data identifiers and the QoS requirement parameter corresponding to each data identifier, the obtaining unit 701 is specifically used to:

[0275] A plurality of PCC rules are obtained, each PCC rule including at least one data identifier and a corresponding QoS requirement parameter having the same corresponding QoS requirement parameter.

[0276] It is worth noting that the specific functional implementation of the SMF network element 700 is shown in the above Figure 3 The specific description of the illustrated embodiment, for example, the acquisition unit 701 is used to execute the relevant content of S301, and the generation unit 702 is used to execute the relevant content of S302. The sending unit 703 is used to execute the relevant content of S303. The various units or modules in the SMF network element 700 can be respectively or completely combined into one or several other units or modules to form, or one (some) of the units or modules can be further divided into multiple functionally smaller units or modules to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units or modules are divided based on logical functions. In actual applications, the functions of one unit (or module) are implemented by multiple units (or modules), or the functions of multiple units (or modules) are implemented by one unit (or module).

[0277] Reference Figure 8FIG. 8 is a schematic diagram of the structure of a PCF network element provided in an embodiment of the present application. The PCF network element 800 is Figure 1 The PCF network element 800 includes:

[0278] The receiving unit 801 is used to receive an application function AF request sent by an application server, where the AF request includes a flow identifier, multiple data identifiers and a QoS requirement parameter corresponding to each data identifier;

[0279] The generation unit 802 is used to generate multiple PCC rules based on multiple data identifiers and the QoS requirement parameters corresponding to each data identifier, each PCC rule includes at least one data identifier and the corresponding QoS requirement parameters that are the same as the corresponding QoS requirement parameters; the flow identifier and multiple PCC rules are used to generate processing rules, the processing rules correspond to the service flow indicated by the flow identifier, and the processing rules include multiple data identifiers and the QoS flow identifier corresponding to each data identifier; the processing rules are used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier.

[0280] In a possible implementation, the processing rule is used to indicate that the data identifier is an SSRC identifier or a payload type identifier.

[0281] In a possible implementation, the processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is an RTP data packet or an RTCP data packet.

[0282] In one possible implementation, the processing rules are used to:

[0283] The data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier of the data packet.

[0284] or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet,

[0285] Or the data identifier indicating the data packet includes an identifier indicating that the data packet is an RTCP data packet.

[0286] It is worth noting that the specific functional implementation of the PCF network element 800 is shown in the above Figure 4The specific description of the embodiment shown, for example, the receiving unit 801 is used to execute the relevant content of S401, and the generating unit 802 is used to execute the relevant content of S402. The various units or modules in the PCF network element 800 can be separately or completely combined into one or several other units or modules to form, or one (some) of the units or modules can be further divided into multiple functionally smaller units or modules to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units or modules are divided based on logical functions. In actual applications, the functions of one unit (or module) are implemented by multiple units (or modules), or the functions of multiple units (or modules) are implemented by one unit (or module).

[0287] Based on the description of the above method embodiments and related device embodiments, please refer to Fig. 9 , an embodiment of the present invention also provides a structural schematic diagram of a first device 900. Fig. 9 The first device 900 shown includes a memory 901 , a processor 902 , a communication interface 903 and a bus 904 . The memory 901 , the processor 902 , and the communication interface 903 are connected to each other through the bus 904 .

[0288] Optionally, the memory 901 is a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM).

[0289] The memory 901 can store programs. When the program stored in the memory 901 is executed by the processor 902, the processor 902 and the communication interface 903 are used to execute Figure 2 The various steps of the data processing method of the illustrated embodiment.

[0290] The processor 902 uses a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits to execute relevant programs to implement the functions required to be executed by the units in the first device 600 of the embodiment of the present application, or to execute the present application. Figure 2 The data processing method of the illustrated embodiment.

[0291] The processor 902 can also be an integrated circuit chip with signal processing capabilities. Figure 2Each step of the data processing method shown can be completed by an integrated logic circuit of hardware or software instructions in the processor 902. Optionally, the processor 902 is a general-purpose processor, a digital signal processor (Digital Signal Processing, DSP), an ASIC, a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The processor 902 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor is a microprocessor or the processor is any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor to be executed. Optionally, the software module is located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 901, and the processor 902 reads the information in the memory 901, and combines its hardware to complete the functions required to be performed by the units included in the first device 600 of the embodiment of the present application, or executes Figure 2 The data processing method of the illustrated embodiment.

[0292] The communication interface 903 uses a transceiver such as, but not limited to, a transceiver to implement communication between the first device 900 and other devices (such as Figure 1 Communication between the RAN or SMF network elements shown in the figure) or communication networks.

[0293] The bus 904 may include a path for transmitting information between various components of the first device 900 (eg, the memory 901 , the processor 902 , and the communication interface 903 ).

[0294] It should be noted that although Fig. 9 The first device 900 shown only shows a memory, a processor, and a communication interface, but in the specific implementation process, those skilled in the art should understand that the first device 900 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the first device 900 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the first device 900 may also include only the devices necessary for implementing the embodiments of the present application, and does not necessarily include Fig. 9 All devices shown in .

[0295] Based on the description of the above method embodiments and related device embodiments, please refer to Fig.10 , an embodiment of the present invention also provides a structural diagram of an SMF network element 1000. Fig.10 The SMF network element 1000 shown includes a memory 1001, a processor 1002, a communication interface 1003 and a bus 1004. The memory 1001, the processor 1002 and the communication interface 1003 are connected to each other through the bus 1004.

[0296] Optionally, the memory 1001 is a ROM, a static storage device, a dynamic storage device or a RAM.

[0297] The memory 1001 can store programs. When the program stored in the memory 1001 is executed by the processor 1002, the processor 1002 and the communication interface 1003 are used to execute Figure 3 The various steps of the data processing method of the illustrated embodiment.

[0298] The processor 1002 uses a general-purpose CPU, microprocessor, ASIC, GPU or one or more integrated circuits to execute relevant programs to implement the functions required to be performed by the units in the SMF network element 700 of the embodiment of the present application, or to execute the present application. Figure 3 The data processing method of the illustrated embodiment.

[0299] The processor 1002 can also be an integrated circuit chip with signal processing capabilities. Figure 3 Each step of the data processing method shown can be completed by an integrated logic circuit of hardware in the processor 1002 or an instruction in software form. Optionally, the processor 1002 is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The processor 1002 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor is a microprocessor or the processor is any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Optionally, the software module is located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 1001, and the processor 1002 reads the information in the memory 1001, and combines its hardware to complete the functions required to be performed by the units included in the SMF network element 700 of the embodiment of the present application, or executes Figure 3 The data processing method of the illustrated embodiment.

[0300] The communication interface 1003 uses a transceiver device such as but not limited to a transceiver to implement communication between the SMF network element 1000 and other devices (such as UPF network elements and PCF network elements) or communication networks.

[0301] The bus 1004 may include a path for transmitting information between the various components of the SMF network element 1000 (eg, the memory 1001, the processor 1002, the communication interface 1003).

[0302] It should be noted that although Fig.10 The SMF network element 1000 shown only shows a memory, a processor, and a communication interface, but in the specific implementation process, those skilled in the art should understand that the SMF network element 1000 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the SMF network element 1000 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the SMF network element 1000 may also only include the devices necessary to implement the embodiments of the present application, and does not necessarily include Fig.10 All devices shown in .

[0303] Based on the description of the above method embodiments and related device embodiments, please refer to Fig.11 , an embodiment of the present invention also provides a structural diagram of a PCF network element 1100. Fig.11 The PCF network element 1100 shown includes a memory 1101, a processor 1102, a communication interface 1103 and a bus 1104. The memory 1101, the processor 1102 and the communication interface 1103 are connected to each other through the bus 1104.

[0304] Optionally, the memory 1101 is a ROM, a static storage device, a dynamic storage device or a RAM.

[0305] The memory 1101 can store programs. When the program stored in the memory 1101 is executed by the processor 1102, the processor 1102 and the communication interface 1103 are used to execute Figure 4 The various steps of the data processing method of the illustrated embodiment.

[0306] The processor 1102 uses a general-purpose CPU, microprocessor, ASIC, GPU or one or more integrated circuits to execute relevant programs to implement the functions required to be performed by the units in the PCF network element 800 of the embodiment of the present application, or to execute the present application. Figure 4 The data processing method of the illustrated embodiment.

[0307] The processor 1102 can also be an integrated circuit chip with signal processing capabilities. Figure 4Each step of the data processing method shown can be completed by an integrated logic circuit of hardware in the processor 1102 or an instruction in software form. Optionally, the processor 1102 is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The processor 1102 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor is a microprocessor or the processor is any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Optionally, the software module is located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 1101, and the processor 1102 reads the information in the memory 1101, and combines its hardware to complete the functions required to be performed by the units included in the PCF network element 800 of the embodiment of the present application, or executes Figure 4 The data processing method of the illustrated embodiment.

[0308] The communication interface 1103 uses a transceiver device such as but not limited to a transceiver to implement communication between the PCF network element 1100 and other devices (such as PCF network elements, application servers) or communication networks.

[0309] The bus 1104 may include a path for transmitting information between various components of the PCF network element 1100 (eg, the memory 1101 , the processor 1102 , and the communication interface 1103 ).

[0310] It should be noted that although Fig.11 The PCF network element 1100 shown only shows a memory, a processor, and a communication interface. However, in the specific implementation process, those skilled in the art should understand that the PCF network element 1100 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the PCF network element 1100 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the PCF network element 1100 may also only include the devices necessary for implementing the embodiments of the present application, and does not necessarily include Fig.11 All devices shown in .

[0311] An embodiment of the present application further provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to implement the data processing method of the embodiment of the present application.

[0312] Optionally, as an implementation, the chip also includes a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the data processing method.

[0313] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0314] The embodiment of the present application further provides a computer program product including instructions. When the computer program product is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0315] Those skilled in the art will appreciate that the functions described in conjunction with the various illustrative logic blocks, modules, and algorithm steps disclosed herein can be implemented by hardware, software, firmware, or any combination thereof. If implemented in software, the functions described by the various illustrative logic blocks, modules, and steps may be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to tangible media, such as data storage media, or includes any communication media that facilitates the transfer of computer programs from one place to another (e.g., based on a communication protocol). In this manner, computer-readable media may generally correspond to (1) non-temporary tangible computer-readable storage media, or (2) communication media, such as signals or carrier waves. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in this application. A computer program product may include computer-readable media.

[0316] As an example and not limitation, such computer-readable storage media include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, or any other media that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. Also, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio and microwaves, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio and microwaves are included in the definition of media. However, it should be understood that the computer-readable storage media and data storage media do not include connections, carriers, signals or other temporary media, but are actually directed to non-temporary tangible storage media. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD) and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0317] Instructions may be executed by one or more processors, such as one or more DSPs, general purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuits. Thus, the term "processor" as used herein may refer to any of the aforementioned structures or any other structures suitable for implementing the techniques described herein. Additionally, in some aspects, the functions described by the various illustrative logic blocks, modules, and steps described herein are provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated in a combined codec. Moreover, the techniques may be fully implemented in one or more circuits or logic elements.

[0318] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the division of the unit is only a logical function division, and there are other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Optionally, the mutual coupling, direct coupling, or communication connection shown or discussed is an indirect coupling or communication connection through some interfaces, devices or units, such as electrical, mechanical or other forms.

[0319] Optionally, the units described as separate components are or are not physically separated, and the components shown as units are or are not physical units, i.e. located in one place, or distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0320] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part.

[0321] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

Claims

1. A data processing method, characterized in that: Applied to a first device, the method includes: Acquire a first data packet and a second data packet in a service flow, wherein the first data packet includes a first data identifier and a flow identifier of the service flow, and the second data packet includes a second data identifier and a flow identifier of the service flow; Based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, the first data packet and the second data packet are mapped to a service quality QoS flow, so as to map the first data packet to a first QoS flow bearer and map the second data packet to a second QoS flow bearer.

2. The method according to claim 1, characterized in that The performing QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and a processing rule corresponding to the flow identifier includes: Add the identifier of the first QoS flow to the first data packet, and add the identifier of the second QoS flow to the second data packet, wherein the first data identifier corresponds to the identifier of the first QoS flow, and the second data identifier corresponds to the identifier of the second QoS flow.

3. The method according to claim 1 or 2, characterized in that: The method comprises: Obtain a processing rule corresponding to the flow identifier, wherein the processing rule includes a data identifier of each data packet of the service flow and a QoS flow identifier corresponding to the data identifier of each data packet; the processing rule is used to instruct the first device to perform QoS flow mapping on the data packets of the service flow based on the data identifier.

4. The method according to any one of claims 1 to 3, characterized in that: The processing rule is used to indicate that the data identifier is a synchronization source SSRC identifier or a load type identifier.

5. The method according to any one of claims 1 to 3, characterized in that: The processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is a real-time transport protocol RTP data packet or a real-time transport control protocol RTCP data packet.

6. The method according to any one of claims 1 to 3, characterized in that: The processing rules are used to: Indicating that the data identifier includes an identifier indicating that the data packet is an RTP data packet and an SSRC identifier including the data packet, or indicating that the data identifier includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet, Or the data identifier is an identifier indicating that the data packet is an RTCP data packet.

7. The method according to any one of claims 1 to 6, characterized in that: The processing rule is generated based on the data identifier and the QoS requirement parameter corresponding to the data identifier.

8. The method according to any one of claims 1 to 7, characterized in that: The first device user equipment, the method further includes: The data identifier and the QoS requirement parameter corresponding to the data identifier are sent to the session management function SMF network element or the policy control function PCF network element.

9. A data processing method, characterized in that: Applied to a session management function (SMF) network element, the method comprises: Obtain a flow identifier, a first data identifier included in a first data packet of a service flow identified by the flow identifier, a second data identifier included in a second data packet of the service flow identified by the flow identifier, a first service quality QoS requirement parameter corresponding to the first data identifier, and a second QoS requirement parameter corresponding to the second data identifier; generating a processing rule corresponding to the flow identifier according to the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter; The processing rules are sent to the user plane function UPF network element or user equipment, and the processing rules are used to perform QoS flow mapping on the data packets of the service flow based on the data identifiers of the data packets of the service flow, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

10. The method according to claim 9, characterized in that The processing rule is used to indicate that the data identifier is a synchronization source SSRC identifier or a load type identifier.

11. The method according to claim 9, characterized in that The processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is a real-time transport protocol RTP data packet or a real-time transport control protocol RTCP data packet.

12. The method according to claim 9, characterized in that The processing rules are used to: Indicating that the data identifier includes an identifier indicating that the data packet is an RTP data packet and an identifier of a synchronization source SSRC of the data packet, or indicating that the data identifier includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet, Or the data identifier is an identifier indicating that the data packet is an RTCP data packet.

13. The method according to any one of claims 9 to 12, characterized in that: The obtaining of multiple data identifiers and QoS requirement parameters corresponding to each of the data identifiers includes: A plurality of PCC rules are obtained, each of the PCC rules including at least one data identifier and a corresponding QoS requirement parameter having the same corresponding QoS requirement parameter.

14. The method according to any one of claims 9 to 12, characterized in that: The target UPF network element is a UPF network element selected by the SMF network element that supports the capability of performing QoS differentiated processing based on the data identifier.

15. A data processing method, characterized in that: Applied to a policy control function (PCF) network element, the method comprises: Receive an application function AF request sent by an application server, where the AF request includes a flow identifier, multiple data identifiers, and a service quality QoS requirement parameter corresponding to each data identifier; Generate multiple PCC rules based on the multiple data identifiers and the QoS requirement parameters corresponding to each of the data identifiers, each of the PCC rules including at least one of the data identifiers and the corresponding QoS requirement parameters with the same corresponding QoS requirement parameters; The flow identifier and the multiple PCC rules are used to generate processing rules, the processing rules correspond to the service flow indicated by the flow identifier, and the processing rules include multiple data identifiers and a QoS flow identifier corresponding to each data identifier; the processing rules are used to instruct the user plane function UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier.

16. The method according to claim 15, characterized in that The processing rule is used to indicate that the data identifier is a synchronization source SSRC identifier or a load type identifier.

17. The method according to claim 15, characterized in that The processing rule is used to indicate that the data identifier is a data type identifier used to indicate that the data packet is a real-time transport protocol RTP data packet or a real-time transport control protocol RTCP data packet.

18. The method according to claim 15, characterized in that The processing rules are used to: Indicating that the data identifier includes an identifier indicating that the data packet is an RTP data packet and an identifier of a synchronization source SSRC of the data packet, or indicating that the data identifier includes an identifier indicating that the data packet is an RTP data packet and a load type identifier of the data packet, Or indicating that the data identifier indicates that the data packet is an RTCP data packet.

19. A first device, characterized in that: The first device includes a unit or a module implementing any one of claims 1-8.

20. A session management function SMF network element, characterized in that: The SMF network element includes a unit or module implementing any one of claims 9-14.

21. A policy control function PCF network element, characterized in that: The PCF network element includes a unit or module implementing any one of claims 15-18.

22. A data processing method, characterized in that: The method is applied to a communication system, the communication system comprising a user equipment, a user plane function UPF network element, a session management function SMF network element and an application server, and the method comprises: The SMF network element obtains a flow identifier from the user equipment or the application server, a first data identifier included in a first data packet of a service flow identified by the flow identifier, a second data identifier included in a second data packet of the service flow identified by the flow identifier, a first service quality QoS requirement parameter corresponding to the first data identifier, and a second QoS requirement parameter corresponding to the second data identifier; The SMF network element generates a processing rule corresponding to the flow identifier according to the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter; the processing rule is used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packets of the service flow based on the data identifier; the processing rule includes the first data identifier and the QoS flow corresponding to the first data identifier and the second data identifier and the QoS flow corresponding to the second data identifier; The SMF network element sends the processing rule to the UPF network element or the user equipment, The application server sends the first data packet and the second data packet to the UPF network element, or the user equipment obtains the first data packet and the second data packet; The UPF network element or the user equipment performs service quality QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

23. A communication system, characterized in that: The communication system includes a user equipment, a user plane function UPF network element, a session management function SMF network element and an application server, The SMF network element is used to obtain a flow identifier from the user equipment or the application server, a first data identifier included in a first data packet of a service flow identified by the flow identifier, a second data identifier included in a second data packet of the service flow identified by the flow identifier, a first service quality QoS requirement parameter corresponding to the first data identifier, and a second QoS requirement parameter corresponding to the second data identifier; The SMF network element is further used to generate a processing rule corresponding to the flow identifier according to the flow identifier, the first data identifier, the second data identifier, the first QoS requirement parameter, and the second QoS requirement parameter; the processing rule is used to instruct the UPF network element or user equipment to perform QoS flow mapping on the data packet of the service flow based on the data identifier; the processing rule includes the first data identifier and the QoS flow corresponding to the first data identifier and the second data identifier and the QoS flow corresponding to the second data identifier; The SMF network element is further used to send the processing rule to the UPF network element or the user equipment, The application server sends the first data packet and the second data packet to the UPF network element, or the user equipment is used to obtain the first data packet and the second data packet; The UPF network element or the user equipment is used to perform service quality QoS flow mapping on the first data packet and the second data packet based on the first data identifier, the second data identifier and the processing rule corresponding to the flow identifier, so as to map the first data packet to the first QoS flow bearer and map the second data packet to the second QoS flow bearer.

24. A first device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store program codes, and the processor is used to execute the program codes to implement the method according to any one of claims 1 to 8.

25. A session management function SMF network element, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store program codes, and the processor is used to execute the program codes to implement the method according to any one of claims 9 to 14.

26. A policy control function PCF network element, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store program codes, and the processor is used to execute the program codes to implement the method according to any one of claims 15 to 18.

27. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 18 is implemented.

Citation Information

Cited By

  • Data processing method, related device and communication system

    EP4794300A1

  • Data processing method, related device and communication system

    WO2025092747A1