Multicast communication method, device and system

The multicast communication method enables multicast packets to match multiple PDRs, enhancing transfer efficiency and reducing signaling overhead by allowing flexible forwarding to multiple terminal devices without complex updates.

JP7580411B2Active Publication Date: 2024-11-11HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021575028
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-06-17
Filing Date
2020-06-17
Publication Date
2024-11-11
Estimated Expiration
2040-06-17

AI Technical Summary

Technical Problem

The current packet processing mechanism in multicast communication is inefficient as it requires explicit indication of tunnel information or labels for replication and needs updates when terminal device members change, leading to complex and inefficient data forwarding.

Method used

A multicast communication method that allows a multicast packet to match multiple packet detection rules (PDRs) on a user plane functional network element, enabling it to be forwarded to multiple terminal devices without requiring excessive work or signaling overhead when terminal device members change.

Benefits of technology

This approach increases multicast packet transfer efficiency by reducing signaling interactions and improving forwarding efficiency in multicast communication systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007580411000001
    Figure 0007580411000001
  • Figure 0007580411000002
    Figure 0007580411000002
  • Figure 0007580411000003
    Figure 0007580411000003
Patent Text Reader

Abstract

The present application provides a multicast communication method, an apparatus, and a system for improving the forwarding efficiency of multicast packets. The method includes the steps of: receiving a multicast packet by a user plane function network element, the multicast packet including a multicast address; matching the multicast packet with a packet detection rule (PDR) on the user plane function network element by the user plane function network element; and, if the multicast packet successfully matches with a first PDR and the first PDR indicates to continue matching with another PDR, continuing to match the multicast packet with another PDR by the user plane function network element. Optionally, the another PDR has a priority not higher than that of the first PDR.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to Chinese Patent Application No. 201910523377.8, entitled "Multicast Communication Method, Apparatus and System," filed with the State Intellectual Property Office of the People's Republic of China on June 17, 2019, which is hereby incorporated by reference in its entirety.

[0002] The present application relates to the field of communications technology, and in particular to a multicast communication method, and an apparatus and system. [Background technology]

[0003] Currently, 3GPP (3rd generation partnership project) technical standard (TS) 29.244 specifies a method for forwarding packets in the user plane, and FIG. 1 shows an architecture for forwarding packets in the user plane. The working mechanism for forwarding packets in the user plane is as follows: After receiving a packet from an ingress (e.g., N3 interface), a user plane function (UPF) network element determines the session to which the packet belongs based on the packet's 5th generation (5G) user plane protocol identifier (e.g., tunnel endpoint identifier (TEID)) of the packet. Then, the UPF network element matches a packet detection rule (PDR) (there may be one or more packet detection rules) in the N4 session context of the session with the characteristic information of the packet to find a PDR that matches the packet. The PDR specifies a forwarding action rule (FAR), a quality of services (QoS) enforcement rule (QER), and a usage reporting rule (URR) corresponding to the packet. Furthermore, the UPF network element can perform operations such as drop, forward, buffer, notify to the control plane, or duplicate on the packet according to the FAR. The UPF network element can perform QoS operations on the packet according to the QER. The UPF network element can perform usage reporting on the packet according to the URR. Finally, the packet is transmitted through the egress (e.g., the N6 interface).Important actions in the process of a UPF network element forwarding a packet according to a FAR include specifying an egress identifier and an egress action, which may include, for example, outer header creation, transport level marking, forwarding policy, or adding header enrichment.

[0004] However, when the above solution is operated in multicast communication, in the current packet processing mechanism of the UPF network element, the multicast packet can only match one PDR in one session, and then the data packet is duplicated according to the FAR. In this process, the tunnel information or the label of the duplicated data packet needs to be explicitly indicated in the FAR. In addition, when the terminal device member changes, the indication information in the FAR also needs to be updated accordingly. This method is complicated and inefficient. Therefore, how to improve the forwarding efficiency of multicast packets is an urgent problem that needs to be solved at present. Summary of the Invention

[0005] The embodiments of the present application provide a multicast communication method, and an apparatus and system for improving the transmission efficiency of multicast packets. [Means for solving the problem]

[0006] To achieve the aforementioned objectives, the following technical solutions are used in the embodiments of the present application.

[0007] According to a first aspect, a multicast communication method is provided. The method includes a step in which a user plane function network element receives a multicast packet. The multicast packet includes a multicast address. The user plane function network element checks the multicast packet against a packet detection rule PDR on the user plane function network element. If the multicast packet matches successfully with a first PDR and the first PDR indicates to continue matching with another PDR, the user plane function network element continues to match the multicast packet with another PDR. Optionally, the another PDR is a PDR whose priority is not higher than the priority of the first PDR. In this embodiment of the present application, after the multicast packet matches successfully with the first PDR indicating to continue matching with another PDR, the user plane function network element continues to match the multicast packet with another PDR whose priority is not higher than the priority of the first PDR on the user plane function network element. In other words, according to the solution provided in the present application, a multicast packet received by a user plane function network element may match multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to rules (e.g., FARs) associated with multiple matched PDRs. In this solution, the session management function network element does not need to perform excessive work when the terminal device member changes. Therefore, compared with the solution that requires correspondingly updating the indication information in the FAR when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedures involved in the FAR update between the session management function network element and the user plane function network element, and reduce the signaling overhead.

[0008] In one possible design, the method further includes a step of a user plane function network element duplicating the multicast packet when the packet duplication information corresponding to the first PDR matches the source information of the multicast packet, and a step of processing the duplicated multicast packet according to a rule associated with the first PDR. Alternatively, if the packet duplication information corresponding to the first PDR does not match the source information of the multicast packet, the user plane function network element skips the process of processing the multicast packet according to the rule associated with the first PDR. In other words, in this embodiment of the present application, after the user plane function network element receives the multicast packet, the multicast packet may match multiple PDRs. If the packet duplication information corresponding to the matched PDR matches the source information of the multicast packet, the multicast packet may be forwarded to multiple terminal devices according to the rules (e.g., FARs) associated with the multiple PDRs. If the packet duplication information corresponding to the matched PDR does not match the source information of the multicast packet, the user plane function network element skips the process of processing the multicast packet according to the rule associated with the PDR to avoid a broadcast storm.

[0009] In one possible design, the packet duplication information corresponding to the first PDR matching the source information of the multicast packet includes the packet duplication information corresponding to the first PDR being different from the source information of the multicast packet, and the packet duplication information corresponding to the first PDR not matching the source information of the multicast packet includes the packet duplication information corresponding to the first PDR being the same as the source information of the multicast packet.

[0010] In one possible design, the method further includes a step of a user plane function network element duplicating the multicast packet when the packet duplication skip information corresponding to the first PDR does not match the source information of the multicast packet, and a step of processing the duplicated multicast packet according to a rule associated with the first PDR. Alternatively, if the packet duplication skip information corresponding to the first PDR matches the source information of the multicast packet, the user plane function network element skips the process of processing the multicast packet according to the rule associated with the first PDR. In other words, in this embodiment of the present application, after the user plane function network element receives the multicast packet, the multicast packet may match multiple PDRs. If the packet duplication skip information corresponding to the matched PDR does not match the source information of the multicast packet, the multicast packet may be forwarded to multiple terminal devices according to the rules (e.g., FARs) associated with the multiple PDRs. If the packet duplication skip information corresponding to the matched PDR matches the source information of the multicast packet, the user plane function network element skips the process of processing the multicast packet to avoid a broadcast storm.

[0011] In one possible design, the packet duplication skip information corresponding to the first PDR matching the source information of the multicast packet includes the packet duplication skip information corresponding to the first PDR being the same as the source information of the multicast packet, and the packet duplication skip information corresponding to the first PDR not matching the source information of the multicast packet includes the packet duplication skip information corresponding to the first PDR being different from the source information of the multicast packet.

[0012] In one possible design, the multicast packet includes source information of the multicast packet, which includes address information of an end device sending the multicast packet.

[0013] In one possible design, the method further includes the user plane function network element receiving source information of the multicast packet, the source information of the multicast packet including N19 indication information or N6 indication information, for example, the N19 indication information may be, for example, a GTP-U TEID of an N19 tunnel connecting the current UPF network element to another UPF network element, and the N6 indication information may be, for example, information about an N6 interface.

[0014] In one possible design, the N6 indication information or the N19 indication information is included in the General Packet Radio Service (GPRS) Tunneling Protocol-User Plane GTP-U tunnel header information.

[0015] In one possible design, the user plane function network element matching the multicast packet with a PDR on the user plane function network element includes: the user plane function network element determining an N4 session that matches the multicast packet and is on the user plane function network element; and the user plane function network element matching the multicast packet with each PDR of the N4 session in descending order of the priority of the PDR. In other words, in this embodiment of the present application, when matching the multicast packet with a PDR on the user plane function network element, the user plane function network element first matches the multicast packet with the N4 session to which the PDR belongs. Furthermore, the user plane function network element matches the multicast packet with each PDR of the N4 session in descending order of the priority of the PDR.

[0016] In one possible design, the user plane function network element matching the multicast packet with the PDR on the user plane function network element includes the user plane function network element matching the multicast packet with each PDR on the user plane function network element in descending order of the priority of the PDR. In other words, in this embodiment of the present application, when matching the multicast packet with the PDR on the UPF network element, the user plane function network element directly matches the multicast packet with each PDR on the user plane function network element in descending order of the priority of the PDR.

[0017] In one possible design, the first PDR includes a type indication, a continue matching indication, packet duplication information, or packet duplication skip information, which is used to indicate continuing matching with another PDR.

[0018] In one possible design, the method further includes a step of the user plane function network element receiving an N4 session identifier and a first PDR from the session management function network element. The first PDR is used to detect multicast packets. The user plane function network element configures the first PDR in the N4 session corresponding to the N4 session identifier. In other words, in this embodiment of the present application, the session management function network element can configure a PDR for the user plane function network element, which is used to detect multicast packets.

[0019] In one possible design, the multicast packet is a broadcast packet, and correspondingly, the multicast address is a broadcast address.

[0020] In one possible design, the multicast packets include group-cast packets, and correspondingly, the multicast addresses are group-cast addresses.

[0021] According to a second aspect, a multicast communication method is provided. The method includes a step in which a session management function network element obtains a first packet detection rule PDR. The first PDR is used to detect a multicast packet, and the first PDR indicates to continue matching with another PDR. The session management function network element transmits an N4 session identifier and the first PDR to a user plane function network element. The N4 session identifier and the first PDR correspond to the N4 session identifier and are used to configure a first PDR in an N4 session on the user plane function network element. In this embodiment of the present application, a routing rule configured by the session management function network element for an N4 session on the user plane function network element includes the first PDR used to detect a multicast packet, and the first PDR indicates to continue matching with another PDR. In this way, after the multicast packet is successfully matched with the first PDR, the user plane function network element can continue matching the multicast packet with another PDR whose priority is not higher than the priority of the first PDR on the user plane function network element. In other words, according to the solution provided in the present application, a multicast packet received by a user plane function network element may match multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to rules (e.g., FARs) associated with multiple PDRs. In this solution, the session management function network element does not need to perform excessive work when the terminal device member changes. Therefore, compared with the solution that requires correspondingly updating the indication information in the FAR when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedures involved in updating the FAR between the session management function network element and the user plane function network element, and reduce the signaling overhead.

[0022] In one possible design, the first PDR includes a type indication, a continue matching indication, packet duplication information, or packet duplication skip information, which is used to indicate continuing matching with another PDR.

[0023] In one possible design, the multicast packet is a broadcast packet, and accordingly, the first PDR includes a broadcast address. The method further includes a step of the session management function network element determining a first N4 session corresponding to a group and located on the user plane function network element. The broadcast packet belongs to the group, and the first N4 session is any one of all N4 sessions corresponding to the group and located on the user plane function network element. Correspondingly, the N4 session identifier is an identifier of the first N4 session. In other words, in this embodiment of the present application, when the multicast packet is a broadcast packet, the session management function network element needs to configure a broadcast type PDR for all N4 sessions corresponding to the group and located on the user plane function network element.

[0024] In one possible design, the multicast packet is a groupcast packet, and accordingly, the first PDR includes a groupcast address. The method further includes a step of the session management function network element determining a second N4 session corresponding to a group and located on the user plane function network element. The groupcast packet belongs to the group, and the second N4 session is any one of the N4 sessions on the user plane function network element that corresponds to the group and supports forwarding of the groupcast packet. Correspondingly, the N4 session identifier is an identifier of the second N4 session. In other words, in this embodiment of the present application, when the multicast packet includes a groupcast packet, the session management function network element needs to configure a groupcast type PDR for all N4 sessions that correspond to the group and support groupcast communication.

[0025] In one possible design, the session management function network element determining a second N4 session corresponding to the group and located on the user plane function network element includes the session management function network element determining a second N4 session corresponding to the group and located on the user plane function network element based on an Internet Group Management Protocol IGMP join message, a non-access stratum NAS message, or an application function AF message.

[0026] According to a third aspect, a communication device is provided, configured to perform the aforementioned method. The communication device may be a user plane function network element of the first aspect, or a device including a user plane function network element. Alternatively, the communication device may be a session management function network element of the second aspect, or a device including a session management function network element. The communication device includes corresponding modules, units, or means for performing the aforementioned method. The modules, units, or means may be implemented by using hardware or software, or may be implemented by using hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the aforementioned functions.

[0027] According to a fourth aspect, a communication device is provided, the communication device including a processor and a memory. The memory is configured to store computer instructions that, when executed by the processor, enable the communication device to perform a method according to any one of the previous aspects. The communication device may be a user plane function network element of the first aspect, or a device including a user plane function network element. Alternatively, the communication device may be a session management function network element of the second aspect, or a device including a session management function network element.

[0028] According to a fifth aspect, a communication device is provided, the communication device including a processor. The processor is coupled to a memory and configured to read instructions in the memory and then perform a method according to any one of the previous aspects according to the instructions. The communication device may be a user plane function network element of the first aspect, or a device including a user plane function network element. Alternatively, the communication device may be a session management function network element of the second aspect, or a device including a session management function network element.

[0029] According to a sixth aspect, there is provided a computer readable storage medium storing instructions which, when executed on a computer, enable the computer to perform a method according to any one of the previous aspects.

[0030] According to a seventh aspect, there is provided a computer program product comprising instructions which, when executed on a computer, enable the computer to perform a method according to any one of the previous aspects.

[0031] According to an eighth aspect, there is provided a communication device (e.g., the communication device may be a chip or a chip system). The communication device includes a processor configured to perform the functions of any one of the previous aspects. In one possible design, the communication device further includes a memory. The memory is configured to store necessary program instructions and necessary data. When the communication device is a chip system, the chip system may include the chip, or may include the chip and another separate device.

[0032] For the technical effects provided by any one of the designs of the third to eighth aspects, please refer to the technical effects provided by the various designs of the first or second aspects, and the details will not be described again here.

