WO2022228006A1 - Method for identifying service flow, and apparatus - Google Patents

Method for identifying service flow, and apparatus Download PDF

Info

Publication number
WO2022228006A1
WO2022228006A1 PCT/CN2022/084039 CN2022084039W WO2022228006A1 WO 2022228006 A1 WO2022228006 A1 WO 2022228006A1 CN 2022084039 W CN2022084039 W CN 2022084039W WO 2022228006 A1 WO2022228006 A1 WO 2022228006A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
service flow
network element
rule
function network
Prior art date
Application number
PCT/CN2022/084039
Other languages
French (fr)
Chinese (zh)
Inventor
潘奇
黄正磊
李永翠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022228006A1 publication Critical patent/WO2022228006A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2483Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0263Rule management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a method and apparatus for identifying a service flow.
  • the media industry is developing rapidly. Users can watch live broadcasts, TV series and video through the client installed on terminal devices such as mobile phones and tablet computers (such as Tencent video client, Youku video client, video conference client, etc.) or browsers. meetings, etc.
  • terminal devices such as mobile phones and tablet computers (such as Tencent video client, Youku video client, video conference client, etc.) or browsers. meetings, etc.
  • 5G 5th generation mobile communication technology
  • the proportion of media traffic in the 5th generation mobile communication technology (5G) network in the future is expected to exceed 90%.
  • 5G 5th generation mobile communication technology
  • media is constantly developing towards new media forms such as ultra-high-definition video, 360-degree panoramic virtual reality (VR) video, and rapid switching.
  • fast bit rate adaptive switching and other fashion control requirements have more and more stringent requirements on delay and bandwidth, and it is difficult to meet the user's media experience requirements solely relying on the closed-loop control of the business layer itself.
  • 5G networks can use different packet filtering parameters such as quintuple (internet protocol (IP) address between destination/source networks, destination/source port number, transport layer protocol type) to specify each The specific service flow to which the data packet belongs, thereby further providing differentiated policy control for different services.
  • quintuple internet protocol (IP) address between destination/source networks, destination/source port number, transport layer protocol type
  • the end-to-end connection between the terminal device and the application server will be replaced or rebuilt, such as the transmission control protocol (transmission control protocol).
  • transmission control protocol transmission control protocol
  • TCP transmission control protocol
  • the replacement or reconstruction of the end-to-end connection between the terminal device and the application server will cause the end-to-end connection used to transmit the service flow to change, and the packet filtering parameters used to identify the service flow in the configured detection and control policy It needs to be adjusted and updated, which requires the terminal device to frequently initiate the session modification process, so that the network elements such as the session management function on the core network side can reconfigure the detection and control policy suitable for the new end-to-end connection for the service.
  • the network element of the plane function issues the packet inspection rules applicable to the new end-to-end connection, which is a cumbersome process and has poor timeliness.
  • the embodiments of the present application provide a service flow identification method and device, which are used to solve the problem of configuring a control policy applicable to a new end-to-end connection when an end-to-end connection (such as a TCP connection, etc.) used to transmit a service flow changes, and the process Cumbersome and time-sensitive questions.
  • an end-to-end connection such as a TCP connection, etc.
  • an embodiment of the present application provides a service flow identification method, the method includes: a user plane function network element receives a data packet, wherein the data packet includes a first service of a first service flow to which the data packet belongs flow identifier; when the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the data packet, the user plane function network element According to the second data packet filtering parameter, the first data packet inspection rule is updated to a second data packet inspection rule; wherein the first data packet inspection rule is used to detect the data including the first data packet filtering parameter.
  • the second data packet inspection rule is used to detect the data packet including the second data packet filtering parameter, and for the data packet including the The data packet of the second data packet filtering parameter provides an execution policy, and the second data packet inspection rule is the same as the execution policy provided by the first data packet inspection rule.
  • the user plane function network element updates the first data packet detection rule to the second data packet detection rule according to the second data packet filtering parameter, including: the user plane function network element to the second data packet detection rule.
  • the session management function network element sends the second data packet filtering parameter and the first service flow identifier; the user plane function network element receives the second data packet detection rule from the session management function network element; the The user plane function network element updates the first data packet inspection rule to the second data packet inspection rule.
  • the terminal device or the application server will carry the service of the service flow to which the data packet belongs in the data packet sent to the user plane functional network element.
  • Flow ID when the user plane function network element receives a data packet carrying a service flow ID, it will detect the first data packet filtering parameter in the first data packet detection rule saved before receiving the data packet and the data packet.
  • the second packet filtering parameter in the first packet detection rule is the same, if not, update the first packet filtering parameter in the first packet detection rule to the second packet filtering parameter, and construct the second packet detection rule, so as to realize the After the end-to-end connection is replaced or rebuilt, the data packets of the service flow are detected, and an execution policy is provided. There is no need for the terminal device to initiate the session modification process again, and the network elements such as the session management function on the core network side reconfigure the service for the new end.
  • the control strategy of the end-to-end connection can simplify the implementation process and improve the timeliness.
  • the method further includes: when the data packet is a downlink data packet from an application server, performing the execution provided by the user plane function network element according to the second data packet detection rule policy, and send the data packet to the terminal device; or, when the data packet is an uplink data packet from the terminal device, the user plane function network element provides the execution policy according to the second data packet detection rule , and send the data packet to the application server.
  • the data packets that are beneficial to the service flow are processed by corresponding policies in a timely manner (for example, the processing of obtaining the forwarding execution rules in the data packet detection rules, etc.) to improve user experience.
  • the user plane function network element adds first indication information to the data packet sent to the terminal device, where the first indication information is used to instruct the terminal device to
  • the second data packet filtering parameter in the data packet updates the first quality of service QoS rule of the first service flow to the second QoS rule.
  • the terminal device by adding the first indication information to the data packet sent by the terminal device, it is ensured that the terminal device can perceive that the user plane function network element has completed the update of the data packet detection rule, which is beneficial to assist the terminal device to realize that it will be suitable for replacement or reconstruction.
  • the first QoS rule of the previous end-to-end connection is updated to the second QoS rule applicable to the end-to-end connection after replacement or re-establishment.
  • the user plane function network element adds second indication information to the data packet sent to the application server, where the second indication information is used to indicate the user plane function network element The update of the data packet detection rule of the first service flow is completed.
  • the application server can be informed that the user plane functional network element has completed the update of the data packet detection rules, and the application server can inform the terminal equipment that the user plane functional network element has completed the data packet detection.
  • the rules are updated, so that the terminal device cancels adding the first service flow identifier to the upstream data packet.
  • the method before the user plane function network element receives the data packet, the method further includes: the user plane function network element receives the data packet detection rule configuration information from the session management function network element, and the data packet detection
  • the rule configuration information includes the first data packet detection rule and the first service flow identifier.
  • the session management function network element can issue the service flow identifier of the first service flow to the user plane function network element, which is beneficial to the user plane function after the end-to-end connection for transmitting the service flow is replaced or rebuilt.
  • the network element accurately identifies the data packets of the service flow transmitted over the replaced or re-established end-to-end connection.
  • the first service flow identifier may be carried at the network layer or the transport layer or the application layer of the data packet.
  • an embodiment of the present application provides a method for identifying a service flow.
  • the method includes: a terminal device receives a downlink data packet from a user plane functional network element, where the downlink data packet includes a first data packet to which the downlink data packet belongs.
  • the terminal device updates the first QoS rule to a second QoS rule according to the second data packet filtering parameter; wherein the first QoS rule is used to detect a data packet including the first data packet filtering parameter , and provide a QoS policy for the data packet including the first data packet filtering parameter, the second QoS rule is used to detect the data packet including the second data packet filtering parameter, and for the data packet including the second data packet.
  • the data packet of the filtering parameter provides a QoS policy
  • the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
  • the downlink data packet further includes first indication information, where the first indication information is used to instruct the terminal device to The first QoS rule is updated to the second QoS rule.
  • the method further includes: the terminal device sending rule update completion indication information to the application server, where the rule update completion indication information includes the first service flow identifier, which is used to indicate the The terminal device completes the update of the QoS rule for the first service flow.
  • the method before the terminal device receives a downlink data packet from a user plane functional network element, the method further includes: assigning, by the terminal device, the first service flow identifier to the first service flow ; The terminal device sends first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification.
  • the method before the terminal device receives the downlink data packet from the user plane function network element, the method further includes: the terminal device receives the QoS rule configuration information from the session management function network element, the The QoS rule configuration information includes the first QoS rule and the first service flow identifier.
  • the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
  • an embodiment of the present application provides a service flow identification method, the method includes: a terminal device determines that an end-to-end connection corresponding to a first service flow is replaced or rebuilt; The second data packet filtering parameter corresponding to the terminal connection, and the first quality of service QoS rule of the first service flow is updated to the second QoS rule; wherein the first QoS rule includes the replacement or reconstruction of the first service flow.
  • the first data packet filtering parameter corresponding to the previous end-to-end connection, the first QoS rule is used to detect the data packet including the first data packet filtering parameter, and is the data including the first data packet filtering parameter.
  • the packet provides a QoS policy
  • the second QoS rule is used to detect the data packet including the second data packet filtering parameter, and provide a QoS policy for the data packet including the second data packet filtering parameter, the second QoS
  • the QoS policy provided by the rule is the same as the QoS policy provided by the first QoS rule.
  • the method further includes: for the uplink data packet including the second data packet filtering parameter, the terminal device sends the uplink data packet to the user plane function network element according to the QoS policy , wherein the uplink data packet includes a first service flow identifier of the first service flow.
  • the method further includes: assigning, by the terminal device, the first service flow identifier to the first service flow; sending, by the terminal device, a configuration of the first service flow identifier to an application function network element information, the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification.
  • the method further includes: receiving, by the terminal device, QoS rule configuration information from a session management function network element, where the QoS rule configuration information includes the first QoS rule and the first service Stream ID.
  • the first service flow identifier may be carried at the network layer, transport layer or application layer of the uplink data packet.
  • an embodiment of the present application provides a service flow identification method, the method includes: an application server determines that an end-to-end connection corresponding to a first service flow is replaced or rebuilt; A downlink data packet of the first service flow, where the downlink data packet includes a first service flow identifier of the first service flow.
  • the method further includes: receiving, by the application server, second service flow identification configuration information from an application function network element, where the second service flow identification configuration information includes the first service flow flow description information and the first service flow identifier.
  • the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
  • an embodiment of the present application provides a service flow identification method, the method includes: the session management function network element receives a policy and charging control rule and a first service flow identification from a policy control function network element, wherein the The policy and charging control rule includes a first packet filtering parameter; the session management function network element generates a first service flow corresponding to the first service flow identifier according to the policy and charging control rule.
  • a packet inspection rule and a first quality of service QoS rule where the first packet inspection rule is used to detect a packet including the first packet filtering parameter, and is a packet including the first packet filtering parameter
  • the first QoS rule is used to detect the data packet including the first data packet filtering parameter, and provide a QoS policy for the data packet including the first data packet filtering parameter
  • the session management function network sends the data packet inspection rule configuration information to the user plane function network element, the data packet inspection rule configuration information includes the first data packet inspection rule and the first service flow identifier; and sends the QoS to the terminal device.
  • Rule configuration information where the QoS rule configuration information includes the first QoS rule and the first service flow identifier.
  • the method further includes: the session management function network element receives the second packet filtering parameter and the first service flow identifier from the user plane function network element; the session management function The functional network element generates a second data packet inspection rule for the first service flow according to the second data packet filtering parameter and the policy and charging control rule, and the second data packet inspection rule is used to detect the the second data packet filtering parameter, and provide an execution policy for the data packet including the second data packet filtering parameter; the session management function network element sends the second data to the user plane function network element Packet inspection rules.
  • an embodiment of the present application provides a service flow identification method, the method includes: an application function network element receives first service flow identification configuration information from a terminal device, where the first service flow identification configuration information includes a first service flow identification configuration information.
  • the flow description information of the service flow and the first service flow identification the application function network element sends the second service flow identification configuration information to the application server, and sends the third service flow identification configuration information to the policy control function network element, and the first service flow identification configuration information is sent to the application server.
  • Both the second service flow identification configuration information and the third service flow identification configuration information include flow description information of the first service flow and a first service flow identification.
  • an embodiment of the present application provides a service flow identification method, the method includes: an application function network element assigns a first service flow identifier to a first service flow; the application function network element sends a second service flow to an application server identification configuration information, and sending third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow identification configuration information both include the flow of the first service flow description information and the first service flow identifier.
  • an embodiment of the present application provides a service flow identification method, the method includes: a user plane function network element receives a data packet detection rule from a session management function network element, where the data packet detection rule is used to detect a first A data packet identified by a service flow, and an execution policy is provided for the data packet, wherein the first service flow identified by the first service flow identification corresponds to one or more end-to-end connections between the terminal device and the application server; when When the user plane function network element receives the data packet including the first service flow identifier from the terminal device, the user plane function network element sends the data packet to the application server according to the execution policy ; or when the user plane function network element receives the data packet including the first service flow identifier from the application server, the user plane function network element sends the data packet to the terminal device according to the execution policy. the data package.
  • the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
  • an embodiment of the present application provides a service flow identification method, the method comprising: a terminal device receiving a quality of service QoS rule from a session management function network element, where the QoS rule is used to detect data including a first service flow identification packet, and provide a QoS policy for the data packet, wherein the first service flow identified by the first service flow identifier corresponds to one or more end-to-end connections between the terminal device and the application server;
  • the data packet identified by the service flow the terminal device detects the data packet according to the QoS rule, and sends the data packet to the user plane function network element based on the QoS policy, wherein the user plane function network element is located in the one or more end-to-end connections between the terminal device and the application server.
  • the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
  • an embodiment of the present application provides a service flow identification method, the method includes: a session management function network element generates a data packet detection rule and a quality of service QoS rule, wherein the first service flow corresponds to one or more end-to-end connections between a terminal device and an application server, and the data packet inspection rule is used to detect a data packet including an identifier of the first service flow, and provide an execution policy for the data packet, the QoS rule is used to detect the data packet including the first service flow identifier, and provide a QoS policy for the data packet; the session management network element reports to the terminal device The QoS rules are sent, and the packet inspection rules are sent to a user plane functional network element, wherein the user plane functional network element is located on one or more end-to-end connections between the terminal device and the application server.
  • the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
  • an embodiment of the present application provides a service flow identification device, which has the first aspect or any possible in-design method of the first aspect, or the eighth aspect or the eighth aspect.
  • the function of any possible design method can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
  • the device may be a chip or an integrated circuit.
  • the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used for implementing the above-mentioned first aspect or any possible method in the design of the first aspect, or implementing The functions of the above eighth aspect or any possible method in design of the eighth aspect.
  • the interface circuit can be a transceiver or an input-output interface.
  • the apparatus may further include a memory storing a processor executable for implementing the first aspect or any possible in-design method of the first aspect, or implementing the eighth aspect or the eighth aspect. A program of the functionality of any of the possible designs in the method.
  • the device may be a user plane functional network element.
  • an embodiment of the present application provides a service flow identification device, the device has any possible in-design method for implementing the second aspect or the second aspect, or implementing the third aspect or the third aspect.
  • the function may be implemented by hardware, or by executing corresponding software in hardware.
  • the hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
  • the device may be a chip or an integrated circuit.
  • the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used for implementing the functions of the second aspect or the method in any possible design of the second aspect, Or used to implement the above third aspect or any possible method in design of the third aspect, or to implement the function of the above ninth aspect or any possible method in design of the ninth aspect.
  • the interface circuit can be a transceiver or an input-output interface.
  • the apparatus may further include a memory storing any possible in-design method executable by the processor for implementing the second aspect or the second aspect above, or for implementing the third aspect or the third aspect above Any possible method in design of the aspect, or a program implementing the functions of the above ninth aspect or any possible method in design of the ninth aspect.
  • the apparatus may be a terminal device.
  • an embodiment of the present application provides a service flow identification device, the device has a function of implementing the fourth aspect or any possible method in the design of the fourth aspect, the function may be implemented by hardware, or The corresponding software implementation can be performed by hardware.
  • the hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
  • the device may be a chip or an integrated circuit.
  • the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is configured to implement the functions of the fourth aspect or the method in any possible design of the fourth aspect.
  • the interface circuit can be a transceiver or an input-output interface.
  • the apparatus may further comprise a memory storing a program executable by the processor for implementing the functions of the above fourth aspect or any possible method-in-design of the fourth aspect.
  • the device may be an application server.
  • an embodiment of the present application provides an apparatus for identifying a service flow, and the apparatus has any possible in-design method for implementing the fifth aspect or the fifth aspect, or implementing the tenth aspect or the tenth aspect.
  • the function of any possible design method, the function can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
  • the device may be a chip or an integrated circuit.
  • the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used for implementing the fifth aspect or any possible method in the design of the fifth aspect, or implementing The functions of the tenth aspect or the method in any possible design of the tenth aspect.
  • the interface circuit can be a transceiver or an input-output interface.
  • the apparatus may further include a memory, where the memory stores a method executable by the processor for implementing the fifth aspect or any of the possible in-design methods of the fifth aspect, or the method for implementing the tenth aspect or the tenth aspect. A program of the functionality of any of the possible designs in the method.
  • the apparatus may be a session management function network element.
  • an embodiment of the present application provides a service flow identification device, the device has any possible in-design method for implementing the sixth aspect or the sixth aspect, or implementing the seventh aspect or the seventh aspect.
  • the function of any possible design method the function can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
  • the device may be a chip or an integrated circuit.
  • the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used to implement the functions of the sixth aspect or the method in any possible design of the sixth aspect, Or used to implement the functions of the seventh aspect or any possible method in the design of the seventh aspect.
  • the interface circuit can be a transceiver or an input-output interface.
  • the apparatus may further include a memory storing any possible in-design method executable by the processor for implementing the sixth aspect or the sixth aspect, or for implementing the seventh aspect or the seventh aspect. A program of the functionality of the method in any possible design of the aspect.
  • the device may be an application function network element.
  • an embodiment of the present application further provides a service flow identification system, where the system includes the user plane functional network element in the first aspect, the terminal device in the second aspect and the third aspect, and the fourth aspect.
  • the application server in the aspect, the session management function network element in the above fifth aspect, the application function network element in the above sixth aspect and the seventh aspect.
  • an embodiment of the present application further provides a service flow identification system, where the system includes the user plane functional network element in the eighth aspect, the terminal device in the ninth aspect, and the session management in the tenth aspect. functional network element.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium is configured to execute the method described in the first aspect or any possible design of the first aspect, or perform the method described in the second aspect or any possible design of the second aspect above, or perform the method described in the third aspect or any possible design of the third aspect above, or perform the above-mentioned first aspect.
  • an embodiment of the present application further provides a chip system, the chip system includes: a processor and an interface, the processor is configured to call and run a computer program from the interface, and when the processor executes the As a computer program, the method described in the first aspect or any possible design of the first aspect can be implemented, or the method described in the second aspect or any possible design of the second aspect can be implemented, Or implement the method described in the above third aspect or any possible design of the third aspect, or implement the method described in the above fourth aspect or any possible design of the fourth aspect, or implement the above-mentioned third aspect.
  • a twentieth aspect is a computer program product according to an embodiment of the present application.
  • the computer program product runs on a computer, the computer is made to execute the methods described in the above aspects.
  • FIG. 1 is a schematic diagram of the composition of a data packet detection rule provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • FIG. 3 is one of schematic diagrams of a service flow identification method provided by an embodiment of the present application.
  • FIG. 4 is one of the schematic diagrams of the service flow identifier configuration process provided by the embodiment of the present application.
  • FIG. 5 is the second schematic diagram of the configuration process of the service flow identifier provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of an initial rule configuration process provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an update process of a packet detection rule provided by an embodiment of the present application.
  • FIG. 8 is the second schematic diagram of the service flow identification method provided by the embodiment of the present application.
  • FIG. 9 is a third schematic diagram of a service flow identification method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an implementation architecture of service flow identification provided by an embodiment of the present application.
  • FIG. 11 is one of the schematic diagrams of a service flow identification apparatus provided by an embodiment of the present application.
  • FIG. 12 is a second schematic diagram of a service flow identification apparatus provided by an embodiment of the present application.
  • At least one refers to one or more, and "a plurality” refers to two or more.
  • “And/or” and “or/and” describe the relationship between associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone , where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one (item) of the following” or its similar expression refers to any combination of these items, including any combination of single item (item) or plural item (item).
  • At least one (a) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c Each can be an element itself, or a collection containing one or more elements.
  • transmission can include sending and/or receiving, and can be a noun or a verb.
  • the "network element” involved in the embodiments of this application may also be referred to as "equipment”, which is not limited.
  • the network element may be hardware, software divided by function, or a combination of the above two structures.
  • the network elements may include core network network elements, access network equipment (or referred to as access network network elements), and the like. Core network elements, such as session management function network elements, user plane function network elements, etc.
  • the packet filtering parameters of the existing packet filter (packet filter) application are mainly represented by quintuple, including source/destination IP address, source/destination port number, transport layer protocol type, according to the five tuples carried in the packet. Tuple, which can identify the service type corresponding to each transmitted data packet. For example, according to the transport layer protocol in the quintuple, the IP address and port number on the application server side, the services of iQIYI, Youku Video and Tencent Video can be distinguished.
  • a service (or service) data filter (service data filter, SDF) is introduced to filter and filter the data packets corresponding to the service flow.
  • the QoS rules include one or more SDFs, which aim to map the data of the service flow to the corresponding QoS flow according to the SDF; similar user plane functions
  • the network element side is often a packet detection rule (PDR).
  • the PDR can include packet detection information (PDI), and the packet filtering parameters contained are usually consistent with the SDF (such as quintuple, etc.), as well as the actions (or policies) that need to be executed to detect and identify the data packets of the service flow, such as forwarding action rule (FAR), using reporting rule (URR) , one or more of QoS enforcement rules (QoS enforcement rules, QERs).
  • PDI packet detection information
  • FAR forwarding action rule
  • URR reporting rule
  • QoS enforcement rules QoS enforcement rules
  • the terminal device After an end-to-end connection (such as a TCP connection) has been established for the service flow between the terminal device and the application server, the terminal device will initiate a session modification process and send the latest service flow description information (such as packet filtering parameters) to the session management function
  • the network element triggers the session modification process. Or the session modification process is triggered by the policy control function network element, and the policy and charging control (policy and charging control, PCC) rule (rule) including the service data filter of the service flow is sent to the session management function network element, wherein
  • the service data filter includes data packet filtering parameters for filtering and filtering data packets of the service flow.
  • the session management function network element generates PDR and QoS rules based on the policy and charging control rules, and delivers them to the user plane function network element and terminal equipment to implement policy control over the service flow.
  • the user plane function network element may still have no PDR suitable for the end-to-end connection after the replacement or reconstruction. Provides policy control for data packets, which further deteriorates user service experience.
  • an embodiment of the present application provides a service flow identification method.
  • a service flow identifier to a service flow
  • an end-to-end connection such as a TCP connection, which is used to transmit the service flow, is used in subsequent embodiments of the present application
  • the service flow identifier is included (that is, carries) in the data packet sent by the end-to-end connection after the replacement or reconstruction, so that the terminal device and/or Or the user plane function network element can perform packet inspection and policy control according to the packet filtering parameters included in the data packet, or use the QoS rules and/or packet inspection rules (PDR) of the service flow to detect the service flow.
  • the data packet filtering parameters of the data packets are updated to the data packet filtering parameters corresponding to the replaced or rebuilt end-to-end connection, so as to avoid frequent initiation of the session modification process.
  • the service flow refers to the data flow of the service, such as the data flow of the iQIYI service transmitted between the iQIYI client and the iQIYI application server.
  • the service flow of the service can also be subdivided according to specific data types.
  • the service flow corresponding to the live client can be subdivided into a video service flow, an audio service flow and a subtitle service flow. or content distribution network offloading.
  • the video stream may include one or more video frames or video block files; the audio stream may include one or more audio frames or audio block files; the subtitle stream may include one or more pieces of text.
  • Terminal equipment is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as planes, balloons, satellites, etc.).
  • the terminal device may be a mobile phone (mobile phone), a tablet computer (pad), a smart screen, a computer with a wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, industrial control Wireless terminals in (industrial control), wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, and transportation safety wireless terminals, wireless terminals in smart cities, wireless terminals in smart homes, etc.
  • VR virtual reality
  • AR augmented reality
  • the implementation of the service flow identification method provided by this application involves a session management function (session management function, SMF) network element, a policy control function (policy control function, PCF) network element, an application function (application function) on the network side , AF) network element, user plane function (user plane function, UPF) network element, access network (access network, AN) equipment, wherein, session management function network element, policy control function network element, application function network element, user
  • the plane functional network elements are core network network elements.
  • Access network equipment can be used to provide wireless communication functions for terminal equipment; session management function network elements can be used to control the establishment, modification and deletion of packet data unit (PDU) sessions; user plane function network elements can be used to be responsible for connecting external Network (eg data network (DN)); application function network elements can be used to interact with the 3rd generation partnership project (3GPP) core network to provide services to affect traffic flow routing, access network Capability opening, policy control, etc.; the policy control function network element can be used to be responsible for policy control, such as generating a quality of service (quality of service, QoS) parameter set.
  • Executing the service flow identification method provided by this application also involves a terminal device and an application server.
  • a terminal device may also be referred to as a terminal, a user equipment (UE), a mobile terminal, a media
  • the client, the media session handler (media session handler, MSH) client, etc., are not limited, and the application server may also be called a media streaming server, etc., and the comparison is not limited.
  • the embodiments of the present application are described below by taking a terminal device (such as a UE) and an application server as examples.
  • the network architecture is a 5G network architecture.
  • the network architecture includes a radio access network (RAN), an access and mobility management function (AMF) network element, an SMF network element, a UPF network element, a PCF network element, and a DN.
  • the network architecture further includes a unified data management function (unified data management, UDM) network element, an authentication server function (authentication server function, AUSF) network element, an application function (application function, AF) network element, Network exposure function (NEF) network element and network data analysis function (network data analytics function, NWDAF) network element, etc.
  • unified data management function unified data management, UDM
  • authentication server function authentication server function
  • AF application function
  • NEF Network exposure function
  • NWDAF network data analysis function
  • RAN equipment also called access network (AN) equipment
  • AN access network
  • RAN equipment also called access network (AN) equipment
  • AN access network
  • some examples of RAN equipment are: 5G (g nodeB, gNB), evolved node B (evolved node B, eNB), radio network controller (radio network controller, RNC), node B (node B, NB) ), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), base band unit (base band unit, BBU) , transmission point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc.
  • RAN equipment can also include wireless fidelity (wireless fidelity, wifi) access point (access point, AP) )Wait.
  • the AMF network element is responsible for the access management and mobility management of terminal equipment, including management of user registration, reachability detection, selection of SMF network elements, and mobility state transition management.
  • the SMF network element is mainly responsible for controlling the establishment, modification and deletion of PDU sessions, and the selection of UPF network elements.
  • UPF network elements are mainly responsible for data packet routing and forwarding, mobility anchors, uplink classifiers to support routing traffic flows to the data network, branch points to support multi-homed PDU sessions, and so on.
  • the PCF network element is the policy decision point, and is mainly responsible for providing rules based on service data flow and application detection, gate control, QoS and flow-based charging control.
  • the UDM network element is mainly responsible for storing user subscription data.
  • AUSF network elements are mainly used to provide authentication services.
  • the AF network element is mainly used to interact with the 3rd generation partnership project (3GPP) core network to provide services, and to affect service flow routing, access network capability opening, and policy control.
  • 3GPP 3rd generation partnership project
  • NEF network elements are mainly used to securely open services and capabilities provided by 3GPP network functions, such as third parties, edge computing, AF, etc.
  • the DN provides network services for terminal devices, such as operator services, Internet access, or third-party services.
  • NWDAF network elements are mainly used to provide network data collection and analysis functions based on technologies such as big data and artificial intelligence.
  • the "network element" in each functional network element can be removed.
  • the AMF network element is abbreviated as AMF
  • the UPF network element is abbreviated as UPF.
  • AMF AMF
  • UPF UPF
  • the communication between any two network elements can adopt a service-oriented communication mode, such as the interface Nnef used for communication between NEF and AUSF
  • a service-oriented communication mode such as the interface Nnef used for communication between NEF and AUSF
  • Both Nnwdaf, Nnrf, Npcf, Nudm, Naf, Namf, and Nsmf are service-oriented interfaces.
  • AMF and UE can communicate through N1 interface
  • AMF and RAN network element can communicate through N2 interface
  • RAN network element and UPF can communicate through N3 interface
  • SMF and UPF can communicate through N4 interface
  • UE and RAN network element can communicate with each other through N4 interface.
  • UPF and DN can communicate through N6 interface
  • UPF can communicate through N9 interface.
  • the service-oriented interface between each network element in FIG. 2 may also be replaced by a point-to-point interface.
  • the network elements related to the present application are mainly: SMF network element, UPF network element, AF network element, and terminal equipment (UE).
  • FIG. 2 is only an example of a network architecture applicable to the embodiments of the present application, and does not constitute a limitation to the embodiments of the present application.
  • the embodiments of the present application may also be applied to other network architectures, for example, future mobile communication network architectures (eg, 6G network architectures).
  • the end-to-end connection (such as TCP connection, etc.) established between the client of the terminal device and the application server for transmitting service flows is frequently replaced or rebuilt.
  • the terminal equipment and the user plane functional network elements can be based on the uplink (terminal equipment to application server) service flow or downlink (application server to terminal equipment) service flow
  • the flow implements automatic updating of QoS rules and packet inspection rules (PDR) for service flows.
  • the service flow identification method of the present application will be introduced below by taking the first service flow as an example in conjunction with specific scenarios.
  • Scenario 1 After the end-to-end connection (such as TCP connection, etc.) used to transmit the service flow is replaced or rebuilt, the terminal device and the user plane functional network element realize the automatic QoS rules and data packet inspection rules for the service flow according to the downstream service flow. renew.
  • end-to-end connection such as TCP connection, etc.
  • FIG. 3 is a schematic diagram of a service flow identification method provided by an embodiment of the present application, and the method includes:
  • the application server sends a downlink data packet of a first service flow to a user plane functional network element, and the user plane functional network element receives the downlink data packet, where the downlink data packet includes the first service flow of the first service flow.
  • Business flow ID The application server sends a downlink data packet of a first service flow to a user plane functional network element, and the user plane functional network element receives the downlink data packet, where the downlink data packet includes the first service flow of the first service flow.
  • an end-to-end connection (such as a TCP connection, etc.) for transmitting the first service flow may be established between the client of the terminal device and the application server. ) is replaced or rebuilt. If a downlink data packet is sent first after the end-to-end connection is replaced or rebuilt, the application server will add the first service flow identifier of the first service flow to the header of the downlink data packet. As an example, the first service flow identifier may be added to the extension bit (or field) of the IP/TCP layer in the downlink data packet, or even the extension bit of the application layer or the additional middle layer in the downlink data packet may be added. A service flow identifier, as long as the user plane functional network element can be identified.
  • the application server may only add the first service flow identifier to the first X data packets after the end-to-end connection is replaced or rebuilt, where X is greater than or equal to 1 Integer, which can be configured according to application function network elements, policy control function network elements, etc., or configured by the application server itself.
  • the first service flow identifier of the first service flow may be allocated by the terminal device.
  • the terminal device when the client on the terminal device is started, the terminal device will be triggered to request the 5G network to establish a session (such as requesting to establish a new PDU session) or use the existing session, If a session needs to be established, the session management function network element selects a user plane function network element for the session. After the session is established, the terminal device can establish an end-to-end connection (eg, a TCP connection) with the application server for transmitting the first service flow through the user plane functional network element.
  • an end-to-end connection eg, a TCP connection
  • the terminal device may allocate a first service flow identifier to the first service flow, where the first service flow identifier allocated by the terminal device to the first service flow may be It is unique within each terminal device, or it can be unique within each session of each terminal device (wherein each session of the terminal device will be assigned an IP address by the session management function network element, that is, each terminal device can be It is only necessary to ensure that the first service flow can be uniquely determined according to the first service flow identification, or according to the first service flow identification and the IP address of the terminal device, such as unique Determine the flow description information of the first service flow (eg, a quintuple in the packet filtering parameter).
  • the first service flow identifier allocated by the terminal device to the first service flow may be It is unique within each terminal device, or it can be unique within each session of each terminal device (wherein each session of the terminal device will be assigned an IP address by the session management function network element, that is, each terminal device can be It is only necessary to ensure that the first service flow can be uniquely determined according to the first service flow
  • the terminal device can use the first service flow identifier configuration information including the first service flow identifier and the flow description information of the first service flow to assign the first service flow identifier to the first service flow.
  • the service flow identification is sent to the application function network element, and the application function network element can also use the second service flow identification configuration information including the first service flow identification and the flow description information of the first service flow, the first service flow of the first service flow.
  • the stream ID is sent to the application server.
  • the first service flow identifier of the first service flow may be allocated by the application function network element.
  • the application function network element assigns the first service flow identifier to the first service flow, where the application function network element is the first service flow.
  • the application function network element can directly send the assigned first service flow identifier to the terminal device.
  • a service flow identifier and flow description information of the first service flow are sent to the user plane functional network element, which is forwarded by the user plane functional network element to the access network device, and then forwarded by the access network device to the terminal device.
  • the application function network element may also send the first service flow identifier and the flow description information of the first service flow to the policy control function network element, and the policy control function network element triggers the session modification process to send to the terminal device.
  • the application function network element may also send the first service flow identification of the first service flow to the application server through the second service flow identification configuration information including the first service flow identification and flow description information of the first service flow.
  • the first service flow identifier of the first service flow may also be allocated by the policy control function network element.
  • the application function network element may send an application function request (such as an AF request) to the policy control function network element ), including the flow description information of the first service flow (which can be obtained from the application server) and the allocation instruction information for instructing the policy control function network element to allocate the first service flow identifier for the first service flow in the application function request; policy control After receiving the application function request, the functional network element allocates a first service flow identifier to the flow description information of the first service flow, and can use an application function response (such as an AF response) to combine the flow description information of the first service flow with the first service flow.
  • an application function response such as an AF response
  • the service flow identification is returned to the application function network element, wherein the implementation of the policy control function network element assigning the first service flow identification to the first service flow can refer to the realization of assigning the first service flow identification to the first service flow by the terminal device, and repeat the process. It is not repeated here.
  • the application function network element can directly send the allocated first service flow identifier to the terminal device, or the policy control function network element can trigger the session modification process and send it to the terminal device without processing.
  • the application function network element may send the first service flow identification of the first service flow to the application server through the second service flow identification configuration information including the first service flow identification and flow description information of the first service flow.
  • the application function network element also needs to send the first service flow identifier of the first service flow to the policy control function network element. .
  • the terminal device allocates the first service flow identifier for the first service flow
  • the terminal device directly sends the first service flow identifier of the first service flow to the session management network in the session modification process (such as the PDU session modification process).
  • the session management network in the session modification process such as the PDU session modification process.
  • element and policy control function network element For example, the flow description information of the first service and the first service flow identifier are sent to the session management network element and the policy control function network element through the PDU session modification request message.
  • the policy control function network element After the policy control function network element obtains the first service flow identifier of the first service flow, the policy control function network element will communicate with the session.
  • the management network element initiates the session management policy association establishment/modification process.
  • the policy control function network element can send a session management (session management, SM) policy association modification request (such as SM policy association modification request) to the session management network element, which will include
  • SM session management
  • the service data filter of the first service flow (the service filter includes data packet filtering parameters used to filter and filter the data packets of the first service flow)
  • the policy and charging control rules and the first service flow identifier are sent to the session management
  • the functional network element and the session management functional network element generate packet inspection rules and QoS rules according to the policy and charging control rules.
  • the first service flow identifier may also be included in the policy and charging control rules. within the control rules.
  • the session management function can send the data packet inspection rule configuration information including the data packet inspection rule and the first service flow identifier to the user plane function network element through the session creation or modification process.
  • the packet inspection rule configuration information is sent to the user plane functional network element through an N4 session establishment/modification request (N4 session establishment/modification request).
  • the QoS rule and the first service flow identifier may also be sent to the terminal device through a session modification command or the like.
  • the session management function network element may first send a communication message transfer message (such as a Namf_communication_N1N2message transfer message) carrying a session modification command (such as a PDU session modification command) to the access and mobility management function (AMF) network
  • a communication message transfer message such as a Namf_communication_N1N2message transfer message
  • a session modification command such as a PDU session modification command
  • AMF access and mobility management function
  • the first service flow identifier may also be included in the QoS rule or the data packet inspection rule.
  • the user plane function network element After receiving the data packet inspection rule configuration information, the user plane function network element will bind the data packet inspection rule of the first service flow with the corresponding first service flow identifier; the terminal device will also associate the QoS rule with the corresponding first service flow.
  • Flow identification binding wherein the packet inspection rules and the packet inspection parameters in the QoS rules for detecting the data packets of the first service flow can be dynamically adjusted, for example, according to the data in the data packets including the first service flow identification Packet inspection parameters are dynamically adjusted.
  • the first data packet filtering rule is a data packet detection rule used in the user plane functional network element to detect data packets in the first service flow before receiving the downlink data packet.
  • the first The data packet detection rule is used to detect the data packet including the first data packet filtering parameter in the first service flow, and provide an execution policy, the second data packet for the data packet including the first data packet filtering parameter
  • the packet inspection rule is used to detect the data packet including the second data packet filtering parameter, and provide an execution policy for the data packet including the second data packet filtering parameter, the second data packet inspection rule and the first data packet inspection rule. Packet inspection rules provide the same enforcement policy.
  • the user plane function network element After the user plane function network element receives the downlink data packet including the first service flow identifier from the application server, it will filter the parameters of the first data packet in the first data packet detection rule corresponding to the first service flow identifier Check whether the filtering parameter of the second data packet in the downlink data packet is the same, and if it is different, it is determined that the end-to-end connection corresponding to the first service flow is replaced or rebuilt, and the user plane function network element detects the first data packet.
  • the first data packet filtering parameter in the rule is updated to the second data packet filtering parameter in the downlink data packet, so as to realize the detection and identification of the data packet (uplink or downlink) including the second data packet filtering parameter, and the
  • the packet (uplink or downlink) of the second packet filtering parameter provides the same execution policy as in the first packet inspection rule, such as forwarding action rule (FAR), using reporting rule (URR) ), one or more of QoS enforcement rules (QoS enforcement rule, QER), etc.
  • the identity information of the corresponding enforcement policy such as the ID information of FAR/URR/QER, may be carried in the packet inspection rule.
  • the user plane function network element may also send the second packet filtering parameter and the first service flow identifier to the session management function network element through an N4 session modification request (such as N4 session modification request), and the session management function network element will send the second packet filter parameter and the first service flow identifier to the session management function network element through an N4 session modification request (such as N4 session modification request).
  • N4 session modification request such as N4 session modification request
  • N4 session modification request such as N4 session modification request
  • the second data packet inspection rule is generated, or the original first data packet inspection rule is updated by the session management function network element, wherein The first data packet filtering parameter in the first data packet inspection rule is replaced with the second data packet filtering parameter, and the second data packet inspection rule is generated.
  • the session management function network element can send the second packet detection rule to the user plane function network element for the user plane function network element to receive.
  • the second data packet detection rule is bound with the first service flow identifier to ensure that the data of the first service flow can be normally processed by the corresponding policy.
  • the user plane function network element sends the data packet to the terminal device according to the execution policy provided by the second data packet detection rule, and the terminal device receives the downlink data packet.
  • the user plane function network element uses the second data packet detection rule to detect and identify the downlink data, and after identifying that the second data packet filtering parameter in the downlink data packet is consistent with the data packet detection parameter recorded in the second data packet detection rule,
  • the downlink data packet is sent to the terminal device by adopting the execution policy provided by the second data packet detection rule, such as the forwarding execution rule, etc.
  • the first QoS rule is a QoS rule used in the terminal device to detect data packets in the first service flow before receiving the downlink data packets. After receiving the downlink data packet from the user plane functional network element, the terminal device will detect whether the first data packet filtering parameter in the first QoS rule and the second data packet filtering parameter in the downlink data packet are the same, If it is different, it is determined that the end-to-end connection corresponding to the first service flow is replaced or rebuilt, and the terminal device updates the first data packet filtering parameter in the first QoS rule to the second data packet filtering parameter in the downlink data packet, and determines
  • the second QoS rule is used to detect and identify the data packet including the second data packet filtering parameter, and provide a QoS policy for the data packet including the second data packet filtering parameter. If provided, the second data packet filtering parameter will be included.
  • the upstream data packets are mapped to the policies in the corresponding QoS flow.
  • the first QoS rule is used to detect the data packets including the first data packet filtering parameter, and provide a QoS policy for the data packets including the first data packet filtering parameter
  • the second QoS rule is used for for detecting packets including the second packet filtering parameter, and providing a QoS policy for the packet including the second packet filtering parameter, the QoS policy provided by the second QoS rule and the first QoS rule
  • the QoS policies provided are the same.
  • the terminal device after the terminal device has updated the first QoS rule to the second QoS rule, it is already clear that the user plane functional network element has also completed the update of the packet detection rule of the first service flow, and the terminal device can also send
  • the application server sends the rule update completion indication information (for example, sent through the application layer M8d interface between the terminal device and the application server), and the rule update completion indication information includes the first service flow identifier, which is used to instruct the terminal device to complete the pairing.
  • the QoS rule of the first service flow is updated to inform the application server that the first service flow identifier may not be added to the downlink data packet.
  • the terminal device may not recognize the first service flow identifier included in the data packet. If the user plane function network element filters the The first data packet detection rule of a service flow is updated to the second data packet detection rule. When the user plane function network element sends the downlink data packet to the terminal device, it may also add a message indicating the The terminal device updates the first QoS rule of the first service flow to the first indication of the second QoS rule according to the second data packet filtering parameter in the data packet, and instructs the terminal device to update the first QoS rule of the first service flow. QoS rules.
  • the user plane function network element may add the first indication information at the general packet radio service (general packet radio service, GPRS) tunneling protocol user plane (GRPS tunneling protocol user plane, GTP-U) layer of the downlink data packet, If the first indication information is added to the extension bit of the CTP-U layer, the access network device can forward the downlink data packet to the terminal device through a radio resource control (radio resource control, RRC) message or the first The indication information is added to the packet data convergence protocol (packet data convergence protocol, PDCP)/service data adaptation protocol (service data adaptation protocol, SDAP) layer in the downlink data packet, and the first indication information is sent to the terminal device.
  • GPRS general packet radio service
  • GTP-U tunneling protocol user plane
  • RRC radio resource control
  • the indication information is added to the packet data convergence protocol (packet data convergence protocol, PDCP)/service data adaptation protocol (service data adaptation protocol, SDAP) layer in the downlink data packet, and the first indication information is
  • the session management function network element In addition, if the terminal device does not recognize the first service flow identifier included in the data packet, the session management function network element generates the second data packet detection rule of the first service flow according to the second data packet filtering parameter reported by the user plane function network element. , the session management function network element can also generate a second QoS rule of the first service flow according to the second data packet filtering parameter, and send it to the terminal device through a session management message (SM message), so that the terminal device can use the first service flow. A QoS rule is updated to a second QoS rule.
  • SM message session management message
  • the terminal device determines that the end-to-end connection corresponding to the first service flow is replaced or rebuilt, it can also take the initiative to filter the The first QoS rule of a service flow is updated to the second QoS rule.
  • Scenario 2 After the end-to-end connection (such as TCP connection, etc.) used to transmit the service flow is replaced or rebuilt, the terminal device and the user plane functional network element realize the automatic QoS rules and data packet inspection rules for the service flow according to the upstream service flow. renew.
  • end-to-end connection such as TCP connection, etc.
  • FIG. 8 is a schematic diagram of a service flow identification method provided by an embodiment of the present application, and the method includes:
  • S801 The terminal device determines that the end-to-end connection corresponding to the first service flow is replaced or rebuilt.
  • the terminal device updates the first QoS rule of the first service flow to a second QoS rule according to the second data packet filtering parameter corresponding to the replaced or rebuilt end-to-end connection.
  • the first QoS rule includes first data packet filtering parameters corresponding to the end-to-end connection before the first service flow is replaced or re-established, and the first QoS rule is used to detect that the first data packet includes the first data packet. filtering the data packets of the parameters, and providing a QoS policy for the data packets including the first data packet filtering parameters, the second QoS rules for detecting the data packets including the second data packet filtering parameters, and providing the data packets including the The data packet of the second data packet filtering parameter provides a QoS policy, and the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
  • an end-to-end connection (such as a TCP connection, etc.) for transmitting the first service flow may be established between the client of the terminal device and the application server. ) is replaced or rebuilt.
  • the terminal device will detect that the flow description information of the first service flow (such as the quintuple in the data packet filtering parameters) has changed, and the terminal device will Update the first data packet filtering parameter in the first QoS rule to the second data packet filtering parameter corresponding to the end-to-end connection after the replacement or reconstruction, so as to provide QoS for the data packet including the second data packet filtering parameter
  • a policy such as providing a policy for mapping the upstream data packet including the second data packet filtering parameter into the corresponding QoS flow.
  • the terminal device may also initiate a session modification process (eg, a PDU session modification process), and the session management function network element generates a second QoS rule based on the policy and charging control rules and sends it to the terminal device.
  • a session modification process eg, a PDU session modification process
  • the session management function network element generates a second QoS rule based on the policy and charging control rules and sends it to the terminal device.
  • the terminal device For the uplink data packet including the second data packet filtering parameter, the terminal device sends the uplink data packet to the user plane function network element according to the QoS policy provided by the first QoS rule, wherein the uplink data packet includes the first service flow identifier of the first service flow.
  • the terminal device uses the second QoS rule to detect and identify the upstream data packet of the first service flow, and after identifying that the second data packet filtering parameter in the upstream data packet is consistent with the data packet detection parameter recorded in the second QoS rule,
  • the downlink data packet is mapped to the QoS flow specified by the QoS policy and sent to the user plane function network element.
  • the terminal device may add the first service flow identifier in the IP/TCP layer of the uplink data packet, and send the first service flow identifier to the user plane function network element; or in the PDCP/SDAP layer of the uplink data packet Adding the first service flow identifier, when forwarding the uplink data packet to the user plane function, the access network device adds the first service flow identifier to the GTP-U layer of the uplink data packet and sends it to the user plane function network element.
  • the first data packet filtering rule is a data packet detection rule used in the user plane functional network element to detect data packets in the first service flow before receiving the uplink data packet.
  • the first The data packet detection rule is used to detect the data packet including the first data packet filtering parameter in the first service flow, and provide an execution policy, the second data packet for the data packet including the first data packet filtering parameter
  • the packet inspection rule is used to detect the data packet including the second data packet filtering parameter, and provide an execution policy for the data packet including the second data packet filtering parameter, the second data packet inspection rule and the first data packet inspection rule. Packet inspection rules provide the same enforcement policy.
  • the user plane function network element When the user plane function network element receives the uplink data packet including the first service flow identifier from the terminal device, it will check the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier with the above Check whether the second data packet filtering parameters in the uplink data packets are the same. If they are different, it is determined that the end-to-end connection corresponding to the first service flow has been replaced or rebuilt, and the user plane function network element will use the first data packet detection rule.
  • the first data packet filtering parameter is updated to the second data packet filtering parameter in the uplink data packet, so as to realize the detection and identification of the data packet (uplink or downlink) including the second data packet filtering parameter, and the second data packet
  • the data packet (uplink or downlink) of the packet filtering parameter provides the same execution policy as in the first packet inspection rule, such as providing one or more of FAR, URR, QoS, and so on.
  • the user plane function network element may also send the second data packet filtering parameter and the first service flow identifier to the session management function network element through an N4 session modification request (such as an N4 session modification request), and the session
  • the management function network element generates the second data packet detection rule according to the policy and charging control rule corresponding to the first service flow identifier and the second data packet filtering parameter, or the session management function network element updates the original first data packet A detection rule, wherein the first data packet filtering parameter in the first data packet detection rule is replaced with the second data packet filtering parameter, and a second data packet detection rule is generated.
  • the session management function network element can send the second packet detection rule to the user plane function network element for the user plane function network element to receive.
  • the second data packet detection rule is bound with the first service flow identifier to ensure that the data of the first service flow can be normally processed by the corresponding policy.
  • the user plane function network element sends the uplink data packet to the application server according to the execution policy provided by the second data packet detection rule.
  • the user plane function network element uses the second data packet detection rule to detect and identify the uplink data, and after identifying that the second data packet filtering parameter in the uplink data packet is consistent with the data packet detection parameter recorded in the second data packet detection rule,
  • the uplink data packet is sent to the application server by adopting the execution policy provided by the second data packet detection rule, such as the forwarding execution rule, etc.
  • the user plane functional network element may also add an instruction to the user plane functional network element in the uplink data packet sent to the application server.
  • Complete the second indication information for updating the data packet detection rule of the first service flow such as adding the second indication information to the IP/TCP layer or the application layer in the upstream data packet.
  • the application server can confirm that the user plane function network element has completed the update of the data packet detection rule of the first service flow, and can notify the terminal through the application layer M8d interface with the terminal device.
  • the device user plane function network element has completed the update of the data packet detection rule of the first service flow, and informs the terminal device that the first service flow identifier may not be added to the upstream data packet.
  • the service flow may be divided based on the quintuple, and may also be divided in more detail based on the quintuple + other information used to identify the flow, which is not limited in this embodiment of the present application.
  • the terminal device and the user plane functional network element may also directly detect and identify the data packets of the first service flow according to the first service flow identifier of the first service flow, and provide QoS policies and execution policies for the data packets.
  • the policy control function network element After the policy control function network element obtains the first service flow identifier of the first service flow, the policy control function network element will initiate a session management policy association establishment/modification process with the session management network element, for example: policy The control function network element may send a session management (session management, SM) policy association modification request (such as an SM policy association modification request) to the session management network element, and the policy including the first service flow identifier of the first service flow is matched with the first service flow identifier.
  • SM session management
  • the charging control rules are sent to the session management function network element, and the session management function network element generates data packet inspection rules and QoS rules according to the policy and charging control rules.
  • the data packet detection rule is used to detect the data packet including the first service flow identifier of the first service flow, and provide an execution policy for the data packet
  • the QoS rule is used to detect the data packet including the first service flow identifier data packets, and provide QoS policies for the data packets. That is to say, different from the existing packet detection rules and QoS rules based on packet filtering parameters to detect and identify packets of the first service flow, in this implementation, the first service flow is detected and identified based on the service flow identifier of the first service. the data package.
  • the session management function can send the packet inspection rules to the user plane function network elements through the session creation or modification process.
  • the packet inspection rule is sent to the user plane functional network element through an N4 session establishment/modification request (N4 session establishment/modification request).
  • the QoS rules can also be sent to the terminal device through a session modification command or the like.
  • the session management function network element may first send a communication message transfer message (such as a Namf_communication_N1N2message transfer message) carrying a session modification command (such as a PDU session modification command) to the access and mobility management function (AMF) network
  • AMF access and mobility management function
  • the data packets (uplink or downlink) of the first service flow transmitted between the terminal device and the application server all carry the identifier of the first service flow, because the data packet detection rule detects the data packets of the first service flow based on the first service flow identifier. , and provide an execution policy, the QoS rule detects the data packets of the first service flow based on the first service flow identifier, and provides QoS policies, even if due to the load balancing of the application server, CDN offloading, etc.
  • the end-to-end connection established between the application servers for transmitting the first service flow is replaced or rebuilt.
  • the first service flow identifier can be carried in the network layer, transport layer, or application layer of the data packet, etc., to assign the first service flow identifier to the first service flow and how to make the policy control function network element know that the first service is the first service.
  • For the flow assignment of the first service flow identifier reference may be made to the implementation in the above scenario 1, and details are not repeated here.
  • each network element includes a corresponding hardware structure and/or software module (or unit) for performing each function.
  • each network element includes a corresponding hardware structure and/or software module (or unit) for performing each function.
  • the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is implemented by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • FIG. 11 and FIG. 12 are schematic structural diagrams of possible service flow identification apparatuses provided by embodiments of the present application. These service flow identification apparatuses can be used to implement the functions of the terminal device, the session management function network element, the user plane function network element, the application server, and the application function network element in the above method embodiments, and thus can also implement the functions of the above method embodiments. beneficial effect.
  • the service flow identification device may be a terminal device, a session management function network element, a user plane function network element, an application server or an application function network element in the above method embodiments, or may be applied to a terminal A device, a session management function network element, a user plane function network element, an application server or a module (such as a chip) of an application function network element.
  • the apparatus 1100 for identifying a service flow may include: a processing unit 1102 and a communication unit 1103, and may further include a storage unit 1101.
  • the service flow identification apparatus 1100 is configured to implement the functions of a terminal device, a session management function network element, a user plane function network element, an application server or an application function network element in the above method embodiments.
  • the processing unit 1102 is used to implement corresponding processing functions.
  • the communication unit 1103 is used to support the communication between the service flow identification apparatus 1100 and other network entities.
  • the storage unit 1101 is used for storing program codes and/or data of the service flow identification apparatus 1100 .
  • the communication unit 1103 may include a receiving unit and/or a sending unit for performing receiving and sending operations, respectively.
  • a communication unit 1103, configured to receive a data packet, wherein the data packet includes a first service flow identifier of the first service flow to which the data packet belongs;
  • the processing unit 1102 is configured to, when the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the data packet, according to the first data packet filtering parameter in the data packet Two data packet filtering parameters, updating the first data packet inspection rule to a second data packet inspection rule; wherein the first data packet inspection rule is used to detect data packets including the first data packet filtering parameter, and providing an enforcement policy for packets including the first packet filtering parameter, the second packet inspection rule for detecting packets including the second packet filtering parameter, and providing an execution policy for packets including the second packet filtering parameter
  • the data packet of the filtering parameter provides an execution policy
  • the second data packet inspection rule is the same as the execution policy provided by the first data packet inspection rule.
  • the communication unit 1103 is further configured to, when the data packet is a downlink data packet from an application server, send to the terminal according to the execution policy provided by the second data packet detection rule the device sends the packet; or,
  • the data packet is an uplink data packet from a terminal device
  • the data packet is sent to the application server according to the execution policy provided by the second data packet detection rule.
  • the processing unit 1102 is further configured to add first indication information to the data packet sent to the terminal device, where the first indication information is used to instruct the terminal device according to the
  • the second data packet filtering parameter in the data packet updates the first quality of service QoS rule of the first service flow to the second QoS rule.
  • the processing unit 1102 is further configured to add second indication information to the data packet sent to the application server, where the second indication information is used to indicate the identification of the service flow
  • the apparatus completes the update of the data packet detection rule of the first service flow.
  • the processing unit 1102 when the processing unit 1102 updates the first data packet inspection rule to the second data packet inspection rule according to the second data packet filtering parameter, the processing unit 1102 is specifically configured to pass the communication Unit 1103 sends the second data packet filtering parameter and the first service flow identifier to the session management function network element; receives the second data packet detection rule from the session management function network element, the second data The packet inspection rule is determined by the session management function network element according to the second data packet filtering parameter and the first service flow identifier; and the first data packet inspection rule is updated to the second data packet inspection rule rule.
  • the communication unit 1103 is further configured to receive data packet detection rule configuration information from the session management function network element before receiving the data packet, where the data packet detection rule configuration information includes the first A first data packet detection rule of a service flow and an identifier of the first service flow.
  • the first service flow identifier is carried at the network layer or the transport layer or the application layer of the data packet.
  • the communication unit 1103 is configured to receive a data packet inspection rule from the session management function network element, the data packet inspection rule being used to detect a data packet including a first traffic flow identifier, and to provide execution for the data packet strategy, wherein the first service flow identified by the first service flow identifier corresponds to one or more end-to-end connections between the terminal device and the application server;
  • the communication unit 1103 is further configured to send the data packet to the application server according to the execution policy when receiving the data packet including the first service flow identifier from the terminal device; When the data packet including the first service flow identifier is received from the application server, the data packet is sent to the terminal device according to the execution policy.
  • the communication unit 1103 is configured to receive a downlink data packet from a user plane functional network element, where the downlink data packet includes a first service flow identifier of the first service flow to which the downlink data packet belongs ;
  • the processing unit 1102 is configured to, when the first data packet filtering parameter in the first quality of service QoS rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the downlink data packet, according to the The second data packet filtering parameter is to update the first QoS rule to a second QoS rule; wherein the first QoS rule is used to detect data packets including the first data packet filtering parameter, and is configured to include the first data packet filtering parameter.
  • a packet with a packet filter parameter provides a QoS policy
  • the second QoS rule is used to detect packets including the second packet filter parameter, and provide QoS for the packet including the second packet filter parameter policy
  • the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
  • the downlink data packet further includes first indication information, where the first indication information is used to instruct the service flow identification device to filter parameters according to the second data packet in the downlink data packet , and update the first QoS rule to the second QoS rule.
  • the communication unit 1103 is further configured to send rule update completion indication information to the application server, where the rule update completion indication information includes the first service flow identifier, which is used to indicate the terminal The device completes the QoS rule update for the first service flow.
  • the processing unit 1102 before the communication unit 1103 receives the downlink data packet from the user plane functional network element, is further configured to allocate the first service flow to the first service flow identification;
  • the communication unit 1103 is further configured to send first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service Stream ID.
  • the communication unit 1103 before receiving the downlink data packet from the user plane function network element, is further configured to receive QoS rule configuration information from the session management function network element, where the QoS rule configuration information includes all the first QoS rule and the first service flow identifier.
  • the first service flow identifier is carried at the network layer or the transport layer or the application layer of the downlink data packet.
  • the processing unit 1102 is configured to determine that the end-to-end connection corresponding to the first service flow is replaced or rebuilt;
  • the processing unit 1102 is further configured to update the first quality of service QoS rule of the first service flow to a second QoS rule according to the second packet filtering parameter corresponding to the end-to-end connection after the replacement or reconstruction, wherein
  • the first QoS rule includes the first packet filtering parameter corresponding to the end-to-end connection before the first service flow is replaced or reestablished, and the first QoS rule is used to detect that the first packet filtering parameter includes the first packet filtering parameter. and provide QoS policy for the data packet including the first data packet filtering parameter, the second QoS rule is used to detect the data packet including the second data packet filtering parameter, and provide QoS policy for the data packet including the first data packet filtering parameter.
  • a data packet with two data packet filtering parameters provides a QoS policy, and the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
  • the communication unit 1103 is configured to, for the uplink data packet including the second data packet filtering parameter, send the uplink data packet to the user plane function network element according to the QoS policy, wherein the The upstream data packet includes a first service flow identifier of the first service flow.
  • the processing unit 1102 is further configured to assign the first service flow identifier to the first service flow;
  • the communication unit 1103 is further configured to send first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service Stream ID.
  • the communication unit 1103 is further configured to receive QoS rule configuration information from the session management function network element, where the QoS rule configuration information includes the first QoS rule and the first service flow logo.
  • the first service flow identifier is carried at the network layer or the transport layer or the application layer of the uplink data packet.
  • the communication unit 1103 is configured to receive a quality of service QoS rule from the session management function network element, where the QoS rule is configured to detect a data packet including the first service flow identifier, and provide the data packet with QoS policy, wherein the first service flow identified by the first service flow identifier corresponds to one or more end-to-end connections between the terminal device and the application server;
  • the communication unit 1103 is further configured to, for the data packet including the first service flow identifier, detect the data packet according to the QoS rule, and send the data packet to the user plane function network element based on the QoS policy , wherein the user plane functional network element is located on one or more end-to-end connections between the terminal device and the application server.
  • a processing unit 1102 configured to determine that the end-to-end connection corresponding to the first service flow is replaced or rebuilt;
  • the communication unit 1103 is configured to send a downlink data packet of the first service flow to a user plane functional network element, where the downlink data packet includes a first service flow identifier of the first service flow.
  • the communication unit 1103 is further configured to receive second service flow identification configuration information from the application function network element, where the second service flow identification configuration information includes the first service flow Flow description information and the first service flow identifier.
  • the first service flow identifier is carried at the network layer or the transport layer or the application layer of the downlink data packet.
  • a communication unit 1103, configured to receive a policy and charging control rule and a first service flow identifier from a policy control function network element, wherein the policy and charging control rule includes a first packet filtering parameter;
  • the processing unit 1102 is configured to generate a first packet inspection rule and a first quality of service QoS rule for the first service flow corresponding to the first service flow identifier according to the policy and the charging control rule.
  • the data packet inspection rule is used to detect the data packet including the first data packet filtering parameter, and provide an execution policy for the data packet including the first data packet filtering parameter
  • the first QoS rule is used to detect the data packet including the first data packet filtering parameter. filtering the data packets of the first data packet parameters, and providing a QoS policy for the data packets including the first data packet filtering parameters;
  • the communication unit 1103 is further configured to send data packet inspection rule configuration information to the user plane functional network element, where the data packet inspection rule configuration information includes the first data packet inspection rule and the first service flow identifier; and Send the QoS rule configuration information to the terminal device, where the QoS rule configuration information includes the first QoS rule and the first service flow identifier.
  • the communication unit 1103 is further configured to receive the second data packet filtering parameter and the first service flow identifier from the user plane functional network element;
  • the processing unit 1102 is further configured to generate a second packet detection rule for the first service flow according to the second packet filtering parameter and the policy and charging control rule, and the second packet detection The rule is used to detect the data packet including the second data packet filtering parameter, and provide an enforcement policy for the data packet including the second data packet filtering parameter;
  • the communication unit 1103 is further configured to send the second data packet detection rule to the user plane functional network element.
  • the processing unit 1102 is configured to generate a data packet inspection rule and a quality of service QoS rule according to the policy and charging control rule of the first service flow and the first service flow identifier, wherein the first service flow corresponds to the terminal One or more end-to-end connections between a device and an application server, the data packet inspection rules are used to detect data packets including the first service flow identifier, and provide execution policies for the data packets, and the QoS rules for detecting a data packet including the first service flow identifier, and providing a QoS policy for the data packet;
  • the communication unit 1103 is configured to send the QoS rule to the terminal device, and send the data packet detection rule to a user plane function network element, where the user plane function network element is located between the terminal device and the application server. on one or more end-to-end connections.
  • the communication unit 1103 is configured to receive first service flow identification configuration information from the terminal device, where the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification; and send the second service flow identification configuration information to the application server, and send the third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow identification configuration information
  • the information includes the flow description information of the first service flow and the first service flow identifier.
  • the processing unit 1102 is configured to assign a first service flow identifier to the first service flow
  • the communication unit 1103 is configured to send the second service flow identification configuration information to the application server, and send the third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow
  • the identification configuration information includes the flow description information of the first service flow and the first service flow identification.
  • the service flow identification apparatus 1200 includes a processor 1210 and an interface circuit 1220 .
  • the processor 1210 and the interface circuit 1220 are coupled to each other.
  • the interface circuit 1220 can be a transceiver or an input-output interface.
  • the service flow identification apparatus 1200 may further include a memory 1230 for storing instructions executed by the processor 1210 or input data required by the processor 1210 to run the instructions or data generated after the processor 1210 runs the instructions.
  • the processor 1210 is used for The function of the above-mentioned processing unit 1102 is realized, and the interface circuit 1220 is used to realize the function of the above-mentioned communication unit 1103 .
  • a computer-readable storage medium on which instructions are stored, and when the instructions are executed, the above-mentioned method embodiments are applicable to terminal devices, session management function network elements, and user planes.
  • a computer program product containing an instruction is provided.
  • the instruction When the instruction is executed, it can execute the above method in the embodiment, which is applicable to a terminal device, a network element with a session management function, a network element with a user plane function, and an application. Service flow identification method of server or application function network element.
  • a chip is provided.
  • the chip When the chip is running, it can execute the functions in the foregoing method embodiments applicable to terminal equipment, session management function network elements, user plane function network elements, application servers or application functions. Service flow identification method of network element.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application relates to the field of communication technology and discloses a method for identifying a service flow and an apparatus, which are used when an end-to-end connection for transmitting a service flow is changed or re-established to prevent a terminal device from needing to initiate a session modification procedure, which would cause a session management function network element, etc., to re-configure for a service a control policy suitable for the new connection, same suffering from problems of being a cumbersome process and having poor timeliness. The method comprises: a user plane function network element receives a data packet, wherein the data packet comprises a first service flow identifier of a first service flow to which the data packet belongs; when a first data packet filter parameter in a first data packet detection rule corresponding to the first service flow identifier differs from a second data packet filter parameter in the data packet, the user plane function network element updates the first data packet detection rule to a second data packet detection rule according to the second data packet filter parameter.

