Multicast method and user plane functional device
By obtaining and distributing IP data packets in the user-side function UPF, and determining the work thread of the group member terminal based on the destination IP address, the problems of multicast scheme interface complexity and forwarding delay in the existing technology are solved, and efficient multicast communication.
Patent Information
- Application Number
- CN202111121706.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2041-09-24
AI Technical Summary
The existing multicast solution based on 3GPP 5G VN technology requires data to be bypassed to a dedicated multicast interface for secondary rule matching, resulting in increased interface complexity and increased forwarding delay.
UPF obtains IP data packets from the terminal through the user plane function UPF, determines the work thread of the group member terminal based on the destination IP address, and copies and distributes the packets, reducing the interface processing process and realizing multicast communication within a single UPF.
It reduces the interface complexity and forwarding delay of the multicast solution, improves forwarding efficiency, and realizes multicast communication within a single UPF without adding new interfaces.
Smart Images

Figure CN115866532B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network technology, and in particular to a multicast method and user plane functional equipment. Background Art
[0002] 5G Switch is an improved technology of the 5GVN (Virtual Network) feature of the user plane function (UPF). In this technology, point-to-point communication between terminals in a single UPF can be achieved without data bypassing the interface and instructions without N4 support.
[0003] In the multicast solution based on 3GPP 5G VN technology in related technologies, data needs to detour to a dedicated multicast interface for secondary rule matching in order to achieve multicast communication between local terminals within a single UPF. Summary of the invention
[0004] After analyzing the relevant technologies, the inventors found that the method of routing data to a dedicated multicast interface for secondary rule matching increases the complexity of the interface and increases the forwarding delay.
[0005] A technical problem to be solved by the embodiments of the present invention is: how to reduce the interface complexity of the multicast solution and reduce the forwarding delay.
[0006] According to a first aspect of some embodiments of the present invention, a multicast method is provided, comprising: a user plane function UPF obtains a network protocol IP data message from a message sent by a terminal through an N3 interface, wherein the message sent by the terminal includes multicast data that the terminal wants to send; when the destination IP address of the IP data message is a preset address, the UPF determines the working thread of the group member terminal corresponding to the sending terminal; the UPF copies and distributes the IP data message to the working threads of the group member terminals in the UPF, so that the working threads of the group member terminals add corresponding forwarding table entries; the UPF encapsulates the IP data message; the UPF sends the encapsulated message through the N3 interface, so that the group member terminals receive the encapsulated message.
[0007] In some embodiments, when the destination IP address of the IP data message is a preset broadcast address, the UPF determines a working thread of a group member terminal corresponding to the sending terminal.
[0008] In some embodiments, the preset broadcast address is 255.255.255.255.
[0009] In some embodiments, the UPF determines the working thread of the group member terminal corresponding to the sending terminal, including: the UPF determines the working thread of the group member terminal corresponding to the sending terminal based on the IP address segment information corresponding to the data network name DNN to which the sending terminal belongs or the single network slice selection auxiliary information S-NSSAI.
[0010] In some embodiments, the multicast method also includes: UPF distributes the message sent by the terminal to the working thread of the sending terminal in UPF according to the inner source IP address in the message sent by the terminal, so that the working thread of the sending terminal matches the packet detection rules and forwarding behavior rules corresponding to the message sent by the terminal, and adds corresponding forwarding table entries.
[0011] In some embodiments, the UPF decapsulates the message sent by the terminal according to the matched PDR rule to obtain the IP data message in the message sent by the terminal.
[0012] In some embodiments, the packet distribution module in the UPF distributes the message sent by the terminal to the working thread of the sending terminal in the UPF, and the method also includes: the UPF sends the IP data message to the packet distribution module according to the forwarding behavior rules, so that the packet distribution module determines whether the destination IP address of the IP data message is a broadcast address.
[0013] In some embodiments, the broadcast message is a message encapsulated through a user-level General Packet Radio Service Tunneling Protocol GTP-U tunnel, and the UPF encapsulates the IP data message into a GTP-U message.
[0014] In some embodiments, the multicast method further includes: when the destination IP address of the IP data packet is not a broadcast address, the UPF outputs the IP data packet after IP rewriting through the N6 interface.
[0015] According to a second aspect of some embodiments of the present invention, there is provided a user plane functional device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any of the aforementioned multicast methods based on instructions stored in the memory.
[0016] According to a third aspect of some embodiments of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program implements any of the aforementioned multicast methods when executed by a processor.
[0017] According to a fourth aspect of some embodiments of the present invention, a user plane functional device is provided, including: a message acquisition unit, configured to acquire a network protocol IP data message from a message sent by a terminal through an N3 interface, wherein the message sent by the terminal includes multicast data that the terminal wants to send; a thread determination unit, configured to determine the working thread of the group member terminal corresponding to the sending terminal when the destination IP address of the IP data message is a preset address; a distribution unit, configured to copy and distribute the IP data message to the working thread of the group member terminal in the UPF, so that the working thread of the group member terminal adds a corresponding forwarding table entry; an encapsulation unit, configured to encapsulate the IP data message; and a sending unit, configured to send the encapsulated message through the N3 interface, so that the group member terminal receives the encapsulated message.
[0018] In some embodiments, the message acquisition unit is located in a rule processing module of a user plane functional device.
[0019] In some embodiments, the distribution unit is further configured to distribute the message sent by the terminal to the working thread of the sending terminal in the UPF according to the inner source IP address in the message sent by the terminal, so that the working thread of the sending terminal matches the PDR rules and FAR rules corresponding to the message sent by the terminal, and adds corresponding forwarding table entries.
[0020] In some embodiments, the message acquisition unit is further configured to decapsulate the message sent by the terminal according to the matched PDR rule to obtain the IP data message in the message sent by the terminal.
[0021] In some embodiments, the thread determination unit and the distribution unit are located in a packet distribution module of the user plane function device.
[0022] In some embodiments, the user plane functional device further includes: a judgment unit, located in the inner IP data packet distribution module of the user plane functional device, configured to judge whether the destination IP address of the IP data packet is a broadcast address.
[0023] Some embodiments of the above invention realize multicast communication from one terminal to multiple terminals within a group range within a single UPF. In addition, the method of this embodiment does not require adding new interfaces, thereby reducing the additional IP layer processing process caused by introducing new interfaces, reducing forwarding delay, and improving forwarding efficiency.
[0024] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0026] Figure 1 A schematic flow chart of a multicast method according to some embodiments of the present invention is shown.
[0027] Figure 2 A schematic flow chart of a multicast method according to some other embodiments of the present invention is shown.
[0028] Figure 3 A schematic diagram of a UPF data processing flow according to some embodiments of the present invention is shown.
[0029] Figure 4 A schematic structural diagram of a user plane function device according to some embodiments of the present invention is shown.
[0030] Figure 5 A schematic structural diagram of user plane function equipment according to some other embodiments of the present invention is shown.
[0031] Figure 6 A schematic structural diagram of user plane function equipment according to some further embodiments of the present invention is shown.
[0032] Figure 7 A schematic structural diagram of user plane function equipment according to some further embodiments of the present invention is shown. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] The relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
[0035] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0036] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0037] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0038] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0039] Figure 1 FIG. 2 shows a flow chart of a multicast method according to some embodiments of the present invention. Figure 1 As shown, the multicast method of this embodiment includes steps S102 to S110.
[0040] In step S102, the UPF obtains an Internet protocol IP data message from a message sent by the terminal through the N3 interface, wherein the message sent by the terminal includes multicast data that the terminal wants to send.
[0041] In some embodiments, the UPF distributes the message sent by the terminal to the work thread of the sending terminal in the UPF according to the inner source IP (Internet Protocol) address in the message sent by the terminal, so that the work thread of the sending terminal matches the packet detection rule (PDR) and forwarding action rules (FAR) corresponding to the message sent by the terminal, and adds corresponding forwarding table entries. Therefore, subsequent incoming packets can be directly forwarded.
[0042] In some embodiments, the UPF decapsulates the message sent by the terminal according to the matched PDR rule to obtain the IP data message in the message sent by the terminal.
[0043] In some embodiments, the message sent by the terminal enters the UPF after being encapsulated in the GTP-U (GPRS Tunnelling Protocol for the user plane) tunnel of the N3 interface. The UPF performs IP lookup, local processing, UDP (User Datagram Protocol) processing and other operations on the IP of the outer layer of the encapsulated tunnel message, and then extracts the GTP-U message from it.
[0044] UPF also distributes GTP-U messages to the session traffic working thread of the sending terminal based on the source IP address of the inner layer of the message, that is, the IP address of the sending terminal. The working thread of the sending terminal matches the first packet, matches the PDR rule according to the F-TEID (Full Qualified Tunnel Endpoint ID), and further obtains the FAR, BAR (Buffering Action Rule), QER (Qos Enforment Rules) and URR (Usage Reporting Rules) rules, and adds a new forwarding table entry in the working thread, so that subsequent incoming packets can be forwarded directly.
[0045] UPF decapsulates the GTP-U header according to the PDR rule, and continues to process the inner IP datagram according to the obtained FAR rule.
[0046] In step S104, when the destination IP address of the IP data message is a preset address, the UPF determines a working thread of the group member terminal corresponding to the sending terminal.
[0047] When the destination IP address of the IP data message is a preset address, it can be identified that the message includes data to be multicast, and needs to be further processed by the working thread involved in the receiver of the multicast data, that is, the group member corresponding to the sending terminal.
[0048] In some embodiments, when the destination IP address of the IP datagram is a preset broadcast address, the UPF determines the working thread of the group member terminal corresponding to the sending terminal. Thus, even if the multicast address is not used, the multicast effect is achieved, the maintenance operation of the multicast address list is omitted, and the efficiency is improved.
[0049] In some embodiments, the preset broadcast address is 255.255.255.255.
[0050] In some embodiments, the UPF determines the working thread of the group member terminal corresponding to the sending terminal according to the IP address segment information corresponding to the data network name (Data Network Name, DNN) or S-NSSAI (Single Network Slice Selection Assistance Information) to which the sending terminal belongs. Since the UPF itself has a corresponding relationship between the DNN or S-NSSAI and the IP address segment, this embodiment can more conveniently implement the multicast range management of the group.
[0051] If the broadcast address of 255.255.255.255 is used, and the address segment restriction of DNN or S-NSSAI is added, the multicast effect can be achieved without using the multicast address, eliminating the maintenance operation of the multicast address list and improving efficiency.
[0052] In step S106, the UPF copies and distributes the IP data message to the working threads of the group member terminals in the UPF, so that the working threads of the group member terminals add corresponding forwarding table entries.
[0053] In step S108, UPF encapsulates the IP datagram.
[0054] In some embodiments, the UPF encapsulates the IP datagram as a GTP-U message.
[0055] In step S110, the UPF sends the encapsulated message through the N3 interface so that the group member terminal receives the encapsulated message.
[0056] In some embodiments, the UPF outputs the encapsulated message to the N3 interface after performing IP query and IP rewriting.
[0057] The method of the above embodiment realizes multicast communication from one terminal to multiple terminals within a group range within a single UPF. In addition, the method of the above embodiment does not require a new interface, thereby reducing the additional IP layer processing process caused by the introduction of a new interface, reducing the forwarding delay, and improving the forwarding efficiency.
[0058] For messages encapsulated through the GTP-U tunnel of the N3 interface, the above embodiment reduces the additional IP layer processing caused by the introduction of the new interface 2, and the two rule matching and processing processes are completed at the GTP-U layer, thereby effectively improving the forwarding efficiency.
[0059] In some embodiments, UPF uses non-multicast message process processing modules to process multicast data messages. These process processing modules include packet distribution modules, terminal session traffic work thread modules, rule processing modules, and inner IP data message distribution modules. Figure 2 FIG. 2 shows a flow chart of a multicast method according to some other embodiments of the present invention. Figure 2 As shown, the multicast method of this embodiment includes steps S202 to S230.
[0060] In step S202, the UPF receives a broadcast message with an uplink destination address of 255.255.255.255 sent by the terminal through the N3 interface. The broadcast message enters the UPF after being encapsulated in the GTP-U tunnel of the N3 interface. The UPF performs IP layer processing such as IP lookup, local processing, and UDP processing on the IP layer of the outer layer of the tunnel message, and extracts the GTP-U message from it.
[0061] In step S204, the GTP-U message is sent to the packet distribution module for processing.
[0062] In step S206, the packet distribution module of the UPF distributes the message to the terminal session traffic working thread module according to the inner source IP address of the message, that is, the IP address of the sending terminal.
[0063] In step S208, the work thread of the sending terminal in the terminal session traffic work thread module matches the first packet of the message, matches the PDR rule according to the F-TEID of the message, and further obtains the FAR, BAR, QER, and URR rules. Then, the work thread of the sending terminal adds a forwarding table entry, so that subsequent incoming packets can be directly forwarded according to the forwarding table entry.
[0064] In step S210, the GTP-U message is sent to the rule processing module.
[0065] In step S212, the rule processing module decapsulates the GTP-U packet header according to the PDR indication corresponding to the matched PDR rule.
[0066] In step S214, the rule processing module sends the inner IP data message obtained after decapsulation to the inner IP packet distribution module according to the obtained FAR rule.
[0067] In step S216, the inner IP packet distribution module determines whether the destination IP address of the IP data message is a broadcast address.
[0068] If yes, go to step S218.
[0069] In step S218, the UPF distributes the IP datagram back to the packet distribution module.
[0070] In step S220, the packet distribution module determines the working thread of the group member terminal corresponding to the sending terminal, and copies and distributes the IP data message to the terminal session traffic working thread module.
[0071] In some embodiments, the working thread of the group member terminal is searched according to the IP address segment information corresponding to the DNN or S-NSSAI to which the sending terminal belongs.
[0072] In step S222, the working thread of the group member terminal in the terminal session traffic working thread module performs first packet matching on the message, matches the PDR rule according to the F-TEID of the message, and further obtains the FAR, BAR, QER, and URR rules. Then, the working thread of the group member terminal adds a forwarding entry, so that subsequent incoming packets can be directly forwarded according to the forwarding entry.
[0073] In step S224, the IP datagram is sent to the rule processing module.
[0074] In step S226, the rule processing module forwards the IP data packet to the GTP-U tunnel encapsulation module according to the instructions of the matched PDR rule and FAR rule.
[0075] In step S228, the GTP-U tunnel encapsulation module encapsulates the IP data message with a GTP-U header, and then transfers it to the IP layer for output.
[0076] In step S230, the IP layer output processing module queries the route according to the destination IP address of the message, and after IP query and IP rewriting, the encapsulated message IP is output to the N3 interface.
[0077] Therefore, the above embodiment completes multicast communication from one terminal to multiple terminals within the group range of a single UPF.
[0078] The above embodiment utilizes the packet distribution module, terminal session traffic working thread module, rule processing module, and inner IP packet distribution module in the UPF to process the message containing the multicast data. Moreover, after the data message has been processed by the "packet distribution module-terminal session traffic working thread module-rule processing module-inner IP packet distribution module", when the UPF recognizes that the message includes the data to be multicast, the inner IP data message is made to cycle again in the "packet distribution module-terminal session traffic working thread module-rule processing module", and the inner IP data message is guided to the working thread of the group member terminal for processing, thereby realizing the sending of multicast data. This embodiment utilizes the inherent functional modules of the UPF, does not require the addition of new interfaces, and thus reduces the workload of upgrading and transformation.
[0079] The embodiments of the present invention do not affect the forwarding of common data messages. Figure 3 FIG. 1 is a schematic diagram showing a UPF data processing flow according to some embodiments of the present invention. Figure 3 As shown, this embodiment at least executes steps S202 to S216, and after the determination in step S216, if the destination IP address of the IP data message is not a broadcast address, this embodiment further includes step S318.
[0080] In step S318, the route is queried according to the destination IP address of the IP datagram, and after IP query and IP rewriting, the IP datagram is output to the N6 interface.
[0081] Therefore, the UPF of this embodiment is compatible with the transmission of non-multicast data and multicast data, and the changes to the UPF are relatively small.
[0082] Reference below Figure 4 and Figure 5 An embodiment of a user plane function device of the present invention is described.
[0083] Figure 4 FIG. 2 shows a schematic diagram of the structure of a user plane function device according to some embodiments of the present invention. Figure 4 As shown, the user plane function device 40 of this embodiment includes: a message acquisition unit 4100, configured to obtain a network protocol IP data message from a message sent by a terminal through an N3 interface, wherein the message sent by the terminal includes multicast data that the terminal wants to send; a thread determination unit 4200, configured to determine the working thread of the group member terminal corresponding to the sending terminal when the destination IP address of the IP data message is a preset address; a distribution unit 4300, configured to copy and distribute the IP data message to the working thread of the group member terminal in the UPF, so that the working thread of the group member terminal adds a corresponding forwarding table entry; an encapsulation unit 4400, configured to encapsulate the IP data message; and a sending unit 4500, configured to send the encapsulated message through the N3 interface, so that the group member terminal receives the encapsulated message.
[0084] In some embodiments, the distribution unit 4300 is further configured to determine a working thread of a group member terminal corresponding to the sending terminal when the destination IP address of the IP data message is a preset broadcast address.
[0085] In some embodiments, the preset broadcast address is 255.255.255.255.
[0086] In some embodiments, the distribution unit 4300 is further configured to distribute the message sent by the terminal to the working thread of the sending terminal in the UPF according to the inner source IP address in the message sent by the terminal, so that the working thread of the sending terminal matches the PDR rules and FAR rules corresponding to the message sent by the terminal, and adds corresponding forwarding table entries.
[0087] In some embodiments, the message acquisition unit 4100 is further configured to decapsulate the message sent by the terminal according to the matched PDR rule to obtain the IP data message in the message sent by the terminal.
[0088] In some embodiments, the user plane function device 40 further includes a determination unit 4600 configured to determine whether the destination IP address of the IP data packet is a broadcast address.
[0089] Figure 5 FIG. 2 shows a schematic diagram of the structure of a user plane function device according to some other embodiments of the present invention. Figure 5 As shown, the user plane function device 40 of this embodiment includes a packet distribution module 510 , a terminal session traffic work thread module 520 , a rule processing module 530 , and an inner IP data packet distribution module 540 .
[0090] In some embodiments, the message acquisition unit 4100 is located in the rule processing module 530 of the user plane functional device.
[0091] In some embodiments, the thread determination unit 4200 and the distribution unit 4300 are located in the packet distribution module 510 of the user plane function device.
[0092] In some embodiments, the determination unit 4600 is located in the inner IP datagram distribution module 540 .
[0093] Figure 6 FIG. 2 shows a schematic diagram of the structure of a user plane function device according to some other embodiments of the present invention. Figure 6 As shown, the user plane function device 60 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610 , and the processor 620 is configured to execute the multicast method in any one of the aforementioned embodiments based on instructions stored in the memory 610 .
[0094] The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.
[0095] Figure 7 FIG. 2 shows a schematic diagram of the structure of a user plane function device according to some further embodiments of the present invention. Figure 7 As shown, the user plane function device 70 of this embodiment includes: a memory 710 and a processor 720, and may also include an input / output interface 730, a network interface 740, a storage interface 750, etc. These interfaces 730, 740, 750 and the memory 710 and the processor 720 may be connected, for example, via a bus 760. Among them, the input / output interface 730 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 740 provides a connection interface for various networked devices. The storage interface 750 provides a connection interface for external storage devices such as SD cards and USB flash drives.
[0096] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements any one of the aforementioned data processing methods when executed by a processor.
[0097] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0098] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0099] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0100] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0101] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A multicast method, comprising: The user plane function UPF obtains a network protocol IP data message from a message sent by the sending terminal through the N3 interface, wherein the message sent by the sending terminal includes multicast data to be sent by the sending terminal, wherein the message enters the UPF after being encapsulated through the GTP-U tunnel of the N3 interface; The UPF distributes the message sent by the sending terminal to the working thread of the sending terminal in the UPF according to the inner source IP address in the message sent by the sending terminal, wherein, when the IP data message is the first packet, the working thread of the sending terminal matches the packet detection rule and forwarding behavior rule corresponding to the message sent by the sending terminal, and adds a corresponding forwarding table entry in the working thread; In a case where the destination IP address of the IP data message is a preset address, the UPF determines a working thread of a group member terminal corresponding to the sending terminal; The UPF copies and distributes the IP data message to the working thread of the group member terminal in the UPF, so that the working thread of the group member terminal adds a corresponding forwarding table entry; The UPF encapsulates the IP data message into a GTP-U message; The UPF sends the encapsulated message through the N3 interface so that the group member terminal receives the encapsulated message.
2. The multicast method according to claim 1, wherein: In a case where the destination IP address of the IP data message is a preset broadcast address, the UPF determines a working thread of a group member terminal corresponding to the sending terminal.
3. The multicast method according to claim 2, wherein: The preset broadcast address is 255.255.255.
255.
4. The multicast method according to claim 1, wherein: The UPF determines the working thread of the group member terminal corresponding to the sending terminal including: The UPF determines the working thread of the group member terminal corresponding to the sending terminal according to the data network name DNN to which the sending terminal belongs or the IP address segment information corresponding to the single network slice selection auxiliary information S-NSSAI.
5. The multicast method according to claim 1, wherein: The UPF decapsulates the message sent by the sending terminal according to the matched PDR rule to obtain the IP data message in the message sent by the sending terminal.
6. The multicast method according to claim 1, wherein: The packet distribution module in the UPF distributes the message sent by the sending terminal to the working thread of the sending terminal in the UPF, and the method further includes: The UPF sends the IP datagram to the packet distribution module according to the forwarding behavior rule, so that the packet distribution module determines whether the destination IP address of the IP datagram is a broadcast address.
7. The multicast method according to claim 1, wherein: The broadcast message is a message encapsulated by the General Packet Radio Service Tunneling Protocol GTP-U tunnel at the user level, and the UPF encapsulates the IP data message into a GTP-U message.
8. The multicast method according to claim 1, further comprising: When the destination IP address of the IP datagram is not a broadcast address, the UPF outputs the IP datagram after IP rewriting through the N6 interface.
9. A user plane function device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the multicast method according to any one of claims 1 to 8 based on instructions stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the multicast method according to any one of claims 1 to 8.
11. A user plane function device, comprising: A message acquisition unit, configured to acquire a network protocol IP data message from a message sent by a sending terminal through an N3 interface, wherein the message sent by the sending terminal includes multicast data to be sent by the sending terminal, wherein the message enters the UPF after being encapsulated through a GTP-U tunnel of the N3 interface; a thread determination unit configured to determine a working thread of a group member terminal corresponding to the sending terminal when the destination IP address of the IP data message is a preset address; A distribution unit is configured to distribute the message sent by the terminal to the working thread of the sending terminal in the UPF according to the inner source IP address in the message sent by the terminal, wherein, when the IP data message is the first packet, the working thread of the sending terminal matches the packet detection rule and forwarding behavior rule corresponding to the message sent by the terminal, adds a corresponding forwarding table entry in the working thread, and forwards the IP data message; when the IP data message is not the first packet, directly forward the IP data message according to the newly added forwarding table entry; copy and distribute the IP data message to the working thread of the group member terminal in the UPF, so that the working thread of the group member terminal adds a corresponding forwarding table entry; an encapsulation unit, configured to encapsulate the IP data message into a GTP-U message; The sending unit is configured to send the encapsulated message through the N3 interface so that the group member terminal receives the encapsulated message.
12. The user plane function device according to claim 11, wherein: The message acquisition unit is located in the rule processing module of the user plane functional device.
13. The user plane function device according to claim 11, wherein: The message acquisition unit is further configured to decapsulate the message sent by the sending terminal according to the matched PDR rule to obtain the IP data message in the message sent by the sending terminal.
14. The user plane function device according to claim 11, wherein: The thread determination unit and the distribution unit are located in a packet distribution module of the user plane functional device.
15. The user plane function device according to claim 11, further comprising: The judging unit, located in the inner IP datagram distribution module of the user plane functional device, is configured to judge whether the destination IP address of the IP datagram is a broadcast address.