[0033] According to a ninth aspect, a communication method is provided. The method includes a step of a session management function network element obtaining a first packet detection rule PDR. The first PDR is used to detect a multicast packet, and the first PDR indicates to continue matching with another PDR. The session management function network element transmits an N4 session identifier and the first PDR to a user plane function network element. The user plane function network element receives the N4 session identifier and the first PDR from the session management function network element, and configures the first PDR in an N4 session corresponding to the N4 session identifier. The user plane function network element receives a multicast packet and matches the multicast packet with a PDR on the user plane function network element. The multicast packet includes a multicast address. If the multicast packet is successfully matched with the first PDR, the user plane function network element continues to match the multicast packet with another PDR.

[0034] In one possible design, the method further includes a step of the user plane function network element duplicating the multicast packet if the packet duplication information corresponding to the first PDR matches the source information of the multicast packet, and processing the duplicated multicast packet according to a rule associated with the first PDR, or, if the packet duplication information corresponding to the first PDR does not match the source information of the multicast packet, the user plane function network element skips the process of processing the multicast packet according to the rule associated with the first PDR.

[0035] In one possible design, the method further includes a step of the user plane function network element duplicating the multicast packet when the packet duplication skip information corresponding to the first PDR does not match the source information of the multicast packet, and processing the duplicated multicast packet according to a rule associated with the first PDR, or, when the packet duplication skip information corresponding to the first PDR matches the source information of the multicast packet, the user plane function network element skips the process of processing the multicast packet according to the rule associated with the first PDR.

[0036] In one possible design, the user plane function network element matching the multicast packet with a PDR on the user plane function network element includes the user plane function network element determining an N4 session that matches the multicast packet and is on the user plane function network element, and the user plane function network element matching the multicast packet with each PDR of the N4 session in descending order of priority of the PDRs.

[0037] In one possible design, the user plane function network element matching the multicast packet with a PDR on the user plane function network element includes the user plane function network element matching the multicast packet with each PDR on the user plane function network element in descending order of priority of the PDRs.

[0038] In one possible design, the multicast packet is a broadcast packet, and accordingly, the first PDR includes a broadcast address. The method further includes a step of the session management function network element determining a first N4 session corresponding to a group and located on the user plane function network element. The broadcast packet belongs to the group, and the first N4 session is any one of all N4 sessions corresponding to the group and located on the user plane function network element. Accordingly, the N4 session identifier is an identifier of the first N4 session.

[0039] In one possible design, the multicast packet is a groupcast packet, and accordingly, the first PDR includes a groupcast address. The method further includes a step of the session management function network element determining a second N4 session corresponding to a group and located on the user plane function network element. The groupcast packet belongs to the group, and the second N4 session is any one of the N4 sessions on the user plane function network element that corresponds to the group and supports forwarding of the groupcast packet. Accordingly, the N4 session identifier is an identifier of the second N4 session.

[0040] In one possible design, the first PDR includes a type indication, a continue matching indication, packet duplication information, or packet duplication skip information, which is used to indicate continuing matching with another PDR.

[0041] For the technical effects of the ninth aspect, please refer to the technical effects provided by any one of the possible designs of the first or second aspects, and the details will not be described again here.

[0042] According to a tenth aspect, a communication system is provided. The communication system includes a session management function network element and a user plane function network element. The session management function network element is configured to obtain a first packet detection rule PDR. The first PDR is used to detect a multicast packet, and the first PDR indicates to continue matching with another PDR. The session management function network element is further configured to transmit an N4 session identifier and the first PDR to the user plane function network element. The user plane function network element is configured to receive the N4 session identifier and the first PDR from the session management function network element and configure the first PDR in an N4 session corresponding to the N4 session identifier. The user plane function network element is further configured to receive a multicast packet and match the multicast packet with a PDR on the user plane function network element. The multicast packet includes a multicast address. The user plane function network element is further configured to continue matching the multicast packet with another PDR if the multicast packet successfully matches with the first PDR.

[0043] In one possible design, the user plane function network element is further configured to duplicate the multicast packet and process the duplicated multicast packet according to a rule associated with the first PDR when the packet duplication information corresponding to the first PDR matches the source information of the multicast packet, or to skip the process of processing the multicast packet according to the rule associated with the first PDR when the packet duplication information corresponding to the first PDR does not match the source information of the multicast packet.

[0044] In one possible design, the user plane function network element is further configured to duplicate the multicast packet and process the duplicated multicast packet according to a rule associated with the first PDR when the packet duplication skip information corresponding to the first PDR does not match the source information of the multicast packet, or to skip the process of processing the multicast packet according to the rule associated with the first PDR when the packet duplication skip information corresponding to the first PDR matches the source information of the multicast packet.

[0045] In one possible design, configuring the user plane function network element to match the multicast packet with a PDR on the user plane function network element includes configuring the user plane function network element to determine an N4 session that matches the multicast packet and is on the user plane function network element, and to match the multicast packet with each PDR of the N4 session in descending order of priority of the PDRs.

[0046] In one possible design, configuring the user plane function network element to match the multicast packet with a PDR on the user plane function network element includes configuring the user plane function network element to match the multicast packet with each PDR on the user plane function network element in descending order of priority of the PDRs.

[0047] In one possible design, the multicast packet is a broadcast packet, and accordingly, the first PDR includes a broadcast address. The session management function network element is further configured to determine a first N4 session corresponding to a group and located on the user plane function network element. The broadcast packet belongs to the group, and the first N4 session is any one of all N4 sessions corresponding to the group and located on the user plane function network element. Accordingly, the N4 session identifier is an identifier of the first N4 session.

[0048] In one possible design, the multicast packet is a groupcast packet, and accordingly, the first PDR includes a groupcast address. The session management function network element is further configured to determine a second N4 session corresponding to a group and located on the user plane function network element. The groupcast packet belongs to the group, and the second N4 session is any one of the N4 sessions on the user plane function network element that corresponds to the group and supports forwarding of the groupcast packet. Accordingly, the N4 session identifier is an identifier of the second N4 session.

[0049] In one possible design, the first PDR includes a type indication, a continue matching indication, packet duplication information, or packet duplication skip information, which is used to indicate continuing matching with another PDR.

[0050] For the technical effects of the tenth aspect, please refer to the technical effects provided by any one of the possible designs of the first or second aspects, and the details will not be described again here. [Brief description of the drawings]

[0051] [Figure 1]1 is a schematic flowchart of packet forwarding on a user plane as specified in the existing 3GPP TS29.244. [Figure 2a] FIG. 1 is a schematic diagram of the user plane architecture of an existing 5G VN service. [Figure 2b] FIG. 1 is a schematic diagram of communication in an existing broadcast scenario. [Figure 2c] FIG. 1 is a schematic diagram of communication in an existing groupcast scenario. [Figure 3a] FIG. 1 is a schematic diagram of a user level N4 session according to an embodiment of the present application. [Figure 3b] FIG. 1 is a schematic diagram of a group level N4 session according to an embodiment of the present application. [Figure 4] FIG. 1 is a schematic configuration diagram of an N4 session according to an embodiment of the present application. [Diagram 5] 1 is a schematic flowchart 1 of configuring routing rules according to an embodiment of the present application; [Figure 6] 2 is a schematic flowchart 2 of configuring routing rules according to an embodiment of the present application; [Figure 7] FIG. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application. [Figure 8] FIG. 1 is a schematic diagram of a communication system application in a 5G network according to an embodiment of the present application. [Figure 9] FIG. 1 is a schematic configuration diagram of a communication device according to an embodiment of the present application. [Figure 10] 1 is a schematic flowchart 1 of a multicast communication method according to an embodiment of the present application; [Figure 11] 2 is a schematic flowchart 2 of a multicast communication method according to an embodiment of the present application. [Figure 12] 3 is a schematic flowchart 3 of a multicast communication method according to an embodiment of the present application. [Figure 13] 4 is a schematic flowchart 4 of a multicast communication method according to an embodiment of the present application. [Figure 14]5 is a schematic flowchart 5 of a multicast communication method according to an embodiment of the present application. [Figure 15] FIG. 1 is a schematic diagram of an example of a multicast communication method according to an embodiment of the present application. [Figure 16] FIG. 2 is a schematic diagram of an example of a multicast communication method according to an embodiment of the present application. [Figure 17] FIG. 2 is a schematic structural diagram of a user plane function network element according to an embodiment of the present application; [Figure 18] FIG. 2 is a schematic structural diagram of a session management function network element according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0052] In order to easily understand the technical solutions of the embodiments of the present application, the following first briefly describes the technologies related to the present application.

[0053] 1.5G virtual network (5G VN): 5G VN services are services provided by current 5G networks, and are mainly used in home communication, enterprise offices, factory manufacturing, Internet of Vehicles, power grid reconstruction, public security organizations, etc. 5G VN services can provide internet protocol (IP) type or non-IP type (e.g., Ethernet type) private communication for two or more terminal devices in a group. For example, devices in a factory can form a group, and the devices in the group can send Ethernet data packets to each other. Or, the business devices (such as mobile phones, computers, or laptop computers) of employees in a department in an enterprise can form a group, and these business devices send IP packets to each other. If two terminal devices are not in the same group, these two terminal devices cannot communicate with each other.

[0054] 2a is a schematic diagram of a user plane architecture of an existing 5G VN service. A terminal device establishes a session on a UPF network element providing a 5G VN service to access a UPF network element providing a 5G VN service. The UPF network element providing a 5G VN service can interact with an existing local area network (LAN) in a data network (DN) through an N6 interface, for example, to communicate with a personal computer (PC) in the LAN. Alternatively, the UPF network element providing a 5G VN service can associate a session of a separate terminal device through an internal interface of the UPF network element or through a connection between UPF network elements to implement private communication. This is not specifically limited in the embodiment of the present application.

[0055] From the perspective of expression, the 5G VN may also be referred to as a 5G VN group, a 5G local area network (5GLAN), a 5G LAN group, a local area network (LAN), a 5G LAN-VN LAN group, a LAN type service, a LAN-VN, a 5G LAN-type service, etc. The name of the 5G VN is not specifically limited in the embodiments of this application.

[0056] 2. Broadcast: Broadcast is a one-to-many communication mode. On the network, one local area network (e.g., 5G VN) corresponds to one broadcast domain. Terminal devices subscribed to a LAN can form a broadcast group (sometimes called a LAN group). Terminal devices subscribed to a LAN can be called terminal members of a broadcast group. In other words, terminal devices join a broadcast group during the subscription process (terminal devices can join one or more broadcast groups). For related implementations, please refer to existing solutions. Details are not described here.

[0057] Any terminal device that accesses the network in the broadcast group can function as a broadcast source that transmits a broadcast packet, and can also function as a broadcast member that receives a broadcast packet. For example, assume that the terminal members that access the network in the broadcast group include terminal device 1, terminal device 2, terminal device 3, terminal device 4, terminal device 5, and terminal device 6. For example, terminal device 1 functions as a broadcast source. A schematic diagram of the corresponding communication can be shown in Figure 2b. Specifically, the broadcast packet sent by terminal device 1 may be sent to terminal device 2, terminal device 3, terminal device 4, terminal device 5, and terminal device 6 in the broadcast group.

[0058] It should be noted that in the embodiment of the present application, the terminal members in the broadcast group access the network means to establish a user plane connection. In the standard network access method, the terminal device initiates a packet data unit (PDU) session establishment request. For details, please refer to existing implementations. Details will not be described here.

[0059] The broadcast address in the embodiment of the present application may be a destination IP address of all ones, for example, 255.255.255.255. Alternatively, the broadcast address in the embodiment of the present application may be a destination media access control (MAC) address of all ones, for example, 0xff:0xff:0xff:0xff:0xff:0xff. Alternatively, the broadcast address in the embodiment of the present application may be a broadcast address of a subnet. For details, please refer to the existing definition of the broadcast address. Details will not be described here.

[0060] 3. Group Cast: In an embodiment of the present application, one groupcast source and multiple groupcast members can constitute one groupcast group (may be called groupcast group for short). A source that sends an IP packet with the address of the groupcast group as the destination address is called a groupcast source, and a groupcast user that receives groupcast data is called a groupcast member. In other words, a groupcast has a direction, and the direction is from the groupcast source to the groupcast member. The roles of the groupcast source and the groupcast group member are not interchangeable. Otherwise, the groupcast source and the groupcast group member belong to different groupcast groups. For example, assume that the terminal members in a LAN group include terminal device 1, terminal device 2, terminal device 3, terminal device 4, terminal device 5, and terminal device 6. For example, terminal device 1 functions as a groupcast source, and terminal device 3, terminal device 5, and terminal device 6 function as groupcast members, constituting a groupcast group. A schematic diagram of the corresponding communication can be shown in FIG. 2c. Specifically, a groupcast packet transmitted by terminal device 1 may be transmitted to terminal device 3, terminal device 5, and terminal device 6 in the groupcast group.

[0061] In the embodiment of the present application, the groupcast source is determined by the application layer of the open system interconnection (OSI) model. When a terminal device needs to receive a groupcast packet, it can explicitly send an internet group management protocol (IGMP) join message to the network. Only after recording that the terminal device has joined the groupcast group, the network forwards the groupcast packet sent by the groupcast source to the terminal device. In other words, the groupcast member dynamically joins the groupcast group. For details, please refer to existing implementations, and the details will not be described again here.

[0062] The groupcast address in the embodiment of the present application may be a groupcast IP version 4 (IPv4) address assigned by the internet assigned numbers authority (IANA), ranging from 224.0.0.0 to 239.255.255.255. Alternatively, the groupcast address in the embodiment of the present application may be a groupcast MAC address in which the last bit of the most significant 48 bits of the 48 bits is always 1. Alternatively, the groupcast address in the embodiment of the present application may be a reserved groupcast address, for example, a groupcast MAC address in which the most significant 24 bits are 0x01005e or 224.0.0.1. Alternatively, the groupcast address in the embodiment of the present application may be another address. For details, please refer to the existing definition of the groupcast address. Details will not be described here.

[0063] 3.Multicast: The multicast in the embodiment of the present application includes the aforementioned broadcast or group cast. When the multicast includes the aforementioned broadcast, the corresponding multicast address may be called a broadcast address, and the corresponding multicast packet may be called a broadcast packet. Alternatively, when the multicast includes the aforementioned group cast, the corresponding multicast address may be called a group cast address, and the corresponding multicast packet may be called a group cast packet. A general description is provided here, and the details will not be described again below.

[0064] 4.N4 Session: The N4 session in the embodiment of the present application includes a user-level N4 session and a group-level N4 session. In the current 5G network, the N4 session is created by a session management function (SMF) network element on the UPF network element.