Description

一种业务流识别方法及装置Service flow identification method and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2021年04月30日提交中国国家知识产权局、申请号为202110480030.7、申请名称为“一种业务流识别方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110480030.7 and the application title "A method and device for identifying a service flow" filed with the State Intellectual Property Office of China on April 30, 2021, the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种业务流识别方法及装置。The embodiments of the present application relate to the field of communication technologies, and in particular, to a method and apparatus for identifying a service flow.
背景技术Background technique
目前媒体行业快速发展,用户可以通过在手机、平板电脑等终端设备上安装的客户端(例如腾讯视频客户端、优酷视频客户端、视频会议客户端等)或者浏览器观看直播、电视剧以及进行视频会议等。从网络层来看,媒体流量在未来第五代移动通信技术(the 5th generation mobile communication technology,5G)网络中的占比预计将会超过90%,是移动通信网络的主要承载流量,用户媒体体验很大程度上就决定了用户对整个移动通信网络的业务体验;从业务层来看,媒体不断向超高清视频、360度全景虚拟现实(virtual reality,VR)视频等新媒体形式发展,快速切换、快速码率自适应切换等时尚型控制需求对时延和带宽有越来越严苛的要求,单纯依赖业务层自身的闭环控制难以满足用户的媒体体验要求。At present, the media industry is developing rapidly. Users can watch live broadcasts, TV series and video through the client installed on terminal devices such as mobile phones and tablet computers (such as Tencent video client, Youku video client, video conference client, etc.) or browsers. meetings, etc. From the perspective of the network layer, the proportion of media traffic in the 5th generation mobile communication technology (5G) network in the future is expected to exceed 90%. To a large extent, it determines the user's service experience of the entire mobile communication network; from the perspective of the service layer, media is constantly developing towards new media forms such as ultra-high-definition video, 360-degree panoramic virtual reality (VR) video, and rapid switching. , fast bit rate adaptive switching and other fashion control requirements have more and more stringent requirements on delay and bandwidth, and it is difficult to meet the user's media experience requirements solely relying on the closed-loop control of the business layer itself.
因此,联合网络与业务,通过网络辅助提升业务的服务质量,优化用户的体验,变得尤为重要。目前,5G网络可以通过不同的数据包过滤参数如五元组(目的/源网络之间互连的协议(internet protocol,IP)地址,目的/源端口号,传输层协议类型),明确每个数据包所属的具体业务流,从而进一步地针对不同的业务提供差异化的策略控制。Therefore, it is particularly important to combine the network and business, improve the service quality of the business through network assistance, and optimize the user experience. At present, 5G networks can use different packet filtering parameters such as quintuple (internet protocol (IP) address between destination/source networks, destination/source port number, transport layer protocol type) to specify each The specific service flow to which the data packet belongs, thereby further providing differentiated policy control for different services.
但是,由于应用服务器的负载均衡、内容分发网络(content delivery network,CDN)分载等多种原因,会导致终端设备与应用服务器之间端到端连接的更换或重建,如传输控制协议(transmission control protocol,TCP)连接的更换或重建。而终端设备与应用服务器之间端到端连接的更换或重建,会造成用于传输业务流的端到端连接发生变化,已配置的检测与控制策略中用于识别业务流的数据包过滤参数需要进行调整与更新,这就需要终端设备频繁的发起会话修改流程,以使核心网侧的会话管理功能等网元为业务再次配置适用于新端到端连接的检测与控制策略,如向用户面功能网元下发适用于新端到端连接的数据包检测规则,过程繁琐且时效性差。However, due to various reasons such as load balancing of the application server, content delivery network (CDN) offloading, etc., the end-to-end connection between the terminal device and the application server will be replaced or rebuilt, such as the transmission control protocol (transmission control protocol). control protocol, TCP) connection replacement or reconstruction. However, the replacement or reconstruction of the end-to-end connection between the terminal device and the application server will cause the end-to-end connection used to transmit the service flow to change, and the packet filtering parameters used to identify the service flow in the configured detection and control policy It needs to be adjusted and updated, which requires the terminal device to frequently initiate the session modification process, so that the network elements such as the session management function on the core network side can reconfigure the detection and control policy suitable for the new end-to-end connection for the service. The network element of the plane function issues the packet inspection rules applicable to the new end-to-end connection, which is a cumbersome process and has poor timeliness.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种业务流识别方法及装置,用以解决用于传输业务流的端到端连接(如TCP连接等)发生变化时,配置适用于新端到端连接的控制策略,过程繁琐且时效性差的问题。The embodiments of the present application provide a service flow identification method and device, which are used to solve the problem of configuring a control policy applicable to a new end-to-end connection when an end-to-end connection (such as a TCP connection, etc.) used to transmit a service flow changes, and the process Cumbersome and time-sensitive questions.
第一方面,本申请实施例提供一种业务流识别方法,该方法包括:用户面功能网元接收数据包,其中所述数据包中包括所述数据包所属的第一业务流的第一业务流标识;当所 述第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数与所述数据包中的第二数据包过滤参数不同时,所述用户面功能网元根据所述第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则;其中所述第一数据包检测规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略、所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略,所述第二数据包检测规则与所述第一数据包检测规则提供的执行策略相同。可选的,所述用户面功能网元根据所述数第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则,包括:所述用户面功能网元向会话管理功能网元发送所述第二数据包过滤参数和所述第一业务流标识;所述用户面功能网元接收来自所述会话管理功能网元的所述第二数据包检测规则;所述用户面功能网元将所述第一数据包检测规则更新为所述第二数据包检测规则。In a first aspect, an embodiment of the present application provides a service flow identification method, the method includes: a user plane function network element receives a data packet, wherein the data packet includes a first service of a first service flow to which the data packet belongs flow identifier; when the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the data packet, the user plane function network element According to the second data packet filtering parameter, the first data packet inspection rule is updated to a second data packet inspection rule; wherein the first data packet inspection rule is used to detect the data including the first data packet filtering parameter. data packet, and provide an execution policy for the data packet including the first data packet filtering parameter, the second data packet inspection rule is used to detect the data packet including the second data packet filtering parameter, and for the data packet including the The data packet of the second data packet filtering parameter provides an execution policy, and the second data packet inspection rule is the same as the execution policy provided by the first data packet inspection rule. Optionally, the user plane function network element updates the first data packet detection rule to the second data packet detection rule according to the second data packet filtering parameter, including: the user plane function network element to the second data packet detection rule. The session management function network element sends the second data packet filtering parameter and the first service flow identifier; the user plane function network element receives the second data packet detection rule from the session management function network element; the The user plane function network element updates the first data packet inspection rule to the second data packet inspection rule.
在本申请实施例中,当用于传输业务流的端到端连接发生更换或重建后,终端设备或应用服务器在向用户面功能网元发送的数据包中会携带数据包所属业务流的业务流标识,用户面功能网元在接收到携带业务流标识的数据包时,会检测自身在接收到该数据包之前保存的第一数据包检测规则中的第一数据包过滤参数与该数据包中的第二数据包过滤参数是否相同,不同时则将第一数据包检测规则中的第一数据包过滤参数更新为第二数据包过滤参数,构建第二数据包检测规则,即可实现对端到端连接发生更换或重建后业务流的数据包进行检测,并提供执行策略,无需终端设备再发起会话修改流程,以及核心网侧的会话管理功能等网元为业务再次配置适用于新端到端连接的控制策略,可简化实现流程,提高时效性。In the embodiment of the present application, after the end-to-end connection for transmitting the service flow is replaced or rebuilt, the terminal device or the application server will carry the service of the service flow to which the data packet belongs in the data packet sent to the user plane functional network element. Flow ID, when the user plane function network element receives a data packet carrying a service flow ID, it will detect the first data packet filtering parameter in the first data packet detection rule saved before receiving the data packet and the data packet. Whether the second packet filtering parameter in the first packet detection rule is the same, if not, update the first packet filtering parameter in the first packet detection rule to the second packet filtering parameter, and construct the second packet detection rule, so as to realize the After the end-to-end connection is replaced or rebuilt, the data packets of the service flow are detected, and an execution policy is provided. There is no need for the terminal device to initiate the session modification process again, and the network elements such as the session management function on the core network side reconfigure the service for the new end. The control strategy of the end-to-end connection can simplify the implementation process and improve the timeliness.
在一种可能的设计中,所述方法还包括:当所述数据包为来自应用服务器的下行数据包时,所述用户面功能网元根据所述第二数据包检测规则提供的所述执行策略,向终端设备发送所述数据包;或者,当所述数据包为来自终端设备的上行数据包时,所述用户面功能网元根据所述第二数据包检测规则提供的所述执行策略,向应用服务器发送所述数据包。In a possible design, the method further includes: when the data packet is a downlink data packet from an application server, performing the execution provided by the user plane function network element according to the second data packet detection rule policy, and send the data packet to the terminal device; or, when the data packet is an uplink data packet from the terminal device, the user plane function network element provides the execution policy according to the second data packet detection rule , and send the data packet to the application server.
上述设计中,有利于业务流的数据包均得到对应的及时策略处理(如得到数据包检测规则中的转发执行规则等的处理),提高用户体验。In the above design, the data packets that are beneficial to the service flow are processed by corresponding policies in a timely manner (for example, the processing of obtaining the forwarding execution rules in the data packet detection rules, etc.) to improve user experience.
在一种可能的设计中,所述用户面功能网元在向所述终端设备发送的所述数据包中添加第一指示信息,所述第一指示信息用于指示所述终端设备根据所述数据包中的第二数据包过滤参数,将所述第一业务流的第一服务质量QoS规则更新为第二QoS规则。In a possible design, the user plane function network element adds first indication information to the data packet sent to the terminal device, where the first indication information is used to instruct the terminal device to The second data packet filtering parameter in the data packet updates the first quality of service QoS rule of the first service flow to the second QoS rule.
上述设计中,通过向终端设备发送的数据包中添加第一指示信息,确保终端设备能够感知到用户面功能网元已经完成数据包检测规则更新,有利于辅助终端设备实现将适用于更换或重建之前端到端连接的第一QoS规则,更新为适用于更换或重建后端到端连接的第二QoS规则。In the above design, by adding the first indication information to the data packet sent by the terminal device, it is ensured that the terminal device can perceive that the user plane function network element has completed the update of the data packet detection rule, which is beneficial to assist the terminal device to realize that it will be suitable for replacement or reconstruction. The first QoS rule of the previous end-to-end connection is updated to the second QoS rule applicable to the end-to-end connection after replacement or re-establishment.
在一种可能的设计中,所述用户面功能网元在向所述应用服务器发送的所述数据包中添加第二指示信息,所述第二指示信息用于指示所述用户面功能网元完成对所述第一业务流的数据包检测规则的更新。In a possible design, the user plane function network element adds second indication information to the data packet sent to the application server, where the second indication information is used to indicate the user plane function network element The update of the data packet detection rule of the first service flow is completed.
上述设计中,通过向应用服务器发送第二指示信息,可以使应用服务器获知到用户面功能网元已完成数据包检测规则的更新,应用服务器可以告知终端设备用户面功能网元已完成数据包检测规则的更新,从而使终端设备取消在上行数据包中添加第一业务流标识。In the above design, by sending the second indication information to the application server, the application server can be informed that the user plane functional network element has completed the update of the data packet detection rules, and the application server can inform the terminal equipment that the user plane functional network element has completed the data packet detection. The rules are updated, so that the terminal device cancels adding the first service flow identifier to the upstream data packet.
在一种可能的设计中,所述用户面功能网元接收数据包之前,还包括:所述用户面功 能网元接收来自会话管理功能网元的数据包检测规则配置信息,所述数据包检测规则配置信息包括所述第一数据包检测规则和所述第一业务流标识。In a possible design, before the user plane function network element receives the data packet, the method further includes: the user plane function network element receives the data packet detection rule configuration information from the session management function network element, and the data packet detection The rule configuration information includes the first data packet detection rule and the first service flow identifier.
上述设计中,可以由会话管理功能网元为用户面功能网元下发第一业务流的业务流标识,有利于当用于传输业务流的端到端连接发生更换或重建后,用户面功能网元准确识别通过更换或重建后的端到端连接传输的业务流的数据包。In the above design, the session management function network element can issue the service flow identifier of the first service flow to the user plane function network element, which is beneficial to the user plane function after the end-to-end connection for transmitting the service flow is replaced or rebuilt. The network element accurately identifies the data packets of the service flow transmitted over the replaced or re-established end-to-end connection.
在一种可能的设计中,所述第一业务流标识可以承载在所述数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier may be carried at the network layer or the transport layer or the application layer of the data packet.
第二方面,本申请实施例提供一种业务流识别方法,该方法包括:终端设备接收来自用户面功能网元的下行数据包,所述下行数据包中包括所述下行数据包所属的第一业务流的第一业务流标识;当所述第一业务流标识对应的第一服务质量QoS规则中的第一数据包过滤参数与所述下行数据包中的第二数据包过滤参数不同时,所述终端设备根据所述第二数据包过滤参数,将所述第一QoS规则更新为第二QoS规则;其中所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。In a second aspect, an embodiment of the present application provides a method for identifying a service flow. The method includes: a terminal device receives a downlink data packet from a user plane functional network element, where the downlink data packet includes a first data packet to which the downlink data packet belongs. the first service flow identifier of the service flow; when the first data packet filtering parameter in the first quality of service QoS rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the downlink data packet, The terminal device updates the first QoS rule to a second QoS rule according to the second data packet filtering parameter; wherein the first QoS rule is used to detect a data packet including the first data packet filtering parameter , and provide a QoS policy for the data packet including the first data packet filtering parameter, the second QoS rule is used to detect the data packet including the second data packet filtering parameter, and for the data packet including the second data packet The data packet of the filtering parameter provides a QoS policy, and the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
在一种可能的设计中,所述下行数据包中还包括第一指示信息,所述第一指示信息用于指示所述终端设备根据所述下行数据包中的第二数据包过滤参数,将所述第一QoS规则更新为所述第二QoS规则。In a possible design, the downlink data packet further includes first indication information, where the first indication information is used to instruct the terminal device to The first QoS rule is updated to the second QoS rule.
在一种可能的设计中,所述方法还包括:所述终端设备向应用服务器发送规则更新完成指示信息,所述规则更新完成指示信息中包括所述第一业务流标识,用于指示所述终端设备完成对所述第一业务流的QoS规则更新。In a possible design, the method further includes: the terminal device sending rule update completion indication information to the application server, where the rule update completion indication information includes the first service flow identifier, which is used to indicate the The terminal device completes the update of the QoS rule for the first service flow.
在一种可能的设计中,所述终端设备接收来自用户面功能网元的下行数据包之前,所述方法还包括:所述终端设备为所述第一业务流分配所述第一业务流标识;所述终端设备向应用功能网元发送第一业务流标识配置信息,所述第一业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。In a possible design, before the terminal device receives a downlink data packet from a user plane functional network element, the method further includes: assigning, by the terminal device, the first service flow identifier to the first service flow ; The terminal device sends first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification.
在一种可能的设计中,所述终端设备接收来自用户面功能网元的下行数据包之前,所述方法还包括:所述终端设备接收来自会话管理功能网元的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。In a possible design, before the terminal device receives the downlink data packet from the user plane function network element, the method further includes: the terminal device receives the QoS rule configuration information from the session management function network element, the The QoS rule configuration information includes the first QoS rule and the first service flow identifier.
在一种可能的设计中,所述第一业务流标识可以承载在所述下行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
第三方面,本申请实施例提供一种业务流识别方法,该方法包括:终端设备确定第一业务流对应的端到端连接发生更换或重建;所述终端设备根据更换或重建后的端到端连接对应的第二数据包过滤参数,将所述第一业务流的第一服务质量QoS规则更新为第二QoS规则;其中所述第一QoS规则中包括所述第一业务流更换或重建前的端到端连接对应的第一数据包过滤参数,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。In a third aspect, an embodiment of the present application provides a service flow identification method, the method includes: a terminal device determines that an end-to-end connection corresponding to a first service flow is replaced or rebuilt; The second data packet filtering parameter corresponding to the terminal connection, and the first quality of service QoS rule of the first service flow is updated to the second QoS rule; wherein the first QoS rule includes the replacement or reconstruction of the first service flow The first data packet filtering parameter corresponding to the previous end-to-end connection, the first QoS rule is used to detect the data packet including the first data packet filtering parameter, and is the data including the first data packet filtering parameter. The packet provides a QoS policy, the second QoS rule is used to detect the data packet including the second data packet filtering parameter, and provide a QoS policy for the data packet including the second data packet filtering parameter, the second QoS The QoS policy provided by the rule is the same as the QoS policy provided by the first QoS rule.
在一种可能的设计中,所述方法还包括:对于包括所述第二数据包过滤参数的上行数 据包,所述终端设备根据所述QoS策略向用户面功能网元发送所述上行数据包,其中,所述上行数据包中包括所述第一业务流的第一业务流标识。In a possible design, the method further includes: for the uplink data packet including the second data packet filtering parameter, the terminal device sends the uplink data packet to the user plane function network element according to the QoS policy , wherein the uplink data packet includes a first service flow identifier of the first service flow.
在一种可能的设计中,所述方法还包括:所述终端设备为所述第一业务流分配所述第一业务流标识;所述终端设备向应用功能网元发送第一业务流标识配置信息,所述第一业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。In a possible design, the method further includes: assigning, by the terminal device, the first service flow identifier to the first service flow; sending, by the terminal device, a configuration of the first service flow identifier to an application function network element information, the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification.
在一种可能的设计中,所述方法还包括:所述终端设备接收来自会话管理功能网元的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。In a possible design, the method further includes: receiving, by the terminal device, QoS rule configuration information from a session management function network element, where the QoS rule configuration information includes the first QoS rule and the first service Stream ID.
在一种可能的设计中,所述第一业务流标识可以承载在所述上行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier may be carried at the network layer, transport layer or application layer of the uplink data packet.
第四方面,本申请实施例提供一种业务流识别方法,该方法包括:应用服务器确定第一业务流对应的端到端连接发生更换或重建;所述应用服务器向用户面功能网元发送所述第一业务流的下行数据包,所述下行数据包中包括所述第一业务流的第一业务流标识。In a fourth aspect, an embodiment of the present application provides a service flow identification method, the method includes: an application server determines that an end-to-end connection corresponding to a first service flow is replaced or rebuilt; A downlink data packet of the first service flow, where the downlink data packet includes a first service flow identifier of the first service flow.
在一种可能的设计中,所述方法还包括:所述应用服务器接收来自应用功能网元的第二业务流标识配置信息,所述第二业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。In a possible design, the method further includes: receiving, by the application server, second service flow identification configuration information from an application function network element, where the second service flow identification configuration information includes the first service flow flow description information and the first service flow identifier.
在一种可能的设计中,所述第一业务流标识可以承载在所述下行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
第五方面,本申请实施例提供一种业务流识别方法,该方法包括:所述会话管理功能网元接收来自策略控制功能网元的策略与计费控制规则和第一业务流标识,其中所述策略与计费控制规则中包括第一数据包过滤参数;所述会话管理功能网元根据所述策略与计费控制规则,为所述第一业务流标识对应的第一业务流生成第一数据包检测规则和第一服务质量QoS规则,所述第一数据包检测规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略;所述会话管理功能网元向用户面功能网元发送数据包检测规则配置信息,所述数据包检测规则配置信息包括所述第一数据包检测规则和所述第一业务流标识;以及向终端设备发送所述的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。In a fifth aspect, an embodiment of the present application provides a service flow identification method, the method includes: the session management function network element receives a policy and charging control rule and a first service flow identification from a policy control function network element, wherein the The policy and charging control rule includes a first packet filtering parameter; the session management function network element generates a first service flow corresponding to the first service flow identifier according to the policy and charging control rule. A packet inspection rule and a first quality of service QoS rule, where the first packet inspection rule is used to detect a packet including the first packet filtering parameter, and is a packet including the first packet filtering parameter Provide an execution policy, the first QoS rule is used to detect the data packet including the first data packet filtering parameter, and provide a QoS policy for the data packet including the first data packet filtering parameter; the session management function network The element sends the data packet inspection rule configuration information to the user plane function network element, the data packet inspection rule configuration information includes the first data packet inspection rule and the first service flow identifier; and sends the QoS to the terminal device. Rule configuration information, where the QoS rule configuration information includes the first QoS rule and the first service flow identifier.
在一种可能的设计中,所述方法还包括:所述会话管理功能网元接收来自所述用户面功能网元的第二数据包过滤参数和所述第一业务流标识;所述会话管理功能网元根据所述第二数据包过滤参数和所述策略与计费控制规则,为所述第一业务流生成第二数据包检测规则,所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略;所述会话管理功能网元向所述用户面功能网元发送所述第二数据包检测规则。In a possible design, the method further includes: the session management function network element receives the second packet filtering parameter and the first service flow identifier from the user plane function network element; the session management function The functional network element generates a second data packet inspection rule for the first service flow according to the second data packet filtering parameter and the policy and charging control rule, and the second data packet inspection rule is used to detect the the second data packet filtering parameter, and provide an execution policy for the data packet including the second data packet filtering parameter; the session management function network element sends the second data to the user plane function network element Packet inspection rules.
第六方面,本申请实施例提供一种业务流识别方法,该方法包括:应用功能网元接收来自终端设备的第一业务流标识配置信息,所述第一业务流标识配置信息中包括第一业务流的流描述信息和第一业务流标识;所述应用功能网元向应用服务器发送第二业务流标识配置信息,以及向策略控制功能网元发送第三业务流标识配置信息,所述第二业务流标识配置信息和所述第三业务流标识配置信息中均包括所述第一业务流的流描述信息和第一 业务流标识。In a sixth aspect, an embodiment of the present application provides a service flow identification method, the method includes: an application function network element receives first service flow identification configuration information from a terminal device, where the first service flow identification configuration information includes a first service flow identification configuration information. The flow description information of the service flow and the first service flow identification; the application function network element sends the second service flow identification configuration information to the application server, and sends the third service flow identification configuration information to the policy control function network element, and the first service flow identification configuration information is sent to the application server. Both the second service flow identification configuration information and the third service flow identification configuration information include flow description information of the first service flow and a first service flow identification.
第七方面,本申请实施例提供一种业务流识别方法,该方法包括:应用功能网元为第一业务流分配第一业务流标识;所述应用功能网元向应用服务器发送第二业务流标识配置信息,以及向策略控制功能网元发送第三业务流标识配置信息,所述第二业务流标识配置信息和所述第三业务流标识配置信息中均包括所述第一业务流的流描述信息和第一业务流标识。In a seventh aspect, an embodiment of the present application provides a service flow identification method, the method includes: an application function network element assigns a first service flow identifier to a first service flow; the application function network element sends a second service flow to an application server identification configuration information, and sending third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow identification configuration information both include the flow of the first service flow description information and the first service flow identifier.
第八方面,本申请实施例提供一种业务流识别方法,该方法包括:用户面功能网元接收来自会话管理功能网元的数据包检测规则,所述数据包检测规则用于检测包括第一业务流标识的数据包,并为所述数据包提供执行策略,其中所述第一业务流标识所标识的第一业务流对应终端设备和应用服务器间的一个或多个端到端连接;当所述用户面功能网元接收到来自所述终端设备的包括所述第一业务流标识的数据包时,所述用户面功能网元根据所述执行策略向所述应用服务器发送所述数据包;或者当所述用户面功能网元接收到来自所述应用服务器的包括所述第一业务流标识的数据包时,所述用户面功能网元根据所述执行策略向所述终端设备发送所述数据包。In an eighth aspect, an embodiment of the present application provides a service flow identification method, the method includes: a user plane function network element receives a data packet detection rule from a session management function network element, where the data packet detection rule is used to detect a first A data packet identified by a service flow, and an execution policy is provided for the data packet, wherein the first service flow identified by the first service flow identification corresponds to one or more end-to-end connections between the terminal device and the application server; when When the user plane function network element receives the data packet including the first service flow identifier from the terminal device, the user plane function network element sends the data packet to the application server according to the execution policy ; or when the user plane function network element receives the data packet including the first service flow identifier from the application server, the user plane function network element sends the data packet to the terminal device according to the execution policy. the data package.
在一种可能的设计中,所述第一业务流标识可以承载在所述下行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
第九方面,本申请实施例提供一种业务流识别方法,该方法包括:终端设备接收来自会话管理功能网元的服务质量QoS规则,所述QoS规则用于检测包括第一业务流标识的数据包,并为所述数据包提供QoS策略,其中所述第一业务流标识所标识的第一业务流对应终端设备和应用服务器间的一个或多个端到端连接;对于包括所述第一业务流标识的数据包,所述终端设备根据所述QoS规则检测所述数据包,并基于所述QoS策略向用户面功能网元发送所述数据包,其中所述用户面功能网元位于所述终端设备和应用服务器间的一个或多个端到端连接上。In a ninth aspect, an embodiment of the present application provides a service flow identification method, the method comprising: a terminal device receiving a quality of service QoS rule from a session management function network element, where the QoS rule is used to detect data including a first service flow identification packet, and provide a QoS policy for the data packet, wherein the first service flow identified by the first service flow identifier corresponds to one or more end-to-end connections between the terminal device and the application server; The data packet identified by the service flow, the terminal device detects the data packet according to the QoS rule, and sends the data packet to the user plane function network element based on the QoS policy, wherein the user plane function network element is located in the one or more end-to-end connections between the terminal device and the application server.
在一种可能的设计中,所述第一业务流标识可以承载在所述下行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
第十方面,本申请实施例提供一种业务流识别方法,该方法包括:会话管理功能网元根据第一业务流的策略与计费控制规则和第一业务流标识,生成数据包检测规则和服务质量QoS规则,其中所述第一业务流对应终端设备和应用服务器间的一个或多个端到端连接,所述数据包检测规则用于检测包括所述第一业务流标识的数据包,并为所述数据包提供执行策略,所述QoS规则用于检测包括所述第一业务流标识的数据包,并为所述数据包提供QoS策略;所述会话管理网元向所述终端设备发送所述QoS规则,以及向用户面功能网元发送所述数据包检测规则,其中所述用户面功能网元位于所述终端设备和应用服务器间的一个或多个端到端连接上。In a tenth aspect, an embodiment of the present application provides a service flow identification method, the method includes: a session management function network element generates a data packet detection rule and a quality of service QoS rule, wherein the first service flow corresponds to one or more end-to-end connections between a terminal device and an application server, and the data packet inspection rule is used to detect a data packet including an identifier of the first service flow, and provide an execution policy for the data packet, the QoS rule is used to detect the data packet including the first service flow identifier, and provide a QoS policy for the data packet; the session management network element reports to the terminal device The QoS rules are sent, and the packet inspection rules are sent to a user plane functional network element, wherein the user plane functional network element is located on one or more end-to-end connections between the terminal device and the application server.
在一种可能的设计中,所述第一业务流标识可以承载在所述下行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier may be carried at the network layer, transport layer or application layer of the downlink data packet.
第十一方面,本申请实施例提供一种业务流识别装置,该装置具有实现上述第一方面或者第一方面的任一种可能的设计中方法,或实现上述第八方面或者第八方面的任一种可能的设计中方法的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元(模块),比如包括通信单元和处理单元。In an eleventh aspect, an embodiment of the present application provides a service flow identification device, which has the first aspect or any possible in-design method of the first aspect, or the eighth aspect or the eighth aspect. The function of any possible design method, the function can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
在一个可能的设计中,该装置可以是芯片或者集成电路。In one possible design, the device may be a chip or an integrated circuit.
在一个可能的设计中,该装置包括处理器和接口电路,所述处理器与所述接口电路耦合,用于实现上述第一方面或者第一方面的任一种可能的设计中方法,或实现上述第八方面或者第八方面的任一种可能的设计中方法的功能。可以理解的是,接口电路可以为收发器或输入输出接口。该装置还可以包括存储器,所述存储器存储有可被处理器执行的用于实现上述第一方面或者第一方面的任一种可能的设计中方法,或实现上述第八方面或者第八方面的任一种可能的设计中方法的功能的程序。In a possible design, the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used for implementing the above-mentioned first aspect or any possible method in the design of the first aspect, or implementing The functions of the above eighth aspect or any possible method in design of the eighth aspect. It can be understood that the interface circuit can be a transceiver or an input-output interface. The apparatus may further include a memory storing a processor executable for implementing the first aspect or any possible in-design method of the first aspect, or implementing the eighth aspect or the eighth aspect. A program of the functionality of any of the possible designs in the method.
在一个可能的设计中,该装置可以为用户面功能网元。In a possible design, the device may be a user plane functional network element.
第十二方面,本申请实施例提供一种业务流识别装置,该装置具有实现上述第二方面或者第二方面的任一种可能的设计中方法,或实现上述第三方面或者第三方面的任一种可能的设计中方法,或实现上述第九方面或者第九方面的任一种可能的设计中方法的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元(模块),比如包括通信单元和处理单元。In a twelfth aspect, an embodiment of the present application provides a service flow identification device, the device has any possible in-design method for implementing the second aspect or the second aspect, or implementing the third aspect or the third aspect. For any possible method in design, or to implement the functions of the ninth aspect or any possible method in design of the ninth aspect, the function may be implemented by hardware, or by executing corresponding software in hardware. The hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
在一个可能的设计中,该装置可以是芯片或者集成电路。In one possible design, the device may be a chip or an integrated circuit.
在一个可能的设计中,该装置包括处理器和接口电路,所述处理器与所述接口电路耦合,用于实现上述第二方面或者第二方面的任一种可能的设计中方法的功能,或用于实现上述第三方面或者第三方面的任一种可能的设计中方法,或实现上述第九方面或者第九方面的任一种可能的设计中方法的功能。可以理解的是,接口电路可以为收发器或输入输出接口。该装置还可以包括存储器,所述存储器存储有可被处理器执行的用于实现上述第二方面或者第二方面的任一种可能的设计中方法,或用于实现上述第三方面或者第三方面的任一种可能的设计中方法,或实现上述第九方面或者第九方面的任一种可能的设计中方法的功能的程序。In a possible design, the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used for implementing the functions of the second aspect or the method in any possible design of the second aspect, Or used to implement the above third aspect or any possible method in design of the third aspect, or to implement the function of the above ninth aspect or any possible method in design of the ninth aspect. It can be understood that the interface circuit can be a transceiver or an input-output interface. The apparatus may further include a memory storing any possible in-design method executable by the processor for implementing the second aspect or the second aspect above, or for implementing the third aspect or the third aspect above Any possible method in design of the aspect, or a program implementing the functions of the above ninth aspect or any possible method in design of the ninth aspect.
在一个可能的设计中,该装置可以为终端设备。In one possible design, the apparatus may be a terminal device.
第十三方面,本申请实施例提供一种业务流识别装置,该装置具有实现上述第四方面或者第四方面的任一种可能的设计中方法的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元(模块),比如包括通信单元和处理单元。A thirteenth aspect, an embodiment of the present application provides a service flow identification device, the device has a function of implementing the fourth aspect or any possible method in the design of the fourth aspect, the function may be implemented by hardware, or The corresponding software implementation can be performed by hardware. The hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
在一个可能的设计中,该装置可以是芯片或者集成电路。In one possible design, the device may be a chip or an integrated circuit.
在一个可能的设计中,该装置包括处理器和接口电路,所述处理器与所述接口电路耦合,用于实现上述第四方面或者第四方面的任一种可能的设计中方法的功能。可以理解的是,接口电路可以为收发器或输入输出接口。该装置还可以包括存储器,所述存储器存储有可被处理器执行的用于实现上述第四方面或者第四方面的任一种可能的设计中方法的功能的程序。In a possible design, the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is configured to implement the functions of the fourth aspect or the method in any possible design of the fourth aspect. It can be understood that the interface circuit can be a transceiver or an input-output interface. The apparatus may further comprise a memory storing a program executable by the processor for implementing the functions of the above fourth aspect or any possible method-in-design of the fourth aspect.
在一个可能的设计中,该装置可以为应用服务器。In one possible design, the device may be an application server.
第十四方面,本申请实施例提供一种业务流识别装置,该装置具有实现上述第五方面或者第五方面的任一种可能的设计中方法,或实现上述第十方面或者第十方面的任一种可能的设计中方法的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元(模块),比如包括通信单元和处理单元。In a fourteenth aspect, an embodiment of the present application provides an apparatus for identifying a service flow, and the apparatus has any possible in-design method for implementing the fifth aspect or the fifth aspect, or implementing the tenth aspect or the tenth aspect. The function of any possible design method, the function can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
在一个可能的设计中,该装置可以是芯片或者集成电路。In one possible design, the device may be a chip or an integrated circuit.
在一个可能的设计中,该装置包括处理器和接口电路,所述处理器与所述接口电路耦合,用于实现上述第五方面或者第五方面的任一种可能的设计中方法,或实现上述第十方面或者第十方面的任一种可能的设计中方法的功能。可以理解的是,接口电路可以为收发器或输入输出接口。该装置还可以包括存储器,所述存储器存储有可被处理器执行的用于实现上述第五方面或者第五方面的任一种可能的设计中方法,或实现上述第十方面或者第十方面的任一种可能的设计中方法的功能的程序。In a possible design, the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used for implementing the fifth aspect or any possible method in the design of the fifth aspect, or implementing The functions of the tenth aspect or the method in any possible design of the tenth aspect. It can be understood that the interface circuit can be a transceiver or an input-output interface. The apparatus may further include a memory, where the memory stores a method executable by the processor for implementing the fifth aspect or any of the possible in-design methods of the fifth aspect, or the method for implementing the tenth aspect or the tenth aspect. A program of the functionality of any of the possible designs in the method.
在一个可能的设计中,该装置可以为会话管理功能网元。In one possible design, the apparatus may be a session management function network element.
第十五方面,本申请实施例提供一种业务流识别装置,该装置具有实现上述第六方面或者第六方面的任一种可能的设计中方法,或实现上述第七方面或者第七方面的任一种可能的设计中方法的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元(模块),比如包括通信单元和处理单元。In a fifteenth aspect, an embodiment of the present application provides a service flow identification device, the device has any possible in-design method for implementing the sixth aspect or the sixth aspect, or implementing the seventh aspect or the seventh aspect. The function of any possible design method, the function can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more units (modules) corresponding to the above functions, such as a communication unit and a processing unit.
在一个可能的设计中,该装置可以是芯片或者集成电路。In one possible design, the device may be a chip or an integrated circuit.
在一个可能的设计中,该装置包括处理器和接口电路,所述处理器与所述接口电路耦合,用于实现上述第六方面或者第六方面的任一种可能的设计中方法的功能,或用于实现上述第七方面或者第七方面的任一种可能的设计中方法的功能。可以理解的是,接口电路可以为收发器或输入输出接口。该装置还可以包括存储器,所述存储器存储有可被处理器执行的用于实现上述第六方面或者第六方面的任一种可能的设计中方法,或用于实现上述第七方面或者第七方面的任一种可能的设计中方法的功能的程序。In a possible design, the apparatus includes a processor and an interface circuit, the processor is coupled to the interface circuit, and is used to implement the functions of the sixth aspect or the method in any possible design of the sixth aspect, Or used to implement the functions of the seventh aspect or any possible method in the design of the seventh aspect. It can be understood that the interface circuit can be a transceiver or an input-output interface. The apparatus may further include a memory storing any possible in-design method executable by the processor for implementing the sixth aspect or the sixth aspect, or for implementing the seventh aspect or the seventh aspect. A program of the functionality of the method in any possible design of the aspect.
在一个可能的设计中,该装置可以为应用功能网元。In one possible design, the device may be an application function network element.
第十六方面,本申请实施例还提供一种业务流识别系统,所述系统包括上述第一方面中的用户面功能网元,上述第二方面和第三方面中的终端设备,上述第四方面中的应用服务器,上述第五方面中的会话管理功能网元、上述第六方面和第七方面中的应用功能网元。In a sixteenth aspect, an embodiment of the present application further provides a service flow identification system, where the system includes the user plane functional network element in the first aspect, the terminal device in the second aspect and the third aspect, and the fourth aspect. The application server in the aspect, the session management function network element in the above fifth aspect, the application function network element in the above sixth aspect and the seventh aspect.
第十七方面,本申请实施例还提供一种业务流识别系统,所述系统包括上述第八方面中的用户面功能网元,上述第九方面的终端设备,上述第十方面中的会话管理功能网元。In a seventeenth aspect, an embodiment of the present application further provides a service flow identification system, where the system includes the user plane functional network element in the eighth aspect, the terminal device in the ninth aspect, and the session management in the tenth aspect. functional network element.
第十八方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质具有用于执行上述第一方面或者第一方面的任一种可能的设计中所述的方法,或执行上述第二方面或者第二方面的任一种可能的设计中所述的方法,或执行上述第三方面或者第三方面的任一种可能的设计中所述的方法,或执行上述第四方面或者第四方面的任一种可能的设计中所述的方法,或执行上述第五方面或者第五方面的任一种可能的设计中所述的方法,或执行上述第六方面或者第六方面的任一种可能的设计中所述的方法,或执行上述第七方面或者第七方面的任一种可能的设计中所述的方法,或执行上述第八方面或者第八方面的任一种可能的设计中所述的方法,或执行上述第九方面或者第九方面的任一种可能的设计中所述的方法,或执行上述第十方面或者第十方面的任一种可能的设计中所述的方法的计算机程序或指令。In an eighteenth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium is configured to execute the method described in the first aspect or any possible design of the first aspect, or perform the method described in the second aspect or any possible design of the second aspect above, or perform the method described in the third aspect or any possible design of the third aspect above, or perform the above-mentioned first aspect. The method described in the fourth aspect or any possible design of the fourth aspect, or the method described in the fifth aspect or any possible design of the fifth aspect above, or the sixth aspect or the sixth aspect above. The method described in any of the possible designs of the six aspects, or the implementation of the method described in the seventh aspect or any of the possible designs of the seventh aspect, or the implementation of the eighth aspect or any of the eighth aspects. A method described in a possible design, or implementing the method described in the ninth aspect above or any possible design of the ninth aspect, or implementing the tenth aspect above or any one of the possible aspects of the tenth aspect. Computer programs or instructions for designing the methods described.
第十九方面,本申请实施例还提供一种芯片系统,所述芯片系统包括:处理器和接口,所述处理器用于从所述接口调用并运行计算机程序,当所述处理器执行所述计算机程序时,可以实现上述第一方面或者第一方面的任一种可能的设计中所述的方法,或实现上述第二方面或者第二方面的任一种可能的设计中所述的方法,或实现上述第三方面或者第三方面的任一种可能的设计中所述的方法,或实现上述第四方面或者第四方面的任一种可能的设 计中所述的方法,或实现上述第五方面或者第五方面的任一种可能的设计中所述的方法,或实现上述第六方面或者第六方面的任一种可能的设计中所述的方法,或实现上述第七方面或者第七方面的任一种可能的设计中所述的方法,或实现上述第八方面或者第八方面的任一种可能的设计中所述的方法,或实现上述第九方面或者第九方面的任一种可能的设计中所述的方法,或实现上述第十方面或者第十方面的任一种可能的设计中所述的方法。In a nineteenth aspect, an embodiment of the present application further provides a chip system, the chip system includes: a processor and an interface, the processor is configured to call and run a computer program from the interface, and when the processor executes the As a computer program, the method described in the first aspect or any possible design of the first aspect can be implemented, or the method described in the second aspect or any possible design of the second aspect can be implemented, Or implement the method described in the above third aspect or any possible design of the third aspect, or implement the method described in the above fourth aspect or any possible design of the fourth aspect, or implement the above-mentioned third aspect. The method described in the fifth aspect or any possible design of the fifth aspect, or the method described in the sixth aspect or any possible design of the sixth aspect, or the seventh aspect or the sixth aspect. The method described in any possible design of the seven aspects, or the method described in the implementation of the eighth aspect or any of the possible designs of the eighth aspect, or the implementation of the ninth aspect or any of the ninth aspects. A method described in a possible design, or implementing the method described in the tenth aspect or any possible design of the tenth aspect.
第二十方面,为本申请实施例的一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得计算机执行上述各方面所述的方法。A twentieth aspect is a computer program product according to an embodiment of the present application. When the computer program product runs on a computer, the computer is made to execute the methods described in the above aspects.
上述第二方面至第二十方面所能达到的技术效果请参照上述第一方面所能达到的技术效果,这里不再重复赘述。For the technical effects that can be achieved by the above-mentioned second aspect to the twentieth aspect, please refer to the technical effects that can be achieved by the above-mentioned first aspect, which will not be repeated here.
附图说明Description of drawings
图1为本申请实施例提供的数据包检测规则构成示意图;FIG. 1 is a schematic diagram of the composition of a data packet detection rule provided by an embodiment of the present application;
图2为本申请实施例提供的网络架构示意图;2 is a schematic diagram of a network architecture provided by an embodiment of the present application;
图3为本申请实施例提供的业务流识别方法示意图之一;FIG. 3 is one of schematic diagrams of a service flow identification method provided by an embodiment of the present application;
图4为本申请实施例提供的业务流标识配置过程示意图之一;FIG. 4 is one of the schematic diagrams of the service flow identifier configuration process provided by the embodiment of the present application;
图5为本申请实施例提供的业务流标识配置过程示意图之二;FIG. 5 is the second schematic diagram of the configuration process of the service flow identifier provided by the embodiment of the present application;
图6为本申请实施例提供的初始规则配置过程示意图;FIG. 6 is a schematic diagram of an initial rule configuration process provided by an embodiment of the present application;
图7为本申请实施例提供的数据包检测规则更新过程示意图;FIG. 7 is a schematic diagram of an update process of a packet detection rule provided by an embodiment of the present application;
图8为本申请实施例提供的业务流识别方法示意图之二;FIG. 8 is the second schematic diagram of the service flow identification method provided by the embodiment of the present application;
图9为本申请实施例提供的业务流识别方法示意图之三;FIG. 9 is a third schematic diagram of a service flow identification method provided by an embodiment of the present application;
图10为本申请实施例提供的业务流识别实现架构示意图;10 is a schematic diagram of an implementation architecture of service flow identification provided by an embodiment of the present application;
图11为本申请实施例提供的业务流识别装置示意图之一;FIG. 11 is one of the schematic diagrams of a service flow identification apparatus provided by an embodiment of the present application;
图12为本申请实施例提供的业务流识别装置示意图之二。FIG. 12 is a second schematic diagram of a service flow identification apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
应理解,本申请实施例中“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”、“或/和”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一(项)个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a、b和c,其中a、b、c中的每一个本身可以是元素,也可以是包含一个或多个元素的集合。It should be understood that, in the embodiments of the present application, "at least one" refers to one or more, and "a plurality" refers to two or more. "And/or" and "or/and" describe the relationship between associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone , where A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one (item) of the following" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural item (item). For example, at least one (a) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c Each can be an element itself, or a collection containing one or more elements.
在本申请实施例中,“示例的”、“在一些实施例中”、“在另一实施例中”等用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In the embodiments of the present application, "exemplary", "in some embodiments", "in another embodiment" and the like are used to mean serving as an example, illustration or illustration. Any embodiment or design described in this application as "exemplary" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word example is intended to present a concept in a concrete way.
本申请实施例中“的(of)”、“相应的(corresponding,relevant)”和“对应的(corresponding)”有时可以混用。应当指出的是,在不强调其区别时,其所要表达的含义是一致的。本申请实施例中通信、传输有时可以混用,应当指出的是,在不强调区别是,其所表达的含义是 一致的。例如传输可以包括发送和/或接收,可以为名词,也可以是动词。In the embodiments of the present application, "of", "corresponding (relevant)" and "corresponding (corresponding)" may sometimes be used interchangeably. It should be pointed out that when the difference is not emphasized, the meaning to be expressed is the same. In the embodiments of the present application, communication and transmission may sometimes be mixed. It should be noted that, unless differences are emphasized, the meanings expressed are the same. For example, transmission can include sending and/or receiving, and can be a noun or a verb.
需要指出的是,本申请实施例中涉及的“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。It should be pointed out that words such as "first" and "second" involved in the embodiments of the present application are only used for the purpose of distinguishing and describing, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
本申请实施例中涉及的“网元”也可以称为“设备”,对此不作限定。网元可以是硬件,也可以是从功能上划分的软件或者以上二者结合后的结构。网元可以包括核心网网元,接入网设备(或者称为接入网网元)等。核心网网元,比如会话管理功能网元、用户面功能网元等。The "network element" involved in the embodiments of this application may also be referred to as "equipment", which is not limited. The network element may be hardware, software divided by function, or a combination of the above two structures. The network elements may include core network network elements, access network equipment (or referred to as access network network elements), and the like. Core network elements, such as session management function network elements, user plane function network elements, etc.
现有数据包过滤器(packet filter)应用的数据包过滤参数主要以五元组为代表,包括源/目标IP地址,源/目标端口号,传输层协议类型,依据数据包上所携带的五元组,能够识别每个传输的数据包所对应的业务类型。例如:依据五元组中的传输层协议、应用服务器侧的IP地址和端口号,可以区分爱奇艺、优酷视频以及腾讯视频的业务。The packet filtering parameters of the existing packet filter (packet filter) application are mainly represented by quintuple, including source/destination IP address, source/destination port number, transport layer protocol type, according to the five tuples carried in the packet. Tuple, which can identify the service type corresponding to each transmitted data packet. For example, according to the transport layer protocol in the quintuple, the IP address and port number on the application server side, the services of iQIYI, Youku Video and Tencent Video can be distinguished.
在移动网络中为了区分不同的业务流,如区分爱奇艺的业务流、优酷的业务流等,或进一步区爱奇艺的业务流、优酷的业务流等中的视频业务流、音频业务流和字幕业务流等,引入了业务(或服务)数据过滤器(service data filter,SDF),用以过滤筛选对应业务流的数据包。其中,在终端设备侧往往是服务质量(quality of service,QoS)规则,QoS规则包括一个或多个SDF,旨在根据SDF将业务流的数据映射到相应的QoS流中;类似的用户面功能网元侧往往是数据包检测规则(packet detection rule,PDR),如图1所示,PDR中可以包括数据包检测信息(packet detection information,PDI),包含的数据包过滤参数与SDF通常一致(如五元组等),以及检测以及识别出来的业务流的数据包所需要执行的动作(或策略),如转发执行规则(forwarding action rule,FAR)、使用报告规则(using reporting rule,URR)、QoS执行规则(QoS enforcement rule,QER)等中的一项或多项。In the mobile network, in order to distinguish different service flows, such as distinguishing iQIYI's service flow, Youku's service flow, etc., or further distinguishing video service flow and audio service flow in iQIYI's service flow, Youku's service flow, etc. and subtitle service flow, etc., a service (or service) data filter (service data filter, SDF) is introduced to filter and filter the data packets corresponding to the service flow. Among them, on the side of the terminal device, there are often quality of service (QoS) rules, and the QoS rules include one or more SDFs, which aim to map the data of the service flow to the corresponding QoS flow according to the SDF; similar user plane functions The network element side is often a packet detection rule (PDR). As shown in Figure 1, the PDR can include packet detection information (PDI), and the packet filtering parameters contained are usually consistent with the SDF ( Such as quintuple, etc.), as well as the actions (or policies) that need to be executed to detect and identify the data packets of the service flow, such as forwarding action rule (FAR), using reporting rule (URR) , one or more of QoS enforcement rules (QoS enforcement rules, QERs).
在终端设备与应用服务器之间已经为业务流建立端到端连接(如TCP连接)后,终端设备会发起会话修改流程,发送最新的业务流描述信息(如数据包过滤参数)给会话管理功能网元,触发会话修改流程。或者由策略控制功能网元触发会话修改流程,将包含业务流的业务数据过滤器在内的策略与计费控制(policy and charging control,PCC)规则(rule)发送至会话管理功能网元,其中业务数据过滤器中包括用于过滤筛选业务流的数据包的数据包过滤参数。会话管理功能网元基于策略与计费控制规则生成PDR和QoS规则,下发给用户面功能网元和终端设备,用以实现对业务流的策略控制。After an end-to-end connection (such as a TCP connection) has been established for the service flow between the terminal device and the application server, the terminal device will initiate a session modification process and send the latest service flow description information (such as packet filtering parameters) to the session management function The network element triggers the session modification process. Or the session modification process is triggered by the policy control function network element, and the policy and charging control (policy and charging control, PCC) rule (rule) including the service data filter of the service flow is sent to the session management function network element, wherein The service data filter includes data packet filtering parameters for filtering and filtering data packets of the service flow. The session management function network element generates PDR and QoS rules based on the policy and charging control rules, and delivers them to the user plane function network element and terminal equipment to implement policy control over the service flow.
但是由于应用服务器的负载均衡、内容分发网络(content delivery network,CDN)分载等原因,会导致终端设备的与应用服务器之间建立的用于传输业务流的端到端连接频繁发生更换或重建,造成对应业务流的数据包过滤参数频繁发生变化,导致原有PDR和QoS规则因为数据包过滤参数发生变化已经不能再过滤筛选业务流的数据包。这就需要频繁发起会话修改流程,以使会话管理功能网元为用户面功能网元和终端设备重新配置PDR和QoS规则,过程繁杂且时效性差。并且在更换或重建用于传输业务流的端到端连接后,如果立即有数据包传输,用户面功能网元还可能存在因未获得适用于更换或重建后的端到端连接的PDR,无法对数据包提供策略控制,导致用户业务体验进一步恶化的问题。However, due to application server load balancing, content delivery network (CDN) offloading and other reasons, the end-to-end connection between the terminal device and the application server for transmitting service flow will be frequently replaced or rebuilt. , resulting in frequent changes of the data packet filtering parameters of the corresponding service flow, resulting in the original PDR and QoS rules that can no longer filter and filter the data packets of the service flow due to the change of the data packet filtering parameters. This requires frequent initiation of a session modification process so that the session management function network element reconfigures PDR and QoS rules for the user plane function network element and terminal equipment, which is complicated and time-sensitive. And after replacing or re-establishing the end-to-end connection used to transmit the service flow, if there is data packet transmission immediately, the user plane function network element may still have no PDR suitable for the end-to-end connection after the replacement or reconstruction. Provides policy control for data packets, which further deteriorates user service experience.
针对上述问题,本申请实施例提供了一种业务流识别方法,通过为业务流分配业务流标识,当用于传输业务流的端到端连接(如TCP连接,在本申请后续的实施例中以端到端连接为TCP连接作为示例进行描述)发生更换或重建后,通过在更换或者重建后的端到端连接发送的数据包中包括(也即携带)业务流标识,使得终端设备和/或用户面功能网元可 以根据数据包中包括的数据包过滤参数,进行数据包检测与策略控制,或者将业务流的QoS规则和/或数据包检测规则(PDR)中用于检测业务流的数据包的数据包过滤参数,更新为更换或重建后的端到端连接所对应的数据包过滤参数,避免频繁发起会话修改流程。In view of the above problems, an embodiment of the present application provides a service flow identification method. By assigning a service flow identifier to a service flow, when an end-to-end connection (such as a TCP connection, which is used to transmit the service flow, is used in subsequent embodiments of the present application) Taking the end-to-end connection as the TCP connection as an example to describe), after the replacement or reconstruction occurs, the service flow identifier is included (that is, carries) in the data packet sent by the end-to-end connection after the replacement or reconstruction, so that the terminal device and/or Or the user plane function network element can perform packet inspection and policy control according to the packet filtering parameters included in the data packet, or use the QoS rules and/or packet inspection rules (PDR) of the service flow to detect the service flow. The data packet filtering parameters of the data packets are updated to the data packet filtering parameters corresponding to the replaced or rebuilt end-to-end connection, so as to avoid frequent initiation of the session modification process.
以下对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Some terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
1)、业务流。在本申请实施例中业务流是指业务的数据流,如爱奇艺客户端与爱奇艺应用服务器之间传输的爱奇艺业务的数据流等。在一些可能的实施中,业务的业务流也可以根据具体的数据类型进行细分,如可以将对应直播客户端的业务流细分为视频业务流、音频业务流和字幕业务流,通过不同的端口或内容分发网络分载。其中视频流中可以包括一个或多个视频帧或视频分块文件;音频流可以包括一个或多个音频帧或者音频分块文件;字幕流可以包括一段或多段文本。1), business flow. In the embodiment of the present application, the service flow refers to the data flow of the service, such as the data flow of the iQIYI service transmitted between the iQIYI client and the iQIYI application server. In some possible implementations, the service flow of the service can also be subdivided according to specific data types. For example, the service flow corresponding to the live client can be subdivided into a video service flow, an audio service flow and a subtitle service flow. or content distribution network offloading. The video stream may include one or more video frames or video block files; the audio stream may include one or more audio frames or audio block files; the subtitle stream may include one or more pieces of text.
2)、终端设备,是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。例如,终端设备可以是手机(mobile phone)、平板电脑(pad)、智慧屏、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。2) Terminal equipment is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as planes, balloons, satellites, etc.). For example, the terminal device may be a mobile phone (mobile phone), a tablet computer (pad), a smart screen, a computer with a wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, industrial control Wireless terminals in (industrial control), wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, and transportation safety wireless terminals, wireless terminals in smart cities, wireless terminals in smart homes, etc.
需要说明的是,执行本申请提供的业务流识别方法在网络侧涉及到会话管理功能(session management function,SMF)网元、策略控制功能(policy control function,PCF)网元、应用功能(application function,AF)网元、用户面功能(user plane function,UPF)网元、接入网(access network,AN)设备,其中,会话管理功能网元、策略控制功能网元、应用功能网元、用户面功能网元为核心网网元。接入网设备可用于为终端设备提供无线通信功能;会话管理功能网元可用于控制分组数据单元(packet data unit,PDU)会话的建立、修改和删除;用户面功能网元可用于负责连接外部网络(例如数据网络(data network,DN));应用功能网元可用于与第三代合作伙伴计划(3rd generation partnership project,3GPP)核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等;策略控制功能网元可用于负责策略控制,例如生成服务质量(quality of service,QoS)参数集等。执行本申请提供的业务流识别方法还涉及到终端设备和应用服务器,应理解,在本申请实施例中,终端设备又可以称之为终端、用户设备(user equipment,UE)、移动终端、媒体客户端、媒体会话处理程序(media session handler,MSH)客户端等,对此不作限定,应用服务器又可以称之为媒体流服务器等,对比不作限定。以下以终端设备(如UE)、应用服务器为例,对本申请实施例进行介绍。It should be noted that the implementation of the service flow identification method provided by this application involves a session management function (session management function, SMF) network element, a policy control function (policy control function, PCF) network element, an application function (application function) on the network side , AF) network element, user plane function (user plane function, UPF) network element, access network (access network, AN) equipment, wherein, session management function network element, policy control function network element, application function network element, user The plane functional network elements are core network network elements. Access network equipment can be used to provide wireless communication functions for terminal equipment; session management function network elements can be used to control the establishment, modification and deletion of packet data unit (PDU) sessions; user plane function network elements can be used to be responsible for connecting external Network (eg data network (DN)); application function network elements can be used to interact with the 3rd generation partnership project (3GPP) core network to provide services to affect traffic flow routing, access network Capability opening, policy control, etc.; the policy control function network element can be used to be responsible for policy control, such as generating a quality of service (quality of service, QoS) parameter set. Executing the service flow identification method provided by this application also involves a terminal device and an application server. It should be understood that, in this embodiment of this application, a terminal device may also be referred to as a terminal, a user equipment (UE), a mobile terminal, a media The client, the media session handler (media session handler, MSH) client, etc., are not limited, and the application server may also be called a media streaming server, etc., and the comparison is not limited. The embodiments of the present application are described below by taking a terminal device (such as a UE) and an application server as examples.
示例的,如图2所示,为本申请实施例适用的一种网络架构的示意图。该网络架构为5G网络架构。该网络架构包括无线接入网(radio access network,RAN)、接入和移动性管理功能(access and mobility management function,AMF)网元、SMF网元、UPF网元、PCF网元、DN等。在一些实施例中,该网络架构还包括统一数据管理功能(unified data management,UDM)网元、鉴权服务器功能(authentication server function,AUSF)网元、应用功能(application function,AF)网元、网络开放功能(network exposure function,NEF)网元和网络数据分析功能(network data analytics function,NWDAF)网元等。Illustratively, as shown in FIG. 2 , it is a schematic diagram of a network architecture to which this embodiment of the present application is applied. The network architecture is a 5G network architecture. The network architecture includes a radio access network (RAN), an access and mobility management function (AMF) network element, an SMF network element, a UPF network element, a PCF network element, and a DN. In some embodiments, the network architecture further includes a unified data management function (unified data management, UDM) network element, an authentication server function (authentication server function, AUSF) network element, an application function (application function, AF) network element, Network exposure function (NEF) network element and network data analysis function (network data analytics function, NWDAF) network element, etc.
RAN设备(又可称之为接入网(access network,AN)设备),主要功能是控制终端设备通过无线接入到移动通信网络,位于终端设备和核心网之间。目前,一些RAN设备的举例为:5G中的(g nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(base band unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等,此外,RAN设备还可以包括无线保真(wireless fidelity,wifi)接入点(access point,AP)等。RAN equipment (also called access network (AN) equipment), whose main function is to control terminal equipment to access the mobile communication network through wireless, is located between the terminal equipment and the core network. At present, some examples of RAN equipment are: 5G (g nodeB, gNB), evolved node B (evolved node B, eNB), radio network controller (radio network controller, RNC), node B (node B, NB) ), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), base band unit (base band unit, BBU) , transmission point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc., in addition, RAN equipment can also include wireless fidelity (wireless fidelity, wifi) access point (access point, AP) )Wait.
AMF网元负责终端设备的接入管理和移动性管理,包含管理用户注册、可达性检测、SMF网元的选择、移动状态转换管理等。The AMF network element is responsible for the access management and mobility management of terminal equipment, including management of user registration, reachability detection, selection of SMF network elements, and mobility state transition management.
SMF网元主要负责控制PDU会话的建立、修改和删除、UPF网元的选择等。The SMF network element is mainly responsible for controlling the establishment, modification and deletion of PDU sessions, and the selection of UPF network elements.
UPF网元主要负责数据包路由和转发、移动性锚点、上行分类器来支持路由业务流到数据网络、分支点来支持多归属PDU会话等。UPF network elements are mainly responsible for data packet routing and forwarding, mobility anchors, uplink classifiers to support routing traffic flows to the data network, branch points to support multi-homed PDU sessions, and so on.
PCF网元为策略决策点,主要负责提供基于业务数据流和应用检测、门控、QoS和基于流的计费控制等规则。The PCF network element is the policy decision point, and is mainly responsible for providing rules based on service data flow and application detection, gate control, QoS and flow-based charging control.
UDM网元主要负责存储用户签约数据。The UDM network element is mainly responsible for storing user subscription data.
AUSF网元主要用于提供鉴权服务。AUSF network elements are mainly used to provide authentication services.
AF网元主要用于与第三代合作伙伴计划(3rd generation partnership project,3GPP)核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等。The AF network element is mainly used to interact with the 3rd generation partnership project (3GPP) core network to provide services, and to affect service flow routing, access network capability opening, and policy control.
NEF网元主要用于安全地开放由3GPP网络功能提供的服务和能力,如第三方、边缘计算、AF等。NEF network elements are mainly used to securely open services and capabilities provided by 3GPP network functions, such as third parties, edge computing, AF, etc.
DN为终端设备提供网络服务,例如运营商服务、互联网接入或者第三方服务等。The DN provides network services for terminal devices, such as operator services, Internet access, or third-party services.
NWDAF网元主要用于提供基于大数据和人工智能等技术的网络数据采集和分析功能等。NWDAF network elements are mainly used to provide network data collection and analysis functions based on technologies such as big data and artificial intelligence.
另外,为了描述更为简洁,在后续描述时,可以将各个功能网元中的“网元”去掉,比如AMF网元简称为AMF,UPF网元简称为UPF,其它网元类似,不再一一例举。In addition, in order to make the description more concise, in the subsequent description, the "network element" in each functional network element can be removed. For example, the AMF network element is abbreviated as AMF, and the UPF network element is abbreviated as UPF. An example.
图2中,NWDAF、NEF、NRF、PCF、UDM、AF、AUSF、AMF以及SMF之间,任意两个网元之间通信可以采用服务化通信方式,比如NEF与AUSF之间通信采用的接口Nnef和Nausf均为服务化的接口,同理,接口Nnwdaf、Nnrf、Npcf、Nudm、Naf、Namf以及Nsmf均为服务化的接口。另外,AMF与UE可通过N1接口通信,AMF与RAN网元可通过N2接口通信,RAN网元和UPF可通过N3接口通信,SMF与UPF可通过N4接口通信,UE与RAN网元之间进行空口通信,UPF与DN可通过N6接口通信,UPF之间通过N9接口通信。需要说明的是,图2中的各个网元之间的服务化的接口还可以替换为点对点的接口。In Figure 2, between NWDAF, NEF, NRF, PCF, UDM, AF, AUSF, AMF and SMF, the communication between any two network elements can adopt a service-oriented communication mode, such as the interface Nnef used for communication between NEF and AUSF Both Nnwdaf, Nnrf, Npcf, Nudm, Naf, Namf, and Nsmf are service-oriented interfaces. In addition, AMF and UE can communicate through N1 interface, AMF and RAN network element can communicate through N2 interface, RAN network element and UPF can communicate through N3 interface, SMF and UPF can communicate through N4 interface, UE and RAN network element can communicate with each other through N4 interface. For air interface communication, UPF and DN can communicate through N6 interface, and UPF can communicate through N9 interface. It should be noted that, the service-oriented interface between each network element in FIG. 2 may also be replaced by a point-to-point interface.
其中,图2所示的网络架构中,与本申请有关的网元主要是:SMF网元、UPF网元和AF网元、终端设备(UE)。Among them, in the network architecture shown in FIG. 2 , the network elements related to the present application are mainly: SMF network element, UPF network element, AF network element, and terminal equipment (UE).
需要说明的是,图2仅为本申请实施例适用的一种网络架构的示例,并不构成对本申请实施例的限定。本申请实施例还可以应用于其它网络架构,例如,未来移动通信网络架构(如6G网络架构)等。It should be noted that FIG. 2 is only an example of a network architecture applicable to the embodiments of the present application, and does not constitute a limitation to the embodiments of the present application. The embodiments of the present application may also be applied to other network architectures, for example, future mobile communication network architectures (eg, 6G network architectures).
由于应用服务器的负载均衡、CDN分载等原因,会造成终端设备的客户端与应用服务 器之间建立的用于传输业务流的端到端连接(如TCP连接等)频繁发生更换或重建,在本申请中,在用于传输业务流的端到端连接更换或重建后,终端设备和用户面功能网元可以根据上行(终端设备至应用服务器)业务流或下行(应用服务器至终端设备)业务流实现对业务流的QoS规则和数据包检测规则(PDR)自动更新。下面结合具体场景,以第一业务流为例,对本申请的业务流识别方法进行介绍。Due to application server load balancing, CDN offloading and other reasons, the end-to-end connection (such as TCP connection, etc.) established between the client of the terminal device and the application server for transmitting service flows is frequently replaced or rebuilt. In this application, after the end-to-end connection used to transmit the service flow is replaced or re-established, the terminal equipment and the user plane functional network elements can be based on the uplink (terminal equipment to application server) service flow or downlink (application server to terminal equipment) service flow The flow implements automatic updating of QoS rules and packet inspection rules (PDR) for service flows. The service flow identification method of the present application will be introduced below by taking the first service flow as an example in conjunction with specific scenarios.
场景一:在用于传输业务流的端到端连接(如TCP连接等)更换或重建后,终端设备和用户面功能网元根据下行业务流实现对业务流的QoS规则和数据包检测规则自动更新。Scenario 1: After the end-to-end connection (such as TCP connection, etc.) used to transmit the service flow is replaced or rebuilt, the terminal device and the user plane functional network element realize the automatic QoS rules and data packet inspection rules for the service flow according to the downstream service flow. renew.
图3为本申请实施例提供的业务流识别方法示意图,该方法包括:FIG. 3 is a schematic diagram of a service flow identification method provided by an embodiment of the present application, and the method includes:
S301:应用服务器向用户面功能网元发送第一业务流的下行数据包,所述用户面功能网元接收所述下行数据包,所述下行数据包中包括所述第一业务流的第一业务流标识。S301: The application server sends a downlink data packet of a first service flow to a user plane functional network element, and the user plane functional network element receives the downlink data packet, where the downlink data packet includes the first service flow of the first service flow. Business flow ID.
由于应用服务器(application server,AS)的负载均衡、CDN分载等原因,会造成终端设备的客户端与应用服务器之间建立的用于传输第一业务流的端到端连接(如TCP连接等)发生更换或重建。如果在更换或重建端到端连接后,最先有下行数据包发送,应用服务器会在下行数据包中的包头添加第一业务流的第一业务流标识。作为一种示例,可以在下行数据包中的IP/TCP层的扩展位(或字段)添加第一业务流标识,甚至可以在下行数据包中的应用层的扩展位或额外的中间层添加第一业务流标识,只要保证用户面功能网元能够识别即可。Due to application server (application server, AS) load balancing and CDN offloading, etc., an end-to-end connection (such as a TCP connection, etc.) for transmitting the first service flow may be established between the client of the terminal device and the application server. ) is replaced or rebuilt. If a downlink data packet is sent first after the end-to-end connection is replaced or rebuilt, the application server will add the first service flow identifier of the first service flow to the header of the downlink data packet. As an example, the first service flow identifier may be added to the extension bit (or field) of the IP/TCP layer in the downlink data packet, or even the extension bit of the application layer or the additional middle layer in the downlink data packet may be added. A service flow identifier, as long as the user plane functional network element can be identified.
在一些实施中,为了节约处理资源和传输资源的开销,应用服务器可以仅在端到端连接发生更换或重建后,开始的X个数据包中添加第一业务流标识,X为大于等于1的整数,可以依据应用功能网元、策略控制功能网元等配置或者由应用服务器自行配置。In some implementations, in order to save the overhead of processing resources and transmission resources, the application server may only add the first service flow identifier to the first X data packets after the end-to-end connection is replaced or rebuilt, where X is greater than or equal to 1 Integer, which can be configured according to application function network elements, policy control function network elements, etc., or configured by the application server itself.
对于第一业务流的第一业务流标识的配置。在一种可能的实施中,第一业务流的第一业务流标识可以由终端设备分配。作为一种示例:如图4所示,在终端设备上的客户端被启动时,会触发终端设备向5G网络请求建立一个会话(如请求建立一个新的PDU会话)或者使用现有的会话,如需建立会话,则会由会话管理功能网元为会话选择一个用户面功能网元。在会话建立后,终端设备即可通过用户面功能网元与应用服务器建立用于传输第一业务流的端到端连接(如TCP连接)。The configuration of the first service flow identifier for the first service flow. In a possible implementation, the first service flow identifier of the first service flow may be allocated by the terminal device. As an example: as shown in Figure 4, when the client on the terminal device is started, the terminal device will be triggered to request the 5G network to establish a session (such as requesting to establish a new PDU session) or use the existing session, If a session needs to be established, the session management function network element selects a user plane function network element for the session. After the session is established, the terminal device can establish an end-to-end connection (eg, a TCP connection) with the application server for transmitting the first service flow through the user plane functional network element.
在建立用于传输第一业务流的端到端连接后,终端设备可以为该第一业务流分配第一业务流标识,其中终端设备为该第一业务流分配的第一业务流标识可以是每个终端设备内唯一的,也可以是每个终端设备的每个会话内唯一的(其中终端设备的每个会话会被会话管理功能网元分配一个IP地址,也即可以是每个终端设备的每个IP地址内唯一),只需能够保证能够根据该第一业务流标识,或根据该第一业务流标识与该终端设备的IP地址,唯一确定该第一业务流即可,如唯一确定该第一业务流的流描述信息(如数据包过滤参数中的五元组)。After establishing the end-to-end connection for transmitting the first service flow, the terminal device may allocate a first service flow identifier to the first service flow, where the first service flow identifier allocated by the terminal device to the first service flow may be It is unique within each terminal device, or it can be unique within each session of each terminal device (wherein each session of the terminal device will be assigned an IP address by the session management function network element, that is, each terminal device can be It is only necessary to ensure that the first service flow can be uniquely determined according to the first service flow identification, or according to the first service flow identification and the IP address of the terminal device, such as unique Determine the flow description information of the first service flow (eg, a quintuple in the packet filtering parameter).
终端设备在为第一业务流分配第一业务流标识后,可以通过包括第一业务流标识和第一业务流的流描述信息的第一业务流标识配置信息,将第一业务流的第一业务流标识发送给应用功能网元,应用功能网元还可以通过包括第一业务流标识和第一业务流的流描述信息的第二业务流标识配置信息,将第一业务流的第一业务流标识发送给应用服务器。After assigning the first service flow identifier to the first service flow, the terminal device can use the first service flow identifier configuration information including the first service flow identifier and the flow description information of the first service flow to assign the first service flow identifier to the first service flow. The service flow identification is sent to the application function network element, and the application function network element can also use the second service flow identification configuration information including the first service flow identification and the flow description information of the first service flow, the first service flow of the first service flow. The stream ID is sent to the application server.
在另一种可能的实施中,第一业务流的第一业务流标识可以由应用功能网元分配。作为一种示例,终端设备与应用服务器建立用于传输第一业务流的端到端连接后,应用功能网元为第一业务流分配第一业务流标识,其中应用功能网元为第一业务流分配第一业务流 标识的实现,可以参照终端设备为第一业务流分配第一业务流标识的实现,重复之处不再赘述。应用功能网元为第一业务流分配第一业务流标识后,应用功能网元可以直接将分配的第一业务流标识发送给终端设备,如应用功能网元可以通过IP连接走用户面将第一业务流标识和第一业务流的流描述信息发送给用户面功能网元,由用户面功能网元转发给接入网设备,再由接入网设备转发给终端设备。应用功能网元还可以将第一业务流标识和第一业务流的流描述信息发送给策略控制功能网元,由策略控制功能网元触发会话修改流程发送给终端设备。另外,应用功能网元还可以通过包括第一业务流标识和第一业务流的流描述信息的第二业务流标识配置信息,将第一业务流的第一业务流标识发送给应用服务器。In another possible implementation, the first service flow identifier of the first service flow may be allocated by the application function network element. As an example, after the terminal device and the application server establish an end-to-end connection for transmitting the first service flow, the application function network element assigns the first service flow identifier to the first service flow, where the application function network element is the first service flow For the realization of the flow assignment of the first service flow identifier, reference may be made to the realization of the terminal device assigning the first service flow identifier to the first service flow, and the repetition will not be repeated. After the application function network element allocates the first service flow identifier to the first service flow, the application function network element can directly send the assigned first service flow identifier to the terminal device. A service flow identifier and flow description information of the first service flow are sent to the user plane functional network element, which is forwarded by the user plane functional network element to the access network device, and then forwarded by the access network device to the terminal device. The application function network element may also send the first service flow identifier and the flow description information of the first service flow to the policy control function network element, and the policy control function network element triggers the session modification process to send to the terminal device. In addition, the application function network element may also send the first service flow identification of the first service flow to the application server through the second service flow identification configuration information including the first service flow identification and flow description information of the first service flow.
在又一种可能的实施中,第一业务流的第一业务流标识还可以由策略控制功能网元分配。作为一种示例:如图5所示,终端设备与应用服务器建立用于传输第一业务流的端到端连接后,应用功能网元可以向策略控制功能网元发送应用功能请求(如AF request),在应用功能请求中包括第一业务流的流描述信息(可以从应用服务器获取)和用于指示策略控制功能网元为第一业务流分配第一业务流标识的分配指示信息;策略控制功能网元接收到该应用功能请求后,为第一业务流的流描述信息分配第一业务流标识,并可以通过应用功能响应(如AF response)将第一业务流的流描述信息和第一业务流标识回复给应用功能网元,其中策略控制功能网元为第一业务流分配第一业务流标识的实现,可以参照终端设备为第一业务流分配第一业务流标识的实现,重复之处不再赘述。应用功能网元接收到第一业务流标识后,可以直接将分配的第一业务流标识发送给终端设备,也可以不做处理由策略控制功能网元触发会话修改流程发送给终端设备。另外,应用功能网元可以通过包括第一业务流标识和第一业务流的流描述信息的第二业务流标识配置信息,将第一业务流的第一业务流标识发送给应用服务器。In yet another possible implementation, the first service flow identifier of the first service flow may also be allocated by the policy control function network element. As an example: as shown in Figure 5, after the terminal device and the application server establish an end-to-end connection for transmitting the first service flow, the application function network element may send an application function request (such as an AF request) to the policy control function network element ), including the flow description information of the first service flow (which can be obtained from the application server) and the allocation instruction information for instructing the policy control function network element to allocate the first service flow identifier for the first service flow in the application function request; policy control After receiving the application function request, the functional network element allocates a first service flow identifier to the flow description information of the first service flow, and can use an application function response (such as an AF response) to combine the flow description information of the first service flow with the first service flow. The service flow identification is returned to the application function network element, wherein the implementation of the policy control function network element assigning the first service flow identification to the first service flow can refer to the realization of assigning the first service flow identification to the first service flow by the terminal device, and repeat the process. It is not repeated here. After receiving the first service flow identifier, the application function network element can directly send the allocated first service flow identifier to the terminal device, or the policy control function network element can trigger the session modification process and send it to the terminal device without processing. In addition, the application function network element may send the first service flow identification of the first service flow to the application server through the second service flow identification configuration information including the first service flow identification and flow description information of the first service flow.
需要理解的是,如果由终端设备或应用功能网元为第一业务流分配第一业务流标识,应用功能网元还需要将第一业务流的第一业务流标识发送给策略控制功能网元。例如:通过包括第一业务流的流描述信息和第一业务流标识的应用功能请求(如AF request)发送给策略控制功能网元。或者在由终端设备为第一业务流分配第一业务流标识时,由终端设备直接在会话修改过程(如PDU会话修改过程)中将第一业务流的第一业务流标识发送给会话管理网元与策略控制功能网元。例如:通过PDU会话修改请求消息将第一业务的流描述信息和第一业务流标识发送给会话管理网元与策略控制功能网元。It should be understood that if the terminal device or the application function network element allocates the first service flow identifier for the first service flow, the application function network element also needs to send the first service flow identifier of the first service flow to the policy control function network element. . For example, send to the policy control function network element through an application function request (such as AF request) including the flow description information of the first service flow and the identifier of the first service flow. Or when the terminal device allocates the first service flow identifier for the first service flow, the terminal device directly sends the first service flow identifier of the first service flow to the session management network in the session modification process (such as the PDU session modification process). element and policy control function network element. For example, the flow description information of the first service and the first service flow identifier are sent to the session management network element and the policy control function network element through the PDU session modification request message.
以终端设备为第一业务流分配第一业务流标识为例,如图6所示,策略控制功能网元获取到第一业务流的第一业务流标识后,策略控制功能网元会与会话管理网元发起会话管理策略关联建立/修改流程,例如:策略控制功能网元可以向会话管理网元发送会话管理(session management,SM)策略关联修改请求(如SM policy association modification request),将包括第一业务流的业务数据过滤器(业务过滤器中包括用于过滤筛选第一业务流的数据包的数据包过滤参数)在内策略与计费控制规则和第一业务流标识发送给会话管理功能网元,会话管理功能网元根据策略与计费控制规则生成数据包检测规则和QoS规则,需要理解的是,在一些可能的实施中,第一业务流标识也可以包含在策略与计费控制规则内。Taking the terminal device assigning the first service flow identifier for the first service flow as an example, as shown in FIG. 6 , after the policy control function network element obtains the first service flow identifier of the first service flow, the policy control function network element will communicate with the session. The management network element initiates the session management policy association establishment/modification process. For example, the policy control function network element can send a session management (session management, SM) policy association modification request (such as SM policy association modification request) to the session management network element, which will include The service data filter of the first service flow (the service filter includes data packet filtering parameters used to filter and filter the data packets of the first service flow), the policy and charging control rules and the first service flow identifier are sent to the session management The functional network element and the session management functional network element generate packet inspection rules and QoS rules according to the policy and charging control rules. It should be understood that, in some possible implementations, the first service flow identifier may also be included in the policy and charging control rules. within the control rules.
会话管理功能可以通过会话创建或修改流程,将包括数据包检测规则和第一业务流标识的数据包检测规则配置信息发送给用户面功能网元。如通过N4会话创建/或修改请求(N4session establishment/modification request)将数据包检测规则配置信息发送给用户面功能网 元。还可以通过会话修改命令等将QoS规则和第一业务流标识发送给终端设备。例如:会话管理功能网元可以先将携带会话修改命令(如PDU session modification command)的通信消息传输消息(如Namf_communication_N1N2message transfer消息)发送给接入和移动管理功能(access and mobility management function,AMF)网元,由接入和移动管理功能网元再将会话修改命令发送至终端设备。需要理解的是,在一些可能的实施中,第一业务流标识也可以包含在QoS规则或数据包检测规则内。The session management function can send the data packet inspection rule configuration information including the data packet inspection rule and the first service flow identifier to the user plane function network element through the session creation or modification process. For example, the packet inspection rule configuration information is sent to the user plane functional network element through an N4 session establishment/modification request (N4 session establishment/modification request). The QoS rule and the first service flow identifier may also be sent to the terminal device through a session modification command or the like. For example, the session management function network element may first send a communication message transfer message (such as a Namf_communication_N1N2message transfer message) carrying a session modification command (such as a PDU session modification command) to the access and mobility management function (AMF) network The access and mobility management function network element sends the session modification command to the terminal device. It should be understood that, in some possible implementations, the first service flow identifier may also be included in the QoS rule or the data packet inspection rule.
用户面功能网元接收到数据包检测规则配置信息后,会将第一业务流的数据包检测规则与对应的第一业务流标识绑定;终端设备也会将QoS规则与对应的第一业务流标识绑定,其中数据包检测规则和QoS规则中用于检测第一业务流的数据包的数据包检测参数,可以动态调整,如可以根据包括该第一业务流标识的数据包中的数据包检测参数进行动态调整。After receiving the data packet inspection rule configuration information, the user plane function network element will bind the data packet inspection rule of the first service flow with the corresponding first service flow identifier; the terminal device will also associate the QoS rule with the corresponding first service flow. Flow identification binding, wherein the packet inspection rules and the packet inspection parameters in the QoS rules for detecting the data packets of the first service flow can be dynamically adjusted, for example, according to the data in the data packets including the first service flow identification Packet inspection parameters are dynamically adjusted.
S302:当所述第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数与所述下行数据包中的第二数据包过滤参数不同时,所述用户面功能网元根据所述第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则。S302: When the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the downlink data packet, the user plane function network element According to the second data packet filtering parameter, the first data packet detection rule is updated to a second data packet detection rule.
其中,所述第一数据包过滤规则为在接收到所述下行数据包之前,用户面功能网元中用于检测第一业务流中数据包的数据包检测规则,具体的,所述第一数据包检测规则用于检测所述第一业务流中包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略、所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略,所述第二数据包检测规则与所述第一数据包检测规则提供的执行策略相同。The first data packet filtering rule is a data packet detection rule used in the user plane functional network element to detect data packets in the first service flow before receiving the downlink data packet. Specifically, the first The data packet detection rule is used to detect the data packet including the first data packet filtering parameter in the first service flow, and provide an execution policy, the second data packet for the data packet including the first data packet filtering parameter The packet inspection rule is used to detect the data packet including the second data packet filtering parameter, and provide an execution policy for the data packet including the second data packet filtering parameter, the second data packet inspection rule and the first data packet inspection rule. Packet inspection rules provide the same enforcement policy.
具体的,当用户面功能网元接收到来自应用服务器的包括第一业务流标识的下行数据包后,会对第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数与所述下行数据包中的第二数据包过滤参数是否相同进行检测,如果不同,则确定第一业务流对应的端到端连接发生更换或重建,用户面功能网元将第一数据包检测规则中的第一数据包过滤参数更新为下行数据包中的第二数据包过滤参数,用以实现对包括第二数据包过滤参数的数据包(上行或下行)的检测及识别,以及对包括第二数据包过滤参数的数据包(上行或下行)提供与第一数据包检测规则中相同的执行策略,如提供转发执行规则(forwarding action rule,FAR)、使用报告规则(using reporting rule,URR)、QoS执行规则(QoS enforcement rule,QER)等中的一项或多项,具体地,可以在数据包检测规则中携带对应的执行策略的身份信息,如FAR/URR/QER的ID信息。Specifically, after the user plane function network element receives the downlink data packet including the first service flow identifier from the application server, it will filter the parameters of the first data packet in the first data packet detection rule corresponding to the first service flow identifier Check whether the filtering parameter of the second data packet in the downlink data packet is the same, and if it is different, it is determined that the end-to-end connection corresponding to the first service flow is replaced or rebuilt, and the user plane function network element detects the first data packet. The first data packet filtering parameter in the rule is updated to the second data packet filtering parameter in the downlink data packet, so as to realize the detection and identification of the data packet (uplink or downlink) including the second data packet filtering parameter, and the The packet (uplink or downlink) of the second packet filtering parameter provides the same execution policy as in the first packet inspection rule, such as forwarding action rule (FAR), using reporting rule (URR) ), one or more of QoS enforcement rules (QoS enforcement rule, QER), etc. Specifically, the identity information of the corresponding enforcement policy, such as the ID information of FAR/URR/QER, may be carried in the packet inspection rule.
在一种可能的实施中,如图7所示,在确定当所述下行数据包中的第二数据包过滤参数与第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数不同时,用户面功能网元还可以将第二数据包过滤参数和第一业务流标识通过N4会话修改请求(如N4session modification request)发送给会话管理功能网元,由会话管理功能网元根据第一业务流标识所对应的策略与计费控制规则和第二数据包过滤参数,生成第二数据包检测规则,或者由会话管理功能网元更新原有的第一数据包检测规则,其中第一数据包检测规则中的第一数据包过滤参数被替换为第二数据包过滤参数,生成第二数据包检测规则。通过包括第二数据包检测规则的N4会话修改响应(如N4session modification response),会话管理功能网元即可将第二数据包检测规则发送给用户面功能网元,用以用户面功能网元接收到第二数据包检测规则后,将第二数据包检测规则与第一业务流标识进行绑定,确保第一业务流的数据能够正常得到对应的策略处理。In a possible implementation, as shown in FIG. 7 , when determining the first data packet in the first data packet detection rule corresponding to the second data packet filtering parameter in the downlink data packet and the first service flow identifier When the filtering parameters are different, the user plane function network element may also send the second packet filtering parameter and the first service flow identifier to the session management function network element through an N4 session modification request (such as N4 session modification request), and the session management function network element will send the second packet filter parameter and the first service flow identifier to the session management function network element through an N4 session modification request (such as N4 session modification request). According to the policy and charging control rule corresponding to the first service flow identifier and the second data packet filtering parameter, the second data packet inspection rule is generated, or the original first data packet inspection rule is updated by the session management function network element, wherein The first data packet filtering parameter in the first data packet inspection rule is replaced with the second data packet filtering parameter, and the second data packet inspection rule is generated. Through the N4 session modification response (such as N4session modification response) including the second packet detection rule, the session management function network element can send the second packet detection rule to the user plane function network element for the user plane function network element to receive. After reaching the second data packet detection rule, the second data packet detection rule is bound with the first service flow identifier to ensure that the data of the first service flow can be normally processed by the corresponding policy.
S303:所述用户面功能网元根据所述第二数据包检测规则提供的执行策略,向终端设备发送所述数据包,所述终端设备接收所述下行数据包。S303: The user plane function network element sends the data packet to the terminal device according to the execution policy provided by the second data packet detection rule, and the terminal device receives the downlink data packet.
用户面功能网元采用第二数据包检测规则对下行数据进行检测以及识别,在识别下行数据包中的第二数据包过滤参数与第二数据包检测规则中记录的数据包检测参数一致后,采用第二数据包检测规则提供的执行策略,如转发执行规则等,将下行数据包发送给终端设备。The user plane function network element uses the second data packet detection rule to detect and identify the downlink data, and after identifying that the second data packet filtering parameter in the downlink data packet is consistent with the data packet detection parameter recorded in the second data packet detection rule, The downlink data packet is sent to the terminal device by adopting the execution policy provided by the second data packet detection rule, such as the forwarding execution rule, etc.
S304:当所述第一业务流标识对应的第一QoS规则中的第一数据包过滤参数与所述下行数据包中的第二数据包过滤参数不同时,所述终端设备根据所述第二数据包过滤参数,将所述第一QoS规则更新为第二QoS规则。S304: When the first data packet filtering parameter in the first QoS rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the downlink data packet, the terminal device according to the second data packet filtering parameter Packet filtering parameters, updating the first QoS rule to a second QoS rule.
其中,所述第一QoS规则为在接收到所述下行数据包之前,终端设备中用于检测第一业务流中数据包的QoS规则。当终端设备接收到来自用户面功能网元的下行数据包后,会对第一QoS规则中的第一数据包过滤参数与所述下行数据包中的第二数据包过滤参数是否相同进行检测,如果不同,则确定第一业务流对应的端到端连接发生更换或重建,终端设备将第一QoS规则中的第一数据包过滤参数更新为下行数据包中的第二数据包过滤参数,确定第二QoS规则,用以实现对包括第二数据包过滤参数的数据包的检测及识别,以及为包括第二数据包过滤参数的数据包提供QoS策略,如提供将包括第二数据包过滤参数的上行数据包映射到相应QoS流中的策略。The first QoS rule is a QoS rule used in the terminal device to detect data packets in the first service flow before receiving the downlink data packets. After receiving the downlink data packet from the user plane functional network element, the terminal device will detect whether the first data packet filtering parameter in the first QoS rule and the second data packet filtering parameter in the downlink data packet are the same, If it is different, it is determined that the end-to-end connection corresponding to the first service flow is replaced or rebuilt, and the terminal device updates the first data packet filtering parameter in the first QoS rule to the second data packet filtering parameter in the downlink data packet, and determines The second QoS rule is used to detect and identify the data packet including the second data packet filtering parameter, and provide a QoS policy for the data packet including the second data packet filtering parameter. If provided, the second data packet filtering parameter will be included. The upstream data packets are mapped to the policies in the corresponding QoS flow.
具体的,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。Specifically, the first QoS rule is used to detect the data packets including the first data packet filtering parameter, and provide a QoS policy for the data packets including the first data packet filtering parameter, and the second QoS rule is used for for detecting packets including the second packet filtering parameter, and providing a QoS policy for the packet including the second packet filtering parameter, the QoS policy provided by the second QoS rule and the first QoS rule The QoS policies provided are the same.
在一些实施中,终端设备对将第一QoS规则更新为第二QoS规则后,已经能够明确用户面功能网元也已经完成对第一业务流的数据包检测规则的更新,终端设备还可以向应用服务器发送规则更新完成指示信息(如通过终端设备与应用服务器之间的应用层M8d接口发送),所述规则更新完成指示信息中包括所述第一业务流标识,用于指示终端设备完成对所述第一业务流的QoS规则更新,告知应用服务器可以不在下行数据包中再添加第一业务流标识。In some implementations, after the terminal device has updated the first QoS rule to the second QoS rule, it is already clear that the user plane functional network element has also completed the update of the packet detection rule of the first service flow, and the terminal device can also send The application server sends the rule update completion indication information (for example, sent through the application layer M8d interface between the terminal device and the application server), and the rule update completion indication information includes the first service flow identifier, which is used to instruct the terminal device to complete the pairing. The QoS rule of the first service flow is updated to inform the application server that the first service flow identifier may not be added to the downlink data packet.
可以理解的是,在一些可能的实施中,终端设备也可以不识别数据包中包括的第一业务流标识,如果用户面功能网元根据下行数据包中的第二数据包过滤参数,将第一业务流的第一数据包检测规则更新为第二数据包检测规则,用户面功能网元在向终端设备发送所述下行数据包时,还可以在所述下行数据包中添加用于指示所述终端设备根据所述数据包中的第二数据包过滤参数,将第一业务流的第一QoS规则更新为第二QoS规则的第一指示,指示终端设备更新述第一业务流的第一QoS规则。It can be understood that, in some possible implementations, the terminal device may not recognize the first service flow identifier included in the data packet. If the user plane function network element filters the The first data packet detection rule of a service flow is updated to the second data packet detection rule. When the user plane function network element sends the downlink data packet to the terminal device, it may also add a message indicating the The terminal device updates the first QoS rule of the first service flow to the first indication of the second QoS rule according to the second data packet filtering parameter in the data packet, and instructs the terminal device to update the first QoS rule of the first service flow. QoS rules.
作为一种示例,用户面功能网元可以在下行数据包的通用分组无线服务(general packet radio service,GPRS)隧道协议用户面(GRPS tunneling protocol user plane,GTP-U)层添加第一指示信息,其中如果将第一指示信息添加在CTP-U层的扩展位时,接入网设备在将下行数据包转发给终端设备的时候可以通过无线资源控制(radio resource control,RRC)消息或者将第一指示信息添加在下行数据包中的分组数据汇聚协议(packet data convergence protocol,PDCP)/服务数据适配协议(service data adaptation protocol,SDAP)层,将第一指示信息发送给终端设备。As an example, the user plane function network element may add the first indication information at the general packet radio service (general packet radio service, GPRS) tunneling protocol user plane (GRPS tunneling protocol user plane, GTP-U) layer of the downlink data packet, If the first indication information is added to the extension bit of the CTP-U layer, the access network device can forward the downlink data packet to the terminal device through a radio resource control (radio resource control, RRC) message or the first The indication information is added to the packet data convergence protocol (packet data convergence protocol, PDCP)/service data adaptation protocol (service data adaptation protocol, SDAP) layer in the downlink data packet, and the first indication information is sent to the terminal device.
此外,如果终端设备不识别数据包中包括的第一业务流标识,会话管理功能网元根据用户面功能网元上报的第二数据包过滤参数生成第一业务流的第二数据包检测规则后,会话管理功能网元还可以根据第二数据包过滤参数生成第一业务流的第二QoS规则,并通过会话管理消息(SM message)发送给终端设备,使终端设备将第一业务流的第一QoS规则更新为第二QoS规则。In addition, if the terminal device does not recognize the first service flow identifier included in the data packet, the session management function network element generates the second data packet detection rule of the first service flow according to the second data packet filtering parameter reported by the user plane function network element. , the session management function network element can also generate a second QoS rule of the first service flow according to the second data packet filtering parameter, and send it to the terminal device through a session management message (SM message), so that the terminal device can use the first service flow. A QoS rule is updated to a second QoS rule.
另外,需要理解的是,终端设备在确定第一业务流对应的端到端连接发生更换或重建,也可以主动根据更换或重建后的端到端连接对应的第二数据包过滤参数,将第一业务流的第一QoS规则更新为第二QoS规则。In addition, it should be understood that, when the terminal device determines that the end-to-end connection corresponding to the first service flow is replaced or rebuilt, it can also take the initiative to filter the The first QoS rule of a service flow is updated to the second QoS rule.
场景二:在用于传输业务流的端到端连接(如TCP连接等)更换或重建后,终端设备和用户面功能网元根据上行业务流实现对业务流的QoS规则和数据包检测规则自动更新。Scenario 2: After the end-to-end connection (such as TCP connection, etc.) used to transmit the service flow is replaced or rebuilt, the terminal device and the user plane functional network element realize the automatic QoS rules and data packet inspection rules for the service flow according to the upstream service flow. renew.
图8为本申请实施例提供的业务流识别方法示意图,该方法包括:FIG. 8 is a schematic diagram of a service flow identification method provided by an embodiment of the present application, and the method includes:
S801:终端设备确定第一业务流对应的端到端连接发生更换或重建。S801: The terminal device determines that the end-to-end connection corresponding to the first service flow is replaced or rebuilt.
S802:所述终端设备根据更换或重建后的端到端连接对应的第二数据包过滤参数,将所述第一业务流的第一QoS规则更新为第二QoS规则。S802: The terminal device updates the first QoS rule of the first service flow to a second QoS rule according to the second data packet filtering parameter corresponding to the replaced or rebuilt end-to-end connection.
其中,所述第一QoS规则中包括所述第一业务流更换或重建前的端到端连接对应的第一数据包过滤参数,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。Wherein, the first QoS rule includes first data packet filtering parameters corresponding to the end-to-end connection before the first service flow is replaced or re-established, and the first QoS rule is used to detect that the first data packet includes the first data packet. filtering the data packets of the parameters, and providing a QoS policy for the data packets including the first data packet filtering parameters, the second QoS rules for detecting the data packets including the second data packet filtering parameters, and providing the data packets including the The data packet of the second data packet filtering parameter provides a QoS policy, and the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
由于应用服务器(application server,AS)的负载均衡、CDN分载等原因,会造成终端设备的客户端与应用服务器之间建立的用于传输第一业务流的端到端连接(如TCP连接等)发生更换或重建。如果在更换或重建端到端连接后,最先有上行数据包发送,终端设备会检测到第一业务流的流描述信息(如数据包过滤参数中的五元组)发生变化,终端设备会将第一QoS规则中的第一数据包过滤参数更新为更换或重建后的端到端连接对应的第二数据包过滤参数,用于为包括所述第二数据包过滤参数的数据包提供QoS策略,如提供将包括第二数据包过滤参数的上行数据包映射到相应QoS流中的策略。Due to application server (application server, AS) load balancing and CDN offloading, etc., an end-to-end connection (such as a TCP connection, etc.) for transmitting the first service flow may be established between the client of the terminal device and the application server. ) is replaced or rebuilt. If the upstream data packet is sent first after the end-to-end connection is replaced or re-established, the terminal device will detect that the flow description information of the first service flow (such as the quintuple in the data packet filtering parameters) has changed, and the terminal device will Update the first data packet filtering parameter in the first QoS rule to the second data packet filtering parameter corresponding to the end-to-end connection after the replacement or reconstruction, so as to provide QoS for the data packet including the second data packet filtering parameter A policy, such as providing a policy for mapping the upstream data packet including the second data packet filtering parameter into the corresponding QoS flow.
在一些可能的实施中,终端设备也可以发起会话修改流程(如PDU会话修改流程),由会话管理功能网元基于策略与计费控制规则生成第二QoS规则发送给终端设备。In some possible implementations, the terminal device may also initiate a session modification process (eg, a PDU session modification process), and the session management function network element generates a second QoS rule based on the policy and charging control rules and sends it to the terminal device.
S803:对于包括所述第二数据包过滤参数的上行数据包,所述终端设备根据第一QoS规则提供的QoS策略向用户面功能网元发送所述上行数据包,其中,所述上行数据包中包括所述第一业务流的第一业务流标识。S803: For the uplink data packet including the second data packet filtering parameter, the terminal device sends the uplink data packet to the user plane function network element according to the QoS policy provided by the first QoS rule, wherein the uplink data packet includes the first service flow identifier of the first service flow.
终端设备采用第二QoS规则对第一业务流的上行数据包进行检测以及识别,并在识别上行数据包中的第二数据包过滤参数与第二QoS规则中记录的数据包检测参数一致后,将下行数据包映射到QoS策略指定的QoS流中发送给用户面功能网元。The terminal device uses the second QoS rule to detect and identify the upstream data packet of the first service flow, and after identifying that the second data packet filtering parameter in the upstream data packet is consistent with the data packet detection parameter recorded in the second QoS rule, The downlink data packet is mapped to the QoS flow specified by the QoS policy and sent to the user plane function network element.
其中,对于为第一业务流分配第一业务流标识以及终端设备、用户面功能网元、应用服务器等如何获知为第一业务流分配的第一业务流标识的实现,可参照上述场景一,不再进行赘述。Wherein, for the implementation of allocating the first service flow identifier for the first service flow and how the terminal equipment, user plane function network element, application server, etc. know the first service flow identifier allocated for the first service flow, refer to the above scenario 1, No further description will be given.
作为一种示例,终端设备可以在上行数据包的IP/TCP层中添加第一业务流标识,将第一业务流标识发送给用户面功能网元;也可以在上行数据包PDCP/SDAP层中添加第一业务流标识,由接入网设备在向用户面功能转发所述上行数据包时,将第一业务流标识添 加在上行数据包的GTP-U层,发送给用户面功能网元。As an example, the terminal device may add the first service flow identifier in the IP/TCP layer of the uplink data packet, and send the first service flow identifier to the user plane function network element; or in the PDCP/SDAP layer of the uplink data packet Adding the first service flow identifier, when forwarding the uplink data packet to the user plane function, the access network device adds the first service flow identifier to the GTP-U layer of the uplink data packet and sends it to the user plane function network element.
S804:当所述第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数与所述上行数据包中的第二数据包过滤参数不同时,所述用户面功能网元根据所述第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则。S804: When the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the uplink data packet, the user plane function network element According to the second data packet filtering parameter, the first data packet detection rule is updated to a second data packet detection rule.
其中,所述第一数据包过滤规则为在接收到所述上行数据包之前,用户面功能网元中用于检测第一业务流中数据包的数据包检测规则,具体的,所述第一数据包检测规则用于检测所述第一业务流中包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略、所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略,所述第二数据包检测规则与所述第一数据包检测规则提供的执行策略相同。The first data packet filtering rule is a data packet detection rule used in the user plane functional network element to detect data packets in the first service flow before receiving the uplink data packet. Specifically, the first The data packet detection rule is used to detect the data packet including the first data packet filtering parameter in the first service flow, and provide an execution policy, the second data packet for the data packet including the first data packet filtering parameter The packet inspection rule is used to detect the data packet including the second data packet filtering parameter, and provide an execution policy for the data packet including the second data packet filtering parameter, the second data packet inspection rule and the first data packet inspection rule. Packet inspection rules provide the same enforcement policy.
当用户面功能网元接收到来自终端设备的包括第一业务流标识的上行数据包后,会对第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数与所述上行数据包中的第二数据包过滤参数是否相同进行检测,如果不同,则确定第一业务流对应的端到端连接发生更换或重建,用户面功能网元将第一数据包检测规则中的第一数据包过滤参数更新为上行数据包中的第二数据包过滤参数,用以实现对包括第二数据包过滤参数的数据包(上行或下行)的检测及识别,以及对包括第二数据包过滤参数的数据包(上行或下行)提供与第一数据包检测规则中相同的执行策略,如提供FAR、URR、QoS等中的一项或多项。When the user plane function network element receives the uplink data packet including the first service flow identifier from the terminal device, it will check the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier with the above Check whether the second data packet filtering parameters in the uplink data packets are the same. If they are different, it is determined that the end-to-end connection corresponding to the first service flow has been replaced or rebuilt, and the user plane function network element will use the first data packet detection rule. The first data packet filtering parameter is updated to the second data packet filtering parameter in the uplink data packet, so as to realize the detection and identification of the data packet (uplink or downlink) including the second data packet filtering parameter, and the second data packet The data packet (uplink or downlink) of the packet filtering parameter provides the same execution policy as in the first packet inspection rule, such as providing one or more of FAR, URR, QoS, and so on.
在一种可能的实施中,如图7所示,在确定当所述上行数据包中的第二数据包过滤参数与所述第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数不同时,用户面功能网元还可以将第二数据包过滤参数和所述第一业务流标识通过N4会话修改请求(如N4session modification request)发送给会话管理功能网元,由会话管理功能网元根据第一业务流标识所对应的策略与计费控制规则和第二数据包过滤参数,生成第二数据包检测规则,或者由会话管理功能网元更新原有的第一数据包检测规则,其中第一数据包检测规则中的第一数据包过滤参数被替换为第二数据包过滤参数,生成第二数据包检测规则。通过包括第二数据包检测规则的N4会话修改响应(如N4session modification response),会话管理功能网元即可将第二数据包检测规则发送给用户面功能网元,用以用户面功能网元接收到第二数据包检测规则后,将第二数据包检测规则与第一业务流标识进行绑定,确保第一业务流的数据能够正常得到对应的策略处理。In a possible implementation, as shown in FIG. 7 , when determining the first data packet detection rule corresponding to the second data packet filtering parameter in the upstream data packet and the first service flow identifier, the first When the data packet filtering parameters are different, the user plane function network element may also send the second data packet filtering parameter and the first service flow identifier to the session management function network element through an N4 session modification request (such as an N4 session modification request), and the session The management function network element generates the second data packet detection rule according to the policy and charging control rule corresponding to the first service flow identifier and the second data packet filtering parameter, or the session management function network element updates the original first data packet A detection rule, wherein the first data packet filtering parameter in the first data packet detection rule is replaced with the second data packet filtering parameter, and a second data packet detection rule is generated. Through the N4 session modification response (such as N4session modification response) including the second packet detection rule, the session management function network element can send the second packet detection rule to the user plane function network element for the user plane function network element to receive. After reaching the second data packet detection rule, the second data packet detection rule is bound with the first service flow identifier to ensure that the data of the first service flow can be normally processed by the corresponding policy.
S805:所述用户面功能网元根据所述第二数据包检测规则提供的所述执行策略,向应用服务器发送所述上行数据包。S805: The user plane function network element sends the uplink data packet to the application server according to the execution policy provided by the second data packet detection rule.
用户面功能网元采用第二数据包检测规则对上行数据进行检测以及识别,在识别上行数据包中的第二数据包过滤参数与第二数据包检测规则中记录的数据包检测参数一致后,采用第二数据包检测规则提供的执行策略,如转发执行规则等,将上行数据包发送给应用服务器。The user plane function network element uses the second data packet detection rule to detect and identify the uplink data, and after identifying that the second data packet filtering parameter in the uplink data packet is consistent with the data packet detection parameter recorded in the second data packet detection rule, The uplink data packet is sent to the application server by adopting the execution policy provided by the second data packet detection rule, such as the forwarding execution rule, etc.
在一些实施中,用户面功能网元将第一数据包检测规则更新为第二数据包检测规则后,还可以在向应用服务器发送的上行数据包中添加用于指示所述用户面功能网元完成对所述第一业务流的数据包检测规则的更新的第二指示信息,如在上行数据包中的IP/TCP层或者应用层等添加第二指示信息。应用服务器根据来自用户面功能网元的第二指示信息能够明确用户面功能网元已经完成对第一业务流的数据包检测规则的更新,可以通过与终端 设备之间的应用层M8d接口告知终端设备用户面功能网元已经完成对第一业务流的数据包检测规则的更新,告知终端设备可以不在上行数据包中再添加第一业务流标识。In some implementations, after the user plane functional network element updates the first data packet detection rule to the second data packet detection rule, it may also add an instruction to the user plane functional network element in the uplink data packet sent to the application server. Complete the second indication information for updating the data packet detection rule of the first service flow, such as adding the second indication information to the IP/TCP layer or the application layer in the upstream data packet. According to the second indication information from the user plane function network element, the application server can confirm that the user plane function network element has completed the update of the data packet detection rule of the first service flow, and can notify the terminal through the application layer M8d interface with the terminal device. The device user plane function network element has completed the update of the data packet detection rule of the first service flow, and informs the terminal device that the first service flow identifier may not be added to the upstream data packet.
需要理解的是业务流可以基于五元组进行划分,也可以基于五元组+其他用于标识流的信息进行更细致的划分,本申请实施例对此不限定。It should be understood that the service flow may be divided based on the quintuple, and may also be divided in more detail based on the quintuple + other information used to identify the flow, which is not limited in this embodiment of the present application.
在一些实施中,终端设备和用户面功能网元还可以直接根据第一业务流的第一业务流标识来检测识别第一业务流的数据包,并为数据包提供QoS策略和执行策略。如图9所示,在策略控制功能网元获取到第一业务流的第一业务流标识后,策略控制功能网元会与会话管理网元发起会话管理策略关联建立/修改流程,例如:策略控制功能网元可以向会话管理网元发送会话管理(session management,SM)策略关联修改请求(如SM policy association modification request),将包括第一业务流的包含第一业务流标识在内的策略与计费控制规则发送给会话管理功能网元,会话管理功能网元根据策略与计费控制规则生成数据包检测规则和QoS规则。其中所述数据包检测规则用于检测包括第一业务流的第一业务流标识的数据包,并为所述数据包提供执行策略,所述QoS规则用于检测包括所述第一业务流标识的数据包,并为所述数据包提供QoS策略。也即与现有数据包检测规则和QoS规则中基于数据包过滤参数检测以及识别第一业务流的数据包不同,在本实施中,基于第一业务的业务流标识检测及识别第一业务流的数据包。In some implementations, the terminal device and the user plane functional network element may also directly detect and identify the data packets of the first service flow according to the first service flow identifier of the first service flow, and provide QoS policies and execution policies for the data packets. As shown in Figure 9, after the policy control function network element obtains the first service flow identifier of the first service flow, the policy control function network element will initiate a session management policy association establishment/modification process with the session management network element, for example: policy The control function network element may send a session management (session management, SM) policy association modification request (such as an SM policy association modification request) to the session management network element, and the policy including the first service flow identifier of the first service flow is matched with the first service flow identifier. The charging control rules are sent to the session management function network element, and the session management function network element generates data packet inspection rules and QoS rules according to the policy and charging control rules. The data packet detection rule is used to detect the data packet including the first service flow identifier of the first service flow, and provide an execution policy for the data packet, and the QoS rule is used to detect the data packet including the first service flow identifier data packets, and provide QoS policies for the data packets. That is to say, different from the existing packet detection rules and QoS rules based on packet filtering parameters to detect and identify packets of the first service flow, in this implementation, the first service flow is detected and identified based on the service flow identifier of the first service. the data package.
会话管理功能可以通过会话创建或修改流程,将包括数据包检测规则发送给用户面功能网元。如通过N4会话创建/或修改请求(N4session establishment/modification request)将数据包检测规则发送给用户面功能网元。还可以通过会话修改命令等将QoS规则发送给终端设备。例如:会话管理功能网元可以先将携带会话修改命令(如PDU session modification command)的通信消息传输消息(如Namf_communication_N1N2message transfer消息)发送给接入和移动管理功能(access and mobility management function,AMF)网元,由接入和移动管理功能网元再将会话修改命令发送至终端设备。The session management function can send the packet inspection rules to the user plane function network elements through the session creation or modification process. For example, the packet inspection rule is sent to the user plane functional network element through an N4 session establishment/modification request (N4 session establishment/modification request). The QoS rules can also be sent to the terminal device through a session modification command or the like. For example, the session management function network element may first send a communication message transfer message (such as a Namf_communication_N1N2message transfer message) carrying a session modification command (such as a PDU session modification command) to the access and mobility management function (AMF) network The access and mobility management function network element sends the session modification command to the terminal device.
终端设备和应用服务器之间传输的第一业务流的数据包(上行或下行)中均携带第一业务流的标识,由于数据包检测规则基于第一业务流标识检测第一业务流的数据包,并提供执行策略,QoS规则基于第一业务流标识检测第一业务流的数据包,并提供QoS策略,即使由于应用服务器的负载均衡、CDN分载等原因,会造成终端设备的客户端与应用服务器之间建立的用于传输第一业务流的端到端连接发生更换或重建,第一业务流在不同时刻对应终端设备和应用服务器间的一个或多个端到端连接时,也无需更新再发起对数据包检测规则和QoS的更新。The data packets (uplink or downlink) of the first service flow transmitted between the terminal device and the application server all carry the identifier of the first service flow, because the data packet detection rule detects the data packets of the first service flow based on the first service flow identifier. , and provide an execution policy, the QoS rule detects the data packets of the first service flow based on the first service flow identifier, and provides QoS policies, even if due to the load balancing of the application server, CDN offloading, etc. The end-to-end connection established between the application servers for transmitting the first service flow is replaced or rebuilt. When the first service flow corresponds to one or more end-to-end connections between the terminal device and the application server at different times, there is no need to The update then initiates the update of the packet inspection rules and QoS.
需要理解的是,第一业务流标识可以承载在数据包的网络层或传输层或应用层等,为第一业务流分配第一业务流标识以及如何使策略控制功能网元获知为第一业务流分配第一业务流标识可以参照上述场景一中的实现,不再进行赘述。It should be understood that the first service flow identifier can be carried in the network layer, transport layer, or application layer of the data packet, etc., to assign the first service flow identifier to the first service flow and how to make the policy control function network element know that the first service is the first service. For the flow assignment of the first service flow identifier, reference may be made to the implementation in the above scenario 1, and details are not repeated here.
如图10所示,上述主要终端设备以及从会话管理功能网元、用户面功能网元、应用服务器、应用功能网元等交互的角度对本申请提供的方案进行了介绍。可以理解的是,为了实现上述功能,各网元(或设备)包括了执行各个功能相应的硬件结构和/或软件模块(或单元)。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究 竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。As shown in FIG. 10 , the above-mentioned main terminal equipment and the solution provided by this application are introduced from the perspective of interaction of session management function network elements, user plane function network elements, application servers, and application function network elements. It can be understood that, in order to realize the above functions, each network element (or device) includes a corresponding hardware structure and/or software module (or unit) for performing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is implemented by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
图11和图12为本申请的实施例提供的可能的业务流识别装置的结构示意图。这些业务流识别装置可以用于实现上述方法实施例中终端设备、会话管理功能网元、用户面功能网元、应用服务器、应用功能网元的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请的实施例中,该业务流识别装置可以是上述方法实施例中的终端设备、会话管理功能网元、用户面功能网元、应用服务器或应用功能网元,还可以是应用于终端设备、会话管理功能网元、用户面功能网元、应用服务器或应用功能网元的模块(如芯片)。FIG. 11 and FIG. 12 are schematic structural diagrams of possible service flow identification apparatuses provided by embodiments of the present application. These service flow identification apparatuses can be used to implement the functions of the terminal device, the session management function network element, the user plane function network element, the application server, and the application function network element in the above method embodiments, and thus can also implement the functions of the above method embodiments. beneficial effect. In the embodiment of the present application, the service flow identification device may be a terminal device, a session management function network element, a user plane function network element, an application server or an application function network element in the above method embodiments, or may be applied to a terminal A device, a session management function network element, a user plane function network element, an application server or a module (such as a chip) of an application function network element.
如图11所示。业务流识别装置1100可以包括:处理单元1102和通信单元1103,还可以包括存储单元1101。业务流识别装置1100用于实现上述方法实施例中终端设备、会话管理功能网元、用户面功能网元、应用服务器或应用功能网元的功能。As shown in Figure 11. The apparatus 1100 for identifying a service flow may include: a processing unit 1102 and a communication unit 1103, and may further include a storage unit 1101. The service flow identification apparatus 1100 is configured to implement the functions of a terminal device, a session management function network element, a user plane function network element, an application server or an application function network element in the above method embodiments.
一种可能的设计中,处理单元1102用于实现相应的处理功能。通信单元1103用于支持业务流识别装置1100与其他网络实体的通信。存储单元1101,用于存储业务流识别装置1100的程序代码和/或数据。可选地,通信单元1103可以包括接收单元和/或发送单元,分别用于执行接收和发送操作。In a possible design, the processing unit 1102 is used to implement corresponding processing functions. The communication unit 1103 is used to support the communication between the service flow identification apparatus 1100 and other network entities. The storage unit 1101 is used for storing program codes and/or data of the service flow identification apparatus 1100 . Optionally, the communication unit 1103 may include a receiving unit and/or a sending unit for performing receiving and sending operations, respectively.
当业务流识别装置1100用于实现方法实施例中用户面功能网元的功能时:When the service flow identification apparatus 1100 is used to implement the function of the user plane function network element in the method embodiment:
通信单元1103,用于接收数据包,其中所述数据包中包括所述数据包所属的第一业务流的第一业务流标识;A communication unit 1103, configured to receive a data packet, wherein the data packet includes a first service flow identifier of the first service flow to which the data packet belongs;
处理单元1102,用于当所述第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数与所述数据包中的第二数据包过滤参数不同时,根据所述第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则;其中所述第一数据包检测规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略、所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略,所述第二数据包检测规则与所述第一数据包检测规则提供的执行策略相同。The processing unit 1102 is configured to, when the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the data packet, according to the first data packet filtering parameter in the data packet Two data packet filtering parameters, updating the first data packet inspection rule to a second data packet inspection rule; wherein the first data packet inspection rule is used to detect data packets including the first data packet filtering parameter, and providing an enforcement policy for packets including the first packet filtering parameter, the second packet inspection rule for detecting packets including the second packet filtering parameter, and providing an execution policy for packets including the second packet filtering parameter The data packet of the filtering parameter provides an execution policy, and the second data packet inspection rule is the same as the execution policy provided by the first data packet inspection rule.
在一种可能的设计中,所述通信单元1103,还用于当所述数据包为来自应用服务器的下行数据包时,根据所述第二数据包检测规则提供的所述执行策略,向终端设备发送所述数据包;或者,In a possible design, the communication unit 1103 is further configured to, when the data packet is a downlink data packet from an application server, send to the terminal according to the execution policy provided by the second data packet detection rule the device sends the packet; or,
当所述数据包为来自终端设备的上行数据包时,根据所述第二数据包检测规则提供的所述执行策略,向应用服务器发送所述数据包。When the data packet is an uplink data packet from a terminal device, the data packet is sent to the application server according to the execution policy provided by the second data packet detection rule.
在一种可能的设计中,所述处理单元1102,还用于在向所述终端设备发送的所述数据包中添加第一指示信息,所述第一指示信息用于指示所述终端设备根据所述数据包中的第二数据包过滤参数,将所述第一业务流的第一服务质量QoS规则更新为第二QoS规则。In a possible design, the processing unit 1102 is further configured to add first indication information to the data packet sent to the terminal device, where the first indication information is used to instruct the terminal device according to the The second data packet filtering parameter in the data packet updates the first quality of service QoS rule of the first service flow to the second QoS rule.
在一种可能的设计中,所述处理单元1102,还用于在向所述应用服务器发送的所述数据包中添加第二指示信息,所述第二指示信息用于指示所述业务流识别装置完成对所述第一业务流的数据包检测规则的更新。In a possible design, the processing unit 1102 is further configured to add second indication information to the data packet sent to the application server, where the second indication information is used to indicate the identification of the service flow The apparatus completes the update of the data packet detection rule of the first service flow.
在一种可能的设计中,所述处理单元1102根据所述数第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则时,具体用于通过所述通信单元1103向会话管理功能网元发送所述第二数据包过滤参数和所述第一业务流标识;接收来自所述会话管 理功能网元的所述第二数据包检测规则,所述第二数据包检测规则是所述会话管理功能网元根据所述第二数据包过滤参数和所述第一业务流标识确定的;以及将所述第一数据包检测规则更新为所述第二数据包检测规则。In a possible design, when the processing unit 1102 updates the first data packet inspection rule to the second data packet inspection rule according to the second data packet filtering parameter, the processing unit 1102 is specifically configured to pass the communication Unit 1103 sends the second data packet filtering parameter and the first service flow identifier to the session management function network element; receives the second data packet detection rule from the session management function network element, the second data The packet inspection rule is determined by the session management function network element according to the second data packet filtering parameter and the first service flow identifier; and the first data packet inspection rule is updated to the second data packet inspection rule rule.
在一种可能的设计中,所述通信单元1103,还用于在接收数据包之前,接收来自会话管理功能网元的数据包检测规则配置信息,所述数据包检测规则配置信息包括所述第一业务流的第一数据包检测规则和所述第一业务流标识。In a possible design, the communication unit 1103 is further configured to receive data packet detection rule configuration information from the session management function network element before receiving the data packet, where the data packet detection rule configuration information includes the first A first data packet detection rule of a service flow and an identifier of the first service flow.
在一种可能的设计中,所述第一业务流标识承载在所述数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier is carried at the network layer or the transport layer or the application layer of the data packet.
在一些实施中通信单元1103,用于接收来自会话管理功能网元的数据包检测规则,所述数据包检测规则用于检测包括第一业务流标识的数据包,并为所述数据包提供执行策略,其中所述第一业务流标识所标识的第一业务流对应终端设备和应用服务器间的一个或多个端到端连接;In some implementations, the communication unit 1103 is configured to receive a data packet inspection rule from the session management function network element, the data packet inspection rule being used to detect a data packet including a first traffic flow identifier, and to provide execution for the data packet strategy, wherein the first service flow identified by the first service flow identifier corresponds to one or more end-to-end connections between the terminal device and the application server;
所述通信单元1103,还用于当接收到来自所述终端设备的包括所述第一业务流标识的数据包时,根据所述执行策略向所述应用服务器发送所述数据包;或者当接收到来自所述应用服务器的包括所述第一业务流标识的数据包时,根据所述执行策略向所述终端设备发送所述数据包。The communication unit 1103 is further configured to send the data packet to the application server according to the execution policy when receiving the data packet including the first service flow identifier from the terminal device; When the data packet including the first service flow identifier is received from the application server, the data packet is sent to the terminal device according to the execution policy.
当业务流识别装置1100用于实现方法实施例中终端设备的功能时:When the service flow identification apparatus 1100 is used to implement the function of the terminal device in the method embodiment:
在一种可能的实施中,通信单元1103,用于接收来自用户面功能网元的下行数据包,所述下行数据包中包括所述下行数据包所属的第一业务流的第一业务流标识;In a possible implementation, the communication unit 1103 is configured to receive a downlink data packet from a user plane functional network element, where the downlink data packet includes a first service flow identifier of the first service flow to which the downlink data packet belongs ;
处理单元1102,用于当所述第一业务流标识对应的第一服务质量QoS规则中的第一数据包过滤参数与所述下行数据包中的第二数据包过滤参数不同时,根据所述第二数据包过滤参数,将所述第一QoS规则更新为第二QoS规则;其中所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。The processing unit 1102 is configured to, when the first data packet filtering parameter in the first quality of service QoS rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the downlink data packet, according to the The second data packet filtering parameter is to update the first QoS rule to a second QoS rule; wherein the first QoS rule is used to detect data packets including the first data packet filtering parameter, and is configured to include the first data packet filtering parameter. A packet with a packet filter parameter provides a QoS policy, the second QoS rule is used to detect packets including the second packet filter parameter, and provide QoS for the packet including the second packet filter parameter policy, the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
在一种可能的设计中,所述下行数据包中还包括第一指示信息,所述第一指示信息用于指示所述业务流识别装置根据所述下行数据包中的第二数据包过滤参数,将所述第一QoS规则更新为所述第二QoS规则。In a possible design, the downlink data packet further includes first indication information, where the first indication information is used to instruct the service flow identification device to filter parameters according to the second data packet in the downlink data packet , and update the first QoS rule to the second QoS rule.
在一种可能的设计中,所述通信单元1103,还用于向应用服务器发送规则更新完成指示信息,所述规则更新完成指示信息中包括所述第一业务流标识,用于指示所述终端设备完成对所述第一业务流的QoS规则更新。In a possible design, the communication unit 1103 is further configured to send rule update completion indication information to the application server, where the rule update completion indication information includes the first service flow identifier, which is used to indicate the terminal The device completes the QoS rule update for the first service flow.
在一种可能的设计中,所述处理单元1102,在所述通信单元1103接收来自用户面功能网元的下行数据包之前,还用于为所述第一业务流分配所述第一业务流标识;In a possible design, the processing unit 1102, before the communication unit 1103 receives the downlink data packet from the user plane functional network element, is further configured to allocate the first service flow to the first service flow identification;
所述通信单元1103,还用于向应用功能网元发送第一业务流标识配置信息,所述第一业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。The communication unit 1103 is further configured to send first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service Stream ID.
在一种可能的设计中,所述通信单元1103接收来自用户面功能网元的下行数据包之前,还用于接收来自会话管理功能网元的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。In a possible design, before receiving the downlink data packet from the user plane function network element, the communication unit 1103 is further configured to receive QoS rule configuration information from the session management function network element, where the QoS rule configuration information includes all the first QoS rule and the first service flow identifier.
在一种可能的设计中,所述第一业务流标识承载在所述下行数据包的网络层或传输层 或应用层。In a possible design, the first service flow identifier is carried at the network layer or the transport layer or the application layer of the downlink data packet.
在另一种可能的实施中,处理单元1102,用于确定第一业务流对应的端到端连接发生更换或重建;In another possible implementation, the processing unit 1102 is configured to determine that the end-to-end connection corresponding to the first service flow is replaced or rebuilt;
所述处理单元1102,还用于根据更换或重建后的端到端连接对应的第二数据包过滤参数,将所述第一业务流的第一服务质量QoS规则更新为第二QoS规则,其中所述第一QoS规则中包括所述第一业务流更换或重建前的端到端连接对应的第一数据包过滤参数,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。The processing unit 1102 is further configured to update the first quality of service QoS rule of the first service flow to a second QoS rule according to the second packet filtering parameter corresponding to the end-to-end connection after the replacement or reconstruction, wherein The first QoS rule includes the first packet filtering parameter corresponding to the end-to-end connection before the first service flow is replaced or reestablished, and the first QoS rule is used to detect that the first packet filtering parameter includes the first packet filtering parameter. and provide QoS policy for the data packet including the first data packet filtering parameter, the second QoS rule is used to detect the data packet including the second data packet filtering parameter, and provide QoS policy for the data packet including the first data packet filtering parameter. A data packet with two data packet filtering parameters provides a QoS policy, and the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
在一种可能的设计中,通信单元1103,用于对于包括所述第二数据包过滤参数的上行数据包,根据所述QoS策略向用户面功能网元发送所述上行数据包,其中,所述上行数据包中包括所述第一业务流的第一业务流标识。In a possible design, the communication unit 1103 is configured to, for the uplink data packet including the second data packet filtering parameter, send the uplink data packet to the user plane function network element according to the QoS policy, wherein the The upstream data packet includes a first service flow identifier of the first service flow.
在一种可能的设计中,所述处理单元1102,还用于为所述第一业务流分配所述第一业务流标识;In a possible design, the processing unit 1102 is further configured to assign the first service flow identifier to the first service flow;
所述通信单元1103,还用于向应用功能网元发送第一业务流标识配置信息,所述第一业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。The communication unit 1103 is further configured to send first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service Stream ID.
在一种可能的设计中,所述通信单元1103,还用于接收来自会话管理功能网元的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。In a possible design, the communication unit 1103 is further configured to receive QoS rule configuration information from the session management function network element, where the QoS rule configuration information includes the first QoS rule and the first service flow logo.
在一种可能的设计中,所述第一业务流标识承载在所述上行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier is carried at the network layer or the transport layer or the application layer of the uplink data packet.
在一些实施中,所述通信单元1103,用于接收来自会话管理功能网元的服务质量QoS规则,所述QoS规则用于检测包括第一业务流标识的数据包,并为所述数据包提供QoS策略,其中所述第一业务流标识所标识的第一业务流对应终端设备和应用服务器间的一个或多个端到端连接;In some implementations, the communication unit 1103 is configured to receive a quality of service QoS rule from the session management function network element, where the QoS rule is configured to detect a data packet including the first service flow identifier, and provide the data packet with QoS policy, wherein the first service flow identified by the first service flow identifier corresponds to one or more end-to-end connections between the terminal device and the application server;
所述通信单元1103,还用于对于包括所述第一业务流标识的数据包,根据所述QoS规则检测所述数据包,并基于所述QoS策略向用户面功能网元发送所述数据包,其中所述用户面功能网元位于所述终端设备和应用服务器间的一个或多个端到端连接上。The communication unit 1103 is further configured to, for the data packet including the first service flow identifier, detect the data packet according to the QoS rule, and send the data packet to the user plane function network element based on the QoS policy , wherein the user plane functional network element is located on one or more end-to-end connections between the terminal device and the application server.
当业务流识别装置1100用于实现方法实施例中应用服务器的功能时:When the service flow identification apparatus 1100 is used to implement the function of the application server in the method embodiment:
处理单元1102,用于确定第一业务流对应的端到端连接发生更换或重建;A processing unit 1102, configured to determine that the end-to-end connection corresponding to the first service flow is replaced or rebuilt;
通信单元1103,用于向用户面功能网元发送所述第一业务流的下行数据包,所述下行数据包中包括所述第一业务流的第一业务流标识。The communication unit 1103 is configured to send a downlink data packet of the first service flow to a user plane functional network element, where the downlink data packet includes a first service flow identifier of the first service flow.
在一种可能的设计中,所述通信单元1103,还用于接收来自应用功能网元的第二业务流标识配置信息,所述第二业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。In a possible design, the communication unit 1103 is further configured to receive second service flow identification configuration information from the application function network element, where the second service flow identification configuration information includes the first service flow Flow description information and the first service flow identifier.
在一种可能的设计中,所述第一业务流标识承载在所述下行数据包的网络层或传输层或应用层。In a possible design, the first service flow identifier is carried at the network layer or the transport layer or the application layer of the downlink data packet.
当业务流识别装置1100用于实现方法实施例中会话管理功能网元的功能时:When the service flow identification apparatus 1100 is used to implement the function of the session management function network element in the method embodiment:
通信单元1103,用于接收来自策略控制功能网元的策略与计费控制规则和第一业务流标识,其中所述策略与计费控制规则中包括第一数据包过滤参数;A communication unit 1103, configured to receive a policy and charging control rule and a first service flow identifier from a policy control function network element, wherein the policy and charging control rule includes a first packet filtering parameter;
处理单元1102,用于元根据所述策略与计费控制规则,为所述第一业务流标识对应的第一业务流生成第一数据包检测规则和第一服务质量QoS规则,所述第一数据包检测规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略;The processing unit 1102 is configured to generate a first packet inspection rule and a first quality of service QoS rule for the first service flow corresponding to the first service flow identifier according to the policy and the charging control rule. The data packet inspection rule is used to detect the data packet including the first data packet filtering parameter, and provide an execution policy for the data packet including the first data packet filtering parameter, and the first QoS rule is used to detect the data packet including the first data packet filtering parameter. filtering the data packets of the first data packet parameters, and providing a QoS policy for the data packets including the first data packet filtering parameters;
所述通信单元1103,还用于向用户面功能网元发送数据包检测规则配置信息,所述数据包检测规则配置信息包括所述第一数据包检测规则和所述第一业务流标识;以及向终端设备发送所述的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。The communication unit 1103 is further configured to send data packet inspection rule configuration information to the user plane functional network element, where the data packet inspection rule configuration information includes the first data packet inspection rule and the first service flow identifier; and Send the QoS rule configuration information to the terminal device, where the QoS rule configuration information includes the first QoS rule and the first service flow identifier.
在一种可能的设计中,所述通信单元1103,还用于接收来自所述用户面功能网元的第二数据包过滤参数和所述第一业务流标识;In a possible design, the communication unit 1103 is further configured to receive the second data packet filtering parameter and the first service flow identifier from the user plane functional network element;
所述处理单元1102,还用于根据所述第二数据包过滤参数和所述策略与计费控制规则,为所述第一业务流生成第二数据包检测规则,所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略;The processing unit 1102 is further configured to generate a second packet detection rule for the first service flow according to the second packet filtering parameter and the policy and charging control rule, and the second packet detection The rule is used to detect the data packet including the second data packet filtering parameter, and provide an enforcement policy for the data packet including the second data packet filtering parameter;
所述通信单元1103,还用于向所述用户面功能网元发送所述第二数据包检测规则。The communication unit 1103 is further configured to send the second data packet detection rule to the user plane functional network element.
在一些实施中,处理单元1102,用于根据第一业务流的策略与计费控制规则和第一业务流标识,生成数据包检测规则和服务质量QoS规则,其中所述第一业务流对应终端设备和应用服务器间的一个或多个端到端连接,所述数据包检测规则用于检测包括所述第一业务流标识的数据包,并为所述数据包提供执行策略,所述QoS规则用于检测包括所述第一业务流标识的数据包,并为所述数据包提供QoS策略;In some implementations, the processing unit 1102 is configured to generate a data packet inspection rule and a quality of service QoS rule according to the policy and charging control rule of the first service flow and the first service flow identifier, wherein the first service flow corresponds to the terminal One or more end-to-end connections between a device and an application server, the data packet inspection rules are used to detect data packets including the first service flow identifier, and provide execution policies for the data packets, and the QoS rules for detecting a data packet including the first service flow identifier, and providing a QoS policy for the data packet;
通信单元1103,用于向所述终端设备发送所述QoS规则,以及向用户面功能网元发送所述数据包检测规则,其中所述用户面功能网元位于所述终端设备和应用服务器间的一个或多个端到端连接上。The communication unit 1103 is configured to send the QoS rule to the terminal device, and send the data packet detection rule to a user plane function network element, where the user plane function network element is located between the terminal device and the application server. on one or more end-to-end connections.
当业务流识别装置1100用于实现方法实施例中应用功能网元的功能时:When the service flow identification apparatus 1100 is used to implement the function of the application function network element in the method embodiment:
在一种可能的实施中,通信单元1103,用于接收来自终端设备的第一业务流标识配置信息,所述第一业务流标识配置信息中包括第一业务流的流描述信息和第一业务流标识;以及向应用服务器发送第二业务流标识配置信息,以及向策略控制功能网元发送第三业务流标识配置信息,所述第二业务流标识配置信息和所述第三业务流标识配置信息中均包括所述第一业务流的流描述信息和第一业务流标识。In a possible implementation, the communication unit 1103 is configured to receive first service flow identification configuration information from the terminal device, where the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification; and send the second service flow identification configuration information to the application server, and send the third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow identification configuration information The information includes the flow description information of the first service flow and the first service flow identifier.
在另一种可能的实施中,处理单元1102,用于为第一业务流分配第一业务流标识;In another possible implementation, the processing unit 1102 is configured to assign a first service flow identifier to the first service flow;
通信单元1103,用于向应用服务器发送第二业务流标识配置信息,以及向策略控制功能网元发送第三业务流标识配置信息,所述第二业务流标识配置信息和所述第三业务流标识配置信息中均包括所述第一业务流的流描述信息和第一业务流标识。The communication unit 1103 is configured to send the second service flow identification configuration information to the application server, and send the third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow The identification configuration information includes the flow description information of the first service flow and the first service flow identification.
有关上述处理单元1102和通信单元1103更详细的描述可以直接参考方法实施例中相关描述直接得到,这里不加赘述。More detailed descriptions about the above-mentioned processing unit 1102 and the communication unit 1103 can be obtained directly by referring to the relevant descriptions in the method embodiments, and details are not repeated here.
如图12所示,业务流识别装置1200包括处理器1210和接口电路1220。处理器1210和接口电路1220之间相互耦合。可以理解的是,接口电路1220可以为收发器或输入输出接口。可选的,业务流识别装置1200还可以包括存储器1230,用于存储处理器1210执行的指令或存储处理器1210运行指令所需要的输入数据或存储处理器1210运行指令后产生的数据。As shown in FIG. 12 , the service flow identification apparatus 1200 includes a processor 1210 and an interface circuit 1220 . The processor 1210 and the interface circuit 1220 are coupled to each other. It can be understood that the interface circuit 1220 can be a transceiver or an input-output interface. Optionally, the service flow identification apparatus 1200 may further include a memory 1230 for storing instructions executed by the processor 1210 or input data required by the processor 1210 to run the instructions or data generated after the processor 1210 runs the instructions.
当业务流识别装置1200用于实现上述方法实施例中适用于终端设备、会话管理功能网元、用户面功能网元、应用服务器或应用功能网元的业务流识别方法时,处理器1210用于实现上述处理单元1102的功能,接口电路1220用于实现上述通信单元1103的功能。When the service flow identification apparatus 1200 is used to implement the service flow identification method applicable to the terminal device, the session management function network element, the user plane function network element, the application server or the application function network element in the above method embodiments, the processor 1210 is used for The function of the above-mentioned processing unit 1102 is realized, and the interface circuit 1220 is used to realize the function of the above-mentioned communication unit 1103 .
作为本实施例的另一种形式,提供一种计算机可读存储介质,其上存储有指令,该指令被执行时可以执行上述方法实施例中适用于终端设备、会话管理功能网元、用户面功能网元、应用服务器或应用功能网元的业务流识别方法。As another form of this embodiment, a computer-readable storage medium is provided, on which instructions are stored, and when the instructions are executed, the above-mentioned method embodiments are applicable to terminal devices, session management function network elements, and user planes. A service flow identification method for a functional network element, an application server or an application functional network element.
作为本实施例的另一种形式,提供一种包含指令的计算机程序产品,该指令被执行时可以执行上述方法实施例中适用于终端设备、会话管理功能网元、用户面功能网元、应用服务器或应用功能网元的业务流识别方法。As another form of this embodiment, a computer program product containing an instruction is provided. When the instruction is executed, it can execute the above method in the embodiment, which is applicable to a terminal device, a network element with a session management function, a network element with a user plane function, and an application. Service flow identification method of server or application function network element.
作为本实施例的另一种形式,提供一种芯片,所述芯片运行时,可以执行上述方法实施例中适用于终端设备、会话管理功能网元、用户面功能网元、应用服务器或应用功能网元的业务流识别方法。As another form of this embodiment, a chip is provided. When the chip is running, it can execute the functions in the foregoing method embodiments applicable to terminal equipment, session management function network elements, user plane function network elements, application servers or application functions. Service flow identification method of network element.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiments of the present application have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of this application.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (30)

  1. 一种业务流识别方法,其特征在于,包括:A service flow identification method, comprising:
    用户面功能网元接收数据包,其中所述数据包中包括所述数据包所属的第一业务流的第一业务流标识;The user plane function network element receives a data packet, wherein the data packet includes a first service flow identifier of the first service flow to which the data packet belongs;
    当所述第一业务流标识对应的第一数据包检测规则中的第一数据包过滤参数与所述数据包中的第二数据包过滤参数不同时,所述用户面功能网元根据所述第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则;When the first data packet filtering parameter in the first data packet detection rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the data packet, the user plane function network element according to the a second data packet filtering parameter, updating the first data packet detection rule to a second data packet detection rule;
    其中所述第一数据包检测规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略、所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略,所述第二数据包检测规则与所述第一数据包检测规则提供的执行策略相同。The first data packet inspection rule is used to detect data packets including the first data packet filtering parameters, and provides an execution policy for the data packets including the first data packet filtering parameters, and the second data packet inspection The rule is used to detect the data packet including the second data packet filtering parameter, and provide an execution policy for the data packet including the second data packet filtering parameter, the second data packet detection rule and the first data packet The execution policies provided by detection rules are the same.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    当所述数据包为来自应用服务器的下行数据包时,所述用户面功能网元根据所述第二数据包检测规则提供的所述执行策略,向终端设备发送所述数据包;或者,When the data packet is a downlink data packet from an application server, the user plane function network element sends the data packet to the terminal device according to the execution policy provided by the second data packet detection rule; or,
    当所述数据包为来自终端设备的上行数据包时,所述用户面功能网元根据所述第二数据包检测规则提供的所述执行策略,向应用服务器发送所述数据包。When the data packet is an uplink data packet from a terminal device, the user plane function network element sends the data packet to the application server according to the execution policy provided by the second data packet detection rule.
  3. 如权利要求2所述的方法,其特征在于,所述用户面功能网元在向所述终端设备发送的所述数据包中添加第一指示信息,所述第一指示信息用于指示所述终端设备根据所述数据包中的第二数据包过滤参数,将所述第一业务流的第一服务质量QoS规则更新为第二QoS规则。The method according to claim 2, wherein the user plane function network element adds first indication information to the data packet sent to the terminal device, where the first indication information is used to indicate the The terminal device updates the first quality of service QoS rule of the first service flow to a second QoS rule according to the second data packet filtering parameter in the data packet.
  4. 如权利要求2所述的方法,其特征在于,所述用户面功能网元在向所述应用服务器发送的所述数据包中添加第二指示信息,所述第二指示信息用于指示所述用户面功能网元完成对所述第一业务流的数据包检测规则的更新。The method according to claim 2, wherein the user plane function network element adds second indication information to the data packet sent to the application server, where the second indication information is used to indicate the The user plane function network element completes the update of the data packet detection rule of the first service flow.
  5. 如权利要求1-4中任一项所述的方法,其特征在于,所述用户面功能网元根据所述数第二数据包过滤参数,将所述第一数据包检测规则更新为第二数据包检测规则,包括:The method according to any one of claims 1-4, wherein the user plane function network element updates the first data packet detection rule to the second data packet filtering parameter according to the second data packet filtering parameter Packet inspection rules, including:
    所述用户面功能网元向会话管理功能网元发送所述第二数据包过滤参数和所述第一业务流标识;sending, by the user plane function network element, the second data packet filtering parameter and the first service flow identifier to the session management function network element;
    所述用户面功能网元接收来自所述会话管理功能网元的所述第二数据包检测规则,所述第二数据包检测规则是所述会话管理功能网元根据所述第二数据包过滤参数和所述第一业务流标识确定的;The user plane function network element receives the second packet detection rule from the session management function network element, and the second packet detection rule is that the session management function network element filters the second packet according to the second packet detection rule. The parameter is determined by the identifier of the first service flow;
    所述用户面功能网元将所述第一数据包检测规则更新为所述第二数据包检测规则。The user plane function network element updates the first data packet inspection rule to the second data packet inspection rule.
  6. 如权利要求1-5中任一项所述的方法,其特征在于,所述用户面功能网元接收数据包之前,还包括:The method according to any one of claims 1-5, wherein before the user plane function network element receives the data packet, the method further comprises:
    所述用户面功能网元接收来自会话管理功能网元的数据包检测规则配置信息,所述数据包检测规则配置信息包括所述第一数据包检测规则和所述第一业务流标识。The user plane function network element receives data packet inspection rule configuration information from the session management function network element, where the data packet inspection rule configuration information includes the first data packet inspection rule and the first service flow identifier.
  7. 如权利要求1-6中任一项所述的方法,其特征在于,所述第一业务流标识承载在所述数据包的网络层或传输层或应用层。The method according to any one of claims 1-6, wherein the first service flow identifier is carried at a network layer, a transport layer or an application layer of the data packet.
  8. 一种业务流识别方法,其特征在于,包括:A service flow identification method, comprising:
    终端设备接收来自用户面功能网元的下行数据包,所述下行数据包中包括所述下行数 据包所属的第一业务流的第一业务流标识;The terminal device receives the downlink data packet from the user plane function network element, and the downlink data packet includes the first service flow identifier of the first service flow to which the downlink data packet belongs;
    当所述第一业务流标识对应的第一服务质量QoS规则中的第一数据包过滤参数与所述下行数据包中的第二数据包过滤参数不同时,所述终端设备根据所述第二数据包过滤参数,将所述第一QoS规则更新为第二QoS规则;When the first data packet filtering parameter in the first quality of service QoS rule corresponding to the first service flow identifier is different from the second data packet filtering parameter in the downlink data packet, the terminal device according to the second data packet filtering parameter Packet filtering parameters, updating the first QoS rule to a second QoS rule;
    其中所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。The first QoS rule is used to detect the data packet including the first data packet filtering parameter, and provide a QoS policy for the data packet including the first data packet filtering parameter, and the second QoS rule is used to detect A data packet including the second data packet filtering parameter, and a QoS policy is provided for the data packet including the second data packet filtering parameter, and the QoS policy provided by the second QoS rule is the same as that provided by the first QoS rule. The QoS policies are the same.
  9. 如权利要求8所述的方法,其特征在于,所述下行数据包中还包括第一指示信息,所述第一指示信息用于指示所述终端设备根据所述下行数据包中的第二数据包过滤参数,将所述第一QoS规则更新为所述第二QoS规则。The method according to claim 8, wherein the downlink data packet further includes first indication information, and the first indication information is used to instruct the terminal device according to the second data in the downlink data packet Packet filtering parameters, and update the first QoS rule to the second QoS rule.
  10. 如权利要求8或9所述的方法,其特征在于,所述方法还包括:The method of claim 8 or 9, wherein the method further comprises:
    所述终端设备向应用服务器发送规则更新完成指示信息,所述规则更新完成指示信息中包括所述第一业务流标识,用于指示所述终端设备完成对所述第一业务流的QoS规则更新。The terminal device sends rule update completion indication information to the application server, where the rule update completion indication information includes the first service flow identifier, which is used to instruct the terminal device to complete the QoS rule update for the first service flow .
  11. 如权利要求8-10中任一项所述的方法,其特征在于,所述终端设备接收来自用户面功能网元的下行数据包之前,所述方法还包括:The method according to any one of claims 8-10, wherein before the terminal device receives a downlink data packet from a user plane function network element, the method further comprises:
    所述终端设备为所述第一业务流分配所述第一业务流标识;assigning, by the terminal device, the first service flow identifier to the first service flow;
    所述终端设备向应用功能网元发送第一业务流标识配置信息,所述第一业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。The terminal device sends first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification.
  12. 如权利要求8-11中任一项所述的方法,其特征在于,所述终端设备接收来自用户面功能网元的下行数据包之前,所述方法还包括:The method according to any one of claims 8-11, wherein before the terminal device receives a downlink data packet from a user plane function network element, the method further comprises:
    所述终端设备接收来自会话管理功能网元的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。The terminal device receives QoS rule configuration information from the session management function network element, where the QoS rule configuration information includes the first QoS rule and the first service flow identifier.
  13. 如权利要求8-12中任一项所述的方法,其特征在于,所述第一业务流标识承载在所述下行数据包的网络层或传输层或应用层。The method according to any one of claims 8-12, wherein the first service flow identifier is carried at a network layer, a transport layer or an application layer of the downlink data packet.
  14. 一种业务流识别方法,其特征在于,包括:A service flow identification method, comprising:
    终端设备确定第一业务流对应的端到端连接发生更换或重建;The terminal device determines that the end-to-end connection corresponding to the first service flow is replaced or rebuilt;
    所述终端设备根据更换或重建后的端到端连接对应的第二数据包过滤参数,将所述第一业务流的第一服务质量QoS规则更新为第二QoS规则;The terminal device updates the first quality of service QoS rule of the first service flow to a second QoS rule according to the second data packet filtering parameter corresponding to the replaced or rebuilt end-to-end connection;
    其中所述第一QoS规则中包括所述第一业务流更换或重建前的端到端连接对应的第一数据包过滤参数,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略、所述第二QoS规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供QoS策略,所述第二QoS规则提供的QoS策略与所述第一QoS规则提供的QoS策略相同。The first QoS rule includes the first packet filtering parameter corresponding to the end-to-end connection before the first service flow is replaced or reestablished, and the first QoS rule is used to detect that the first packet filtering parameter includes the first packet filtering parameter. parameter, and provide a QoS policy for the data packet including the first data packet filtering parameter, the second QoS rule is used to detect the data packet including the second data packet filtering parameter, and for the data packet including the The data packet of the second data packet filtering parameter provides a QoS policy, and the QoS policy provided by the second QoS rule is the same as the QoS policy provided by the first QoS rule.
  15. 如权利要求14所述的方法,其特征在于,所述方法还包括:The method of claim 14, wherein the method further comprises:
    对于包括所述第二数据包过滤参数的上行数据包,所述终端设备根据所述QoS策略向用户面功能网元发送所述上行数据包,其中,所述上行数据包中包括所述第一业务流的第一业务流标识。For the uplink data packet including the second data packet filtering parameter, the terminal device sends the uplink data packet to the user plane function network element according to the QoS policy, wherein the uplink data packet includes the first The first service flow identifier of the service flow.
  16. 如权利要求14或15所述的方法,其特征在于,所述方法还包括:The method of claim 14 or 15, wherein the method further comprises:
    所述终端设备为所述第一业务流分配所述第一业务流标识;assigning, by the terminal device, the first service flow identifier to the first service flow;
    所述终端设备向应用功能网元发送第一业务流标识配置信息,所述第一业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。The terminal device sends first service flow identification configuration information to the application function network element, where the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification.
  17. 如权利要求14或15所述的方法,其特征在于,所述方法还包括:The method of claim 14 or 15, wherein the method further comprises:
    所述终端设备接收来自会话管理功能网元的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。The terminal device receives QoS rule configuration information from the session management function network element, where the QoS rule configuration information includes the first QoS rule and the first service flow identifier.
  18. 如权利要求15所述的方法,其特征在于,所述第一业务流标识承载在所述上行数据包的网络层或传输层或应用层。The method of claim 15, wherein the first service flow identifier is carried at a network layer, a transport layer or an application layer of the uplink data packet.
  19. 一种业务流识别方法,其特征在于,包括:A service flow identification method, comprising:
    应用服务器确定第一业务流对应的端到端连接发生更换或重建;The application server determines that the end-to-end connection corresponding to the first service flow is replaced or rebuilt;
    所述应用服务器向用户面功能网元发送所述第一业务流的下行数据包,所述下行数据包中包括所述第一业务流的第一业务流标识。The application server sends a downlink data packet of the first service flow to the user plane functional network element, where the downlink data packet includes a first service flow identifier of the first service flow.
  20. 如权利要求19所述的方法,其特征在于,所述方法还包括:The method of claim 19, wherein the method further comprises:
    所述应用服务器接收来自应用功能网元的第二业务流标识配置信息,所述第二业务流标识配置信息中包括所述第一业务流的流描述信息和所述第一业务流标识。The application server receives second service flow identification configuration information from the application function network element, where the second service flow identification configuration information includes flow description information of the first service flow and the first service flow identification.
  21. 如权利要求19或20所述的方法,其特征在于,所述第一业务流标识承载在所述下行数据包的网络层或传输层或应用层。The method according to claim 19 or 20, wherein the first service flow identifier is carried at a network layer, a transport layer or an application layer of the downlink data packet.
  22. 一种业务流识别方法,其特征在于,包括:A service flow identification method, comprising:
    所述会话管理功能网元接收来自策略控制功能网元的策略与计费控制规则和第一业务流标识,其中所述策略与计费控制规则中包括第一数据包过滤参数;The session management function network element receives the policy and charging control rule and the first service flow identifier from the policy control function network element, wherein the policy and charging control rule includes the first packet filtering parameter;
    所述会话管理功能网元根据所述策略与计费控制规则,为所述第一业务流标识对应的第一业务流生成第一数据包检测规则和第一服务质量QoS规则,所述第一数据包检测规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供执行策略,所述第一QoS规则用于检测包括所述第一数据包过滤参数的数据包,并为包括所述第一数据包过滤参数的数据包提供QoS策略;The session management function network element generates a first packet inspection rule and a first quality of service QoS rule for the first service flow corresponding to the first service flow identifier according to the policy and the charging control rule. The data packet inspection rule is used to detect the data packet including the first data packet filtering parameter, and provide an execution policy for the data packet including the first data packet filtering parameter, and the first QoS rule is used to detect the data packet including the first data packet filtering parameter. filtering the data packets of the first data packet parameters, and providing a QoS policy for the data packets including the first data packet filtering parameters;
    所述会话管理功能网元向用户面功能网元发送数据包检测规则配置信息,所述数据包检测规则配置信息包括所述第一数据包检测规则和所述第一业务流标识;以及向终端设备发送所述的QoS规则配置信息,所述QoS规则配置信息包括所述第一QoS规则和所述第一业务流标识。The session management function network element sends data packet detection rule configuration information to the user plane function network element, where the data packet detection rule configuration information includes the first data packet detection rule and the first service flow identifier; The device sends the QoS rule configuration information, where the QoS rule configuration information includes the first QoS rule and the first service flow identifier.
  23. 如权利要求22所述的方法,其特征在于,所述方法还包括:The method of claim 22, wherein the method further comprises:
    所述会话管理功能网元接收来自所述用户面功能网元的第二数据包过滤参数和所述第一业务流标识;The session management function network element receives the second data packet filtering parameter and the first service flow identifier from the user plane function network element;
    所述会话管理功能网元根据所述第二数据包过滤参数和所述策略与计费控制规则,为所述第一业务流生成第二数据包检测规则,所述第二数据包检测规则用于检测包括所述第二数据包过滤参数的数据包,并为包括所述第二数据包过滤参数的数据包提供执行策略;The session management function network element generates a second data packet inspection rule for the first service flow according to the second data packet filtering parameter and the policy and charging control rule, and the second data packet inspection rule uses for detecting data packets including the second data packet filtering parameter, and providing an enforcement policy for the data packets including the second data packet filtering parameter;
    所述会话管理功能网元向所述用户面功能网元发送所述第二数据包检测规则。The session management function network element sends the second data packet detection rule to the user plane function network element.
  24. 一种业务流识别方法,其特征在于,包括:A service flow identification method, comprising:
    应用功能网元接收来自终端设备的第一业务流标识配置信息,所述第一业务流标识配置信息中包括第一业务流的流描述信息和第一业务流标识;The application function network element receives the first service flow identification configuration information from the terminal device, where the first service flow identification configuration information includes flow description information of the first service flow and the first service flow identification;
    所述应用功能网元向应用服务器发送第二业务流标识配置信息,以及向策略控制功能 网元发送第三业务流标识配置信息,所述第二业务流标识配置信息和所述第三业务流标识配置信息中均包括所述第一业务流的流描述信息和第一业务流标识。The application function network element sends the second service flow identification configuration information to the application server, and sends the third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow The identification configuration information includes the flow description information of the first service flow and the first service flow identification.
  25. 一种业务流识别方法,其特征在于,包括:A service flow identification method, comprising:
    应用功能网元为第一业务流分配第一业务流标识;The application function network element assigns the first service flow identifier to the first service flow;
    所述应用功能网元向应用服务器发送第二业务流标识配置信息,以及向策略控制功能网元发送第三业务流标识配置信息,所述第二业务流标识配置信息和所述第三业务流标识配置信息中均包括所述第一业务流的流描述信息和第一业务流标识。The application function network element sends the second service flow identification configuration information to the application server, and sends the third service flow identification configuration information to the policy control function network element, the second service flow identification configuration information and the third service flow The identification configuration information includes the flow description information of the first service flow and the first service flow identification.
  26. 一种媒体业务流识别装置,其特征在于,包括:处理器和存储器,其中,所述存储器中存储有程序指令,所述处理器运行所述存储器存储的所述程序指令,执行如权利要求1-7中任一项所述的方法、或者如权利要求8-13中任一项所述的方法、或者如权利要求14-18中任一项所述的方法、或者如权利要求19-21中任一项所述的方法、或者如权利要求22或23所述的方法、或者如权利要求24或25所述的方法。An apparatus for identifying a media service stream, comprising: a processor and a memory, wherein the memory stores program instructions, the processor executes the program instructions stored in the memory, and executes the program as claimed in claim 1 - The method of any one of 7, or the method of any one of claims 8-13, or the method of any one of claims 14-18, or the method of any one of claims 19-21 The method of any one of the above, or the method of claim 22 or 23, or the method of claim 24 or 25.
  27. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行如权利要求1-7中任一项所述的方法、或者如权利要求8-13中任一项所述的方法、或者如权利要求14-18中任一项所述的方法、或者如权利要求19-21中任一项所述的方法、或者如权利要求22或23所述的方法、或者如权利要求24或25所述的方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer is made to execute any one of claims 1-7 The method described, or the method of any one of claims 8-13, or the method of any one of claims 14-18, or the method of any one of claims 19-21 method, or the method of claim 22 or 23, or the method of claim 24 or 25.
  28. 一种芯片系统,其特征在于,所述芯片系统包括:A chip system, characterized in that the chip system includes:
    处理器和接口,所述处理器用于从所述接口调用并运行指令,当所述处理器执行所述指令时,实现如权利要求1-7中任一项所述的方法、或者如权利要求8-13中任一项所述的方法、或者如权利要求14-18中任一项所述的方法、或者如权利要求19-21中任一项所述的方法、或者如权利要求22或23所述的方法、或者如权利要求24或25所述的方法。A processor and an interface, the processor for invoking and executing instructions from the interface, when the processor executes the instructions, implements the method of any one of claims 1-7, or as claimed in claim The method of any one of 8-13, or the method of any one of claims 14-18, or the method of any one of claims 19-21, or the method of claim 22 or 23, or a method as claimed in claim 24 or 25.
  29. 一种业务流识别系统,其特征在于,所述系统包括用户面功能网元、终端设备、应用服务器、会话管理功能网元、应用功能网元;A service flow identification system, characterized in that the system includes a user plane function network element, a terminal device, an application server, a session management function network element, and an application function network element;
    其中,所述用户面功能网元用于执行如权利要求1-7中任一项所述的方法;Wherein, the user plane function network element is used to execute the method according to any one of claims 1-7;
    所述终端设备用于执行如权利要求8-18中任一项所述的方法;The terminal device is configured to execute the method according to any one of claims 8-18;
    所述应用服务器用于执行如权利要求19-21中任一项所述的方法;The application server is configured to perform the method according to any one of claims 19-21;
    所述会话管理功能网元用于执行如权利要求22或23所述的方法;The session management function network element is used to perform the method according to claim 22 or 23;
    所述应用功能网元用于执行如权利要求24或25所述的方法。The application function network element is used to perform the method as claimed in claim 24 or 25.
  30. 一种计算机程序产品,其特征在于,包括计算机程序或指令,当计算机程序或指令被执行时,实现如权利要求1-7中任一项所述的方法、或者如权利要求8-13中任一项所述的方法、或者如权利要求14-18中任一项所述的方法、或者如权利要求19-21中任一项所述的方法、或者如权利要求22或23所述的方法、或者如权利要求24或25所述的方法。A computer program product, characterized in that it includes a computer program or instruction, and when the computer program or instruction is executed, implements the method according to any one of claims 1-7, or any one of claims 8-13. A method as claimed in any one of claims 14 to 18 or as a method as claimed in any of claims 19 to 21 or as claimed in claim 22 or 23 , or a method as claimed in claim 24 or 25.
