Routing configuration method and device

By inserting I-UPF into the user plane path of the 5G virtual network, and generating and sending routing rules, the problem of high I-UPF forwarding delay is solved and the packet forwarding efficiency is improved.

CN113133079BActive Publication Date: 2024-09-13HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911418712.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-31
Publication Date
2024-09-13
Estimated Expiration
2039-12-31

AI Technical Summary

Technical Problem

In the existing 5G virtual network, I-UPF in the user plane path causes high packet forwarding delay when the terminal moves, resulting in low efficiency.

Method used

When I-UPF is inserted into the user plane path, the session management network element generates and sends routing rules, so that I-UPF can directly send packets whose destination address information is other terminals to the corresponding A-UPF, reducing forwarding nodes. Improve forwarding efficiency.

Benefits of technology

The forwarding delay of messages is reduced, the forwarding efficiency is improved, and the data transmission path between terminals is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113133079B
    Figure CN113133079B
Patent Text Reader

Abstract

The present application provides a routing configuration method and device, which relate to the field of communication technology. The method includes: after the first terminal moves out of the service range of the UPF currently providing services, the first SMF inserts the first I-UPF in the user plane path of the first terminal, and configures the first routing rule corresponding to the second terminal for the first I-UPF, and the first routing rule is used to send the message whose destination address information is the address information of the second terminal to the second A-UPF. Among them, the second A-UPF is different from the first A-UPF, the second A-UPF provides an anchor service for the second terminal, and the first A-UPF provides an anchor service for the first terminal. Therefore, the address information message whose destination address information is the address information of the second terminal can be directly forwarded from the first I-UPF to the first A-UPF, without being forwarded by the first I-UPF to the second A-UPF through the first A-UPF, which is conducive to reducing the message forwarding delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a routing configuration method and device. Background Art

[0002] The fifth generation (5G) virtual network (5GVN) (also known as the 5G local area network (5GLAN)) service is a service provided by the current 5G network, which is mainly used in home communications, corporate offices, factory manufacturing, Internet of Vehicles, power grid transformation and public security agencies. The 5GVN service can provide private communications of Internet protocol (IP) type or non-IP type (such as Ethernet type) for two or more terminal devices in a group of terminal devices. For example, the devices in the factory form a 5GVN group, and different devices can send Ethernet data packets to each other; or, the office equipment (such as mobile phones, computers or laptops) of employees in a department of an enterprise form a 5GVN group, and different office equipment can send IP data packets to each other, and so on. If two terminal devices are not in the same 5GVN group, they cannot communicate with each other.

[0003] At present, since the service scope of the user plane function (UPF) in the 5G core network is limited, for any terminal in the 5GVN group (the first terminal is taken as an example below), the first terminal may move out of the service scope of the UPF that provides services to the first terminal. In the case where the first terminal moves out of the service scope of the UPF that currently provides services to the first terminal, in order to ensure the service continuity of the first terminal, an intermediate UPF (I-UPF) is inserted into the user plane path of the first terminal, and the access network device accessed by the first terminal is connected to the anchor UPF (A-UPF) corresponding to the protocol data unit (PDU) session of the first terminal by the I-UPF. When the I-UPF is inserted into the user plane path of the first terminal, the existing routing configuration method has defects, resulting in a high forwarding delay of some messages. For example, in the prior art, the I-UPF only establishes a tunnel with the A-UPF corresponding to the PDU session of the first terminal, so that the routing rules configured on the I-UPF are used to send all uplink messages to the A-UPF corresponding to the PDU session of the first terminal. This results in that the routing rules configured on the I-UPF cannot efficiently forward the message sent by the first terminal to the terminals served by other A-UPFs. Summary of the invention

[0004] The present application provides a routing configuration method and device, which are used to improve the routing configuration method in the prior art when an I-UPF is inserted into the user plane path of a first terminal, so as to reduce the forwarding delay of the message and improve the forwarding efficiency of the message.

[0005] In a first aspect, a routing configuration method is provided, comprising: a first session management network element determines a first intermediate user plane network element that provides services for a first terminal in a virtual network group, the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and the access network device to which the first terminal is connected, and the first anchor user plane network element is a user plane anchor of a protocol data unit (PDU) session of the first terminal; the first session management network element obtains uplink tunnel information of a second anchor user plane network element and address information of a corresponding second terminal; wherein the second anchor user plane network element satisfies the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in a service area of ​​the second anchor user plane network element; (2) the second anchor user plane network element is different from the first anchor user plane network element. Afterwards, the first session management network element generates a first routing rule corresponding to the second terminal according to the address information of the second terminal and the uplink tunnel information of the second anchor user plane network element, and the first routing rule is used to send a message whose destination address information is the address information of the second terminal to the second anchor user plane network element. The first session management network element sends a first routing rule to the first intermediate user plane network element.

[0006] Based on the technical solution provided in the first aspect, when the first intermediate user plane network element is inserted into the user plane path of the first terminal, the first session management network element generates a first routing rule corresponding to the second terminal, and sends the first routing rule to the first anchor user plane network element, so that the first anchor user plane network element can install the first routing rule. Therefore, compared with the prior art in which the first intermediate user plane network element needs to first forward the message whose destination address information is the address information of the second terminal to the first anchor user plane network element, and then the first anchor user plane network element forwards the message to the second anchor user plane network element, the technical solution provided by the present application can directly send the message whose destination address information is the address information of the second terminal to the second anchor user plane network element according to the first routing rule. It can be seen that the technical solution of the present application reduces the forwarding nodes that the message whose destination address information is the address information of the second terminal needs to pass through, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0007] In one possible design, the method further includes: the first session management network element obtains the uplink tunnel information of the first anchor user plane network element; the first session management network element generates a second routing rule based on the uplink tunnel information of the first anchor user plane network element, and the second routing rule is used to send the message that does not match other routing rules to the first anchor user plane network element; the first session management network element sends the second routing rule to the first intermediate user plane network element. Based on this design, the first intermediate user plane network element can install the second routing rule, so that the first intermediate user plane network element can normally forward the message whose destination address information is not the address information of the second terminal.

[0008] In one possible design, the method further includes: the first session management network element obtains the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal is connected; the first session management network element generates a third routing rule corresponding to the first terminal based on the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal is connected, and the third routing rule is used to send a message whose destination address information is the address information of the first terminal to the access network device to which the first terminal is connected; the first session management network element sends the third routing rule to the first intermediate user plane network element. Based on this design, the first intermediate user plane network element can install the third routing rule, so that the first intermediate user plane network element can normally forward the message whose destination address information is the address information of the first terminal.

[0009] In a possible design, the method further includes: the first session management network element obtains the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected, and the third terminal is other terminals in the virtual network group except the first terminal and provided with services by the first intermediate user plane network element; the first session management network element generates a fifth routing rule corresponding to the third terminal according to the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected, and the fifth routing rule is used to send a message whose destination address information is the address information of the third terminal to the access network device to which the third terminal is connected; the first session management network element sends the fifth routing rule to the first intermediate user plane network element. Based on this design, the first intermediate user plane network element can install the fifth routing rule corresponding to the third terminal. Thus, the first intermediate user plane network element can forward the message sent by the first terminal to the third terminal in a local switching manner, thereby reducing the delay of the message sent by the first terminal to the third terminal.

[0010] In one possible design, the method further includes: if the first session management network element is an anchor session management network element, the first session management network element obtains the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element, and the anchor session management network element is used to manage the anchor user plane network element that provides services for the virtual network group; the first session management network element generates a fourth routing rule corresponding to the second anchor user plane network element according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element, and the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element; the first session management network element sends the fourth routing rule to the second anchor user plane network element. Based on this design, the second anchor user plane network element can install the fourth routing rule. Compared with the prior art, the second anchor user plane network element needs to send the message whose destination address information is the address information of the first terminal to the first anchor user plane network element, and then the first anchor user plane network element sends the message to the first intermediate user plane network element. In the technical solution provided by the present application, the second anchor user plane network element can directly send the message whose destination address information is the address information of the first terminal to the first intermediate user plane network element according to the fourth routing rule. It can be seen that the technical solution of the present application reduces the forwarding nodes that the message whose destination address information is the address information of the first terminal needs to pass through, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0011] In one possible design, the method also includes: if the first session management network element is not an anchor session management network element, the first session management network element obtains the downlink tunnel information of the second anchor user plane network element, and the anchor session management network element is used to manage the anchor user plane network element that provides services for the virtual network group; the first session management network element sends the downlink tunnel information of the second anchor user plane network element to the anchor session management network element, and the downlink tunnel information of the second anchor user plane network element is used to enable the anchor session management network element to generate a fourth routing rule corresponding to the second anchor user plane network element, and the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element.

[0012] In a second aspect, a routing configuration method is provided, including: a first intermediate user plane network element receives a first routing rule corresponding to a second terminal sent by a first session management network element; wherein the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; the first anchor user plane network element is a user plane anchor of a PDU session of the first terminal; the second terminal and the first terminal belong to the same virtual network group; the first routing rule is used to send a message whose destination address information is the address information of the second terminal to the second anchor user plane network element; the second anchor user plane network element meets the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in a service area of ​​the second anchor user plane network element; (2) the second anchor user plane network element is different from the first anchor user plane network element. The first intermediate user plane network element installs the first routing rule.

[0013] Based on the technical solution provided by the second aspect, when the first intermediate user plane network element is inserted into the user plane path of the first terminal, the first anchor user plane network element receives the first routing rule and installs the first routing rule. Therefore, compared with the prior art in which the first intermediate user plane network element needs to first forward the message with the destination address information being the address information of the second terminal to the first anchor user plane network element, and then the first anchor user plane network element forwards the message to the second anchor user plane network element, the technical solution provided by the present application can directly send the message with the destination address information being the address information of the second terminal to the second anchor user plane network element according to the first routing rule. It can be seen that the technical solution of the present application reduces the forwarding nodes that the message with the destination address information being the address information of the second terminal needs to pass through, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0014] In one possible design, the method further includes: the first intermediate user plane network element receives a second routing rule sent by the first session management network element, the second routing rule is used to send a message that does not match other routing rules to the first anchor user plane network element; the first intermediate user plane network element installs the second routing rule. Based on this design, based on the second routing rule, the first intermediate user plane network element can normally forward a message whose destination address information is not the address information of the second terminal.

[0015] In one possible design, the method further includes: the first intermediate user plane network element receives a third routing rule sent by the first session management network element, the third routing rule being used to send a message whose destination address information is the address information of the first terminal to an access network device to which the first terminal is connected; and the first intermediate user plane network element installs the third routing rule. Based on this design, based on the third routing rule, the first intermediate user plane network element can normally forward the message whose destination address information is the address information of the first terminal.

[0016] In one possible design, the method further includes: the first intermediate user plane network element receives the fifth routing rule corresponding to the third terminal, the third terminal is other terminals in the virtual network group except the first terminal and provided with services by the first intermediate user plane network element, and the fifth routing rule is used to send a message whose destination address information is the address information of the third terminal to the access network device connected to the third terminal; the first intermediate user plane network element installs the fifth routing rule. Based on this design, based on the fifth routing rule corresponding to the third terminal, the first intermediate user plane network element can forward the message sent by the first terminal to the third terminal in a local switching manner, thereby reducing the delay of the message sent by the first terminal to the third terminal.

[0017] According to a third aspect, a routing configuration method is provided, including: when a first intermediate user plane network element is inserted into a user plane path of a first terminal, an anchor session management network element obtains address information of the first terminal in a virtual network group; the anchor session management network element is used to manage anchor user plane network elements that provide services for the virtual network group, the anchor user plane network element being a user plane anchor point for a PDU session of at least one terminal in the virtual network group; the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; the first anchor user plane network element is a user plane anchor point for a PDU session of the first terminal; The session management network element obtains the downlink tunnel information of the second anchor user plane network element; wherein the second anchor user plane network element is the anchor user plane network elements other than the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group; the anchor session management network element generates a fourth routing rule corresponding to the second anchor user plane network element according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element; wherein the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element; the anchor session management network element sends the fourth routing rule to the second anchor user plane network element.

[0018] Based on the technical solution provided by the third aspect, when the first intermediate user plane network element is inserted into the user plane path of the first terminal, the anchor session management network element generates a fourth routing rule corresponding to the second anchor user plane network element, and sends the fourth routing rule to the second anchor user plane network element, so that the second anchor user plane network element installs the routing rule. Therefore, compared with the prior art, the second anchor user plane network element needs to send a message with the destination address information being the address information of the first terminal to the first anchor user plane network element, and then the first anchor user plane network element sends the message to the first intermediate user plane network element. In the technical solution provided by the present application, the second anchor user plane network element can directly send the message with the destination address information being the address information of the first terminal to the first intermediate user plane network element according to the fourth routing rule. It can be seen that the technical solution of the present application reduces the forwarding nodes that the message with the destination address information being the address information of the first terminal needs to pass through, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0019] In a fourth aspect, a routing configuration method is provided, including: a second anchor user plane network element receives a fourth routing rule; wherein the second anchor user plane network element is other anchor user plane network elements excluding the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group; the anchor user plane network element is the user plane anchor point of the PDU session of at least one terminal in the virtual network group; the first anchor user plane network element is the user plane anchor point of the PDU session of the first terminal; the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element; the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; and the second anchor user plane network element installs the fourth routing rule.

[0020] Based on the technical solution provided in the fourth aspect, compared with the prior art, the second anchor user plane network element needs to send a message whose destination address information is the address information of the first terminal to the first anchor user plane network element, and then the first anchor user plane network element sends the message to the first intermediate user plane network element. In the technical solution provided by the present application, the second anchor user plane network element can directly send the message whose destination address information is the address information of the first terminal to the first intermediate user plane network element according to the fourth routing rule. It can be seen that the technical solution of the present application reduces the forwarding nodes that the message whose destination address information is the address information of the first terminal needs to pass through, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0021] In a fifth aspect, a communication device is provided, comprising a processing unit and a communication unit. The processing unit is used to determine a first intermediate user plane network element that provides services for a first terminal in a virtual network group; obtain address information of a second terminal and uplink tunnel information of a second anchor user plane network element that provides services for the second terminal; generate a first routing rule corresponding to the second terminal according to the address information of the second terminal and the uplink tunnel information of the second anchor user plane network element; wherein the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; the first anchor user plane network element is a user plane anchor point for a PDU session of the first terminal; the first routing rule is used to send a message whose destination address information is the address information of the second terminal to the second anchor user plane network element; the second anchor user plane network element satisfies the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in a service area of ​​the second anchor user plane network element; (2) the second anchor user plane network element is different from the first anchor user plane network element. The communication unit is used to send the first routing rule to the first intermediate user plane network element.

