Service flow forwarding method, device and equipment based on 5G core network

文档序号:1865210 发布日期:2021-11-19 浏览:16次 中文

阅读说明:本技术 一种基于5g核心网的业务流转发方法、装置及设备 (Service flow forwarding method, device and equipment based on 5G core network ) 是由 李辉 于 2021-08-31 设计创作,主要内容包括:本申请提供了一种基于5G核心网的业务流转发方法、装置及设备。部署在5G核心网的SDN控制器创建至目的IP地址的SRv6策略组,该SRv6策略组中的不同QFI对应不同SRv6策略;并下发SRv6策略组,在进行业务报文转发时,能够按照服务质量流标识QFI与SRv6策略的对应关系,依据业务报文的QFI在SRv6策略组中查找到对应的SRv6策略,以依据查找到的SRv6策略指示的SRv6路径转发所述业务报文。可见,本申请实施例能够通过SRv6策略和终端访问的IP智能引流到不同的SRv6路径,从而体现不同等级用户服务质量的差别,进而保障高服务等级用户的业务质量。(The application provides a service flow forwarding method, a service flow forwarding device and service flow forwarding equipment based on a 5G core network. An SDN controller deployed in a 5G core network creates SRv6 policy groups to a destination IP address, wherein different QFIs in the SRv6 policy groups correspond to different SRv6 policies; and issuing SRv6 policy group, when forwarding service message, according to the corresponding relationship between QFI and SRv6 policy, finding out corresponding SRv6 policy in SRv6 policy group according to QFI of service message, so as to forward the service message according to SRv6 path indicated by SRv6 policy found out. Therefore, the embodiment of the application can intelligently drain to different SRv6 paths through an SRv6 policy and an IP accessed by a terminal, so that the difference of service quality of users with different grades is reflected, and the service quality of the users with high service grades is further ensured.)

1. A service flow forwarding method based on a 5G core network is characterized in that the method is applied to an SDN controller deployed in the 5G core network, the SDN controller is connected with a second specified interface on a User Plane Function (UPF) network element in the 5G core network through a first specified interface, and the first specified interface and the second specified interface are the same in interface type, and the method comprises the following steps:

the SDN controller creates a segment routing SRv6 policy group to a destination IP address, the SRv6 policy group including at least: a correspondence between quality of service flow identifiers QFI and SRv6 policies, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

issuing the SRv6 policy group through the first designated interface, so that the UPF network element receives the SRv6 policy group through the second designated interface, finds a corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service packet when receiving the service packet to the destination IP address, and forwards the service packet according to a SRv6 path indicated by the found SRv6 policy.

2. The method of claim 1, wherein when the SDN controller interacts with the UPF network element through a network configuration NETCONF protocol, the interface type is a NETCONF interface corresponding to the NETCONF protocol;

and when the SDN controller interacts with the UPF network element through an HTTP rest protocol, the interface type is an HTTP rest interface corresponding to the HTTP rest protocol.

3. The method of claim 1, wherein the SRv6 path is represented by a segment list segment comprising: and the device identifier of each node device on an SRv6 path from the UPF network element to the destination IP address corresponding to the QFI.

4. A service flow forwarding method based on 5G core network is characterized in that the method is applied to a user plane function UPF network element deployed in the 5G core network; the UPF network element is connected with a deployed SDN controller in a 5G core network, the SDN controller is connected with a second specified interface on a UPF network element of a user plane function in the 5G core network through a first specified interface, and the type of the first specified interface is the same as that of the second specified interface, and the method comprises the following steps:

obtaining a PDR issued by an SMF in a PDU session process between a user and an UPF, wherein the PDR at least comprises: a quality of service flow identity QFI of at least one traffic type;

receiving, through the second specified interface, SRv6 policy groups issued by the SDN controller through the first specified interface and addressed to a destination IP address; the SRv6 policy group includes at least: a quality of service flow identification QFI and a correspondence between SRv6 policies of an SRv6 policy, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

when receiving a service message sent by the user to the destination IP address, determining the QFI corresponding to the service message according to the PDR, finding the corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service message, and forwarding the service message according to the SRv6 path indicated by the found SRv6 policy.

5. The method of claim 4, wherein when the SDN controller interacts with the UPF network element through a NETCONF protocol, the interface type is a NETCONF interface corresponding to the NETCONF protocol;

and when the SDN controller interacts with the UPF network element through an HTTP rest protocol, the interface type is an HTTP rest interface corresponding to the HTTP rest protocol.