[0065] For example, a user level N4 session on a UPF network element may be specifically an N4 session created by an SMF network element on a UPF network element when a terminal device establishes a PDU session and corresponding to the PDU session. The function of the N4 session is as follows: the UPF network element receives a packet (e.g., a broadcast packet or a groupcast packet) sent by the terminal device through the user level N4 session, and the UPF network element sends a packet (e.g., a broadcast packet or a groupcast packet) to the terminal device through the user level N4 session.

[0066] In one example, when a terminal device establishes a PDU session, the SMF network element can instruct the UPF network element to create an N4 session (i.e., a user-level N4 session) corresponding to the PDU session. When receiving a request to delete a PDU session of the terminal device, the SMF network element triggers the UPF network element to delete the N4 session corresponding to the PDU session. In an embodiment of the present application, one UPF network element may include one or more N4 sessions corresponding to one or more PDU sessions. For example, when multiple terminal devices are connected to the same UPF network element, the UPF network element needs to create an N4 session corresponding to the PDU session of each terminal device.

[0067] For example, in FIG. 3a, terminal device 1 and terminal device 6 are connected to UPF network element 1. In this case, when creating a PDU session for terminal device 1, the SMF network element can instruct UPF network element 1 to create an N4 session 1 corresponding to the PDU session of terminal device 1. When creating a PDU session for terminal device 6, the SMF network element can instruct UPF network element 1 to create an N4 session 6 corresponding to the PDU session of terminal device 6.

[0068] For ease of description, in an embodiment of the present application, the N4 session corresponding to the PDU session of the terminal device 1 may be referred to as the N4 session of the terminal device 1, and the N4 session corresponding to the PDU session of the terminal device 6 may be referred to as the N4 session of the terminal device 6. A general description is provided here and details will not be described again below.

[0069] Alternatively, to support communication between separate UPF network elements in a 5G VN service and communication between a UPF network element and a DN, the SMF network element must further create a group-level N4 session for a corresponding 5G VN group on each UPF network element that provides a 5G VN service.

[0070] In one example, when creating the first PDU session pinned to a UPF network element in a 5G VN group, the SMF network element can instruct the UPF network element to create a group level N4 session corresponding to the 5G VN group. In addition, when releasing the last PDU session pinned to a UPF network element in a 5G VN group, the SMF network element can instruct the UPF network element to delete the group level N4 session corresponding to the 5G VN group. In an embodiment of the present application, one UPF network element may include one or more group level N4 sessions. For example, if a UPF network element serves multiple 5G VN groups, the UPF network element needs to create multiple group level N4 sessions, and each N4 session corresponds to one 5G VN group. In an embodiment of the present application, multiple group level N4 sessions may be created for one 5G VN group.

[0071] For example, as shown in FIG. 3b, assume that when creating a PDU session for terminal device 1, the SMF network element instructs UPF network element 1 to create an N4 session 1 corresponding to the PDU session for terminal device 1. Then, when creating a PDU session for terminal device 2, the SMF network element can instruct UPF network element 2 to create an N4 session 2 corresponding to the PDU session for terminal device 2. In addition, since the terminal device 1 in the 5G VN group accesses the UPF network element 1, the SMF network element needs to instruct UPF network element 2 to create a group level N4 session 3 corresponding to the 5G VN group, and the SMF network element instructs UPF network element 1 to create a group level N4 session 4 corresponding to the 5G VN group. Alternatively, optionally, if the 5G VN group needs to communicate with the DN, the SMF network element can instruct UPF network element 1 to create a group level N4 session 4 corresponding to the 5G VN group. This is not specifically limited in this document.

[0072] 5. Routing rules: The N4 session in the embodiment of the present application includes a routing rule, and the routing rule is used to detect and forward data packets. When instructing the UPF network element to create an N4 session, the SMF network element can configure a corresponding routing rule for the N4 session. The routing rule of the user-level N4 session can be used to detect and forward data packets related to a PDU session of a terminal device. The routing rule of the group-level N4 session is used to detect and forward data packets related to an N19 tunnel or an N6 interface and belonging to a 5G VN group.

[0073] It should be noted that data packet and packet in the embodiments of this application have the same meaning and can be exchanged, and a general description is provided here, and the details will not be described again below.

[0074] It should be noted that in the embodiment of the present application, the internal interface of the UPF network element is a virtual port or a specific port on the UPF network element, which is used by the UPF network element to locally forward the received data packet. The data packet being locally forwarded to the internal interface of the UPF network element means that the UPF network element receives the data packet again through the internal interface, so that the data packet is detected again by the UPF network element and matches the corresponding routing rule, and is forwarded along the correct path. Before redetection, the UPF network element can decapsulate the outer tunnel header of the data packet. Optionally, new outer tunnel header information may be re-encapsulated for the data packet. The new tunnel information may be included in the FAR in the routing rule, or may be generated by the UPF network element based on the forwarding instruction information in the FAR. This is not specifically limited in this document.

[0075] It should be noted that in an embodiment of the present application, there may be one or more groups of routing rules in an N4 session, and each group of routing rules includes a PDR and a FAR associated with the PDR. Optionally, each group of routing rules may further include a QER and a URR associated with the PDR. A general description is provided here, and the details are not described again below. A possible type of PDR included in a routing rule is unicast, and this type of PDR is used to detect unicast packets. Another possible type of PDR included in a routing rule is multicast, and this type of PDR is used to detect multicast packets. Please refer to the following embodiments for related descriptions. The details are not described here.

[0076] The PDR in the embodiment of the present application may include an uplink (UL) PDR and a downlink (DL) PDR. Correspondingly, the FAR, QER, and URR associated with the UL PDR may be referred to as the UL FAR, UL QER, and UL URR, respectively. The FAR, QER, and URR associated with the DL PDR may be referred to as the DL FAR, DL QER, and DL URR, respectively. A general description is provided here and the details will not be described again below.

[0077] For example, as shown in FIG. 4, the N4 session includes UL PDR 1, and UL FAR 1, UL QER 1, and UL URR 1 associated with UL PDR 1, DL PDR 1, and DL FAR 1, DL QER 1, and DL URR 1 associated with DL PDR 1, ..., UL PDR n, and UL FAR n, UL QER n, and UL URR n associated with UL PDR n, DL PDR n, and DL FAR n, DL QER n, and DL URR n associated with DL PDR n.

[0078] The following further describes the routing rules for user-level N4 sessions and the routing rules for group-level N4 sessions.

[0079] Case 1: For a user level N4 session: The existing UL PDR is used to detect unicast and multicast packets received from the PDU session tunnel, and may specifically include a source interface parameter, a tunnel information parameter, network instance information, and a filter parameter or address of the terminal device. The source interface parameter is set to the "access side" or "core side". The tunnel information parameter is set to the tunnel general packet radio service (GPRS) tunnelling protocol-user (GTP-U) TEID of the PDU session on the UPF network element side. The network instance information is set to a value corresponding to the 5G VN group. In the filter parameter, for example, the address of the terminal device may be used as the source address. The address of the terminal device may include, for example, an IP address or a MAC address. A general description is provided here and the details will not be described again below.

[0080] The UL FAR associated with the UL PDR includes network instance information and a destination interface parameter, and is used to send data packets that match the UL PDR to the destination interface. The SMF network element sets the network instance information to a value corresponding to the 5G VN group, and sets the value of the destination interface parameter to a value corresponding to the internal interface of the UPF network element (e.g., "5G VN internal"). It will be understood that the UL FAR of the user level N4 session is used to locally forward data packets received from the PDU session tunnel and that match the UL PDR of the N4 session to the internal interface of the UPF network element.

[0081] The existing DL PDR is used to detect unicast packets received from an internal interface, and specifically includes a source interface parameter, network instance information, and a filter parameter or address of a terminal device. The source interface parameter is set to "5G VN internal". The network instance information is set to a value corresponding to the 5G VN group. In the filter parameter, for example, the address of the terminal device may be used as the destination address.

[0082] The DL FAR associated with the DL PDR includes network instance information, destination interface parameters, and / or outer tunnel parameters, and is used to transmit data packets received from an internal interface and matching the DL PDR to the destination interface. The network instance information is set to a value corresponding to the 5G VN group. The value of the destination interface parameter is set to "access side" or "core side". The value of the outer tunnel parameter is set to the tunnel information of the PDU session (e.g., the general packet radio service (GPRS) tunnelling protocol-user plane (GTP-U)) of the PDU session on the access device or UPF network element). It should be understood that the DL FAR of the N4 session corresponding to the PDU session is used to transmit data packets received from an internal interface and matching the DL PDR of the N4 session to the designated PDU session tunnel.

[0083] However, in the embodiment of the present application, a DL PDR of multicast type is introduced. This DL PDR is used to detect a multicast packet received from an internal interface, and specifically may include a source interface parameter, a filter parameter, network instance information, and indication information. The source interface parameter is set to "5G VN internal". The network instance information is set to a value corresponding to the 5G VN group. In the filter parameter information, a broadcast address or a groupcast address specified by the SMF network element is used as a destination address. The indication information may include any one or more of a type indication, a matching continue indication, a packet duplication information, or a packet duplication skip information. For example, the indication information includes a packet duplication information and a type indication. Alternatively, the indication information includes a packet duplication information and a matching continue indication. Alternatively, the indication information includes a packet duplication skip information and a type indication. Alternatively, the indication information includes a packet duplication skip information and a matching continue indication. This is not specifically limited in the embodiment of the present application. For a related description of the DL FAR associated with the DL PDR, please refer to the above description of the DL FAR associated with the DL PDR used to detect a unicast packet. Details will not be described again here.

[0084] Case 2: For group-level N4 sessions: The existing UL PDR is used to detect unicast packets received from an internal interface, and may specifically include a source interface parameter, network instance information, and a filter parameter. The source interface parameter is set to "5G VN internal". The network instance information is set to a value corresponding to the 5G VN group. In the filter parameter, for example, the address of the terminal device may be used as the destination address.

[0085] The UL FAR associated with the UL PDR includes network instance information, destination interface parameters, and / or outer tunnel parameters, and is used to forward data packets received from an internal interface and matching the UL PDR to the destination interface. The network instance information is set to a value corresponding to the 5G VN group. The value of the destination interface parameter is set to "core side". The value of the outer tunnel parameter is set to information about the N19 tunnel (e.g., the GTP-U TEID of the N19 tunnel connecting the current UPF network element to another UPF network element). It will be understood that the UL FAR of the group-level N4 session is used to forward data packets matching the UL PDR of the group-level N4 session to the N19 tunnel connecting the UPF network element to another UPF network element, or to the N6 interface connecting the UPF network element to the DN.

[0086] However, in the embodiment of the present application, a multicast type UL PDR is introduced. This UL PDR is used to detect a multicast packet received from an internal interface, and specifically may include a source interface parameter, network instance information, a filter parameter, and indication information. The source interface parameter is set to "5G VN internal". The network instance information is set to a value corresponding to the 5G VN group. In the filter parameter information, a broadcast address or a groupcast address specified by the SMF network element is used as a destination address. The indication information may include any one or more of a type indication, a matching continue indication, a packet duplication information, or a packet duplication skip information. For example, the indication information includes a packet duplication information and a type indication. Alternatively, the indication information includes a packet duplication information and a matching continue indication. Alternatively, the indication information includes a packet duplication skip information and a type indication. Alternatively, the indication information includes a packet duplication skip information and a matching continue indication. This is not specifically limited in the embodiment of the present application. For a related description of the UL FAR associated with the UL PDR, please refer to the above description of the UL FAR associated with the UL PDR used to detect a unicast packet. Details will not be described again here.

[0087] The existing DL PDR is used to detect unicast or multicast packets received from the N19 tunnel or N6 interface, and specifically includes a source interface parameter, network instance information, and / or tunnel information parameter. The source interface parameter is set to "5G VN internal". The network instance information is set to a value corresponding to the 5G VN group. The tunnel information parameter is set to the GTP-U TEID of the N19 tunnel on the UPF network element side.

[0088] The DL FAR associated with the DL PDR includes a destination interface parameter and is used to transmit data packets received from the N19 tunnel or the N6 interface and matching the DL PDR to the destination interface. The SMF network element sets the value of the destination interface parameter to a value corresponding to the internal interface of the UPF network element (e.g., "5G VN internal"). It will be understood that the DL FAR of the group-level N4 session is used to locally forward data packets matching the DL PDR of the group-level N4 session to the internal interface of the UPF network element.

[0089] However, in the embodiment of the present application, a DL PDR of multicast type is introduced. This DL PDR is used to detect multicast packets received from the N19 tunnel or the N6 interface, and may specifically include a source interface parameter, network instance information, a filter parameter, and / or a tunnel information parameter. The source interface parameter is set to "N6 LAN" or "core side". The network instance information is set to a value corresponding to the 5G VN group. In the filter parameter, the broadcast address or groupcast address specified by the SMF network element is used as the destination address. The tunnel information parameter is set to the GTP-U TEID of the N19 tunnel on the UPF network element side. For a related description of the DL FAR associated with the DL PDR, please refer to the above description of the DL FAR associated with the DL PDR used to detect unicast packets. The difference is, for example, that the DL FAR associated with the DL PDR of multicast type is used to locally forward data packets that match the DL PDR of the group-level N4 session to the internal interface of the UPF network element, together with the N19 indication information or the N6 indication information. Details will not be described again here. For example, the N19 indication information in an embodiment of the present application may be a GTP-U TEID of an N19 tunnel connecting a current UPF network element to another UPF network element, and the N6 indication information in an embodiment of the present application may be, for example, information about an N6 interface.

[0090] In addition, the relevant descriptions of the N4 session corresponding to the PDU session and the group-level N4 session, the UL QER and UL URR associated with the UL PDR, and the DL QER and DL URR associated with the DL PDR can be found in the prior art, and will not be described in detail here.

[0091] 6. The process of matching data packets with the PDR: In the prior art, after receiving a data packet, the UPF network element detects the data packet and determines that the data packet matches the PDR (in other words, the data packet matches the PDR successfully, or the PDR matches the data packet successfully). Specifically, it includes the following four matching processes:

[0092] (1) A data packet is detected based on the PDU session tunnel information, network instance information, interface information, and / or header information of the data packet. If the PDU session tunnel information, network instance information, interface information, and / or header information of the data packet respectively match with corresponding one or more parameters in the UL PDR of the N4 session corresponding to the PDU session, the UL PDR of the N4 session corresponding to the PDU session is successfully matched with the data packet.

[0093] (2) The data packet is detected based on the interface information, network instance information, and header information of the data packet. If the interface information, network instance information, and header information respectively match corresponding parameters in the DL PDR of the N4 session corresponding to the PDU session, the DL PDR of the N4 session corresponding to the PDU session is successfully matched with the data packet.

[0094] (3) The data packet is detected based on the interface information, network instance information, and header information of the data packet. If the interface information, network instance information, and header information of the data packet match the corresponding parameters in the UL PDR of the group level N4 session, respectively, the UL PDR of the group level N4 session is successfully matched with the data packet.