[0022] In one possible design, the processing unit is also used to obtain the uplink tunnel information of the first anchor user plane network element; generate a second routing rule based on the uplink tunnel information of the first anchor user plane network element; the second routing rule is used to send messages that do not match other routing rules to the first anchor user plane network element; the communication unit is also used to send the second routing rule to the first intermediate user plane network element.

[0023] In one possible design, the processing unit is further used to obtain the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal is connected; based on the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal is connected, generate a third routing rule corresponding to the first terminal; the third routing rule is used to send a message whose destination address information is the address information of the first terminal to the access network device to which the first terminal is connected. The communication unit is further used to send the third routing rule to the first intermediate user plane network element.

[0024] In one possible design, the processing unit is further used to obtain the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected; according to the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected, generate a fifth routing rule corresponding to the third terminal; wherein the third terminal is other terminals in the virtual network group except the first terminal and provided with services by the first intermediate user plane network element; the fifth routing rule is used to send a message whose destination address information is the address information of the third terminal to the access network device to which the third terminal is connected. The communication unit is further used to send the fifth routing rule to the first intermediate user plane network element.

[0025] In one possible design, the processing unit is further configured to, when the first session management network element is an anchor session management network element, obtain the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element; generate a fourth routing rule corresponding to the second anchor user plane network element according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element; the anchor session management network element is used to manage the anchor user plane network element that provides services for the virtual network group; the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element. The communication unit is further configured to send the fourth routing rule to the second anchor user plane network element.

[0026] In one possible design, the processing unit is further used to obtain the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element when the first session management network element is an anchor session management network element; the anchor session management network element is used to manage the anchor user plane network element that provides services for the virtual network group; the downlink tunnel information of the second anchor user plane network element is used to enable the anchor session management network element to generate a fourth routing rule corresponding to the second anchor user plane network element, and the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element. The communication unit is also used to send the downlink tunnel information of the second anchor user plane network element to the anchor session management network element.

[0027] In a sixth aspect, a communication device is provided, comprising: a communication unit, configured to receive a first routing rule corresponding to a second terminal sent by a first session management network element after inserting a first intermediate user plane network element into a user plane path of a first terminal; wherein the first intermediate user plane network element is configured to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; the first anchor user plane network element is a user plane anchor of a PDU session of the first terminal; the second terminal and the first terminal belong to the same virtual network group; the first routing rule is configured to send a message whose destination address information is the address information of the second terminal to the second anchor user plane network element; the second anchor user plane network element satisfies the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in a service area of ​​the second anchor user plane network element; and (2) the second anchor user plane network element is different from the first anchor user plane network element. A processing unit, configured to install the first routing rule corresponding to the second terminal.

[0028] In one possible design, the communication unit is further used to receive a second routing rule sent by the first session management network element, and the second routing rule is used to send a message that does not match other routing rules to the first anchor user plane network element. The processing unit is also used to install the second routing rule.

[0029] In one possible design, the communication unit is further used to receive a third routing rule sent by the first session management network element, and the third routing rule is used to send a message whose destination address information is the address information of the first terminal to an access network device to which the first terminal is connected. The processing unit is also used to install the third routing rule.

[0030] In one possible design, the communication unit is further used to receive a fifth routing rule corresponding to a third terminal, where the third terminal is another terminal in the virtual network group that is served by the first intermediate user plane network element except the first terminal, and the fifth routing rule is used to send a message whose destination address information is the address information of the third terminal to an access network device to which the third terminal is connected. The processing unit is further used to install the fifth routing rule.

[0031] In a seventh aspect, a communication device is provided, comprising a processing unit and a communication unit. The processing unit is used to obtain the address information of the first terminal in the virtual network group; obtain the downlink tunnel information of the second anchor user plane network element; generate a fourth routing rule corresponding to the second anchor user plane network element according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element; wherein the second anchor user plane network element is other anchor user plane network elements except the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group; the first anchor user plane network element is the user plane anchor point of the PDU session of the first terminal; the first intermediate user plane network element is used to maintain the communication between the first anchor user plane network element and the access network device to which the first terminal is connected; the fourth routing rule is used to send the message whose destination address information is the address information of the first terminal to the first intermediate user plane network element. The communication unit is used to send the fourth routing rule to the second anchor user plane network element.

[0032] In an eighth aspect, a communication device is provided, the communication device is used to implement the function of a second anchor user plane network element, the second anchor user plane network element is the anchor user plane network element other than the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group; the anchor user plane network element is the user plane anchor point of the PDU session of at least one terminal in the virtual network group; the first anchor user plane network element is the user plane anchor point of the PDU session of the first terminal; the communication device includes a processing unit and a communication unit. The communication unit is also used to receive a fourth routing rule; wherein the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element; the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and the access network device to which the first terminal is connected. The processing unit is also used to install the fourth routing rule.

[0033] In a ninth aspect, a communication device is provided, comprising a processor and a communication interface, wherein the processor is used to execute computer program instructions so that the communication device implements a routing configuration method involved in any one of the designs provided in any one of the first to fourth aspects.

[0034] In a tenth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer implements a routing configuration method involved in any one of the designs provided in any one of the first to fourth aspects.

[0035] In an eleventh aspect, a computer program product is provided, which includes instructions. When the computer program product is run on a computer, the computer implements the routing configuration method involved in any one of the designs provided in any one of the first to fourth aspects.

[0036] In a twelfth aspect, a chip is provided, which includes a processor. When the processor executes computer program instructions, the computer implements the routing configuration method involved in any design provided in any one of the first to fourth aspects.

[0037] In a thirteenth aspect, a communication system is provided, comprising a first session management function (SMF), a first I-UPF, an A-SMF, and a second A-UPF. The first SMF is used to execute the routing configuration method involved in any one of the designs in the first aspect. The first I-UPF is used to execute the routing configuration method involved in any one of the designs in the second aspect. The A-SMF is used to execute the routing configuration method involved in any one of the designs in the third aspect. The second A-UPF is used to execute the routing configuration method involved in any one of the designs in the fourth aspect.

[0038] Among them, the beneficial effects of any aspect from the ninth to the thirteenth aspect can refer to the description of the corresponding design in the first or second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of the system architecture of 5GVN;

[0040] Figure 2 A schematic diagram of the architecture of a 5G network provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of a process for a terminal to establish a session to access a 5GVN service;

[0042] Figure 4 A schematic diagram of a 5GVN system architecture 1 in the prior art;

[0043] Figure 5 A flowchart of a routing configuration method for implementing a system architecture 1 of 5GVN;

[0044] Figure 6 A schematic diagram of a 5GVN system architecture 2 provided in an embodiment of the present application;

[0045] Figure 7 A flowchart of a routing configuration method provided in an embodiment of the present application;

[0046] Figure 8 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0047] Fig. 9 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0048] Fig.10 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0049] Fig.11 A schematic diagram of a 5GVN system architecture provided in an embodiment of the present application;

[0050] Fig.12 A schematic diagram of another 5GVN system architecture provided in an embodiment of the present application;

[0051] Fig.13 A schematic diagram of another 5GVN system architecture provided in an embodiment of the present application;

[0052] Fig.14 A schematic diagram of another 5GVN system architecture provided in an embodiment of the present application;

[0053] Fig.15 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0054] Fig.16 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0055] Fig.17 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0056] Fig.18 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0057] Fig.19 A flowchart of another routing configuration method provided in an embodiment of the present application;

[0058] Fig. 20A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0059] Fig.21 A schematic diagram of the structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0061] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0062] In order to facilitate understanding of the technical solution of the present application, the technical terms involved in the present application are briefly introduced below.

[0063] 1. PDU Session

[0064] The 5G core network supports the PDU connection service, which is a service for exchanging PDU data packets between the terminal and the data network (DN). The PDU connection service is implemented by the terminal initiating the establishment of a PDU session. When the terminal establishes a PDU session, it establishes a data transmission channel between the terminal and the DN.

[0065] It should be noted that the terminal can initiate the establishment of one or more PDU sessions to connect to the same DN or different DNs. The terminal can initiate the establishment of a PDU session based on a group of core network elements (such as SMF network elements, policy control function (PCF) network elements and UPF network elements, etc.).

[0066] Each PDU session supports a PDU session type. Exemplarily, the PDU session type can be IPv4, IPv6, ethernet, etc.

[0067] 2. N4 Conversation

[0068] A PDU session can be served by one or more UPFs. In order to manage the UPFs that provide services for the PDU session, the SMF can control the functions of the UPF through the N4 session management process. For example, the SMF can create, update, or delete the N4 session context in the UPF.

[0069] The N4 session context is identified by the N4 session ID. Both SMF and UPF generate the N4 session context to store parameters related to the N4 session, such as the N4 session ID, all packet detection rules (PDR), forwarding action rules (FAR), quality of services (QoS), QoS enforcement rules (QER), and usage reporting rules (URR) for the N4 session.

[0070] UPF forwards the messages of the PDU session by using the PDR, FAR, QER, URR and other parameters in the N4 session context.

[0071] Exemplarily, after receiving a message from the ingress, the UPF determines the N4 session to which the message belongs. Then, the UPF uses the PDR (which may be one or more) in the N4 session context to match the characteristic information of the message and find the PDR that matches the message. The PDR specifies the FAR, QER, and URR corresponding to the message. Thus, the UPF can perform operations such as dropping, forwarding, buffering, reporting to the control plane, or duplicating the message based on the FAR. The UPF network element can perform QoS operations on the message based on the QER. The UPF network element can report statistical information on the message based on the URR.

[0072] 3. Tunnels

[0073] In the embodiments of the present application, tunnels can be divided into the following two types: (1) Tunnels between access network devices and UPFs. Tunnels between access network devices and UPFs can have other names, such as next generation network (next generation, N) 3 interface (abbreviated as N3) tunnels. (2) Tunnels between two UPFs. Tunnels between two UPFs can have other names. For example, a tunnel between an A-UPF and an I-UPF can be called an N9 tunnel. A tunnel between two A-UPFs can be called an N19 tunnel.

[0074] It should be noted that the tunnel may be a tunnel at a session granularity, a tunnel at a device granularity, or a tunnel at a group granularity.

[0075] The session-granular tunnel refers to a tunnel used only for one PDU session. The session-granular tunnel is only used to transmit data packets of the corresponding PDU session.

[0076] A device-granular tunnel refers to a unique tunnel established between two devices (eg, a RAN node and a UPF), which is used to transmit data of all terminals served by the two devices.

[0077] A tunnel with group granularity refers to a tunnel used by all terminals in a group. A tunnel with group granularity is only used to transmit data packets of terminals in the corresponding group.

[0078] 4. A-UPF, A-SMF

[0079] A-UPF is the user plane anchor point of the PDU session of at least one terminal in the 5GVN group. It is understandable that in the 5GVN group, different terminals may have different user plane anchor points for PDU sessions, so there may be multiple A-UPFs providing services for the 5GVN group.

[0080] A-SMF is an SMF used to manage A-UPF.

[0081] The above is an introduction to the technical terms involved in this application, which will not be repeated below.

[0082] For 5GVN services, the 3rd generation partnership project (3GPP) technical rule (TR) 23.734 proposes to support one-to-one and one-to-many communications of 5GVN. Specifically, to support one-to-one and one-to-many communications of 5GVN, the 3GPP network is required to support group-based unicast, multicast and broadcast, support the replication and distribution of multicast and broadcast messages, and support any terminal as a multicast source.

[0083] To meet this requirement, the current 3GPP technical standard (TS) 23.501 defines that a 5G VN is managed by only one SMF. Figure 1 As shown, the SMF manages a single or multiple UPFs simultaneously. Figure 1 In the figure, the SMF management of UPF1 and UPF2 is used as an example. UPF1 and UPF2 maintain routing rules. UPF1 and UPF2 can forward messages according to their own routing rules. Figure 1When there is one-to-one communication between two terminals (e.g., Terminal 1 and Terminal 2 in the example), the transmission is done by UPF local switch. Figure 1 If there is one-to-one communication between terminal 1 and terminal 3), it needs to be transmitted through the tunnel between UPF1 and UPF2.

[0084] In an embodiment of the present application, two UPFs can establish a tunnel by exchanging tunnel information through SMF. The tunnel (or forwarding path) corresponding to the tunnel information of the UPF network element can be constructed using a virtual local area network (VLAN), a virtual extensible LAN (VxLAN), a general packet radio service (GPRS) tunneling protocol-user plane (GTP-U), a generic routing encapsulation protocol (GRE) or an IP tunnel. The above construction method can be dynamic or pre-configured in the network, and the embodiment of the present application does not specifically limit this. Among them, the corresponding tunnel information is not the same when different construction methods are used. For example, when VLAN is used to construct the tunnel, the tunnel information may be UPF ID, UPF ID+virtual local area network identifier (VLAN ID, VID) or media access control (MAC)+VID; or, for example, when VxLAN is used to construct the tunnel, the tunnel information may be UPF ID, UPFID+VID, IP address+VID, or IP address+port number (port)+VID; or, for example, when GTP-U is used to construct the tunnel, the tunnel information may be UPF ID, UPF ID+tunnel endpoint identifier (TEID), IP address+TEID, or IP address+port+TEID; or, for example, when GRE is used to construct the tunnel, the tunnel information may be UPF ID, UPF ID+key, IP address+key, or IP address+port+key; or, when IP tunnel is used to construct the tunnel, the tunnel information may be UPF ID, IP address, or IP address+port. Among them, if there is a UPF ID in the tunnel information, the UPF ID can be a MAC address or an IP address, or an IP address + port, or the SMF network element or the UPF network element can determine the corresponding MAC address or IP address, or IP address + port according to the UPF ID. This is explained here uniformly and will not be repeated below.

[0085] exist Figure 1 In the architecture shown, SMF is mainly responsible for all control plane functions of terminal session management, including UPF selection and control, IP address allocation and management, session quality of service (QoS) management, and obtaining policy and charging control (PCC) policy from PCF.