6. The method of claim 4, wherein determining the QFI corresponding to the service packet according to the PDR comprises:

determining the service type of the service message;

and searching the QFI corresponding to the service type in the PDR by taking the service type as a keyword.

7. A service flow forwarding device based on a 5G core network is characterized in that the device is applied to an SDN controller deployed in the 5G core network, the SDN controller is connected with a second specified interface on a User Plane Function (UPF) network element in the 5G core network through a first specified interface, and the first specified interface and the second specified interface are the same in interface type, and the device comprises:

a policy group creation unit for creating a segment route SRv6 policy group to a destination IP address, the SRv6 policy group including at least: a quality of service flow identification QFI and a correspondence between SRv6 policies of an SRv6 policy, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

a first service packet forwarding unit, configured to issue the SRv6 policy group through the first specified interface, so that the UPF network element receives the SRv6 policy group through the second specified interface, and when receiving a service packet addressed to the destination IP address, finds a corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service packet, and forwards the service packet according to a SRv6 path indicated by the found SRv6 policy.

8. The apparatus according to claim 7, wherein when the SDN controller interacts with the UPF network element through a network configuration NETCONF protocol, the interface type is a NETCONF interface corresponding to the NETCONF protocol;

and when the SDN controller interacts with the UPF network element through an HTTP rest protocol, the interface type is an HTTP rest interface corresponding to the HTTP rest protocol.

9. A service flow forwarding device based on a 5G core network is characterized in that the device is applied to a user plane function UPF network element deployed in the 5G core network; the UPF network element is connected with a deployed SDN controller in a 5G core network, the SDN controller is connected with a second specified interface on a UPF network element of a user plane function in the 5G core network through a first specified interface, and the type of the first specified interface is the same as that of the second specified interface, and the device comprises:

a PDR issuing unit, configured to obtain a PDR issued by an SMF in a PDU session between a user and an UPF, where the PDR at least includes: a quality of service flow identity QFI of at least one traffic type;

a policy group issuing unit, configured to receive, through the second specified interface, SRv6 policy groups issued by the SDN controller through the first specified interface and addressed to a destination IP address; the SRv6 policy group includes at least: a correspondence between QFI and SRv6 policy of SRv6 policy, the SRv6 policy to indicate SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

and a second service packet forwarding unit, configured to, when receiving a service packet sent by the user to the destination IP address, determine, according to the PDR, a QFI corresponding to the service packet, search, according to the QFI of the service packet, a corresponding SRv6 policy in the SRv6 policy group, and forward the service packet according to a SRv6 path indicated by the searched SRv6 policy.

10. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor; the processor is configured to execute machine-executable instructions to implement the steps of the above-described methods.

Technical Field

The present application relates to network communication technologies, and in particular, to a service flow forwarding method, apparatus, and device based on a 5G core network.

Background

At present, SRv6 (segment routing) of a mobile communication network is mostly implemented on a bearer network, and bearer network devices cannot directly sense Quality of Service (QoS) information of mobile communication users, so that SRv6 control cannot be performed based on the QoS information of mobile communication, and the Quality of Service of users cannot be better guaranteed end to end.

Based on this, the existing 3GPP only describes a scenario that an N9 interface supports SRv6 for a 5G core network User Plane Function (UPF) (user Plane function) network element implementation SRv6, and UPF SRv6 information is issued by SMF. The N9 interface is a tunnel transmission between two UPFs, does not sense user service quality information, and can only implement indiscriminate transmission of user services, which easily causes some SRv6 paths to forward service messages to be congested, and if a service message with a high service level is needed, the service message is forwarded through a SRv6 path with congestion, which easily causes a technical problem that the forwarding service quality of the user with the high service level is poor due to congestion.

Disclosure of Invention

The application provides a service flow forwarding method, a device and equipment based on a 5G core network, so as to guarantee the service quality of a user with a high service level.

The technical scheme provided by the application comprises the following steps:

in a first aspect, an embodiment of the present application provides a service flow forwarding method based on a 5G core network, where the method is applied to an SDN controller deployed in the 5G core network, the SDN controller is connected to a second specified interface on a user plane function UPF network element in the 5G core network through a first specified interface, and the first specified interface and the second specified interface have the same interface type, and the method includes:

