WO2024104228A1 - Message forwarding method and apparatus, and device, storage medium and computer program product - Google Patents

Message forwarding method and apparatus, and device, storage medium and computer program product Download PDF

Info

Publication number
WO2024104228A1
WO2024104228A1 PCT/CN2023/130348 CN2023130348W WO2024104228A1 WO 2024104228 A1 WO2024104228 A1 WO 2024104228A1 CN 2023130348 W CN2023130348 W CN 2023130348W WO 2024104228 A1 WO2024104228 A1 WO 2024104228A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network element
message
forwarding
configuration request
Prior art date
Application number
PCT/CN2023/130348
Other languages
French (fr)
Chinese (zh)
Inventor
朱磊
种璟
闫佳运
何倩
李功
Original Assignee
中移(成都)信息通信科技有限公司
中国移动通信集团有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中移(成都)信息通信科技有限公司, 中国移动通信集团有限公司 filed Critical 中移(成都)信息通信科技有限公司
Publication of WO2024104228A1 publication Critical patent/WO2024104228A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/121Shortest path evaluation by minimising delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management

Definitions

  • the present application relates to, but is not limited to, the field of communication technology, and in particular to a method, apparatus, device, storage medium, and computer program product for message forwarding.
  • the fixed-mobile convergence technology of the fifth generation mobile communication technology can realize the integration and cooperation between fixed networks and mobile networks.
  • 5G fifth generation mobile communication technology
  • UE user equipment
  • 5G-RG 5G Residential Gateway
  • 5G Core 5G Core
  • URSP UE Route Selection Policy
  • N3IWF non-3GPP InterWorking Function
  • TNGF trusted non-3GPP Gateway Function
  • UEs accessing the 5G network can use the 5G Local Area Network (LAN) service and implement message forwarding (traffic forwarding) between different local UEs through the anchor UPF (UPF of PDU Session Anchor, PSA UPF).
  • the anchor UPF UPF of PDU Session Anchor, PSA UPF
  • PSA UPF PDU Session Anchor
  • the present application at least provides a method, apparatus, device, storage medium and computer program product for message forwarding.
  • an embodiment of the present application provides a method for message forwarding, which is applied to a first network element, and the method includes: receiving a first configuration request from a session management function network element, the first configuration request including an identifier of a first terminal associated with the first network element; in response to the first configuration request, configuring a first forwarding rule for the first terminal, the first forwarding rule being used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
  • an embodiment of the present application provides a method for message forwarding, which is applied to a session management function network element, the method comprising: sending a first configuration request to a first network element, the first configuration request comprising an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, the first forwarding rule being used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
  • an embodiment of the present application provides a device for message forwarding, the device comprising a first receiving module and a first configuration module; wherein the first receiving module is configured to receive a first configuration request from a session management function network element, and the first A configuration request includes an identifier of a first terminal associated with the device; a first configuration module is configured to configure a first forwarding rule for the first terminal in response to the first configuration request, the first forwarding rule being used to send a message from a second terminal associated with the device to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
  • an embodiment of the present application provides a device for forwarding a message, the device comprising a sending module; wherein the sending module is configured to send a first configuration request to a first network element, the first configuration request comprising an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, the first forwarding rule being used to send a message from a second terminal associated with the first network element to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
  • an embodiment of the present application provides a message forwarding device, which includes a memory and a processor; wherein the memory is used to store computer-executable instructions; the processor is connected to the memory and is used to implement the method described in the first aspect or the second aspect by executing the computer-executable instructions.
  • an embodiment of the present application provides a computer-readable storage medium, which stores a computer program.
  • the computer program is executed by at least one processor, the method described in the first aspect or the second aspect is implemented.
  • an embodiment of the present application provides a computer program product, which includes computer instructions.
  • the computer instructions When the computer instructions are run on a computer device, the computer device executes the method described in the first aspect or the second aspect.
  • the embodiment of the present application provides a method, apparatus, device, storage medium and computer program product for message forwarding.
  • a first configuration request is received from a session management function network element, and the first configuration request includes an identifier of a first terminal associated with the first network element; in response to the first configuration request, a first forwarding rule for the first terminal is configured, and the first forwarding rule is used to send a message of a second terminal associated with the first network element to the first terminal.
  • the method configures the first forwarding rule by the first network element to realize message forwarding between different terminals associated with the first network element, thereby reducing the number of network elements that need to be passed in the message forwarding path, thereby reducing the transmission delay and avoiding the waste of transmission resources.
  • FIG1 is a schematic diagram of a fixed-mobile converged network architecture based on “5G-RG+W-AGF”;
  • FIG2 is a schematic diagram of a network architecture in which a UE connected to a 5G-RG downlink accesses a 5GC via an N3IWF;
  • FIG3 is a schematic diagram of a network architecture in which a UE connected to a 5G-RG accesses a 5GC via a TNGF;
  • FIG4 is a schematic diagram of a user plane path of a UE connected to a 5G-RG via a TNGF to access a 5GC;
  • Figure 5 is a schematic diagram of the 5G LAN user plane architecture
  • Figure 6 is a schematic diagram of data forwarding of a 5G VN group
  • Figure 7 is a schematic diagram of the user plane path of a UE using a 5G LAN service under a 5G fixed-mobile converged architecture
  • FIG8 is a flow chart of a method for forwarding a message provided in an embodiment of the present application.
  • FIG9 is a second flow chart of a method for forwarding a message provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of a possible implementation flow of a message forwarding method provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of a process of sending updated 5G VN group configuration data to 5GC through the network capability exposure function in an embodiment of the present application;
  • FIG12 is a flow chart of a 5G VN group configuration hierarchical forwarding function according to an embodiment of the present application.
  • FIG13 is a schematic diagram of an implementation flow of configuring local forwarding rules by N3IWF/TNGF in an embodiment of the present application
  • FIG14 is a schematic diagram of an implementation flow of configuring local forwarding rules for 5G-RG and W-AGF in an embodiment of the present application
  • FIG15 is a schematic diagram of the composition structure of a message forwarding device provided in an embodiment of the present application.
  • FIG16 is a schematic diagram of the composition structure of another message forwarding device provided in an embodiment of the present application.
  • FIG. 17 is a schematic diagram of a hardware entity of a message forwarding device in an embodiment of the present application.
  • the technical solution provided in this application can be applied to various communication systems, such as: the fifth generation (5th Generation, 5G) or new wireless (New Radio, NR) system, the long term evolution (Long Term Evolution, LTE) system, the LTE frequency division duplex (FDD) system, the LTE time division duplex (TDD) system, etc.
  • 5G fifth generation
  • NR new wireless
  • LTE long term evolution
  • FDD frequency division duplex
  • TDD time division duplex
  • Fixed-mobile convergence refers to the convergence of fixed and mobile networks, also known as wireless and wired convergence. Fixed-mobile convergence can achieve full-service and converged business operations through the integration and cooperation between fixed and mobile networks, thereby providing users with a variety of high-quality communication, information, entertainment and other services, regardless of terminals, networks, applications and locations.
  • 3GPP 3rd Generation Partnership Project
  • RG Residential Gateway
  • W-AGF Wireline Access Gateway Function
  • RG is between the terminal and the access network, and is divided into 5G-RG and fixed network RG (Fixed Network RG, FN-RG).
  • 5G-RG has 5G communication capabilities and can connect to the next generation radio access network (Next Generation Radio Access Network, NG RAN) and the wired access network; while FN-RG can only connect to the wired access network.
  • W-AGF is between the wired access network and 5GC, and together with the wired access network, it forms the wired 5G access network (Wireline 5G Access Network, W-5GAN), and connects with 5GC through standard 3GPP N2 and N3 interfaces.
  • RG+W-AGF is the basis for realizing 5G fixed-mobile convergence.
  • the fixed-mobile convergence network architecture based on “5G-RG+W-AGF” is shown in Figure 1.
  • the terminal Based on the 5G fixed-mobile convergence architecture shown in Figure 1, the terminal first accesses the 5G-RG through a non-3GPP network (such as wireless local area network (WLAN), wired, Bluetooth, etc.), and then accesses the 5G core network through a 5G wireless network or wired network after 5G-RG protocol conversion. Under the architecture shown in Figure 1, the terminal needs to indirectly access the 5GC through the 5G-RG. Therefore, even if the terminal is a UE with 5G capabilities, it cannot directly interact with the 5GC through non-access stratum (NAS) signaling.
  • NAS non-access stratum
  • RG downlink UE accesses 5G through N3IWF/TNGF
  • the terminal under RG may also have 5G capabilities, but based on the 5G fixed-mobile convergence architecture, the terminal can only access 5GC indirectly through RG.
  • the 3GPP 5G fixed-mobile convergence standard TS 23.316 combines 3GPP and non-3GPP converged network architectures, and regards the 5G fixed-mobile convergence architecture as a "non-trusted non-3GPP access" or "trusted non-3GPP access”.
  • 5G fixed-mobile convergence architecture when the 5G fixed-mobile convergence architecture is regarded as a "non-trusted non-3GPP access" as a whole, 5GC can be accessed through N3IWF, and when the 5G fixed-mobile convergence architecture is regarded as a "trusted non-3GPP access” as a whole, 5GC can be accessed through TNGF. In this way, the UE under RG can access 5GC through the standard 5G NAS protocol, thereby realizing 5G communication.
  • the 3GPP standard does not describe in detail the process of establishing the control plane and user plane of the UE under the above architecture. It only gives the following description in Chapter 4.10 of TS23.316: Under this architecture, the control and user plane data packets of the UE are transmitted using the FN-RG/5G-RG IP PDU session, and then transmitted from the PSA UPF of the PDU session to the Interworking Function (IWF), such as N3IWF or TNGF.
  • IWF Interworking Function
  • 5G-RG first accesses W-AGF through the wired network
  • 5G-RG creates a PDU session with "anchor point UPF1 and destination N3IWF/TNGF" through W-AGF, where UPF represents the user plane function (User Plane Function); 5GC notifies W-AGF of the PDU session ID through the N2 message, and then W-AGF allocates a 5G Wireless Wireline Convergence User Plane Encapsulation (5G Wireless Wireline Convergence User Plane Encapsulation, 5WE) session ID (5WE protocol is used to encapsulate PDU session carrying user plane data between 5G-RG and AGF, supporting Internet Protocol Version 4 (Internet Protocol Version 4, IPv4), Internet Protocol Version 6 (Internet Protocol Version 6, IPv6) and Ethernet PDU session type), and binds it to the PDU session ID; the binding relationship is transmitted from W-AGF to 5G-RG so that 5G-RG can identify the data message of the PDU session based on the 5WE session ID;
  • the UE After the UE accesses the 5G-RG, it connects to the N3IWF/TNGF through the above PDU session;
  • the UE registers to the 5GC through N3IWF/TNGF and creates a PDU session with "anchor point as UPF2 and destination as DNN".
  • an Internet Protocol Security (IPSec) data channel is created between the UE and N3IWF/TNGF, and "5G-RG to W-AGF to UPF1" is regarded as a transparent transmission channel.
  • IPSec Internet Protocol Security
  • 5G In offices, enterprises, factories, homes and other places, 5G needs to provide functions similar to local area networks (LANs) and virtual private networks (VPNs).
  • LANs local area networks
  • VPNs virtual private networks
  • 5G LAN-type Service A service that provides local area network communication through the 5G system, which can use IP or non-IP type communication;
  • 5G LAN-VN A virtual network on the 5G system used to provide 5G LAN services
  • 5G VN 5G Virtual Network
  • the traditional 5G data channel is used for UE to access the data network (DN), such as UE access to the Internet or enterprise private network; while the data channel under 5G LAN is used for UE to access UE.
  • DN data network
  • 5G LAN 5G LAN communication supports the following three types of traffic forwarding, and its user plane architecture is shown in Figure 5.
  • Traffic is forwarded locally by a single UPF, which is the common PSA UPF for different PDU sessions of the same 5G VN group (such as PSA UPF#1 in Figure 5);
  • N19 Traffic forwarding based on N19: The uplink and downlink traffic of 5G VN communication is forwarded between PSA UPFs of different PDU sessions through N19.
  • N19 is a shared user plane tunnel between interconnected PSA UPFs within the same 5G VN group (such as PSA UPF#1 and PSA UPF#2 in Figure 5);
  • the 3GPP standard has made the following enhancements to the UE PDU session process:
  • the network operator sets a (DNN, S-NSSAI) combination with a 1:1 mapping to the 5G VN group, where S-NSSAI stands for Single Network Slice Selection Assistance information.
  • a PDU session provides access to one and only one 5G VN group
  • All PDU sessions of a 5G VN group communication are managed by a dedicated session management function (SMF);
  • SMS session management function
  • the SMF After receiving the PDU session request, the SMF selects a suitable UPF for the UE and configures the 5G VN group forwarding rules of the UE on it, so that the communication between members in the 5G VN group can be forwarded within the 5G core network.
  • the forwarding rules please refer to the relevant description in 3GPP TS 23.501.
  • the data forwarding principle of the 5G VN group after the above processing is shown in FIG6.
  • the data message sent by UE#1 in the figure to UE#2 is first sent to UPF#1 through the PDU session PDU#1 created by UE#1, and then forwarded by UPF#1 to the PDU session PDU#2 created by UE#2 based on the forwarding rule configured by SMF#1, and finally sent to UE#2.
  • the data message sent by UE#2 to UE#3 is first sent to UPF#2 through PDU#3 created by UE#2, and then forwarded to UPF#3 by UPF#2 based on the forwarding rule configured by SMF#2, and then forwarded to PDU#4 created by UE#3 based on the forwarding rule configured by SMF#2 by UPF#3, and finally sent to UE#3.
  • UE#1 and UE#2 can correspond to private DNN#1 and 5G LAN group#1
  • UE#2 and UE#3 can correspond to private DNN#2 and 5G LAN group#2.
  • the 5G VN group information is shown in Table 1.
  • the 5G VN group information can be sent to 5GC by the network administrator through the operation support system (OSS) or the network exposure function (NEF).
  • OSS operation support system
  • NEF network exposure function
  • the 5G VN group data is the configuration data of the group.
  • the structure of the 5G VN group data is shown in Table 2.
  • 5G uses the characteristics of large bandwidth, low latency, high reliability, and wide connection to provide the necessary network infrastructure support for vertical industry applications, promote the intelligent upgrade of various industries, and move towards the intelligent interconnection of all things.
  • various vertical industries have generally deployed local area networks and the Internet of Things based on network types such as Wireless Fidelity (Wi-Fi), Bluetooth, wired, Zigbee, and Long Range Radio (LoRa). Due to considerations such as cost and usage habits, it is impossible for various industries to completely replace existing networks with 5G networks in the short term. Therefore, in various industries, 5G networks and other types of networks will coexist for a long time. If the terminals of the 5G network and the terminals of other networks are in an isolated state, the goal of 5G Internet of Everything will not be achieved. Therefore, the integration of 5G and other types of networks is imperative.
  • 5G fixed-mobile convergence technology can realize the integration and cooperation between fixed networks and mobile networks.
  • 5G signals are not covered or the signal quality is poor, such as some residential areas, hospitals and factories in remote areas, etc.
  • UEs with 5G capabilities can access the 5G network based on the 5G fixed-mobile convergence architecture, but under this architecture, UEs access 5G indirectly through 5G-RG, and do not support the N1 standard interface and protocol between UE and 5GC, and cannot conveniently use 5G advanced technologies, such as network slicing and URSP.
  • the aforementioned architecture of RG downlink UE accessing 5G through N3IWF/TNGF can solve this problem, in which UEs can access non-3GPP networks and then access 5GC through N3IWF/TNGF to achieve 5G communication.
  • UEs accessing the 5G network based on this architecture can also use 5G LAN services, and the implementation method can refer to the aforementioned 5G LAN technology.
  • the user plane path of UE using 5G LAN services under the 5G fixed-mobile convergence architecture is shown in Figure 7.
  • the user plane path includes 5G-RG, W-AGF, UPF, N3IWF/TNGF, and relay UPF (Intermediate UPF, I-UPF), and then local switching is achieved through PSA UPF.
  • the user plane path of UEs in the 5G fixed-mobile convergence architecture when using 5G LAN services passes through more network elements, which will introduce more delays. But in fact, not all traffic needs to be forwarded through PSA UPF.
  • communication between UEs connected to the same 5G-RG can be forwarded directly on the 5G-RG.
  • the W-AGF and N3IWF/TNGF on the path can achieve local forwarding.
  • the upstream network element can forward the traffic between UEs associated with different downstream network elements.
  • two UEs are respectively associated with two different 5G-RGs, and these two 5G-RGs are connected to the same W-AGF. Therefore, the traffic between the two UEs can be forwarded on the W-AGF.
  • embodiments of the present application provide a method, apparatus, device, storage medium, and computer program product for message forwarding.
  • the method configures a first forwarding rule through a first network element (such as 5G-RG, N3IWF, or TNGF) to implement message forwarding between different terminals associated with the first network element, thereby reducing the number of network elements that need to be passed through in the message forwarding path, thereby reducing transmission delay and avoiding waste of transmission resources.
  • a first network element such as 5G-RG, N3IWF, or TNGF
  • FIG8 is a flow chart of a method for message forwarding provided in an embodiment of the present application.
  • the first network element in the method may be, for example, an N3IWF, a TNGF, or a resident gateway (such as a 5G-RG), and the session management function network element may be an SMF.
  • the method may include:
  • a session management function network element sends a first configuration request to a first network element.
  • the first network element receives a first configuration request from the session management function network element.
  • the first configuration request may be used to request the first network element to configure a first forwarding rule for the first terminal, and the first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
  • the first configuration request may include an identifier of the first terminal associated with the first network element.
  • the terminal in the embodiments of the present application may also be referred to as a terminal device or UE.
  • a terminal device for example, a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), etc., which is not limited in the present application.
  • MID mobile Internet device
  • the identifier of the first terminal can be used to identify the identity of the first terminal.
  • the form of the identifier of the first terminal includes, but is not limited to: Mobile Subscriber International ISDN Number (MSISDN), International Mobile Subscriber Identification Number (IMSI), Subscription Permanent Identifier (SUPI), Subscription Concealed Identifier (SUCI), Internet Protocol (IP) address, Media Access Control (MAC) address, Permanent Equipment Identifier (PEI).
  • MSISDN Mobile Subscriber International ISDN Number
  • IMSI International Mobile Subscriber Identification Number
  • SUPI Subscription Permanent Identifier
  • SUCI Subscription Concealed Identifier
  • IP Internet Protocol
  • MAC Media Access Control
  • PEI Permanent Equipment Identifier
  • the first terminal (or second terminal) associated with the first network element can also be understood as a terminal connected to the first network element or a terminal downstream of the first network element.
  • the first terminal (or second terminal) associated with the first network element can be a terminal that has established an IPSec channel with the N3IWF or TNGF; in another example, assuming that the first network element is 5G-RG, the first terminal (or second terminal) associated with the first network element can be a terminal connected to the 5G-RG.
  • the first configuration request may also carry an information element type indication, which may be used to indicate The type of this information element is "first configuration request".
  • the implementation method of the information element type indication may be, for example, a bitmap method, a numbering method, etc.
  • bitmap method when the bitmap method is adopted, assuming that a 4-bit bitmap is adopted, it can be stipulated that if the value of the first bit (bit1) is "1", it represents the type of information element as "first configuration request”; in another example, when the numbering method is adopted, assuming that a 4-bit numbering is adopted, it can be stipulated that "0012" represents the type of information element as "first configuration request”.
  • the first network element configures a first forwarding rule for the first terminal in response to the first configuration request.
  • the first network element may configure a first forwarding rule for the first terminal based on the identifier of the first terminal carried in the first configuration request.
  • the first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
  • the first forwarding rule may include: a first source interface, a first destination address and a first destination interface.
  • the meaning of this rule is: identifying a message received through the first source interface with the first destination address as the destination address, and sending the message to the first destination interface.
  • the first source interface is: the interface between the first network element and the second terminal; the first destination address is: the address of the first terminal; the first destination interface is: the interface between the first network element and the first terminal.
  • the method may also include: the first network element receives a message from the second terminal through the interface between the first network element and the second terminal, wherein the destination address of the message from the second terminal is the address of the first terminal; based on the first forwarding rule, the first network element sends the received message from the second terminal to the interface between the first network element and the first terminal.
  • the first network element can send the message to the interface between the first network element and the first terminal based on the first forwarding rule, so that the first terminal can receive the message from the second terminal through the interface.
  • the first network element is N3IWF.
  • the first source interface may be Nwu interface;
  • the first destination address may be: the address of the first terminal;
  • the first destination interface may be: the IPSec channel between the first terminal and N3IWF.
  • Nwu interface can also be understood as the communication interface between N3IWF and any terminal (such as the second terminal) connected to the N3IWF.
  • the first network element is TNGF.
  • the first source interface may be: Nwt interface; the first destination address may be: the address of the first terminal; the first destination interface may be: the interface corresponding to the IPSec channel between the first terminal and TNGF.
  • Nwt interface can also be understood as the communication interface between TNGF and any terminal (such as the second terminal) connected to the TNGF.
  • the first network element is a 5G-RG.
  • the first source interface may be: the downlink communication interface of the 5G-RG;
  • the first destination address may be: the address of the first terminal;
  • the first destination interface may be: the communication interface corresponding to the communication link between the first terminal and the 5G-RG.
  • the downlink communication interface of the 5G-RG can also be understood as the communication interface between the 5G-RG and any terminal (such as the second terminal) downlinked from the 5G-RG.
  • the first network element can implement message forwarding between different terminals associated with the first network element based on the first forwarding rule, thereby reducing the number of network elements that need to be passed through in the message forwarding path, thereby reducing transmission delay and avoiding waste of transmission resources.
  • FIG9 is a flow chart of a message forwarding method provided in an embodiment of the present application.
  • the first network element in the method may be, for example, N3IWF, TNGF or a resident gateway (such as 5G-RG), and the session management function network element may be SMF.
  • the method may include:
  • a session management function network element obtains indication information, where the indication information is used to indicate whether to enable a message forwarding function of a first network element.
  • the indication information may include, for example, an indicator (e.g., recorded as a first indicator).
  • the first indicator When the first indicator is "No", the indication information may indicate that the message forwarding function of the first network element is not enabled; when the first indicator is "Yes", the indication information may indicate that the message forwarding function of the first network element is enabled.
  • the first indicator defaults to "No".
  • the indication information may carry, for example, a 5G VN group configuration number corresponding to the 5G VN group to which the first terminal belongs.
  • the application function (AF) or OSS can send the 5G VN group configuration data carrying the indication information to the session management function network element, and then the session management function network element can know whether to enable the message forwarding function of the first network element according to the indication information.
  • the implementation process may include the following steps 11) to 13):
  • AF calls the open application programming interface (API) of NEF and sends the 5G VN group configuration data carrying the indication information to NEF.
  • API application programming interface
  • the indication information indicates that the message forwarding function of the first network element is not enabled.
  • the AF may modify or update the indication information, for example, the first indicator may be updated to "yes" so that the indication information indicates that the message forwarding function of the first network element is enabled, and then the modified or updated indication information is carried in the 5G VN group configuration data and sent to the session management function network element.
  • NEF stores the 5G VN group configuration data carrying the indication information in the Unified Data Management (UDM).
  • UDM Unified Data Management
  • UDM sends the 5G VN group configuration data carrying the indication information to the session management function network element by sending a notification to the session management function network element.
  • OSS can send the 5G VN group configuration data carrying the indication information to UDM, and then send it to the session management function network element through UDM.
  • whether to enable the message forwarding function of the first network element can be determined by modifying or updating the indication information, which is conducive to flexible configuration of the message forwarding function of the first network element according to actual needs.
  • the first network element receives a first configuration request from the session management function network element.
  • the first configuration request may be used to request the first network element to configure a first forwarding rule for the first terminal, and the first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
  • the first configuration request may include an identifier of the first terminal associated with the first network element.
  • the first network element determines whether a communication link exists between the first terminal and the first network element.
  • the first network element may configure a first forwarding rule for the first terminal (corresponding to S904).
  • the first network element may terminate the process and not proceed to subsequent steps.
  • a method for determining whether there is a communication link between the first terminal and the first network element may be, for example, by determining whether the N3IWF or TNGF has established an IPSec channel with the first terminal. If the N3IWF or TNGF has established an IPSec channel with the first terminal, it can be considered that there is a communication link between the N3IWF or TNGF and the first terminal.
  • a method for determining whether there is a communication link between the first terminal and the first network element may be, for example, determining whether the first terminal is a terminal connected to the resident gateway; if the first terminal is a terminal connected to the resident gateway, it can be considered that there is a communication link between the resident gateway and the first terminal.
  • the first network element may first determine whether there is a communication link between the first terminal and the first network element to ensure that the message can be successfully sent to the first terminal through the first network element.
  • the first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
  • the method when the first network element is a residential gateway (eg, recorded as a first residential gateway), the method further includes S905 and S906.
  • S905 The first network element sends a second configuration request to the associated W-AGF network element.
  • the W-AGF network element associated with the first resident gateway can also be understood as the network element to which the first resident gateway is connected. W-AGF network element.
  • the second configuration request may include the address of the first terminal.
  • the second configuration request may be used to request the W-AGF network element to configure a second forwarding rule for the first terminal.
  • the second configuration request may also include an ID of a session between the first resident gateway and the W-AGF network element, such as a 5WE session ID between the first resident gateway and the W-AGF network element.
  • the second configuration request may also carry one or more of the following information: an indication of the cell type, an identifier of the 5G-RG.
  • the cell type indication may be used to indicate that the type of the cell is a "second configuration request", and the implementation method of the cell type indication may be, for example, a bitmap method, a numbering method, etc.
  • the identifier of the 5G-RG may be used to identify the identity of the 5G-RG.
  • the forms of the 5G-RG identifier include, but are not limited to, MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, and PEI.
  • the W-AGF network element configures a second forwarding rule for the first terminal in response to the second configuration request.
  • the second forwarding rule may be used to send a message of a second resident gateway associated with the W-AGF network element to the first resident gateway.
  • the destination address of the message of the second resident gateway is the address of the first terminal.
  • the second resident gateway associated with the W-AGF network element may be, for example, a resident gateway connected to the W-AGF.
  • the second forwarding rule may include: a second source interface, a second destination address and a second destination interface.
  • the meaning of this rule is: identifying a message received through the second source interface and having a destination address of the second destination address, and sending the message to the second destination interface.
  • the second source interface is: the interface between the W-AGF network element and the second resident gateway; the second destination address is: the address of the first terminal; the second destination interface is: the interface between the W-AGF network element and the first resident gateway.
  • the method may also include: the W-AGF network element receives a message from the second resident gateway through the interface between the W-AGF network element and the second resident gateway, wherein the message of the second resident gateway may be, for example, a message from a downlink terminal of the second resident gateway, and the destination address of the message may be the address of the first terminal.
  • the W-AGF network element may send the message of the second resident gateway to the interface between the W-AGF network element and the first resident gateway.
  • the W-AGF network element can send the message to the interface between the W-AGF network element and the first resident gateway (i.e., the second destination interface) based on the second forwarding rule, so that the first resident gateway can receive the message from the second resident gateway through the interface.
  • the first resident gateway can receive a message from the second resident gateway through the second destination interface (i.e., the interface between the W-AGF network element and the first resident gateway), and then, based on the destination address carried by the message, that is, the address of the first terminal (the second destination address), the message can be finally sent to the first terminal.
  • the second destination interface i.e., the interface between the W-AGF network element and the first resident gateway
  • the W-AGF network element can realize message forwarding between different terminals downstream of the W-AGF network element based on the second forwarding rule.
  • message forwarding between the third terminal and the first terminal can be realized, and the forwarding path includes: the third terminal, the second resident gateway, the W-AGF network element, the first resident gateway, and the first terminal.
  • the message forwarding path in the method of this embodiment is shorter, so it can reduce transmission delay and avoid waste of transmission resources.
  • the first network element is a first resident gateway (such as a 5G-RG), then after step 901, the method further includes S907:
  • the session management function network element obtains the association relationship between the first terminal and the first network element.
  • the association relationship can be used by the session management function network element to determine the first network element, so that the session management function sends a first configuration request to the first network element based on the association relationship.
  • the method also includes: the session management function network element determines the first network element based on the association relationship, and then sends the first configuration request to the first network element.
  • the session management function network element can query from UDM that the first terminal is associated with the 5G-RG, so that the 5G-RG associated with the first terminal can be retrieved.
  • the session management function network element can obtain the information of the 5G-RG through UDM, and the information of the 5G-RG can include, for example, the identifier of the 5G-RG. Therefore, when the first network element is 5G-RG, the session management function network element can determine the 5G-RG based on the identifier of the 5G-RG in S902, and then send a first configuration request to the 5G-RG.
  • the 5G-RG identifier may be used to identify the 5G-RG.
  • the 5G-RG identifier may include, but is not limited to, MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, and PEI.
  • the following takes a specific network element as an example and introduces possible processes applicable to the embodiments of the present application in combination with Figures 10 to 14.
  • the first network element is N3IWF, TNGF or 5G-RG
  • the session management function network element is SMF.
  • This solution enables 5G-RG, W-AGF, and N3IWF/TNGF to support multi-stage forwarding, thereby solving the problem of increased network latency and waste of network transmission resources caused by the lengthy user plane path when UEs in the 5G fixed-mobile converged architecture use 5G LAN services.
  • 5G-RG has reported the association relationship between 5G-RG and 5G UE to 5GC, which includes the information of 5G-RG and all 5G UE with 5G capabilities connected to it.
  • the reporting method can be, for example, 5G-RG reporting through Access and Mobility Management Function (AMF), or 5G-RG reporting through network capability opening. This application does not limit this.
  • AMF Access and Mobility Management Function
  • the overall idea of this embodiment is that the hierarchical forwarding function of the 5G VN group is enabled by the administrator.
  • 5GC performs hierarchical forwarding configuration on 5G-RG, W-AGF, or N3IWF/TNGF for UEs that have created PDU sessions and UEs that have newly created PDU sessions in the 5G VN group.
  • FIG10 shows a possible implementation process of the message forwarding method provided in an embodiment of the present application.
  • the technical solution shown in FIG10 may include the following steps:
  • the administrator configures the 5G VN group to enable the hierarchical forwarding function.
  • the administrator can issue an instruction to enable the specified 5G VN group hierarchical forwarding function to 5GC through network capability exposure (such as AF) or OSS.
  • network capability exposure such as AF
  • OSS e.g., AF
  • 5GC performs hierarchical forwarding configuration on 5G-RG, W-AGF, N3IWF/TNGF for UEs that have created PDU sessions in the specified 5G VN group.
  • the implementation method of performing hierarchical forwarding configuration will be introduced in conjunction with Figure 12 below and will not be described in detail here;
  • 5GC executes the hierarchical forwarding configuration process.
  • 5GC When a UE in a 5G VN group creates a new PDU session, 5GC performs hierarchical forwarding configuration on 5G-RG, W-AGF, and N3IWF/TNGF.
  • the implementation method of performing hierarchical forwarding configuration will be introduced in conjunction with Figure 12 below and will not be described in detail here.
  • the administrator can send the updated 5G VN group configuration data to 5GC through network capability exposure or OSS.
  • Figure 11 shows the process of sending updated 5G VN group configuration data to 5GC through the network capability exposure function.
  • the process may include:
  • NEF stores the updated 5G VN group configuration data in UDM.
  • UDM sends a notification to the SMF that manages the 5G VN group, carrying the updated 5G VN group configuration data, to trigger the SMF to configure the hierarchical forwarding function of the 5G VN group.
  • the implementation method of SMF configuration of the hierarchical forwarding function of the 5G VN group is as follows:
  • the SMF After receiving the updated 5G VN group configuration data, the SMF first determines whether to enable the 5G VN group hierarchical forwarding function as "yes", and then implements the configuration of the 5G VN group hierarchical forwarding function for all UEs that meet one of the following conditions: (1) UEs that belong to the group and have created PDU sessions when the 5G VN group hierarchical forwarding function is enabled; (2) UEs that belong to the group and have newly created PDU sessions after the 5G VN group hierarchical forwarding function is enabled.
  • the process of configuring the hierarchical forwarding function of the 5G VN group is shown in Figure 12, and the process may include:
  • SMF obtains the 5G-RG associated with the UE from UDM.
  • SMF queries from UDM that the UE is associated with the 5G-RG retrieves the 5G-RG associated with the UE, and obtains information about the 5G-RG.
  • the information about the 5G-RG may include, for example, an identifier of the 5G-RG.
  • S1202 SMF sends a local forwarding rule configuration request to N3IWF/TNGF (corresponding to the first configuration request in the aforementioned embodiment).
  • the SMF sends a local forwarding rule configuration request to N3IWF/TNGF through AMF, triggering N3IWF/TNGF to configure a local forwarding rule for the UE (corresponding to the first forwarding rule in the aforementioned embodiment).
  • the local forwarding rule configuration request may carry the identifier of the UE, which can be used to identify the identity of the 5G UE.
  • the form of the UE identifier includes, but is not limited to: MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, PEI.
  • the local forwarding rule configuration request may also carry an information element type indication, which may be used to indicate that the type of the information element is a “local forwarding rule configuration request.” Based on the indication, the N3IWF/TNGF may configure the local forwarding rule.
  • the implementation method of the cell type indication may be, for example, a bitmap method, a numbering method, etc.
  • bitmap method when the bitmap method is adopted, assuming that a 4-bit bitmap is adopted, it may be specified that as long as the value of bit1 is "1", the cell type is represented as "local forwarding rule configuration request"; in another example, when the numbering method is adopted, assuming that a 4-bit numbering is adopted, it may be specified that "0012" represents the cell type as "local forwarding rule configuration request".
  • N3IWF/TNGF configures a local forwarding rule (corresponding to the first forwarding rule in the aforementioned embodiment).
  • S1204 SMF sends a local forwarding configuration request to 5G-RG.
  • the SMF sends a local forwarding rule configuration request (corresponding to the first configuration request in the aforementioned embodiment) to 5G-RG through AMF, triggering 5G-RG and W-AGF to configure local forwarding rules for the UE (corresponding to the first forwarding rule in the aforementioned embodiment).
  • the local forwarding rule configuration request may carry the identifier of the UE.
  • the form of the UE identifier includes but is not limited to: MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, PEI.
  • the local forwarding rule configuration request may also carry an information element type indication, which is used to indicate that the type of this information element is "local forwarding rule configuration request". Based on this indication, 5G-RG and W-AGF can configure local forwarding rules.
  • S1202 and S1203 can be omitted; in other scenarios, S1204 and S1205 can be omitted. It should also be understood that the present application does not limit the execution order of S1202 and S1204.
  • N3IWF/TNGF an example of the first network element
  • N3IWF/TNGF an IPSec channel can be established between UE and N3IWF/TNGF. Therefore, N3IWF/TNGF can perceive the information of the UE connected to it.
  • the implementation process of N3IWF/TNGF configuring local forwarding rules is shown in Figure 13, and the implementation process may include:
  • N3IWF/TNGF receives the local forwarding rule configuration request sent by SMF.
  • the local forwarding rule configuration request may correspond to the first configuration request in the aforementioned embodiment.
  • N3IWF/TNGF extracts UE identifier.
  • N3IWF/TNGF When N3IWF/TNGF receives the local forwarding rule configuration request sent by SMF, it can extract the UE identifier from the local forwarding rule configuration request.
  • N3IWF/TNGF determines whether an IPSec channel has been established with the UE.
  • N3IWF/TNGF can determine whether an IPSec channel has been established with the UE. If yes, proceed to the subsequent step S1304; if not, terminate the process and do not proceed to the subsequent steps.
  • N3IWF/TNGF configures local forwarding rules.
  • the local forwarding rule may correspond to the first forwarding rule in the aforementioned embodiment.
  • the N3IWF/TNGF can configure local forwarding rules for the UE.
  • the rule format can be "Source interface: Nwu interface; Destination address: the address of the UE; Forward to: the IPSec channel of the UE", and the meaning of this rule is: identify the message whose destination address is the address of the UE coming from the Nwu interface, and forward the message to the IPSec channel corresponding to the UE, and then send the message to the UE.
  • the Nwu interface can also be understood as the communication interface between the N3IWF and any UE connected to the N3IWF.
  • the rule format can be "source interface: Nwt interface; destination address: the address of the UE; forwarded to: the IPSec channel of the UE", and the meaning of this rule is: identify the message whose destination address is the address of the UE coming from the Nwt interface, and forward the message to the IPSec channel corresponding to the UE, and then send the message to the UE.
  • the Nwt interface can also be understood as the communication interface between the TNGF and any UE connected to the TNGF.
  • the destination address may be in the form of, for example, an IPv4 address, an IPv6 address or a MAC address, which is not limited in this application.
  • UE can directly access 5G-RG, so 5G-RG can sense UE, while W-AGF cannot directly sense UE, but can only sense 5G-RG. Therefore, before configuring the local forwarding rule configuration for UE on W-AGF, 5G-RG needs to send relevant information to W-AGF.
  • the user plane between 5G-RG and W-AGF is encapsulated by the 5WE protocol, so 5G-RG needs to inform W-AGF of the 5WE session information corresponding to the UE.
  • the implementation process of 5G-RG and W-AGF configuring local forwarding rules is shown in FIG14 , and the implementation process may include:
  • 5G-RG receives the local forwarding rule configuration request sent by SMF.
  • the local forwarding rule configuration request may correspond to the first configuration request in the aforementioned embodiment.
  • 5G-RG extracts the UE identifier.
  • 5G-RG After 5G-RG receives the local forwarding rule configuration request sent by SMF, it can extract the UE identifier from the local forwarding rule configuration request.
  • the 5G-RG determines whether the UE is a UE downlinked to the 5G-RG.
  • the 5G-RG can determine whether the UE is its downlink UE. If yes, proceed to the subsequent step S1404; if not, terminate the process and do not proceed to the subsequent steps.
  • 5G-RG configures local forwarding rules.
  • the local forwarding rule may correspond to the first forwarding rule in the aforementioned embodiment.
  • the 5G-RG may configure a local forwarding rule for the UE.
  • the local forwarding rule is in the form of "source interface: downlink communication interface of 5G-RG; destination address: address of the UE; forwarded to: communication link between the UE and the 5G-RG", and the meaning of the rule is: identify the downlink communication interface of the 5G-RG.
  • the message whose destination address is the address of the UE coming from the downlink communication interface is forwarded to the communication link between the UE and the 5G-RG.
  • the downlink communication interface of the 5G-RG can also be understood as the communication interface between the 5G-RG and any UE downlinked to the 5G-RG.
  • destination address may be implemented in the form of: IPv4 address, IPv6 address or MAC address, which is not limited in this application.
  • 5G-RG sends a local forwarding rule configuration request to W-AGF (corresponding to the second configuration request in the aforementioned embodiment).
  • the 5G-RG may send a local forwarding rule configuration request to the W-AGF to which the 5G-RG accesses, and the local forwarding rule configuration request may carry a 5WE session ID and a UE address, wherein the 5WE session is a session between the 5G-RG and the W-AGF.
  • the local forwarding rule configuration request may also carry at least one of the following: an information element type indication, a 5G-RG identifier.
  • the information element type indication can be used to indicate that the type of this information element is a "local forwarding rule configuration request"
  • the 5G-RG identifier can be used to identify the identity of the 5G-RG.
  • the forms of the 5G-RG identifier include but are not limited to: MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, PEI.
  • W-AGF configures a local forwarding rule (corresponding to the second forwarding rule in the aforementioned embodiment).
  • W-AGF After W-AGF receives the local forwarding rule configuration request sent by 5G-RG, it can configure local forwarding rules for UE.
  • the rule format is "source interface: Y4; destination address: UE address; forward to: 5WE session corresponding to 5WE session ID".
  • the meaning of this rule is: identify the message with the destination address of UE address coming from Y4 interface and forward it to the 5WE session corresponding to 5WE session ID.
  • Y4 interface is the communication interface between W-AGF and any 5G-RG connected to the W-AGF.
  • destination address may be implemented in the form of: IPv4 address, IPv6 address or MAC address, which is not limited in this application.
  • W-AGF can forward the message with the destination address of UE address received from Y4 interface to the 5WE session corresponding to 5WE session ID, so that 5G-RG can receive the message through the 5WE session. Furthermore, 5G-RG can forward the message to the UE corresponding to the UE address based on the destination address (UE address) carried in the message.
  • the embodiment of the present application can provide a method for message forwarding, so that when the UE under the 5G fixed-mobile converged architecture uses the 5G LAN service, 5G-RG, W-AGF, N3IWF/TNGF support multi-level forwarding.
  • the embodiment of the present application includes the following features:
  • the message forwarding method provided in the embodiment of the present application enables 5G-RG, W-AGF, and N3IWF/TNGF to support multi-level forwarding when the UE under the 5G fixed-mobile convergence architecture uses the 5G LAN service, thereby effectively solving the problem of increased network latency and waste of network transmission resources caused by the lengthy user plane path when the UE under the 5G fixed-mobile convergence architecture uses the 5G LAN service.
  • the driving force at the business level is mainly unified user accounts and authentication, unified billing, business continuity guarantee and business experience consistency, so that users can use a variety of telecommunications services across time, space and access mode restrictions;
  • the driving force of the network includes the reduction of network construction and operation and maintenance costs under a unified network architecture.
  • 5GC with cloud-based and service-oriented architecture can better support 5G fixed-mobile convergence.
  • the solution provided by the embodiment of the present application combines 5G fixed-mobile convergence with 5G LAN technology.
  • UE uses 5G LAN service scenario under the 5G fixed-mobile convergence architecture, it can greatly reduce network latency and improve network resource utilization, thereby promoting a deeper integration of 5G fixed-mobile convergence and 5G LAN, and has good application prospects and commercial value.
  • an embodiment of the present application provides a message forwarding device, which includes the modules included, and can be implemented by a processor in a first network element; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
  • the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
  • FIG15 shows a composition structure of a message forwarding device provided in an embodiment of the present application.
  • a message forwarding device 1500 may include: a first receiving module 1501 and a first configuration module 1502;
  • the first receiving module 1501 is configured to receive a first configuration request from a session management function network element, the first configuration request including an identifier of a first terminal associated with the device 1500; the first configuration module 1502 is configured to configure a first forwarding rule for the first terminal in response to the first configuration request, the first forwarding rule being used to send a message from a second terminal associated with the device 1500 to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
  • the first forwarding rule includes: a first source interface, a first destination address and a first destination interface, wherein the first source interface is: the interface between the device 1500 and the second terminal, the first destination address is: the address of the first terminal, and the first destination interface is: the interface between the device 1500 and the first terminal; the device 1500 also includes a second receiving module and a first sending module; the second receiving module is configured to receive a message from the second terminal through the interface between the device 1500 and the second terminal, and the destination address of the message from the second terminal is the address of the first terminal; the first sending module is configured to send the message from the second terminal to the interface between the device 1500 and the first terminal based on the first forwarding rule.
  • the device 1500 also includes a judgment module; the judgment module is configured to determine whether there is a communication link between the first terminal and the device 1500 before configuring the first forwarding rule for the first terminal; the first configuration module 1502 is also configured to configure the first forwarding rule for the first terminal when there is a communication link between the first terminal and the device 1500.
  • device 1500 is any of the following network elements: a non-3GPP network interaction function N3IWF, a trusted non-3GPP gateway function TNGF, and a resident gateway; when device 1500 is N3IWF or TNGF, the judgment module is specifically configured to: judge whether N3IWF or TNGF has established an Internet security protocol IPSec channel with the first terminal; when device 1500 is a resident gateway, the judgment module is specifically configured to: judge whether the first terminal is a terminal connected to the resident gateway.
  • N3IWF non-3GPP network interaction function
  • TNGF trusted non-3GPP gateway function
  • a resident gateway when device 1500 is N3IWF or TNGF, the judgment module is specifically configured to: judge whether N3IWF or TNGF has established an Internet security protocol IPSec channel with the first terminal; when device 1500 is a resident gateway, the judgment module is specifically configured to: judge whether the first terminal is a terminal connected to the resident gateway.
  • device 1500 is a first resident gateway, and device 1500 also includes a second sending module; the second sending module is configured to send a second configuration request to a wired access gateway function W-AGF network element associated with the first resident gateway, the second configuration request includes the address of the first terminal, the second configuration request is used to request the W-AGF network element to configure a second forwarding rule for the first terminal, and the second forwarding rule is used to send a message of the second resident gateway associated with the W-AGF network element to the first resident gateway; wherein the destination address of the message of the second resident gateway is the address of the first terminal.
  • the second sending module is configured to send a second configuration request to a wired access gateway function W-AGF network element associated with the first resident gateway, the second configuration request includes the address of the first terminal, the second configuration request is used to request the W-AGF network element to configure a second forwarding rule for the first terminal, and the second forwarding rule is used to send a message of the second resident gateway associated with the W-AGF network element to the first
  • the second forwarding rule includes: a second destination address and a second destination interface, wherein the second destination address is: the address of the first terminal, and the second destination interface is: the interface between the W-AGF network element and the first resident gateway;
  • the device 1500 also includes a third receiving module and a third sending module;
  • the third receiving module is configured to receive a message from the second resident gateway through the interface between the W-AGF network element and the first resident gateway;
  • the third sending module is configured to receive a message from the second resident gateway based on the third receiving module.
  • the address of a terminal is used to send the message from the second resident gateway to the first terminal.
  • an embodiment of the present application provides a message forwarding device, which includes the modules included, and can be implemented by a processor in a session management function network element; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
  • the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
  • FIG16 shows the composition structure of another message forwarding device provided in an embodiment of the present application.
  • a message forwarding device 1600 may include: a sending module 1601;
  • the sending module 1601 is configured to send a first configuration request to the first network element, the first configuration request including an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, the first forwarding rule being used to send a message from a second terminal associated with the first network element to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
  • the device 1600 also includes a first acquisition module; the first acquisition module is configured to obtain indication information through the application function AF or the operation support system OSS, and the indication information is used to indicate whether to enable the message forwarding function of the first network element; the sending module 1601 is specifically configured to: when the indication information indicates to enable the message forwarding function of the first network element, send a first configuration request to the first network element.
  • the first acquisition module is configured to obtain indication information through the application function AF or the operation support system OSS, and the indication information is used to indicate whether to enable the message forwarding function of the first network element
  • the sending module 1601 is specifically configured to: when the indication information indicates to enable the message forwarding function of the first network element, send a first configuration request to the first network element.
  • the device 1600 also includes a second acquisition module; the second acquisition module is configured to obtain the association relationship between the first terminal and the first network element before sending the first configuration request to the first network element; the sending module 1601 is specifically configured to: determine the first network element based on the association relationship, and then send the first configuration request to the first network element.
  • the description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment.
  • the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment.
  • technical details not disclosed in the device embodiment of the present application please refer to the description of the method embodiment of the present application for understanding.
  • the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology.
  • the software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), disk or optical disk, etc., various media that can store program codes.
  • the embodiments of the present application are not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
  • An embodiment of the present application also provides a message forwarding device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.
  • the embodiment of the present application further provides a chip, which includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes some or all of the steps in the above method.
  • the embodiment of the present application also provides another chip, which includes a processor and a communication interface, and the processor reads instructions stored in the memory through the communication interface to implement some or all of the steps in the above method.
  • the chip also includes a memory, in which a computer program or instruction is stored, and the processor is used to execute the computer program or instruction stored in the memory. When the computer program or instruction is executed, the processor is used to execute some or all of the steps in the above method.
  • the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented.
  • the computer-readable storage medium can be transient or non-transient.
  • An embodiment of the present application also provides a computer program, including a computer-readable code.
  • a computer-readable code When the computer-readable code is executed in a network element (such as a first network element; or a session management function network element), a processor in the network element (such as a first network element; or a session management function network element) executes some or all of the steps in the above method.
  • the embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented.
  • the computer program product can be implemented specifically by hardware, software or a combination thereof.
  • the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc.
  • FIG. 17 is a schematic diagram of a hardware entity of a message forwarding device in an embodiment of the present application.
  • the hardware entity of the message forwarding device 1700 includes: a processor 1701, a communication interface 1702, and a memory 1703, wherein:
  • the processor 1701 generally controls the overall operation of the packet forwarding device 1700 .
  • the communication interface 1702 enables the message forwarding device 1700 to communicate with other terminals or servers through the network.
  • the memory 1703 is configured to store instructions and applications executable by the processor 1701, and can also cache data to be processed or processed by the processor 1701 and each module in the message forwarding device 1700 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data can be transmitted between the processor 1701, the communication interface 1702, and the memory 1703 through the bus 1704.
  • data can be transmitted between the processor 1701, the communication interface 1702, and the memory 1703 through the bus 1704.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a logical function division.
  • the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
  • all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the integrated unit of the present application can also be stored in a computer-readable storage medium.
  • the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application.
  • the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