[0086] exist Figure 1 In the architecture shown, UPF serves as the anchor point for the PDU session connection and is responsible for terminal data packet filtering, data transmission / forwarding, rate control, generation of billing information, user plane QoS processing, uplink transmission authentication, transmission level verification, downlink data packet caching, and downlink data notification triggering.

[0087] exist Figure 1 In the architecture shown, the radio access network (RAN) refers to the RAN node, and the RAN node can also be called an access network device. For example, it can be a transmission reception point (TRP), a base station, various forms of control nodes (for example, a network controller, a wireless controller (for example, a wireless controller in a cloud radio access network (CRAN) scenario)), etc. Specifically, the RAN node can be various forms of macro base stations, micro base stations (also called small stations), relay stations, access points (APs), etc., and can also be antenna panels of base stations. The control node can connect to multiple base stations and configure resources for multiple terminals covered by the multiple base stations. In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, in a long term evolution (LTE) system, it can be called an evolved NodeB (eNB or eNodeB), and in a 5G system or NR system, it can be called a next generation node base station (gNB). This application does not limit the specific name of the base station. The RAN node may also be a network device in a future evolved public land mobile network (PLMN).

[0088] exist Figure 1In the architecture shown, a terminal is an entity on the user side for receiving a signal, or sending a signal, or receiving and sending a signal. The terminal is used to provide one or more of a voice service and a data connectivity service to the user. The terminal may also be referred to as user equipment (UE), terminal equipment, access terminal, user unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. The terminal may be a V2X device, such as a smart car (or intelligent car), a digital car (digital car), an unmanned car (or driverless car or pilotless car or automobile), an automatic car (self-driving car or autonomous car), a pure electric vehicle (pure EV or Battery EV), a hybrid electric vehicle (HEV), a range extended EV (REEV), a plug-in hybrid electric vehicle (PHEV), a new energy vehicle (new energy vehicle), and a roadside unit (road site unit, RSU). The terminal may also be a D2D device, such as an electric meter, a water meter, etc. The terminal may also be a mobile station (MS), a subscriber unit, a drone, an Internet of Things (IoT) device, a station (ST) in a WLAN, a cellular phone, a smart phone, a cordless phone, a wireless data card, a tablet computer, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) device, a laptop computer, a machine type communication (MTC) terminal, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device (also referred to as a wearable smart device). The terminal may also be a terminal in a next generation communication system, such as a terminal in a 5G system or a terminal in a future evolved PLMN, a terminal in an NR system, etc.

[0089] Optional, such as Figure 2 As shown, the current 5G network may also include the following network elements: access and mobility management function (core access and mobility management function, AMF) network element, authentication server function (authentication server function, AUSF) network element, network slice selection function (network slice selection function, NSSF) network element, network exposure function (network exposure function, NEF) network element, network function storage function (network exposure function Repository Function, NRF) network element, policy control function (policy control function, PCF) network element, unified data management (unified data management, UDM) network element and application function (application function, AF) network element, etc., and the embodiments of the present application do not make specific limitations on this.

[0090] like Figure 3 As shown, the process of establishing a PDU session for a terminal to access a 5GVN service includes the following steps:

[0091] S11. The terminal sends a session establishment request message to AMF, so that AMF receives the session establishment request message sent by the terminal.

[0092] The session establishment request message is used to request the establishment of a PDU session. The session establishment request includes the terminal identifier and the 5GVN group identifier.

[0093] In an embodiment of the present application, the identifier of the terminal in the session request establishment request message may include one or more of the following: subscription permanent identifier (SUPI), generic public subscription identifier (GPSI), international mobile subscriber identification number (IMSI), mobile station integrated services digital network number (MSISDN), global unique temporary identifier (GUTI), data network-related identity (for example, network access identifier (NAI), local area network-specific user identifier, fourth version of the Internet Protocol (internet protocol version 4, IPv4) address, sixth version of the Internet Protocol (internet protocol version 6, IPv6) address, MAC address, or MAC address + VID, etc.

[0094] In an embodiment of the present application, the 5GVN group identifier may also be referred to as a 5GVN identifier. The identifier of the 5GVN group is used to determine the corresponding 5GVN group. That is, a 5GVN group has a unique 5GVN group identifier. The identifier of the 5GVN group may be: data network name (DNN), group ID (Group ID), DNN+single network slice selection assistance information (S-NSSAI), etc.

[0095] S12. AMF sends a session establishment request message to A-SMF, so that A-SMF receives the session establishment request message sent by AMF.

[0096] It should be noted that how AMF selects SMF to establish a PDU session can be referred to the existing technology and will not be repeated here.

[0097] S13. A-SMF determines the A-UPF that provides services for the terminal and establishes an N4 session on the A-UPF.

[0098] It should be noted that how the A-SMF selects the A-UPF to provide services to the terminal can be referred to the existing technology and will not be repeated here.

[0099] In step S13, after determining the A-UPF provided for the terminal, the A-SMF generates a routing rule. Afterwards, the A-SMF sends the routing rule to the A-UPF so that the A-UPF can install the corresponding routing rule, thereby ensuring that the A-UPF can smoothly forward the message of the 5GVN group.

[0100] Combination Figure 1 For example, taking terminal 3 as an example, UPF2 will be configured with routing rule 1 corresponding to terminal 3, and routing rule 1 is used to send a message whose destination address information is the address information of terminal 3 to RAN node 3. In addition, UPF2 will be configured with routing rule 2 corresponding to terminal 2 and routing rule 3 corresponding to terminal 1. Among them, routing rule 2 is used to send a message whose destination address information is the address information of terminal 2 to UPF1. Routing rule 3 is used to send a message whose destination address information is the address information of terminal 1 to UPF1.

[0101] based on Figure 3 As shown in the process, all terminals in 5GVN can access 5GVN services by establishing PDU sessions.

[0102] Some concepts are defined below to facilitate the introduction of the embodiments of the present application.

[0103] (1) The first terminal may be any online terminal in the 5GVN group. The online terminal refers to a terminal that has established a PDU session to access the 5GVN service.

[0104] (2) The first A-UPF is the user plane anchor point of the PDU session of the first terminal.

[0105] (3) The first I-UPF is a UPF inserted between the first A-UPF and the access network device to which the first terminal is connected when the first terminal moves out of the first A-UPF. The first I-UPF is used to maintain communication between the first A-UPF and the access network device to which the first terminal is connected.

[0106] (4) The second A-UPF is an A-UPF other than the first A-UPF among the A-UPFs providing services for the 5GVN group. The second A-UPF satisfies the following conditions: 1. The second A-UPF provides an anchor service for the second terminal in the 5GVN; the second terminal is located within the service area of ​​the second A-UPF corresponding to it. 2. The second A-UPF is different from the first A-UPF.

[0107] In an embodiment of the present application, the A-UPF is a UPF that provides anchor services for the terminal, and the A-UPF can also be referred to as the user plane anchor of the PDU session of the terminal.

[0108] (5) The second terminal and the first terminal belong to the same 5GVN group. The user plane anchor point of the PDU session of the second terminal is the second A-UPF. And the second terminal is located in the service area of ​​its corresponding second A-UPF. The second terminal is located in the service area of ​​its corresponding second A-UPF means: a transmission tunnel (the transmission tunnel can be an N3 tunnel) is established between the second A-UPF and the access network device to which the second terminal accesses; or the second A-UPF is the N3 termination point of the second terminal; or the second A-UPF is the termination point of the data packet of the second terminal on the wireless access network.

[0109] (6) The third terminal belongs to the same 5GVN group as the first terminal. The third terminal is any other terminal in the 5GVN group served by the first I-UPF except the first terminal. It can be understood that the third terminal is within the service range of the first I-UPF. A transmission tunnel is established between the access network device accessed by the third terminal and the first I-UPF. That is to say, the first I-UPF is the N3 termination point of the third terminal; or the first I-UPF is the termination point of the data packet of the third terminal on the wireless access network.

[0110] refer to Fig.11 , A-UPF1 provides anchor service for UE1 and UE2, and A-UPF2 provides anchor service for UE3 and UE4. Among them, UE1 and UE2 are located in the service area of ​​A-UPF1, and UE3 and UE4 are located in the service area of ​​A-UPF2.

[0111] Currently, since the service range of UPF is limited, the movement of the first terminal may cause the first terminal to move out of the service range of the first A-UPF. If the first terminal switches A-UPF, the first terminal needs to disconnect the PDU session and re-establish the PDU session after disconnecting the PDU session, resulting in the service continuity of the first terminal being affected.

[0112] In order to solve this technical problem, the prior art proposes the following solution: when the first terminal moves out of the service range of the first A-UPF, the first I-UPF is inserted into the user plane path of the first terminal. The first I-UPF is located between the access network device to which the first terminal is connected and the first A-UPF. In this process, since the user plane anchor point of the PDU session does not change, the first terminal does not need to disconnect the PDU session and re-establish the PDU session, thereby ensuring the service continuity of the first terminal.

[0113] refer to Fig.12When UE1 moves out of the service area of ​​A-UPF1 due to location movement, in order to maintain session continuity on UE1, the network can insert an intermediate UPF (i.e., I-UPF1) for UE1. A transmission tunnel is established between the access network device accessed by UE1 and I-UPF1, indicating that UE1 is in the service area of ​​I-UPF1. At this time, UE2 is still in the service area of ​​A-UPF1, and UE3 and UE4 are still in the service area of ​​A-UPF2.

[0114] refer to Fig.13 , when UE4 moves out of the service area of ​​A-UPF2 due to location movement, in order to maintain session continuity on UE4, the network can insert an intermediate UPF (i.e., I-UPF2) for UE4. A transmission tunnel is established between the access network device connected to UE4 and I-UPF2, indicating that UE4 is located in the service area of ​​I-UPF2. At this time, UE2 is still in the service area of ​​A-UPF1, UE3 is still in the service area of ​​A-UPF2, and UE1 is still in the service area of ​​I-UPF1.

[0115] refer to Fig.14 When UE2 moves out of the service area of ​​A-UPF1 due to location movement, in order to maintain session continuity on UE2, the network can insert an intermediate UPF for UE2. At this time, the network may select the same I-UPF (i.e., I-UPF1) for UE2 and UE1. A transmission tunnel is established between the access network device connected to UE2 and I-UPF1, indicating that UE2 is located in the service area of ​​I-UPF1. At this time, UE1 is still in the service area of ​​I-UPF1, UE3 is still in the service area of ​​A-UPF2, and UE4 is still in the service area of ​​I-UPF2.

[0116] In the case of introducing I-UPF, the prior art provides a 5GVN system architecture 1: the first I-UPF only establishes a transmission tunnel with the first A-UPF in the 5GVN, and does not establish a transmission tunnel with other A-UPFs in the 5GVN. Exemplarily, the transmission tunnel between the I-UPF and the A-UPF can be an N9 tunnel.

[0117] For example, Figure 4 A schematic diagram of a 5GVN system architecture 1 provided by the prior art. Figure 4In the figure, the user plane anchor point of UE1's PDU session is A-UPF1, the user plane anchor point of UE2's PDU session is A-UPF1, the user plane anchor point of UE3's PDU session is A-UPF2, and the user plane anchor point of UE4's PDU session is A-UPF2. I-UPF1 is the I-UPF inserted after UE1 moves out of the service range of A-UPF1, I-UPF2 is the I-UPF inserted after UE2 moves out of the service range of A-UPF1, and I-UPF3 is the I-UPF inserted after UE4 moves out of the service range of A-UPF3. I-UPF1 establishes an N9 tunnel with A-UPF1, but not with A-UPF2. I-UPF2 establishes an N9 tunnel with A-UPF1, but not with A-UPF2.

[0118] Exemplarily, taking the scenario where the first terminal moves out of the service range of the first A-UPF but does not move out of the service range of the A-SMF as an example, the routing configuration method based on the 5GVN system architecture 1 is introduced. Figure 5 As shown, the routing configuration method includes the following steps:

[0119] S21. The A-SMF determines that the first terminal moves out of the service range of the first A-UPF.

[0120] S22. A-SMF determines the first I-UPF.

[0121] S23. A-SMF configures routing rules on the first I-UPF.

[0122] As a possible implementation, the A-SMF generates routing rule 1 and routing rule 2, and sends an N4 session creation modification request message to the first I-UPF. The N4 session creation modification request message includes routing rule 1 and routing rule 2. In this way, routing rule 1 and routing rule 2 can be installed on the first I-UPF.

[0123] Routing rule 1 is used to forward the uplink message received by the first I-UPF. Specifically, routing rule 1 is the default routing rule. Routing rule 1 is used to send messages that do not match other routing rules to the first A-UPF. That is, routing rule 1 is used to send all uplink messages to the first A-UPF.

[0124] Routing rule 2 is used to forward the downlink message received by the first I-UPF. Specifically, routing rule 2 is used to send a message whose destination address information is the address information of the first terminal to the access network device to which the first terminal accesses.

[0125] S24. A-SMF configures routing rules on the first A-UPF.

[0126] As a possible implementation, the A-SMF generates routing rule 3 and sends an N4 session modification request message to the first A-UPF, wherein the N4 session modification request message includes routing rule 3. In this way, the first A-UPF deletes the previous routing rule related to the first terminal and installs routing rule 3.

[0127] Routing rule 3 is used to send a message whose destination address information is the address information of the first terminal to the first I-UPF.

[0128] based on Figure 5 The routing configuration method shown opens up the N9 tunnel between the first I-UPF and the first A-UPF in the 5GVN, so that the 5GVN can be built based on the system architecture 1.

[0129] However, the 5GVN system architecture 1 has the following disadvantages:

[0130] (1) The message sent by the first terminal to the terminal using the second A-UPF as the user plane anchor point needs to be transmitted over a long path, resulting in a large transmission delay of the message, which affects the transmission efficiency of the message.

[0131] Combination Figure 4 For example, UE1 is the first terminal, A-UPF1 is the first A-UPF, A-UPF2 is the second A-UPF, and UE3 is the terminal with the second A-UPF as the user plane anchor point. The message sent by UE1 to UE3 needs to be forwarded by I-UPF1 to A-UPF1, then forwarded by A-UPF1 to A-UPF2, and finally sent by A-UPF2 to UE3 through the access network device connected to UE3.

[0132] (2) The message sent by the terminal using the second A-UPF as the user plane anchor point to the first terminal needs to be transmitted over a longer path, resulting in a large message transmission delay, which affects the message transmission efficiency.

[0133] Combination Figure 4 For example, UE1 is the first terminal, A-UPF1 is the first A-UPF, A-UPF2 is the second A-UPF, and UE3 is the terminal with the second A-UPF as the user plane anchor point. The message sent by UE3 to UE1 needs to be forwarded by A-UPF2 to A-UPF1, then forwarded by A-UPF1 to I-UPF1, and finally sent by I-UPF1 to UE1 through the access network device accessed by UE1.

[0134] In summary, based on the 5GVN system architecture 1, there are technical problems of low forwarding efficiency and large forwarding delay of messages transmitted between the first terminal and other terminals with the second A-UPF as the user plane anchor point.

[0135] In order to solve the above technical problems, an embodiment of the present application provides a 5GVN system architecture 2: the I-UPF establishes a transmission tunnel with each A-UPF in the 5GVN.

[0136] For example, Figure 6 A schematic diagram of a system architecture 2 provided in an embodiment of the present application. Figure 6 In the figure, the user plane anchor point of UE1's PDU session is A-UPF1, the user plane anchor point of UE2's PDU session is A-UPF1, the user plane anchor point of UE3's PDU session is A-UPF2, and the user plane anchor point of UE4's PDU session is A-UPF2. I-UPF1 is the I-UPF inserted after UE1 moves out of the service range of A-UPF1, I-UPF2 is the I-UPF inserted after UE2 moves out of the service range of A-UPF1, and I-UPF3 is the I-UPF inserted after UE4 moves out of the service range of A-UPF3. I-UPF1 has established N9 tunnels with A-UPF1 and A-UPF2. I-UPF2 has established N9 tunnels with A-UPF1 and A-UPF2. I-UPF3 has established N9 tunnels with A-UPF1 and A-UPF2.

[0137] Combination Figure 6 For example, UE1 is the first terminal, A-UPF1 is the first A-UPF, A-UPF2 is the second A-UPF, and UE3 is the terminal with the second A-UPF as the user plane anchor point. The message sent by UE1 to UE3 is directly forwarded by I-UPF1 to A-UPF2, and finally sent by A-UPF2 to UE3 through the access network device connected to UE3.

[0138] Combination Figure 6 As an example, the message sent from UE3 to UE1 is directly forwarded by A-UPF2 to I-UPF1, and finally sent by I-UPF1 to UE1 via the access network device to which UE1 accesses.

[0139] It can be seen that with respect to the shortcomings of the system architecture 1 of 5GVN, since the first I-UPF and each A-UPF in 5GVN establish a transmission tunnel, that is, there is a transmission tunnel between the first I-UPF and the second A-UPF, the first I-UPF and the second A-UPF can directly transmit messages, thereby shortening the forwarding path of messages transmitted between the terminal served by the first I-UPF and the terminal served by the second A-UPF, reducing the forwarding delay of messages, and improving forwarding efficiency.

[0140] The following introduces the routing configuration method for implementing the system architecture 2 of 5GVN.

[0141] On the first aspect, the first SMF configures the routing rules on the first I-UPF according to the following routing configuration method, so that the first I-UPF can normally forward the messages sent by the first terminal to other terminals in the 5GVN group.

[0142] like Figure 7 As shown, a routing configuration method provided in an embodiment of the present application includes the following steps:

[0143] S101. The first SMF determines the first I-UPF that provides services for the first terminal in the 5GVN group.

[0144] The first SMF may be an SMF that provides services to the first terminal after the first terminal moves. The first SMF may be an A-SMF or an I-SMF.

[0145] The first I-UPF is used to maintain communication between the first A-UPF and the access network device to which the first terminal accesses. In other words, the first I-UPF can be used to transmit messages between the first A-UPF and the access network device to which the first terminal accesses.

[0146] As a possible implementation method, the first SMF can determine the first I-UPF based on factors such as the location of the first terminal, the service scope of each UPF managed by the first SMF, and the service capability of each UPF managed by the first SMF.

[0147] Optionally, the first I-UPF may be one of the following two cases:

[0148] Case 1: The first I-UPF is one of the I-UPFs already existing in the 5GVN.

[0149] It can be understood that before the first terminal moves out of the service range of the UPF currently providing services to the first terminal, other terminals in the 5GVN group may have moved out of the service range of the UPF providing services to other terminals, so that the I-UPF has been inserted into the user plane path of other terminals, so that one or more I-UPFs can exist in the 5GVN.

[0150] For example, before terminal 1 moves out of the service range of A-SMF, I-UPF1, I-UPF2, and I-UPF3 already exist in 5GVN. After terminal 1 moves out of the service range of A-SMF, AMF selects I-SMF1 to provide services for terminal 1; then, I-SMF1 selects the existing I-UPF1 to provide services for terminal 1. This I-UPF1 is the first I-UPF.

[0151] Case 2: The first I-UPF is the I-UPF newly inserted into the 5GVN.

[0152] For example, before terminal 1 moves out of the service range of A-SMF, I-UPF1, I-UPF2, and I-UPF3 already exist in 5GVN. After terminal 1 moves out of the service range of A-SMF, AMF selects I-SMF1 to provide services for terminal 1; then, I-SMF1 inserts I-UPF4 in 5GVN and uses I-UPF4 to provide services for terminal 1. I-UPF4 is the first I-UPF.

[0153] S102. The first SMF obtains the uplink tunnel information of the second A-UPF and the address information of the corresponding second terminal.

[0154] The uplink tunnel information corresponding to the second A-UPF is used to establish an uplink tunnel between the second A-UPF and the first I-UPF. Optionally, the uplink tunnel information corresponding to the second A-UPF is N9 uplink tunnel information. The N9 tunnel corresponding to the N9 uplink tunnel information corresponding to the second A-UPF may be session-granular, group-granular, or device-granular, but the embodiments of the present application are not limited thereto. Exemplarily, the N9 uplink tunnel information corresponding to the second A-UPF may include: address information and port number of the second A-UPF.

[0155] It can be understood that the uplink tunnel information of other A-UPFs (such as the first A-UPF) can refer to the description of the uplink tunnel information of the second A-UPF, which will not be repeated below.

[0156] It should be noted that the first SMF can allocate the uplink tunnel information of the second A-UPF to the second A-UPF. Alternatively, the first SMF can receive the uplink tunnel information of the second A-UPF sent by the second A-UPF. Alternatively, the first SMF can receive the uplink tunnel information of the second A-UPF sent by the second SMF.

[0157] In the embodiment of the present application, the second SMF may be the SMF that provided services to the first terminal before the first terminal moved. It should be noted that the second SMF is an A-SMF and the first SMF is an I-SMF. Alternatively, the second SMF is a source I-SMF and the first SMF is a target I-SMF.

[0158] The address information of the second terminal is used by other devices to address the second terminal. In an embodiment of the present application, the address information of the second terminal may be an IPv4 address, an IPv6 address, a MAC address, an international mobile equipment identity (IMEI), an international mobile subscriber identity (IMSI), or a fifth generation globally unique temporary identity (5G-GUTI), etc. of the second terminal.

[0159] It is understandable that the address information of other terminals (such as the first terminal) can refer to the description of the address information of the second terminal, which will not be repeated below.

[0160] It should be noted that the first SMF may obtain the address information of the second terminal from the context stored in the first SMF, or the first SMF receives the address information of the second terminal sent by the second SMF.

[0161] S103. The first SMF generates a first routing rule corresponding to the second terminal according to the uplink tunnel information of the second A-UPF and the address information of the corresponding second terminal.

[0162] The first routing rule includes the address information of the second terminal and the uplink tunnel information corresponding to the second A-UPF providing service for the second terminal. The second routing rule is used to send the message whose destination address information is the address information of the second terminal to the second A-UPF providing service for the second terminal.

[0163] Exemplarily, the first routing rule may include a first PDR and a first FAR, wherein the destination address information in the first PDR is the address information of the second terminal, and the first FAR includes uplink tunnel information of a second A-UPF providing services for the second terminal.

[0164] S104. The first SMF sends the first routing rule to the first I-UPF, so that the first I-UPF receives the first routing rule sent by the first SMF.

[0165] As a possible implementation, the first SMF sends an N4 session creation request message to the first I-UPF. The N4 session creation request message is used to request the creation of an N4 session context corresponding to the PDU session of the first terminal. The N4 session creation request message includes a first routing rule corresponding to the second terminal.

[0166] S105. The first I-UPF installs a first routing rule.

[0167] Taking the first routing rule including the first PDR and the first FAR as an example, after the first I-UPF installs the first routing rule corresponding to the second terminal, when the message received by the first I-UPF from the entrance matches the first PDR, the first I-UPF forwards the message from the exit to the second A-UPF according to the first FAR corresponding to the first PDR.

[0168] Understandably, Figure 7 The routing configuration method shown is applicable to any second terminal. Therefore, the first routing rule corresponding to each second terminal can be installed on the first I-UPF.

[0169] based on Figure 7 In the technical solution shown, since the first routing rule corresponding to the second terminal is installed on the first I-UPF, the message whose destination address information is the address information of the second terminal served by the second A-UPF can be directly forwarded from the first I-UPF to the second A-UPF, rather than first being sent from the first I-UPF to the first A-UPF and then forwarded from the first A-UPF to the second A-UPF. It can be seen that based on the technical solution of the present application, the forwarding path of the message sent from the first terminal to the second terminal is shortened, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0170] exist Figure 7 Based on the technical solution shown in FIG. 1 , the embodiment of the present application also provides the following routing configuration method. Figure 8 As shown, the routing configuration method also includes steps S106-S109.