the SDN controller creates a segment routing SRv6 policy group to a destination IP address, the SRv6 policy group including at least: a quality of service flow identification QFI and a correspondence between SRv6 policies of an SRv6 policy, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies, and the SRv6 strategy corresponding to the QFI with the largest value indicates the shortest SRv6 path;

issuing the SRv6 policy group through the first designated interface, so that the UPF network element receives the SRv6 policy group through the second designated interface, finds a corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service packet when receiving the service packet to the destination IP address, and forwards the service packet according to a SRv6 path indicated by the found SRv6 policy.

In a second aspect, an embodiment of the present application provides another service flow forwarding method based on a 5G core network, where the method is applied to a user plane function UPF network element deployed in the 5G core network; the UPF network element is connected with a deployed SDN controller in a 5G core network, the SDN controller is connected with a second specified interface on a UPF network element of a user plane function in the 5G core network through a first specified interface, and the type of the first specified interface is the same as that of the second specified interface, and the method comprises the following steps:

obtaining a PDR issued by an SMF in a PDU session process between a user and an UPF, wherein the PDR at least comprises: a quality of service flow identity QFI of at least one traffic type;

receiving, through the second specified interface, SRv6 policy groups issued by the SDN controller through the first specified interface and addressed to a destination IP address; the SRv6 policy group includes at least: a quality of service flow identification QFI and a correspondence between SRv6 policies of an SRv6 policy, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

when receiving a service message sent by the user to the destination IP address, determining the QFI corresponding to the service message according to the PDR, finding the corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service message, and forwarding the service message according to the SRv6 path indicated by the found SRv6 policy.

In a third aspect, an embodiment of the present application provides a service flow forwarding apparatus based on a 5G core network, where the apparatus is applied to an SDN controller deployed in the 5G core network, the SDN controller is connected to a second specified interface on a user plane function UPF network element in the 5G core network through a first specified interface, and interface types of the first specified interface and the second specified interface are the same, and the apparatus includes:

a policy group creation unit for creating a segment route SRv6 policy group to a destination IP address, the SRv6 policy group including at least: a quality of service flow identification QFI and a correspondence between SRv6 policies of an SRv6 policy, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

a first service packet forwarding unit, configured to issue the SRv6 policy group through the first specified interface, so that the UPF network element receives the SRv6 policy group through the second specified interface, and when receiving a service packet addressed to the destination IP address, finds a corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service packet, and forwards the service packet according to a SRv6 path indicated by the found SRv6 policy.

In a fourth aspect, an embodiment of the present application provides another service flow forwarding apparatus based on a 5G core network, where the apparatus is applied to a user plane function UPF network element deployed in the 5G core network; the UPF network element is connected with a deployed SDN controller in a 5G core network, the SDN controller is connected with a second specified interface on a UPF network element of a user plane function in the 5G core network through a first specified interface, and the type of the first specified interface is the same as that of the second specified interface, and the device comprises:

a PDR issuing unit, configured to obtain a PDR issued by an SMF in a PDU session between a user and an UPF, where the PDR at least includes: a quality of service flow identity QFI of at least one traffic type;

a policy group issuing unit, configured to receive, through the second specified interface, SRv6 policy groups issued by the SDN controller through the first specified interface and addressed to a destination IP address; the SRv6 policy group includes at least: a correspondence between QFI and SRv6 policy of SRv6 policy, the SRv6 policy to indicate SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

and a second service packet forwarding unit, configured to, when receiving a service packet sent by the user to the destination IP address, determine, according to the PDR, a QFI corresponding to the service packet, search, according to the QFI of the service packet, a corresponding SRv6 policy in the SRv6 policy group, and forward the service packet according to a SRv6 path indicated by the searched SRv6 policy.

According to the technical scheme, the method comprises the steps that an SRv6 policy group to a destination IP address is created by an SDN controller deployed in a 5G core network, and different QFIs in the SRv6 policy group correspond to different SRv6 policies; and issuing SRv6 policy group through the first designated interface, when forwarding the service message, according to the corresponding relationship between QFI and SRv6 policy, finding the corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service message, so as to forward the service message according to the SRv6 path indicated by the found SRv6 policy. Therefore, the embodiment of the application can intelligently drain to different SRv6 paths through an SRv6 policy and an IP accessed by a terminal, so that the difference of service quality of users with different grades is reflected, and the service quality of the users with high service grades is further ensured.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.

Fig. 1 is a schematic flowchart of a service flow forwarding method based on a 5G core network according to the present application;