PCT/CN2022/084039 2021-04-30 2022-03-30 Method for identifying service flow, and apparatus WO2022228006A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110480030.7A CN115277583A (en) 2021-04-30 2021-04-30 Service flow identification method and device
CN202110480030.7 2021-04-30

Publications (1)

Publication Number Publication Date
WO2022228006A1 true WO2022228006A1 (en) 2022-11-03

Family

ID=83745552

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084039 WO2022228006A1 (en) 2021-04-30 2022-03-30 Method for identifying service flow, and apparatus

Country Status (2)

Country Link
CN (1) CN115277583A (en)
WO (1) WO2022228006A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103004241A (en) * 2011-06-14 2013-03-27 华为技术有限公司 Policy control method, related apparatus, and policy and charging control system
US20140082169A1 (en) * 2012-09-19 2014-03-20 Oracle International Corporation Execution framework for policy management
CN110138813A (en) * 2018-02-02 2019-08-16 华为技术有限公司 A kind of method, communication device and user plane functions entity transmitting data
CN110798408A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Message transmission method and device
CN112312418A (en) * 2019-07-26 2021-02-02 华为技术有限公司 Method and device for acquiring user plane data and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103004241A (en) * 2011-06-14 2013-03-27 华为技术有限公司 Policy control method, related apparatus, and policy and charging control system
US20140082169A1 (en) * 2012-09-19 2014-03-20 Oracle International Corporation Execution framework for policy management
CN110138813A (en) * 2018-02-02 2019-08-16 华为技术有限公司 A kind of method, communication device and user plane functions entity transmitting data
CN110798408A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Message transmission method and device
CN112312418A (en) * 2019-07-26 2021-02-02 华为技术有限公司 Method and device for acquiring user plane data and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CATT: "Clarification for QoS handling at UPF", 3GPP DRAFT; S2-186700_23.501 CLARIFICATION FOR QOS HANDLING AT UPF, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Vilnius, Lithuania; 20180702 - 20180706, 1 July 2018 (2018-07-01), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051469845 *
HUAWEI, HISILICON: "Reflective QoS", 3GPP DRAFT; S2-1912053, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Reno, NV, USA; 20191118 - 20191122, 22 November 2019 (2019-11-22), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , pages 1 - 5, XP051828236 *