[0095] (4) The data packet is detected based on the interface information, network instance information, and / or N19 tunnel information of the data packet. If the interface information, network instance information, and / or tunnel information of the data packet respectively match with corresponding one or more parameters in the DL PDR of the group-level N4 session, the DL PDR of the group-level N4 session successfully matches the data packet.

[0096] In a specific implementation, the UPF network element performs one or more of the above four matching processes to match the data packet with the PDR.

[0097] In the embodiment of the present application, the above-mentioned parameter-related matching is performed. In addition, if the data packet includes a multicast address, the PDR is considered to be successfully matched with the data packet only if the interface information, network instance information, multicast address in the header information, and / or N19 tunnel information of the data packet are respectively equal to the corresponding one or more parameters in the PDR (including the UL PDR and the DL PDR).

[0098] 7. Configuring routing rules on the UPF network element: When instructing the UPF network element to create an N4 session, the SMF network element may configure corresponding routing rules for the N4 session.

[0099] As shown in FIG. 5, a user level N4 session involves the following steps:

[0100] S501: When establishing a PDU session of an end device, the SMF network element determines an N4 session corresponding to a group to which the end device belongs, and then sends an N4 session establishment request 1 to a UPF network element. The UPF network element receives the N4 session establishment request 1 from the SMF network element.

[0101] The N4 session establishment request 1 includes an N4 session identifier and a UL PDR corresponding to an N4 session, and is used to request the establishment of an N4 session corresponding to the N4 session identifier on a UPF network element.

[0102] The UL PDR includes an identifier of a rule associated with the UL PDR, and the rule associated with the UL PDR may include, for example, a UL FAR. Optionally, the rule associated with the UL PDR may further include a UL URR and a UL QER.

[0103] Optionally, if the UPF network element does not include a UL FAR corresponding to the identifier of the UL FAR, a UL URR corresponding to the identifier of the UL URR, or a UL QER corresponding to the identifier of the UL QER, the N4 session establishment request 1 may further include a UL FAR, a UL URR, or a UL QER associated with the UL PDR, which is not specifically limited in this document.

[0104] S502: After receiving the access device side tunnel information of the PDU session of the terminal device, the SMF network element determines the N4 session corresponding to the group to which the terminal device belongs, and then sends an N4 session modification request 1 to the UPF network element. The UPF network element receives the N4 session modification request 1 from the SMF network element.

[0105] The N4 session modification request 1 includes an N4 session identifier and a DL PDR corresponding to an N4 session, and is used to request to modify the N4 session corresponding to the N4 session identifier on a UPF network element.

[0106] The DL PDR includes an identifier of a rule associated with the DL PDR, and the rule associated with the DL PDR may include, for example, a DL FAR. Optionally, the rule associated with the DL PDR may further include a DL URR and a DL QER.

[0107] Optionally, if the UPF network element does not include a DL FAR corresponding to the identifier of the DL FAR, a DL URR corresponding to the identifier of the DL URR, or a DL QER corresponding to the identifier of the DL QER, the N4 session modification request 1 may further include a DL FAR, a DL URR, or a DL QER associated with the DL PDR, which is not specifically limited in this document.

[0108] Of course, if the N4 session needs to be updated later (for example, a routing rule needs to be added or a routing rule needs to be deleted), the SMF network element can send an N4 session modification request to the UPF network element to update the N4 session. Alternatively, the SMF network element can send an N4 session release request to the UPF network element when releasing the PDU session of the terminal device. The N4 session release request is used to request the UPF network element to delete all contexts of the N4 session. This is not specifically limited in this embodiment of the present application.

[0109] Alternatively, as shown in FIG. 6, for a group level N4 session, the following steps are included.

[0110] S601: When the UPF network element determines to provide service for a 5G VN group for the first time, the SMF network element determines an N4 session corresponding to the 5G VN group, and then sends an N4 session establishment 2 to the UPF network element. The UPF network element receives an N4 session establishment request 2 from the SMF network element.

[0111] The N4 session establishment request 2 includes an N4 session identifier, a UL PDR, and a DL PDR corresponding to an N4 session, and is used to request the establishment of an N4 session corresponding to the N4 session identifier on a UPF network element.

[0112] The UL PDR includes an identifier of the rule associated with the UL PDR. The DL PDR includes an identifier of the rule associated with the DL PDR. For the relevant description of the rule associated with the UL PDR and the rule associated with the DL PDR, please refer to the above embodiment. The details will not be described again here.

[0113] Optionally, if the UPF network element does not include a UL FAR corresponding to the identifier of the UL FAR, a UL URR corresponding to the identifier of the UL URR, or a UL QER corresponding to the identifier of the UL QER, the N4 session establishment request 2 may further include a UL FAR, a UL URR, or a UL QER associated with the UL PDR, which is not specifically limited in this document.

[0114] Optionally, if the UPF network element does not include a DL FAR corresponding to the identifier of the DL FAR, a DL URR corresponding to the identifier of the DL URR, or a DL QER corresponding to the identifier of the DL QER, the N4 session establishment request 2 may further include a DL FAR, a DL URR, or a DL QER associated with the DL PDR, which is not specifically limited in this document.

[0115] S602: When determining that the 5G VN group has a new address of the terminal device and / or a new N19 tunnel, the SMF network element determines an N4 session corresponding to the 5G VN group, and then sends an N4 session modification request 2 to the UPF network element. The UPF network element receives the N4 session modification request 2 from the SMF network element.

[0116] The N4 session modification request 2 includes an N4 session identifier, a UL PDR, and a DL PDR corresponding to the N4 session, the routing rules associated with the new address of the terminal device and / or the new N19 tunnel.

[0117] The UL PDR includes an identifier of the rule associated with the UL PDR. The DL PDR includes an identifier of the rule associated with the DL PDR. For the relevant description of the rule associated with the UL PDR and the rule associated with the DL PDR, please refer to the above embodiment. The details will not be described again here.

[0118] Optionally, if the UPF network element does not include a UL FAR corresponding to the identifier of the UL FAR, a UL URR corresponding to the identifier of the UL URR, or a UL QER corresponding to the identifier of the UL QER, the N4 session modification request 2 may further include a UL FAR, a UL URR, or a UL QER associated with the UL PDR, which is not specifically limited in this document.

[0119] Optionally, if the UPF network element does not include a DL FAR corresponding to the identifier of the DL FAR, a DL URR corresponding to the identifier of the DL URR, or a DL QER corresponding to the identifier of the DL QER, the N4 session modification request 2 may further include a DL FAR, a DL URR, or a DL QER associated with the DL PDR, which is not specifically limited in this document.

[0120] S603: When deciding to release the address of the terminal device of the N19 tunnel or the 5G VN group, the SMF network element determines the N4 session corresponding to the 5G VN group, and then sends an N4 session modification request 3 to the UPF network element. The UPF network element receives the N4 session modification request 3 from the SMF network element.

[0121] The N4 session modification request 3 includes an N4 session identifier, a UL PDR, and a DL PDR corresponding to the N4 session. These routing rules are associated with the addresses of the terminal devices to be released and / or the N19 tunnels to be released.

[0122] The UL PDR includes an identifier of the rule associated with the UL PDR. The DL PDR includes an identifier of the rule associated with the DL PDR. For the relevant description of the rule associated with the UL PDR and the rule associated with the DL PDR, please refer to the above embodiment. The details will not be described again here.

[0123] Optionally, if the UPF network element does not include a UL FAR corresponding to the identifier of the UL FAR, a UL URR corresponding to the identifier of the UL URR, or a UL QER corresponding to the identifier of the UL QER, the N4 session modification request 3 may further include a UL FAR, a UL URR, or a UL QER associated with the UL PDR, which is not specifically limited herein.

[0124] Optionally, if the UPF network element does not include a DL FAR corresponding to the identifier of the DL FAR, a DL URR corresponding to the identifier of the DL URR, or a DL QER corresponding to the identifier of the DL QER, the N4 session modification request 3 may further include a DL FAR, a DL URR, or a DL QER associated with the DL PDR, which is not specifically limited in this document.

[0125] Of course, if the N4 session needs to be updated later (for example, a routing rule needs to be added or a routing rule needs to be deleted), the SMF network element can send an N4 session change request to the UPF network element to update the N4 session. Alternatively, if the SMF network element decides to release the last PDU session of the 5G VN group on the UPF network element, it can send an N4 session release request to the UPF network element. The N4 session release request is used to request the UPF network element to delete all contexts of the N4 session. This is not specifically limited in this embodiment of the present application.

[0126] Optionally, in this embodiment of the present application, when the multicast is broadcast, the SMF network element needs to configure a PDR used to detect broadcast packets for all user level N4 sessions and one group level N4 session corresponding to the group on the UPF network element. The broadcast type PDR includes a UL PDR used to receive and process uplink broadcast packets and a DL PDR used to receive and process downlink broadcast packets. The UL PDR includes an identifier of a rule associated with the UL PDR, and the DL PDR includes an identifier of a rule associated with the DL PDR. Of course, the SMF network element does not configure a broadcast type PDR for the user level N4 session of the terminal device if it determines that the terminal device does not support forwarding of broadcast packets. Alternatively, the SMF network element does not configure a broadcast type PDR for the group level N4 session of the terminal device if it determines that the UPF network element does not support forwarding of broadcast packets via the N6 tunnel or forwarding of broadcast packets via the N19 tunnel.

[0127] Alternatively, optionally, in this embodiment of the present application, when the multicast is a groupcast, the SMF network element needs to configure a groupcast type PDR for all user level N4 sessions and one group level N4 session corresponding to the group and supporting groupcast communication. The groupcast type PDR includes a UL PDR used to receive and process uplink groupcast packets and a DL PDR used to receive and process downlink groupcast packets. The UL PDR includes an identifier of a rule associated with the UL PDR, and the DL PDR includes an identifier of a rule associated with the DL PDR. Of course, the SMF network element does not configure a groupcast type PDR for the group level N4 session of the terminal device if the UPF network element determines that it does not support groupcast packet forwarding via the N6 tunnel or groupcast packet forwarding via the N19 tunnel.

[0128] In addition, in this embodiment of the present application, when the SMF network element determines that the terminal device joins a groupcast group, it can add a groupcast type PDR to the N4 session of the PDU session of the terminal device after determining the groupcast address of the groupcast group. Alternatively, when the SMF network element determines that the terminal device leaves a groupcast group, it can delete a groupcast type PDR from the N4 session of the terminal device after determining the groupcast address of the groupcast group. These PDRs of groupcast type include the groupcast address.

[0129] Optionally, the SMF network element can determine that an end device joins / leaves a groupcast group in the following manner:

[0130] The SMF network element receives a non-access stratum (NAS) request, such as a PDU session establishment / modification message, from the terminal device to determine whether the terminal device joins / leaves a group.

[0131] Alternatively, the SMF network element receives an IGMP join / leave message from the UPF network element to determine that a terminal device joins / leaves a group.

[0132] Alternatively, the SMF network element receives instruction information, such as policy control charge (PCC) rules or event subscription information, from a policy control function (PCF) network element / network exposure function (NEF) network element to determine whether a terminal device joins or leaves a group.

[0133] This embodiment of the present application does not impose any restrictions on the manner in which an SMF network element determines whether a terminal device joins / leaves a group.

[0134] The following describes the technical solutions of the embodiments of the present application with reference to the accompanying drawings of the embodiments of the present application. In the description of the present application, " / " represents an "or" relationship between associated objects unless otherwise specified. For example, A / B may represent A or B. The term "and / or" in the present application only indicates an associated relationship to describe associated objects, and indicates that three relationships may exist. For example, A and / or B may indicate the following three cases: only A exists, both A and B exist, and only B exists, and A and B may be singular or plural. In addition, unless otherwise specified, "plurality" in the description of the present application means two or more. "At least one of the following items" or a similar expression refers to any combination of these items, including any combination of a single item or multiple items. For example, at least one of a, b, or c (one item) may refer to a, b, c, ab, ac, bc, or abc, where a, b, and c may be singular or plural. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, terms such as "first" and "second" are used in the embodiments of the present application to distinguish between the same or similar items having essentially the same functions and purposes. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity or execution order, and terms such as "first" and "second" do not indicate clear differences. In addition, in the embodiments of the present application, words such as "example" or "for example" are used to represent giving an example, illustration, or explanation. Any embodiment or design described as "example" or "for example" in the embodiments of the present application should not be described as being preferred or having more advantages than another embodiment or design. Rather, words such as "example" or "for example" are intended to present related concepts in a particular way for ease of understanding.

[0135] The technical solutions provided in the embodiments of the present application may be used in various communication systems, such as long term evolution (LTE) systems or new radio (NR) systems (sometimes referred to as 5G systems), or other new future-oriented systems, such as programmable user plane systems, which are not specifically limited in the embodiments of the present application. In addition, the terms "system" and "network" are interchangeable.

[0136] 7 shows a communication system 70 according to an embodiment of the present application. The communication system 70 includes a session management function network element 701 and a user plane function network element 702. The session management function network element 701 may directly communicate with the user plane function network element 702, or may communicate with the user plane function network element 702 through transfer by another device, which is not specifically limited in this embodiment of the present application.

[0137] The session management function network element 701 is configured to obtain a first PDR. The first PDR is used to detect a multicast packet, and the first PDR indicates to continue matching with another PDR. The session management function network element 701 is further configured to send an N4 session identifier and a first PDR to a user plane function network element 702. The user plane function network element 702 is configured to receive the N4 session identifier and the first PDR from the session management function network element 701, and configure a first PDR in an N4 session corresponding to the N4 session identifier on the user plane function network element 702. The user plane function network element 702 is further configured to receive a multicast packet, and match the multicast packet with a PDR on the user plane function network element 702, where the multicast packet includes a multicast address. The user plane function network element 702 is further configured to continue matching the multicast packet with another PDR when the multicast packet is successfully matched with the first PDR. A specific implementation of this solution will be described in detail in the following method embodiment. It will not be described in detail here.

[0138] Based on this communication system, in this embodiment of the present application, the routing rule configured by the session management function network element for the N4 session on the user plane function network element includes a first PDR used to detect a multicast packet. After the multicast packet is successfully matched with the first PDR, the user plane function network element continues to match the multicast packet with another PDR on the user plane function network element. In other words, the multicast packet received by the user plane function network element may match with multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to the rules (e.g., FARs) associated with the multiple PDRs. In this solution, when the terminal device member changes, the session management function network element does not need to perform excessive work. Therefore, compared with the solution that needs to correspondingly update the indication information in the FAR when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedure involved in the FAR update between the session management function network element and the user plane function network element, and reduce the signaling overhead.

[0139] Optionally, the communication system 70 shown in Figure 7 may be used in a current 5G network, or another future network, etc., which is not specifically limited in this embodiment of the present application.