fig. 2 is a schematic diagram of service packet forwarding provided in the present application;

fig. 3 is a schematic flowchart of another service flow forwarding method based on a 5G core network according to the present application;

fig. 4 is a schematic structural diagram of a first service flow forwarding device based on a 5G core network according to the present application;

fig. 5 is a schematic diagram of a second service flow forwarding apparatus based on a 5G core network according to the present application;

fig. 6 is a schematic structural diagram of an electronic device provided in the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.

SRv6 is a third generation IP core technology, and scale deployment of IPv6 complements the SRv6 development. The current 5G construction is very popular, and towards various vertical applications of 5G, SRv6 future networks for creating service quality perception are a necessary trend. At present, SRv6 of a mobile communication network is mostly realized on a bearer network, and bearer network equipment cannot directly sense QoS information of a mobile communication user, so that SRv6 control cannot be performed based on the QoS information of the mobile communication, and the quality of service of the user service cannot be better guaranteed end to end.

Whereas the existing 3GPP (3 rd Generation Partnership Project, third Generation Partnership Project) only describes the scenario of N9 interface support SRv6 for 5G core network user plane UPF network element implementation SRv6, and the UPF SRv6 information is delivered by SMF. The N9 interface is a tunnel transmission between two UPFs, does not sense user service quality information, and can only implement indiscriminate transmission of user services, which easily causes some SRv6 paths to forward service messages to be congested, and if a service message with a high service level is needed, the service message is forwarded through a SRv6 path with congestion, which easily causes a technical problem that the forwarding service quality of the user with the high service level is poor due to congestion. Additionally, due to current advances in decoupling SMF from UPF, it is also difficult for UPF to support SRv6 in the short term.

In order to solve the above problem, an embodiment of the present application provides a service Flow forwarding method based on a 5G core network, where the method is applied to an SDN controller deployed in the 5G core network, and creates SRv6 policy groups to a destination IP address, where different QFIs (QoS Flow identifiers) in the SRv6 policy groups correspond to different SRv6 policies; and issuing SRv6 policy group through the first designated interface, when forwarding the service message, according to the corresponding relationship between QFI and SRv6 policy, finding the corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service message, so as to forward the service message according to the SRv6 path indicated by the found SRv6 policy. Therefore, the embodiment of the application can intelligently drain to different SRv6 paths through an SRv6 policy and an IP accessed by a terminal, so that the difference of service quality of users with different grades is reflected, and the service quality of the users with high service grades is further ensured.

Referring to fig. 1, fig. 1 is a flowchart of a service flow forwarding method based on a 5G core Network, where the method is applied to an SDN (Software Defined Network) controller deployed in the 5G core Network, the SDN controller is connected to a second specified interface on a user plane function UPF Network element in the 5G core Network through a first specified interface, and types of the first specified interface and the second specified interface are the same.

The first designated interface is only named for the convenience of distinguishing from the designated interfaces hereinafter, and is not used to limit a certain designated interface.

Here, the second designated interface is only a name for convenience of description, and is not intended to limit a certain designated interface.

In some embodiments, when the SDN controller interacts with the UPF network element through a network configuration NETCONF protocol, the interface type is a NETCONF interface corresponding to the NETCONF protocol. In other embodiments, when the SDN controller interacts with the UPF network element through the HTTP rest protocol, the interface type is an HTTP rest interface corresponding to the HTTP rest protocol.

Based on the SDN controller of the deployed 5G core network, an embodiment of the present application provides a service flow forwarding method based on the 5G core network, which is specifically shown in fig. 1.

As shown in fig. 1, the process may include the following steps:

step 101, creating a segment routing SRv6 policy group to a destination IP address, wherein the SRv6 policy group at least comprises: a correspondence between quality of service flow identifiers QFI and SRv6 policies, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies.

In this step, QFI and SRv6 policies are mapped, QFI with different values represent different qos priority levels, and QFI values and SRv6 policies may be bound in a corresponding relationship according to a preset rule.

As shown in fig. 2, user a and user B access the 5G network and establish a PDU (Protocol Data Unit) session with the UPF respectively, for the purpose of accessing the same video APP respectively to watch video. Assuming that the service quality level of the service packet sent by the user B is higher than the service quality of the service packet sent by the user a, as can be seen from fig. 2, there are SRv6 paths between the UPFs to reach the video APP, where one path is a SRv6 path including the node C and the node D, and the other path is a SRv6 path including the node E, based on which, the QFI of the service packet sent by the user B corresponds to the SRv6 path including the node E, and the QFI of the service packet sent by the user a corresponds to the SRv6 path including the node C and the node D.