[0171] S106. The first SMF obtains the uplink tunnel information of the first A-UPF.

[0172] It should be noted that the first SMF may allocate the uplink tunnel information of the first A-UPF to the first A-UPF. Alternatively, the first SMF may receive the uplink tunnel information of the first A-UPF sent by the first A-UPF. Alternatively, the first SMF may receive the uplink tunnel information of the first A-UPF sent by the second SMF.

[0173] S107. The first SMF generates a second routing rule according to the uplink tunnel information of the first A-UPF.

[0174] The second routing rule includes uplink tunnel information of the first A-UPF.

[0175] It should be noted that the priority of the second routing rule is lower than other routing rules except the second routing rule. The second routing rule is used to send the message that does not match other routing rules to the first A-UPF. That is, the second routing rule is the default routing rule (or default routing rule).

[0176] Exemplarily, the other routing rules mentioned above may refer to the first routing rule mentioned above or the third routing rule mentioned below.

[0177] Exemplarily, the second routing rule may include a second PDR and a second FAR. The destination address information of the second PDR is set to "unknown". The second FAR includes uplink tunnel information of the first A-UPF.

[0178] S108. The first SMF sends the second routing rule to the first I-UPF, so that the first I-UPF receives the second routing rule sent by the first SMF.

[0179] As a possible implementation, the first SMF sends an N4 session creation request message to the first I-UPF. The N4 session creation request message is used to request the creation of an N4 session context corresponding to the PDU session of the first terminal. The N4 session creation request message includes a second routing rule.

[0180] S109. The first I-UPF installs the second routing rule.

[0181] Taking the second routing rule including the second PDR and the second FAR as an example, after the first I-UPF installs the second routing rule, when the message received by the first I-UPF from the ingress does not match other PDRs, the first I-UPF determines that the message matches the second PDR. Thus, the first I-UPF forwards the message from the egress to the first A-UPF according to the second FAR corresponding to the second PDR.

[0182] It should be noted that the embodiment of the present application does not limit the execution order between steps S102-S105 and steps S106-S109. That is, steps S102-S105 may be executed first, and then steps S106-S109; or, steps S106-S109 may be executed first, and then steps S102-S105; or, steps S106-S109 and steps S102-S105 may be executed simultaneously.

[0183] based on Figure 8 In the technical solution shown, since the first I-UPF installs the second routing rule, it can be ensured that the first I-UPF can normally forward messages sent to other terminals except the second terminal.

[0184] exist Figure 7 Based on the technical solution shown in FIG. 1 , the embodiment of the present application also provides the following routing configuration method. Fig. 9 As shown, the routing configuration method also includes the following steps S110-S113.

[0185] S110. The first SMF obtains the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal is connected.

[0186] It should be noted that the first SMF may obtain the address information of the first terminal from the context stored in the first SMF itself. Alternatively, the first SMF may receive the address information of the first terminal sent by the second SMF.

[0187] The downlink tunnel information of the access network device accessed by the first terminal is used to establish a downlink tunnel between the first I-UPF and the access network device accessed by the first terminal. Optionally, the downlink tunnel information of the access network device accessed by the first terminal may be N3 downlink tunnel information. Exemplarily, the N3 downlink tunnel information may include address information and port number of the access network device accessed by the first terminal.

[0188] It can be understood that the downlink tunnel information of the access network device accessed by other terminals (such as the third terminal) can refer to the description of the downlink tunnel information of the access network device accessed by the first terminal, which will not be repeated below.

[0189] It should be noted that the first SMF can obtain the tunnel information of the access network device to which the first terminal is connected from the AMF.

[0190] S111. The first SMF generates a third routing rule corresponding to the first terminal according to the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal accesses.

[0191] The third routing rule includes the address information of the first terminal and the downlink tunnel information of the access network device accessed by the first terminal. The third routing rule is used to send a message whose destination address information is the address information of the first terminal to the access network device accessed by the first terminal.

[0192] Exemplarily, the third routing rule includes a third PDR and a third FAR, wherein the third PDR includes address information of the first terminal, and the third FAR includes downlink tunnel information of an access network device accessed by the first terminal.

[0193] S112. The first SMF sends the third routing rule to the first I-UPF, so that the first I-UPF receives the third routing rule sent by the first SMF.

[0194] As a possible implementation manner, the first SMF sends an N4 session creation request message to the first I-UPF, where the N4 session creation request message includes a third routing rule.

[0195] S113. The first I-UPF installs the third routing rule.

