Route generation method and apparatus, electronic device, and computer program product
By registering the UPF in the NRF and generating a unique backhaul route, the problem of backhaul route creation being impossible due to the non-one-to-one correspondence between the primary anchor UPF and the ULCL UPF is solved, and unique backhaul route confirmation is achieved.
Patent Information
- Application Number
- CN202210266978.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-17
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-03-17
AI Technical Summary
In the existing communication network architecture, the non-one-to-one correspondence between the main anchor point UPF and the ULCL UPF causes user address ranges to appear on multiple UPFs simultaneously, making it impossible to create backhaul routes.
By registering each UPF in the network element NRF of the network repository, receiving access information initiated by the SMF and assigning the user address generated by the main anchor UPF to the target UPF, receiving service discovery requests from service-oriented routing devices, and feeding back to the target UPF to generate a unique return route.
The issue of being unable to create a backhaul route has been resolved, and unique confirmation of the backhaul route has been achieved.
Smart Images

Figure CN116801226B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of core networks, specifically to a route generation method, apparatus, electronic device, and computer program product. Background Technology
[0002] In the existing communication network architecture, the UPF (User Plane Function) and the client are connected via a leased line, with static routes configured between them. The UE (User Equipment) registers with the communication network, and the SMF (Session Management Function) selects a primary anchor UPF, which then assigns a user address to the UE. When the UE meets the ULCL (Uplink Classifier) insertion criteria, the SMF selects a ULCL UPF from the pool that meets the service requirements for insertion based on a static policy. The following problem arises: the primary anchor UPF and ULCL UPFs are not in a one-to-one correspondence; the user address range assigned on the primary anchor UPF may appear on both ULCL UPF-1 and ULCL UPF-2. In this case, for the client, there will be two return paths to the UE, making it impossible to create a return route. Summary of the Invention
[0003] This application provides a route generation method, apparatus, electronic device, and computer program product to solve the technical problem that the backhaul route from the client side to the UE cannot be generated in the existing communication network architecture.
[0004] In a first aspect, embodiments of this application provide a route generation method, including:
[0005] Receive a first service registration request initiated by a user plane network element (UPF), and register each UPF in the network repository element (NRF) according to the first service registration request;
[0006] Receive access information initiated by the Session Management Element (SMF) and assign the user address generated by the Main Anchor Point (UPF) to the target UPF corresponding to the access information;
[0007] Receive a service discovery request initiated by the service routing device corresponding to the client, and, based on the service discovery request and each of the UPFs registered in the NRF, send the target UPF back to the service routing device;
[0008] Generate a backhaul route that includes the SMF, the target UPF, and the service-oriented routing device.
[0009] In one embodiment, the step of registering each of the UPFs in the Network Repository Element (NRF) according to the first service registration request includes:
[0010] Obtain the first configuration information corresponding to the first service registration request, wherein the first configuration information includes a UPF identifier, a data network list, a tracking area list, and a user address range;
[0011] Establish the association between the UPF identifier, the data network list, the tracking area list, and the user address range;
[0012] The association is stored in the NRF, thus completing the registration of each UPF in the NRF.
[0013] In one embodiment, the step of receiving access information initiated by the Session Management Network Element (SMF) and assigning the user address generated by the Primary Anchor Point (UPF) to the target UPF corresponding to the access information includes:
[0014] Based on the data network list and the tracking area list, determine the target UPF identifier corresponding to the access information;
[0015] Based on the target address range associated with the target UPF identifier, the user address generated by the main anchor UPF is assigned to the target UPF corresponding to the target UPF identifier, wherein the user address belongs to the target address range.
[0016] In one embodiment, the step of receiving access information initiated by the Session Management Network Element (SMF) and allocating the user address generated by the Primary Anchor Point (UPF) to the target UPF corresponding to the access information includes:
[0017] Receive the second service registration request initiated by the service-oriented routing device corresponding to the client;
[0018] Based on the second service registration request, a connection is established between the service-oriented routing device and the NRF.
[0019] In one embodiment, the step of feeding back the target UPF to the service-oriented routing device based on the service discovery request and each of the UPFs registered in the NRF includes:
[0020] Based on the user address carried in the service discovery request, determine the target UPF that has the user address allocated in each of the UPFs;
[0021] The target UPF is fed back to the service routing device through the connection between the service routing device and the NRF.
[0022] In one embodiment, the step of feeding back the target UPF to the service routing device based on the service discovery request and each of the UPFs registered in the NRF includes:
[0023] Receive the state subscription request initiated by the service-oriented routing device;
[0024] Upon receiving service registration requests, service update requests, and service deregistration requests initiated by each of the UPFs, the service status of each UPF is pushed to the service routing device through the connection between the service routing device and the NRF.
[0025] In one embodiment, the step of generating a backhaul route including the SMF, the target UPF, and the service-oriented routing device is followed by:
[0026] Receive the service deregistration request initiated by the target UPF, and assign the user address to the first UPF corresponding to the service deregistration request;
[0027] The first UPF is fed back to the service routing device through the connection between the service routing device and the NRF;
[0028] Generate a backhaul route that includes the SMF, the first UPF, and the service-oriented routing device.
[0029] Secondly, embodiments of this application provide a route generation apparatus, comprising:
[0030] The UPF registration module is used to receive a first service registration request initiated by a user plane network element (UPF) and register each UPF in the network repository element (NRF) according to the first service registration request.
[0031] The user address allocation module is used to receive access information sent by the session management network element (SMF) and allocate the user address generated by the main anchor point (UPF) to the target UPF corresponding to the access information.
[0032] The target UPF feedback module is used to receive a service discovery request initiated by the service routing device corresponding to the client, and to feed back the target UPF to the service routing device according to the service discovery request and each UPF registered in the NRF;
[0033] The backhaul route generation module is used to generate a backhaul route that includes the SMF, the target UPF, and the service-oriented routing device.
[0034] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the computer program to implement the steps of the route generation method described in the first aspect.
[0035] Fourthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the route generation method described in the first aspect.
[0036] The route generation method, apparatus, electronic device, and computer program product provided in this application register each UPF in the NRF, receive access initiated by the SMF, assign the user address generated by the main anchor UPF to the target UPF corresponding to the access information, and then receive the service discovery request initiated by the service-oriented routing device corresponding to the client. The target UPF in each registered UPF is fed back to the service-oriented routing device through the NRF to generate a return route containing the SMF, target UPF, and service-oriented routing device. The return route is uniquely confirmed, which solves the problem that the return route cannot be generated in the prior art. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is one of the flowcharts illustrating the route generation method provided in the embodiments of this application;
[0039] Figure 2 This is a schematic diagram of the network element structure of the route generation method provided in the embodiments of this application;
[0040] Figure 3 This is a second flowchart illustrating the route generation method provided in the embodiments of this application;
[0041] Figure 4 This is a schematic diagram of the route generation device provided in the embodiments of this application;
[0042] Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0043] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0044] Reference Figure 1 , Figure 1 This is one of the flowcharts illustrating the route generation method in this application. The route generation method provided in this application may include:
[0045] Step S100: Receive a first service registration request initiated by a user plane network element (UPF), and register each UPF in the network repository element (NRF) according to the first service registration request;
[0046] Specifically, such as Figure 2 As shown, Figure 2 To implement the network architecture of the route generation method in this application, the UE (User Equipment) is the user terminal; the AMF (Access and Mobility Management Function) is a network element that controls user terminal access to the network, authenticates user terminal identity, and ensures that user terminals can maintain connectivity while moving around; the SMF (Session Management Function) is responsible for user session management, mainly used to allocate IP addresses to user terminals and manage various channels between user terminals and the core network during internet access; the UPF (User Plane Function) is mainly responsible for routing and forwarding data from the base station to the network; the NRF (Network Repository Function) is used to register, manage, and detect the status of each network element, realizing automated management of all network elements. Each network element must register with the NRF upon startup to provide services. Registration information includes network element type, address, service list, etc.; the main anchor UPF is used to generate user addresses and allocate the generated user addresses to other UPFs, such as... Figure 2 UPF-1, UPF-2, and UPF-3.
[0047] Before providing services, a UPF needs to register with the NRF. The registration process involves storing the information of each UPF in the NRF. When receiving the first service registration request from a UPF, the configuration information carried in the request is retrieved. The UPF registers its service with the NRF via the `Nnrf_NFManagement_NFRegister request` message, including the following configuration information: `nfInstanceId`: Used to uniquely identify the network element instance. `nfType`: The network element type of the network element instance, here it is a UPF. `ipEndPoints`: The IP address of the UPF's N4 interface. `UlclUpfInfo`: Meets the requirements for UPF discovery by the N4 interface SMF and the N6 interface service-oriented routing device. It can contain multiple `UlclUpfInfo`s, each including the following parameters: `dnnUpfInfoList`: A list of supported DNNs (Data Network Names). `sNssaiUpfInfoList`: Supported network slice identifiers. taiList: A list of TAIs (Tracking Area Identifiers) that identify the UPF service. A TAI consists of three parts: MCC (Mobile Country Code), MNC (Mobile Network Code), and TAC (Tracking Area Code). If taiList is not included in UlclUpfInfo, it means that the network element can serve all TAIs. policyID: Policy ID. UeIpAddressV4: Supported user address ranges, in IPv4 (Internet Protocol version 4) format. UeIpAddressV6: Supported user address ranges, in IPv6 format. sUeIpAddressV4: Supported backup user address ranges, in IPv4 format. sUeIpAddressV6: Supported backup user address ranges, in IPv6 format. N6ipEndPoints: The N6 interface IP address of the UPF. The information of each UPF is stored in the NRF, completing the registration of each UPF in the NRF.
[0048] Step S200: Receive access information initiated by the Session Management Element (SMF) and assign the user address generated by the main anchor point (UPF) to the target UPF corresponding to the access information;
[0049] Specifically, the SMF can perform UPF service discovery and UPF state subscription processes to the NRF. When a user terminal initiates an access request (e.g., a network resource download request) through the SMF, the main anchor UPF assigns the generated user address to the target UPF corresponding to the access information based on the terminal information (i.e., the access information in this embodiment, such as the user terminal's TAI) corresponding to the access request initiated by the user terminal.
[0050] The Service Discovery Provider (SMF) sends a service discovery request to the Network RF (NRF), and the NRF returns the search results to the SMF. The service discovery request carries message parameters including nfType, DNN, S-NSSAI (Single Network Slice Selection Assistance Information), TAI, policyID, and the user address assigned by the primary anchor UPF. The NRF processes the stored UlclUpfInfo; if it finds a matching UPF (target UPF) in the stored UPF information, it returns the target UPF information to the SMF.
[0051] SMF sends a UPF status subscription to NRF. When UPF registers, updates, or deregisters with NRF, NRF pushes a UPF status notification to SMF, including the following parameters: nfInstanceId and ipEndPoints.
[0052] Step S300: Receive a service discovery request initiated by the service-oriented routing device corresponding to the client; and, based on the service discovery request and each of the UPFs registered in the NRF, send the target UPF back to the service-oriented routing device.
[0053] Specifically, newly added service-oriented routing devices on the client side first register with the NRF. The service-oriented routing device registers its service with the NRF via an `Nnrf_NFManagement_NFRegister request` message, including the configuration information `nfInstanceId`. The service-oriented routing device then deregisters its service with the NRF via an `Nnrf_NFManagement_NFDeregister request` message, also including the configuration information `nfInstanceId`. Finally, the service-oriented routing device sends a service discovery request to the NRF, and the NRF returns the search results. The service discovery request carries message parameters including `nfType` and the user address assigned by the primary anchor point UPF. If the NRF discovers a UPF in its discovery storage that matches the message parameters carried in the service discovery request (i.e., the target UPF information), it returns the target UPF to the service-oriented routing device.
[0054] Step S400: Generate a backhaul route including the SMF, the target UPF, and the service-oriented routing device.
[0055] Specifically, after determining the target UPF, the automatic route configuration module in the service-oriented routing device generates a route from the service-oriented routing device to the target UPF, thereby achieving dynamic binding between the user address and the target UPF and solving the problem of generating and creating backhaul routes on the client side.
[0056] This embodiment registers each UPF in the NRF, receives access initiated by the SMF, assigns the user address generated by the main anchor UPF to the target UPF corresponding to the access information, and then receives the service discovery request initiated by the service-oriented routing device corresponding to the client. The target UPF in each registered UPF is fed back to the service-oriented routing device through the NRF to generate a backhaul route containing the SMF, the target UPF and the service-oriented routing device. The backhaul route is uniquely confirmed, which solves the problem that backhaul routes cannot be generated in the prior art.
[0057] In one embodiment, the route generation method provided in this application may further include:
[0058] Step S101: Obtain the first configuration information corresponding to the first service registration request, wherein the first configuration information includes UPF identifier, data network list, tracking area list and user address range;
[0059] Step S102: Establish the association between the UPF identifier, the data network list, the tracking area list, and the user address range;
[0060] Step S103: Store the association relationship in the NRF to complete the registration of each UPF in the NRF.
[0061] Specifically, the registration process of a UPF in the NRF is the process of storing the information of each UPF in the NRF. When the first service registration request initiated by a UPF is received, the first configuration information corresponding to the first service registration request is obtained. The first configuration information includes the UPF identifier, the data network list (DNN list), the tracking area list (TAI list), and the user address range. The DNN consists of the external network ID and the carrier ID, and the TAI consists of three parts: MCC, MNC, and TAC. The association relationship between the UPF identifier, the data network list, the tracking area list, and the user address range is established, and then the association relationship is stored in the NRF, completing the registration process of each UPF in the NRF. The UPF can then provide services.
[0062] This embodiment completes the registration of the UPF by obtaining various information from the configuration information of the UPF registration and establishing the association between the information and storing it in the NRF.
[0063] In one embodiment, the route generation method provided in this application may further include:
[0064] Step S201: Determine the target UPF identifier corresponding to the access information based on the data network list and the tracking area list;
[0065] Step S202: Based on the target address range associated with the target UPF identifier, the user address generated by the main anchor UPF is assigned to the target UPF corresponding to the target UPF identifier, wherein the user address belongs to the target address range.
[0066] Specifically, such as Figure 2 As shown, when a user terminal initiates an access, the access information of the user terminal is obtained through the SMF, including the network ID that the user terminal wants to access, the operator ID supported by the user terminal, and the tracking area identifier of the user terminal. The target UPF that matches the user terminal's DNN and TAI is selected from each UPF. That is, the target UPF identifier corresponding to the access information is determined based on the data network list and the tracking area list. Then, according to the target address range associated with the target UPF identifier, the user address generated by the main anchor UPF is assigned to the target UPF corresponding to the target UPF identifier. The user address belongs to the target address range.
[0067] This embodiment generates user addresses by storing UPF configuration information in the NRF and assigns the user addresses to the target UPF to generate a backhaul route that includes the SMF, the target UPF, and the service routing device. The backhaul route is uniquely confirmed, which solves the problem that backhaul routes cannot be generated in the prior art.
[0068] In one embodiment, the route generation method provided in this application may further include:
[0069] Step S210: Receive the second service registration request initiated by the service-oriented routing device corresponding to the client;
[0070] Step S220: Based on the second service registration request, establish a connection between the service-oriented routing device and the NRF.
[0071] Specifically, such as Figure 2As shown, the service-oriented routing device first registers with the NRF. Upon receiving the second service registration request initiated by the service-oriented routing device, the service-oriented routing device registers its services with the NRF via the Nnrf_NFManagement_NFRegister request message, including the configuration information nfInstanceId. After completing the registration with the NRF, the service-oriented routing device can provide services and establish a connection between the service-oriented routing device and the NRF so as to receive the status notifications of the UPF fed back by the NRF through the connection.
[0072] This embodiment provides the services of the service-oriented routing device by registering the service in the NRF and establishing a connection between the service-oriented routing device and the NRF, so as to receive the status notifications of the UPF fed back by the NRF through the connection.
[0073] In one embodiment, the route generation method provided in this application may further include:
[0074] Step S301: Based on the user address carried in the service discovery request, determine the target UPF in each UPF that has the user address allocated;
[0075] Step S302: Through the connection between the service routing device and the NRF, the target UPF is fed back to the service routing device.
[0076] Specifically, the service-oriented routing device sends a service discovery request to the NRF, and the NRF returns search results to the service-oriented routing device. The service discovery request carries message parameters including nfType and the user address assigned by the primary anchor UPF. The returned search results include nfInstanceId and ipEndPoints. Based on the user address carried in the service discovery request, the target UPF with the assigned user address is determined among each UPF. Then, through the connection between the service-oriented routing device and the NRF, the target UPF is fed back to the service-oriented routing device so that the automatic route configuration module in the service-oriented routing device can generate a route from the service-oriented routing device to the target UPF, realizing dynamic binding between the user address and the target UPF and solving the problem of backhaul route generation on the client side.
[0077] In this embodiment, a service discovery request is initiated to the NRF through a service-oriented routing device, so as to send the UPF service in the NRF through the connection.
[0078] In one embodiment, the route generation method provided in this application may further include:
[0079] Step S310: Receive a state subscription request initiated by the service-oriented routing device;
[0080] Step S320: Upon receiving service registration requests, service update requests, and service deregistration requests initiated by each of the UPFs, the service status of each UPF is pushed to the service routing device through the connection between the service routing device and the NRF.
[0081] The service-oriented routing device initiates a state subscription request to the NRF, and the state subscription request carries parameters including nfInstanceId. When UPF registers, updates, or deregisters services with the NRF, the NRF pushes service status notifications for each UPF to the service-oriented routing device through the connection, including the parameters nfInstanceId and ipEndPoints.
[0082] In this embodiment, the service routing device initiates a state subscription request to the NRF so as to push the service status of each UPF to the service routing device through the connection.
[0083] Reference Figure 3 , Figure 3 This is a second flowchart illustrating the route generation method in this application. In one embodiment, the route generation method provided in this application may further include:
[0084] Step S410: Receive the service deregistration request initiated by the target UPF, and assign the user address to the first UPF corresponding to the service deregistration request;
[0085] Step S420: Through the connection between the service routing device and the NRF, the first UPF is fed back to the service routing device;
[0086] Step S430: Generate a backhaul route including the SMF, the first UPF, and the service-oriented routing device.
[0087] After receiving a state subscription request initiated by the service-oriented routing device, upon receiving a service deregistration request initiated by the target UPF, the user address is assigned to the first UPF corresponding to the service deregistration request. That is, the target UPF stops service, and the main anchor UPF reassigns the user address to another UPF (i.e., the first UPF in this embodiment). The service status of the target UPF changes. Through the connection between the service-oriented routing device and the NRF, the first UPF that reassigned the user address is fed back to the service-oriented routing device. Then, the route auto-configuration module in the service-oriented routing device generates a route from the service-oriented routing device to the first UPF, thereby generating a backhaul route including the SMF, the first UPF, and the service-oriented routing device. This realizes the dynamic binding of the user address and the target UPF, and solves the problem of backhaul route generation on the client side.
[0088] This embodiment connects the service routing device to the NRF and feeds back the UPF service status to the service routing device so that when the target UPF is deregistered, a return route containing the SMF, the first UPF, and the service routing device is generated. The return route is uniquely confirmed, which solves the problem that the return route cannot be generated in the prior art.
[0089] refer to Figure 4 , Figure 4 This is a schematic diagram of the route generation device in the embodiments of this application. The route generation device provided in the embodiments of this application is described below. The route generation device described below and the route generation method described above can be referred to each other.
[0090] UPF registration module 401 is used to receive a first service registration request initiated by a user plane network element (UPF) and register each UPF in the network repository element (NRF) according to the first service registration request.
[0091] User address allocation module 402 is used to receive access information sent by session management network element SMF and allocate the user address generated by the main anchor point UPF to the target UPF corresponding to the access information;
[0092] The target UPF feedback module 403 is used to receive a service discovery request initiated by the service routing device corresponding to the client, and to feed back the target UPF to the service routing device according to the service discovery request and each UPF registered in the NRF;
[0093] The backhaul route generation module 404 is used to generate a backhaul route including the SMF, the target UPF, and the service routing device.
[0094] It is known that the UPF registration module includes:
[0095] The first configuration information acquisition unit is used to acquire the first configuration information corresponding to the first service registration request, wherein the first configuration information includes a UPF identifier, a data network list, a tracking area list, and a user address range;
[0096] The association establishment unit is used to establish the association relationship between the UPF identifier, the data network list, the tracking area list, and the user address range;
[0097] The UPF registration unit is used to store the association relationship in the NRF and complete the registration of each UPF in the NRF.
[0098] It is known that the user address allocation module includes:
[0099] The target UPF identifier determination unit is used to determine the target UPF identifier corresponding to the access information based on the data network list and the tracking area list;
[0100] The user address allocation unit is used to allocate the user address generated by the main anchor UPF to the target UPF corresponding to the target UPF identifier according to the target address segment associated with the target UPF identifier, wherein the user address belongs to the target address segment.
[0101] It is known that the route generation device includes:
[0102] The service registration request receiving module is used to receive the second service registration request initiated by the service-oriented routing device corresponding to the client.
[0103] The connection establishment module is used to establish a connection between the service-oriented routing device and the NRF based on the second service registration request.
[0104] It is known that the target UPF feedback module includes:
[0105] The target UPF determination unit is used to determine the target UPF that has the user address among the UPFs based on the user address carried in the service discovery request.
[0106] The target UPF feedback unit is used to feed back the target UPF to the service routing device through the connection between the service routing device and the NRF.
[0107] It is known that the route generation device includes:
[0108] The state subscription request receiving module is used to receive the state subscription request initiated by the service-oriented routing device;
[0109] The UPF service status push module is used to push the service status of each UPF to the service routing device through the connection between the service routing device and the NRF when receiving service registration requests, service update requests and service deregistration requests initiated by each UPF.
[0110] It is known that the route generation device includes:
[0111] The user address allocation module is used to receive the service deregistration request initiated by the target UPF and allocate the user address to the first UPF corresponding to the service deregistration request.
[0112] The first UPF feedback module is used to feed back the first UPF to the service routing device through the connection between the service routing device and the NRF;
[0113] The route generation module is used to generate a return route including the SMF, the first UPF, and the service-oriented routing device.
[0114] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call the computer program in the memory 530 to execute the steps of the route generation method.
[0115] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0116] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the route generation method provided in the above embodiments.
[0117] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0118] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A route generation method, characterized in that, include: Receive a first service registration request initiated by a user plane network element (UPF), and register each UPF in the network repository element (NRF) according to the first service registration request; Receive access information sent by the Session Management Element (SMF) and assign the user address generated by the Main Anchor Point (UPF) to the target UPF corresponding to the access information; Receive a service discovery request initiated by the service routing device corresponding to the client, and, based on the service discovery request and each of the UPFs registered in the NRF, send the target UPF back to the service routing device; Generate a backhaul route that includes the SMF, the target UPF, and the service-oriented routing device; The first configuration information corresponding to the first service registration request includes a UPF identifier, a data network list, a tracking area list, and a user address range; The step of receiving access information sent by the Session Management Network Element (SMF) and allocating the user address generated by the Main Anchor Point (UPF) to the target UPF corresponding to the access information includes: Based on the data network list and the tracking area list, determine the target UPF identifier corresponding to the access information; Based on the target address range associated with the target UPF identifier, the user address generated by the main anchor UPF is assigned to the target UPF corresponding to the target UPF identifier, wherein the user address belongs to the target address range; The step of feeding back the target UPF to the service-oriented routing device based on the service discovery request and each of the UPFs registered in the NRF includes: Based on the user address carried in the service discovery request, determine the target UPF that is assigned the user address in each of the UPFs.
2. The route generation method according to claim 1, characterized in that, The step of registering each of the UPFs in the Network Element (NRF) repository according to the first service registration request includes: Obtain the first configuration information corresponding to the first service registration request; Establish the association between the UPF identifier, the data network list, the tracking area list, and the user address range; The association is stored in the NRF, thus completing the registration of each UPF in the NRF.
3. The route generation method according to claim 1, characterized in that, The step of receiving access information sent by the Session Management Network Element (SMF) and allocating the user address generated by the Main Anchor Point (UPF) to the target UPF corresponding to the access information includes: Receive the second service registration request initiated by the service-oriented routing device corresponding to the client; Based on the second service registration request, a connection is established between the service-oriented routing device and the NRF.
4. The route generation method according to claim 3, characterized in that, The step of feeding back the target UPF to the service-oriented routing device based on the service discovery request and each of the UPFs registered in the NRF further includes: The target UPF is fed back to the service routing device through the connection between the service routing device and the NRF.
5. The route generation method according to claim 3, characterized in that, The step of feeding back the target UPF to the service-oriented routing device based on the service discovery request and each of the UPFs registered in the NRF includes: Receive the state subscription request initiated by the service-oriented routing device; Upon receiving service registration requests, service update requests, and service deregistration requests initiated by each of the UPFs, the service status of each UPF is pushed to the service routing device through the connection between the service routing device and the NRF.
6. The route generation method according to claim 5, characterized in that, The step of generating a backhaul route including the SMF, the target UPF, and the service-oriented routing device is followed by: Receive the service deregistration request initiated by the target UPF, and assign the user address to the first UPF corresponding to the service deregistration request; The first UPF is fed back to the service routing device through the connection between the service routing device and the NRF; Generate a backhaul route that includes the SMF, the first UPF, and the service-oriented routing device.
7. A route generation device, characterized in that, include: The UPF registration module is used to receive a first service registration request initiated by a user plane network element (UPF) and register each UPF in the network repository element (NRF) according to the first service registration request. The user address allocation module is used to receive access information sent by the session management network element (SMF) and allocate the user address generated by the main anchor point (UPF) to the target UPF corresponding to the access information. The target UPF feedback module is used to receive a service discovery request initiated by the service routing device corresponding to the client, and to feed back the target UPF to the service routing device according to the service discovery request and each UPF registered in the NRF; The backhaul route generation module is used to generate a backhaul route that includes the SMF, the target UPF, and the service-oriented routing device. The first configuration information corresponding to the first service registration request includes a UPF identifier, a data network list, a tracking area list, and a user address range; The user address allocation module includes: The target UPF identifier determination unit is used to determine the target UPF identifier corresponding to the access information based on the data network list and the tracking area list; The user address allocation unit is used to allocate the user address generated by the main anchor UPF to the target UPF corresponding to the target UPF identifier according to the target address segment associated with the target UPF identifier, wherein the user address belongs to the target address segment; The target UPF feedback module includes: The target UPF determination unit is used to determine the target UPF that has the user address allocated among the UPFs based on the user address carried in the service discovery request.
8. An electronic device comprising a processor and a memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the route generation method according to any one of claims 1 to 6.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the route generation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for determining user plane function (UPF) network element
CN113498118A
Optimal network function data path discovery for 5g core
WO2020146327A1