As an embodiment, the SRv6 path is represented by a segment list segment, which includes: and the equipment identifier of each node equipment on an SRv6 path from the UPF network element to the destination IP address corresponding to the QFI. segment is any instruction that directs a device to process a message, such as: and forwarding the message to a destination according to the shortest path, and forwarding the message to a specified application by forwarding the message at a specified port. The specific implementation is to insert a segment list segment with sequence in the header of the data packet to indicate how to forward and process the data packets for the node receiving the data packets. When these segmentlist are inserted, these SRv6 paths are added to the segmentlist in a one-to-one correspondence, and are represented by the form of the segmentlist. In this embodiment, an SRv6 path at least includes a device identifier of a node device, such as the SRv6 path S1 in fig. 2, where the SRv6 path S1 is formed by a node device C and a node device D, and the device identifier of the node device C is 3000: : 1, the device identifier of the node device D is 4000: : 1, as SRv6 path S2 in fig. 2, the SRv6 path S2 is formed by a node device E whose device id is 2000: : 1.

as an embodiment, the SRv6 policy group is that the SDN controller determines the mapping relationship between each SRv6 path and the QFI according to forwarding state parameters of each forwarding path between the UPF and the destination IP, where the state parameters at least include: packet loss rate, bandwidth and delay.

102, issuing SRv6 policy groups through the first designated interface, so that the UPF network element receives the SRv6 policy group through the second designated interface, finds a corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service message when receiving the service message to the destination IP address, and forwards the service message according to the SRv6 path indicated by the found SRv6 policy.

In this step, the SDN controller issues SRv6 a policy group to the UPF, which may be executed before receiving the service packet or after receiving the service packet, and this embodiment is not limited to this. If the SDN controller issues SRv6 policy group execution to the UPF before receiving the service packet, the received SRv6 policy group is stored locally, so that when receiving the service packet, the service packet is forwarded according to the stored SRv6 policy group. If the SDN controller issues SRv6 policy group execution to the UPF after receiving the service message, forwarding the service message when receiving the service message according to the stored SRv6 policy group, and storing the received SRv6 policy group locally.

Thus, the flow shown in fig. 1 is completed.

It can be seen that through the flow shown in fig. 1, an SDN controller deployed in a 5G core network creates SRv6 policy groups to a destination IP address, where different QFIs in the SRv6 policy groups correspond to different SRv6 policies; and issuing SRv6 policy group through the first designated interface, when forwarding the service message, according to the corresponding relationship between QFI and SRv6 policy, finding the corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service message, so as to forward the service message according to the SRv6 path indicated by the found SRv6 policy. Therefore, the embodiment of the application can intelligently drain to different SRv6 paths through an SRv6 policy and an IP accessed by a terminal, so that the difference of service quality of users with different grades is reflected, and the service quality of the users with high service grades is further ensured.

Referring to fig. 3, fig. 3 is a second service flow forwarding method based on a 5G core network according to an embodiment of the present application, where the method is applied to a UPF network element deployed in the 5G core network; the UPF network element is connected with an SDN controller deployed in a 5G core network, the SDN controller is connected with a second specified interface on a UPF network element of a user plane function in the 5G core network through a first specified interface, and the interface types of the first specified interface and the second specified interface are the same.

In some embodiments, when the SDN controller interacts with the UPF network element through a NETCONF protocol, the interface type is a NETCONF interface corresponding to the NETCONF protocol; and when the SDN controller interacts with the UPF network element through an HTTP rest protocol, the interface type is an HTTP rest interface corresponding to the HTTP rest protocol.

As shown in fig. 3, the process may include the following steps:

step 301, obtaining a PDR (Packet Detection Rule) issued by the SMF in a PDU session between the user and the UPF, where the PDR at least includes: the quality of service flow identity QFI of at least one traffic type.

In one embodiment, the PDU session establishment procedure is as follows: the network sends a Device Trigger Message to an application on a UE (User Equipment), where a load content of the Device Trigger Message includes related information of a PDU session establishment request initiated by the UE, such as a Device identifier of the User, and thus, the UPF receives the Device Trigger Message carrying the Device identifier, and performs session connection with the User Equipment.