Landscapes

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

Abstract

Disclosed in the embodiments of the present application are a message forwarding method and apparatus, and a device, a storage medium and a computer program product. The method is applied to a first network element, and the method comprises: receiving a first configuration request from a session management function network element, wherein the first configuration request comprises an identifier of a first terminal associated with a first network element; and in response to the first configuration request, configuring a first forwarding rule for the first terminal, wherein the first forwarding rule is used for sending to the first terminal a message from a second terminal associated with the first network element, and a destination address of the message from the second terminal is the address of the first terminal. In the method, by means of configuring a first forwarding rule by means of a first network element, message forwarding between different terminals which are associated with the first network element is realized, such that the number of network elements that a message forwarding path requires to pass through is reduced, and therefore the transmission delay can be shortened, and the waste of transmission resources is avoided.

Description

一种报文转发的方法、装置、设备、存储介质和计算机程序产品A method, device, equipment, storage medium and computer program product for message forwarding
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请实施例基于申请号为202211428008.9、申请日为2022年11月15日、申请名称为“一种报文转发的方法、装置、设备和存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The embodiments of this application are based on the Chinese patent application with application number 202211428008.9, application date November 15, 2022, and application name “A method, device, equipment and storage medium for message forwarding”, and claim the priority of the Chinese patent application. The entire contents of the Chinese patent application are hereby introduced into this application as a reference.
技术领域Technical Field
本申请涉及但不限于通信技术领域,尤其涉及一种报文转发的方法、装置、设备、存储介质和计算机程序产品。The present application relates to, but is not limited to, the field of communication technology, and in particular to a method, apparatus, device, storage medium, and computer program product for message forwarding.
背景技术Background technique
第五代移动通信技术(5th Generation Mobile Communication Technology,5G)的固移融合技术可实现固定网络与移动网络之间的融通、合作。在实际生产生活场景中,存在5G信号无覆盖或信号质量较差的区域,在这些区域中,具备5G能力的用户设备(User Equipment,UE)可以基于5G固移融合架构接入5G网络。但该架构下的UE是通过5G驻留网关(5G Residential Gateway,5G-RG)间接接入5G的,不支持UE与5G核心网(5G Core,5GC)之间的N1标准接口与协议,因此无法方便地使用5G的先进技术,比如:网络切片、UE路由选择策略(UE Route Selection Policy,URSP)等。The fixed-mobile convergence technology of the fifth generation mobile communication technology (5G) can realize the integration and cooperation between fixed networks and mobile networks. In actual production and life scenarios, there are areas where 5G signals have no coverage or poor signal quality. In these areas, user equipment (UE) with 5G capabilities can access the 5G network based on the 5G fixed-mobile convergence architecture. However, the UE under this architecture indirectly accesses 5G through the 5G Residential Gateway (5G-RG), and does not support the N1 standard interface and protocol between the UE and the 5G core network (5G Core, 5GC). Therefore, it is not convenient to use 5G advanced technologies, such as network slicing, UE Route Selection Policy (URSP), etc.
一种解决方案是,可令5G-RG下联的UE通过非3GPP网络交互功能(Non-3GPP InterWorking Function,N3IWF)或可信的非3GPP网关功能(Trusted Non-3GPP Gateway Function,TNGF)接入5GC,从而实现5G通信。基于这一架构接入5G网络的UE,可使用5G本地局域网(Local Area Network,LAN)服务,并通过锚点UPF(UPF of PDU Session Anchor,PSA UPF)实现本地不同UE之间的报文转发(流量转发),然而,通过这种方式实现本地不同UE之间的报文转发时,用户面路径所经过的网元较多,从而会引入更多时延,造成传输资源浪费。One solution is to enable UEs connected to 5G-RG to access 5GC through the non-3GPP InterWorking Function (N3IWF) or the trusted non-3GPP Gateway Function (TNGF) to achieve 5G communication. Based on this architecture, UEs accessing the 5G network can use the 5G Local Area Network (LAN) service and implement message forwarding (traffic forwarding) between different local UEs through the anchor UPF (UPF of PDU Session Anchor, PSA UPF). However, when implementing message forwarding between different local UEs in this way, the user plane path passes through more network elements, which will introduce more delays and cause a waste of transmission resources.
发明内容Summary of the invention
本申请至少提供一种报文转发的方法、装置、设备、存储介质和计算机程序产品。The present application at least provides a method, apparatus, device, storage medium and computer program product for message forwarding.
本申请的技术方案是这样实现的:The technical solution of this application is implemented as follows:
第一方面,本申请实施例提供了一种报文转发的方法,应用于第一网元,该方法包括:接收来自会话管理功能网元的第一配置请求,第一配置请求包括与第一网元关联的第一终端的标识;响应于第一配置请求,配置针对第一终端的第一转发规则,第一转发规则用于将与第一网元关联的第二终端的报文发送至第一终端,其中,第二终端的报文的目的地址为第一终端的地址。In a first aspect, an embodiment of the present application provides a method for message forwarding, which is applied to a first network element, and the method includes: receiving a first configuration request from a session management function network element, the first configuration request including an identifier of a first terminal associated with the first network element; in response to the first configuration request, configuring a first forwarding rule for the first terminal, the first forwarding rule being used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
第二方面,本申请实施例提供了一种报文转发的方法,应用于会话管理功能网元,该方法包括:向第一网元发送第一配置请求,第一配置请求包括与第一网元关联的第一终端的标识,第一配置请求用于请求第一网元配置针对第一终端的第一转发规则,第一转发规则用于将与第一网元关联的第二终端的报文发送至第一终端,其中,第二终端的报文的目的地址为第一终端的地址。In a second aspect, an embodiment of the present application provides a method for message forwarding, which is applied to a session management function network element, the method comprising: sending a first configuration request to a first network element, the first configuration request comprising an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, the first forwarding rule being used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
第三方面,本申请实施例提供了一种报文转发的装置,该装置包括第一接收模块和第一配置模块;其中,第一接收模块,被配置为接收来自会话管理功能网元的第一配置请求,第 一配置请求包括与该装置关联的第一终端的标识;第一配置模块,被配置为响应于第一配置请求,配置针对第一终端的第一转发规则,第一转发规则用于将与该装置关联的第二终端的报文发送至第一终端,其中,第二终端的报文的目的地址为第一终端的地址。In a third aspect, an embodiment of the present application provides a device for message forwarding, the device comprising a first receiving module and a first configuration module; wherein the first receiving module is configured to receive a first configuration request from a session management function network element, and the first A configuration request includes an identifier of a first terminal associated with the device; a first configuration module is configured to configure a first forwarding rule for the first terminal in response to the first configuration request, the first forwarding rule being used to send a message from a second terminal associated with the device to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
第四方面,本申请实施例提供了一种报文转发的装置,该装置包括发送模块;其中,发送模块,被配置为向第一网元发送第一配置请求,第一配置请求包括与第一网元关联的第一终端的标识,第一配置请求用于请求第一网元配置针对第一终端的第一转发规则,第一转发规则用于将与第一网元关联的第二终端的报文发送至第一终端,其中,第二终端的报文的目的地址为第一终端的地址。In a fourth aspect, an embodiment of the present application provides a device for forwarding a message, the device comprising a sending module; wherein the sending module is configured to send a first configuration request to a first network element, the first configuration request comprising an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, the first forwarding rule being used to send a message from a second terminal associated with the first network element to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
第五方面,本申请实施例提供了一种报文转发设备,该报文转发设备包括存储器和处理器;其中,存储器,用于存储计算机可执行指令;处理器,与该存储器连接,用于通过执行该计算机可执行指令,实现第一方面或第二方面所述的方法。In the fifth aspect, an embodiment of the present application provides a message forwarding device, which includes a memory and a processor; wherein the memory is used to store computer-executable instructions; the processor is connected to the memory and is used to implement the method described in the first aspect or the second aspect by executing the computer-executable instructions.
第六方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,计算机程序被至少一个处理器执行时实现第一方面或第二方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by at least one processor, the method described in the first aspect or the second aspect is implemented.
第七方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,在该计算机指令在计算机设备上运行的情况下,使得该计算机设备执行第一方面或第二方面所述的方法。In a seventh aspect, an embodiment of the present application provides a computer program product, which includes computer instructions. When the computer instructions are run on a computer device, the computer device executes the method described in the first aspect or the second aspect.
本申请实施例所提供的一种报文转发的方法、装置、设备、存储介质和计算机程序产品,在第一网元侧,接收来自会话管理功能网元的第一配置请求,第一配置请求包括与第一网元关联的第一终端的标识;响应于第一配置请求,配置针对第一终端的第一转发规则,第一转发规则用于将与第一网元关联的第二终端的报文发送至第一终端。该方法通过第一网元配置第一转发规则,实现与第一网元关联的不同终端之间的报文转发,从而减少了报文转发路径中需经过的网元数量,因此能够减小传输时延,避免传输资源浪费。The embodiment of the present application provides a method, apparatus, device, storage medium and computer program product for message forwarding. On the first network element side, a first configuration request is received from a session management function network element, and the first configuration request includes an identifier of a first terminal associated with the first network element; in response to the first configuration request, a first forwarding rule for the first terminal is configured, and the first forwarding rule is used to send a message of a second terminal associated with the first network element to the first terminal. The method configures the first forwarding rule by the first network element to realize message forwarding between different terminals associated with the first network element, thereby reducing the number of network elements that need to be passed in the message forwarding path, thereby reducing the transmission delay and avoiding the waste of transmission resources.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本申请的技术方案。It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
图1为基于“5G-RG+W-AGF”的固移融合网络架构的示意图;FIG1 is a schematic diagram of a fixed-mobile converged network architecture based on “5G-RG+W-AGF”;
图2为5G-RG下联的UE通过N3IWF接入5GC的网络架构的示意图;FIG2 is a schematic diagram of a network architecture in which a UE connected to a 5G-RG downlink accesses a 5GC via an N3IWF;
图3为5G-RG下联的UE通过TNGF接入5GC的网络架构的示意图;FIG3 is a schematic diagram of a network architecture in which a UE connected to a 5G-RG accesses a 5GC via a TNGF;
图4为5G-RG下联的UE通过TNGF接入5GC的用户面路径示意图;FIG4 is a schematic diagram of a user plane path of a UE connected to a 5G-RG via a TNGF to access a 5GC;
图5为5G LAN用户面架构示意图;Figure 5 is a schematic diagram of the 5G LAN user plane architecture;
图6为5G VN组的数据转发示意图;Figure 6 is a schematic diagram of data forwarding of a 5G VN group;
图7为5G固移融合架构下UE使用5G LAN服务的用户面路径示意图;Figure 7 is a schematic diagram of the user plane path of a UE using a 5G LAN service under a 5G fixed-mobile converged architecture;
图8为本申请实施例提供的一种报文转发的方法的流程示意图一;FIG8 is a flow chart of a method for forwarding a message provided in an embodiment of the present application;
图9为本申请实施例提供的一种报文转发的方法的流程示意图二;FIG9 is a second flow chart of a method for forwarding a message provided in an embodiment of the present application;
图10为本申请实施例提供的报文转发方法的一种可能的实现流程示意图;FIG10 is a schematic diagram of a possible implementation flow of a message forwarding method provided in an embodiment of the present application;
图11为本申请实施例通过网络能力开放功能向5GC下发更新后的5G VN组配置数据的流程示意图;FIG11 is a schematic diagram of a process of sending updated 5G VN group configuration data to 5GC through the network capability exposure function in an embodiment of the present application;
图12为本申请实施例5G VN组配置分级转发功能的流程示意图;FIG12 is a flow chart of a 5G VN group configuration hierarchical forwarding function according to an embodiment of the present application;
图13为本申请实施例N3IWF/TNGF配置本地转发规则的实现流程示意图;FIG13 is a schematic diagram of an implementation flow of configuring local forwarding rules by N3IWF/TNGF in an embodiment of the present application;
图14为本申请实施例5G-RG和W-AGF配置本地转发规则的实现流程示意图;FIG14 is a schematic diagram of an implementation flow of configuring local forwarding rules for 5G-RG and W-AGF in an embodiment of the present application;
图15为本申请实施例提供的一种报文转发的装置的组成结构示意图;FIG15 is a schematic diagram of the composition structure of a message forwarding device provided in an embodiment of the present application;
图16为本申请实施例提供的另一种报文转发的装置的组成结构示意图;FIG16 is a schematic diagram of the composition structure of another message forwarding device provided in an embodiment of the present application;
图17为本申请实施例中报文转发设备的一种硬件实体示意图。 FIG. 17 is a schematic diagram of a hardware entity of a message forwarding device in an embodiment of the present application.
具体实施方式Detailed ways
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.
除非另有定义,本申请实施例所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本申请实施例中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art in the technical field of the present application. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。还需要指出,本申请实施例所涉及的术语“第一\第二\第三”仅是用于区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. It should also be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second\third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
本申请提供的技术方案可以应用于各种通信系统,例如:第五代(5th Generation,5G)或新无线(New Radio,NR)系统、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)系统等。下面以5G系统为例进行示例性说明。The technical solution provided in this application can be applied to various communication systems, such as: the fifth generation (5th Generation, 5G) or new wireless (New Radio, NR) system, the long term evolution (Long Term Evolution, LTE) system, the LTE frequency division duplex (FDD) system, the LTE time division duplex (TDD) system, etc. The following takes the 5G system as an example for exemplary description.
为便于理解本申请实施例,下面对本申请中涉及的相关技术做简单介绍。To facilitate understanding of the embodiments of the present application, the following is a brief introduction to the relevant technologies involved in the present application.
1.5G固移融合技术1.5G Fixed-Mobile Convergence Technology
固移融合即固定移动网络融合,又称为无线与有线融合。固移融合可通过固定网络与移动网络之间的融通、合作,从而实现全业务及融合业务的经营,进而为用户提供多样的高质量的通信、信息和娱乐等业务,而与终端、网络、应用和位置无关。为实现5G固移融合,第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)规范中定义了两种网关:驻留网关(Residential Gateway,RG)与有线接入网关功能(Wireline Access Gateway Function,W-AGF),分别部署于用户侧与网络侧,用于解决两个位置的融合问题。Fixed-mobile convergence refers to the convergence of fixed and mobile networks, also known as wireless and wired convergence. Fixed-mobile convergence can achieve full-service and converged business operations through the integration and cooperation between fixed and mobile networks, thereby providing users with a variety of high-quality communication, information, entertainment and other services, regardless of terminals, networks, applications and locations. To achieve 5G fixed-mobile convergence, the 3rd Generation Partnership Project (3GPP) specification defines two types of gateways: Residential Gateway (RG) and Wireline Access Gateway Function (W-AGF), which are deployed on the user side and the network side respectively to solve the convergence problem at the two locations.
其中,RG介于终端与接入网络之间,又分为5G-RG与固定网络RG(Fixed Network RG,FN-RG)。5G-RG具备5G通信能力,可对接下一代无线接入网(Next Generation Radio Access Network,NG RAN),也可对接有线接入网络;而FN-RG只能对接有线接入网络。W-AGF介于有线接入网络与5GC之间,与有线接入网络共同组成有线5G接入网络(Wireline 5G Access Network,W-5GAN),与5GC之间通过标准的3GPP N2和N3接口对接。Among them, RG is between the terminal and the access network, and is divided into 5G-RG and fixed network RG (Fixed Network RG, FN-RG). 5G-RG has 5G communication capabilities and can connect to the next generation radio access network (Next Generation Radio Access Network, NG RAN) and the wired access network; while FN-RG can only connect to the wired access network. W-AGF is between the wired access network and 5GC, and together with the wired access network, it forms the wired 5G access network (Wireline 5G Access Network, W-5GAN), and connects with 5GC through standard 3GPP N2 and N3 interfaces.
“RG+W-AGF”是实现5G固移融合的基础,其中基于“5G-RG+W-AGF”的固移融合网络架构如图1所示。"RG+W-AGF" is the basis for realizing 5G fixed-mobile convergence. The fixed-mobile convergence network architecture based on "5G-RG+W-AGF" is shown in Figure 1.
基于图1所示的5G固移融合架构,终端首先通过非3GPP网络(如无线局域网(Wireless Local Area Network,WLAN)、有线、蓝牙等)接入5G-RG,经过5G-RG协议转换后通过5G无线网络或有线网络接入5G核心网。在如图1所示的架构下,终端需通过5G-RG间接接入5GC,因此即使终端是具备5G能力的UE,也不能与5GC之间通过非接入层(Non-Access Stratum,NAS)信令直接交互。Based on the 5G fixed-mobile convergence architecture shown in Figure 1, the terminal first accesses the 5G-RG through a non-3GPP network (such as wireless local area network (WLAN), wired, Bluetooth, etc.), and then accesses the 5G core network through a 5G wireless network or wired network after 5G-RG protocol conversion. Under the architecture shown in Figure 1, the terminal needs to indirectly access the 5GC through the 5G-RG. Therefore, even if the terminal is a UE with 5G capabilities, it cannot directly interact with the 5GC through non-access stratum (NAS) signaling.
2.RG下联UE通过N3IWF/TNGF接入5G2. RG downlink UE accesses 5G through N3IWF/TNGF
RG下的终端可能也具备5G能力,但基于5G固移融合架构,该终端只能通过RG间接接入5GC。3GPP 5G固移融合标准TS 23.316中结合3GPP与非3GPP融合网络架构,将5G固移融合架构整体视为一个“非授信非3GPP接入”或“授信非3GPP接入”。其中,将5G固移融合架构整体视为一个“非授信非3GPP接入”时,可通过N3IWF接入5GC,将5G固移融合架构整体视为一个“授信非3GPP接入”时,可通过TNGF接入5GC,这样,RG下的UE可通过标准的5G NAS协议接入5GC,进而实现5G通信。The terminal under RG may also have 5G capabilities, but based on the 5G fixed-mobile convergence architecture, the terminal can only access 5GC indirectly through RG. The 3GPP 5G fixed-mobile convergence standard TS 23.316 combines 3GPP and non-3GPP converged network architectures, and regards the 5G fixed-mobile convergence architecture as a "non-trusted non-3GPP access" or "trusted non-3GPP access". Among them, when the 5G fixed-mobile convergence architecture is regarded as a "non-trusted non-3GPP access" as a whole, 5GC can be accessed through N3IWF, and when the 5G fixed-mobile convergence architecture is regarded as a "trusted non-3GPP access" as a whole, 5GC can be accessed through TNGF. In this way, the UE under RG can access 5GC through the standard 5G NAS protocol, thereby realizing 5G communication.
以5G-RG为例,其下联的UE通过N3IWF、TNGF接入5GC的网络架构分别如图2与图3所示。 Taking 5G-RG as an example, the network architecture in which its downstream UE accesses 5GC through N3IWF and TNGF is shown in Figure 2 and Figure 3 respectively.
3GPP标准中并未详细描述上述架构下UE的控制面与用户面建立的流程,只在TS23.316第4.10章节给出了如下描述:在该架构下,UE的控制和用户平面数据包使用FN-RG/5G-RG IP PDU会话传输,然后从该PDU会话的PSA UPF传输到互通功能(Interworking Function,IWF),如N3IWF或TNGF。The 3GPP standard does not describe in detail the process of establishing the control plane and user plane of the UE under the above architecture. It only gives the following description in Chapter 4.10 of TS23.316: Under this architecture, the control and user plane data packets of the UE are transmitted using the FN-RG/5G-RG IP PDU session, and then transmitted from the PSA UPF of the PDU session to the Interworking Function (IWF), such as N3IWF or TNGF.
结合3GPP TS23.502中定义的UE通过N3IWF/TNGF注册到5GC并创建协议数据单元(Protocol Data Unit,PDU)会话的流程,可以得出该架构下UE建立到数据网络名称(Data Network Name,DNN)的用户面路径的方式包括如下步骤1)至4):Combined with the process of UE registering to 5GC through N3IWF/TNGF and creating a protocol data unit (PDU) session defined in 3GPP TS23.502, it can be concluded that the way in which the UE establishes a user plane path to the data network name (DNN) under this architecture includes the following steps 1) to 4):
1)5G-RG首先通过有线网络接入W-AGF;1) 5G-RG first accesses W-AGF through the wired network;
2)5G-RG通过W-AGF创建“锚点为UPF1,目的是N3IWF/TNGF”的PDU会话,其中,UPF表示用户面功能(User Plane Function);5GC通过N2消息将PDU会话ID通知W-AGF,之后W-AGF分配一个5G无线有线融合用户面封装(5G Wireless Wireline Convergence User Plane Encapsulation,5WE)会话ID(5WE协议用于在5G-RG与AGF之间封装承载用户面数据的PDU会话,支持互联网协议第4版(Internet Protocol Version 4,IPv4)、互联网协议第6版(Internet Protocol Version 6,IPv6)和以太网PDU会话类型),并将其绑定到PDU会话ID;该绑定关系由W-AGF传送到5G-RG,以便于5G-RG基于5WE会话ID来识别PDU会话的数据报文;2) 5G-RG creates a PDU session with "anchor point UPF1 and destination N3IWF/TNGF" through W-AGF, where UPF represents the user plane function (User Plane Function); 5GC notifies W-AGF of the PDU session ID through the N2 message, and then W-AGF allocates a 5G Wireless Wireline Convergence User Plane Encapsulation (5G Wireless Wireline Convergence User Plane Encapsulation, 5WE) session ID (5WE protocol is used to encapsulate PDU session carrying user plane data between 5G-RG and AGF, supporting Internet Protocol Version 4 (Internet Protocol Version 4, IPv4), Internet Protocol Version 6 (Internet Protocol Version 6, IPv6) and Ethernet PDU session type), and binds it to the PDU session ID; the binding relationship is transmitted from W-AGF to 5G-RG so that 5G-RG can identify the data message of the PDU session based on the 5WE session ID;
3)UE接入5G-RG后,通过上述PDU会话连接到N3IWF/TNGF;3) After the UE accesses the 5G-RG, it connects to the N3IWF/TNGF through the above PDU session;
4)UE基于3GPP标准流程,通过N3IWF/TNGF注册到5GC并创建“锚点为UPF2,目的是DNN”的PDU会话,该过程中UE与N3IWF/TNGF之间创建互联网安全协议(Internet Protocol Security,IPSec)数据通道,将“5G-RG到W-AGF到UPF1”看作透明的传输通道。4) Based on the 3GPP standard process, the UE registers to the 5GC through N3IWF/TNGF and creates a PDU session with "anchor point as UPF2 and destination as DNN". During this process, an Internet Protocol Security (IPSec) data channel is created between the UE and N3IWF/TNGF, and "5G-RG to W-AGF to UPF1" is regarded as a transparent transmission channel.
以通过TNGF接入5GC为例,UE到5GC的用户面路径如图4所示。Taking access to 5GC through TNGF as an example, the user plane path from UE to 5GC is shown in Figure 4.
3.5G LAN技术3.5G LAN Technology
在办公室、企业、工厂、住宅等场所,5G需要提供类似于本地局域网(Local Area Network,LAN)和虚拟专用网络(Virtual Private Network,VPN)的功能。5G LAN相关的基本概念有如下三个:In offices, enterprises, factories, homes and other places, 5G needs to provide functions similar to local area networks (LANs) and virtual private networks (VPNs). The basic concepts related to 5G LAN are as follows:
(1)5G LAN服务(5G LAN-type Service):通过5G系统提供局域网通信的服务,可使用IP或非IP类型通信;(1) 5G LAN service (5G LAN-type Service): A service that provides local area network communication through the 5G system, which can use IP or non-IP type communication;
(2)5G LAN虚拟网络(5G LAN-Virtual Network,5G LAN-VN):5G系统上的虚拟网络,用于提供5G LAN服务;(2) 5G LAN-Virtual Network (5G LAN-VN): A virtual network on the 5G system used to provide 5G LAN services;
(3)5G虚拟网(5G Virtual Network,5G VN)组(5G VN Group):使用基于5G LAN服务的专用通信的一组UE。(3) 5G Virtual Network (5G VN) group: a group of UEs that use dedicated communications based on 5G LAN services.
传统的5G数据通道用于UE访问数据网络(Data Network,DN),如UE访问互联网或企业专网;而5G LAN下的数据通道用于UE访问UE,源UE发起的数据报文在5GC中的UPF上直接转发到目的UE,无需绕到DN中转发,从而大幅减少了UE之间通信的网络时延,同时提高了网络可靠性。5G LAN通信支持如下三种类型的流量转发,其用户面架构如图5所示。The traditional 5G data channel is used for UE to access the data network (DN), such as UE access to the Internet or enterprise private network; while the data channel under 5G LAN is used for UE to access UE. The data message initiated by the source UE is directly forwarded to the destination UE on the UPF in 5GC without forwarding in the DN, thereby greatly reducing the network delay of communication between UEs and improving network reliability. 5G LAN communication supports the following three types of traffic forwarding, and its user plane architecture is shown in Figure 5.
(1)本地交换:流量由单一UPF本地转发,该UPF是同一5G VN组的不同PDU会话的通用PSA UPF(如图5中的PSA UPF#1);(1) Local switching: Traffic is forwarded locally by a single UPF, which is the common PSA UPF for different PDU sessions of the same 5G VN group (such as PSA UPF#1 in Figure 5);
(2)基于N19的流量转发:5G VN通信的上下行流量通过N19在不同PDU会话的PSA UPF间转发。N19是基于同一5G VN组内的互联PSA UPF(如图5中的PSA UPF#1和PSA UPF#2)之间的共享用户面隧道;(2) Traffic forwarding based on N19: The uplink and downlink traffic of 5G VN communication is forwarded between PSA UPFs of different PDU sessions through N19. N19 is a shared user plane tunnel between interconnected PSA UPFs within the same 5G VN group (such as PSA UPF#1 and PSA UPF#2 in Figure 5);
(3)基于N6的流量转发:5G VN通信的上下行流量来自/发往DN。(3) Traffic forwarding based on N6: The uplink and downlink traffic of 5G VN communication comes from/is sent to DN.
为实现5G LAN的“UE到UE的数据在核心网内转发”的功能,3GPP标准对UE的PDU会话流程做了如下增强:To implement the "UE to UE data forwarding within the core network" function of 5G LAN, the 3GPP standard has made the following enhancements to the UE PDU session process:
(1)网络运营商设定一个(DNN,S-NSSAI)组合与5G VN组1:1映射,其中,S-NSSAI表示单个网络切片选择协助信息(Single Network Slice Selection Assistance information);(1) The network operator sets a (DNN, S-NSSAI) combination with a 1:1 mapping to the 5G VN group, where S-NSSAI stands for Single Network Slice Selection Assistance information.
(2)UE创建PDU会话时,携带指定的(DNN,S-NSSAI),指示本PDU会话为5G VN 组会话;(2) When the UE creates a PDU session, it carries the specified (DNN, S-NSSAI) to indicate that this PDU session is a 5G VN Group conversation;
(3)一个PDU会话提供对一个且仅一个5G VN组的访问;(3) A PDU session provides access to one and only one 5G VN group;
(4)一个5G VN组通信的所有PDU会话由一个专用的会话管理功能(Session Management Function,SMF)负责;(4) All PDU sessions of a 5G VN group communication are managed by a dedicated session management function (SMF);
(5)SMF收到PDU会话请求后,为UE选择合适的UPF,在上面配置该UE的5G VN组转发规则,使得5G VN组内成员间的通信在5G核心网内完成转发,具体转发规则的形式和配置方法参见3GPP的TS 23.501中的相关描述。(5) After receiving the PDU session request, the SMF selects a suitable UPF for the UE and configures the 5G VN group forwarding rules of the UE on it, so that the communication between members in the 5G VN group can be forwarded within the 5G core network. For the specific form and configuration method of the forwarding rules, please refer to the relevant description in 3GPP TS 23.501.
经过上述处理后的5G VN组的数据转发原理如图6所示。示例性地,图中的UE#1发送到UE#2的数据报文,首先通过UE#1创建的PDU会话PDU#1发送到UPF#1,然后由UPF#1基于SMF#1配置的转发规则,转发到UE#2创建的PDU会话PDU#2,最终发到UE#2。类似地,UE#2发送到UE#3的数据报文,首先通过UE#2创建的PDU#3发送到UPF#2,然后由UPF#2基于SMF#2配置的转发规则转发到UPF#3,之后UPF#3基于SMF#2配置的转发规则转发到UE#3创建的PDU#4,最终发到UE#3。其中,UE#1和UE#2可对应于私有(Private)DNN#1和5G LAN组#1,UE#2和UE#3可对应于私有DNN#2和5G LAN组#2。The data forwarding principle of the 5G VN group after the above processing is shown in FIG6. For example, the data message sent by UE#1 in the figure to UE#2 is first sent to UPF#1 through the PDU session PDU#1 created by UE#1, and then forwarded by UPF#1 to the PDU session PDU#2 created by UE#2 based on the forwarding rule configured by SMF#1, and finally sent to UE#2. Similarly, the data message sent by UE#2 to UE#3 is first sent to UPF#2 through PDU#3 created by UE#2, and then forwarded to UPF#3 by UPF#2 based on the forwarding rule configured by SMF#2, and then forwarded to PDU#4 created by UE#3 based on the forwarding rule configured by SMF#2 by UPF#3, and finally sent to UE#3. Among them, UE#1 and UE#2 can correspond to private DNN#1 and 5G LAN group#1, and UE#2 and UE#3 can correspond to private DNN#2 and 5G LAN group#2.
4.5G VN组信息4.5G VN group information
5G VN组信息如表1所示,该5G VN组信息可以由网络管理员通过操作支撑系统(Operation Support System,OSS)或网络能力开放功能(Network Exposure Function,NEF)下发给5GC。The 5G VN group information is shown in Table 1. The 5G VN group information can be sent to 5GC by the network administrator through the operation support system (OSS) or the network exposure function (NEF).
表1 5G VN组信息
Table 1 5G VN group information
其中,5G VN组数据为该组的配置数据,5G VN组数据的结构如表2所示。Among them, the 5G VN group data is the configuration data of the group. The structure of the 5G VN group data is shown in Table 2.
表2 5G VN组数据类型
Table 2 5G VN group data types
5G作为新一代通信技术,利用大带宽、低时延、高可靠、广连接的特性为垂直行业应用提供必要的网络基础支撑,推动各行各业的智能化升级,迈向万物智能互联。但当前各垂直行业已普遍部署了基于无线保真(Wireless Fidelity,Wi-Fi)、蓝牙、有线、紫蜂(Zigbee)、远距离无线电(Long Range Radio,LoRa)等网络类型的局域网与物联网。出于成本、使用习惯等的考虑,各行业不可能短期内用5G网络完全替代现有网络,因此,在各行业内,5G网络与其他类型网络将长期共存。如果5G网络的终端与其他网络之间的终端处于一种隔离的状态,则5G万物互联的目标将无法实现,因此,5G与其他类型网络的融合势在必行。As a new generation of communication technology, 5G uses the characteristics of large bandwidth, low latency, high reliability, and wide connection to provide the necessary network infrastructure support for vertical industry applications, promote the intelligent upgrade of various industries, and move towards the intelligent interconnection of all things. However, various vertical industries have generally deployed local area networks and the Internet of Things based on network types such as Wireless Fidelity (Wi-Fi), Bluetooth, wired, Zigbee, and Long Range Radio (LoRa). Due to considerations such as cost and usage habits, it is impossible for various industries to completely replace existing networks with 5G networks in the short term. Therefore, in various industries, 5G networks and other types of networks will coexist for a long time. If the terminals of the 5G network and the terminals of other networks are in an isolated state, the goal of 5G Internet of Everything will not be achieved. Therefore, the integration of 5G and other types of networks is imperative.
目前,5G固移融合技术可实现固定网络与移动网络之间的融通与合作。在实际生产生 活场景中,存在5G信号无覆盖或信号质量较差的区域,比如:某些居住小区,偏远地区的医院、工厂等。在这些区域中,具备5G能力的UE可以基于5G固移融合架构接入5G网络,但该架构下UE是通过5G-RG间接接入5G,不支持UE与5GC之间的N1标准接口与协议,无法方便地使用5G的先进技术,比如:网络切片、URSP等。前述的RG下联UE通过N3IWF/TNGF接入5G的架构可解决这一问题,其中,UE可接入非3GPP网络,进而通过N3IWF/TNGF接入5GC,从而实现5G通信。基于这一架构接入5G网络的UE,也可以使用5G LAN服务,实现方式可参考前述的5G LAN技术。5G固移融合架构下UE使用5G LAN服务的用户面路径如图7所示。At present, 5G fixed-mobile convergence technology can realize the integration and cooperation between fixed networks and mobile networks. In live scenarios, there are areas where 5G signals are not covered or the signal quality is poor, such as some residential areas, hospitals and factories in remote areas, etc. In these areas, UEs with 5G capabilities can access the 5G network based on the 5G fixed-mobile convergence architecture, but under this architecture, UEs access 5G indirectly through 5G-RG, and do not support the N1 standard interface and protocol between UE and 5GC, and cannot conveniently use 5G advanced technologies, such as network slicing and URSP. The aforementioned architecture of RG downlink UE accessing 5G through N3IWF/TNGF can solve this problem, in which UEs can access non-3GPP networks and then access 5GC through N3IWF/TNGF to achieve 5G communication. UEs accessing the 5G network based on this architecture can also use 5G LAN services, and the implementation method can refer to the aforementioned 5G LAN technology. The user plane path of UE using 5G LAN services under the 5G fixed-mobile convergence architecture is shown in Figure 7.
从图7所示的架构中可以看出,5G固移融合架构下的UE#1和UE#2在使用5G LAN服务进行本地交换时,用户面路径包括5G-RG、W-AGF、UPF、N3IWF/TNGF、中继UPF(Intermediate UPF,I-UPF),进而通过PSA UPF实现本地交换。相比通过5G基站接入5G网络的UE(参见图5),5G固移融合架构下的UE使用5G LAN服务时的用户面路径所经过的网元较多,从而会引入更多时延。但实际上不是所有流量都需要经PSA UPF进行转发,例如,同一个5G-RG下联的UE之间通信,可以直接在5G-RG上实现转发;同理,路径上的W-AGF、N3IWF/TNGF都可以实现本地转发;又例如,上游网元可以转发不同下游网元所关联的UE之间的流量,举例来说,两个UE分别关联两个不同的5G-RG,而这两个5G-RG接入同一W-AGF,因此两个UE之间的流量可以在W-AGF上实现转发。From the architecture shown in Figure 7, it can be seen that when UE#1 and UE#2 in the 5G fixed-mobile convergence architecture use 5G LAN services for local switching, the user plane path includes 5G-RG, W-AGF, UPF, N3IWF/TNGF, and relay UPF (Intermediate UPF, I-UPF), and then local switching is achieved through PSA UPF. Compared with UEs accessing the 5G network through 5G base stations (see Figure 5), the user plane path of UEs in the 5G fixed-mobile convergence architecture when using 5G LAN services passes through more network elements, which will introduce more delays. But in fact, not all traffic needs to be forwarded through PSA UPF. For example, communication between UEs connected to the same 5G-RG can be forwarded directly on the 5G-RG. Similarly, the W-AGF and N3IWF/TNGF on the path can achieve local forwarding. For example, the upstream network element can forward the traffic between UEs associated with different downstream network elements. For example, two UEs are respectively associated with two different 5G-RGs, and these two 5G-RGs are connected to the same W-AGF. Therefore, the traffic between the two UEs can be forwarded on the W-AGF.
鉴于此,本申请实施例提供一种报文转发的方法、装置、设备、存储介质和计算机程序产品。该方法通过第一网元(如5G-RG、N3IWF或TNGF)配置第一转发规则,实现与第一网元关联的不同终端之间的报文转发,从而减少了报文转发路径中需经过的网元数量,因此能够减小传输时延,避免传输资源浪费。In view of this, embodiments of the present application provide a method, apparatus, device, storage medium, and computer program product for message forwarding. The method configures a first forwarding rule through a first network element (such as 5G-RG, N3IWF, or TNGF) to implement message forwarding between different terminals associated with the first network element, thereby reducing the number of network elements that need to be passed through in the message forwarding path, thereby reducing transmission delay and avoiding waste of transmission resources.
下面将结合附图对本申请各实施例进行详细说明。The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图8为本申请实施例提供的一种报文转发的方法的流程示意图一。该方法中的第一网元例如可以为N3IWF、TNGF或驻留网关(如5G-RG),会话管理功能网元可为SMF。如图8所示,该方法可以包括:FIG8 is a flow chart of a method for message forwarding provided in an embodiment of the present application. The first network element in the method may be, for example, an N3IWF, a TNGF, or a resident gateway (such as a 5G-RG), and the session management function network element may be an SMF. As shown in FIG8 , the method may include:
S801,会话管理功能网元向第一网元发送第一配置请求。S801. A session management function network element sends a first configuration request to a first network element.
相应地,第一网元接收来自会话管理功能网元的第一配置请求。Correspondingly, the first network element receives a first configuration request from the session management function network element.
其中,第一配置请求可用于请求第一网元配置针对第一终端的第一转发规则,第一转发规则可用于将与第一网元关联的第二终端的报文发送至第一终端,其中,该第二终端的报文的目的地址为第一终端的地址。示例性地,第一配置请求中可包括与第一网元关联的第一终端的标识。The first configuration request may be used to request the first network element to configure a first forwarding rule for the first terminal, and the first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal. Exemplarily, the first configuration request may include an identifier of the first terminal associated with the first network element.
应理解,本申请实施例中的终端也可以称为终端设备或UE。例如为:手机(Mobile Phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(Mobile Internet Device,MID)等,本申请对此不予限定。It should be understood that the terminal in the embodiments of the present application may also be referred to as a terminal device or UE. For example, a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), etc., which is not limited in the present application.
在本实施例中,第一终端的标识可用于标识该第一终端的身份。示例性地,第一终端的标识的形式包括但不限于:移动用户国际识别码(Mobile Subscriber International ISDN Number,MSISDN)、国际移动用户识别码(International Mobile Subscriber Identification Number,IMSI),用户永久标识(Subscription Permanent Identifier,SUPI)、用户隐藏标识符(Subscription Concealed Identifier,SUCI)、网际协议(Internet Protocol,IP)地址、媒体存取控制(Media Access Control,MAC)地址、永久设备标识符(Permanent Equipment Identifier,PEI)。In this embodiment, the identifier of the first terminal can be used to identify the identity of the first terminal. Exemplarily, the form of the identifier of the first terminal includes, but is not limited to: Mobile Subscriber International ISDN Number (MSISDN), International Mobile Subscriber Identification Number (IMSI), Subscription Permanent Identifier (SUPI), Subscription Concealed Identifier (SUCI), Internet Protocol (IP) address, Media Access Control (MAC) address, Permanent Equipment Identifier (PEI).
在本实施例中,与第一网元关联的第一终端(或第二终端),还可以理解为,第一网元下联的某个终端,或第一网元下游的某个终端。一示例,假设第一网元为N3IWF或TNGF,则与第一网元关联的第一终端(或第二终端),可以是与该N3IWF或TNGF建立了IPSec通道的某个终端;另一示例,假设第一网元为5G-RG,则与第一网元关联的第一终端(或第二终端),可以是该5G-RG下联的某个终端。In this embodiment, the first terminal (or second terminal) associated with the first network element can also be understood as a terminal connected to the first network element or a terminal downstream of the first network element. In one example, assuming that the first network element is N3IWF or TNGF, the first terminal (or second terminal) associated with the first network element can be a terminal that has established an IPSec channel with the N3IWF or TNGF; in another example, assuming that the first network element is 5G-RG, the first terminal (or second terminal) associated with the first network element can be a terminal connected to the 5G-RG.
在一些实施例中,第一配置请求中还可以携带信元类型指示,信元类型指示可用于指示 本信元的类型为“第一配置请求”。在本实施例中,信元类型指示的实现方式例如可以为位图(bitmap)方式、编号方式等。一示例,当采用bitmap方式时,假设采用4位(bit)的bitmap,可规定若第一位(bit1)值为“1”,则代表信元的类型为“第一配置请求”;另一示例,当采用编号方式时,假设采用4bit编号,可规定“0012”代表信元的类型为“第一配置请求”。应理解,上述代表信元的类型为“第一配置请求”的具体规定仅为便于理解本申请的实施例进行的示例性说明,不对本申请的保护范围构成任何限定。In some embodiments, the first configuration request may also carry an information element type indication, which may be used to indicate The type of this information element is "first configuration request". In this embodiment, the implementation method of the information element type indication may be, for example, a bitmap method, a numbering method, etc. In one example, when the bitmap method is adopted, assuming that a 4-bit bitmap is adopted, it can be stipulated that if the value of the first bit (bit1) is "1", it represents the type of information element as "first configuration request"; in another example, when the numbering method is adopted, assuming that a 4-bit numbering is adopted, it can be stipulated that "0012" represents the type of information element as "first configuration request". It should be understood that the above-mentioned specific provision that the type of information element represented as "first configuration request" is only an exemplary description for facilitating the understanding of the embodiments of the present application, and does not constitute any limitation on the scope of protection of the present application.
S802,第一网元响应于第一配置请求,配置针对第一终端的第一转发规则。S802: The first network element configures a first forwarding rule for the first terminal in response to the first configuration request.
第一网元接收来自会话管理功能网元的第一配置请求后,可基于第一配置请求中携带的第一终端的标识,配置针对第一终端的第一转发规则。其中,第一转发规则可用于将与第一网元关联的第二终端的报文发送至第一终端,其中,该第二终端的报文的目的地址为第一终端的地址。After receiving the first configuration request from the session management function network element, the first network element may configure a first forwarding rule for the first terminal based on the identifier of the first terminal carried in the first configuration request. The first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
示例性地,第一转发规则可包括:第一源接口、第一目的地址和第一目的接口。该规则的含义为:识别通过第一源接口接收的目的地址为第一目的地址的报文,并将该报文发送至第一目的接口。Exemplarily, the first forwarding rule may include: a first source interface, a first destination address and a first destination interface. The meaning of this rule is: identifying a message received through the first source interface with the first destination address as the destination address, and sending the message to the first destination interface.
在一种实现方式中,第一源接口为:第一网元和第二终端之间的接口;第一目的地址为:第一终端的地址;第一目的接口为:第一网元和第一终端之间的接口。此时,该方法还可以包括:第一网元通过第一网元和第二终端之间的接口,接收来自第二终端的报文,其中,第二终端的报文的目的地址为第一终端的地址;基于第一转发规则,第一网元将接收的来自第二终端的报文发送至第一网元和第一终端之间的接口。In one implementation, the first source interface is: the interface between the first network element and the second terminal; the first destination address is: the address of the first terminal; the first destination interface is: the interface between the first network element and the first terminal. At this time, the method may also include: the first network element receives a message from the second terminal through the interface between the first network element and the second terminal, wherein the destination address of the message from the second terminal is the address of the first terminal; based on the first forwarding rule, the first network element sends the received message from the second terminal to the interface between the first network element and the first terminal.
也就是说,若第二终端将目的地址为第一终端的地址的报文发送至第一网元,那么,第一网元可基于第一转发规则,将该报文发送至第一网元和第一终端之间的接口,从而,第一终端可通过该接口接收来自该第二终端的报文。That is to say, if the second terminal sends a message with the destination address being the address of the first terminal to the first network element, then the first network element can send the message to the interface between the first network element and the first terminal based on the first forwarding rule, so that the first terminal can receive the message from the second terminal through the interface.
在一个具体的例子中,第一网元为N3IWF。此时,第一源接口可为Nwu接口;第一目的地址可为:第一终端的地址;第一目的接口可为:第一终端与N3IWF之间的IPSec通道。其中,Nwu接口还可以理解为,N3IWF与该N3IWF下联的任意一个终端(如第二终端)之间的通信接口。In a specific example, the first network element is N3IWF. At this time, the first source interface may be Nwu interface; the first destination address may be: the address of the first terminal; the first destination interface may be: the IPSec channel between the first terminal and N3IWF. Among them, Nwu interface can also be understood as the communication interface between N3IWF and any terminal (such as the second terminal) connected to the N3IWF.
在另一个具体的例子中,第一网元为TNGF。此时,第一源接口可为:Nwt接口;第一目的地址可为:第一终端的地址;第一目的接口可为:第一终端与TNGF之间的IPSec通道对应的接口。其中,Nwt接口还可以理解为,TNGF与该TNGF下联的任意一个终端(如第二终端)之间的通信接口。In another specific example, the first network element is TNGF. At this time, the first source interface may be: Nwt interface; the first destination address may be: the address of the first terminal; the first destination interface may be: the interface corresponding to the IPSec channel between the first terminal and TNGF. Among them, Nwt interface can also be understood as the communication interface between TNGF and any terminal (such as the second terminal) connected to the TNGF.
在又一个具体的例子中,第一网元为5G-RG。此时,第一源接口可为:5G-RG的下联通信接口;第一目的地址可为:第一终端的地址;第一目的接口可为:第一终端与该5G-RG之间的通信链路对应的通信接口。其中,5G-RG的下联通信接口,还可以理解为,5G-RG与该5G-RG下联的任意一个终端(如第二终端)之间的通信接口。In another specific example, the first network element is a 5G-RG. At this time, the first source interface may be: the downlink communication interface of the 5G-RG; the first destination address may be: the address of the first terminal; the first destination interface may be: the communication interface corresponding to the communication link between the first terminal and the 5G-RG. Among them, the downlink communication interface of the 5G-RG can also be understood as the communication interface between the 5G-RG and any terminal (such as the second terminal) downlinked from the 5G-RG.
根据本实施例的方法,第一网元可基于第一转发规则,实现与第一网元关联的不同终端之间的报文转发,从而减少了报文转发路径中需经过的网元数量,因此能够减小传输时延,避免传输资源浪费。According to the method of this embodiment, the first network element can implement message forwarding between different terminals associated with the first network element based on the first forwarding rule, thereby reducing the number of network elements that need to be passed through in the message forwarding path, thereby reducing transmission delay and avoiding waste of transmission resources.
基于前述实施例所述的报文转发方法,图9为本申请实施例提供的一种报文转发的方法的流程示意图二。该方法中的第一网元例如可以为N3IWF、TNGF或驻留网关(如5G-RG),会话管理功能网元可为SMF。如图9所示,该方法可以包括:Based on the message forwarding method described in the above embodiment, FIG9 is a flow chart of a message forwarding method provided in an embodiment of the present application. The first network element in the method may be, for example, N3IWF, TNGF or a resident gateway (such as 5G-RG), and the session management function network element may be SMF. As shown in FIG9, the method may include:
S901,会话管理功能网元获取指示信息,指示信息用于指示是否启用第一网元的报文转发功能。S901, a session management function network element obtains indication information, where the indication information is used to indicate whether to enable a message forwarding function of a first network element.
在一种实现方式中,该指示信息例如可包括指示符(例如记为第一指示符),当第一指示符为“否”时,该指示信息可指示不启用第一网元的报文转发功能;当第一指示符为“是”时,该指示信息可指示启用第一网元的报文转发功能。在一些实施例中,第一指示符默认为“否”。In one implementation, the indication information may include, for example, an indicator (e.g., recorded as a first indicator). When the first indicator is "No", the indication information may indicate that the message forwarding function of the first network element is not enabled; when the first indicator is "Yes", the indication information may indicate that the message forwarding function of the first network element is enabled. In some embodiments, the first indicator defaults to "No".
示例性地,该指示信息例如可携带于第一终端所属的5G VN组对应的5G VN组配置数 据中,从而,应用功能(Application Function,AF)或OSS可将携带该指示信息的5G VN组配置数据发送至会话管理功能网元,进而,会话管理功能网元可根据该指示信息获知是否启用第一网元的报文转发功能。Exemplarily, the indication information may carry, for example, a 5G VN group configuration number corresponding to the 5G VN group to which the first terminal belongs. According to the information, the application function (AF) or OSS can send the 5G VN group configuration data carrying the indication information to the session management function network element, and then the session management function network element can know whether to enable the message forwarding function of the first network element according to the indication information.
以第一网元通过AF获取指示信息为例,实现流程可包括如下步骤11)至13):Taking the first network element obtaining the indication information through the AF as an example, the implementation process may include the following steps 11) to 13):
11)AF调用NEF的开放应用程序接口(Application Programming Interface,API),将携带该指示信息的5G VN组配置数据发送至NEF。11) AF calls the open application programming interface (API) of NEF and sends the 5G VN group configuration data carrying the indication information to NEF.
在一些实施例中,默认情况下,该指示信息指示不启用第一网元的报文转发功能。对于该情况,AF可对指示信息进行修改或更新,例如,可将第一指示符更新为“是”,以使得该指示信息指示启用第一网元的报文转发功能,进而将修改或更新后的指示信息携带于5G VN组配置数据中发送至会话管理功能网元。In some embodiments, by default, the indication information indicates that the message forwarding function of the first network element is not enabled. In this case, the AF may modify or update the indication information, for example, the first indicator may be updated to "yes" so that the indication information indicates that the message forwarding function of the first network element is enabled, and then the modified or updated indication information is carried in the 5G VN group configuration data and sent to the session management function network element.
12)NEF将携带该指示信息的5G VN组配置数据存储到统一数据管理功能(Unified Data Management,UDM)中。12)NEF stores the 5G VN group configuration data carrying the indication information in the Unified Data Management (UDM).
13)UDM通过向会话管理功能网元发送通知的方式,将携带该指示信息的5G VN组配置数据发送至该会话管理功能网元。13) UDM sends the 5G VN group configuration data carrying the indication information to the session management function network element by sending a notification to the session management function network element.
类似地,在第一网元通过OSS获取指示信息的情况下,OSS可将携带该指示信息的5G VN组配置数据发送至UDM,再通过UDM发送至会话管理功能网元。Similarly, when the first network element obtains the indication information through OSS, OSS can send the 5G VN group configuration data carrying the indication information to UDM, and then send it to the session management function network element through UDM.
根据本实施例的方法,可通过修改或更新指示信息的方式,决定是否启用第一网元的报文转发功能,从而有利于根据实际需求灵活配置第一网元的报文转发功能。According to the method of this embodiment, whether to enable the message forwarding function of the first network element can be determined by modifying or updating the indication information, which is conducive to flexible configuration of the message forwarding function of the first network element according to actual needs.
S902,在指示信息指示启用第一网元的报文转发功能的情况下,会话管理功能网元向第一网元发送第一配置请求。S902: When the indication information indicates to enable the message forwarding function of the first network element, the session management function network element sends a first configuration request to the first network element.
相应地,第一网元接收来自会话管理功能网元的第一配置请求。Correspondingly, the first network element receives a first configuration request from the session management function network element.
其中,第一配置请求可用于请求第一网元配置针对第一终端的第一转发规则,第一转发规则可用于将与第一网元关联的第二终端的报文发送至第一终端,其中,该第二终端的报文的目的地址为第一终端的地址。示例性地,第一配置请求中可包括与第一网元关联的第一终端的标识。The first configuration request may be used to request the first network element to configure a first forwarding rule for the first terminal, and the first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal. Exemplarily, the first configuration request may include an identifier of the first terminal associated with the first network element.
S903,响应于第一配置请求,第一网元判断第一终端与第一网元之间是否存在通信链路。S903: In response to the first configuration request, the first network element determines whether a communication link exists between the first terminal and the first network element.
一种可能的情况,第一终端与第一网元之间存在通信链路,在该情况下,第一网元可配置针对第一终端的第一转发规则(对应于S904)。另一种可能的情况,第一终端与第一网元之间不存在通信链路,在该情况下,第一网元可终止流程,不继续后续步骤。In one possible case, there is a communication link between the first terminal and the first network element, in which case the first network element may configure a first forwarding rule for the first terminal (corresponding to S904). In another possible case, there is no communication link between the first terminal and the first network element, in which case the first network element may terminate the process and not proceed to subsequent steps.
作为一个示例,在第一网元为N3IWF或TNGF的情况下,判断第一终端与第一网元之间是否存在通信链路的方式例如可以为:判断该N3IWF或TNGF是否与该第一终端建立了IPSec通道,若该N3IWF或TNGF与该第一终端建立了IPSec通道,则可认为该N3IWF或TNGF与该第一终端之间存在通信链路。As an example, when the first network element is N3IWF or TNGF, a method for determining whether there is a communication link between the first terminal and the first network element may be, for example, by determining whether the N3IWF or TNGF has established an IPSec channel with the first terminal. If the N3IWF or TNGF has established an IPSec channel with the first terminal, it can be considered that there is a communication link between the N3IWF or TNGF and the first terminal.
作为另一个示例,在第一网元为驻留网关(如5G-RG)的情况下,判断第一终端与第一网元之间是否存在通信链路的方式例如可以为:判断该第一终端是否为该驻留网关下联的终端,若该第一终端为该驻留网关下联的终端,则可认为该驻留网关与该第一终端之间存在通信链路。As another example, when the first network element is a resident gateway (such as 5G-RG), a method for determining whether there is a communication link between the first terminal and the first network element may be, for example, determining whether the first terminal is a terminal connected to the resident gateway; if the first terminal is a terminal connected to the resident gateway, it can be considered that there is a communication link between the resident gateway and the first terminal.
根据本实施例的方法,第一网元在配置第一转发规则之前,可先判断第一终端与第一网元之间是否存在通信链路,以确保报文能够成功通过第一网元发送至第一终端。According to the method of this embodiment, before configuring the first forwarding rule, the first network element may first determine whether there is a communication link between the first terminal and the first network element to ensure that the message can be successfully sent to the first terminal through the first network element.
S904,在第一终端与第一网元之间存在通信链路的情况下,第一网元配置针对第一终端的第一转发规则。S904: When a communication link exists between the first terminal and the first network element, the first network element configures a first forwarding rule for the first terminal.
其中,第一转发规则可用于将与第一网元关联的第二终端的报文发送至第一终端,其中,该第二终端的报文的目的地址为第一终端的地址。The first forwarding rule may be used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
在一些实施例中,在第一网元为驻留网关(例如记为第一驻留网关)的情况下,该方法还包括S905和S906。In some embodiments, when the first network element is a residential gateway (eg, recorded as a first residential gateway), the method further includes S905 and S906.
S905,第一网元向关联的W-AGF网元发送第二配置请求。S905: The first network element sends a second configuration request to the associated W-AGF network element.
其中,与第一驻留网关所关联的W-AGF网元,还可以理解为,第一驻留网关所接入的 W-AGF网元。The W-AGF network element associated with the first resident gateway can also be understood as the network element to which the first resident gateway is connected. W-AGF network element.
示例性地,第二配置请求可包括第一终端的地址。该第二配置请求可用于请求W-AGF网元针对第一终端配置第二转发规则。进一步地,第二配置请求还可以包括第一驻留网关和W-AGF网元之间的会话的ID,如第一驻留网关和W-AGF网元之间的5WE会话ID。Exemplarily, the second configuration request may include the address of the first terminal. The second configuration request may be used to request the W-AGF network element to configure a second forwarding rule for the first terminal. Further, the second configuration request may also include an ID of a session between the first resident gateway and the W-AGF network element, such as a 5WE session ID between the first resident gateway and the W-AGF network element.
在一些实施例中,第二配置请求中还可以携带以下一项或多项信息:信元类型指示、5G-RG的标识。其中,信元类型指示可用于指示本信元的类型为“第二配置请求”,信元类型指示的实现方式例如可以为位图(bitmap)方式、编号方式等。5G-RG的标识可用于标识该5G-RG的身份。5G-RG标识的形式包括但不限于:MSISDN,IMSI,SUPI,SUCI,IP地址,MAC地址,PEI。In some embodiments, the second configuration request may also carry one or more of the following information: an indication of the cell type, an identifier of the 5G-RG. The cell type indication may be used to indicate that the type of the cell is a "second configuration request", and the implementation method of the cell type indication may be, for example, a bitmap method, a numbering method, etc. The identifier of the 5G-RG may be used to identify the identity of the 5G-RG. The forms of the 5G-RG identifier include, but are not limited to, MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, and PEI.
S906,W-AGF网元响应于第二配置请求,配置针对第一终端的第二转发规则。S906: The W-AGF network element configures a second forwarding rule for the first terminal in response to the second configuration request.
其中,第二转发规则可用于将与W-AGF网元关联的第二驻留网关的报文发送至第一驻留网关。在一些实施例中,第二驻留网关的报文的目的地址为第一终端的地址。其中,与W-AGF网元关联的第二驻留网关,例如可以为接入该W-AGF的某个驻留网关。The second forwarding rule may be used to send a message of a second resident gateway associated with the W-AGF network element to the first resident gateway. In some embodiments, the destination address of the message of the second resident gateway is the address of the first terminal. The second resident gateway associated with the W-AGF network element may be, for example, a resident gateway connected to the W-AGF.
示例性地,第二转发规则可包括:第二源接口、第二目的地址和第二目的接口。该规则的含义为:识别通过第二源接口接收的目的地址为第二目的地址的报文,并将该报文发送至第二目的接口。Exemplarily, the second forwarding rule may include: a second source interface, a second destination address and a second destination interface. The meaning of this rule is: identifying a message received through the second source interface and having a destination address of the second destination address, and sending the message to the second destination interface.
在一种实现方式中,第二源接口为:W-AGF网元和第二驻留网关之间的接口;第二目的地址为:第一终端的地址;第二目的接口为:W-AGF网元和第一驻留网关之间的接口。此时,该方法还可以包括:W-AGF网元通过W-AGF网元和第二驻留网关之间的接口,接收来自第二驻留网关的报文,其中,第二驻留网关的报文例如可以是来自该第二驻留网关的某个下联终端的报文,该报文的目的地址可为第一终端的地址。随后,基于第二转发规则,W-AGF网元可将该第二驻留网关的报文发送至W-AGF网元和第一驻留网关之间的接口。In one implementation, the second source interface is: the interface between the W-AGF network element and the second resident gateway; the second destination address is: the address of the first terminal; the second destination interface is: the interface between the W-AGF network element and the first resident gateway. At this time, the method may also include: the W-AGF network element receives a message from the second resident gateway through the interface between the W-AGF network element and the second resident gateway, wherein the message of the second resident gateway may be, for example, a message from a downlink terminal of the second resident gateway, and the destination address of the message may be the address of the first terminal. Subsequently, based on the second forwarding rule, the W-AGF network element may send the message of the second resident gateway to the interface between the W-AGF network element and the first resident gateway.
也就是说,若第二驻留网关将目的地址为第一终端的地址的报文发送至W-AGF网元,那么,W-AGF网元可基于第二转发规则,将该报文发送至W-AGF网元和第一驻留网关之间的接口(也即第二目的接口),从而,第一驻留网关可通过该接口接收来自该第二驻留网关的报文。That is to say, if the second resident gateway sends a message with the destination address being the address of the first terminal to the W-AGF network element, then the W-AGF network element can send the message to the interface between the W-AGF network element and the first resident gateway (i.e., the second destination interface) based on the second forwarding rule, so that the first resident gateway can receive the message from the second resident gateway through the interface.
进一步地,在第二转发规则包括第二目的地址和第二目的接口的场景中,第一驻留网关可通过第二目的接口(即W-AGF网元和第一驻留网关之间的接口)接收来自第二驻留网关的报文,之后,可基于该报文携带的目的地址,也即第一终端的地址(第二目的地址),最终将该报文发送至第一终端。Furthermore, in the scenario where the second forwarding rule includes a second destination address and a second destination interface, the first resident gateway can receive a message from the second resident gateway through the second destination interface (i.e., the interface between the W-AGF network element and the first resident gateway), and then, based on the destination address carried by the message, that is, the address of the first terminal (the second destination address), the message can be finally sent to the first terminal.
根据上述流程可知,在该实现方式中,若第二驻留网关的报文来自该第二驻留网关的某个下联的终端(例如记为第三终端),则W-AGF网元可基于第二转发规则,实现该W-AGF网元下游的不同终端之间的报文转发,例如,可实现第三终端和第一终端之间的报文转发,转发路径包括:第三终端、第二驻留网关、W-AGF网元、第一驻留网关、第一终端。相比于现有的通过PSA UPF进行报文转发的方案,本实施例的方法中报文转发路径较短,因此能够减小传输时延,避免传输资源浪费。According to the above process, in this implementation, if the message of the second resident gateway comes from a terminal connected to the second resident gateway (for example, recorded as the third terminal), the W-AGF network element can realize message forwarding between different terminals downstream of the W-AGF network element based on the second forwarding rule. For example, message forwarding between the third terminal and the first terminal can be realized, and the forwarding path includes: the third terminal, the second resident gateway, the W-AGF network element, the first resident gateway, and the first terminal. Compared with the existing solution of forwarding messages through PSA UPF, the message forwarding path in the method of this embodiment is shorter, so it can reduce transmission delay and avoid waste of transmission resources.
在一些实施例中,第一网元为第一驻留网关(如5G-RG),则在步骤901之后,该方法还包括S907:In some embodiments, the first network element is a first resident gateway (such as a 5G-RG), then after step 901, the method further includes S907:
S907,会话管理功能网元获取第一终端与第一网元的关联关系。S907: The session management function network element obtains the association relationship between the first terminal and the first network element.
其中,该关联关系可用于会话管理功能网元确定该第一网元,以便于会话管理功能基于该关联关系向第一网元发送第一配置请求。此时,该方法还包括:会话管理功能网元基于该关联关系确定第一网元,再向该第一网元发送第一配置请求。The association relationship can be used by the session management function network element to determine the first network element, so that the session management function sends a first configuration request to the first network element based on the association relationship. At this time, the method also includes: the session management function network element determines the first network element based on the association relationship, and then sends the first configuration request to the first network element.
以第一网元为5G-RG为例,会话管理功能网元例如可从UDM查询到第一终端与5G-RG关联,从而可检索与该第一终端所关联的5G-RG。在一种实现方式中,会话管理功能网元可通过UDM获取该5G-RG的信息,该5G-RG的信息例如可包括该5G-RG的标识,从而,在第一网元为5G-RG的情况下,会话管理功能网元可在S902中基于该5G-RG的标识确定该5G-RG,进而向该5G-RG发送第一配置请求。 Taking the first network element as 5G-RG as an example, the session management function network element can query from UDM that the first terminal is associated with the 5G-RG, so that the 5G-RG associated with the first terminal can be retrieved. In one implementation, the session management function network element can obtain the information of the 5G-RG through UDM, and the information of the 5G-RG can include, for example, the identifier of the 5G-RG. Therefore, when the first network element is 5G-RG, the session management function network element can determine the 5G-RG based on the identifier of the 5G-RG in S902, and then send a first configuration request to the 5G-RG.
其中,5G-RG的标识可用于标识该5G-RG的身份。5G-RG标识的形式包括但不限于:MSISDN、IMSI、SUPI、SUCI、IP地址、MAC地址、PEI。The 5G-RG identifier may be used to identify the 5G-RG. The 5G-RG identifier may include, but is not limited to, MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, and PEI.
为便于理解,下面以具体网元为例,结合图10至图14介绍适用于本申请实施例的可能的流程。以下示例中假设,第一网元为N3IWF、TNGF或5G-RG,会话管理功能网元为SMF。For ease of understanding, the following takes a specific network element as an example and introduces possible processes applicable to the embodiments of the present application in combination with Figures 10 to 14. In the following examples, it is assumed that the first network element is N3IWF, TNGF or 5G-RG, and the session management function network element is SMF.
首先介绍本实施例的总体方案。该方案通过使5G-RG、W-AGF、N3IWF/TNGF支持多级转发,解决5G固移融合架构下的UE使用5G LAN服务时的用户面路径冗长导致的网络时延增大、网络传输资源浪费的问题。First, the overall solution of this embodiment is introduced. This solution enables 5G-RG, W-AGF, and N3IWF/TNGF to support multi-stage forwarding, thereby solving the problem of increased network latency and waste of network transmission resources caused by the lengthy user plane path when UEs in the 5G fixed-mobile converged architecture use 5G LAN services.
需要说明的是,在下述技术方案的流程之前,假设5G-RG已向5GC上报了5G-RG与5G UE的关联关系,其中包含5G-RG与其下联的所有具备5G能力的5G UE的信息,上报方式例如可以是5G-RG通过接入及移动性管理功能(Access and Mobility Management Function,AMF)上报,或5G-RG通过网络能力开放上报,本申请对此不做限定。It should be noted that before the process of the following technical solution, it is assumed that 5G-RG has reported the association relationship between 5G-RG and 5G UE to 5GC, which includes the information of 5G-RG and all 5G UE with 5G capabilities connected to it. The reporting method can be, for example, 5G-RG reporting through Access and Mobility Management Function (AMF), or 5G-RG reporting through network capability opening. This application does not limit this.
本实施例的总体思路是:5G VN组的分级转发功能由管理员负责开启,当该功能开启后,5GC针对5G VN组中已创建PDU会话的UE和新创建PDU会话的UE,在5G-RG、W-AGF、或N3IWF/TNGF上执行分级转发配置。The overall idea of this embodiment is that the hierarchical forwarding function of the 5G VN group is enabled by the administrator. When this function is enabled, 5GC performs hierarchical forwarding configuration on 5G-RG, W-AGF, or N3IWF/TNGF for UEs that have created PDU sessions and UEs that have newly created PDU sessions in the 5G VN group.
图10示出了本申请实施例提供的报文转发方法的一种可能的实现流程。图10所示的技术方案可包括如下步骤:FIG10 shows a possible implementation process of the message forwarding method provided in an embodiment of the present application. The technical solution shown in FIG10 may include the following steps:
S1001,管理员配置5G VN组开启分级转发功能。S1001, the administrator configures the 5G VN group to enable the hierarchical forwarding function.
示例性地,管理员可通过网络能力开放(如AF)或OSS向5GC下发启用指定5G VN组分级转发功能的指令。5G VN组分级转发功能启用的实施方式将结合下图11进行介绍,这里暂不详述。For example, the administrator can issue an instruction to enable the specified 5G VN group hierarchical forwarding function to 5GC through network capability exposure (such as AF) or OSS. The implementation method of enabling the 5G VN group hierarchical forwarding function will be introduced in conjunction with Figure 11 below and will not be described in detail here.
S1002,针对5G VN组中每个已创建PDU会话的UE,5GC执行分级转发配置流程。S1002: For each UE in the 5G VN group that has created a PDU session, 5GC executes a hierarchical forwarding configuration process.
5GC针对该指定5G VN组中已经创建了PDU会话的UE,在5G-RG、W-AGF、N3IWF/TNGF上执行分级转发配置。执行分级转发配置的实施方式将结合下图12进行介绍,这里暂不详述;5GC performs hierarchical forwarding configuration on 5G-RG, W-AGF, N3IWF/TNGF for UEs that have created PDU sessions in the specified 5G VN group. The implementation method of performing hierarchical forwarding configuration will be introduced in conjunction with Figure 12 below and will not be described in detail here;
S1003,针对5G VN组中新创建PDU会话的UE,5GC执行分级转发配置流程。S1003, for the UE with newly created PDU session in the 5G VN group, 5GC executes the hierarchical forwarding configuration process.
当5G VN组中的UE新创建PDU会话时,5GC在5G-RG、W-AGF、N3IWF/TNGF上执行分级转发配置。执行分级转发配置的实施方式将结合下图12进行介绍,这里暂不详述。When a UE in a 5G VN group creates a new PDU session, 5GC performs hierarchical forwarding configuration on 5G-RG, W-AGF, and N3IWF/TNGF. The implementation method of performing hierarchical forwarding configuration will be introduced in conjunction with Figure 12 below and will not be described in detail here.
应理解,本申请对于S1002和S1003的执行顺序不予限定。It should be understood that the present application does not limit the execution order of S1002 and S1003.
下面介绍5G VN组分级转发功能启用实施方式。The following describes how to enable the 5G VN group hierarchical forwarding function.
要支持5G VN组分级转发功能是否启用的配置,首先需在5G VN组配置数据中新增“是否启用5G VN组分级转发功能”一项。新增该项之后的5G VN组配置数据如表3所示。To support the configuration of whether the 5G VN group hierarchical forwarding function is enabled, you first need to add a new item "Whether to enable the 5G VN group hierarchical forwarding function" in the 5G VN group configuration data. The 5G VN group configuration data after adding this item is shown in Table 3.
表3 5G VN组配置数据
Table 3 5G VN group configuration data
当需要启用5G VN组分级转发功能时,管理员可通过网络能力开放或OSS向5GC下发更新后的5G VN组配置数据。 When the 5G VN group hierarchical forwarding function needs to be enabled, the administrator can send the updated 5G VN group configuration data to 5GC through network capability exposure or OSS.
图11示出了通过网络能力开放功能向5GC下发更新后的5G VN组配置数据的流程。该流程可以包括:Figure 11 shows the process of sending updated 5G VN group configuration data to 5GC through the network capability exposure function. The process may include:
S1101,AF将指定5G VN组配置数据中的“是否启用5G VN组分级转发功能”修改为“是”,调用NEF的开放API更新5G VN组配置数据。S1101, AF changes the "whether to enable 5G VN group hierarchical forwarding function" in the specified 5G VN group configuration data to "yes", and calls the open API of NEF to update the 5G VN group configuration data.
S1102,NEF将更新后的5G VN组配置数据存储到UDM中。S1102, NEF stores the updated 5G VN group configuration data in UDM.
S1103,UDM向管理该5G VN组的SMF发送通知,携带更新后的5G VN组配置数据,以触发SMF配置5G VN组的分级转发功能。S1103, UDM sends a notification to the SMF that manages the 5G VN group, carrying the updated 5G VN group configuration data, to trigger the SMF to configure the hierarchical forwarding function of the 5G VN group.
应理解,若通过OSS向5GC下发更新后的5G VN组配置数据,则可将图11中的AF和NEF替换为OSS。It should be understood that if the updated 5G VN group configuration data is sent to 5GC via OSS, AF and NEF in Figure 11 can be replaced by OSS.
SMF配置5G VN组的分级转发功能的实施方式如下:The implementation method of SMF configuration of the hierarchical forwarding function of the 5G VN group is as follows:
SMF收到更新后的5G VN组配置数据后,首先判断“是否启用5G VN组分级转发功能”为“是”,进而针对符合如下条件之一的所有UE实施5G VN组分级转发功能的配置:(1)5G VN组分级转发功能启用时,归属于该组且已创建PDU会话的UE;(2)5G VN组分级转发功能启用后,归属于该组且新创建PDU会话的UE。After receiving the updated 5G VN group configuration data, the SMF first determines whether to enable the 5G VN group hierarchical forwarding function as "yes", and then implements the configuration of the 5G VN group hierarchical forwarding function for all UEs that meet one of the following conditions: (1) UEs that belong to the group and have created PDU sessions when the 5G VN group hierarchical forwarding function is enabled; (2) UEs that belong to the group and have newly created PDU sessions after the 5G VN group hierarchical forwarding function is enabled.
5G VN组配置分级转发功能的流程如图12所示,该流程可以包括:The process of configuring the hierarchical forwarding function of the 5G VN group is shown in Figure 12, and the process may include:
S1201,SMF从UDM获取UE所关联的5G-RG。S1201, SMF obtains the 5G-RG associated with the UE from UDM.
SMF从UDM中查询到UE与5G-RG关联,检索与该UE所关联的5G-RG,并获取该5G-RG的信息,该5G-RG的信息例如可包括:该5G-RG的标识。SMF queries from UDM that the UE is associated with the 5G-RG, retrieves the 5G-RG associated with the UE, and obtains information about the 5G-RG. The information about the 5G-RG may include, for example, an identifier of the 5G-RG.
S1202,SMF向N3IWF/TNGF发送本地转发规则配置请求(对应前述实施例中的第一配置请求)。S1202, SMF sends a local forwarding rule configuration request to N3IWF/TNGF (corresponding to the first configuration request in the aforementioned embodiment).
SMF通过AMF向N3IWF/TNGF发送本地转发规则配置请求,触发N3IWF/TNGF配置针对该UE的本地转发规则(对应前述实施例中的第一转发规则)。其中,本地转发规则配置请求中可携带该UE的标识,该UE的标识可用于标识该5G UE的身份。示例性地,UE标识的形式包括但不限于:MSISDN、IMSI,SUPI、SUCI、IP地址、MAC地址、PEI。SMF sends a local forwarding rule configuration request to N3IWF/TNGF through AMF, triggering N3IWF/TNGF to configure a local forwarding rule for the UE (corresponding to the first forwarding rule in the aforementioned embodiment). The local forwarding rule configuration request may carry the identifier of the UE, which can be used to identify the identity of the 5G UE. Exemplarily, the form of the UE identifier includes, but is not limited to: MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, PEI.
在一些实施例中,本地转发规则配置请求中还可以携带信元类型指示,信元类型指示可用于指示本信元的类型为“本地转发规则配置请求”。基于该指示,N3IWF/TNGF可配置本地转发规则。In some embodiments, the local forwarding rule configuration request may also carry an information element type indication, which may be used to indicate that the type of the information element is a “local forwarding rule configuration request.” Based on the indication, the N3IWF/TNGF may configure the local forwarding rule.
在本实施例中,信元类型指示的实现方式例如可以为位图(bitmap)方式、编号方式等。一示例,当采用bitmap方式时,假设采用4bit的bitmap,可规定只要bit1值为“1”,则代表信元的类型为“本地转发规则配置请求”;另一示例,当采用编号方式时,假设采用4bit编号,可规定“0012”代表信元的类型为“本地转发规则配置请求”。In this embodiment, the implementation method of the cell type indication may be, for example, a bitmap method, a numbering method, etc. In one example, when the bitmap method is adopted, assuming that a 4-bit bitmap is adopted, it may be specified that as long as the value of bit1 is "1", the cell type is represented as "local forwarding rule configuration request"; in another example, when the numbering method is adopted, assuming that a 4-bit numbering is adopted, it may be specified that "0012" represents the cell type as "local forwarding rule configuration request".
S1203,N3IWF/TNGF配置本地转发规则(对应前述实施例中的第一转发规则)。S1203, N3IWF/TNGF configures a local forwarding rule (corresponding to the first forwarding rule in the aforementioned embodiment).
配置方式将结合下图13进行介绍,这里暂不详述。The configuration method will be introduced in conjunction with Figure 13 below and will not be described in detail here.
S1204,SMF向5G-RG发送本地转发配置请求。S1204, SMF sends a local forwarding configuration request to 5G-RG.
SMF通过AMF向5G-RG发送本地转发规则配置请求(对应前述实施例中的第一配置请求),触发5G-RG和W-AGF配置针对该UE的本地转发规则(对应前述实施例中的第一转发规则)。其中,本地转发规则配置请求中可携带该UE的标识。示例性地,UE标识的形式包括但不限于:MSISDN、IMSI,SUPI、SUCI、IP地址、MAC地址、PEI。进一步地,本地转发规则配置请求中还可以携带信元类型指示,用于指示本信元的类型为“本地转发规则配置请求”。基于该指示,5G-RG和W-AGF可配置本地转发规则。SMF sends a local forwarding rule configuration request (corresponding to the first configuration request in the aforementioned embodiment) to 5G-RG through AMF, triggering 5G-RG and W-AGF to configure local forwarding rules for the UE (corresponding to the first forwarding rule in the aforementioned embodiment). Among them, the local forwarding rule configuration request may carry the identifier of the UE. Exemplarily, the form of the UE identifier includes but is not limited to: MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, PEI. Furthermore, the local forwarding rule configuration request may also carry an information element type indication, which is used to indicate that the type of this information element is "local forwarding rule configuration request". Based on this indication, 5G-RG and W-AGF can configure local forwarding rules.
S1205,5G-RG和W-AGF配置本地转发规则。S1205, 5G-RG and W-AGF configure local forwarding rules.
配置方式将结合下图14进行介绍,这里暂不详述。The configuration method will be introduced in conjunction with Figure 14 below and will not be described in detail here.
应理解,在一些场景中,S1202和S1203可省略;在另一些场景中,S1204和S1205可省略。还应理解,本申请对于S1202和S1204的执行先后顺序不予限定。It should be understood that in some scenarios, S1202 and S1203 can be omitted; in other scenarios, S1204 and S1205 can be omitted. It should also be understood that the present application does not limit the execution order of S1202 and S1204.
下面结合图13介绍S1203中,N3IWF/TNGF(第一网元的一例)配置本地转发规则的方式。The following describes the manner in which N3IWF/TNGF (an example of the first network element) configures local forwarding rules in S1203 in conjunction with FIG. 13 .
如前文关于N3IWF/TNGF的介绍所述,UE与N3IWF/TNGF之间可建立IPSec通道, 因此N3IWF/TNGF可感知到与其连接的UE的信息。N3IWF/TNGF配置本地转发规则的实现流程如图13所示,该实现流程可包括:As mentioned above about N3IWF/TNGF, an IPSec channel can be established between UE and N3IWF/TNGF. Therefore, N3IWF/TNGF can perceive the information of the UE connected to it. The implementation process of N3IWF/TNGF configuring local forwarding rules is shown in Figure 13, and the implementation process may include:
S1301,N3IWF/TNGF接收SMF发送的本地转发规则配置请求。S1301, N3IWF/TNGF receives the local forwarding rule configuration request sent by SMF.
其中,本地转发规则配置请求可对应前述实施例中的第一配置请求。Among them, the local forwarding rule configuration request may correspond to the first configuration request in the aforementioned embodiment.
S1302,N3IWF/TNGF提取UE标识。S1302, N3IWF/TNGF extracts UE identifier.
当N3IWF/TNGF收到SMF发送的本地转发规则配置请求后,可从该本地转发规则配置请求中提取出UE的标识。When N3IWF/TNGF receives the local forwarding rule configuration request sent by SMF, it can extract the UE identifier from the local forwarding rule configuration request.
S1303,N3IWF/TNGF判断是否与该UE之间已建立IPSec通道。S1303, N3IWF/TNGF determines whether an IPSec channel has been established with the UE.
基于S1302中得到的UE标识,N3IWF/TNGF可判断是否已经与该UE之间创建了IPSec通道。如果是,则继续后续步骤S1304;如果否,则中止流程,不继续后续步骤。Based on the UE identification obtained in S1302, N3IWF/TNGF can determine whether an IPSec channel has been established with the UE. If yes, proceed to the subsequent step S1304; if not, terminate the process and do not proceed to the subsequent steps.
S1304,N3IWF/TNGF配置本地转发规则。S1304, N3IWF/TNGF configures local forwarding rules.
其中,本地转发规则可对应前述实施例中的第一转发规则。Among them, the local forwarding rule may correspond to the first forwarding rule in the aforementioned embodiment.
在N3IWF/TNGF已经与该UE之间创建了IPSec通道的情况下,N3IWF/TNGF可针对该UE配置本地转发规则。In the case that the N3IWF/TNGF has established an IPSec channel with the UE, the N3IWF/TNGF can configure local forwarding rules for the UE.
作为一个示例,对于N3IWF,规则形式可为“源接口:Nwu接口;目的地址:该UE的地址;转发至:该UE的IPSec通道”,该规则的含义为:识别从Nwu接口进来的目的地址为该UE的地址的报文,并将该报文转发至该UE对应的IPSec通道,进而可将该报文发送至该UE。其中,Nwu接口,还可以理解为,N3IWF与该N3IWF下联的任意一个UE之间的通信接口。As an example, for N3IWF, the rule format can be "Source interface: Nwu interface; Destination address: the address of the UE; Forward to: the IPSec channel of the UE", and the meaning of this rule is: identify the message whose destination address is the address of the UE coming from the Nwu interface, and forward the message to the IPSec channel corresponding to the UE, and then send the message to the UE. Among them, the Nwu interface can also be understood as the communication interface between the N3IWF and any UE connected to the N3IWF.
作为另一个示例,对于TNGF,规则形式可为“源接口:Nwt接口;目的地址:该UE的地址;转发至:该UE的IPSec通道”,该规则的含义为:识别从Nwt接口进来的目的地址为该UE的地址的报文,并将该报文转发至该UE对应的IPSec通道,进而可将该报文发送至该UE。其中,Nwt接口,还可以理解为,TNGF与该TNGF下联的任意一个UE之间的通信接口。As another example, for TNGF, the rule format can be "source interface: Nwt interface; destination address: the address of the UE; forwarded to: the IPSec channel of the UE", and the meaning of this rule is: identify the message whose destination address is the address of the UE coming from the Nwt interface, and forward the message to the IPSec channel corresponding to the UE, and then send the message to the UE. Among them, the Nwt interface can also be understood as the communication interface between the TNGF and any UE connected to the TNGF.
应理解,上述目的地址的形式例如可以为:IPv4地址、IPv6地址或MAC地址,本申请不予限定。It should be understood that the destination address may be in the form of, for example, an IPv4 address, an IPv6 address or a MAC address, which is not limited in this application.
下面结合图14介绍S1205中,5G-RG(第一网元的另一例)和W-AGF配置本地转发规则的方式。The following is an introduction to the way in which 5G-RG (another example of the first network element) and W-AGF configure local forwarding rules in S1205 in conjunction with Figure 14.
在5G固移融合架构下,UE可直接接入5G-RG,因此5G-RG可感知UE,而W-AGF则无法直接感知UE,只能感知5G-RG。因此在W-AGF上配置针对UE的本地转发规则配置之前,需要由5G-RG发送相关信息给W-AGF。In the 5G fixed-mobile converged architecture, UE can directly access 5G-RG, so 5G-RG can sense UE, while W-AGF cannot directly sense UE, but can only sense 5G-RG. Therefore, before configuring the local forwarding rule configuration for UE on W-AGF, 5G-RG needs to send relevant information to W-AGF.
如前文关于W-AGF的介绍所述,5G-RG与W-AGF之间的用户面由5WE协议封装,因此5G-RG需要告知W-AGF与UE对应的5WE会话信息。As mentioned in the previous introduction to W-AGF, the user plane between 5G-RG and W-AGF is encapsulated by the 5WE protocol, so 5G-RG needs to inform W-AGF of the 5WE session information corresponding to the UE.
5G-RG和W-AGF配置本地转发规则的实现流程如图14所示,该实现流程可包括:The implementation process of 5G-RG and W-AGF configuring local forwarding rules is shown in FIG14 , and the implementation process may include:
S1401,5G-RG接收SMF发送的本地转发规则配置请求。S1401, 5G-RG receives the local forwarding rule configuration request sent by SMF.
其中,本地转发规则配置请求可对应前述实施例中的第一配置请求。Among them, the local forwarding rule configuration request may correspond to the first configuration request in the aforementioned embodiment.
S1402,5G-RG提取UE标识。S1402, 5G-RG extracts the UE identifier.
5G-RG收到SMF下发的本地转发规则配置请求后,可从该本地转发规则配置请求中提取出UE的标识。After 5G-RG receives the local forwarding rule configuration request sent by SMF, it can extract the UE identifier from the local forwarding rule configuration request.
S1403,5G-RG判断该UE是否为该5G-RG下联的UE。S1403, the 5G-RG determines whether the UE is a UE downlinked to the 5G-RG.
基于S1402中得到的UE标识,5G-RG可判断该UE是否为其下联的UE。如果是,则继续后续步骤S1404;如果否,则中止流程,不继续后续步骤。Based on the UE identifier obtained in S1402, the 5G-RG can determine whether the UE is its downlink UE. If yes, proceed to the subsequent step S1404; if not, terminate the process and do not proceed to the subsequent steps.
S1404,5G-RG配置本地转发规则。S1404, 5G-RG configures local forwarding rules.
其中,本地转发规则可对应前述实施例中的第一转发规则。Among them, the local forwarding rule may correspond to the first forwarding rule in the aforementioned embodiment.
在该UE为该5G-RG下联的UE的情况下,5G-RG可针对该UE配置本地转发规则。When the UE is a UE downlinked to the 5G-RG, the 5G-RG may configure a local forwarding rule for the UE.
作为一个示例,该本地转发规则的形式为“源接口:5G-RG的下联通信接口;目的地址:该UE的地址;转发至:该UE与该5G-RG之间的通信链路”,该规则的含义为:识别从5G-RG 下联通信接口进来的目的地址为该UE的地址的报文,转发至该UE与该5G-RG之间的通信链路。其中,5G-RG的下联通信接口,还可以理解为,5G-RG与该5G-RG下联的任意一个UE之间的通信接口。As an example, the local forwarding rule is in the form of "source interface: downlink communication interface of 5G-RG; destination address: address of the UE; forwarded to: communication link between the UE and the 5G-RG", and the meaning of the rule is: identify the downlink communication interface of the 5G-RG. The message whose destination address is the address of the UE coming from the downlink communication interface is forwarded to the communication link between the UE and the 5G-RG. The downlink communication interface of the 5G-RG can also be understood as the communication interface between the 5G-RG and any UE downlinked to the 5G-RG.
应理解,上述目的地址的实现形式可以为:IPv4地址、IPv6地址或MAC地址,本申请不予限定。It should be understood that the above-mentioned destination address may be implemented in the form of: IPv4 address, IPv6 address or MAC address, which is not limited in this application.
S1405,5G-RG向W-AGF发送本地转发规则配置请求(对应前述实施例中的第二配置请求)。S1405, 5G-RG sends a local forwarding rule configuration request to W-AGF (corresponding to the second configuration request in the aforementioned embodiment).
在该步骤中,5G-RG可向该5G-RG接入的W-AGF发送本地转发规则配置请求,该本地转发规则配置请求中可携带5WE会话ID和UE地址。其中,5WE会话为该5G-RG和该W-AGF之间的会话。In this step, the 5G-RG may send a local forwarding rule configuration request to the W-AGF to which the 5G-RG accesses, and the local forwarding rule configuration request may carry a 5WE session ID and a UE address, wherein the 5WE session is a session between the 5G-RG and the W-AGF.
在一些实施例中,本地转发规则配置请求中还可携带以下至少之一:信元类型指示、5G-RG标识。其中,信元类型指示可用于指示本信元的类型为“本地转发规则配置请求”,5G-RG标识可用于标识该5G-RG的身份。5G-RG标识的形式包括但不限于:MSISDN,IMSI,SUPI,SUCI,IP地址,MAC地址,PEI。In some embodiments, the local forwarding rule configuration request may also carry at least one of the following: an information element type indication, a 5G-RG identifier. Among them, the information element type indication can be used to indicate that the type of this information element is a "local forwarding rule configuration request", and the 5G-RG identifier can be used to identify the identity of the 5G-RG. The forms of the 5G-RG identifier include but are not limited to: MSISDN, IMSI, SUPI, SUCI, IP address, MAC address, PEI.
S1406,W-AGF配置本地转发规则(对应前述实施例中的第二转发规则)。S1406, W-AGF configures a local forwarding rule (corresponding to the second forwarding rule in the aforementioned embodiment).
W-AGF收到5G-RG发送的本地转发规则配置请求后,可针对UE配置本地转发规则。规则形式为“源接口:Y4;目的地址:UE地址;转发至:5WE会话ID对应的5WE会话”,该规则的含义为:识别从Y4接口进来的目的地址为UE地址的报文,转发至5WE会话ID对应的5WE会话中。其中,Y4接口为W-AGF与该W-AGF下联的任意一个5G-RG之间的通信接口。After W-AGF receives the local forwarding rule configuration request sent by 5G-RG, it can configure local forwarding rules for UE. The rule format is "source interface: Y4; destination address: UE address; forward to: 5WE session corresponding to 5WE session ID". The meaning of this rule is: identify the message with the destination address of UE address coming from Y4 interface and forward it to the 5WE session corresponding to 5WE session ID. Among them, Y4 interface is the communication interface between W-AGF and any 5G-RG connected to the W-AGF.
应理解,上述目的地址的实现形式可以为:IPv4地址、IPv6地址或MAC地址,本申请不予限定。It should be understood that the above-mentioned destination address may be implemented in the form of: IPv4 address, IPv6 address or MAC address, which is not limited in this application.
基于W-AGF配置的本地转发规则,W-AGF可将从Y4接口接收的目的地址为UE地址的报文转发至5WE会话ID对应的5WE会话中,从而,5G-RG可通过该5WE会话接收该报文。进一步地,5G-RG可基于该报文中携带的目的地址(UE地址),将该报文转发至该UE地址对应的UE。Based on the local forwarding rules configured by W-AGF, W-AGF can forward the message with the destination address of UE address received from Y4 interface to the 5WE session corresponding to 5WE session ID, so that 5G-RG can receive the message through the 5WE session. Furthermore, 5G-RG can forward the message to the UE corresponding to the UE address based on the destination address (UE address) carried in the message.
根据上述实现流程,本申请实施例可提供一种报文转发的方法,使5G固移融合架构下的UE使用5G LAN服务时,5G-RG、W-AGF、N3IWF/TNGF支持多级转发。本申请实施例包括以下特征:According to the above implementation process, the embodiment of the present application can provide a method for message forwarding, so that when the UE under the 5G fixed-mobile converged architecture uses the 5G LAN service, 5G-RG, W-AGF, N3IWF/TNGF support multi-level forwarding. The embodiment of the present application includes the following features:
1)新增5G VN组的多级转发配置流程与交互信令;1) Added multi-level forwarding configuration process and interactive signaling for 5G VN groups;
2.)5G VN组配置数据中新增“是否启用5G VN组分级转发功能”,默认为“否”;同时新增5G VN组分级转发功能启用流程;2.) Added "Whether to enable 5G VN group hierarchical forwarding function" to the 5G VN group configuration data, with the default value being "No"; and added the 5G VN group hierarchical forwarding function enabling process;
3)新增SMF收到更新后的5G VN组配置数据后触发的5G VN组分级转发配置流程与交互信令;3) Add the 5G VN group hierarchical forwarding configuration process and interactive signaling triggered by SMF after receiving the updated 5G VN group configuration data;
4)新增N3IWF/TNGF本地转发规则配置流程与交互信令;4) Added N3IWF/TNGF local forwarding rule configuration process and interactive signaling;
5)新增5G-RG和W-AGF本地转发规则配置流程与交互信令;5) Added 5G-RG and W-AGF local forwarding rule configuration process and interactive signaling;
6)新增5G-RG、W-AGF、N3IWF/TNGF本地转发规则形式。6) Added 5G-RG, W-AGF, N3IWF/TNGF local forwarding rule formats.
本申请实施例提供的报文转发方法,使5G固移融合架构下的UE使用5G LAN服务时,5G-RG、W-AGF、N3IWF/TNGF支持多级转发,有效解决了5G固移融合架构下的UE使用5G LAN服务时的用户面路径冗长导致的网络时延增大、网络传输资源浪费的问题。The message forwarding method provided in the embodiment of the present application enables 5G-RG, W-AGF, and N3IWF/TNGF to support multi-level forwarding when the UE under the 5G fixed-mobile convergence architecture uses the 5G LAN service, thereby effectively solving the problem of increased network latency and waste of network transmission resources caused by the lengthy user plane path when the UE under the 5G fixed-mobile convergence architecture uses the 5G LAN service.
由于大视频、云应用和新型社交应用的影响,2014年开始国内移动宽带与固定宽带用户的增长都非常迅速。固定移动融合成为大势所趋,其驱动力包括业务层面和网络层面的需求:业务层面的驱动力主要是统一用户帐号和认证、统一计费、业务连续性保障以及业务体验一致性等,使得用户可以跨越时间、空间和接入方式的限制使用多种多样的电信业务;网络的驱动力包括统一网络架构下的网络建设与运维成本降低。云化、服务化架构的5GC可以更好的支持5G固移融合。Due to the influence of big video, cloud applications and new social applications, the growth of domestic mobile broadband and fixed broadband users has been very rapid since 2014. Fixed-mobile convergence has become a general trend, and its driving forces include business and network requirements: the driving force at the business level is mainly unified user accounts and authentication, unified billing, business continuity guarantee and business experience consistency, so that users can use a variety of telecommunications services across time, space and access mode restrictions; the driving force of the network includes the reduction of network construction and operation and maintenance costs under a unified network architecture. 5GC with cloud-based and service-oriented architecture can better support 5G fixed-mobile convergence.
在2020年全球移动通信系统协会(Global System for Mobile communications Association, GSMA)发布的《5G垂直行业应用案例》中提到,通过协助企业构建无线专用局域网,能够帮助企业降低成本,提高效率,改进质量,增加收益。然而,在当前的行业和工业网络中,固定局域网面临着线缆移动性限制,光纤铺设成本高,Wi-Fi覆盖安全性差,移动性不足等问题。而在第四代移动通信技术(4th Generation Mobile Communication Technology,4G)等传统的无线局域网业务中,行业用户仅能获得IP类型接入链路,不能获得常用的Ethernet类型链路,且链路可配置能力差,应用模式固化,这些问题阻碍了企业无线专网局域网的规模和灵活性。因此新兴的行业应用领域,迫切地需要利用5G网络来提供一种类似局域网(LAN)内部通信或本地交互的能力,即:5G LAN业务。In 2020, the Global System for Mobile communications Association (GSMA) The GSMA mentioned in the "5G Vertical Industry Application Cases" that by assisting enterprises to build wireless private LANs, they can help enterprises reduce costs, improve efficiency, improve quality, and increase revenue. However, in the current industry and industrial networks, fixed LANs face problems such as limited cable mobility, high fiber laying costs, poor Wi-Fi coverage security, and insufficient mobility. In traditional wireless LAN services such as the fourth generation mobile communication technology (4th Generation Mobile Communication Technology, 4G), industry users can only obtain IP type access links, not commonly used Ethernet type links, and the link configurability is poor, and the application mode is solidified. These problems hinder the scale and flexibility of enterprise wireless private LANs. Therefore, emerging industry application fields urgently need to use 5G networks to provide a capability similar to internal communication or local interaction within a local area network (LAN), namely: 5G LAN services.
综上所述,本申请实施例提供的方案将5G固移融合与5G LAN技术结合,在5G固移融合架构下的UE使用5G LAN服务场景下,可大幅降低网络时延,提升网络资源利用率,进而。促进了5G固移融合与5G LAN更加深度地的融合,具备良好的应用前景和商业价值。In summary, the solution provided by the embodiment of the present application combines 5G fixed-mobile convergence with 5G LAN technology. When UE uses 5G LAN service scenario under the 5G fixed-mobile convergence architecture, it can greatly reduce network latency and improve network resource utilization, thereby promoting a deeper integration of 5G fixed-mobile convergence and 5G LAN, and has good application prospects and commercial value.
基于前述的实施例,本申请实施例提供一种报文转发的装置,该装置包括所包括的各模块,可以通过第一网元中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(Central Processing Unit,CPU)、微处理器(Microprocessor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等。Based on the foregoing embodiments, an embodiment of the present application provides a message forwarding device, which includes the modules included, and can be implemented by a processor in a first network element; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
图15示出了本申请实施例提供的一种报文转发的装置的组成结构。如图15所示,报文转发的装置1500(下文中简称为装置1500)可以包括:第一接收模块1501和第一配置模块1502;其中,FIG15 shows a composition structure of a message forwarding device provided in an embodiment of the present application. As shown in FIG15 , a message forwarding device 1500 (hereinafter referred to as device 1500) may include: a first receiving module 1501 and a first configuration module 1502;
第一接收模块1501,被配置为接收来自会话管理功能网元的第一配置请求,第一配置请求包括与装置1500关联的第一终端的标识;第一配置模块1502,被配置为响应于第一配置请求,配置针对第一终端的第一转发规则,第一转发规则用于将与装置1500关联的第二终端的报文发送至第一终端,其中,第二终端的报文的目的地址为第一终端的地址。The first receiving module 1501 is configured to receive a first configuration request from a session management function network element, the first configuration request including an identifier of a first terminal associated with the device 1500; the first configuration module 1502 is configured to configure a first forwarding rule for the first terminal in response to the first configuration request, the first forwarding rule being used to send a message from a second terminal associated with the device 1500 to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
在一些实施例中,第一转发规则包括:第一源接口、第一目的地址和第一目的接口,其中,第一源接口为:装置1500和第二终端之间的接口,第一目的地址为:第一终端的地址,第一目的接口为:装置1500和第一终端之间的接口;装置1500还包括第二接收模块和第一发送模块;第二接收模块,被配置为通过装置1500和第二终端之间的接口,接收第二终端的报文,第二终端的报文的目的地址为第一终端的地址;第一发送模块,被配置为基于第一转发规则,将第二终端的报文发送至装置1500和第一终端之间的接口。In some embodiments, the first forwarding rule includes: a first source interface, a first destination address and a first destination interface, wherein the first source interface is: the interface between the device 1500 and the second terminal, the first destination address is: the address of the first terminal, and the first destination interface is: the interface between the device 1500 and the first terminal; the device 1500 also includes a second receiving module and a first sending module; the second receiving module is configured to receive a message from the second terminal through the interface between the device 1500 and the second terminal, and the destination address of the message from the second terminal is the address of the first terminal; the first sending module is configured to send the message from the second terminal to the interface between the device 1500 and the first terminal based on the first forwarding rule.
在一些实施例中,装置1500还包括判断模块;判断模块,被配置为在配置针对第一终端的第一转发规则之前,判断第一终端与装置1500之间是否存在通信链路;第一配置模块1502,还被配置为在第一终端与装置1500之间存在通信链路的情况下,针对第一终端配置第一转发规则。In some embodiments, the device 1500 also includes a judgment module; the judgment module is configured to determine whether there is a communication link between the first terminal and the device 1500 before configuring the first forwarding rule for the first terminal; the first configuration module 1502 is also configured to configure the first forwarding rule for the first terminal when there is a communication link between the first terminal and the device 1500.
在一些实施例中,装置1500为以下任一网元:非3GPP网络交互功能N3IWF、可信的非3GPP网关功能TNGF、驻留网关;在装置1500为N3IWF或TNGF的情况下,判断模块具体被配置为:判断N3IWF或TNGF是否与第一终端建立了互联网安全协议IPSec通道;在装置1500为驻留网关的情况下,判断模块具体被配置为:判断第一终端是否为驻留网关下联的终端。In some embodiments, device 1500 is any of the following network elements: a non-3GPP network interaction function N3IWF, a trusted non-3GPP gateway function TNGF, and a resident gateway; when device 1500 is N3IWF or TNGF, the judgment module is specifically configured to: judge whether N3IWF or TNGF has established an Internet security protocol IPSec channel with the first terminal; when device 1500 is a resident gateway, the judgment module is specifically configured to: judge whether the first terminal is a terminal connected to the resident gateway.
在一些实施例中,装置1500为第一驻留网关,装置1500还包括第二发送模块;第二发送模块,被配置为向与第一驻留网关关联的有线接入网关功能W-AGF网元发送第二配置请求,第二配置请求包括第一终端的地址,第二配置请求用于请求W-AGF网元针对第一终端配置第二转发规则,第二转发规则用于将与W-AGF网元关联的第二驻留网关的报文发送至第一驻留网关;其中,第二驻留网关的报文的目的地址为第一终端的地址。In some embodiments, device 1500 is a first resident gateway, and device 1500 also includes a second sending module; the second sending module is configured to send a second configuration request to a wired access gateway function W-AGF network element associated with the first resident gateway, the second configuration request includes the address of the first terminal, the second configuration request is used to request the W-AGF network element to configure a second forwarding rule for the first terminal, and the second forwarding rule is used to send a message of the second resident gateway associated with the W-AGF network element to the first resident gateway; wherein the destination address of the message of the second resident gateway is the address of the first terminal.
在一些实施例中,第二转发规则包括:第二目的地址和第二目的接口,其中,第二目的地址为:第一终端的地址,第二目的接口为:W-AGF网元和第一驻留网关之间的接口;装置1500还包括第三接收模块和第三发送模块;第三接收模块,被配置为通过W-AGF网元和第一驻留网关之间的接口,接收来自第二驻留网关的报文;第三发送模块,被配置为基于第 一终端的地址,将来自第二驻留网关的报文发送至第一终端。In some embodiments, the second forwarding rule includes: a second destination address and a second destination interface, wherein the second destination address is: the address of the first terminal, and the second destination interface is: the interface between the W-AGF network element and the first resident gateway; the device 1500 also includes a third receiving module and a third sending module; the third receiving module is configured to receive a message from the second resident gateway through the interface between the W-AGF network element and the first resident gateway; the third sending module is configured to receive a message from the second resident gateway based on the third receiving module. The address of a terminal is used to send the message from the second resident gateway to the first terminal.
基于前述的实施例,本申请实施例提供一种报文转发的装置,该装置包括所包括的各模块,可以通过会话管理功能网元中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(Central Processing Unit,CPU)、微处理器(Microprocessor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等。Based on the foregoing embodiments, an embodiment of the present application provides a message forwarding device, which includes the modules included, and can be implemented by a processor in a session management function network element; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
图16示出了本申请实施例提供的另一种报文转发的装置的组成结构。如图16所示,报文转发的装置1600(下文中简称为装置1600)可以包括:发送模块1601;其中,FIG16 shows the composition structure of another message forwarding device provided in an embodiment of the present application. As shown in FIG16 , a message forwarding device 1600 (hereinafter referred to as device 1600) may include: a sending module 1601;
发送模块1601,被配置为向第一网元发送第一配置请求,第一配置请求包括与第一网元关联的第一终端的标识,第一配置请求用于请求第一网元配置针对第一终端的第一转发规则,第一转发规则用于将与第一网元关联的第二终端的报文发送至第一终端,其中,第二终端的报文的目的地址为第一终端的地址。The sending module 1601 is configured to send a first configuration request to the first network element, the first configuration request including an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, the first forwarding rule being used to send a message from a second terminal associated with the first network element to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
在一些实施例中,装置1600还包括第一获取模块;第一获取模块,被配置为通过应用功能AF或操作支撑系统OSS获取指示信息,指示信息用于指示是否启用第一网元的报文转发功能;发送模块1601,具体被配置为:在指示信息指示启用第一网元的报文转发功能的情况下,向第一网元发送第一配置请求。In some embodiments, the device 1600 also includes a first acquisition module; the first acquisition module is configured to obtain indication information through the application function AF or the operation support system OSS, and the indication information is used to indicate whether to enable the message forwarding function of the first network element; the sending module 1601 is specifically configured to: when the indication information indicates to enable the message forwarding function of the first network element, send a first configuration request to the first network element.
在一些实施例中,装置1600还包括第二获取模块;第二获取模块,被配置为在向第一网元发送第一配置请求之前,获取第一终端与第一网元的关联关系;发送模块1601,具体被配置为:基于关联关系确定第一网元,再向第一网元发送第一配置请求。In some embodiments, the device 1600 also includes a second acquisition module; the second acquisition module is configured to obtain the association relationship between the first terminal and the first network element before sending the first configuration request to the first network element; the sending module 1601 is specifically configured to: determine the first network element based on the association relationship, and then send the first configuration request to the first network element.
以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。在一些实施例中,本申请实施例提供的装置具有的功能或包含的模块可以用于执行上述方法实施例描述的方法,对于本申请装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件、软件或固件,或者硬件、软件、固件三者之间的任意结合。It should be noted that in the embodiments of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), disk or optical disk, etc., various media that can store program codes. In this way, the embodiments of the present application are not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
本申请实施例还提供一种报文转发设备,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法中的部分或全部步骤。An embodiment of the present application also provides a message forwarding device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.
本申请实施例还提供一种芯片。该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行上述方法中的部分或全部步骤。The embodiment of the present application further provides a chip, which includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes some or all of the steps in the above method.
本申请实施例还提供另一种芯片,该芯片包括处理器与通信接口,处理器通过通信接口读取存储器上存储的指令,实现上述方法中的部分或全部步骤。在一些实施例中,作为一种实现方式,该芯片还包括存储器,存储器中存储有计算机程序或指令,处理器用于执行存储器上存储的计算机程序或指令,当计算机程序或指令被执行时,处理器用于执行上述方法中的部分或全部步骤。The embodiment of the present application also provides another chip, which includes a processor and a communication interface, and the processor reads instructions stored in the memory through the communication interface to implement some or all of the steps in the above method. In some embodiments, as an implementation method, the chip also includes a memory, in which a computer program or instruction is stored, and the processor is used to execute the computer program or instruction stored in the memory. When the computer program or instruction is executed, the processor is used to execute some or all of the steps in the above method.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述方法中的部分或全部步骤。所述计算机可读存储介质可以是瞬时性的,也可以是非瞬时性的。The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.
本申请实施例还提供一种计算机程序,包括计算机可读代码,在所述计算机可读代码在网元(如第一网元;又如会话管理功能网元)中运行的情况下,所述网元(如第一网元;又如会话管理功能网元)中的处理器执行用于实现上述方法中的部分或全部步骤。 An embodiment of the present application also provides a computer program, including a computer-readable code. When the computer-readable code is executed in a network element (such as a first network element; or a session management function network element), a processor in the network element (such as a first network element; or a session management function network element) executes some or all of the steps in the above method.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序被计算机读取并执行时,实现上述方法中的部分或全部步骤。该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一些实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一些实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc.
这里需要指出的是:上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考。以上设备、存储介质、计算机程序及计算机程序产品实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请设备、存储介质、计算机程序及计算机程序产品实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
需要说明的是,图17为本申请实施例中报文转发设备的一种硬件实体示意图,如图17所示,该报文转发设备1700的硬件实体包括:处理器1701、通信接口1702和存储器1703,其中:It should be noted that FIG. 17 is a schematic diagram of a hardware entity of a message forwarding device in an embodiment of the present application. As shown in FIG. 17 , the hardware entity of the message forwarding device 1700 includes: a processor 1701, a communication interface 1702, and a memory 1703, wherein:
处理器1701通常控制报文转发设备1700的总体操作。The processor 1701 generally controls the overall operation of the packet forwarding device 1700 .
通信接口1702可以使报文转发设备1700通过网络与其他终端或服务器通信。The communication interface 1702 enables the message forwarding device 1700 to communicate with other terminals or servers through the network.
存储器1703配置为存储由处理器1701可执行的指令和应用,还可以缓存待处理器1701以及报文转发设备1700中各模块待处理或已经处理的数据(例如,图像数据、音频数据、语音通信数据和视频通信数据),可以通过闪存(FLASH)或随机访问存储器(Random Access Memory,RAM)实现。处理器1701、通信接口1702和存储器1703之间可以通过总线1704进行数据传输。The memory 1703 is configured to store instructions and applications executable by the processor 1701, and can also cache data to be processed or processed by the processor 1701 and each module in the message forwarding device 1700 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data can be transmitted between the processor 1701, the communication interface 1702, and the memory 1703 through the bus 1704.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各步骤/过程的序号的大小并不意味着执行顺序的先后,各步骤/过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial numbers of the above-mentioned steps/processes does not mean the order of execution, and the execution order of each step/process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read  Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art will appreciate that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions, and the above program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above method embodiments are executed; and the above storage medium includes: a mobile storage device, a read-only memory (Read Only Memory), and a computer-readable storage medium. Only Memory, ROM), magnetic disks or optical disks, etc., which can store program codes.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。 The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims (14)

  1. 一种报文转发的方法,应用于第一网元,所述方法包括:A method for forwarding a message, applied to a first network element, the method comprising:
    接收来自会话管理功能网元的第一配置请求,所述第一配置请求包括与所述第一网元关联的第一终端的标识;receiving a first configuration request from a session management function network element, wherein the first configuration request includes an identifier of a first terminal associated with the first network element;
    响应于所述第一配置请求,配置针对所述第一终端的第一转发规则,所述第一转发规则用于将与所述第一网元关联的第二终端的报文发送至所述第一终端,其中,所述第二终端的报文的目的地址为所述第一终端的地址。In response to the first configuration request, a first forwarding rule for the first terminal is configured, wherein the first forwarding rule is used to send a message from a second terminal associated with the first network element to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
  2. 根据权利要求1所述的方法,其中,所述第一转发规则包括:第一源接口、第一目的地址和第一目的接口,The method according to claim 1, wherein the first forwarding rule comprises: a first source interface, a first destination address, and a first destination interface,
    其中,所述第一源接口为:所述第一网元和所述第二终端之间的接口,所述第一目的地址为:所述第一终端的地址,所述第一目的接口为:所述第一网元和所述第一终端之间的接口;The first source interface is an interface between the first network element and the second terminal, the first destination address is an address of the first terminal, and the first destination interface is an interface between the first network element and the first terminal;
    所述方法还包括:The method further comprises:
    通过所述第一网元和所述第二终端之间的接口,接收所述第二终端的报文;receiving a message from the second terminal through an interface between the first network element and the second terminal;
    基于所述第一转发规则,将所述第二终端的报文发送至所述第一网元和所述第一终端之间的接口。Based on the first forwarding rule, the message of the second terminal is sent to the interface between the first network element and the first terminal.
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    在所述配置针对所述第一终端的第一转发规则之前,判断所述第一终端与所述第一网元之间是否存在通信链路;Before configuring a first forwarding rule for the first terminal, determining whether there is a communication link between the first terminal and the first network element;
    在所述第一终端与所述第一网元之间存在通信链路的情况下,针对所述第一终端配置所述第一转发规则。In a case where a communication link exists between the first terminal and the first network element, the first forwarding rule is configured for the first terminal.
  4. 根据权利要求3所述的方法,其中,所述第一网元为以下任一网元:非3GPP网络交互功能N3IWF、可信的非3GPP网关功能TNGF、驻留网关;The method according to claim 3, wherein the first network element is any one of the following network elements: a non-3GPP network interaction function N3IWF, a trusted non-3GPP gateway function TNGF, and a resident gateway;
    在所述第一网元为N3IWF或TNGF的情况下,所述判断所述第一终端与所述第一网元之间是否存在通信链路,包括:判断所述N3IWF或所述TNGF是否与所述第一终端建立了互联网安全协议IPSec通道;In the case where the first network element is N3IWF or TNGF, the determining whether there is a communication link between the first terminal and the first network element includes: determining whether the N3IWF or the TNGF has established an Internet Security Protocol IPSec channel with the first terminal;
    在所述第一网元为驻留网关的情况下,所述判断所述第一终端与所述第一网元之间是否存在通信链路,包括:判断所述第一终端是否为所述驻留网关下联的终端。In the case that the first network element is a resident gateway, the determining whether a communication link exists between the first terminal and the first network element includes: determining whether the first terminal is a terminal connected to the resident gateway.
  5. 根据权利要求1或2所述的方法,其中,所述第一网元为第一驻留网关,所述方法还包括:The method according to claim 1 or 2, wherein the first network element is a first resident gateway, and the method further comprises:
    向与所述第一驻留网关关联的有线接入网关功能W-AGF网元发送第二配置请求,所述第二配置请求包括所述第一终端的地址,所述第二配置请求用于请求所述W-AGF网元针对所述第一终端配置第二转发规则,所述第二转发规则用于将与所述W-AGF网元关联的第二驻留网关的报文发送至所述第一驻留网关;Sending a second configuration request to a wired access gateway function W-AGF network element associated with the first resident gateway, where the second configuration request includes the address of the first terminal, and the second configuration request is used to request the W-AGF network element to configure a second forwarding rule for the first terminal, where the second forwarding rule is used to send a message of a second resident gateway associated with the W-AGF network element to the first resident gateway;
    其中,所述第二驻留网关的报文的目的地址为所述第一终端的地址。The destination address of the message of the second resident gateway is the address of the first terminal.
  6. 根据权利要求5所述的方法,其中,所述第二转发规则包括:第二目的地址和第二目的接口,The method according to claim 5, wherein the second forwarding rule comprises: a second destination address and a second destination interface,
    其中,所述第二目的地址为:所述第一终端的地址,所述第二目的接口为:所述W-AGF网元和所述第一驻留网关之间的接口;The second destination address is: the address of the first terminal, and the second destination interface is: the interface between the W-AGF network element and the first resident gateway;
    所述方法还包括:The method further comprises:
    通过所述W-AGF网元和所述第一驻留网关之间的接口,接收来自所述第二驻留网关的报文;receiving a message from the second resident gateway through an interface between the W-AGF network element and the first resident gateway;
    基于所述第一终端的地址,将来自所述第二驻留网关的报文发送至所述第一终端。Based on the address of the first terminal, the message from the second resident gateway is sent to the first terminal.
  7. 一种报文转发的方法,应用于会话管理功能网元,所述方法包括:A method for forwarding a message, applied to a session management function network element, the method comprising:
    向第一网元发送第一配置请求,所述第一配置请求包括与所述第一网元关联的第一终端的标识,所述第一配置请求用于请求所述第一网元配置针对所述第一终端的第一转发规则, 所述第一转发规则用于将与所述第一网元关联的第二终端的报文发送至所述第一终端,其中,所述第二终端的报文的目的地址为所述第一终端的地址。sending a first configuration request to a first network element, the first configuration request including an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, The first forwarding rule is used to send a message of a second terminal associated with the first network element to the first terminal, wherein a destination address of the message of the second terminal is an address of the first terminal.
  8. 根据权利要求7所述的方法,其中,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    通过应用功能AF或操作支撑系统OSS获取指示信息,所述指示信息用于指示是否启用所述第一网元的报文转发功能;Obtaining indication information through an application function AF or an operation support system OSS, where the indication information is used to indicate whether to enable a message forwarding function of the first network element;
    所述向第一网元发送第一配置请求,包括:The sending a first configuration request to the first network element includes:
    在所述指示信息指示启用所述第一网元的报文转发功能的情况下,向所述第一网元发送所述第一配置请求。When the indication information indicates to enable the message forwarding function of the first network element, the first configuration request is sent to the first network element.
  9. 根据权利要求7或8所述的方法,其中,所述方法还包括:The method according to claim 7 or 8, wherein the method further comprises:
    在向所述第一网元发送所述第一配置请求之前,获取所述第一终端与所述第一网元的关联关系;Before sending the first configuration request to the first network element, obtaining an association relationship between the first terminal and the first network element;
    基于所述关联关系确定所述第一网元,再向所述第一网元发送所述第一配置请求。The first network element is determined based on the association relationship, and the first configuration request is sent to the first network element.
  10. 一种报文转发的装置,所述装置包括第一接收模块和第一配置模块;其中,A message forwarding device, the device comprising a first receiving module and a first configuration module; wherein:
    所述第一接收模块,被配置为接收来自会话管理功能网元的第一配置请求,所述第一配置请求包括与所述装置关联的第一终端的标识;The first receiving module is configured to receive a first configuration request from a session management function network element, wherein the first configuration request includes an identifier of a first terminal associated with the device;
    所述第一配置模块,被配置为响应于所述第一配置请求,配置针对所述第一终端的第一转发规则,所述第一转发规则用于将与所述装置关联的第二终端的报文发送至所述第一终端,其中,所述第二终端的报文的目的地址为所述第一终端的地址。The first configuration module is configured to configure a first forwarding rule for the first terminal in response to the first configuration request, wherein the first forwarding rule is used to send a message from a second terminal associated with the device to the first terminal, wherein the destination address of the message from the second terminal is the address of the first terminal.
  11. 一种报文转发的装置,所述装置包括发送模块;其中,A message forwarding device, the device comprising a sending module; wherein:
    所述发送模块,被配置为向第一网元发送第一配置请求,所述第一配置请求包括与所述第一网元关联的第一终端的标识,所述第一配置请求用于请求所述第一网元配置针对所述第一终端的第一转发规则,所述第一转发规则用于将与所述第一网元关联的第二终端的报文发送至所述第一终端,其中,所述第二终端的报文的目的地址为所述第一终端的地址。The sending module is configured to send a first configuration request to a first network element, the first configuration request including an identifier of a first terminal associated with the first network element, the first configuration request being used to request the first network element to configure a first forwarding rule for the first terminal, the first forwarding rule being used to send a message of a second terminal associated with the first network element to the first terminal, wherein the destination address of the message of the second terminal is the address of the first terminal.
  12. 一种报文转发设备,所述报文转发设备包括:A message forwarding device, the message forwarding device comprising:
    存储器,用于存储计算机可执行指令;A memory for storing computer executable instructions;
    处理器,与所述存储器连接,用于通过执行所述计算机可执行指令,实现权利要求1至6中任一项所述的方法,或者,实现权利要求7至9中任一项所述的方法。A processor, connected to the memory, for implementing the method of any one of claims 1 to 6, or implementing the method of any one of claims 7 to 9 by executing the computer executable instructions.
  13. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被至少一个处理器执行时实现权利要求1至6中任一项所述的方法,或者,实现权利要求7至9中任一项所述的方法。A computer-readable storage medium storing a computer program, wherein the computer program, when executed by at least one processor, implements the method of any one of claims 1 to 6, or implements the method of any one of claims 7 to 9.
  14. 一种计算机程序产品,所述计算机程序产品包括计算机指令,在所述计算机指令在计算机设备上运行的情况下,使得所述计算机设备执行权利要求1至6中任一项所述的方法,或执行权利要求7至9中任一项所述的方法。 A computer program product, comprising computer instructions, which, when executed on a computer device, causes the computer device to execute the method of any one of claims 1 to 6, or the method of any one of claims 7 to 9.