[0140] For example, assume that the communication system 70 shown in Figure 7 is used in a current 5G network. As shown in Figure 8, a network element or entity corresponding to the aforementioned session management function network element may be an SMF network element in the 5G network, and a network element or entity corresponding to the aforementioned user plane function network element may be a UPF network element in the 5G network.

[0141] In addition, as shown in Figure 8, the 5G network may further include an access device, a PCF network element, a NEF network element, an access and mobility management function (AMF) network element, etc., which is not specifically limited in this embodiment of the present application.

[0142] As shown in Figure 8, the terminal device communicates with the AMF network element through a next generation (NG) 1 interface (abbreviated as N1), the access device communicates with the AMF network element through an NG 2 interface (abbreviated as N2), the access device communicates with the UPF network element through an NG 3 interface (abbreviated as N3), the UPF network element communicates with the DN through an NG 6 interface (abbreviated as N6), the AMF network element communicates with the SMF network element through an NG 11 interface (abbreviated as N11), and the SMF network element communicates with the NEF network element through an NG 29 interface (abbreviated as N29).

[0143] Optionally, the terminal device in this embodiment of the present application may be a device configured to perform wireless communication functions, such as a terminal or a chip usable in a terminal. The terminal may be a user equipment (UE), an access terminal, a terminal unit, a terminal station, a mobile station, a mobile console, a remote station, a remote terminal, a mobile device, a wireless communication device, a terminal agent, a terminal device, etc. in an LTE system, an NR system, or a future evolved PLMN. The access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld or computing device with wireless communication capabilities, another processing device connected to a wireless modem, an in-vehicle device, a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, an industrial control wireless terminal, a self driving wireless terminal, a remote medical wireless terminal, a smart grid wireless terminal, a transportation safety wireless terminal, a smart city wireless terminal, or a smart home wireless terminal, etc. The terminal may be mobile or at a fixed location.

[0144] Optionally, the access device in this embodiment of the present application is a device that accesses a core network. For example, the access device may be a base station, a broadband network gateway (BNG), an aggregation switch, or a non-3GPP access device. The base station may include various forms of base stations, such as macro base stations, micro base stations (sometimes called small cells), relay stations, and access points.

[0145] Optionally, in this embodiment of the present application, the relevant functions of the user plane function network element or the session management function network element may be implemented by one device, or may be implemented jointly by multiple devices, or may be implemented by one or more function modules in one device. This is not specifically limited in this embodiment of the present application. It should be understood that the aforementioned functions may be functions of the network element on a hardware device, or may be software functions running on dedicated hardware, or may be functions of a combination of hardware and software, or may be virtualization functions instantiated on a platform (e.g., a cloud platform).

[0146] For example, the relevant functions of the user plane function network element or the session management function network element in this embodiment of the present application may be implemented by the communication device 900 in Fig. 9. Fig. 9 is a schematic structural diagram of the communication device 900 according to one embodiment of the present application. The communication device 900 includes one or more processors 901, a communication line 902, and at least one communication interface (in Fig. 9, the communication device 900 includes a communication interface 904 and one processor 901, which is only an example for illustration). Optionally, the communication device 900 may further include a memory 903.

[0147] The processor 901 may be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits that control program execution of the solutions of the present application.

[0148] Communication lines 902 may include paths used to connect various components.

[0149] The communication interface 904 may be a transceiver module configured to communicate with another device or with a communication network, such as Ethernet, RAN, or wireless local area networks (WLAN). For example, the transceiver module may be a device such as a transceiver or a transceiver component. Optionally, the communication interface 904 may instead be a transceiver circuit located within the processor 901 and configured to implement signal input and signal output of the processor.

[0150] The memory 903 may be a device having storage capabilities. The memory 903 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, or a random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions. The memory 903 may alternatively be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other compact disc storage, an optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the anticipated program code in the form of instructions or data structures and that is accessible by a computer. However, the memory 903 is not limited thereto. The memory may exist independently and be connected to the processor through a communication line 902. Alternatively, the memory may be integral to the processor.

[0151] The memory 903 is configured to store computer-executable instructions for implementing the solution of the present application, and the processor 901 controls the execution of the computer-executable instructions. The processor 901 is configured to execute the computer-executable instructions stored in the memory 903 to implement the multicast communication method provided in the embodiment of the present application.

[0152] Alternatively, optionally, in this embodiment of the present application, the processor 901 can perform processing-related functions in the multicast communication method provided in the following embodiment of the present application, and the communication interface 904 is responsible for communication with another device or communication network, which is not specifically limited in this embodiment of the present application.

[0153] Optionally, the computer executable instructions in this embodiment of the present application may be referred to as application program code, although this is not specifically limited in this embodiment of the present application.

[0154] In a specific implementation, in one embodiment, the processor 901 may include one or more CPUs, for example, CPU 0 and CPU 1 of FIG.

[0155] In a specific implementation, in one embodiment, the communications device 900 may include multiple processors, such as processor 901 and processor 908 of FIG. 9. Each of the processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor in this document may refer to one or more devices, circuits, and / or processing cores configured to process data (e.g., computer program instructions).

[0156] In a specific implementation, in one embodiment, the communication device 900 may further include an output device 905 and an input device 906. The output device 905 communicates with the processor 901 and can display information in multiple ways. For example, the output device 905 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, a projector, etc. The input device 906 communicates with the processor 901 and can receive user input in multiple ways. For example, the input device 906 may be a mouse, a keyboard, a touch screen device, a sensing device, etc.

