WO2023212956A1 - 一种数据包处理方法、装置及可读存储介质 - Google Patents

一种数据包处理方法、装置及可读存储介质 Download PDF

Info

Publication number
WO2023212956A1
WO2023212956A1 PCT/CN2022/091313 CN2022091313W WO2023212956A1 WO 2023212956 A1 WO2023212956 A1 WO 2023212956A1 CN 2022091313 W CN2022091313 W CN 2022091313W WO 2023212956 A1 WO2023212956 A1 WO 2023212956A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
sent
packet processing
category
processing
Prior art date
Application number
PCT/CN2022/091313
Other languages
English (en)
French (fr)
Inventor
吴锦花
沈洋
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN202280001651.5A priority Critical patent/CN117597974A/zh
Priority to PCT/CN2022/091313 priority patent/WO2023212956A1/zh
Publication of WO2023212956A1 publication Critical patent/WO2023212956A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Definitions

  • the present disclosure relates to the field of wireless communication technology, and in particular, to a data packet processing method, device and readable storage medium.
  • Extended reality refers to all real and virtual combined environments and human-computer interactions generated by computer technology and wearable devices, including augmented reality (AR), mixed reality (MR) and virtual reality Representative forms such as virtual reality (VR), and the interpolation areas between them.
  • Extended reality media (extended reality and media, XRM) business is a media business based on XR.
  • the load of an information unit generated in the application layer can be carried by a protocol data unit (Professional Development Unit, PDU) set (set), and one of the information units can be a frame or a frame in the XRM service.
  • PDU Protocol Data Unit
  • a PDU set may include one or more PDUs, and each PDU in a PDU set has the same importance requirements at the application layer.
  • Packets in a PDU set have inherent interdependencies in the application layer.
  • Fifth generation (5G) systems (5GS) need to consider the dependencies between different data packets belonging to PDU sets to improve resource utilization.
  • 5GS can identify or process data packets at the granularity of PDU sets.
  • XRM services may use different encoding formats and transmission protocols during transmission. How to effectively identify and process PDU sets is a technical problem that needs to be solved.
  • the present disclosure provides a data packet processing method, device and readable storage medium.
  • a data packet processing method which is executed by the application function AF.
  • the method includes:
  • the AF device sends guidance information on the control level and sends data packets marked with categories on the data level, so that the user layer device can learn the categories of different data packets, so that different types of data packets can be processed. processing, which is conducive to improving the data processing effect.
  • the guidance information includes multiple categories for data packet processing, the locations of the categories at the data packets, and ranking information of processing priorities of the multiple categories.
  • the header of the security protocol or transport protocol of the data packet includes the category.
  • the header of the application transport protocol of the data packet includes the category.
  • the category is located in the header of the security protocol or transport protocol in the data packet.
  • the position of the classification in the data packet is the header of the application transport protocol.
  • a data packet processing method is provided, which is executed by a user layer device.
  • the method includes:
  • the data packet processing strategy is determined according to the guidance information sent by the application function AF device, the guidance information includes a plurality of categories for data packet processing, the categories are at the location of the data packet , and the sorting information of the processing priorities of the multiple categories;
  • the user layer device receives guidance information at the control level and receives data packets marked with categories at the data level, so that the user layer device can learn the categories of different data packets, and can perform different operations on the data packets of different categories. processing, which is conducive to improving the data processing effect.
  • the method further includes: when packet loss conditions are met, performing packet loss processing on cached data packets according to the data packet processing policy.
  • the packet loss processing for cached data packets according to the data packet processing policy includes:
  • all or part of the data packets in at least one buffer area are discarded.
  • marking the category of data packets to be sent according to the data packet processing policy includes:
  • the third aspect provides a data packet processing method, which is executed by a user plane function UPF device.
  • the method includes:
  • the data packet processing policy is determined based on the guidance information sent by the application function AF device.
  • the guidance information includes multiple categories for data packet processing. The categories The location of the data packet and the sorting information of the processing priorities of the multiple categories;
  • the method further includes: when packet loss conditions are met, performing packet loss processing on cached data packets according to the data packet processing policy.
  • the packet loss processing for cached data packets according to the data packet processing policy includes:
  • all or part of the data packets in at least one buffer area are discarded.
  • marking the category of data packets to be sent according to the data packet processing policy includes:
  • the category of the data packet in the fourth protocol format to be sent is marked according to the data packet processing policy, and the processing priority corresponding to the category of the same data packet under different protocol formats is the same.
  • the data packets in the third protocol format are downlink data packets in the application layer media transmission protocol format
  • the data packets in the fourth protocol format are downlink data packets in the transmission tunnel protocol format
  • the data packet in the third protocol format is an uplink data packet in a transmission tunnel protocol format
  • the data packet in the fourth protocol format is an uplink data packet in an application layer media transmission protocol format.
  • the fourth aspect provides a data packet processing method, which is executed by a radio access network RAN device.
  • the method includes:
  • the data packet processing policy is determined based on the guidance information sent by the application function AF device.
  • the guidance information includes multiple categories for data packet processing. , the location of the category in the data packet, and the sorting information of the processing priorities of the multiple categories;
  • the method further includes:
  • the method further includes: when packet loss conditions are met, performing packet loss processing on cached data packets according to the data packet processing policy.
  • the packet loss processing for cached data packets according to the data packet processing policy includes:
  • all or part of the data packets in at least one buffer area are discarded.
  • marking the category of data packets to be sent according to the data packet processing policy includes:
  • the category of the data packet in the sixth protocol format to be sent is marked according to the data packet processing policy, and the processing priority corresponding to the category of the same data packet under different protocol formats is the same.
  • the data packet in the fifth protocol format is a downlink data packet in a transport tunnel protocol format
  • the data packet in the sixth protocol format is a downlink data packet in an access layer protocol format
  • the data packet in the fifth protocol format is an uplink data packet in the access layer protocol format
  • the data packet in the sixth protocol format is an uplink data packet in the transport tunnel protocol format.
  • the fifth aspect provides a data packet processing method, which is executed by user equipment UE.
  • the method includes:
  • the receiving data packet processing policy sent by the radio access network RAN device includes:
  • the method further includes: when packet loss conditions are met, performing packet loss processing on cached data packets according to the data packet processing policy.
  • the packet loss processing for cached data packets according to the data packet processing policy includes:
  • all or part of the data packets in at least one buffer area are discarded.
  • marking the category of the uplink data packet to be sent according to the data packet processing policy includes: marking the category of the uplink data packet in the eighth protocol format to be sent according to the data packet processing policy. .
  • a sixth aspect provides a communication device.
  • the communication device may be used to perform the steps performed by the AF in the above-mentioned first aspect or any possible design of the first aspect.
  • Each function in each of the above methods can be implemented through a hardware structure, a software module, or a hardware structure plus a software module.
  • the communication device may include a transceiver module and a processing module.
  • a communication device is provided.
  • the communication device may be used to perform the steps performed by the user layer device in the above second aspect or any possible design of the second aspect.
  • Each function in each of the above methods can be implemented through a hardware structure, a software module, or a hardware structure plus a software module.
  • the communication device may include a transceiver module and a processing module.
  • a communication device is provided.
  • the communication device may be used to perform the steps performed by the AF device in the above third aspect or any possible design of the third aspect.
  • Each function in each of the above methods can be implemented through a hardware structure, a software module, or a hardware structure plus a software module.
  • the communication device may include a transceiver module and a processing module.
  • a communication device is provided.
  • the communication device may be used to perform the steps performed by the RAN device in the above-mentioned fourth aspect or any possible design of the fourth aspect.
  • Each function in each of the above methods can be implemented through a hardware structure, a software module, or a hardware structure plus a software module.
  • the communication device may include a transceiver module and a processing module.
  • a communication device is provided.
  • the communication device may be used to perform the steps performed by the UE in the above-mentioned fifth aspect or any possible design of the fifth aspect.
  • Each function in each of the above methods can be implemented through a hardware structure, a software module, or a hardware structure plus a software module.
  • the communication device may include a transceiver module and a processing module.
  • a communication device including a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program to implement the first aspect or any one of the first aspects possible designs.
  • a communication device including a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program to implement the second aspect or any one of the second aspects possible designs.
  • a communication device including a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program to implement the third aspect or any one of the third aspects possible designs.
  • a communication device including a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program to implement the fourth aspect or any one of the fourth aspects possible designs.
  • a communication device including a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program to implement the fifth aspect or any one of the fifth aspects possible designs.
  • a computer-readable storage medium is provided. Instructions (or computer programs, programs) are stored in the computer-readable storage medium. When called and executed on a computer, the computer is caused to execute the first step described above. any possible design of the aspect or first aspect.
  • a computer-readable storage medium is provided. Instructions (or computer programs, programs) are stored in the computer-readable storage medium. When called and executed on a computer, the computer is caused to execute the second step described above. Any possible design of aspect or second aspect.
  • a computer-readable storage medium is provided. Instructions (or computer programs, programs) are stored in the computer-readable storage medium. When called and executed on a computer, the computer is caused to execute the third step described above. Any possible design of aspect or third aspect.
  • a computer-readable storage medium stores instructions (or computer programs, programs) that, when called and executed on a computer, cause the computer to execute the fourth step described above. Any possible design of aspect or fourth aspect.
  • a computer-readable storage medium is provided. Instructions (or computer programs, programs) are stored in the computer-readable storage medium. When called and executed on a computer, the computer is caused to execute the fifth step described above. Any possible design of aspect or fifth aspect.
  • Figure 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram of a protocol stack provided by an embodiment of the present application.
  • Figure 3 is a schematic diagram of a protocol stack provided by an embodiment of the present application.
  • Figure 4 is a flow chart of a data packet processing method provided by an embodiment of the present application.
  • Figure 5 is a flow chart of another data packet processing method provided by an embodiment of the present application.
  • Figure 6 is a flow chart of another data packet processing method provided by an embodiment of the present application.
  • Figure 7 is a flow chart of another data packet processing method provided by an embodiment of the present application.
  • Figure 8 is a flow chart of another data packet processing method provided by an embodiment of the present application.
  • Figure 9 is a structural diagram of a data packet processing device provided by an embodiment of the present application.
  • Figure 10 is a structural diagram of another data packet processing device provided by an embodiment of the present application.
  • first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
  • first information may also be called second information, and similarly, the second information may also be called first information.
  • the words "if” and “if” as used herein may be interpreted as “when” or “when” or “in response to determining.”
  • FIG. 1 is a schematic diagram of a network architecture applicable to the embodiment of the present application.
  • user equipment can access a wireless network to obtain services from an external network (such as the Internet) through the wireless network, or communicate with other devices through the wireless network, such as communicating with other user equipment.
  • the wireless network includes radio access network (RAN) equipment (or network equipment) and core network (core network, CN) equipment.
  • RAN radio access network
  • CN core network
  • the RAN equipment is used to connect user equipment to the wireless network
  • the CN equipment is used to connect user equipment to the wireless network. It is used to manage user equipment and provide a gateway for communication with the external network.
  • the number of each device in the communication system shown in Figure 1 is only for illustration, and the embodiments of the present application are not limited thereto. In actual applications, the communication system may also include more user equipment and more RAN equipment. Other devices may also be included.
  • the CN can include multiple CN devices.
  • the CN device can include: access and mobility management function (AMF) entities and session management functions. (session management function, SMF) entity, user plane function (UPF) entity,
  • AMF access and mobility management function
  • SMF session management function
  • UPF user plane function
  • the wireless communication system 100 includes user equipment 101, wireless access network equipment 102 and core network equipment.
  • the core network equipment includes: Access and Mobility Management Function (AMF) equipment 103, session management function (Session Management Function, SMF) device 104, User Plane Function (UPF) device 105, Policy and charging function (PCF) device 106, Network Exposure Function (NEF) device 107.
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • UPF User Plane Function
  • PCF Policy and charging function
  • NEF Network Exposure Function
  • AF Application Function
  • the control plane protocol layer structure can include a radio resource control (RRC) layer and a packet data convergence protocol (PDCP) layer.
  • RRC radio resource control
  • PDCP packet data convergence protocol
  • the user plane protocol layer structure can include PDCP layer, RLC layer, MAC layer and physical layer and other protocol layer functions.
  • RAN and UPF are generally called user layer network functional entities.
  • the data traffic of user equipment can be transmitted through the packet data unit (PDU) session (Session) established between the user equipment and the application layer equipment.
  • PDU packet data unit
  • Session Session
  • the transmission will go through RAN and UPF are two network function devices; while the other parts are called control layer network functions and entities, which are mainly responsible for functions such as authentication and authentication, registration management, session management, mobility management, and policy control, so as to realize user Reliable and stable transmission of laminar traffic.
  • AF equipment, AMF equipment, UPF equipment, etc. in Figure 1 are just names, and the names do not limit the equipment itself.
  • the entities shown in Figure 1 may also have other names, which are not specifically limited in this disclosure.
  • AF can be enabled to set different categories for different packets, thereby transmitting category-marked packets at the data level.
  • the AF also determines guidance information to represent relevant information of the category.
  • the AF sends the guidance information from the control layer to the PCF.
  • the PCF determines the packet processing strategy based on the guidance information and transmits the packet processing strategy at the control layer, so that the user layer
  • the device (which can be a UPF device, a RAN device or a UE device) can better process data packets of different categories according to the data packet processing policy to meet different processing requirements.
  • An embodiment of the present disclosure provides a data packet processing method, which is applied to an application function AF device.
  • the method includes: sending guidance information to the PCF, and sending category-marked data packets to the UPF.
  • the guidance information includes a plurality of categories for data packet processing, the categories are at locations of the data packets, and ranking information of processing priorities of the plurality of categories.
  • each data packet sent by AF corresponds to a category, which provides a prerequisite for other devices that receive the data packet to separate data packets of different categories according to the category.
  • the data packets sent by AF can use different protocol stacks.
  • the sequence of the protocol stack corresponding to the data packets from the bottom layer to the high layer can be as shown in Figure 2, or as shown in Figure 3.
  • the difference between Figure 3 and Figure 2 is that Includes safety protocols. specific:
  • the header of the security protocol or the header of the transport protocol of the data packet includes the category.
  • the security protocol can be SSL or TLS
  • the transmission protocol can be transmission control protocol (transmission control protocol, TCP) or user datagram protocol (user data protocol, UDP).
  • the header of the application transport protocol of the data packet includes the category.
  • the application transmission protocol is Real-time Transport Protocol (RTP) or Secure Real-time Transport Protocol (SRTP) or DASH.
  • the position of the category in the data packet when the data packet uses a security protocol, the position of the category in the data packet is the header of the security protocol or transport protocol.
  • the position of the classification in the data packet is the header of the application transport protocol.
  • the AF device sends guidance information on the control level and sends data packets marked with categories on the data level, so that the user layer device can learn the categories of different data packets, so that different types of data packets can be processed. Different processing is conducive to improving the data processing effect.
  • Embodiments of the present disclosure provide a data packet processing method, which is applied to user layer equipment.
  • the user layer equipment may be a UPF device, a RAN device or a UE. As shown in Figure 4, this method includes:
  • Step S401 Receive a data packet processing policy.
  • the received data packet processing policy is determined according to guidance information sent by the application function AF device, the guidance information includes a plurality of categories for data packet processing, the categories are at the location of the data packet, and the plurality of Sorting information of the processing priority of categories.
  • Step S402 Mark the category of the data packet to be sent according to the data packet processing policy.
  • a method of marking the category of a data packet to be sent according to a data packet processing policy includes: marking the category of a data packet in a second protocol format to be sent according to the data packet processing policy.
  • the same data packet category corresponds to the same processing priority.
  • Step S403 Send the data packet to be sent.
  • steps S401 and 402 may also include: when packet loss conditions are met, performing packet loss processing on cached data packets according to the data packet processing policy.
  • different categories of data packets in the first protocol format can be stored in different cache areas.
  • the data packets in the first protocol format are cached according to the data packet processing strategy and the first protocol format.
  • For the category of packets discard all or part of the packets in at least one buffer.
  • the discarding rule can be one of the following rules: delete in order from low to high processing priority; delete the third All data packets in the cache; delete a set percentage of data packets in the third cache; delete all data packets in the second cache and third cache; delete a set percentage of data packets in the second cache and third cache .
  • the user layer device receives guidance information on the control level and receives data packets marked with categories on the data level, so that the user layer device can learn the categories of different data packets, and can perform operations on data packets of different categories. Different processing is conducive to improving the data processing effect.
  • the embodiment of the present disclosure provides a data packet processing method. This method is applied to UPF equipment. As shown in Figure 5, this method includes:
  • Step S501 Receive the data packet processing policy sent by the SMF device.
  • the received data packet processing policy is determined according to guidance information sent by the application function AF device, the guidance information includes a plurality of categories for data packet processing, the categories are at the location of the data packet, and the plurality of Sorting information for processing priorities of categories.
  • Step S502 Mark the type of downlink data packet or uplink data packet to be sent according to the data packet processing policy.
  • Step S503 Send the downlink data packet to be sent to the RAN device, and/or send the uplink data packet to be sent to the SMF device.
  • the data packet received by the UPF device can be called a data packet in the third protocol format
  • the data packet sent by the UPF device can be called a data packet in the fourth protocol format.
  • the data packets in the third protocol format are downlink data packets in the application layer media transmission protocol format
  • the data packets in the fourth protocol format are downlink data packets in the transmission tunnel protocol format
  • the data packets in the third protocol format are The packet is an uplink data packet in the transmission tunnel protocol format
  • the data packet in the fourth protocol format is an uplink data packet in the application layer media transmission protocol format.
  • the application layer media transmission protocol may be RTP
  • the transmission tunnel protocol may be the GTP_U protocol.
  • UPF when UPF processes downlink data packets, it marks the category of the data packet in the Transport Tunneling Protocol format to be sent according to the data packet processing policy, and the processing priority corresponding to the category of the same data packet in different protocol formats. same.
  • the protocol of the downlink data packets received by UPF is RTP
  • the protocol of the downlink data packets sent by UPF is GTP_U.
  • UPF converts the format of the RTP downlink data packet into a GTP_U downlink data packet.
  • UPF When UPF class-marks the same data packet in different protocol formats, it can use the same class indicator flag or different class indicator flags. Taking the category a carried in the header of the RTP packet received by UPF as an example, the respective descriptions are as follows:
  • the category of the corresponding GTP_U data packet to be sent is marked as a.
  • the category of the GTP_U data packet to be sent is marked as 1.
  • UPF determines different categories corresponding to the same processing priority, that is, category a corresponds to category 1, category b corresponds to category 2, and category c corresponds to category 3. That is, the category carried in the header of the RTP data packet received by UPF is the category corresponding to the highest processing priority, and the category of the GTP_U data packet marked to be sent is also the category corresponding to the highest processing priority.
  • protocol format of the downlink data packet received by the UPF is not limited to the RTP format, and may also be in other formats.
  • the UPF may optimize downlink data packets upon receiving RTP data packets marked with categories.
  • This optimization process may be packet loss processing, that is, when the packet loss condition is met (for example, cache congestion occurs), the UPF performs packet loss processing on the cached data packets according to the data packet processing policy.
  • a specific processing method is: UPF classifies the received RTP data packets according to the data packet processing policy, and stores RTP data packets of different categories in different cache areas. According to the data packet processing policy and the category of RTP data packets, Discard all or part of the data packets in at least one buffer.
  • the data packet processing policy includes the following information: There are three categories in total, and these three categories include a, b, and c; the order of processing priority from high to low is a, b, c.
  • UPF classifies the received RTP data packets, stores the RTP data packets of category a in the first cache, stores the RTP data packets of category b in the second cache, and stores the RTP data packets of category c in the third cache. cache.
  • buffer congestion occurs, all or part of the data packets in at least one buffer area are discarded according to a discarding rule.
  • This drop rule can be one of the following rules: delete in order from low to high processing priority; delete all data packets in the third cache; delete a set percentage of data packets in the third cache; delete All data packets in the second cache and the third cache; delete a set percentage of data packets in the second cache and the third cache.
  • the processing method is the same as the processing method for the downlink data packets.
  • An embodiment of the present disclosure provides a data packet processing method. This method is applied to RAN equipment. As shown in Figure 6, this method includes:
  • Step S601 Receive the data packet processing policy sent by the AMF device.
  • the received data packet processing policy is determined according to guidance information sent by the application function AF device, the guidance information includes a plurality of categories for data packet processing, the categories are at the location of the data packet, and the plurality of Sorting information for processing priorities of categories.
  • Step S602 Mark the type of downlink data packet or uplink data packet to be sent according to the data packet processing policy
  • Step S603 Send the downlink data packet to be sent to the user equipment UE, and/or send the uplink data packet to be sent to the UPF.
  • the data packet received by the RAN device may be called a data packet in the fifth protocol format
  • the data packet sent may be called a data packet in the sixth protocol format.
  • the data packet in the fifth protocol format is a downlink data packet in the transmission tunnel protocol format
  • the data packet in the sixth protocol format is a downlink data packet in the access layer protocol format
  • the data packet in the fifth protocol format is an uplink data packet in the access layer protocol format
  • the data packet in the sixth protocol format is an uplink data packet in the transport tunnel protocol format.
  • the RAN when processing downlink data packets, marks the category of the PDCP data packet to be sent according to the data packet processing policy.
  • the categories of the same data packet under different protocol formats have the same processing priority.
  • the protocol of the downlink data packets received by the RAN is GTP_U
  • the protocol of the downlink data packets sent by the RAN is PDCP.
  • the RAN After receiving the GTP_U downlink data packet, the RAN converts the format of the GTP_U downlink data packet into a PDCP downlink data packet.
  • the category of the corresponding PDCP data packet to be sent is marked as 1.
  • the category of the PDCP data packet to be sent As 1. There are three categories of PDCP data packets, A, B, and C in order from high to low processing priority.
  • the RAN determines different class flags corresponding to the same processing priority, that is, class 1 corresponds to class A, class 2 corresponds to class B, and class 3 corresponds to class C. That is, the category carried in the header of the GTP_U data packet received by the RAN is the category corresponding to the highest processing priority, and the category of the PDCP data packet marked to be sent is also the category corresponding to the highest processing priority.
  • the format of the downlink data packet received by the RAN is not limited to the PDCP format, and may also be in other formats.
  • the RAN also performs optimized processing on downlink data packets.
  • This optimization process may be packet loss processing, that is, when the RAN meets packet loss conditions (for example, cache congestion occurs), the RAN performs packet loss processing on cached data packets according to the data packet processing policy.
  • a specific processing method is: RAN classifies the received GTP_U data packets according to the data packet processing policy, stores GTP_U data packets of different categories in different cache areas, and according to the data packet processing policy and the category of GTP_U data packets, Discard all or part of the data packets in at least one buffer.
  • the processing method is the same as the processing method for the downlink data packets.
  • the embodiment of the present disclosure provides a data packet processing method. This method is applied to UE. As shown in Figure 7, this method includes:
  • Step S701 Receive the data packet processing policy sent by the RAN device.
  • the method of receiving the data packet processing policy sent by the RAN device may be: receiving a NAS message sent by the RAN device, where the NAS message includes the data packet processing policy.
  • the received data packet processing policy is determined according to guidance information sent by the application function AF device, the guidance information includes a plurality of categories for data packet processing, the categories are at the location of the data packet, and the plurality of Sorting information for processing priorities of categories.
  • Step S702 Mark the category of the uplink data packet to be sent according to the data packet processing policy
  • Step S703 Send the uplink data packet to be sent to the RAN device.
  • the data packet received by the UE device may be called a data packet in the seventh protocol format
  • the data packet sent may be called a data packet in the eighth protocol format.
  • the seventh protocol format and the eighth protocol format are both PDCP formats.
  • the UE when processing uplink data packets, marks the category of the PDCP uplink data packet to be sent according to the data packet processing policy.
  • the UE can set the category of the PDCP uplink data packet to be sent according to the service type.
  • the UE also performs optimization processing on uplink data packets.
  • This optimization process may be packet loss processing, that is, when uplink packet loss conditions are met (for example, cache congestion occurs), cached uplink data packets are discarded according to the data packet processing policy.
  • a specific processing method is: the UE classifies the PDCP uplink data packets to be sent according to the data packet processing policy, and stores PDCP data packets of different categories in different buffer areas. According to the data packet processing policy and the category of the PDCP data packet, Discard all or part of the data packets in at least one buffer.
  • the UE also performs optimization processing on downlink data packets.
  • This optimization process may be packet loss processing, that is, when downlink packet loss conditions are met (for example, cache congestion occurs), cached downlink data packets are discarded according to the data packet processing policy.
  • a specific processing method is: the UE classifies the received PDCP data packets according to the data packet processing policy, stores PDCP data packets of different categories in different buffer areas, and according to the data packet processing policy and the category of the PDCP data packet, Discard all or part of the data packets in at least one buffer.
  • this data packet processing method provides a data packet processing method based on the network structure shown in Figure 1. As shown in Figure 8, this data packet processing method includes steps S1 to S14, specifically including:
  • Step S1 The UE initiates registration with the mobile network and initiates a PDU session establishment request.
  • the AMF When the UE is idle and has uplink data to send, it sends a service request message (Service Request) to the AMF, carrying the cell PDU session status (pdu session status) and uplink data status (uplink data status); the AMF receives the After the service request message (Service Request), send the update session management context request message (UpdateSMContextRequest) to SMF to synchronize the PDU session status (pdu session status) and uplink data status (uplink data status) to SMF; then, SMF sends it to UPF Session Modification Request message (Session Modification Request) to synchronize PDU session status (pdu sessionstatus) and uplink data status (uplink data status) to UPF; UPF replies to SMF with Session Modification Response message (Session Modification Response), carrying PDU session status synchronization The result and the N3 tunnel information on the UPF side; SMF replies to the AMF with an update session management context request response message (UpdateSMContextResponse), carrying the PDU
  • Step S2 The UE initiates an application request to the AF.
  • the application request initiated by the UE to the AF may be an audio request, a video request, or a multimedia request including both audio and video.
  • AF interacts with the UE at the application layer (eg via RTP).
  • the sequence of the protocol stack corresponding to the data packet from the bottom layer to the high layer may be as shown in Figure 2 or as shown in Figure 3.
  • the difference between Figure 3 and Figure 2 is that the security protocol is not included.
  • Step S3 AF sends guidance information to PCF and sends class-marked data packets to UPF.
  • the PCF After the PCF receives the guidance information sent by the AF, it will be sent to the UPF through the SMF in the subsequent process, so that the UPF receives the guidance information from the control level and receives the downlink data packets marked with categories from the data level.
  • the guidance information includes multiple categories for data packet processing, the locations of the categories at the data packets, and ranking information of processing priorities of the multiple categories.
  • the data packets sent by AF can use different protocol stacks.
  • the sequence of the protocol stack corresponding to the data packets from the bottom layer to the high layer can be as shown in Figure 2, or as shown in Figure 3.
  • the difference between Figure 3 and Figure 2 is that Includes safety protocols. specific:
  • the header of the security protocol or the header of the transport protocol of the data packet includes the category.
  • the security protocol can be SSL or TLS;
  • the transmission protocol can be Transmission Control Protocol (TCP) or User Data Protocol (UDP).
  • the header of the application transport protocol of the data packet includes the category.
  • the application transmission protocol is RTP or SRTP or DASH.
  • the method for AF to send guidance information to PCF is: AF sends guidance information to NEF through Nnef_AFsessionWithQoS_Create. After NEF authentication is completed, it sends it to PCF through Npcf_PolicyAuthorization_Create.
  • Step S4 PCF determines the data packet processing strategy based on the guidance information.
  • the PCF can determine different packet processing strategies based on different guidance information.
  • the guidance information includes three categories, and includes the sorting information of the processing priorities of the three categories.
  • the three categories include a, b, c, and the order of processing priorities from high to low is a, b, c.
  • the packet processing strategy determined by PCF based on this guidance information includes the following information: There are three categories in total. These three categories include a, b, and c. The order of processing priority from high to low is a, b, c.
  • Step S5 PCF sends the packet processing policy to SMF.
  • the method for PCF to send the packet processing policy to SMF is: PCF sends the packet processing policy to SMF through Npcf_SMPolicyControl_UpdateNotify request.
  • Step S6 SMF sends the packet processing policy to UPF.
  • the method for SMF to send the packet processing policy to UPF is: SMF sends the packet processing policy to UPF through N4Session Modification Request, and UPF sends the reception success confirmation message through N4Session Modification response.
  • Step S7 UPF marks the downlink data packet according to the data packet processing policy.
  • UPF when UPF processes downlink data packets, it marks the category of the data packet in the Transport Tunneling Protocol format to be sent according to the data packet processing policy, and the processing priority corresponding to the category of the same data packet in different protocol formats. same.
  • the protocol of the downlink data packets received by UPF is RTP
  • the protocol of the downlink data packets sent by UPF is GTP_U.
  • UPF converts the format of the RTP downlink data packet into a GTP_U downlink data packet.
  • UPF When UPF class-marks the same data packet in different protocol formats, it can use the same class indicator flag or different class indicator flags. Taking the category a carried in the header of the RTP packet received by UPF as an example, the respective descriptions are as follows:
  • the category of the corresponding GTP_U data packet to be sent is marked as a.
  • the category of the GTP_U data packet to be sent is marked as 1.
  • UPF determines different categories corresponding to the same processing priority, that is, category a corresponds to category 1, category b corresponds to category 2, and category c corresponds to category 3. That is, the category carried in the header of the RTP data packet received by UPF is the category corresponding to the highest processing priority, and the category of the GTP_U data packet marked to be sent is also the category corresponding to the highest processing priority.
  • protocol format of the downlink data packet received by the UPF is not limited to the RTP format, and may also be in other formats.
  • the UPF may optimize downlink data packets upon receiving RTP data packets marked with categories.
  • This optimization process may be packet loss processing, that is, when the packet loss condition is met (for example, cache congestion occurs), the UPF performs packet loss processing on the cached data packets according to the data packet processing policy.
  • a specific processing method is: UPF classifies the received RTP data packets according to the data packet processing policy, and stores RTP data packets of different categories in different cache areas. According to the data packet processing policy and the category of RTP data packets, Discard all or part of the data packets in at least one buffer.
  • the data packet processing policy includes the following information: There are three categories in total, and these three categories include a, b, and c; the order of processing priority from high to low is a, b, c.
  • UPF classifies the received RTP data packets, stores the RTP data packets of category a in the first cache, stores the RTP data packets of category b in the second cache, and stores the RTP data packets of category c in the third cache. cache.
  • buffer congestion occurs, all or part of the data packets in at least one buffer area are discarded according to a discarding rule.
  • This drop rule can be one of the following rules: delete in order from low to high processing priority; delete all data packets in the third cache; delete a set percentage of data packets in the third cache; delete All data packets in the second cache and the third cache; delete a set percentage of data packets in the second cache and the third cache.
  • the processing method is the same as the processing method for the downlink data packets.
  • Step S8 SMF sends the packet processing policy to AMF.
  • the method for SMF to send the packet processing policy to AMF is to send the packet processing policy to AMF through Namf_Communication_N1N2MessageTransfer.
  • Namf_Communication_N1N2MessageTransfer also includes a NAS message for sending to the UE, and the NAS message includes a data packet processing policy.
  • Step S9 AMF sends the data packet processing policy to the RAN.
  • the method for the AMF to send the data packet processing policy to the RAN is to send the data packet processing policy to the RAN through an N2 message.
  • the N2 message also includes a NAS message for sending to the UE.
  • Step S10 RAN marks downlink data packets according to the data packet processing policy.
  • the RAN when processing downlink data packets, marks the category of the PDCP data packet to be sent according to the data packet processing policy.
  • the categories of the same data packet under different protocol formats have the same processing priority.
  • the protocol of the downlink data packets received by the RAN is GTP_U
  • the protocol of the downlink data packets sent by the RAN is PDCP.
  • the RAN After receiving the GTP_U downlink data packet, the RAN converts the format of the GTP_U downlink data packet into a PDCP downlink data packet.
  • the category of the corresponding PDCP data packet to be sent is marked as 1.
  • the category of the PDCP data packet to be sent As 1. There are three categories of PDCP data packets, A, B, and C in order from high to low processing priority.
  • the RAN determines different class flags corresponding to the same processing priority, that is, class 1 corresponds to class A, class 2 corresponds to class B, and class 3 corresponds to class C. That is, the category carried in the header of the GTP_U data packet received by the RAN is the category corresponding to the highest processing priority, and the category of the PDCP data packet marked to be sent is also the category corresponding to the highest processing priority.
  • the format of the downlink data packet received by the RAN is not limited to the PDCP format, and may also be in other formats.
  • the RAN also performs optimized processing on downlink data packets.
  • This optimization process may be packet loss processing, that is, when the RAN meets packet loss conditions (for example, cache congestion occurs), the RAN performs packet loss processing on cached data packets according to the data packet processing policy.
  • a specific processing method is: RAN classifies the received GTP_U data packets according to the data packet processing policy, stores GTP_U data packets of different categories in different cache areas, and according to the data packet processing policy and the category of GTP_U data packets, Discard all or part of the data packets in at least one buffer.
  • the processing method is the same as the processing method for the downlink data packets.
  • Step S11 the RAN sends the data packet processing policy to the UE.
  • the method for RAN to send the packet processing strategy to the UE is: RAN sends the NAS message to the UE through AN specific signaling exchange, and the NAS message includes the packet processing strategy.
  • Step S12 The UE marks the uplink data packet according to the data packet processing policy, and sends the marked uplink data packet to the RAN device.
  • the UE when processing uplink data packets, marks the category of the PDCP uplink data packet to be sent according to the data packet processing policy.
  • the UE can set the category of the PDCP uplink data packet to be sent according to the service type.
  • the UE also performs optimization processing on uplink data packets.
  • This optimization process may be packet loss processing, that is, when uplink packet loss conditions are met (for example, cache congestion occurs), cached uplink data packets are discarded according to the data packet processing policy.
  • a specific processing method is: the UE classifies the PDCP uplink data packets to be sent according to the data packet processing policy, and stores PDCP data packets of different categories in different buffer areas. According to the data packet processing policy and the category of the PDCP data packet, Discard all or part of the data packets in at least one buffer.
  • the UE also performs optimization processing on downlink data packets.
  • This optimization process may be packet loss processing, that is, when downlink packet loss conditions are met (for example, cache congestion occurs), cached downlink data packets are discarded according to the data packet processing policy.
  • a specific processing method is: the UE classifies the received PDCP data packets according to the data packet processing policy, stores PDCP data packets of different categories in different buffer areas, and according to the data packet processing policy and the category of the PDCP data packet, Discard all or part of the data packets in at least one buffer.
  • Step S13 The RAN device marks the uplink data packet according to the data packet processing policy.
  • the RAN device After the RAN device marks the uplink data packet according to the data packet processing policy, the RAN device sends the marked uplink data packet to the UPF device.
  • Step S14 The UPF device marks the uplink data packet according to the data packet processing policy.
  • the UPF device After the UPF device marks the uplink data packet according to the packet processing policy, the UPF device sends the marked uplink data packet to the AF device.
  • the execution steps are not limited to the above order.
  • the UPF or RAN device can perform marking of uplink data packets and marking of downlink data packets at the same time.
  • the user layer device can be a UPF device, a RAN device or a UE device.
  • the user layer device can effectively mark data packets of different categories according to the data packet processing policy, thereby processing data packets of different categories according to the category of the data packet. Carry out reasonable processing and improve data processing efficiency.
  • embodiments of the present disclosure also provide a communication device, which can have the functions of the AF device in the above method embodiments, and is used to perform the steps performed by the AF device in the above embodiments.
  • This function can be realized by hardware, or it can be realized by software or hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the communication device 900 shown in FIG. 9 can serve as the AF device involved in the above method embodiment, and perform the steps performed by the AF device in the above method embodiment.
  • the communication device 900 shown in FIG. 9 includes a transceiver module 901.
  • the transceiver module 901 is configured to send guidance information to the PCF, and to send category-marked data packets to the UPF.
  • the guidance information includes multiple categories for data packet processing, the locations of the categories at the data packets, and ranking information of processing priorities of the multiple categories.
  • the header of the security protocol or transport protocol of the data packet includes the category.
  • the header of the application transport protocol of the data packet includes the category.
  • the category is located in the header of the security protocol or transport protocol in the data packet.
  • the position of the classification in the data packet is the header of the application transport protocol.
  • embodiments of the present disclosure also provide a communication device, which can have the functions of the user layer device in the above method embodiments, and is used to perform the functions performed by the user layer device provided in the above embodiments.
  • a step of. This function can be realized by hardware, or it can be realized by software or hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the communication device 1000 shown in Figure 10 can serve as the user layer device involved in the above method embodiment, and perform the steps performed by the user layer device in the above method embodiment.
  • the user layer device may be a UPF device, a RAN device or a UE.
  • the communication device 1000 shown in FIG. 10 includes a transceiver module 1001 and a processing module 1002.
  • the transceiver module 1001 is configured to receive a data packet processing policy.
  • the data packet processing policy is determined based on guidance information sent by the application function AF device.
  • the guidance information includes multiple categories for data packet processing.
  • the categories The location of the data packet and the sorting information of the processing priorities of the multiple categories;
  • the processing module 1002 is configured to mark the category of the data packet to be sent according to the data packet processing policy
  • the transceiver module 1001 is also configured to send the data packet to be sent.
  • the processing module 1002 is further configured to perform packet loss processing on cached data packets according to the data packet processing policy when the packet loss condition is met.
  • the processing module 1002 is further configured to classify the received data packets in the first protocol format according to the data packet processing policy, and classify the data in the first protocol format in different categories. Packets are stored in different buffer areas; and all or part of the data packets in at least one buffer area are discarded according to the data packet processing policy and the type of data packets in the first protocol format.
  • the processing module 1002 is also configured to mark the category of the data packet in the second protocol format to be sent according to the data packet processing policy, and the categories of the same data packet in different protocol formats correspond to The processing priority is the same.
  • embodiments of the present disclosure also provide a communication device, which can have the functions of the UPF device in the above method embodiments, and is used to perform the steps performed by the UPF device in the above embodiments.
  • This function can be implemented by hardware, or it can be implemented by software or hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • this communication device can serve as the UPF device involved in the above method embodiment, and perform the steps performed by the user layer device in the above method embodiment.
  • the communication device includes a transceiver module and a processing module.
  • the transceiver module is configured to receive a data packet processing policy sent by the session management function SMF device.
  • the data packet processing policy is determined based on the guidance information sent by the application function AF device.
  • the guidance information includes multiple parameters for data packet processing. Categories, the location of the category in the data packet, and the sorting information of the processing priorities of the multiple categories;
  • a processing module configured to mark the category of the data packet to be sent according to the data packet processing policy
  • the transceiver module is further configured to send the downlink data packet to be sent to a radio access network RAN device, and/or send the uplink data packet to be sent to the SMF.
  • the processing module is further configured to perform packet loss processing on cached data packets according to the data packet processing policy when packet loss conditions are met.
  • the processing module is further configured to classify the received data packets in the third protocol format according to the data packet processing policy, and store the data packets in the first protocol format in different categories. in different buffer areas; according to the data packet processing policy and the type of data packets in the third protocol format, discard all or part of the data packets in at least one buffer area.
  • the processing module is further configured to mark the category of the data packet in the fourth protocol format to be sent according to the data packet processing policy, and the processing corresponding to the category of the same data packet in different protocol formats is prioritized. Level is the same.
  • the data packet in the third protocol format is a downlink data packet in an application layer media transmission protocol format
  • the data packet in the fourth protocol format is a downlink data packet in a transmission tunnel protocol format
  • the data packet in the third protocol format is an uplink data packet in a transmission tunnel protocol format
  • the data packet in the fourth protocol format is an uplink data packet in an application layer media transmission protocol format.
  • embodiments of the present disclosure also provide a communication device, which can have the functions of the RAN device in the above method embodiments, and is used to perform the steps performed by the RAN device provided in the above embodiments.
  • This function can be implemented by hardware, or it can be implemented by software or hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • this communication device can serve as the RAN device involved in the above method embodiment, and perform the steps performed by the user layer device in the above method embodiment.
  • the communication device includes a transceiver module and a processing module.
  • the transceiver module is configured to receive a data packet processing policy sent by the access and mobility management function AMF device.
  • the data packet processing policy is determined based on the guidance information sent by the application function AF device.
  • the guidance information includes data for Multiple categories of packet processing, the locations of the categories at the data packets, and the sorting information of the processing priorities of the multiple categories;
  • a processing module configured to mark the category of the data packet to be sent according to the data packet processing policy
  • the transceiver module is further configured to send the downlink data packet to be sent to the user equipment UE, and/or send the uplink data packet to be sent to the UPF.
  • the processing module is further configured to perform packet loss processing on cached data packets according to the data packet processing policy when the packet loss condition is met.
  • the processing module is further configured to classify the received data packets in the fifth protocol format according to the data packet processing policy, and classify the data packets in the fifth protocol format of different categories into Stored in different buffer areas; according to the data packet processing policy and the type of data packets in the fifth protocol format, discard all or part of the data packets in at least one buffer area.
  • the processing module is also configured to mark the category of the data packet in the sixth protocol format to be sent according to the data packet processing policy, and process the category of the same data packet in different protocol formats accordingly.
  • the priority is the same.
  • the data packet in the fifth protocol format is a downlink data packet in a transport tunnel protocol format
  • the data packet in the sixth protocol format is a downlink data packet in an access layer protocol format
  • the data packet in the fifth protocol format is an uplink data packet in an access layer protocol format
  • the data packet in the sixth protocol format is an uplink data packet in a transport tunnel protocol format.
  • embodiments of the present disclosure also provide a communication device, which can have the functions of the UE in the above method embodiments, and is used to perform the steps performed by the UE provided in the above embodiments.
  • This function can be implemented by hardware, or it can be implemented by software or hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • this communication device can serve as the UE involved in the above method embodiment, and perform the steps performed by the user layer device in the above method embodiment.
  • the communication device includes a transceiver module and a processing module.
  • a transceiver module configured to receive a data packet processing policy sent by a radio access network RAN device, where the data packet processing policy is determined based on guidance information sent by an application function AF device, where the guidance information includes data packet processing.
  • a processing module configured to mark the category of the uplink data packet to be sent according to the data packet processing policy
  • the transceiver module is further configured to send the to-be-sent uplink data packet to the RAN device.
  • the processing module is also configured to receive a data packet processing policy sent by the radio access network RAN device, where the data packet processing policy is determined based on the guidance information sent by the application function AF device, so
  • the guidance information includes a plurality of categories for data packet processing, the positions of the categories at the data packets, and the sorting information of the processing priorities of the multiple categories;
  • the transceiver module is further configured to receive a NAS message sent by the RAN device, where the NAS message includes the data packet processing policy.
  • the processing module is further configured to perform packet loss processing on cached data packets according to the data packet processing policy when the packet loss condition is met.
  • the processing module is further configured to classify the received downlink data packets in the seventh protocol format according to the data packet processing policy, and separate the different categories of downlink data packets in the seventh protocol format into Data packets are stored in different buffer areas; all or part of the data packets in at least one buffer area are discarded according to the data packet processing policy and the type of downlink data packets in the seventh protocol format.
  • the transceiver module is also configured to policy-mark the categories of uplink data packets to be sent, including:
  • the present disclosure also provides a computer-readable storage medium. Instructions (or computer programs, programs) are stored in the computer-readable storage medium. When called and executed on a computer, the computer is caused to execute the instructions corresponding to each of the above-mentioned devices. Packet processing methods.
  • each of the above-mentioned processing units or steps can be implemented with a general-purpose computing device, which can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices.
  • they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be separately made into individual integrated circuit modules, or multiple of them can be modules or steps are made into a single integrated circuit module.
  • the present disclosure is not limited to any specific combination of hardware and software.
  • the AF device sends guidance information on the control level and data packets marked with categories on the data level, so that the user layer device can learn the categories of different data packets, so that different types of data packets can be processed differently, which is beneficial to Improvement of data processing effects.
  • the user layer device receives guidance information at the control level and receives data packets marked with categories at the data level, so that the user layer device can learn the categories of different data packets and perform different processing on data packets of different categories, which is beneficial to Improvement of data processing effects.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本公开提供一种数据包处理方法、装置及可读存储介质,应用于无线通信技术领域,此方法包括:应用功能AF执行,所述方法包括:向PCF发送指导信息,以及,向UPF发送标记有类别的数据包。其中,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。本公开中,AF设备在控制层面上发送指导信息,在数据层面上发送标记有类别的数据包,从而可以使用户层设备获知不同数据包的类别,从而针对不同类别的数据包可以进行不同的处理,有利于数据处理效果的提升。