PCT/CN2023/130348 2022-11-15 2023-11-08 Message forwarding method and apparatus, and device, storage medium and computer program product WO2024104228A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211428008.9 2022-11-15
CN202211428008.9A CN118055061A (en) 2022-11-15 2022-11-15 Message forwarding method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024104228A1 true WO2024104228A1 (en) 2024-05-23

Family

ID=91050848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/130348 WO2024104228A1 (en) 2022-11-15 2023-11-08 Message forwarding method and apparatus, and device, storage medium and computer program product

Country Status (2)

Country Link
CN (1) CN118055061A (en)
WO (1) WO2024104228A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140010084A1 (en) * 2012-07-09 2014-01-09 Arun Kavunder System and method associated with a service flow router
CN111010673A (en) * 2018-10-08 2020-04-14 华为技术有限公司 Communication method and device
CN112583693A (en) * 2020-12-14 2021-03-30 深圳艾灵网络有限公司 Virtual local area network communication method, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140010084A1 (en) * 2012-07-09 2014-01-09 Arun Kavunder System and method associated with a service flow router
CN111010673A (en) * 2018-10-08 2020-04-14 华为技术有限公司 Communication method and device
CN112583693A (en) * 2020-12-14 2021-03-30 深圳艾灵网络有限公司 Virtual local area network communication method, equipment and storage medium