[0157] The communication device 900 may also be referred to as a communication device, and may be a general-purpose device or a dedicated device. For example, the communication device 900 may be a desktop computer, a portable computer, a network server, a palmtop computer (personal digital assistant, PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, the terminal device described above, the network device described above, or a device having a structure similar to that shown in FIG. 9. The type of the communication device 900 is not limited in this embodiment of the present application.

[0158] Hereinafter, the multicast communication method provided in the embodiment of the present application will be described in detail with reference to FIGS.

[0159] It should be noted that in the following embodiments of the present application, the names of messages between network elements, the names of parameters in messages, etc. are merely examples, and there may be other names in specific implementations, which are not specifically limited in the embodiments of the present application.

[0160] For example, the communication system shown in Figure 7 is used in the 5G network shown in Figure 8. Figure 10 shows a multicast communication method according to an embodiment of the present application. The method includes the following steps:

[0161] S1001: A UPF network element receives a multicast packet, where the multicast packet includes a multicast address.

[0162] S1002: The UPF network element matches the multicast packet with the PDR on the UPF network element.

[0163] S1003: When the multicast packet is successfully matched with the first PDR and the first PDR indicates to continue matching with another PDR, the UPF network element continues to match the multicast packet with another PDR.

[0164] Optionally, in this embodiment of the present application, the priority of the other PDR is not higher than the priority of the first PDR. A general description is provided here and the details will not be described again below.

[0165] For the process of configuring the first PDR and another PDR on the UPF network element, please refer to the embodiment shown in Figure 5 or Figure 6. Details will not be described again here.

[0166] It should be noted that both the first PDR and the other PDR in this embodiment of the present application can be a UL PDR or a DL PDR. Alternatively, the first PDR in this embodiment of the present application is a UL PDR, and the other PDR includes a UL PDR and / or a DL PDR. Alternatively, the first PDR in this embodiment of the present application is a DL PDR, and the other PDR includes a UL PDR and / or a DL PDR. This is not specifically limited in this embodiment of the present application.

[0167] Optionally, in this embodiment of the present application, the multicast packet includes a broadcast packet, and the multicast address includes a broadcast address accordingly. Alternatively, the multicast packet includes a group cast packet, and the multicast address includes a group cast address accordingly. For a related description of the broadcast address or the group cast address, please refer to the introduction part of the "Description of the Preferred Embodiments", and the details will not be described again here.

[0168] According to this multicast communication method, after the multicast packet is successfully matched with the first PDR, if the first PDR indicates to continue matching with another PDR, the UPF network element continues to match the multicast packet with another PDR. In other words, the multicast packet received by the UPF network element may match multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to the FARs, QERs, and URRs associated with the multiple PDRs. In this solution, when the terminal device member changes, the SMF network element does not need to do excessive work. Therefore, compared with the solution that needs to update the indication information in the FAR accordingly when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedures involved in the FAR update between the SMF network element and the UPF network element, and reduce the signaling overhead.

[0169] The activities of the UPF network element in the above steps S1001 to S1003 may be performed by calling application program codes stored in memory 903 by a processor 901 in a communication device 900 shown in Fig. 9, which is not limited in this embodiment of the present application.

[0170] The multicast communication method shown in FIG. 10 will now be described in detail with reference to a specific implementation.

[0171] In one possible implementation, when matching a multicast packet with a PDR on a UPF network element, the UPF network element first matches the multicast packet with an N4 session to which the PDR belongs. In addition, the UPF network element matches the multicast packet with each PDR of the N4 session in descending order of the priority of the PDR. Specifically, as shown in Figure 11, the multicast communication method provided in one embodiment of the present application includes the following steps:

[0172] S1101: A UPF network element receives a multicast packet, where the multicast packet includes a multicast address.

[0173] Optionally, in this embodiment of the present application, when the UPF network element receives a multicast packet from a terminal device, the multicast packet may further include source information of the multicast packet, where the source information of the multicast packet includes address information of the terminal device that sends the multicast packet.

[0174] For example, the address information of the terminal device that transmits the multicast packet may be, for example, the IP address or MAC address of the terminal device, which is not specifically limited in this embodiment of the present application.

[0175] Alternatively, optionally, in this embodiment of the present application, if the UPF network element receives a multicast packet from an N19 tunnel or a DN, the UPF network element can further receive source information of the multicast packet when receiving the multicast packet. The source information of the multicast packet includes N19 indication information or N6 indication information. The N6 indication information or N19 indication information is included in the GTP-U tunnel header information for encapsulating the multicast packet.

[0176] For example, the N19 indication information in this embodiment of the present application may be, for example, a GTP-U TEID of an N19 tunnel connecting a current UPF network element to another UPF network element.

[0177] For example, the N6 indication information in this embodiment of the present application may be, for example, information regarding the N6 interface.

[0178] S1102: After determining the N4 session to which the multicast packet belongs and finding a matching PDR in this N4 session, the UPF network element forwards the multicast packet to an internal interface of the UPF network element according to the rule associated with the PDR for re-matching.

[0179] As mentioned above, in this embodiment of the present application, the rules associated with the PDR may include, for example, FAR. Optionally, the rules associated with the PDR may further include URR and QER. A general description is provided here and the details will not be described again below.

[0180] Optionally, in this embodiment of the present application, the UPF network element determines the N4 session to which the multicast packet belongs,

[0181] The method may include: a UPF network element determines network instance information and interface information corresponding to the multicast packet. If the interface information is N19 interface information or N6 interface information, the UPF network element refers to the association relationship 1 to determine an N4 session to which the multicast packet belongs on the UPF network element based on the network instance information and interface information corresponding to the multicast packet. The association relationship 1 includes an association relationship between the network instance information, the interface information, and an identifier of the N4 session. Alternatively, if the interface information is N3 interface information (i.e., the UPF network element receives a multicast packet from a terminal device), the UPF network element refers to the association relationship 2 to determine an N4 session to which the multicast packet belongs on the UPF network element based on the address information of the terminal device that transmits the multicast packet and the network instance information and interface information corresponding to the multicast packet. The association relationship 2 includes an association relationship between the network instance information, the interface information, the address information of the terminal device that transmits the multicast packet, and an identifier of the N4 session.

[0182] Optionally, in this embodiment of the present application, the UPF network element determining the N4 session to which the multicast packet belongs can be

[0183] The method may include: the UPF network element determines network instance information and interface information corresponding to the multicast packet. If the interface information is N19 interface information or N6 interface information, the UPF network element refers to the first target PDR, and determines the N4 session to which the multicast packet belongs on the UPF network element based on the network instance information and interface information corresponding to the multicast packet. The first target PDR includes an association relationship between the network instance information, the interface information, and the identifier of the N4 session. Alternatively, if the interface information is N3 interface information (i.e., the UPF network element receives the multicast packet from the terminal device), the UPF network element refers to the second target PDR, and determines the N4 session to which the multicast packet belongs on the UPF network element based on the address information of the terminal device that sends the multicast packet and the network instance information and interface information corresponding to the multicast packet. The second target PDR includes an association relationship between the network instance information, the interface information, the address information of the terminal device that sends the multicast packet, and the identifier of the N4 session.

[0184] It should be noted that the first target PDR and the second target PDR in this embodiment of the present application are special PDRs configured on the UPF network element and are used to determine the N4 session to which the multicast packet belongs. A general description is provided here, and the details are not described again below. In addition, the first target PDR and the second target PDR in this embodiment of the present application may be the same PDR or different PDRs, which is not specifically limited in this embodiment of the present application.

[0185] S1103: The UPF network element determines whether it can find the next N4 session to which the multicast packet belongs.

[0186] If the UPF network element determines that it can find the next N4 session to which the multicast packet belongs, it performs the following step S1104. Alternatively, if the UPF network element determines that it cannot find the next N4 session to which the multicast packet belongs, the procedure ends.

[0187] S1104: The UPF network element matches the multicast packet with each PDR of the N4 session in descending order of priority of the PDR to determine whether there is a PDR that matches the multicast packet.

[0188] For the process of matching a multicast packet with a PDR, please refer to the process of matching a data packet with a PDR in the introduction of the detailed description of the present invention, and the details will not be described again here.

[0189] If the UPF network element determines that there is a PDR that matches the multicast packet, and the PDR contains packet duplication information, it performs the following step S1105. Alternatively, if the UPF network element determines that there is no PDR that matches the multicast packet, it returns to step S1103.

[0190] S1105: If the multicast packet is successfully matched with the PDR, the UPF network element determines whether the packet duplication information corresponding to the PDR matches the source information of the multicast packet.

[0191] If the UPF network element determines that the packet duplication information corresponding to the PDR is consistent with the source information of the multicast packet, it performs the following step S1106, and then returns to the above step S1103. Alternatively, if the UPF network element determines that the packet duplication information corresponding to the PDR is not consistent with the source information of the multicast packet, it performs the following step S1107, and then returns to the above step S1103.

[0192] Optionally, in this embodiment of the present application, the packet duplication information corresponding to the PDR is consistent with the source information of the multicast packet, which means that the packet duplication information corresponding to the PDR is different from the source information of the multicast packet. The packet duplication information corresponding to the PDR is not consistent with the source information of the multicast packet, which means that the packet duplication information corresponding to the PDR is the same as the source information of the multicast packet. Here, a general description is provided, and the details will not be described again below.

[0193] S1106: The UPF network element duplicates the multicast packet and processes the duplicated multicast packet according to the rules associated with the PDR.

[0194] S1107: The UPF network element skips the process of processing the multicast packet according to the rules associated with the PDR.

[0195] In this embodiment of the present application, if there is a PDR in the N4 session that matches the multicast packet, it is considered that the PDR indicates by default to continue matching with another PDR. Therefore, after the above-mentioned step S1106 or step S1107 is performed, the UPF network element can return to the above-mentioned step S1103. For example, the PDR may include a type indication, a matching continue indication, packet duplication information, or packet duplication skip information. The type indication, the matching continue indication, the packet duplication information, or the packet duplication skip information is used to indicate to continue matching with another PDR, and the type indication may indicate, for example, broadcast or groupcast.

[0196] It should be noted that the present embodiment of the present application is described using an example in which the multicast packet is matched with another PDR on the UPF network element, and the duplicated multicast packet is processed according to the rules associated with the PDR. Of course, the UPF network element can alternatively match the duplicated multicast packet with another PDR on the UPF network element, and process the multicast packet that matches the current PDR according to the rules associated with the current PDR. This is not specifically limited in the present embodiment of the present application.

[0197] According to the multicast communication method provided in this embodiment of the present application, after the multicast packet is successfully matched with a PDR, if the PDR indicates to continue matching with another PDR, the UPF network element continues to match the multicast packet with another PDR on the UPF network element. In other words, the multicast packet received by the UPF network element may match multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to the rules associated with the multiple PDRs. In this solution, when the terminal device member changes, the SMF network element does not need to do excessive work. Therefore, compared with the solution that needs to update the indication information in the FAR accordingly when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedures involved in the FAR update between the SMF network element and the UPF network element, and reduce the signaling overhead.

[0198] The activities of the UPF network element in the above steps S1101 to S1107 may be performed by calling application program codes stored in memory 903 by a processor 901 in a communication device 900 shown in Fig. 9, which is not limited in this embodiment of the present application.

[0199] Alternatively, in another possible implementation, when matching a multicast packet with a PDR on a UPF network element, the UPF network element first matches the multicast packet with an N4 session to which the PDR belongs. Furthermore, the UPF network element matches the multicast packet with each PDR of the N4 session in descending order of the priority of the PDR. Specifically, as shown in Figure 12, the multicast communication method provided in one embodiment of the present application includes the following steps:

[0200] Steps S1201 to S1203 are the same as steps S1101 to S1103 in the embodiment shown in Fig. 11. For related descriptions, please refer to the embodiment shown in Fig. 11. Details will not be described again here.

[0201] S1204: The UPF network element matches the multicast packet with each PDR of the N4 session in descending order of priority of the PDR to determine whether there is a PDR that matches the multicast packet.

[0202] For the process of matching a multicast packet with a PDR, please refer to the process of matching a data packet with a PDR in the introduction of the detailed description of the present invention, and the details will not be described again here.

[0203] If the UPF network element determines that there is a PDR that matches the multicast packet, and the PDR includes packet duplication skip information, the UPF network element performs the following step S1205. Alternatively, if the UPF network element determines that there is no PDR that matches the multicast packet, the UPF network element returns to step S1203.

[0204] S1205: If the multicast packet is successfully matched with the PDR, the UPF network element determines whether the packet duplication skip information corresponding to the PDR matches the source information of the multicast packet.

[0205] If the UPF network element determines that the packet duplication skip information corresponding to the PDR does not match the source information of the multicast packet, it performs the following step S1206, and then returns to the above step S1203. Alternatively, if the UPF network element determines that the packet duplication skip information corresponding to the PDR matches the source information of the multicast packet, it performs the following step S1207, and then returns to the above step S1203.

[0206] Optionally, in this embodiment of the present application, the packet duplication skip information corresponding to the PDR is consistent with the source information of the multicast packet, which means that the packet duplication skip information corresponding to the PDR is the same as the source information of the multicast packet. The packet duplication skip information corresponding to the PDR is not consistent with the source information of the multicast packet, which means that the packet duplication skip information corresponding to the PDR is different from the source information of the multicast packet. Here, a general description is provided, and the details will not be described again below.

[0207] S1206: The UPF network element duplicates the multicast packet and processes the duplicated multicast packet according to the rules associated with the PDR.

[0208] S1207: The UPF network element skips the process of processing the duplicated multicast packet according to the rule associated with the PDR.

[0209] In this embodiment of the present application, if there is a PDR in the N4 session that matches the multicast packet, it is considered that the PDR indicates by default to continue matching with another PDR. Therefore, after the above-mentioned step S1206 or step S1207 is performed, the UPF network element can return to the above-mentioned step S1203. For example, the PDR may include a type indication, a matching continue indication, packet duplication information, or packet duplication skip information. The type indication, the matching continue indication, the packet duplication information, or the packet duplication skip information is used to indicate to continue matching with another PDR, and the type indication may indicate, for example, broadcast or groupcast.

[0210] It should be noted that the present embodiment of the present application is described using an example in which the multicast packet is matched with another PDR on the UPF network element, and the duplicated multicast packet is processed according to the rules associated with the PDR. Of course, the UPF network element can alternatively match the duplicated multicast packet with another PDR on the UPF network element, and process the multicast packet that matches the current PDR according to the rules associated with the current PDR. This is not specifically limited in the present embodiment of the present application.

[0211] According to the multicast communication method provided in this embodiment of the present application, after the multicast packet is successfully matched with a PDR, if the PDR indicates to continue matching with another PDR, the UPF network element continues to match the multicast packet with another PDR on the UPF network element. In other words, the multicast packet received by the UPF network element may match multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to the rules associated with the multiple PDRs. In this solution, when the terminal device member changes, the SMF network element does not need to do excessive work. Therefore, compared with the solution that needs to update the indication information in the FAR accordingly when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedures involved in the FAR update between the SMF network element and the UPF network element, and reduce the signaling overhead.

[0212] The activities of the UPF network element in the above steps S1201 to S1207 may be performed by calling application program codes stored in memory 903 by a processor 901 in a communication device 900 shown in Fig. 9, which is not limited in this embodiment of the present application.

[0213] Alternatively, in another possible implementation, when matching the multicast packet with the PDR on the UPF network element, the UPF network element directly matches the multicast packet with each PDR on the user plane function network element in descending order of the priority of the PDR. Specifically, as shown in Figure 13, the multicast communication method provided in one embodiment of the present application includes the following steps:

[0214] Steps S1301 and S1302 are the same as steps S1101 and S1102 in the embodiment shown in Fig. 11. For related descriptions, please refer to the embodiment shown in Fig. 11. Details will not be described again here.

[0215] S1303: The UPF network element matches the multicast packet with each PDR on the UPF network element in descending order of priority of the PDR to determine whether there is a PDR that matches the multicast packet.

[0216] For the process of matching a multicast packet with a PDR, please refer to the process of matching a data packet with a PDR in the introduction of the detailed description of the present invention, and the details will not be described again here.

[0217] If the UPF network element determines that there is a PDR that matches the multicast packet, and the PDR includes packet duplication information, the UPF network element performs the following step S1304. Alternatively, if the UPF network element determines that there is no PDR that matches the multicast packet, the procedure ends.

[0218] Steps S1304 to S1306 are the same as steps S1105 to S1107 in the embodiment shown in Fig. 11. For related descriptions, please refer to the embodiment shown in Fig. 11. Details will not be described again here.

[0219] S1307: If the multicast packet is successfully matched with the PDR, the UPF network element determines whether the PDR includes indication information, which indicates to continue matching with another PDR.

[0220] For example, the indication information may include, for example, a type indication, a continue matching indication, packet duplication information, or packet duplication skip information, where the type indication may indicate, for example, broadcast or groupcast.

[0221] If the UPF network element determines that the PDR contains the indication information, it returns to step S1303. Alternatively, if the UPF network element determines that the PDR does not contain the indication information, it performs the following step S1308.

[0222] S1308: The UPF network element processes the current multicast packet according to the rule associated with the PDR.

[0223] Optionally, in this embodiment of the present application, there is no necessary execution order between step S1304 and step S1307. Step S1304 may be performed before or after step S1307. Alternatively, step S1304 and step S1307 may be performed simultaneously. This is not specifically limited in this embodiment of the present application.

[0224] Of course, in this embodiment of the present application, if the UPF network element can determine the type of the multicast packet based on the multicast address, the UPF network element may instead return to step S1303, which is not specifically limited in this embodiment of the present application.

[0225] It should be noted that this embodiment of the present application is described using an example in which a multicast packet is matched with another PDR on the UPF network element, and the duplicated multicast packet is processed according to the rules associated with the PDR. Of course, instead, the UPF network element can also match the duplicated multicast packet with another PDR on the UPF network element, and process the multicast packet that matches the current PDR according to the FAR, QER, and URR associated with the current PDR. This is not specifically limited in this embodiment of the present application.

[0226] According to the multicast communication method provided in this embodiment of the present application, after the multicast packet is successfully matched with a PDR, if the PDR indicates to continue matching with another PDR, the UPF network element continues to match the multicast packet with another PDR on the UPF network element whose priority is not higher than that of the PDR. In other words, the multicast packet received by the UPF network element may match multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to the rules associated with the multiple PDRs. In this solution, when the terminal device member changes, the SMF network element does not need to do excessive work. Therefore, compared with the solution that needs to update the indication information in the FAR accordingly when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedures involved in the FAR update between the SMF network element and the UPF network element, and reduce the signaling overhead.

[0227] The activities of the UPF network element in the above steps S1301 to S1308 may be performed by calling application program codes stored in memory 903 by a processor 901 in a communication device 900 shown in Fig. 9, which is not limited in this embodiment of the present application.

[0228] The activities of the UPF network element in the above steps S1301 to S1307 may be performed by calling application program codes stored in memory 903 by a processor 901 in a communication device 900 shown in Fig. 9, which is not limited in this embodiment of the present application.

[0229] Alternatively, in another possible implementation, when matching the multicast packet with the PDR on the UPF network element, the UPF network element directly matches the multicast packet with each PDR on the user plane function network element in descending order of the priority of the PDR. Specifically, as shown in Figure 14, the multicast communication method provided in one embodiment of the present application includes the following steps:

[0230] Steps S1401 and S1402 are the same as steps S1101 and S1102 in the embodiment shown in Fig. 11. For related descriptions, please refer to the embodiment shown in Fig. 11. Details will not be described again here.

[0231] S1403: The UPF network element matches the multicast packet with each PDR on the UPF network element in descending order of priority of the PDR to determine whether there is a PDR that matches the multicast packet.

[0232] For the process of matching a multicast packet with a PDR, please refer to the process of matching a data packet with a PDR in the introduction of the detailed description of the invention, and the details will not be described again here.

[0233] If the UPF network element determines that there is a PDR that matches the multicast packet, and the PDR includes packet duplication skip information, the UPF network element performs the following step S1404. Alternatively, if the UPF network element determines that there is no PDR that matches the multicast packet, the procedure ends.

[0234] Steps S1404 to S1406 are the same as steps S1205 to S1207 in the embodiment shown in Fig. 12. For related descriptions, please refer to the embodiment shown in Fig. 11. Details will not be described again here.

[0235] S1407: If the multicast packet is successfully matched with the PDR, the UPF network element determines whether this PDR includes indication information, which indicates to continue matching with another PDR.

[0236] For example, the indication information may include, for example, a type indication, a continue matching indication, packet duplication information, or packet duplication skip information, where the type indication may indicate, for example, broadcast or groupcast.

[0237] If the UPF network element determines that the PDR contains the indication information, it returns to step S1403. Alternatively, if the UPF network element determines that the PDR does not contain the indication information, it performs the following step S1408.

[0238] S1408: The UPF network element processes the current multicast packet according to the rule associated with the PDR.

[0239] Optionally, in this embodiment of the present application, there is no necessary execution order between step S1404 and step S1407. Step S1404 may be performed before or after step S1407. Alternatively, step S1404 and step S1407 may be performed simultaneously. This is not specifically limited in this embodiment of the present application.

[0240] Of course, in this embodiment of the present application, if the UPF network element can determine the type of the multicast packet based on the multicast address, the UPF network element may instead return to step S1403, which is not specifically limited in this embodiment of the present application.

[0241] It should be noted that this embodiment of the present application is described using an example in which a multicast packet is matched with another PDR on the UPF network element, and the duplicated multicast packet is processed according to the rules associated with the PDR. Of course, instead, the UPF network element can also match the duplicated multicast packet with another PDR on the UPF network element, and process the multicast packet that matches the current PDR according to the FAR, QER, and URR associated with the current PDR. This is not specifically limited in this embodiment of the present application.

[0242] According to the multicast communication method provided in this embodiment of the present application, after the multicast packet is successfully matched with a PDR, if the PDR indicates to continue matching with another PDR, the UPF network element continues to match the multicast packet with another PDR on the UPF network element. In other words, the multicast packet received by the UPF network element may match multiple PDRs, so that the multicast packet can be forwarded to multiple terminal devices according to the rules associated with the multiple PDRs. In this solution, when the terminal device member changes, the SMF network element does not need to do excessive work. Therefore, compared with the solution that needs to update the indication information in the FAR accordingly when the terminal device member changes, this solution can increase the forwarding efficiency of the multicast packet, reduce the signaling interaction procedures involved in the FAR update between the SMF network element and the UPF network element, and reduce the signaling overhead.

[0243] The activities of the UPF network element in the above steps S1401 to S1407 may be performed by calling application program codes stored in memory 903 by a processor 901 in a communication device 900 shown in Fig. 9, which is not limited in this embodiment of the present application.

[0244] The multicast communication method shown in FIGS. 11 to 14 will be described below using some concrete examples.

[0245] For example, assume that an SMF network element creates n user level N4 sessions and one group level N4 session shown in Figure 15 on a UPF network element 1 for a group. In addition, the routing rule shown in Figure 15 is configured with the N4 session according to the procedure for configuring the routing rule shown in Figure 5 or Figure 6. Each group in the routing rule includes a UL PDR, a UL FAR, a UL QER (not shown), and a UL URR (not shown) associated with the UL PDR, and a DL PDR, a DL FAR, a DL QER (not shown), and a DL URR (not shown) associated with the DL PDR.

[0246] Step 1: After receiving a multicast packet from the terminal device 1, the UPF network element 1 determines the N4 session to which the multicast packet belongs (i.e., N4 session 1 in FIG. 15), and finds a matching UL PDR in the N4 session. Then, the UPF network element 1 forwards the multicast packet to the internal interface of the UPF network element 1 according to the UL FAR, UL QER, and UL URR associated with the UL PDR for re-matching.

[0247] Step 2: The UPF network element 1 judges whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is the N4 session 2, and after the UPF network element 1 checks the multicast packet against each PDR of the N4 session 2 in the descending order of the priority of the PDR, the UPF network element 1 judges that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device 2) matches the source information of the multicast packet (here, may be the address information of the terminal device 1). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device 2) does not match the source information of the multicast packet (here, may be the address information of the terminal device 1). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the DL FAR, DL QER, and DL URR associated with the DL PDR. Then, the multicast packet may be transmitted to the terminal device 2.