Description

一种数据包处理方法、装置及可读存储介质 技术领域
本公开涉及无线通信技术领域,尤其涉及一种数据包处理方法、装置及可读存储介质。
背景技术
扩展现实(extended reality,XR)是指由计算机技术和可穿戴设备产生的所有真实与虚拟的组合环境和人机交互,包括增强现实augmented reality,AR)、混合现实(mixed reality,MR)和虚拟现实(virtual reality,VR)等代表性形式,以及它们之间的插值区域。扩展现实媒体(extended reality and media,XRM)业务是基于XR的媒体业务。
在一种实施方式中,应用层中生成的一个信息单元的载荷可以由一个协议数据单元(Professional Development Unit,PDU)集(set)承载,其中的一个信息单元可以是XRM业务中的一帧或一个切片。一个PDU集可以包括一个或多个PDU,一个PDU集中的每个PDU在应用层具有相同的重要性要求。
PDU集中的数据包在应用层中具有内在的相互依赖性。第五代(5G)系统(5GS)需要考虑属于PDU集的不同数据包之间的依赖性,以提高资源利用率。5GS可以以PDU集为粒度识别或处理数据包。
然而,XRM业务在传输过程中可能使用不同的编码格式和传输协议,如何有效识别和处理PDU集是需要解决的技术问题。
发明内容
本公开提供一种数据包处理方法、装置及可读存储介质。
第一方面,提供一种数据包处理方法,由应用功能AF执行,所述方法包括:
向PCF发送指导信息,以及,向UPF发送标记有类别的数据包。
本方法中,AF设备在控制层面上发送指导信息,在数据层面上发送标记有类别的数据包,从而可以使用户层设备获知不同数据包的类别,从而针对不同类别的数据包可以进行不同的处理,有利于数据处理效果的提升。
在一些可能的实施方式中,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
在一些可能的实施方式中,所述数据包使用安全协议时,所述数据包的安全协议或传输协议的头部包括所述类别。
在一些可能的实施方式中,所述数据包未使用安全协议时,所述数据包的应用传输协议的头部包括所述类别。
在一些可能的实施方式中,所述数据包使用安全协议时,所述类别处于所述数据包的位置为安全协议或传输协议的头部。
在一些可能的实施方式中,所述数据包未使用安全协议时,所述分类处于所述数据包的位置为应用传输协议的头部。
第二方面,提供一种数据包处理方法,由用户层设备执行,所述方法包括:
接收数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
根据所述数据包处理策略标记待发送的数据包的类别;
发送所述待发送的数据包。
本方法中,用户层设备在控制层面上接收指导信息,在数据层面上接收标记有类别的数据包,从而用户层设备可以获知不同数据包的类别,从而针对不同类别的数据包可以进行不同的处理,有利于数据处理效果的提升。
在一些可能的实施方式中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一些可能的实施方式中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
根据所述数据包处理策略对已接收的第一协议格式的数据包进行分类,将不同类别的所述第一协议格式的数据包存储于不同的缓存区;
根据所述数据包处理策略和所述第一协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一些可能的实施方式中,所述根据所述数据包处理策略标记待发送的数据包的类别,包括:
根据所述数据包处理策略标记待发送的第二协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
第三方面提供了一种数据包处理方法,由用户面功能UPF设备执行,所述方法包括:
接收会话管理功能SMF设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
根据所述数据包处理策略标记待发送的下行数据包或上行数据包的类别;
向无线接入网络RAN设备发送所述待发送的下行数据包,和/或,向所述SMF发送所述待发送的上行数据包。
在一些可能的实施方式中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一些可能的实施方式中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
根据所述数据包处理策略对已接收的第三协议格式的数据包进行分类,将不同类别的所述第一协议格式的数据包存储于不同的缓存区;
根据所述数据包处理策略和所述第三协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一些可能的实施方式中,所述根据所述数据包处理策略标记待发送的数据包的类别,包括:
根据所述数据包处理策略标记待发送的第四协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
在一些可能的实施方式中,所述第三协议格式的数据包为应用层媒体传输协议格式的下行数据包,所述第四协议格式的数据包为传输隧道协议格式的下行数据包;
或者,
所述第三协议格式的数据包为传输隧道协议格式的上行数据包,所述第四协议格式的数据包为应用层媒体传输协议格式的上行数据包。
第四方面提供了一种数据包处理方法,由无线接入网络RAN设备执行,所述方法包括:
接收接入与移动性管理功能AMF设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
根据所述数据包处理策略标记待发送的下行数据包或上行数据包的类别;
向用户设备UE发送所述待发送的下行数据包,和/或,向UPF发送所述待发送的上行数据包。
在一些可能的实施方式中,所述方法还包括:
接收所述AFM发送的NAS消息,向所述UE转发所述NAS消息,所述NAS消息中包括所述策略。
在一些可能的实施方式中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一些可能的实施方式中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
根据所述数据包处理策略对已接收的第五协议格式的数据包进行分类,将不同类别的所述第五协议格式的数据包存储于不同的缓存区;
根据所述数据包处理策略和所述第五协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一些可能的实施方式中,所述根据所述数据包处理策略标记待发送的数据包的类别,包括:
根据所述数据包处理策略标记待发送的第六协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
在一些可能的实施方式中,所述第五协议格式的数据包为传输隧道协议格式的下行数据包,所述第六协议格式的数据包为接入层协议格式的下行数据包;或者,所述第五协议格式的数据包为接入层协议格式的上行数据包,所述第六协议格式的数据包为传输隧道协议格式的上行数据包。
第五方面提供了一种数据包处理方法,由用户设备UE执行,所述方法包括:
接收无线接入网络RAN设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
根据所述数据包处理策略标记待发送的上行数据包的类别;
向所述RAN设备发送所述待发送的上行数据包。
在一些可能的实施方式中,所述接收无线接入网络RAN设备发送的数据包处理策略,包括:
接收所述RAN设备发送的NAS消息,所述NAS消息中包括所述数据包处理策略。
在一些可能的实施方式中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一些可能的实施方式中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
根据所述数据包处理策略对已接收的第七协议格式的下行数据包进行分类,将不同类别的所述第七协议格式的下行数据包存储于不同的缓存区;
根据所述数据包处理策略和所述第七协议格式的下行数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一些可能的实施方式中,所述根据所述数据包处理策略标记待发送的上行数据包的类别,包括:根据所述数据包处理策略标记待发送的第八协议格式的上行数据包的类别。
第六方面,提供一种通信装置。该通信装置可用于执行上述第一方面或第一方面的任一可能的设计中由AF执行的步骤。可通过硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各方法中的各功能。
在通过软件模块实现第一方面所示通信装置时,该通信装置可包括收发模块和处理模块。
第七方面,提供一种通信装置。该通信装置可用于执行上述第二方面或第二方面的任一可能的设计中由用户层设备执行的步骤。可通过硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各方法中的各功能。
在通过软件模块实现第二方面所示通信装置时,该通信装置可包括收发模块和处理模块。
第八方面,提供一种通信装置。该通信装置可用于执行上述第三方面或第三方面的任一可能的设计中由AF设备执行的步骤。可通过硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各方法中的各功能。
在通过软件模块实现第三方面所示通信装置时,该通信装置可包括收发模块和处理模块。
第九方面,提供一种通信装置。该通信装置可用于执行上述第四方面或第四方面的任一可能的设计中由RAN设备执行的步骤。可通过硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各方法中的各功能。
在通过软件模块实现第四方面所示通信装置时,该通信装置可包括收发模块和处理模块。
第十方面,提供一种通信装置。该通信装置可用于执行上述第五方面或第五方面的任一可能的设计中由UE执行的步骤。可通过硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各方法中的各功能。
在通过软件模块实现第五方面所示通信装置时,该通信装置可包括收发模块和处理模块。
第十一方面,提供一种通信装置,包括处理器以及存储器;所述存储器用于存储计算机程序;所述处理器用于执行所述计算机程序,以实现第一方面或第一方面的任意一种可能的设计。
第十二方面,提供一种通信装置,包括处理器以及存储器;所述存储器用于存储计算机程序;所述处理器用于执行所述计算机程序,以实现第二方面或第二方面的任意一种可能的设计。
第十三方面,提供一种通信装置,包括处理器以及存储器;所述存储器用于存储计算机程序;所述处理器用于执行所述计算机程序,以实现第三方面或第三方面的任意一种可能的设计。
第十四方面,提供一种通信装置,包括处理器以及存储器;所述存储器用于存储计算机程序;所述处理器用于执行所述计算机程序,以实现第四方面或第四方面的任意一种可能的设计。
第十五方面,提供一种通信装置,包括处理器以及存储器;所述存储器用于存储计算机程序;所述处理器用于执行所述计算机程序,以实现第五方面或第五方面的任意一种可能的设计。
第十六方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令(或称计算机程序、程序),当其在计算机上被调用执行时,使得计算机执行上述第一方面或第一方面的任意一种可能的设计。
第十七方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令(或称计算机程序、程序),当其在计算机上被调用执行时,使得计算机执行上述第二方面或第二方面的任意一种可能的设计。
第十八方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令(或称计算机程序、程序),当其在计算机上被调用执行时,使得计算机执行上述第三方面或第三方面的任意一种可能的设计。
第十九方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令(或称计算机程序、程序),当其在计算机上被调用执行时,使得计算机执行上述第四方面 或第四方面的任意一种可能的设计。
第二十方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令(或称计算机程序、程序),当其在计算机上被调用执行时,使得计算机执行上述第五方面或第五方面的任意一种可能的设计。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处所说明的附图用来提供对本公开实施例的进一步理解,构成本申请的一部分,本公开实施例的示意性实施例及其说明用于解释本公开实施例,并不构成对本公开实施例的不当限定。在附图中:
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开实施例的实施例,并与说明书一起用于解释本公开实施例的原理。
图1为本申请实施例提供的一种通信系统架构的示意图;
图2为本申请实施例提供的一种协议栈示意图;
图3为本申请实施例提供的一种协议栈示意图;
图4为本申请实施例提供的一种数据包处理方法的流程图;
图5为本申请实施例提供的另一种数据包处理方法的流程图;
图6为本申请实施例提供的另一种数据包处理方法的流程图;
图7为本申请实施例提供的另一种数据包处理方法的流程图;
图8为本申请实施例提供的另一种数据包处理方法的流程图;
图9为本申请实施例提供的一种数据包处理装置的结构图;
图10为本申请实施例提供的另一种数据包处理装置的结构图。
具体实施方式
现结合附图和具体实施方式对本公开实施例进一步说明。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
在本公开实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开实施例。在本公开实施例和所附权利要求书中所使用的单数形式的“一种”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本公开实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开实施例范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”及“若”可以被解释成为“在……时”或“当……时”或“响应于确定”。
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的要素。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。
图1为本申请实施例适用的一种网络架构示意图。如图1所示,用户设备可接入到无线网络,以通过无线网络获取外网(例如因特网)的服务,或者通过无线网络与其它设备通信,如可以与其它用户设备通信。该无线网络包括无线接入网(radio access network,RAN)设备(或者说网络设备)和核心网(core network,CN)设备,其中RAN设备用于将用户设备接入到无线网络,CN设备用于对用户设备进行管理并提供与外网通信的网关。应理解,图1所示的通信系统中各个设备的数量仅作为示意,本申请实施例并不限于此,实际应用中在通信系统中还可以包括更多的用户设备、更多的RAN设备,还可以包括其它设备。
CN中可以包括多个CN设备,当图1所示的网络架构适用于5G通信系统时,CN设备可以包括:接入和移动性管理功能(access and mobility management function,AMF)实体、会话管理功能(session management function,SMF)实体、用户面功能(user plane function,UPF)实体、
无线通信系统100包括用户设备101、无线接入网设备102和核心网设备,其中,核心网设备,包括:接入与移动性管理功能(Access and Mobility Management Function,AMF)设备103、会话管理功能(Session Management Function,SMF)设备104、用户面功能(User Plane Function,UPF)设备105、策略和计费功能(Policy and charging function,PCF)设备106、网络开放功能(Network Exposure Function,NEF)设备107、应用功能(Application Function,AF)设备108。
RAN设备和用户设备之间的通信遵循一定的协议层结构,例如控制面协议层结构可以包括无线资源控制(radio resource control,RRC)层、分组数据汇聚层协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理层等协议层的功能;用户面协议层结构可以包括PDCP层、RLC层、MAC层和物理层等协议层的功能。
RAN和UPF一般被称为用户层网络功能实体,用户设备的数据流量可以通过用户设备和应用层设备之间建立的分组数据单元(packet data unit,PDU)会话(Session)进行传输,传输会经过RAN和UPF这两个网络功能设备;而其他的部分则被称为控制层网络功能和实体,主要负责认证和鉴权、注册管理、会话管理、移动性管理以及策略控制等功能,从而实现用户层流量可靠稳定的传输。
需要说明的是,图1中的AF设备、AMF设备、UPF设备等仅是一个名字,名字对设备本身不构成限定。在5G网络以及未来其它的网络中,图1所示的实体也可以是其他的名字,本公开中对此不作具体限定。
考虑到可以使AF为不同的数据包设置不同的类别,从而在数据层面上传输标记有类别的数据包。AF还确定指导信息以表示类别的相关信息,AF将指导信息从控制层面发送至PCF,PCF根据指导信息确定出数据包处理策略,并在控制层面传输所述数据包处理策略,从而使用户层设备(可以为UPF设备、RAN设备或UE设备)根据数据包处理策略对区分有不同类别的数据包进行更好的处理,满足不同的处理需求。
本公开实施例中提供了一种数据包处理方法,此方法应用于应用功能AF设备,此方法包括:向PCF发送指导信息,以及,向UPF发送标记有类别的数据包。
在一实施方式中,指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
通过此方法,AF发送的每个数据包均对应于一个类别,为接收到数据包的其它设备根据类别分出不同类别的数据包提供了前提。
AF发送的数据包可以使用不同的协议栈,例如,数据包对应的协议栈从底层到高层的顺序可以如图2所示,也可以如图3所示,图3与图2的区别在于不包括安全协议。具体的:
所述数据包使用安全协议时,所述数据包的安全协议的头部或传输协议的头部包括所述类别。其中,安全协议可以为SSL或TLS;传输协议为传输控制协议(transmission control protocol,TCP)或用户数据报协议(user data protocol,UDP)。
所述数据包未使用安全协议时,所述数据包的应用传输协议的头部包括所述类别。其中应用传输协议为实时传输协议(Real-time Transport Protocol,RTP)或安全实时传输协议(Secure Real-time Transport Protocol,SRTP)或DASH。
相应的,关于类别处于所述数据包的位置,所述数据包使用安全协议时,所述类别处于所述数据包的位置为安全协议或传输协议的头部。所述数据包未使用安全协议时,所述分类处于所述数据包的位置为应用传输协议的头部。
本公开实施例中,AF设备在控制层面上发送指导信息,在数据层面上发送标记有类别的数据包,从而可以使用户层设备获知不同数据包的类别,从而针对不同类别的数据包可以进行不同的处理,有利于数据处理效果的提升。
本公开实施例中提供了一种数据包处理方法,此方法应用于用户层设备,用户层设备可以是UPF设备、RAN设备或UE。如图4所示,此方法包括:
步骤S401,接收数据包处理策略。
接收的数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
步骤S402,根据数据包处理策略标记待发送的数据包的类别。
在一实施方式中,根据数据包处理策略标记待发送的数据包的类别的方法,包括:根据所述数据包处理策略标记待发送的第二协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
步骤S403,发送所述待发送的数据包。
在一些实施方式中,步骤S401和402之间还可以包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
其中,对数据包进行缓存时可以将不同类别的所述第一协议格式的数据包存储于不同的缓存区,在满足丢包条件时,根据所述数据包处理策略和所述第一协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
还可以使用不同的丢弃规则进行丢弃,例如:缓存区的个数为三个时,此丢弃规则可以为以下规则中的一种:按照处理优先级从低到高的顺序依次删除;删除第三缓存中的全部数据包;删除第三缓存中的设定百分比的数据包;删除第二缓存和第三缓存中的全部数 据包;删除第二缓存和第三缓存中的设定百分比的数据包。
本公开实施例中,用户层设备在控制层面上接收指导信息,在数据层面上接收标记有类别的数据包,从而用户层设备可以获知不同数据包的类别,从而针对不同类别的数据包可以进行不同的处理,有利于数据处理效果的提升。
本公开实施例中提供了一种数据包处理方法,此方法应用于UPF设备,如图5所示,此方法包括:
步骤S501,接收SMF设备发送的数据包处理策略。
接收的数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
步骤S502,根据数据包处理策略标记待发送的下行数据包或上行数据包的类别。
步骤S503,向RAN设备发送所述待发送的下行数据包,和/或,向SMF设备发送所述待发送的上行数据包。
此方法中,UPF设备接收的数据包可以称为第三协议格式的数据包,发送的数据包可以称为第四协议格式的数据包。
例如:
对于下行方向,第三协议格式的数据包为应用层媒体传输协议格式的下行数据包,第四协议格式的数据包为传输隧道协议格式的下行数据包;对于上行方向,第三协议格式的数据包为传输隧道协议格式的上行数据包,第四协议格式的数据包为应用层媒体传输协议格式的上行数据包。应用层媒体传输协议可以是RTP,传输隧道协议可以是GTP_U协议。
在一些可能的实施方式中,UPF在处理下行数据包时,根据数据包处理策略标记待发送的传输隧道协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
例如:UPF接收的下行数据包的协议为RTP,发送的下行数据包的协议为GTP_U。UPF在接收到RTP下行数据包后,将此RTP下行数据包进行格式转换,转换为GTP_U下行数据包。
UPF对不同协议格式的同一数据包进行类别标记时,可以采用相同的类别指示标志,也可以采用不同的类别指示标志。以UPF接收到的RTP数据包的头部携带的类别为a为例,分别说明如下:
采用相同的类别指示标志时,标记相应的待发送的GTP_U数据包的类别为a。
采用不同的类别指示标志时,标记待发送的GTP_U数据包的类别为1,其中,GTP_U数据包的类别包括三种,按照处理优先级从高到低的顺序为1,2,3。UPF确定对应于同一处理优先级的不同的类别,即类别a对应于类别1,类别b对应于类别2,类别c对应于类别3。即UPF接收到RTP数据包的头部携带的类别为最高处理优先级对应的类别,则标记待发送的GTP_U数据包的类别也为最高处理优先级对应的类别。
可以理解的是,UPF接收的下行数据包的协议格式不局限于RTP格式,也可以是其它格式。
在一些可能的实施方式中,UPF在接收到标记有类别的RTP数据包的前提下,可以对下行数据包进行优化处理。此优化处理可以是丢包处理,即UPF在满足丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
一种具体的处理方式为:UPF根据数据包处理策略对已接收的RTP数据包进行分类,将不同类别的RTP数据包存储于不同的缓存区,根据数据包处理策略和RTP数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
例如:数据包处理策略包括以下信息:共包括三种类别,此三种类别包括a,b,c;处理优先级从高到低的顺序为a,b,c。UPF对已接收的RTP数据包分类,将类别为a的RTP数据包存储于第一缓存,将类别为b的RTP数据包存储于第二缓存,将类别为c的RTP数据包存储于第三缓存。在产生缓存拥塞时,根据丢弃规则丢弃至少一缓存区中的全部或部分的数据包。
此丢弃规则可以为以下规则中的一种:按照处理优先级从低到高的顺序依次删除;删除第三缓存中的全部数据包;删除第三缓存中的设定百分比的数据包;删除第二缓存和第三缓存中的全部数据包;删除第二缓存和第三缓存中的设定百分比的数据包。
可以理解的是,UPF在处理从RAN接收到的上行数据包时,处理方式与对下行数据包的处理方式同理。
本公开实施例中提供了一种数据包处理方法,此方法应用于RAN设备,如图6所示,此方法包括:
步骤S601,接收AMF设备发送的数据包处理策略。
接收的数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
步骤S602,根据数据包处理策略标记待发送的下行数据包或上行数据包的类别;
步骤S603,向用户设备UE发送待发送的下行数据包,和/或,向UPF发送待发送的上行数据包。
此方法中,RAN设备接收的数据包可以称为第五协议格式的数据包,发送的数据包可以称为第六协议格式的数据包。
例如:
对于下行方向,所述第五协议格式的数据包为传输隧道协议格式的下行数据包,所述第六协议格式的数据包为接入层协议格式的下行数据包;
对于上行方向,所述第五协议格式的数据包为接入层协议格式的上行数据包,所述第六协议格式的数据包为传输隧道协议格式的上行数据包。
在一些可能的实施方式中,RAN在处理下行数据包时,根据数据包处理策略标记待发送的PDCP数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
例如:RAN接收的下行数据包的协议为GTP_U,发送的下行数据包的协议为PDCP。 RAN在接收到GTP_U下行数据包后,将此GTP_U下行数据包进行格式转换,转换为PDCP下行数据包。
RAN对不同协议格式的同一数据包进行类别标记时,可以采用相同的类别指示标志,也可以采用不同的类别指示标志。以RAN接收到的GTP_U数据包的头部携带的类别为a为例,分别说明如下:
采用相同的类别指示标志时,标记相应的待发送的PDCP数据包的类别为1。
采用不同的类别指示标志时,标记待发送的PDCP数据包的类别为1,其中,PDCP数据包的类别包括三种,按照处理优先级从高到低的顺序为A,B,C。RAN确定对应于同一处理优先级的不同的类别标志,即类别1对应于类别A,类别2对应于类别B,类别3对应于类别C。即RAN接收到GTP_U数据包的头部携带的类别为最高处理优先级对应的类别,则标记待发送的PDCP数据包的类别也为最高处理优先级对应的类别。
可以理解的是,RAN接收的下行数据包的格式不局限于PDCP格式,也可以是其它格式。
在一些可能的实施方式中,RAN还对下行数据包进行优化处理。此优化处理可以是丢包处理,即RAN在满足丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
一种具体的处理方式为:RAN根据数据包处理策略对已接收的GTP_U数据包进行分类,将不同类别的GTP_U数据包存储于不同的缓存区,根据数据包处理策略和GTP_U数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
可以理解的是,RAN在处理从UE接收到的上行数据包时,处理方式与对下行数据包的处理方式同理。
本公开实施例中提供了一种数据包处理方法,此方法应用于UE,如图7所示,此方法包括:
步骤S701,接收RAN设备发送的数据包处理策略。
接收所述RAN设备发送的数据包处理策略的方法可以是:接收RAN设备发送的NAS消息,所述NAS消息中包括所述数据包处理策略。
接收的数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
步骤S702,根据数据包处理策略标记待发送的上行数据包的类别;
步骤S703,向RAN设备发送所述待发送的上行数据包。
此方法中,UE设备接收的数据包可以称为第七协议格式的数据包,发送的数据包可以称为第八协议格式的数据包。
例如:第七协议格式和第八协议格式均为PDCP格式。
在一些可能的实施方式中,UE在处理上行数据包时,根据数据包处理策略标记待发送的PDCP上行数据包的类别。
其中,UE可以根据业务类型设置待发送的PDCP上行数据包的类别。
例如:UE根据数据包处理策略获知AF设置的数据包的类别包括三种类别,从高到低的顺序为a,b,c,则UE根据业务类型设置不同的PDCP上行数据包的类别也包括三种类别,处理优先级从高到低的顺序为A,B,C。
在一些可能的实施方式中,UE还对上行数据包进行优化处理。此优化处理可以是丢包处理,即在满足上行的丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的上行数据包进行丢包处理。
一种具体的处理方式为:UE根据数据包处理策略对待发送的PDCP上行数据包进行分类,将不同类别的PDCP数据包存储于不同的缓存区,根据数据包处理策略和PDCP数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一些可能的实施方式中,UE还对下行数据包进行优化处理。此优化处理可以是丢包处理,即在满足下行的丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的下行数据包进行丢包处理。
一种具体的处理方式为:UE根据数据包处理策略对已接收的PDCP数据包进行分类,将不同类别的PDCP数据包存储于不同的缓存区,根据数据包处理策略和PDCP数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
下面通过一个实施例进行详细说明。
本公开实施例中提供了一种基于图1所示网络结构的数据包处理方法,如图8所示,此数据包处理方法包括步骤S1~S14,具体包括:
步骤S1,UE发起对移动网络的注册以及发起PDU会话建立请求。
当UE处于空闲态且有上行数据需要发送时,向AMF发送服务请求消息(Service Request),并携带信元PDU会话状态(pdu session status)和上行数据状态(uplink data status);AMF接收到该服务请求消息(Service Request)后,向SMF发送更新会话管理上下文请求消息(UpdateSMContextRequest),以向SMF同步PDU会话状态(pdu session status)和上行数据状态(uplink data status);接着,SMF向UPF发送会话更新请求消息(Session Modification Request),以向UPF同步PDU会话状态(pdu sessionstatus)和上行数据状态(uplink data status);UPF向SMF回复会话更新应答消息(Session Modification Response),携带PDU会话状态同步结果和UPF侧的N3隧道信息;SMF向AMF回复更新会话管理上下文请求响应消息(UpdateSMContextResponse),携带PDU会话状态同步结果和UPF侧的N3隧道信息,之后由AMF进行相关处理后,获取到无线接入网RAN和用户平面功能UPF之间N3隧道的创建结果。SMF还向UE分配并发送新的IP地址。
步骤S2,UE向AF发起应用请求。
UE向AF发起的应用请求可以是音频请求、视频请求或者同时包括音频和视频的多媒体请求。AF在应用层(例如通过RTP)与UE交互。
在一实施方式中,数据包对应的协议栈从底层到高层的顺序可以如图2所示,也可以如图3所示,图3与图2的区别在于不包括安全协议。
步骤S3,AF向PCF发送指导信息,以及,向UPF发送标记有类别的数据包。
其中,PCF接收到AF发送的指导信息后,会在后续流程中通过SMF发送至UPF,从而使UPF从控制层面上接收到指导信息,从数据层面上接收到标记有类别的下行的数据包。
所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
AF发送的数据包可以使用不同的协议栈,例如,数据包对应的协议栈从底层到高层的顺序可以如图2所示,也可以如图3所示,图3与图2的区别在于不包括安全协议。具体的:
所述数据包使用安全协议时,所述数据包的安全协议的头部或传输协议的头部包括所述类别。其中,安全协议可以为SSL或TLS;传输协议为传输控制协议(transmission control protocol,TCP)或用户数据报协议(user data protocol,UDP)。
所述数据包未使用安全协议时,所述数据包的应用传输协议的头部包括所述类别。其中应用传输协议为RTP或SRTP或DASH。
在一些可能的实施方式中,AF向PCF发送指导信息的方法为:AF通过Nnef_AFsessionWithQoS_Create将指导信息发送至NEF,NEF认证完成后,通过Npcf_PolicyAuthorization_Create将其发送给PCF。
步骤S4,PCF根据指导信息确定数据包处理策略。
PCF可以根据不同的指导信息确定出不同的数据包处理策略。例如:指导信息中包括三种类别,并且包括三个类别的处理优先级的排序信息,例如,此三种类别包括a,b,c,处理优先级从高到低的顺序为a,b,c。PCF根据此指导信息确定的数据包处理策略中包括以下信息:共包括三种类别,此三种类别包括a,b,c,处理优先级从高到低的顺序为a,b,c。
步骤S5,PCF向SMF发送数据包处理策略。
在一示例中,PCF向SMF发送数据包处理策略的方法为:PCF通过Npcf_SMPolicyControl_UpdateNotify request将数据包处理策略发送至SMF。
步骤S6,SMF向UPF发送数据包处理策略。
在一示例中,SMF向UPF发送数据包处理策略的方法为:SMF通过N4Session Modification Request将数据包处理策略发送至UPF,UPF通过N4Session Modification response发送接收成功确认信息。
步骤S7,UPF根据数据包处理策略进行下行数据包标记。
在一些可能的实施方式中,UPF在处理下行数据包时,根据数据包处理策略标记待发送的传输隧道协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
例如:UPF接收的下行数据包的协议为RTP,发送的下行数据包的协议为GTP_U。UPF在接收到RTP下行数据包后,将此RTP下行数据包进行格式转换,转换为GTP_U下行数据包。
UPF对不同协议格式的同一数据包进行类别标记时,可以采用相同的类别指示标志,也可以采用不同的类别指示标志。以UPF接收到的RTP数据包的头部携带的类别为a为例,分别说明如下:
采用相同的类别指示标志时,标记相应的待发送的GTP_U数据包的类别为a。
采用不同的类别指示标志时,标记待发送的GTP_U数据包的类别为1,其中,GTP_U 数据包的类别包括三种,按照处理优先级从高到低的顺序为1,2,3。UPF确定对应于同一处理优先级的不同的类别,即类别a对应于类别1,类别b对应于类别2,类别c对应于类别3。即UPF接收到RTP数据包的头部携带的类别为最高处理优先级对应的类别,则标记待发送的GTP_U数据包的类别也为最高处理优先级对应的类别。
可以理解的是,UPF接收的下行数据包的协议格式不局限于RTP格式,也可以是其它格式。
在一些可能的实施方式中,UPF在接收到标记有类别的RTP数据包的前提下,可以对下行数据包进行优化处理。此优化处理可以是丢包处理,即UPF在满足丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
一种具体的处理方式为:UPF根据数据包处理策略对已接收的RTP数据包进行分类,将不同类别的RTP数据包存储于不同的缓存区,根据数据包处理策略和RTP数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
例如:数据包处理策略包括以下信息:共包括三种类别,此三种类别包括a,b,c;处理优先级从高到低的顺序为a,b,c。UPF对已接收的RTP数据包分类,将类别为a的RTP数据包存储于第一缓存,将类别为b的RTP数据包存储于第二缓存,将类别为c的RTP数据包存储于第三缓存。在产生缓存拥塞时,根据丢弃规则丢弃至少一缓存区中的全部或部分的数据包。
此丢弃规则可以为以下规则中的一种:按照处理优先级从低到高的顺序依次删除;删除第三缓存中的全部数据包;删除第三缓存中的设定百分比的数据包;删除第二缓存和第三缓存中的全部数据包;删除第二缓存和第三缓存中的设定百分比的数据包。
可以理解的是,UPF在处理从RAN接收到的上行数据包时,处理方式与对下行数据包的处理方式同理。
步骤S8,SMF向AMF发送数据包处理策略。
在一示例中,SMF向AMF发送数据包处理策略的方法为:通过Namf_Communication_N1N2MessageTransfer将数据包处理策略发送至AMF。
在一实施方式中,Namf_Communication_N1N2MessageTransfer中还包括用于发送至UE的NAS消息,此NAS消息中包括数据包处理策略。
步骤S9,AMF向RAN发送数据包处理策略。
在一示例中,AMF向RAN发送数据包处理策略的方法为:通过N2消息将数据包处理策略发送至RAN。N2消息中还包括用于发送至UE的NAS消息。
步骤S10,RAN根据数据包处理策略进行下行数据包标记。
在一些可能的实施方式中,RAN在处理下行数据包时,根据数据包处理策略标记待发送的PDCP数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
例如:RAN接收的下行数据包的协议为GTP_U,发送的下行数据包的协议为PDCP。RAN在接收到GTP_U下行数据包后,将此GTP_U下行数据包进行格式转换,转换为PDCP下行数据包。
RAN对不同协议格式的同一数据包进行类别标记时,可以采用相同的类别指示标志,也可以采用不同的类别指示标志。以RAN接收到的GTP_U数据包的头部携带的类别为a为例,分别说明如下:
采用相同的类别指示标志时,标记相应的待发送的PDCP数据包的类别为1。
采用不同的类别指示标志时,标记待发送的PDCP数据包的类别为1,其中,PDCP数据包的类别包括三种,按照处理优先级从高到低的顺序为A,B,C。RAN确定对应于同一处理优先级的不同的类别标志,即类别1对应于类别A,类别2对应于类别B,类别3对应于类别C。即RAN接收到GTP_U数据包的头部携带的类别为最高处理优先级对应的类别,则标记待发送的PDCP数据包的类别也为最高处理优先级对应的类别。
可以理解的是,RAN接收的下行数据包的格式不局限于PDCP格式,也可以是其它格式。
在一些可能的实施方式中,RAN还对下行数据包进行优化处理。此优化处理可以是丢包处理,即RAN在满足丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
一种具体的处理方式为:RAN根据数据包处理策略对已接收的GTP_U数据包进行分类,将不同类别的GTP_U数据包存储于不同的缓存区,根据数据包处理策略和GTP_U数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
可以理解的是,RAN在处理从UE接收到的上行数据包时,处理方式与对下行数据包的处理方式同理。
步骤S11,RAN向UE发送数据包处理策略。
其中,RAN向UE发送数据包处理策略的方法为:RAN通过AN specific signalling exchange将NAS消息发送至UE,NAS消息中包括数据包处理策略。
步骤S12,UE根据数据包处理策略进行上行数据包标记,向RAN设备发送标记后的上行数据包。
在一些可能的实施方式中,UE在处理上行数据包时,根据数据包处理策略标记待发送的PDCP上行数据包的类别。
其中,UE可以根据业务类型设置待发送的PDCP上行数据包的类别。
例如:UE根据数据包处理策略获知AF设置的数据包的类别包括三种类别,从高到低的顺序为a,b,c,则UE根据业务类型设置不同的PDCP上行数据包的类别也包括三种类别,从高到低的顺序为A,B,C。
在一些可能的实施方式中,UE还对上行数据包进行优化处理。此优化处理可以是丢包处理,即在满足上行的丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的上行数据包进行丢包处理。
一种具体的处理方式为:UE根据数据包处理策略对待发送的PDCP上行数据包进行分类,将不同类别的PDCP数据包存储于不同的缓存区,根据数据包处理策略和PDCP数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一些可能的实施方式中,UE还对下行数据包进行优化处理。此优化处理可以是丢包处理,即在满足下行的丢包条件(例如发生缓存拥塞)时,根据所述数据包处理策略对缓存的下行数据包进行丢包处理。
一种具体的处理方式为:UE根据数据包处理策略对已接收的PDCP数据包进行分类,将不同类别的PDCP数据包存储于不同的缓存区,根据数据包处理策略和PDCP数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
步骤S13,RAN设备根据数据包处理策略进行上行数据包标记。
此步骤中,RAN设备根据数据包处理策略进行上行数据包标记后,RAN设备向UPF设备发送标记后的上行数据包。
步骤S14,UPF设备根据数据包处理策略进行上行数据包标记。
此步骤中,UPF设备根据数据包处理策略进行上行数据包标记后,UPF设备向AF设备发送标记后的上行数据包。
可以理解的是,执行步骤并不局限于上述顺序,例如:UPF或RAN设备在获知数据包处理策略后,可以同时执行上行数据包的标记和下行数据包的标记。
本公开实施例中,用户层设备可以为UPF设备、RAN设备或UE设备,用户层设备根据数据包处理策略可以有效标记出不同类别的数据包,从而根据数据包的类别对不同类别的数据包进行合理的处理,提高数据处理效率。
与以上方法实施例相同的构思,本公开实施例还提供一种通信装置,该通信装置可具备上述方法实施例中的AF设备的功能,并用于执行上述实施例提供的由AF设备执行的步骤。该功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
在一种可能的实现方式中,如图9所示的通信装置900可作为上述方法实施例所涉及的AF设备,并执行上述方法实施例中由AF设备执行的步骤。
如图9所示的通信装置900包括收发模块901。
收发模块901,被配置为向PCF发送指导信息,以及,向UPF发送标记有类别的数据包。
在一些可能的实施方式中,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
在一些可能的实施方式中,所述数据包使用安全协议时,所述数据包的安全协议或传输协议的头部包括所述类别。
在一些可能的实施方式中,所述数据包未使用安全协议时,所述数据包的应用传输协议的头部包括所述类别。
在一些可能的实施方式中,所述数据包使用安全协议时,所述类别处于所述数据包的位置为安全协议或传输协议的头部。
在一些可能的实施方式中,所述数据包未使用安全协议时,所述分类处于所述数据包的位置为应用传输协议的头部。
与以上方法实施例相同的构思,本公开实施例还提供一种通信装置,该通信装置可具备上述方法实施例中的用户层设备的功能,并用于执行上述实施例提供的由用户层设备执行的步骤。该功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
在一种可能的实现方式中,如图10所示的通信装置1000可作为上述方法实施例所涉及的用户层设备,并执行上述方法实施例中由用户层设备执行的步骤。其中,用户层设备可以是UPF设备、RAN设备或UE。
如图10所示的通信装置1000包括收发模块1001和处理模块1002。
收发模块1001,被配置为接收数据包处理策略,所述数据包处理策略是根据应用功能 AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
处理模块1002,被配置为根据所述数据包处理策略标记待发送的数据包的类别;
所述收发模块1001,还被配置为发送所述待发送的数据包。
在一种可能的实现方式中,处理模块1002,还被配置为在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一种可能的实现方式中,处理模块1002,还被配置为根据所述数据包处理策略对已接收的第一协议格式的数据包进行分类,将不同类别的所述第一协议格式的数据包存储于不同的缓存区;根据所述数据包处理策略和所述第一协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一种可能的实现方式中,处理模块1002,还被配置为根据所述数据包处理策略标记待发送的第二协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
与以上方法实施例相同的构思,本公开实施例还提供一种通信装置,该通信装置可具备上述方法实施例中的UPF设备的功能,并用于执行上述实施例提供的由UPF设备执行的步骤。该功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
在一种可能的实现方式中,此通信装置可作为上述方法实施例所涉及的UPF设备,并执行上述方法实施例中由用户层设备执行的步骤。
此通信装置包括收发模块和处理模块。
收发模块,被配置为接收会话管理功能SMF设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
处理模块,被配置为根据所述数据包处理策略标记待发送的数据包的类别;
所述收发模块,还被配置为向无线接入网络RAN设备发送所述待发送的下行数据包,和/或,向所述SMF发送所述待发送的上行数据包。
在一种可能的实现方式中,处理模块还被配置为在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一种可能的实现方式中,处理模块还被配置为根据所述数据包处理策略对已接收的第三协议格式的数据包进行分类,将不同类别的所述第一协议格式的数据包存储于不同的缓存区;根据所述数据包处理策略和所述第三协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一种可能的实现方式中,处理模块还被配置为根据所述数据包处理策略标记待发送的第四协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级 相同。
在一种可能的实现方式中,所述第三协议格式的数据包为应用层媒体传输协议格式的下行数据包,所述第四协议格式的数据包为传输隧道协议格式的下行数据包;
或者,
所述第三协议格式的数据包为传输隧道协议格式的上行数据包,所述第四协议格式的数据包为应用层媒体传输协议格式的上行数据包。
与以上方法实施例相同的构思,本公开实施例还提供一种通信装置,该通信装置可具备上述方法实施例中的RAN设备的功能,并用于执行上述实施例提供的由RAN设备执行的步骤。该功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
在一种可能的实现方式中,此通信装置可作为上述方法实施例所涉及的RAN设备,并执行上述方法实施例中由用户层设备执行的步骤。
此通信装置包括收发模块和处理模块。
收发模块,被配置为接收接入与移动性管理功能AMF设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
处理模块,被配置为根据所述数据包处理策略标记待发送的数据包的类别;
所述收发模块,还被配置为向用户设备UE发送所述待发送的下行数据包,和/或,向UPF发送所述待发送的上行数据包。
接收所述AFM发送的NAS消息,向所述UE转发所述NAS消息,所述NAS消息中包括所述策略。
在一种可能的实现方式中,处理模块,还被配置为在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一种可能的实现方式中,处理模块,还被配置为根据所述数据包处理策略对已接收的第五协议格式的数据包进行分类,将不同类别的所述第五协议格式的数据包存储于不同的缓存区;根据所述数据包处理策略和所述第五协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一种可能的实现方式中,处理模块,还被配置为根据所述数据包处理策略标记待发送的第六协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
在一种可能的实现方式中,所述第五协议格式的数据包为传输隧道协议格式的下行数据包,所述第六协议格式的数据包为接入层协议格式的下行数据包;或者,所述第五协议格式的数据包为接入层协议格式的上行数据包,所述第六协议格式的数据包为传输隧道协议格式的上行数据包。
与以上方法实施例相同的构思,本公开实施例还提供一种通信装置,该通信装置可具备上述方法实施例中的UE的功能,并用于执行上述实施例提供的由UE执行的步骤。该功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
在一种可能的实现方式中,此通信装置可作为上述方法实施例所涉及的UE,并执行上述方法实施例中由用户层设备执行的步骤。
此通信装置包括收发模块和处理模块。
收发模块,被配置为接收无线接入网络RAN设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
处理模块,被配置为根据所述数据包处理策略标记待发送的上行数据包的类别;
所述收发模块,还被配置为向所述RAN设备发送所述待发送的上行数据包。
在一种可能的实现方式中,处理模块,还被配置为接收无线接入网络RAN设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
根据所述数据包处理策略标记待发送的上行数据包的类别;
向所述RAN设备发送所述待发送的上行数据包。
在一种可能的实现方式中,收发模块,还被配置为接收所述RAN设备发送的NAS消息,所述NAS消息中包括所述数据包处理策略。
在一种可能的实现方式中,处理模块,还被配置为在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
在一种可能的实现方式中,处理模块,还被配置为根据所述数据包处理策略对已接收的第七协议格式的下行数据包进行分类,将不同类别的所述第七协议格式的下行数据包存储于不同的缓存区;根据所述数据包处理策略和所述第七协议格式的下行数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
在一种可能的实现方式中,收发模块,还被配置为策略标记待发送的上行数据包的类别,包括:
根据所述数据包处理策略标记待发送的第八协议格式的上行数据包的类别。
本公开还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令(或称计算机程序、程序),当其在计算机上被调用执行时,使得计算机执行上述各设备对应的数据包处理方法。
显然,本领域的技术人员应该明白,上述的各处理单元或各步骤可以用通用的计算装置来实现,其可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,其可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置 中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。
以上所述,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。
工业实用性
AF设备在控制层面上发送指导信息,在数据层面上发送标记有类别的数据包,从而可以使用户层设备获知不同数据包的类别,从而针对不同类别的数据包可以进行不同的处理,有利于数据处理效果的提升。用户层设备在控制层面上接收指导信息,在数据层面上接收标记有类别的数据包,从而用户层设备可以获知不同数据包的类别,从而针对不同类别的数据包可以进行不同的处理,有利于数据处理效果的提升。