[0196] Taking the third routing rule including the third PDR and the third FAR as an example, after the first I-UPF installs the third routing rule, when the message received by the first I-UPF from the entrance matches the third PDR, the first I-UPF forwards the message from the exit to the access network device to which the first terminal is connected according to the third FAR corresponding to the third PDR.

[0197] It should be noted that the embodiment of the present application does not limit the execution order between steps S102-S105 and steps S110-S113. That is, steps S102-S105 may be executed first, and then steps S110-S113; or, steps S110-S113 may be executed first, and then steps S102-S105; or, steps S110-S113 and steps S102-S105 may be executed simultaneously.

[0198] based on Fig. 9 According to the technical solution shown, after installing the third routing rule, the first I-UPF can forward the received message sent to the first terminal to the access network device to which the first terminal accesses.

[0199] Secondly, for each A-UPF, A-SMF configures the routing rules on the A-UPF according to the following routing configuration method, so that the A-UPF can normally forward the messages sent to the first terminal by other terminals in the 5GVN group.

[0200] like Fig.10 As shown, a routing configuration method provided in an embodiment of the present application includes the following steps:

[0201] S201. A-SMF obtains address information of a first terminal.

[0202] As a possible implementation manner, the A-SMF obtains the address information of the first terminal from the context stored in itself.

[0203] S202. A-SMF obtains the downlink tunnel information of A-UPF.

[0204] The downlink tunnel information of the A-UPF is used to establish a downlink tunnel between the A-UPF and the first I-UPF. Optionally, the downlink tunnel information of the A-UPF may be N9 downlink tunnel information. Exemplarily, the N9 downlink tunnel information of the A-UPF may include the address information and port number of the first I-UPF.

[0205] As a possible implementation, when the A-SMF and the first SMF are the same SMF, the A-SMF may allocate the downlink tunnel information of the A-UPF. Alternatively, the A-SMF receives the downlink tunnel information of the A-UPF sent by the first I-UPF.

[0206] As another possible implementation manner, when the A-SMF and the first SMF are not the same SMF, the A-SMF receives the downlink tunnel information of the A-UPF sent by the first SMF.

[0207] S203. The A-SMF generates a fourth routing rule corresponding to the A-UPF according to the address information of the first terminal and the downlink tunnel information of the A-UPF.

[0208] The fourth routing rule includes the address information of the first terminal and the downlink tunnel information of the A-UPF. The fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first I-UPF.

[0209] Exemplarily, the fourth routing rule includes a fourth PDR and a fourth FAR, wherein the destination address information of the fourth PDR is the address information of the first terminal, and the fourth FAR includes downlink tunnel information of the A-UPF.

[0210] S204. A-SMF sends the fourth routing rule to A-UPF, so that A-UPF receives the fourth routing rule sent by A-SMF.

[0211] As a possible implementation manner, the A-SMF sends an N4 session modification request message to the A-UPF, wherein the N4 session modification request message includes the fourth routing rule.

[0212] S205. A-UPF installs the fourth routing rule.

[0213] Exemplarily, taking the fourth routing rule including the fourth PDR and the fourth FAR as an example, after the A-UPF installs the fourth routing rule, when the message received by the A-UPF from the ingress matches the fourth PDR, the A-UPF forwards the message from the egress to the first I-UPF according to the fourth FAR.

[0214] It should be noted that the A-UPF is configured with a routing rule related to the first terminal before the first terminal moves. The routing rule related to the first terminal is no longer applicable to the first terminal after the first terminal moves out of the service range of the A-SMF. Therefore, the A-UPF deletes the previously configured routing rule related to the first terminal. The above-mentioned routing rule related to the first terminal is a routing rule for forwarding a message whose destination address information is the address information of the first terminal.

[0215] based on Fig.10 According to the technical solution shown, when the A-UPF is the second A-UPF, after the second A-UPF installs the fourth routing rule, the message whose destination address information is the address information of the first terminal can be directly forwarded from the second A-UPF to the first I-UPF, rather than first forwarded from the second A-UPF to the first A-UPF, and then forwarded from the first A-UPF to the first I-UPF. It can be seen that based on the technical solution of the present application, the forwarding path of the message sent by the terminal served by the second A-UPF to the first terminal is shortened, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0216] The routing configuration method provided in the embodiment of the present application is described in detail below by way of example.

[0217] like Fig.11 As shown, the user plane anchor point of the PDU session of UE1 is A-UPF1. The user plane anchor point of the PDU session of UE2 is A-UPF1. The user plane anchor point of the PDU session of UE3 is A-UPF2. The user plane anchor point of the PDU session of UE4 is A-UPF2.

[0218] The routing rules configured on A-UPF1 include: routing rule 1-1, routing rule 1-2, routing rule 1-3, and routing rule 1-4. Routing rule 1-1 is used to send a message whose destination address information is the address information of UE1 to the access network device to which UE1 is connected. Routing rule 1-2 is used to send a message whose destination address information is the address information of UE2 to the access network device to which UE2 is connected. Routing rule 1-3 is used to send a message whose destination address information is the address information of UE3 to A-UPF2. Routing rule 1-4 is used to send a message whose destination address information is the address information of UE4 to A-UPF2.

[0219] The routing rules configured on A-UPF2 include: routing rule 2-1, routing rule 2-2, routing rule 2-3 and routing rule 2-4. Among them, routing rule 2-1 is used to send a message whose destination address information is the address information of UE3 to the access network device connected to UE3. Routing rule 2-2 is used to send a message whose destination address information is the address information of UE4 to the access network device connected to UE4. Routing rule 2-3 is used to send a message whose destination address information is the address information of UE1 to A-UPF1. Routing rule 2-3 is used to send a message whose destination address information is the address information of UE2 to A-UPF1.

[0220] Afterwards, if Fig.12As shown, since UE1 moves out of the service range of A-UPF1, I-UPF1 is inserted into the user plane path of UE1. It can be understood that in this case, UE1 is regarded as the first terminal, and UE3 and UE4 can be regarded as the second terminal.

[0221] The first SMF configures routing rules for I-UPF1. Therefore, the N4 context corresponding to the PDU session of UE1 on I-UPF1 includes: routing rule 3-1, routing rule 3-2, routing rule 3-3, and routing rule 3-4. Among them, routing rule 3-1 is used to send a message with the destination address information of UE3 to A-UPF2. Routing rule 3-2 is used to send a message with the destination address information of UE4 to A-UPF2. Routing rule 3-3 is used to send a message with the destination address information of UE1 to the access network device to which UE1 is connected. Routing rule 3-4 is the default routing rule, which is used to send messages that do not match other routing rules to A-UPF1.

[0222] In addition, A-SMF configures routing rules for A-UPF1. Specifically, A-UPF1 deletes the original routing rule 1-1 and installs routing rule 1-5. Therefore, the routing rules configured on A-UPF1 include: routing rule 1-2, routing rule 1-3, routing rule 1-4, and routing rule 1-5. Among them, routing rule 1-5 is used to send a message whose destination address information is the address information of UE1 to I-UPF1.

[0223] A-SMF configures routing rules for A-UPF2. Specifically, A-UPF2 deletes the original routing rule 2-3 and installs routing rule 2-5. Therefore, the routing rules configured on A-UPF2 include: routing rule 2-1, routing rule 2-2, routing rule 2-4, and routing rule 2-5. Among them, routing rule 2-5 is used to send a message whose destination address information is the address information of UE1 to I-UPF1.

[0224] Afterwards, if Fig.13 As shown, since UE4 moves out of the service range of A-UPF2, I-UPF2 is inserted into the user plane path of UE4. It can be understood that in this case, UE4 is regarded as the first terminal and UE2 can be regarded as the second terminal.

[0225] The first SMF configures routing rules for I-UPF2. Therefore, the N4 context corresponding to the PDU session of UE4 on I-UPF2 includes: routing rule 4-1, routing rule 4-2 and routing rule 4-3. Among them, routing rule 4-1 is used to send a message with the destination address information of UE2 to A-UPF1. Routing rule 4-2 is used to send a message with the destination address information of UE4 to the access network device to which UE4 is connected. Routing rule 4-3 is the default routing rule, which is used to send messages that do not match other routing rules to A-UPF2.

[0226] In addition, A-SMF configures routing rules for A-UPF1. Specifically, A-UPF1 deletes the original routing rule 1-4 and installs routing rule 1-6. Therefore, the routing rules configured on A-UPF1 include: routing rule 1-2, routing rule 1-3, routing rule 1-5, and routing rule 1-6. Among them, routing rule 1-6 is used to send a message with the destination address information of UE4 to I-UPF2.

[0227] A-SMF configures routing rules for A-UPF2. Specifically, A-UPF2 deletes the original routing rule 2-2 and installs routing rule 2-6. Therefore, the routing rules configured on A-UPF2 include: routing rule 2-1, routing rule 2-4, routing rule 2-5, and routing rule 2-6. Among them, routing rule 2-6 is used to send a message whose destination address information is the address information of UE4 to I-UPF2.

[0228] Afterwards, if Fig.14 As shown, since UE2 moves out of the service range of A-UPF1, I-UPF1 is inserted into the user plane path of UE2. It can be understood that in this case, UE2 is regarded as the first terminal, UE3 can be regarded as the second terminal, and UE1 can be regarded as the third terminal.

[0229] The first SMF configures routing rules for I-UPF1. Therefore, the N4 session context corresponding to the PDU session of UE2 on I-UPF1 includes: routing rule 5-1, routing rule 5-2 and routing rule 5-3. Among them, routing rule 5-1 is used to send a message whose destination address information is the address information of UE3 to A-UPF2. Routing rule 5-2 is used to send a message whose destination address information is the address information of UE2 to the access network device to which UE2 is connected. Routing rule 5-3 is the default routing rule, which is used to send messages that do not match other routing rules to A-UPF1.

[0230] In addition, A-SMF configures routing rules for A-UPF1. Specifically, A-UPF1 deletes the original routing rule 1-2 and installs routing rule 1-7. Therefore, the routing rules configured on A-UPF1 include: routing rule 1-3, routing rule 1-5, routing rule 1-6 and routing rule 1-7. Among them, routing rule 1-7 is used to send a message whose destination address information is the address information of UE2 to I-UPF1.

[0231] A-SMF configures routing rules for A-UPF2. Specifically, A-UPF2 deletes the original routing rule 2-4 and installs routing rule 2-7. Therefore, the routing rules configured on A-UPF2 include: routing rule 2-1, routing rule 2-5, routing rule 2-6 and routing rule 2-7. Among them, routing rule 2-7 is used to send a message whose destination address information is the address information of UE2 to I-UPF1.

[0232] Currently, regardless of whether 5GVN adopts system architecture 1 or system architecture 2, according to the routing configuration method provided above, when the first I-UPF is inserted into the user plane path of the first terminal, if the first I-UPF also provides services for the third terminal, the routing rules configured on the first I-UPF cannot support local switching between the first terminal and the third terminal.

[0233] For example, Fig.14 As shown, the message sent by UE1 to UE2 is transmitted in the following manner: I-UPF1 receives a message whose destination address information is the address information of UE2 from the access network device to which UE1 is connected; since routing rules 3-1, 3-2, and 3-3 in the N4 session context corresponding to the PDU session of UE1 stored in I-UPF1 do not match the message, I-UPF1 forwards the message to A-UPF1 according to routing rule 3-4. Afterwards, A-UPF1 forwards the message to I-UPF1 according to routing rules 1-7. I-UPF1 forwards the message to the access network device to which UE2 is connected according to routing rule 5-2.

[0234] It can be seen that when the first I-UPF does not support the local switching function, the message transmitted between the two terminals on the first I-UPF needs to go through a longer forwarding path, which increases the forwarding delay of the message.

[0235] Therefore, in the aforementioned Figure 7 , Figure 8 as well as Fig. 9 In addition to the technical solutions shown, the embodiments of the present application provide Fig.15The routing configuration method shown is used to configure the routing rules on the first I-UPF so that the routing rules configured on the first I-UPF can support the first I-UPF to implement the local switching function. The routing configuration method is applicable to each third terminal. Specifically, Fig.15 As shown, the routing configuration method includes the following steps:

[0236] S301. The first SMF obtains the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected.

[0237] The downlink tunnel information of the access network device accessed by the third terminal is used to establish a downlink tunnel between the first I-UPF and the access network device accessed by the third terminal. Exemplarily, the downlink tunnel information of the access network device accessed by the third terminal is N3 downlink tunnel information. The downlink tunnel information of the access network device accessed by the third terminal may include the address information and port number of the access network device accessed by the third terminal.

[0238] As a possible implementation manner, the first SMF obtains the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected from the context stored in itself.

[0239] As another possible implementation manner, the first SMF receives the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected, sent by the second SMF.

[0240] S302. The first SMF generates a fifth routing rule corresponding to the third terminal according to the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal accesses.

[0241] The fifth routing rule includes the address information of the third terminal and the downlink tunnel information of the access network device accessed by the third terminal. The fifth routing rule is used to send a message whose destination address information is the address information of the third terminal to the access network device accessed by the third terminal.

[0242] Exemplarily, the fifth routing rule includes a fifth PDR and a fifth FAR, wherein the fifth PDR includes address information of the third terminal, and the fifth FAR includes downlink tunnel information of an access network device accessed by the third terminal.

[0243] S303. The first SMF sends the fifth routing rule to the first I-UPF, so that the first I-UPF receives the fifth routing rule sent by the first SMF.

[0244] As a possible implementation manner, the first SMF sends an N4 session creation request message to the first I-UPF, where the N4 session creation request message includes the fifth routing rule.

[0245] S304. The first I-UPF installs the fifth routing rule.

[0246] As a possible implementation manner, the first I-UPF installs the fifth routing rule corresponding to the third terminal in the N4 context corresponding to the PDU session of the first terminal.

[0247] based on Fig.15 In the technical solution shown, since the first I-UPF installs the fifth routing rule corresponding to the third terminal, the message sent by the first terminal to the third terminal can be directly forwarded by the first I-UPF to the access network device connected to the third terminal, rather than being first forwarded by the first I-UPF to the first A-UPF, then forwarded by the first A-UPF to the first I-UPF, and finally forwarded by the first I-UPF to the access network device connected to the third terminal. It can be seen that the technical solution of the present application can reduce the forwarding nodes in the forwarding path of the message sent by the first terminal to the third terminal, thereby reducing the forwarding delay of the message and improving the forwarding efficiency.