Also Published As

Publication number Publication date
CN118055061A (en) 2024-05-17

Similar Documents

Publication Publication Date Title
WO2023284584A1 (en) Communication method and apparatus
WO2022257549A1 (en) Network slicing method and device, and storage medium
WO2023280121A1 (en) Method and apparatus for obtaining edge service
WO2023011217A1 (en) Communication method and apparatus
US11297664B2 (en) Mobility in enterprise networks
EP4221005A1 (en) Multipath transmission method and communication apparatus
WO2016180113A1 (en) Method for initiating wi-fi voice service, lte communication device, terminal, and communication system
US11792883B2 (en) Ethernet PDU service for 5G networks
WO2022171017A1 (en) Communication method, apparatus and system
US11277450B2 (en) Over-the-top client with native calling quality of service
US20240097933A1 (en) Policy control function fallback
WO2023087965A1 (en) Communication method and apparatus
WO2024104228A1 (en) Message forwarding method and apparatus, and device, storage medium and computer program product
US12021827B2 (en) Apparatus, method and computer program to influence 3GPP terminals on preferences between multiple recursive DNS servers
WO2022141528A1 (en) Method and device for determining mec access point
WO2024067194A1 (en) Communication method, communication apparatus and communication system
WO2023207958A1 (en) Policy transmission method, and communication apparatus and system
WO2023185441A1 (en) Communication method and apparatus
TWI823362B (en) A communication method and device,storage medium and chip system
WO2024067332A1 (en) Path selection method and apparatus, and information reporting method and apparatus
WO2023143212A1 (en) Communication method and apparatus
WO2023061207A1 (en) Communication method, communication apparatus, and communication system
WO2023185435A1 (en) Communication method and apparatus
WO2023020046A1 (en) Communication method and communication apparatus
WO2023015973A1 (en) Network slice admission control method and apparatus