Claims (33)

  1. 一种数据包处理方法,由应用功能AF执行,所述方法包括:
    向PCF发送指导信息,以及,向UPF发送标记有类别的数据包。
  2. 如权利要求1所述的方法,其中,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息。
  3. 如权利要求1或2所述的方法,其中,所述数据包使用安全协议时,所述数据包的安全协议或传输协议的头部包括所述类别。
  4. 如权利要求1或2所述的方法,其中,所述数据包未使用安全协议时,所述数据包的应用传输协议的头部包括所述类别。
  5. 如权利要求2所述的方法,其中,所述数据包使用安全协议时,所述类别处于所述数据包的位置为安全协议或传输协议的头部。
  6. 如权利要求2所述的方法,其中,所述数据包未使用安全协议时,所述分类处于所述数据包的位置为应用传输协议的头部。
  7. 一种数据包处理方法,由用户层设备执行,所述方法包括:
    接收数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    根据所述数据包处理策略标记待发送的数据包的类别;
    发送所述待发送的数据包。
  8. 如权利要求7所述的方法,其中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
  9. 如权利要求8所述的方法,其中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
    根据所述数据包处理策略对已接收的第一协议格式的数据包进行分类,将不同类别的所述第一协议格式的数据包存储于不同的缓存区;
    根据所述数据包处理策略和所述第一协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
  10. 如权利要求7至9中任一权利要求所述的方法,其中,所述根据所述数据包处理策略标记待发送的数据包的类别,包括:
    根据所述数据包处理策略标记待发送的第二协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
  11. 一种数据包处理方法,由用户面功能UPF设备执行,所述方法包括:
    接收会话管理功能SMF设备发送的数据包处理策略,所述数据包处理策略是根据应 用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    根据所述数据包处理策略标记待发送的下行数据包或上行数据包的类别;
    向无线接入网络RAN设备发送所述待发送的下行数据包,和/或,向所述SMF发送所述待发送的上行数据包。
  12. 如权利要求11所述的方法,其中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
  13. 如权利要求11所述的方法,其中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
    根据所述数据包处理策略对已接收的第三协议格式的数据包进行分类,将不同类别的所述第一协议格式的数据包存储于不同的缓存区;
    根据所述数据包处理策略和所述第三协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
  14. 如权利要求11至13中任一权利要求所述的方法,其中,所述根据所述数据包处理策略标记待发送的数据包的类别,包括:
    根据所述数据包处理策略标记待发送的第四协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
  15. 如权利要求13所述的方法,其中,
    所述第三协议格式的数据包为应用层媒体传输协议格式的下行数据包,所述第四协议格式的数据包为传输隧道协议格式的下行数据包;
    或者,
    所述第三协议格式的数据包为传输隧道协议格式的上行数据包,所述第四协议格式的数据包为应用层媒体传输协议格式的上行数据包。
  16. 一种数据包处理方法,由无线接入网络RAN设备执行,所述方法包括:
    接收接入与移动性管理功能AMF设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    根据所述数据包处理策略标记待发送的下行数据包或上行数据包的类别;
    向用户设备UE发送所述待发送的下行数据包,和/或,向UPF发送所述待发送的上行数据包。
  17. 如权利要求16所述的方法,其中,所述方法还包括:
    接收所述AFM发送的NAS消息,向所述UE转发所述NAS消息,所述NAS消息中包括所述策略。
  18. 如权利要求16所述的方法,其中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
  19. 如权利要求18所述的方法,其中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
    根据所述数据包处理策略对已接收的第五协议格式的数据包进行分类,将不同类别的所述第五协议格式的数据包存储于不同的缓存区;
    根据所述数据包处理策略和所述第五协议格式的数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
  20. 如权利要求16至19中任一权利要求所述的方法,其中,所述根据所述数据包处理策略标记待发送的数据包的类别,包括:
    根据所述数据包处理策略标记待发送的第六协议格式的数据包的类别,不同协议格式下的同一数据包的类别对应的处理优先级相同。
  21. 如权利要求19所述的方法,其中,
    所述第五协议格式的数据包为传输隧道协议格式的下行数据包,所述第六协议格式的数据包为接入层协议格式的下行数据包;
    或者,
    所述第五协议格式的数据包为接入层协议格式的上行数据包,所述第六协议格式的数据包为传输隧道协议格式的上行数据包。
  22. 一种数据包处理方法,由用户设备UE执行,所述方法包括:
    接收无线接入网络RAN设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    根据所述数据包处理策略标记待发送的上行数据包的类别;
    向所述RAN设备发送所述待发送的上行数据包。
  23. 如权利要求22所述的方法,其中,所述接收无线接入网络RAN设备发送的数据包处理策略,包括:
    接收所述RAN设备发送的NAS消息,所述NAS消息中包括所述数据包处理策略。
  24. 如权利要求22所述的方法,其中,所述方法还包括:在满足丢包条件时,根据所述数据包处理策略对缓存的数据包进行丢包处理。
  25. 如权利要求24所述的方法,其中,所述根据所述数据包处理策略对缓存的数据包进行丢包处理,包括:
    根据所述数据包处理策略对已接收的第七协议格式的下行数据包进行分类,将不同类别的所述第七协议格式的下行数据包存储于不同的缓存区;
    根据所述数据包处理策略和所述第七协议格式的下行数据包的类别,丢弃至少一缓存区中的全部或部分的数据包。
  26. 如权利要求22至25中任一权利要求所述的方法,其中,所述根据所述数据包处理策略标记待发送的上行数据包的类别,包括:
    根据所述数据包处理策略标记待发送的第八协议格式的上行数据包的类别。
  27. 一种数据包处理装置,被配置于应用功能AF,所述装置包括:
    收发模块,被配置为向PCF发送指导信息,以及,向UPF发送标记有类别的数据包。
  28. 一种数据包处理装置,被配置于用户层设备,所述装置包括:
    收发模块,被配置为接收数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    处理模块,被配置为根据所述数据包处理策略标记待发送的数据包的类别;
    所述收发模块,还被配置为发送所述待发送的数据包。
  29. 一种数据包处理装置,被配置于用户面功能UPF设备,所述装置包括:
    收发模块,被配置为接收会话管理功能SMF设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    处理模块,被配置为根据所述数据包处理策略标记待发送的数据包的类别;
    所述收发模块,还被配置为向无线接入网络RAN设备发送所述待发送的下行数据包,和/或,向所述SMF发送所述待发送的上行数据包。
  30. 一种数据包处理装置,被配置于无线接入网络RAN设备,所述装置包括:
    收发模块,被配置为接收接入与移动性管理功能AMF设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    处理模块,被配置为根据所述数据包处理策略标记待发送的数据包的类别;
    所述收发模块,还被配置为向用户设备UE发送所述待发送的下行数据包,和/或,向UPF发送所述待发送的上行数据包。
  31. 一种数据包处理装置,被配置于用户设备UE,所述装置包括:
    收发模块,被配置为接收无线接入网络RAN设备发送的数据包处理策略,所述数据包处理策略是根据应用功能AF设备发送的指导信息确定的,所述指导信息包括用于数据包处理的多个类别,所述类别处于所述数据包的位置,以及所述多个类别的处理优先级的排序信息;
    处理模块,被配置为根据所述数据包处理策略标记待发送的上行数据包的类别;
    所述收发模块,还被配置为向所述RAN设备发送所述待发送的上行数据包。
  32. 一种通信装置,包括处理器以及存储器,其中,
    所述存储器用于存储计算机程序;
    所述处理器用于执行所述计算机程序,以实现如权利要求1-6中任一权利要求所述的方法、如权利要求7-10中任一项所述的方法、权利要求11至15中任一项所述的方法、权利要求16至21中任一项所述的方法、或者权利要求22至26中任一项所述的方法。
  33. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上被调用执行时,使得所述计算机执行如权利要求1-6中任一权利要求所述的方法、如权利要求7-10中任一项所述的方法、权利要求11至15中任一项所述的方法、权利要求16至21中任一项所述的方法、或者权利要求22至26中任一项所述的方法。