[0248] In addition, in order to enable the message sent by the third terminal to the first terminal to be transmitted in a local switching manner in the first I-UPF, in the specific implementation of the above step S113: the first terminal also installs a third routing rule for uplink message transmission in the N4 session context corresponding to the PDU session of the third terminal in the first I-UPF.

[0249] The routing configuration of the first I-UPF under the function of supporting local switching is specifically described by way of example. Fig.14 The system architecture shown uses I-UPF1 as the first I-UPF. The N4 context corresponding to the PDU session of UE1 on I-UPF1 includes: routing rule 3-1, routing rule 3-2, routing rule 3-3, routing rule 3-4 and routing rule 3-5. Among them, routing rule 3-5 is used to send the message whose destination address information is the address information of UE2 to the access network device connected to UE2. The N4 context corresponding to the PDU session of UE2 on I-UPF1 includes: routing rule 5-1, routing rule 5-2, routing rule 5-3 and routing rule 5-4. Among them, routing rule 5-4 is used to send the message whose destination address information is the address information of UE1 to the access network device connected to UE1.

[0250] The following describes the routing configuration method based on system architecture 2 in detail in combination with different application scenarios.

[0251] Scenario 1: Before the first terminal moves, the first terminal is within the service range of the A-SMF, and the A-SMF provides services for the first terminal. After the first terminal moves, the first terminal moves out of the service range of the A-SMF.

[0252] It can be understood that since the service scope of SMF is generally greater than or equal to the service scope of UPF managed by SMF, after the first terminal moves out of the service scope of A-SMF, it can be assumed that the first terminal moves out of the service scope of UPF currently providing service to the first terminal.

[0253] Based on scenario 1, Fig.16 As shown in FIG. 1 , a routing configuration method is provided in an embodiment of the present application. It should be noted that in Fig.16 In the technical solution shown, the I-SMF is used to implement the function of the first SMF, and the A-SMF is used to implement the function of the second SMF. The routing configuration method includes the following steps:

[0254] S401. After detecting that the first terminal moves out of the service range of A-SMF, AMF selects I-SMF.

[0255] As a possible implementation, the AMF monitors the location of the first terminal. When the location of the first terminal is outside the service range of the A-SMF, the AMF selects an I-SMF that provides services for the first terminal based on the location of the first terminal and the service ranges of each SMF.

[0256] It should be noted that AMF monitoring the location of the first terminal can be specifically implemented as follows: AMF periodically obtains location information reported by the first terminal. Optionally, the location information of the first terminal can be: longitude and latitude information, cell identifier, tracking area identifier, etc.

[0257] For example, SMF1 is responsible for managing each A-UPF in 5GVN. After Terminal 1 moves out of the service range of SMF1, AMF detects that Terminal 1 moves into the service range of SMF2, then AMF can select SMF2 as the I-SMF to provide services for Terminal 1.

[0258] S402. AMF sends a session context creation request message to I-SMF, so that I-SMF receives the session context creation request message sent by AMF.

[0259] The session context creation request message is used to request the I-SMF to create the context of the PDU session of the first terminal.

[0260] In the embodiment of the present application, the session context creation request includes message 1 including the identifier of the first PDU session. It should be noted that the identifier of the PDU session is in a one-to-one correspondence with the PDU session. That is, the identifier of a PDU session is used to determine a unique PDU session.

[0261] S403. The I-SMF sends a session context request message to the A-SMF, so that the A-SMF receives the session context request message.

[0262] The session context request message is used to request the context of the PDU session of the first terminal. The session context request message includes an identifier of the PDU session of the first terminal.

[0263] S404. If the PDU session of the first terminal belongs to a 5GVN session, the A-SMF obtains routing configuration information.

[0264] The routing configuration information is used to enable the I-SMF to generate routing rules.

[0265] As a possible implementation method, since A-SMF pre-stores the correspondence between the identifier of the PDU session and the identifier of the 5GVN, A-SMF searches for the corresponding 5GVN based on the identifier of the first PDU session carried by the session context request message. If A-SMF can find the 5GVN corresponding to the identifier of the first PDU session, A-SMF can determine that the first PDU session belongs to a 5GVN session. In this case, A-UPF obtains the corresponding routing configuration information.

[0266] Exemplarily, the correspondence between the PDU session identifier and 5GVN can be shown in Table 1.

[0267] Table 1

[0268] PDU session identifier 5GVN ID PDU Session ID1 5GVN ID1 PDU Session ID2 5GVN ID2 …… ……

[0269] In an embodiment of the present application, the routing configuration information includes configuration information of each A-UPF that provides services for the 5GVN group.

[0270] Among them, the configuration information of A-UPF at least includes the uplink tunnel information of A-UPF. It should be noted that the uplink tunnel information corresponding to A-UPF can reuse the existing uplink tunnel information. Alternatively, the uplink tunnel information corresponding to A-UPF can be the newly allocated uplink tunnel information. If the uplink tunnel information corresponding to A-UPF can be the newly allocated uplink tunnel information, the uplink tunnel information corresponding to A-UPF can be allocated by A-SMF or by A-UPF. It can be understood that when the uplink tunnel information corresponding to A-UPF is allocated by A-UPF, A-SMF obtains the uplink tunnel information corresponding to the A-UPF from A-UPF.

[0271] For the second A-UPF, the configuration information of the second A-UPF further includes address information of each second terminal served by the second A-UPF.

[0272] Optionally, when there is an I-UPF in the 5GVN, the routing configuration information may also include configuration information of each I-UPF in the 5GVN. The configuration information of the I-UPF includes information of each terminal served by the I-UPF. The terminal information includes the address information of the terminal and the downlink tunnel information of the access network device to which the terminal is connected.

[0273] Optionally, the routing configuration information may also include address information of the first terminal.

[0274] It should be noted that the context pre-stored by the A-SMF includes the topology information of the 5GVN group. Optionally, the topology information of the 5GVN group is used to indicate the configuration information of the terminal in the 5GVN group. Among them, the configuration information of the terminal may include one or more of the following: the address information of the terminal, the downlink tunnel information of the access network device to which the terminal is connected, the identifier of the UPF providing services to the terminal, and the identifier of the A-UPF corresponding to the PDU session of the terminal.

[0275] Exemplarily, the topology information of the 5GVN group may be as shown in Table 2.

[0276] Table 2

[0277]

[0278] It can be understood that, for a terminal, if the UPF providing services for the terminal is not the same UPF as the A-UPF corresponding to the PDU session of the terminal, it means that the UPF providing services for the terminal is the I-UPF.

[0279] In an embodiment of the present application, the A-SMF can determine the address information of each second terminal served by the second A-UPF based on the topology information of the 5GVN group.

[0280] In an embodiment of the present application, A-SMF can determine the address information of the first terminal based on the topology information of the 5GVN group.

[0281] When I-UPF exists in 5GVN, A-SMF can determine the address information of each terminal served by I-UPF based on the topology information of the 5GVN group.

[0282] S405. The A-SMF sends a session context response message to the I-SMF, so that the I-SMF receives the session context response message sent by the A-SMF.

[0283] The session context response message is used to reply the context of the first PDU session. In addition, the session context response message includes: routing configuration information.

[0284] S406. The I-SMF selects the first I-UPF.

[0285] It can be understood that when the first I-UPF is an existing I-UPF in the 5GVN, since the routing configuration information includes the configuration information of each I-UPF, the I-SMF can obtain the configuration information of the first I-UPF. That is, the I-SMF can obtain the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected.

[0286] S407. The I-SMF generates multiple routing rules.

[0287] The above-mentioned multiple routing rules include: one or more first routing rules, one second routing rule, and one third routing rule. It can be understood that one first routing rule corresponds to one second terminal.

[0288] In the case where the first I-UPF also provides services for the third terminal, in order to support the first I-UPF to implement the local switching function, the above-mentioned multiple routing rules may also include one or more fifth routing rules. It can be understood that one fifth routing rule corresponds to one third terminal.

[0289] It is understandable that the relevant description of the first routing rule can refer to Figure 7 The relevant description of the second routing rule can refer to the above Figure 8 The description of the third routing rule can refer to the above Fig. 9 The relevant description of the fifth routing rule can refer to the above Fig.15 The description of the technical solution shown in the figure will not be repeated here.

[0290] S408. The I-SMF sends an N4 session creation request message to the first I-UPF, so that the first I-UPF receives the N4 session creation request message.

[0291] The N4 session creation request message is used to create an N4 session context. The N4 session creation request message includes the multiple routing rules.

[0292] Optionally, the N4 session creation request message includes the multiple routing rules, which can be specifically implemented as follows: the N4 session creation request message includes multiple N4 rules, and the N4 rules include routing rules.

[0293] It should be noted that, in addition to routing rules, N4 rules may also include QER and URR.

[0294] S409. The first I-UPF installs multiple routing rules according to the N4 session creation request message.

[0295] S410. The first I-UPF sends an N4 session creation response message to the I-SMF, so that the I-SMF receives the N4 session creation response message sent by the first I-UPF.

[0296] The N4 session creation response message is used to respond to the N4 session context creation request message.

[0297] In one possible design, if the downlink tunnel information of the A-UPF is allocated by the first I-UPF, the N4 session creation response message includes the downlink tunnel information corresponding to each A-UPF providing services for the 5GVN group.

[0298] Optionally, the downlink tunnel information corresponding to each A-UPF providing services for the 5GVN group may be the same, so that the N4 session creation response message includes a downlink tunnel information. It can be understood that the downlink tunnel information is applicable to each A-UPF in the 5GVN.

[0299] Optionally, the downlink tunnel information corresponding to each A-UPF providing services for the 5GVN group may be different, so that the N4 session creation response message includes M downlink tunnel information. It can be understood that the M downlink tunnel information corresponds one-to-one to the M A-UPFs. The value of M is equal to the number of A-UPFs providing services for the 5GVN group, and M is an integer greater than 1.

[0300] In another possible design, if the downlink tunnel information is allocated by the I-SMF, the N4 session creation response message does not include the downlink tunnel information of the A-UPF.

[0301] S411. The I-SMF sends a PDU session context update request message to the A-SMF, so that the A-SMF receives the PDU session context update request message sent by the I-SMF.

[0302] The PDU session context update request message is used to update the context of the PDU session of the first terminal.

[0303] In an embodiment of the present application, the PDU session context update request message includes: downlink tunnel information corresponding to each A-UPF providing services for the 5GVN group.

[0304] Optionally, the downlink tunnel information corresponding to each A-UPF providing services for the 5GVN group may be the same, so that the PDU session context update request message includes a downlink tunnel information.

[0305] Optionally, the downlink tunnel information of each A-UPF providing services for the 5GVN group may be different, so that the PDU session context update request message includes M downlink tunnel information.

[0306] It is understandable that the I-SMF may allocate the downlink tunnel information of the A-UPF. Alternatively, in the case where the first I-UPF allocates the downlink tunnel information of the A-UPF, the I-SMF may determine the downlink tunnel information from the N4 session creation response message sent by the first I-UPF.

[0307] S412. A-SMF configures the routing rules of each A-UPF in 5GVN.

[0308] As a possible implementation method, for each A-UPF, the A-SMF generates a fourth routing rule corresponding to the A-UPF; then, the A-SMF sends the fourth routing rule corresponding to the A-UPF to the A-UPF, so that the A-UPF installs the fourth routing rule.

[0309] It should be noted that the specific implementation of step S412 can refer to Fig.10 The description of the technical solution shown will not be repeated here.

[0310] Optionally, after A-SMF completes the configuration of the routing rules of each A-UPF in 5GVN, A-SMF sends a PDU session context update response message to I-SMF so that I-SMF receives the PDU session context update response message sent by A-SMF. The PDU session context update response message is used to respond to the PDU session context update request message.

[0311] based on Fig.16 In the technical solution shown, after the first terminal moves out of the service range of the A-SMF, on the one hand, the I-SMF configures routing rules on the first I-UPF so that the first I-UPF can normally forward messages sent by the first terminal to other terminals in the 5GVN group. On the other hand, the A-SMF configures routing rules on each A-UPF so that the A-UPF can normally forward messages sent by other terminals in the 5GVN group to the first terminal. In this way, the transmission tunnel between the first I-UPF and each A-UPF is opened, so that 5GVN is implemented based on system architecture 2.

[0312] Scenario 2: Before the first terminal moves, the first terminal is within the service range of the I-SMF, the I-SMF provides services for the first terminal, and the I-UPF selected by the I-SMF provides services for the terminal. After the first terminal moves, the first terminal moves out of the service range of the I-SMF that provides services for it.

[0313] It can be understood that since the service scope of SMF is generally greater than or equal to the service scope of UPF managed by SMF, when the first terminal moves out of the service scope of I-SMF, it can be assumed that the first terminal moves out of the service scope of the I-UPF currently providing services to the first terminal.

[0314] Based on scenario 2, Fig.17 As shown in FIG. 1 , a routing configuration method is provided in an embodiment of the present application. It should be noted that in Fig.17 In the technical solution shown, the target I-SMF is used to implement the function of the first SMF, and the source I-SMF is used to implement the function of the second SMF. The routing configuration method includes the following steps:

[0315] S501. After detecting that the first terminal moves out of the service range of the source I-SMF, the AMF selects a target I-SMF.

[0316] The source I-SMF is the I-SMF that provides services to the first terminal before the first terminal moves, and the target I-SMF is the I-SMF that provides services to the first terminal after the first terminal moves.

[0317] As a possible implementation, the AMF monitors the location of the first terminal. When the location of the first terminal is outside the service range of the source I-SMF, the AMF selects a target I-SMF that provides services for the first terminal based on the location of the first terminal and the service ranges of each SMF.

[0318] S502. AMF sends a session context creation request message to the target I-SMF, so that the target I-SMF receives the session context creation request message sent by AMF.

[0319] S503: The target I-SMF sends a session context request message to the source I-SMF, so that the source I-SMF receives the session context request message sent by the target I-SMF.

[0320] S504. If the first PDU session belongs to a 5GVN session, the source I-SMF obtains routing configuration information.

[0321] S505. The source I-SMF sends a session context response message to the target I-SMF, so that the target I-SMF sends the session context response message sent by the source I-SMF.

[0322] S506. The target I-SMF selects the first I-UPF.