[0248] Step 3: Assuming that the DL PDR that matches the multicast packet and is in N4 session 2 indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is N4 session 1, and after the UPF network element 1 matches the multicast packet with each PDR of N4 session 1 in descending order of the priority of the PDR, the UPF network element 1 determines that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device 1) does not match the source information of the multicast packet (here, may be the address information of the terminal device 1). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device 1) matches the source information of the multicast packet (here, may be the address information of the terminal device 1). In the above case, the UPF network element 1 skips the process of processing the multicast packet.

[0249] Step 4: Assuming that the DL PDR that matches the multicast packet and is in N4 session 1 indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is N4 session 3, and after the UPF network element 1 matches the multicast packet with each PDR of N4 session 3 in descending order of the priority of the PDR, the UPF network element 1 determines that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device 3) matches the source information of the multicast packet (here, may be the address information of the terminal device 1). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device 3) does not match the source information of the multicast packet (here, may be the address information of the terminal device 1). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the FAR, QER, and URR associated with the DL PDR. The multicast packet may then be transmitted to terminal device 3.

[0250] Step 5: Assuming that the DL PDR that matches the multicast packet and is in N4 session 3 indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is N4 session n, and after the UPF network element 1 matches the multicast packet with each PDR of N4 session n in descending order of the priority of the PDR, the UPF network element 1 determines that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device n) matches the source information of the multicast packet (here, may be the address information of the terminal device 1). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device n) does not match the source information of the multicast packet (here, may be the address information of the terminal device 1). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the FAR, QER, and URR associated with the DL PDR. The multicast packet may then be transmitted to terminal device n.

[0251] Step 6: Assuming that the DL PDR that matches the multicast packet and is in N4 session n indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is N4 session 1x, and after the UPF network element 1 matches the multicast packet with each PDR of N4 session 1x in descending order of the priority of the PDRs, the UPF network element 1 determines that there is a UL PDR that matches the multicast packet. In addition, the packet duplication information (here, may be the N19 indication information) corresponding to the UL PDR matches the source information of the multicast packet (here, may be the address information of the terminal device 1). Or, the packet duplication skip information (here, may be the N19 indication information) corresponding to the UL PDR does not match the source information of the multicast packet (here, may be the address information of the terminal device 1). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the FAR, QER, and URR associated with the UL PDR. The multicast packet may then be sent to UPF network element 2, UPF network element 3, and DN.

[0252] The rest can be deduced by analogy and the procedure ends until it is not possible to find the next N4 session to which the multicast packet belongs.

[0253] Or, for example, assume that an SMF network element creates n user level N4 sessions and one group level N4 session shown in Figure 16 on a UPF network element 1 for a group. In addition, the routing rule shown in Figure 16 is configured for the N4 session according to the procedure for configuring the routing rule shown in Figure 5 or Figure 6. Each group in the routing rule includes a UL PDR, a UL FAR, a UL QER (not shown), and a UL URR (not shown) associated with the UL PDR, and a DL PDR, a DL FAR, a DL QER (not shown), and a DL URR (not shown) associated with the DL PDR.

[0254] Step 1: After receiving a multicast packet from the N19 tunnel connecting the UPF network element 1 to the UPF network element 2, the UPF network element 1 determines the N4 session to which the multicast packet belongs (i.e., N4 session 1x in FIG. 16 ), and finds a matching DL PDR in the N4 session. Then, the UPF network element 1 forwards the multicast packet and the N19 indication information to the internal interface of the UPF network element 1 according to the DL FAR, DL QER, and DL URR associated with the DL PDR for rematching.

[0255] Step 2: The UPF network element 1 judges whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is the N4 session 2, and after the UPF network element 1 checks the multicast packet against each PDR of the N4 session 2 in the descending order of the priority of the PDR, the UPF network element 1 judges that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device 2) is consistent with the source information of the multicast packet (here, may be the N19 indication information). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device 2) is not consistent with the source information of the multicast packet (here, may be the N19 indication information). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the DL FAR, DL QER, and DL URR associated with the DL PDR. Then, the multicast packet may be transmitted to the terminal device 2.

[0256] Step 3: Assuming that the DL PDR that matches the multicast packet and is in N4 session 2 indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is N4 session 1, and after the UPF network element 1 matches the multicast packet with each PDR of N4 session 1 in descending order of the priority of the PDR, the UPF network element 1 determines that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device 1) matches the source information of the multicast packet (here, may be the N19 indication information). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device 1) does not match the source information of the multicast packet (here, may be the N19 indication information). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the DL FAR, DL QER, and DL URR associated with the DL PDR. Then, the multicast packet can be sent to the terminal device 1.

[0257] Step 4: Assuming that the DL PDR that matches the multicast packet and is in N4 session 1 indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is N4 session 3, and after the UPF network element 1 matches the multicast packet with each PDR of N4 session 3 in descending order of the priority of the PDR, the UPF network element 1 determines that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device 3) matches the source information of the multicast packet (here, may be the N19 indication information). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device 3) does not match the source information of the multicast packet (here, may be the N19 indication information). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the DL FAR, DL QER, and DL URR associated with the DL PDR. Then, the multicast packet can be sent to the terminal device 3.

[0258] Step 5: Assuming that the DL PDR that matches the multicast packet and is in the N4 session 3 indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is the N4 session n, and after the UPF network element 1 matches the multicast packet with each PDR of the N4 session n in descending order of the priority of the PDR, the UPF network element 1 determines that there is a DL PDR that matches the multicast packet. In addition, the packet duplication information corresponding to the DL PDR (here, may be the address information of the terminal device n) is consistent with the source information of the multicast packet (here, may be the N19 indication information). Or, the packet duplication skip information corresponding to the DL PDR (here, may be the address information of the terminal device n) is not consistent with the source information of the multicast packet (here, may be the N19 indication information). In the above case, the UPF network element 1 can duplicate the multicast packet and process the duplicated multicast packet according to the DL FAR, DL QER, and DL URR associated with the DL PDR. Then, the multicast packet can be sent to the terminal device n.

[0259] Step 6: Assuming that the DL PDR that matches the multicast packet and is in N4 session n indicates to continue matching with another PDR, the UPF network element 1 continues to determine whether it can find the next N4 session to which the multicast packet belongs. Here, it is assumed that the next N4 session to which the multicast packet belongs is N4 session 1x, and after the UPF network element 1 matches the multicast packet with each PDR of N4 session 1x in descending order of the priority of the PDR, the UPF network element 1 determines that there is a UL PDR that matches the multicast packet. In addition, the packet duplication information (here, may be the N19 indication information) corresponding to the UL PDR does not match the source information (here, may be the N19 indication information) of the multicast packet. Or, the packet duplication skip information (here, may be the N19 indication information) corresponding to the DL PDR matches the source information (here, may be the N19 indication information) of the multicast packet. In the above case, the UPF network element 1 skips the process of processing the multicast packet.

[0260] The rest can be deduced by analogy and the procedure ends until it is not possible to find the next N4 session to which the multicast packet belongs.

[0261] It should be noted that the embodiment shown in FIG. 15 or FIG. 16 is described using an example in which the packet duplication information corresponding to the UL PDR is N19 indication information. Of course, in the embodiment shown in FIG. 15 or FIG. 16, the packet duplication information corresponding to the UL PDR may include N19 indication information and N6 indication information instead. In this case, the packet duplication information corresponding to the PDR matches the source information of the multicast packet may include that the packet duplication information corresponding to the PDR does not include the source information of the multicast packet. The packet duplication information corresponding to the PDR does not match the source information of the multicast packet includes that the packet duplication information corresponding to the PDR includes the source information of the multicast packet. Alternatively, the packet duplication skip information corresponding to the PDR matches the source information of the multicast packet may include that the packet duplication skip information corresponding to the PDR includes the source information of the multicast packet. The packet duplication skip information corresponding to the PDR does not match the source information of the multicast packet includes that the packet duplication skip information corresponding to the PDR does not include the source information of the multicast packet. A general description is provided here, and details will not be described again below.

[0262] It should be noted that in the example used to describe Figures 15 and 16, the multicast packet is first matched with the N4 session, and then matched with the PDR in the N4 session. Of course, instead, the UPF network element 1 can directly match the multicast packet with each PDR on the UPF network element 1 in descending order of the priority of the PDR, after the multicast packet is forwarded to the internal interface of the UPF network element 1 for rematching. Details will not be described again here.

[0263] It should be noted that in the example used to describe Figures 15 and 16, the multicast packet is matched with another PDR on the UPF network element 1, and the duplicated multicast packet is processed according to the FAR, QER, and URR associated with the current PDR. Of course, instead, the UPF network element 1 can also match the duplicated multicast packet with another PDR on the UPF network element 1, and process the multicast packet that matches the current PDR according to the FAR, QER, and URR associated with the current PDR. Details will not be described again here.

[0264] Optionally, an embodiment of the present application may further provide a multicast communication method, in which, after receiving a multicast packet, a UPF network element determines an N4 session to which the multicast packet belongs, and finds a matching PDR of a multicast type in the N4 session. The FAR associated with the PDR instructs the UPF network element to search all target N4 sessions (except the current N4 session), replicate a corresponding number of multicast packets based on information about the found target N4 sessions, and then match the multicast packets with each PDR of each found target N4 session. After the multicast packet is successfully matched with the PDR, the multicast packet is processed according to the FAR, QER, and URR associated with the PDR. In this solution, the FAR does not need to explicitly indicate tunnel information or labels of data packets to be replicated, so there is no need to update the indication information in the FAR when the terminal device member changes. This increases the forwarding efficiency of the multicast packet, reduces the signaling interaction procedures between the SMF network element and the UPF network element, and reduces the signaling overhead.

[0265] It will be appreciated that in the above embodiments, the methods and / or steps performed by a user plane function network element may instead be performed by components available on the user plane function network element, and the methods and / or steps performed by a session management function network element may instead be performed by components available on the session management function network element.

[0266] The above mainly describes the solution provided in the embodiments of the present application from the perspective of the interaction between network elements. Correspondingly, an embodiment of the present application further provides a communication device. The communication device may be a user plane function network element in the above method embodiment, or a device including a user plane function network element, or a component that can be used on a user plane function network element. Alternatively, the communication device may be a session management function network element in the above method embodiment, or a device including a session management function network element, or a component that can be used on a session management function network element. It is understood that in order to implement the above functions, the communication device includes corresponding hardware structures and / or software modules for performing the functions. Those skilled in the art should easily realize that the units and algorithm steps can be implemented by hardware in the present application, or by a combination of hardware and computer software, in combination with the examples described in the embodiments disclosed herein. Whether the functions are performed by hardware or by hardware driven by computer software depends on the specific application and design constraints of the technical solution. Those skilled in the art can implement the functions described using various methods for each specific application, but the implementation should not be considered as going beyond the scope of the present application.

[0267] For example, the communication device is a user plane function network element in the embodiment of the above method. Figure 17 is a schematic structural diagram of a user plane function network element 170. The user plane function network element 170 includes a transceiver module 1701 and a processing module 1702. The transceiver module 1701 may also be referred to as a transceiver unit and is configured to perform a transceiver function. For example, the transceiver module 1701 may be a transceiver circuit, a transceiver, a transceiver component, or a communication interface.

[0268] The transceiver module 1701 is configured to receive a multicast packet, the multicast packet including a multicast address. The processing module 1702 is configured to match the multicast packet with a PDR on a user plane function network element. The processing module 1702 is configured to continue matching the multicast packet with another PDR when the multicast packet successfully matches with a first PDR and the first PDR indicates to continue matching with another PDR.

[0269] Optionally, the processing module 1702 is further configured to duplicate the multicast packet when packet duplication information corresponding to the first PDR matches source information of the multicast packet, and process the duplicated multicast packet according to a rule associated with the first PDR.

[0270] Alternatively, optionally, the processing module 1702 is further configured to skip the process of processing the multicast packet according to the rules associated with the first PDR when the packet duplication information corresponding to the first PDR does not match the source information of the multicast packet.

[0271] Optionally, the processing module 1702 is further configured to duplicate the multicast packet when the packet duplication skip information corresponding to the first PDR does not match the source information of the multicast packet, and process the duplicated multicast packet according to a rule associated with the first PDR.

[0272] Alternatively, optionally, the processing module 1702 is further configured to skip the process of processing the multicast packet according to the rules associated with the first PDR when the packet duplication skip information corresponding to the first PDR matches the source information of the multicast packet.

[0273] Optionally, the multicast packet includes source information of the multicast packet, which includes address information of the end device that sends the multicast packet.

[0274] Alternatively, optionally, the transceiver module 1701 is further configured to receive source information of the multicast packet, where the source information of the multicast packet includes N19 designation information or N6 designation information.

[0275] Optionally, the processing module 1702 being configured to match the multicast packet with a PDR on the user plane function network element includes the processing module 1702 being configured to match the multicast packet, determine an N4 session on the user plane function network element, and match the multicast packet with each PDR of the N4 session in descending order of priority of the PDRs.

[0276] Alternatively, optionally, the processing module 1702 being configured to match the multicast packet with a PDR on the user plane function network element includes the processing module 1702 being configured to match the multicast packet with each PDR on the user plane function network element in descending order of priority of the PDRs.

[0277] Optionally, the transceiver module 1701 is further configured to receive a first message from a session management function network element. The first message includes an N4 session identifier, a first PDR, and a FAR, QER, and URR associated with the first PDR. The first PDR is used to detect a multicast packet. The processing module 1702 is further configured to configure the first PDR, and the FAR, QER, and URR associated with the first PDR in an N4 session corresponding to the N4 session identifier.

[0278] Optionally, the transceiver module 1701 is further configured to receive an N4 session identifier and a first PDR from the session management function network element, the first PDR being used to detect multicast packets, and the processing module 1702 is further configured to configure the first PDR in the N4 session corresponding to the N4 session identifier.

[0279] Any relevant content of the steps in the above method embodiments may be cited in the functional description of the corresponding functional modules, and will not be described in detail again here.

[0280] In this embodiment, the user plane function network element 170 is presented in the form of a functional module obtained by division in an integrated manner. A "module" in this document may be a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, a logic integrated circuit, and / or other part capable of providing the above-mentioned functions. Those skilled in the art will appreciate that in a simple embodiment, the user plane function network element 170 may be in the form of a communication device 900 shown in FIG. 9.

[0281] For example, the processor 901 of the communication device 900 shown in FIG. 9 may invoke computer-executable instructions stored in memory 903 to enable the network device 900 to perform the multicast communication method in the above-described method embodiment.