The priority of the service message is related to the service type to which the service message belongs, for example, the priority of the service message with the service type being video is higher than that of the service message with the service type being voice, and the priority of the service message with the service type being voice is higher than that of the service message with the service type being instant message. As an embodiment, a preset number of service flows may be divided into service types in advance, and the corresponding relationship between the divided service types and the QFI binding is defined, such as the highest QFI value binding the service type of the video class, the highest QFI value binding the service type of the voice class, and the lowest QFI value binding the service type of the instant message class.

Step 302, receiving, by the second specified interface, an SRv6 policy group sent by the SDN controller through the first specified interface to a destination IP address; the SRv6 policy group includes at least: a correspondence between QFI and SRv6 policy of SRv6 policy, the SRv6 policy to indicate SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies.

It should be noted that, the execution sequence of step 301 and step 302 does not have a precedence relationship, and step 301 may be executed first, or step 302 may be executed first, which is not limited in this embodiment.

Step 303, when receiving a service packet sent by the user to the destination IP address, determining a QFI corresponding to the service packet according to the PDR, finding a corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service packet, and forwarding the service packet according to a SRv6 path indicated by the found SRv6 policy.

In this step, the destination IP address is associated with the SRv6 policy in the SRv6 policy group, and the destination IP address is determined, which means that the SRv6 path indicating to the destination IP address is also determined.

In some embodiments, one implementation manner of determining the QFI corresponding to the service packet according to the PDR in the implementing step 303 may include: and determining the service type of the service message, and searching the QFI corresponding to the service type in the PDR by taking the service type as a keyword. In other embodiments, one implementation manner of determining the QFI corresponding to the service packet according to the PDR in the implementing step 303 may include: determining QFI corresponding to a service message, and searching QFI corresponding to the service message in the PDR according to the QFI corresponding to the service message, so that if the QFI corresponding to the service message is searched, it indicates that the type of the service message has the corresponding QFI, accordingly, a SRv6 path for forwarding the service message can be obtained from the SRv6 policy group, and if the QFI corresponding to the service message is not searched, it indicates that the type of the service message does not have the corresponding QFI, a SRv6 path can be randomly selected for forwarding, and a SRv6 path with a small number of forwarded service messages can be selected for forwarding.

The flow shown in fig. 3 is completed.

It can be seen that, through the flow shown in fig. 3, an UPF network element deployed in a 5G core network is connected to a deployed SDN controller in the 5G core network, and in a PDU session process between a user and the UPF, a PDR including a QFI issued by an SMF and a SRv6 policy group that receives a correspondence between SRv6 policies including QFI and SRv6 policies issued by the SDN controller are obtained, where different QFIs in the SRv6 policy group correspond to different SRv6 policies; when service message forwarding is performed, according to the correspondence between the QFI and the SRv6 policy, a corresponding SRv6 policy can be found in the SRv6 policy group according to the QFI of the service message, so as to forward the service message according to the SRv6 path indicated by the found SRv6 policy. Therefore, the embodiment of the application can intelligently drain to different SRv6 paths through an SRv6 policy and an IP accessed by a terminal, so that the difference of service quality of users with different grades is reflected, and the service quality of the users with high service grades is further ensured.

Based on the same application concept as the method described above, referring to fig. 4, an embodiment of the present application further provides a 5G core network-based first service flow forwarding apparatus 400, which is applied to an SDN controller deployed in a 5G core network, where the SDN controller is connected to a second specified interface on a user plane function UPF network element in the 5G core network through a first specified interface, and the first specified interface and the second specified interface are of the same interface type, and the apparatus includes:

a policy group creating unit 401, configured to create a segment route SRv6 policy group to a destination IP address, where the SRv6 policy group at least includes: a quality of service flow identification QFI and a correspondence between SRv6 policies of an SRv6 policy, the SRv6 policy to indicate a SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

a first service packet forwarding unit 402, configured to issue the SRv6 policy group through the first specified interface, so that the UPF network element receives the SRv6 policy group through the second specified interface, and when receiving a service packet addressed to the destination IP address, finds a corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service packet, and forwards the service packet according to a SRv6 path indicated by the found SRv6 policy.

As an embodiment, when the SDN controller interacts with the UPF network element through a network configuration NETCONF protocol, the interface type is a NETCONF interface corresponding to the NETCONF protocol;

and when the SDN controller interacts with the UPF network element through an HTTP rest protocol, the interface type is an HTTP rest interface corresponding to the HTTP rest protocol.