PCT/CN2022/091313 2022-05-06 2022-05-06 一种数据包处理方法、装置及可读存储介质 WO2023212956A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280001651.5A CN117597974A (zh) 2022-05-06 2022-05-06 一种数据包处理方法、装置及可读存储介质
PCT/CN2022/091313 WO2023212956A1 (zh) 2022-05-06 2022-05-06 一种数据包处理方法、装置及可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/091313 WO2023212956A1 (zh) 2022-05-06 2022-05-06 一种数据包处理方法、装置及可读存储介质

Publications (1)

Publication Number Publication Date
WO2023212956A1 true WO2023212956A1 (zh) 2023-11-09

Family

ID=88646157

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091313 WO2023212956A1 (zh) 2022-05-06 2022-05-06 一种数据包处理方法、装置及可读存储介质

Country Status (2)

Country Link
CN (1) CN117597974A (zh)
WO (1) WO2023212956A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026229A1 (en) * 2013-07-17 2015-01-22 Samsung Electronics Co., Ltd. Method in an electronic device for controlling functions in another electronic device and electronic device thereof
US20190116518A1 (en) * 2017-10-12 2019-04-18 Intel IP Corporation Device requested protocol data unit session modification in the 5g system
CN111866987A (zh) * 2019-04-29 2020-10-30 华为技术有限公司 一种通信方法及装置
CN112867073A (zh) * 2018-05-30 2021-05-28 华为技术有限公司 一种传输策略的方法、pcf网元及计算机存储介质
CN113676924A (zh) * 2020-05-15 2021-11-19 华为技术有限公司 通信方法、装置及系统
CN113840385A (zh) * 2020-06-24 2021-12-24 华为技术有限公司 一种业务传输方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150026229A1 (en) * 2013-07-17 2015-01-22 Samsung Electronics Co., Ltd. Method in an electronic device for controlling functions in another electronic device and electronic device thereof
US20190116518A1 (en) * 2017-10-12 2019-04-18 Intel IP Corporation Device requested protocol data unit session modification in the 5g system
CN112867073A (zh) * 2018-05-30 2021-05-28 华为技术有限公司 一种传输策略的方法、pcf网元及计算机存储介质
CN111866987A (zh) * 2019-04-29 2020-10-30 华为技术有限公司 一种通信方法及装置
CN113676924A (zh) * 2020-05-15 2021-11-19 华为技术有限公司 通信方法、装置及系统
CN113840385A (zh) * 2020-06-24 2021-12-24 华为技术有限公司 一种业务传输方法及装置