[0323] S507: The target I-SMF generates multiple routing rules.

[0324] S508. The target I-SMF sends an N4 session creation request message to the first I-UPF, so that the first I-UPF receives the N4 session creation request message sent by the target I-SMF.

[0325] S509. The first I-UPF installs multiple routing rules according to the N4 session creation request message.

[0326] S510. The first I-UPF sends an N4 session creation response message to the target I-SMF, so that the target I-SMF receives the N4 session creation response message sent by the first I-UPF.

[0327] S511. The target I-SMF sends a PDU session context update request message to the A-SMF, so that the A-SMF receives the PDU session context update request message sent by the source I-SMF.

[0328] S512. A-SMF configures the routing rules of each A-UPF in 5GVN.

[0329] Among them, steps S502-S512 are similar to steps S402-S412. The specific implementation of steps S502-S512 can refer to the description of steps S402-S412 in the above embodiment, which will not be repeated here.

[0330] based on Fig.17 In the technical solution shown, after the first terminal moves out of the service range of the source I-SMF, on the one hand, the target I-SMF configures routing rules on the first I-UPF so that the first I-UPF can normally forward messages sent by the first terminal to other terminals in the 5GVN group. On the other hand, the A-SMF configures routing rules on each A-UPF so that the A-UPF can normally forward messages sent by other terminals in the 5GVN group to the first terminal. In this way, the transmission tunnel between the first I-UPF and each A-UPF is opened, so that 5GVN is implemented based on system architecture 2.

[0331] Scenario 3: Before the first terminal moves, the first terminal is within the service range of the A-SMF, and the A-SMF provides services for the first terminal. After the first terminal moves, the first terminal does not move out of the service range of the A-SMF, but the first terminal moves out of the service range of the UPF currently providing services for the first terminal.

[0332] Based on scenario three, Fig.18 As shown in FIG. 1 , a routing configuration method is provided in an embodiment of the present application. It should be noted that in Fig.18 In the technical solution shown, A-SMF is used to implement the function of the first SMF mentioned above. The routing configuration method includes the following steps:

[0333] S601. A-SMF determines that the first terminal moves out of the service range of the source UPF.

[0334] As a possible implementation method, A-SMF receives a first notification message sent by AMF, and the first notification message includes the location information of the first terminal. Based on the location information of the first terminal and the service range of the source UPF, A-SMF can monitor whether the first terminal moves out of the service range of the source UPF. Thus, when the location of the first terminal is not within the service range of the source UPF, A-SMF can determine that the first terminal has moved out of the service range of the source UPF.

[0335] As another possible implementation, when the A-SMF receives the second notification message sent by the AMF, the A-SMF determines that the first terminal moves out of the service range of the source UPF. The second notification message is used to indicate that the first terminal moves out of the service range of the source UPF.

[0336] It is understandable that AMF can obtain the service range of the source UPF from A-SMF and monitor whether the first terminal moves out of the service range of the source UPF. After the first terminal moves out of the service range of the source UPF, AMF sends a second notification message to A-SMF.

[0337] S602. If the first PDU session is a 5GVN session, the A-SMF obtains routing configuration information.

[0338] S603. A-SMF selects the first I-UPF.

[0339] S604. A-SMF generates multiple routing rules.

[0340] S605. The A-SMF sends an N4 session creation request message to the first I-UPF, so that the first I-UPF receives the N4 session creation request message sent by the A-SMF.

[0341] S606. The first I-UPF installs multiple routing rules according to the N4 session creation request message.

[0342] S607. The first I-UPF sends an N4 session creation response message to the A-SMF, so that the A-SMF receives the N4 session creation response message sent by the first I-UPF.

[0343] S608. A-SMF configures the routing rules of each A-UPF in 5GVN.

[0344] Among them, step S602 is similar to step S404, and its specific implementation method can refer to the description of step S404, which will not be repeated here. Steps S603-S607 are similar to steps S406-S410, and its specific implementation method can refer to the description of steps S406-S410, which will not be repeated here. Step S608 is similar to step S412, and its specific implementation method can refer to step S412, which will not be repeated here.

[0345] based on Fig.18 In the technical solution shown, when the first terminal is located in the service area of ​​​​the A-SMF, after the first terminal moves out of the service range of the UPF providing services for the first terminal, on the one hand, the A-SMF configures routing rules on the first I-UPF so that the first I-UPF can normally forward messages sent by the first terminal to other terminals in the 5GVN group. On the other hand, the A-SMF configures routing rules on each A-UPF so that the A-UPF can normally forward messages sent by other terminals in the 5GVN group to the first terminal. In this way, the transmission tunnel between the first I-UPF and each A-UPF is opened, so that 5GVN is implemented based on system architecture 2.

[0346] Scenario 4: Before the first terminal moves, the first terminal is within the service range of the I-SMF, and the I-SMF provides services for the first terminal. After the first terminal moves, the first terminal does not move out of the service range of the I-SMF, but the first terminal moves out of the service range of the UPF currently providing services for the first terminal.

[0347] Based on scenario 4, Fig.19 As shown in FIG. 1 , a routing configuration method is provided in an embodiment of the present application. It should be noted that in Fig.19 In the technical solution shown, the I-SMF is used to implement the function of the first SMF mentioned above. The routing configuration method includes the following steps:

[0348] S701. I-SMF determines that the first terminal moves out of the service range of the source UPF.

[0349] S702. If the first PDU session is a 5GVN session, the I-SMF obtains routing configuration information.

[0350] As a possible implementation method, I-SMF obtains routing configuration information from the context stored in itself.

[0351] S703. The I-SMF selects the first I-UPF.

[0352] S704. The I-SMF generates multiple routing rules.

[0353] S705. The I-SMF sends an N4 session creation request message to the first I-UPF, so that the first I-UPF receives the N4 session creation request message sent by the I-SMF.

[0354] S706. The first I-UPF installs multiple routing rules according to the N4 session creation request message.

[0355] S707. The first I-UPF sends an N4 session creation response message to the I-SMF, so that the I-SMF receives the N4 session creation response message sent by the first I-UPF.

[0356] S708. The I-SMF sends a PDU session context update request message to the A-SMF, so that the A-SMF receives the PDU session context update request message sent by the I-SMF.

[0357] S709. A-SMF configures the routing rules of each A-UPF in 5GVN.

[0358] Among them, steps S701-S707 are similar to steps S601-S607, and their specific implementation can refer to the description of steps S601-S607, which will not be repeated here. Steps S708-S709 are similar to steps S411-S412, and their specific implementation can refer to the description of steps S411-S412, which will not be repeated here.

[0359] based on Fig.19 In the technical solution shown, when the first terminal is located in the service area of ​​the I-SMF, after the first terminal moves out of the service range of the UPF providing service for the first terminal, on the one hand, the I-SMF configures routing rules on the first I-UPF so that the first I-UPF can normally forward messages sent by the first terminal to other terminals in the 5GVN group. On the other hand, the A-SMF configures routing rules on each A-UPF so that the A-UPF can normally forward messages sent by other terminals in the 5GVN group to the first terminal. In this way, the transmission tunnel between the first I-UPF and each A-UPF is opened, so that 5GVN is implemented based on system architecture 2.

[0360] It should be noted that in Figure 4 , Figure 6 , Figure 11-Figure 14 In the figure, the RAN node between the UPF and the UE is not drawn.

[0361] In the above embodiments, SMF can also be called a session management network element, UPF can be called a user plane network element, AMF can be called a mobility management network element, and 5GVN can also be called a virtual network.

[0362] In the above embodiments, for the convenience of description, the above embodiments of the present application are described by taking the application of the provided method in the 5G system as an example. In actual implementation, the above routing configuration method can also be applied to an evolved packet system (EPS). In this case, it is only necessary to replace the above network elements with network elements with corresponding functions in EPS. At this time, the above session can be a PDN connection in EPS. PDN connection refers to the IP connection provided by the EPS network between the terminal and an external public data network (PDN) of a PLMN.

[0363] It should be noted that the steps performed by the SMF in the method provided in the embodiment of the present application can also be performed by a chip applied to the SMF. The steps performed by the transfer device can also be performed by a chip applied to the transfer device. The steps performed by the UPF can also be performed by a chip applied to the UPF.

[0364] It should be noted that the message names between the network elements or the names of the parameters in the messages in the above embodiments of the present application are only examples, and other names may be used in the specific implementation, and the embodiments of the present application do not specifically limit this.

[0365] It should be pointed out that the various embodiments of the present application can refer to each other, for example, the same or similar steps, method embodiments, communication system embodiments and device embodiments can refer to each other without limitation.

[0366] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the interaction between various network elements. It can be understood that in order to realize the above functions, each network element, such as SMF, UPF, etc., includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this document, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0367] The embodiment of the present application can divide the SMF and UPF into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0368] In the case of integrated units, Fig. 20 A communication device involved in the above embodiment is shown. The communication device may include a processing unit 2001 and a communication unit 2002. Optionally, the communication device further includes a storage unit 2003.

[0369] In one example, the communication device may be the first SMF mentioned above, or a chip used in the first SMF. In this case, the processing unit 2001 is used to support the first SMF to execute Figure 7 Steps S101-S103 in Figure 8 Steps S106-S107 in Fig. 9 Steps S110-S111 in Fig.15 The communication unit 2002 is used to support the first SMF to perform steps S301-S302 in the embodiment of the present application, and / or other processing operations that the first SMF needs to perform in the embodiment of the present application. Figure 7 In step S104, Figure 8 Step S108 in Fig. 9 In step S112, Fig.15 Step S303 in the embodiment of the present application, and / or other communication operations that the first SMF needs to perform.

[0370] In another example, the communication device may be the first I-UPF mentioned above, or a chip used in the first I-UPF. In this case, the processing unit 2001 is used to support the first I-UPF to execute Figure 7 Step S105 in Figure 8 Step S109 in Fig. 9 Step S113 in Fig.15 The communication unit 2002 is used to support the first I-UPF to perform step S304 in the embodiment of the present application, and / or other processing operations that the first I-UPF needs to perform in the embodiment of the present application. Figure 7 In step S104, Figure 8 Step S108 in Fig. 9 In step S112, Fig.15Step S303 in the embodiment of the present application, and / or other communication operations that the first I-UPF needs to perform.

[0371] In another example, the communication device may be the A-SMF mentioned above, or a chip used in the A-SMF. In this case, the processing unit 2001 is used to support the A-SMF to execute Fig.10 The communication unit 2002 is used to support the A-SMF to perform steps S201-S203 in the embodiment of the present application, and / or other processing operations that the A-SMF needs to perform in the embodiment of the present application. Fig.10 Step S204 in the embodiment of the present application, and / or other communication operations that the A-SMF needs to perform.

[0372] In another example, the communication device may be the second A-UPF mentioned above, or a chip used in the second A-UPF. In this case, the processing unit 2001 is used to support the second A-UPF to execute Fig.10 The communication unit 2002 is used to support the second A-UPF to perform step S205 in the embodiment of the present application, and / or other processing operations that the second A-UPF needs to perform in the embodiment of the present application. Fig.10 Step S204 in the embodiment of the present application, and / or other communication operations that the second A-UPF needs to perform.

[0373] Fig. 20 If the integrated unit in is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0374] Fig. 20 A unit in may also be referred to as a module, for example, a processing unit may be referred to as a processing module.

[0375] Fig.21 21 is a schematic diagram of the hardware structure of a communication device 2100 provided in an embodiment of the present application. The communication device 2100 includes one or more processors 2101 and a communication interface 2103 .

[0376] Optionally, the communication device 2100 further includes a memory 2104, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor 2101. A portion of the memory 2104 may also include a non-volatile random access memory (NVRAM).

[0377] In the embodiment of the present application, the communication device 2100 performs corresponding operations by calling the operation instructions stored in the memory 2104 (the operation instructions may be stored in the operating system).

[0378] The processor 2101 may also be referred to as a central processing unit (CPU).

[0379] The processor 2101, the communication interface 2103 and the memory 2104 are coupled together via a bus system 2102, wherein the bus system 2102 may include a power bus, a control bus and a status signal bus in addition to a data bus. Fig.21 Various buses are labeled as bus system 2102.

[0380] The method disclosed in the above embodiment of the present application can be applied to the processor 2101, or implemented by the processor 2101. The processor 2101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 2101. The above processor 2101 can be a general processor, a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 2104, and the processor 2101 reads the information in the memory 2104 and completes the steps of the above method in combination with its hardware.

[0381] In a possible implementation, the processor 2101 controls the communication interface 2103 to perform the steps of receiving and sending the first SMF, the first I-UPF, the A-SMF, or the second A-UPF in the embodiment of the present application. The processor 2001 is used to perform the steps of processing the first SMF, the first I-UPF, the A-SMF, or the second A-UPF in the embodiment of the present application.

[0382] The above communication unit or communication interface may be an interface circuit or communication interface of the device, which is used to receive signals from other devices. For example, when the device is implemented in the form of a chip, the communication unit or communication interface is an interface circuit or communication interface of the chip for receiving or sending signals from other chips or devices.

[0383] In the above embodiments, the instructions stored in the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be pre-written in the memory, or may be downloaded and installed in the memory in the form of software.

[0384] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server, a data center, etc. that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, hard disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid state hard disk solid statedisk, SSD), etc.

[0385] Optionally, an embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is run on a computer, the computer executes the routing configuration method provided in the embodiment of the present application.

[0386] The embodiment of the present application also provides a computer program product including computer instructions, which, when executed on a computer, enables the computer to execute the routing configuration method provided in the embodiment of the present application.

[0387] An embodiment of the present application provides a chip, which includes a processor. When the processor executes instructions, the chip can execute the routing configuration method provided by the embodiment of the present application.

[0388] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can 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 loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that includes one or more servers that can be integrated with a medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0389] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0390] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those 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. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A routing configuration method, characterized in that: The method comprises: The first session management network element determines a first intermediate user plane network element that provides services for a first terminal in the virtual network group, wherein the first intermediate user plane network element is used to maintain communication between a first anchor user plane network element and an access network device accessed by the first terminal, and the first anchor user plane network element is a user plane anchor point for a protocol data unit PDU session of the first terminal; The first session management network element obtains uplink tunnel information of a second anchor user plane network element and address information of a corresponding second terminal; wherein the second anchor user plane network element satisfies the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in a service area of ​​the second anchor user plane network element; (2) the second anchor user plane network element is different from the first anchor user plane network element, and the uplink tunnel information of the second anchor user plane network element is used to establish an uplink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The first session management network element generates, according to the address information of the second terminal and the uplink tunnel information of the second anchor user plane network element, a first routing rule corresponding to the second terminal, wherein the first routing rule is used to send a message with destination address information being the address information of the second terminal to the second anchor user plane network element; The first session management network element sends the first routing rule to the first intermediate user plane network element.