Also Published As

Publication number Publication date
CN115277583A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN111602452B (en) Method and system for multicast-broadcast session release and modification
CN111406415B (en) Method and system for multicast and broadcast services
US11917498B2 (en) Communication method and communications apparatus
US11071167B2 (en) Method, apparatus, system, and device for managing a session corresponding to multiple session management function network elements
US9882733B2 (en) Migrating eMBMS into a cloud computing system
US9497128B2 (en) Service rate control method, system and device
WO2020001562A1 (en) Communication method and apparatus
WO2017133477A1 (en) Service stream transmission method, device and system
CN115361656A (en) Communication method, device and equipment
WO2022022471A1 (en) Media stream switching method and apparatus
WO2022012361A1 (en) Communication method and apparatus
WO2022033543A1 (en) Relay communication method, and communication apparatus
WO2020152954A1 (en) Network arrangement control device, communication system, and control method thereof
WO2022228006A1 (en) Method for identifying service flow, and apparatus
WO2022017403A1 (en) Communication method and apparatus
WO2021047443A1 (en) Method and apparatus for forwarding service data packet
US20230038925A1 (en) Qos flow configuration for user equipment to user equipment communications
US11502778B2 (en) Method and apparatus for efficient delivery of source and forward error correction streams in systems supporting mixed unicast multicast transmission
WO2021212999A1 (en) Media packet transmission method, apparatus, and system
WO2023185608A1 (en) Data transmission method and communication apparatus
WO2023045839A1 (en) Communication method and apparatus, core network device and communication device
US20240031298A1 (en) Communication method and device
WO2024060991A1 (en) Data stream guide method and apparatus for multiple paths
CN116156668A (en) Data transmission method and device
CN116866986A (en) Communication method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794479

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794479

Country of ref document: EP

Kind code of ref document: A1