Also Published As

Publication number Publication date
CN117597974A (zh) 2024-02-23

Similar Documents

Publication Publication Date Title
EP3955532A1 (en) Method for managing routing rule and communication device
WO2019144836A1 (zh) 数据传输方法、装置和系统
US7984492B2 (en) Methods and apparatus for policy enforcement in a wireless communication system
WO2018103675A1 (zh) 数据流重映射方法及装置和用户设备、ran设备
US20080016248A1 (en) Method and apparatus for time synchronization of parameters
WO2021227559A1 (zh) 通信方法、装置及系统
TW200818814A (en) Methods and apparatus for using electronic envelopes to configure parameters
WO2020078324A1 (zh) 用于测量时延的方法和装置
WO2021004191A1 (zh) 一种支持时间敏感网络的方法及装置
WO2016202224A1 (zh) 一种传输层参数调整方法和装置
WO2023212956A1 (zh) 一种数据包处理方法、装置及可读存储介质
WO2022063187A1 (zh) 一种通信方法和装置
US20230269802A1 (en) Method, device and non-transistory machine-readable medium for non-internet protocol traffic communication by user-equipment-to user-equipment relay
WO2014187089A1 (zh) 一种数据传输系统及方法
WO2024031389A1 (zh) 计费处理方法及装置、通信设备及存储介质
EP3769558A1 (en) Application notifications from network for throughput and flow control adaptation
WO2024067640A1 (zh) 一种协议数据单元集合传输方法及装置
CN112804713B (zh) 一种数据传输方法和装置
WO2024007875A1 (zh) 数据量指示方法、数据递交方法及装置
WO2022213848A1 (zh) 一种通信方法及设备
WO2022027311A1 (zh) 一种通信方法及装置
CN116017560B (zh) 数据转发方法和系统
WO2023040782A1 (zh) 处理报文的方法、系统、设备和存储介质
WO2024060302A1 (en) Technologies for congestion signaling in wireless networks
WO2022057661A1 (zh) 数据传输及链路质量检测方法、通信装置及存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280001651.5

Country of ref document: CN