2. The routing configuration method according to claim 1, characterized in that: The method further comprises: The first session management network element obtains uplink tunnel information of the first anchor user plane network element; The first session management network element generates a second routing rule according to the uplink tunnel information of the first anchor user plane network element, where the second routing rule is used to send a message that does not match other routing rules to the first anchor user plane network element; The first session management network element sends the second routing rule to the first intermediate user plane network element.

3. The routing configuration method according to claim 1 or 2, characterized in that: The method further comprises: The first session management network element obtains address information of the first terminal and downlink tunnel information of an access network device accessed by the first terminal; The first session management network element generates, according to the address information of the first terminal and the downlink tunnel information of the access network device accessed by the first terminal, a third routing rule corresponding to the first terminal, wherein the third routing rule is used to send a message whose destination address information is the address information of the first terminal to the access network device accessed by the first terminal; The first session management network element sends the third routing rule to the first intermediate user plane network element.

4. The routing configuration method according to claim 1 or 2, characterized in that: The method further comprises: The first session management network element obtains address information of a third terminal and downlink tunnel information of an access network device accessed by the third terminal, where the third terminal is another terminal in the virtual network group except the first terminal and provided with services by the first intermediate user plane network element; The first session management network element generates, according to the address information of the third terminal and the downlink tunnel information of the access network device accessed by the third terminal, a fifth routing rule corresponding to the third terminal, wherein the fifth routing rule is used to send a message whose destination address information is the address information of the third terminal to the access network device accessed by the third terminal; The first session management network element sends the fifth routing rule to the first intermediate user plane network element.

5. The routing configuration method according to claim 1 or 2, characterized in that: The method further comprises: If the first session management network element is an anchor session management network element, the first session management network element obtains the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element, and the anchor session management network element is used to manage the anchor user plane network element providing services for the virtual network group; The first session management network element generates, according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element, a fourth routing rule corresponding to the second anchor user plane network element, wherein the fourth routing rule is used to send a message with destination address information being the address information of the first terminal to the first intermediate user plane network element; The first session management network element sends the fourth routing rule to the second anchor user plane network element.

6. The routing configuration method according to claim 1 or 2, characterized in that: The method further comprises: If the first session management network element is not an anchor session management network element, the first session management network element obtains downlink tunnel information of the second anchor user plane network element, and the anchor session management network element is used to manage the anchor user plane network element that provides services for the virtual network group; The first session management network element sends the downlink tunnel information of the second anchor user plane network element to the anchor session management network element, and the downlink tunnel information of the second anchor user plane network element is used to enable the anchor session management network element to generate a fourth routing rule corresponding to the second anchor user plane network element, and the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element.

7. A routing configuration method, characterized in that: The method comprises: The first intermediate user plane network element receives a first routing rule corresponding to a second terminal sent by the first session management network element; wherein the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; the first anchor user plane network element is a user plane anchor point of a PDU session of the first terminal; the second terminal and the first terminal belong to the same virtual network group; the first routing rule is used to send a message whose destination address information is the address information of the second terminal to the second anchor user plane network element; the second anchor user plane network element satisfies the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in a service area of ​​the second anchor user plane network element; (2) the second anchor user plane network element is different from the first anchor user plane network element, and the first routing rule includes the address information of the second terminal and the uplink tunnel information of the second anchor user plane network element, and the uplink tunnel information of the second anchor user plane network element is used to establish an uplink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The first intermediate user plane network element installs the first routing rule.

8. The routing configuration method according to claim 7, characterized in that: The method further comprises: The first intermediate user plane network element receives a second routing rule sent by the first session management network element, where the second routing rule is used to send a message that does not match other routing rules to the first anchor user plane network element; The first intermediate user plane network element installs the second routing rule.

9. The routing configuration method according to claim 7 or 8, characterized in that: The method further comprises: The first intermediate user plane network element receives a third routing rule sent by the first session management network element, where the third routing rule is used to send a message whose destination address information is the address information of the first terminal to an access network device accessed by the first terminal; The first intermediate user plane network element installs the third routing rule.

10. The routing configuration method according to claim 7 or 8, characterized in that: The method further comprises: The first intermediate user plane network element receives a fifth routing rule corresponding to a third terminal, where the third terminal is another terminal in the virtual network group except the first terminal and provided with services by the first intermediate user plane network element, and the fifth routing rule is used to send a message with destination address information being address information of the third terminal to an access network device to which the third terminal is connected; The first intermediate user plane network element installs the fifth routing rule.

11. A routing configuration method, characterized in that: The method further comprises: In the case where a first intermediate user plane network element is inserted into a user plane path of a first terminal, an anchor session management network element obtains address information of the first terminal in a virtual network group; the anchor session management network element is used to manage an anchor user plane network element providing services for the virtual network group, and the anchor user plane network element is a user plane anchor point for a PDU session of at least one terminal in the virtual network group; the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; the first anchor user plane network element is a user plane anchor point for a PDU session of the first terminal; The anchor session management network element obtains downlink tunnel information of the second anchor user plane network element; wherein the second anchor user plane network element is other anchor user plane network elements except the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group, and the downlink tunnel information of the second anchor user plane network element is used to establish a downlink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The anchor session management network element generates a fourth routing rule corresponding to the second anchor user plane network element according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element; wherein the fourth routing rule is used to send a message with the destination address information being the address information of the first terminal to the first intermediate user plane network element; The anchor session management network element sends the fourth routing rule to the second anchor user plane network element.

12. A routing configuration method, characterized in that: The method further comprises: The second anchor user plane network element receives a fourth routing rule; wherein the second anchor user plane network element is other anchor user plane network elements except the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group; the anchor user plane network element is a user plane anchor point for a PDU session of at least one terminal in the virtual network group; the first anchor user plane network element is a user plane anchor point for a PDU session of a first terminal; the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to a first intermediate user plane network element; the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected, and the fourth routing rule includes the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element, and the downlink tunnel information of the second anchor user plane network element is used to establish a downlink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The second anchor user plane network element installs the fourth routing rule.

13. A communication device, characterized in that: including a processing unit and a communication unit; A processing unit, configured to determine a first intermediate user plane network element providing services for a first terminal in a virtual network group; obtain uplink tunnel information of a second anchor user plane network element and address information of a corresponding second terminal; Generate a first routing rule corresponding to the second terminal according to the address information of the second terminal and the uplink tunnel information of the second anchor user plane network element; wherein the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and the access network device to which the first terminal accesses; the first anchor user plane network element is a user plane anchor point of the PDU session of the first terminal; the first routing rule is used to send a message whose destination address information is the address information of the second terminal to the second anchor user plane network element; the second anchor user plane network element satisfies the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in the service area of ​​the second anchor user plane network element; (2) the second anchor user plane network element is different from the first anchor user plane network element, and the uplink tunnel information of the second anchor user plane network element is used to establish an uplink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The communication unit is used to send the first routing rule to the first intermediate user plane network element.

14. The communication device according to claim 13, characterized in that: The processing unit is further used to obtain the uplink tunnel information of the first anchor user plane network element; generate a second routing rule according to the uplink tunnel information of the first anchor user plane network element; the second routing rule is used to send the message that does not match other routing rules to the first anchor user plane network element; The communication unit is further used to send the second routing rule to the first intermediate user plane network element.

15. The communication device according to claim 13 or 14, characterized in that: The processing unit is further used to obtain the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal is connected; generate a third routing rule corresponding to the first terminal according to the address information of the first terminal and the downlink tunnel information of the access network device to which the first terminal is connected; the third routing rule is used to send a message whose destination address information is the address information of the first terminal to the access network device to which the first terminal is connected; The communication unit is further used to send the third routing rule to the first intermediate user plane network element.

16. The communication device according to claim 13 or 14, characterized in that: The processing unit is further used to obtain address information of a third terminal and downlink tunnel information of an access network device to which the third terminal is connected; and generate a fifth routing rule corresponding to the third terminal according to the address information of the third terminal and the downlink tunnel information of the access network device to which the third terminal is connected; wherein the third terminal is other terminals in the virtual network group except the first terminal and provided with services by the first intermediate user plane network element; and the fifth routing rule is used to send a message whose destination address information is the address information of the third terminal to the access network device to which the third terminal is connected; The communication unit is further used to send the fifth routing rule to the first intermediate user plane network element.

17. The communication device according to claim 13 or 14, characterized in that: The processing unit is further configured to obtain, when the first session management network element is an anchor session management network element, address information of the first terminal and downlink tunnel information of the second anchor user plane network element; Generate a fourth routing rule corresponding to the second anchor user plane network element according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element; the anchor session management network element is used to manage the anchor user plane network element that provides services for the virtual network group; the fourth routing rule is used to send a message with the destination address information being the address information of the first terminal to the first intermediate user plane network element; The communication unit is further configured to send the fourth routing rule to the second anchor user plane network element.

18. The communication device according to claim 13 or 14, characterized in that: The processing unit is further configured to obtain, when the first session management network element is an anchor session management network element, address information of the first terminal and downlink tunnel information of the second anchor user plane network element; The anchor session management network element is used to manage the anchor user plane network element that provides services for the virtual network group; the downlink tunnel information of the second anchor user plane network element is used to enable the anchor session management network element to generate a fourth routing rule corresponding to the second anchor user plane network element, and the fourth routing rule is used to send a message with destination address information being the address information of the first terminal to the first intermediate user plane network element; The communication unit is further configured to send the downlink tunnel information of the second anchor user plane network element to the anchor session management network element.

19. A communication device, characterized in that: The communication device comprises a processing unit and a communication unit; The communication unit is configured to receive a first routing rule corresponding to a second terminal sent by a first session management network element after inserting a first intermediate user plane network element into a user plane path of the first terminal; wherein the first intermediate user plane network element is configured to maintain communication between the first anchor user plane network element and an access network device to which the first terminal is connected; the first anchor user plane network element is a user plane anchor of a PDU session of the first terminal; the second terminal and the first terminal belong to the same virtual network group; the first routing rule is configured to send a message whose destination address information is the address information of the second terminal to the second anchor user plane network element; the second anchor user plane network element satisfies the following conditions: (1) the second anchor user plane network element provides an anchor service for the second terminal in the virtual network group, and the second terminal is located in a service area of ​​the second anchor user plane network element; (2) the second anchor user plane network element is different from the first anchor user plane network element, and the first routing rule includes the address information of the second terminal and the uplink tunnel information of the second anchor user plane network element, and the uplink tunnel information of the second anchor user plane network element is used to establish an uplink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The processing unit is used to install the first routing rule corresponding to the second terminal.

20. The communication device according to claim 19, characterized in that The communication unit is further configured to receive a second routing rule sent by the first session management network element, where the second routing rule is used to send a message that does not match other routing rules to the first anchor user plane network element; The processing unit is further used to install the second routing rule.

21. The communication device according to claim 19 or 20, characterized in that: The communication unit is further configured to receive a third routing rule sent by the first session management network element, wherein the third routing rule is configured to send a message whose destination address information is the address information of the first terminal to an access network device accessed by the first terminal; The processing unit is further used to install the third routing rule.

22. The communication device according to claim 19 or 20, characterized in that: The communication unit is further configured to receive a fifth routing rule corresponding to a third terminal, where the third terminal is another terminal in the virtual network group except the first terminal and served by the first intermediate user plane network element, and the fifth routing rule is configured to send a message whose destination address information is the address information of the third terminal to an access network device to which the third terminal is connected; The processing unit is further used to install the fifth routing rule.

23. A communication device, characterized in that: The communication device comprises a processing unit and a communication unit; The processing unit is used to obtain the address information of the first terminal in the virtual network group; obtain the downlink tunnel information of the second anchor user plane network element; generate a fourth routing rule corresponding to the second anchor user plane network element according to the address information of the first terminal and the downlink tunnel information of the second anchor user plane network element; wherein the second anchor user plane network element is other anchor user plane network elements except the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group; the first anchor user plane network element is the user plane anchor point of the PDU session of the first terminal; the fourth routing rule is used to send a message whose destination address information is the address information of the first terminal to the first intermediate user plane network element; the first intermediate user plane network element is used to maintain communication between the first anchor user plane network element and the access network device to which the first terminal is connected, and the downlink tunnel information of the second anchor user plane network element is used to establish a downlink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The communication unit is configured to send the fourth routing rule to the second anchor user plane network element.

24. A communication device, characterized in that: The communication device is used to implement the function of a second anchor user plane network element, where the second anchor user plane network element is other anchor user plane network elements except the first anchor user plane network element among the anchor user plane network elements providing services for the virtual network group; the anchor user plane network element is a user plane anchor point for a PDU session of at least one terminal in the virtual network group; The first anchor user plane network element is a user plane anchor point of a PDU session of the first terminal; the communication device includes a processing unit and a communication unit, the fourth routing rule includes address information of the first terminal and downlink tunnel information of the second anchor user plane network element, and the downlink tunnel information of the second anchor user plane network element is used to establish a downlink tunnel between the second anchor user plane network element and the first intermediate user plane network element; The communication unit is further configured to receive a fourth routing rule; wherein the fourth routing rule is configured to send a message whose destination address information is the address information of the first terminal to a first intermediate user plane network element; the first intermediate user plane network element is configured to maintain communication between the first anchor user plane network element and the access network device to which the first terminal is connected; The processing unit is further used to install the fourth routing rule.

25. A communication device, characterized in that: It comprises a processor and a communication interface, wherein the processor is used to execute computer program instructions so that the communication device implements the routing configuration method according to any one of claims 1 to 12.

26. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is enabled to execute the routing configuration method according to any one of claims 1 to 12.

27. A chip, characterized in that: The chip includes a processor, and when the processor executes computer program instructions, the chip executes the routing configuration method according to any one of claims 1 to 12.