As an embodiment, the SRv6 path is represented by a segment list segment, which includes: and the device identifier of each node device on an SRv6 path from the UPF network element to the destination IP address corresponding to the QFI.

Thus, the structure diagram shown in fig. 4 is completed.

It can be seen that, with the structure shown in fig. 4, an SDN controller deployed in a 5G core network creates SRv6 policy groups to a destination IP address, where different QFIs in the SRv6 policy groups correspond to different SRv6 policies; and issuing SRv6 policy group through the first designated interface, when forwarding the service message, according to the corresponding relationship between QFI and SRv6 policy, finding the corresponding SRv6 policy in the SRv6 policy group according to the QFI of the service message, so as to forward the service message according to the SRv6 path indicated by the found SRv6 policy. Therefore, the embodiment of the application can intelligently drain to different SRv6 paths through an SRv6 policy and an IP accessed by a terminal, so that the difference of service quality of users with different grades is reflected, and the service quality of the users with high service grades is further ensured.

Based on the same application concept as the above method, referring to fig. 5, an embodiment of the present application further provides a second service flow forwarding device 500 based on a 5G core network, where the device is applied to a user plane function UPF network element deployed in the 5G core network; the UPF network element is connected with a deployed SDN controller in a 5G core network, the SDN controller is connected with a second specified interface on a UPF network element of a user plane function in the 5G core network through a first specified interface, and the type of the first specified interface is the same as that of the second specified interface, and the device comprises:

a PDR issuing unit 501, configured to obtain a PDR issued by an SMF in a PDU session between a user and an UPF, where the PDR at least includes: a quality of service flow identity QFI of at least one traffic type;

a policy group issuing unit 502, configured to receive, through the second specified interface, an SRv6 policy group issued by the SDN controller through the first specified interface and addressed to a destination IP address; the SRv6 policy group includes at least: a correspondence between QFI and SRv6 policy of SRv6 policy, the SRv6 policy to indicate SRv6 path to the destination IP address; different QFIs correspond to different SRv6 strategies;

a second service packet forwarding unit 503, configured to, when receiving a service packet sent by the user to the destination IP address, determine, according to the PDR, a QFI corresponding to the service packet, search, according to the QFI of the service packet, a corresponding SRv6 policy in the policy group of the service packet SRv6, and forward the service packet according to a SRv6 path indicated by the searched SRv6 policy.

As an embodiment, when the SDN controller interacts with the UPF network element through a NETCONF protocol, the interface type is a NETCONF interface corresponding to the NETCONF protocol;

and when the SDN controller interacts with the UPF network element through an HTTP rest protocol, the interface type is an HTTP rest interface corresponding to the HTTP rest protocol.

As an embodiment, determining the QFI corresponding to the service packet according to the PDR includes:

determining the service type of the service message;

and searching the QFI corresponding to the service type in the PDR by taking the service type as a keyword.

Thus, the structure diagram shown in fig. 5 is completed.

It can be seen that, with the structure shown in fig. 5, an UPF network element deployed in a 5G core network is connected to a deployed SDN controller in the 5G core network, and in a PDU session process between a user and the UPF, a PDR including a QFI issued by an SMF and a SRv6 policy group that receives a correspondence between SRv6 policies including QFI and SRv6 policies issued by the SDN controller are obtained, where different QFIs in the SRv6 policy group correspond to different SRv6 policies; when service message forwarding is performed, according to the correspondence between the QFI and the SRv6 policy, a corresponding SRv6 policy can be found in the SRv6 policy group according to the QFI of the service message, so as to forward the service message according to the SRv6 path indicated by the found SRv6 policy. Therefore, the embodiment of the application can intelligently drain to different SRv6 paths through an SRv6 policy and an IP accessed by a terminal, so that the difference of service quality of users with different grades is reflected, and the service quality of the users with high service grades is further ensured.

The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.

In the electronic device provided in the embodiment of the present application, from a hardware level, a schematic diagram of a hardware architecture can be seen in fig. 6. The method comprises the following steps: a machine-readable storage medium and a processor, wherein: the machine-readable storage medium stores machine-executable instructions executable by the processor; the processor is configured to execute machine executable instructions to implement the service flow forwarding operation based on the 5G core network disclosed in the above example.

A machine-readable storage medium is provided in an embodiment of the present application, which stores machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the 5G core network-based traffic forwarding operations disclosed in the above examples.

Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.

The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.

For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:切换方法及装置、终端设备及网络设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!