[0282] Specifically, the functions / implementation processes of the transceiver module 1701 and the processing module 1702 of FIG. 17 may be implemented by the processor 901 in the communication device 900 shown in FIG. 9 by invoking computer-executable instructions stored in the memory 903. Alternatively, the functions / implementation processes of the processing module 1702 of FIG. 17 may be implemented by the processor 901 in the communication device 900 shown in FIG. 9 by invoking computer-executable instructions stored in the memory 903, and the functions / implementation processes of the transceiver module 1701 of FIG. 17 may be implemented by using the communication interface 904 in the communication device 900 shown in FIG. 9.

[0283] The user plane function network element 170 provided in this embodiment of the present application can perform the above-mentioned multicast communication method. Therefore, for the technical effects that can be achieved by the user plane function network element 170, please refer to the above-mentioned method embodiment. Details will not be described again here.

[0284] Or, for example, the communication device is a session management function network element in the embodiment of the above method. Figure 18 is a schematic structural diagram of a session management function network element 180. The session management function network element 180 includes a transceiver module 1801 and a processing module 1802. The transceiver module 1801 may also be referred to as a transceiver unit, and is configured to perform a transceiver function. For example, the transceiver module 1801 may be a transceiver circuit, a transceiver, a transceiver component, or a communication interface.

[0285] The processing module 1802 is configured to obtain a first PDR, use the first PDR to detect a multicast packet, and indicate that the first PDR should continue matching with another PDR. The transceiver module 1801 is configured to transmit an N4 session identifier and the first PDR to a user plane function network element, where the N4 session identifier and the first PDR are used to configure the first PDR for an N4 session corresponding to the N4 session identifier and located on the user plane function network element.

[0286] Optionally, the multicast packet is a broadcast packet, and accordingly, the first PDR includes a broadcast address. The processing module 1802 is further configured to determine a first N4 session corresponding to a group and located on the user plane function network element. The broadcast packet belongs to the group, and the first N4 session is any one of all N4 sessions corresponding to the group and located on the user plane function network element. Accordingly, the N4 session identifier is an identifier of the first N4 session.

[0287] Alternatively, optionally, the multicast packet is a groupcast packet, and accordingly, the first PDR includes a groupcast address. The processing module 1802 is further configured to determine a second N4 session corresponding to a group and located on a user plane function network element. The groupcast packet belongs to the group, and the second N4 session is any one of the N4 sessions on the user plane function network element that corresponds to the group and supports forwarding of the groupcast packet. Accordingly, the N4 session identifier is an identifier of the second N4 session.

[0288] Optionally, the processing module 1802 being configured to determine a second N4 session corresponding to a group and located on a user plane function network element may include the processing module 1802 being configured to determine the second N4 session corresponding to the group and located on a user plane function network element based on an IGMP join message, a NAS message, or an AF message.

[0289] Any relevant content of the steps in the above method embodiments may be cited in the functional description of the corresponding functional modules, and will not be described in detail again here.

[0290] In this embodiment, the session management function network element 180 is presented in the form of a functional module obtained by division in an integrated manner. A "module" in this document may be a specific ASIC, a circuit, a processor and memory executing one or more software or firmware programs, a logic integrated circuit, and / or other part capable of providing the above-mentioned functions. Those skilled in the art will understand that in a simple embodiment, the session management function network element 180 may be in the form of a communication device 900 shown in FIG. 9.

[0291] For example, the processor 901 of the communication device 900 shown in FIG. 9 may invoke computer-executable instructions stored in memory 903 to enable the network device 900 to perform the multicast communication method in the above-described method embodiment.

[0292] Specifically, the functions / implementation processes of the transceiver module 1801 and the processing module 1802 of FIG. 18 may be implemented by the processor 901 in the communication device 900 shown in FIG. 9 by invoking computer-executable instructions stored in the memory 903. Alternatively, the functions / implementation processes of the processing module 1802 of FIG. 18 may be implemented by the processor 901 in the communication device 900 shown in FIG. 9 by invoking computer-executable instructions stored in the memory 903, and the functions / implementation processes of the transceiver module 1801 of FIG. 18 may be implemented by using the communication interface 904 in the communication device 900 shown in FIG. 9.

[0293] The session management function network element 180 provided in this embodiment of the present application can perform the above-mentioned multicast communication method. Therefore, for the technical effects that can be achieved by the session management function network element 180, please refer to the above-mentioned method embodiment. Details will not be described again here.

[0294] It should be noted that any one or more of the aforementioned modules or units may be implemented by software, hardware, or a combination thereof. When any one or more of the aforementioned modules or units are implemented using software, the software exists in the form of computer program instructions and is stored in a memory. A processor may be configured to execute the program instructions to perform the steps of the aforementioned methods. The processor may be integrated in a SoC (system on chip) or ASIC, or may be an independent semiconductor chip. The processor includes a core configured to perform a task or process by executing software instructions, and may further include necessary hardware accelerators, for example, a field programmable gate array (FPGA), a PLD (programmable logic device), or logic circuitry to perform dedicated logical operations.

[0295] If the aforementioned modules or units are implemented using hardware, the hardware may be any one or any combination of a CPU, microprocessor, digital signal processing (DSP) chip, microcontroller unit (MCU), artificial intelligence processor, ASIC, SoC, FPGA, PLD, dedicated digital circuitry, hardware accelerator, or non-integrated discrete components, and the hardware may execute necessary software or may be independent of software to perform the steps of the aforementioned method.

[0296] Optionally, an embodiment of the present application further provides a communication device (e.g., the communication device may be a chip or a chip system). The communication device includes a processor configured to perform any one of the method embodiments described above. In one possible design, the communication device further includes a memory. The memory is configured to store necessary program instructions and necessary data. The processor can call the program code stored in the memory to instruct the communication device to perform any one of the method embodiments described above. Of course, the communication device may not include a memory. If the communication device is a chip system, the communication device may include a chip, or may include a chip and another individual component. This is not specifically limited in this embodiment of the present application.

[0297] All or part of the above-mentioned embodiments may be implemented using software, hardware, firmware, or any combination thereof. When a software program is used to implement the embodiments, the embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed by a computer, the procedures or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or another programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired (e.g., coaxial cable, optical fiber, or digital subscriber line (DSL)) manner or in a wireless (e.g., infrared, wireless, or microwave) manner. A computer-readable storage medium may be any available medium accessible by a computer, or may be a data storage device, such as a server or data center, that consolidates one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk, SSD), etc.

[0298] Although the present application has been described with reference to embodiments, in the course of implementing the present application for which protection is claimed, a person skilled in the art can understand and implement other variations of the disclosed embodiments by studying the attached drawings, the disclosed content, and the appended claims. In the claims, "comprising" does not exclude other components or steps, and "one" or "an" does not exclude a plural meaning. A single processor or other unit may implement several functions recited in the claims. Although some means are recited in mutually different dependent claims, this does not mean that these means cannot be combined to produce better effects.

[0299] Although the present application has been described with reference to specific features and embodiments thereof, it is clear that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, the specification and the accompanying drawings are merely exemplary descriptions of the present application as defined by the appended claims, and any or all of the modifications, variations, combinations, or equivalents covering the scope of the present application are to be regarded as being included. It is clear that a person skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. As long as the modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application intends to cover those modifications and variations. [Explanation of symbols]

[0300] 70 Communication Systems 701 Session Management Function Network Element 702 User Plane Function Network Element 900 Communication Devices 901 Processor 902 Communication lines 903 Memory 904 Communication Interface 905 Output Device 906 Input Devices 908 Processor 170 User Plane Function Network Element 1701 Transceiver Module 1702 Processing Module 180 Session Management Function Network Element 1801 Transceiver Module 1802 Processing Module

Claims

1. 1. A multicast communication method, comprising: receiving, by a user plane function network element, a multicast packet, the multicast packet including a multicast address; matching, by the user plane function network element, the multicast packet with a packet detection rule (PDR) on the user plane function network element; If the multicast packet is successfully matched with a first PDR and the first PDR indicates to continue matching with another PDR, matching the multicast packet with another PDR by the user plane function network element; A method comprising:

2. The method comprises: duplicating, by the user plane function network element, the multicast packet if packet duplication information corresponding to the first PDR matches source information of the multicast packet; and processing the duplicated multicast packet according to a rule associated with the first PDR. The method of claim 1, further comprising:

3. The method comprises: skipping, by the user plane function network element, a process of processing the multicast packet according to a rule associated with the first PDR when packet duplication information corresponding to the first PDR does not match source information of the multicast packet. The method of claim 1, further comprising:

4. The method comprises: duplicating, by the user plane function network element, the multicast packet when packet duplication skip information corresponding to the first PDR does not match source information of the multicast packet; and processing the duplicated multicast packet according to a rule associated with the first PDR; or skipping, by the user plane function network element, a process of processing the multicast packet according to a rule associated with the first PDR when packet duplication skip information corresponding to the first PDR matches source information of the multicast packet. The method of claim 1, further comprising:

5. The packet duplication skip information corresponding to the first PDR matches the source information of the multicast packet, The packet duplication skip information corresponding to the first PDR is the same as the source information of the multicast packet; The packet duplication skip information corresponding to the first PDR does not match the source information of the multicast packet, the packet duplication skip information corresponding to the first PDR is different from the source information of the multicast packet; The method of claim 4.

6. The method according to claim 2 , wherein the multicast packet includes source information of the multicast packet, and the source information of the multicast packet includes address information of a terminal device that transmits the multicast packet.

7. The method comprises: receiving, by the user plane function network element, the source information of the multicast packet, the source information of the multicast packet including an N19 indication or an N6 indication; 6. The method of claim 2, further comprising:

8. The method of claim 7, wherein the N6 indication or the N19 indication is included in General Packet Radio Service (GPRS) Tunneling Protocol-User Plane GTP-U tunnel header information.

9. The step of matching the multicast packet with a PDR on the user plane function network element by the user plane function network element includes: determining, by the user plane function network element, an N4 session that matches the multicast packet and is present on the user plane function network element; matching, by the user plane function network element, the multicast packet with each PDR of the N4 session in descending order of priority of the PDR; 9. The method of any one of claims 1 to 8, comprising:

10. The step of matching the multicast packet with a PDR on the user plane function network element by the user plane function network element includes: matching, by the user plane function network element, the multicast packet with each PDR on the user plane function network element in descending order of priority of the PDRs.

9. The method of any one of claims 1 to 8, comprising:

11. 11. The method of claim 1, wherein the first PDR includes a continue matching instruction, the continue matching instruction being used to instruct continuing matching with another PDR.

12. The method comprises: receiving, by the user plane function network element, an N4 session identifier and the first PDR from a session management function network element, the first PDR being used to detect the multicast packet; configuring, by the user plane function network element, the first PDR in an N4 session corresponding to the N4 session identifier; 12. The method of claim 1, further comprising:

13. 13. The method according to claim 1, wherein the multicast packet is a broadcast packet and, correspondingly, the multicast address is a broadcast address, or the multicast packet comprises a group cast packet and, correspondingly, the multicast address is a group cast address.

14. A communication device, said communication device comprising a unit configured to perform the steps according to any one of claims 1 to 13.

15. A communication device, the communication device including a processor and a memory; the memory is configured to store computer instructions; Execution of the instructions by the processor enables the communications device to perform a method according to any one of claims 1 to 13. Communications equipment.

16. A communication system, comprising: a session management function network element and a user plane function network element; The session management function network element is configured to obtain a first packet detection rule (PDR), the first PDR is used to detect a multicast packet, and the first PDR indicates to continue matching with another PDR; The session management function network element is further configured to send an N4 session identifier and the first PDR to the user plane function network element; The user plane function network element is configured to receive the N4 session identifier and the first PDR from the session management function network element, and to configure the first PDR in an N4 session corresponding to the N4 session identifier; The user plane function network element is further configured to receive the multicast packet and match the multicast packet with a PDR on the user plane function network element, the multicast packet including a multicast address; The user plane function network element is further configured to, when the multicast packet successfully matches the first PDR, continue to match the multicast packet with another PDR. Communication systems.

17. the user plane function network element is further configured to duplicate the multicast packet when packet duplication information corresponding to the first PDR matches source information of the multicast packet, and process the duplicated multicast packet according to a rule associated with the first PDR; or The user plane function network element is further configured to skip a process of processing the multicast packet according to a rule associated with the first PDR when packet duplication information corresponding to the first PDR does not match source information of the multicast packet.

17. A communication system according to claim 16.

18. the user plane function network element is further configured to duplicate the multicast packet when packet duplication skip information corresponding to the first PDR does not match source information of the multicast packet, and process the duplicated multicast packet according to a rule associated with the first PDR; or The user plane function network element is further configured to skip a process of processing the multicast packet according to a rule associated with the first PDR when packet duplication skip information corresponding to the first PDR matches source information of the multicast packet.

17. A communication system according to claim 16.

19. The user plane function network element is configured to match the multicast packet with the PDR on the user plane function network element, The user plane function network element is configured to determine an N4 session that matches the multicast packet and is present on the user plane function network element, and to match the multicast packet with each PDR of the N4 session in descending order of priority of the PDRs. A communication system according to any one of claims 16 to 18.

20. The user plane function network element is configured to match the multicast packet with the PDR on the user plane function network element, The user plane function network element is configured to match the multicast packet with each PDR on the user plane function network element in descending order of priority of the PDR. A communication system according to any one of claims 16 to 18.

21. the multicast packet is a broadcast packet, and accordingly, the first PDR includes a broadcast address; The session management function network element is further configured to determine a first N4 session corresponding to a group and located on the user plane function network element, the broadcast packet belonging to the group, and the first N4 session being any one of all N4 sessions corresponding to the group and located on the user plane function network element; Correspondingly, the N4 session identifier is an identifier of the first N4 session. A communication system according to any one of claims 16 to 20.

22. the multicast packet is a groupcast packet, and accordingly, the first PDR includes a groupcast address; The session management function network element is further configured to determine a second N4 session corresponding to a group and located on the user plane function network element, the groupcast packet belongs to the group, and the second N4 session is one of the N4 sessions on the user plane function network element that correspond to the group and support forwarding of the groupcast packet; Correspondingly, the N4 session identifier is an identifier of the second N4 session. A communication system according to any one of claims 16 to 20.

23. 23. The communication system of claim 16, wherein the first PDR includes a type indication, a continue matching indication, packet duplication information, or packet duplication skip information, and the type indication, the continue matching indication, the packet duplication information, or the packet duplication skip information is used to indicate continuing matching with another PDR.

24. A computer program comprising instructions which, when executed on a computer, enable the computer to carry out a method according to any one of claims 1 to 13.

25. A computer readable storage medium comprising instructions which, when executed on a computer, enable the computer to perform the method of any one of claims 1 to 13.

26. A chip including a processor and an interface, the processor being coupled to a memory through the interface, and the method of any one of claims 1 to 13 being performed when the processor executes a computer program or instructions in the memory.

Citation Information

Patent Citations

  • Method for managing policy on network filter type base

    JP2004364305A

  • Method and apparatus for traffic routing and path optimization for peer-to-peer communications

    US20190158408A1