A network access control method, SDF, CP, UP and network system

By forming a CGN resource pool in the SDF and allocating UPs with available CGN resources to user equipment, the problem of failing to ensure the availability of CGN resources in the existing technology is solved, and the reliability of CGN business services in traffic path planning scenarios is achieved.

CN113472676BActive Publication Date: 2024-09-06HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202010247661.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-31
Publication Date
2024-09-06
Estimated Expiration
2040-03-31

AI Technical Summary

Technical Problem

Existing traffic path planning solutions fail to ensure that the accessed UP has available CGN resources when selecting network address translation (CGN) resources accessed by user equipment, resulting in the inability to effectively manage carrier-grade network address translation resources.

Method used

By receiving CGN resources reported by multiple UPs in the flow switching decision function module (SDF), a CGN resource pool is formed, and UPs with available CGN resources are allocated to user equipment based on the CGN resource pool to ensure that users can be provided with the best service in traffic path planning scenarios. The equipment provides CGN business services.

Benefits of technology

It realizes UP that allocates available CGN resources to user equipment in the traffic path planning scenario, ensuring the reliability of traffic path planning of user equipment and CGN business services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113472676B
    Figure CN113472676B
Patent Text Reader

Abstract

The embodiment of the present application discloses a network access control method, SDF, CP, UP and network system. The CGN resources reported by multiple UPs to the SDF enable the SDF to obtain a CGN resource pool. The CGN resources include the CGN service load status of each UP in the multiple UPs. When the user equipment goes online, the CP sends a CGN instance acquisition request to the SDF to allocate a CGN instance to the user equipment. The SDF allocates a first CGN instance to the user equipment according to the CGN resource pool. The first CGN instance indicates a first UP with available CGN resources. The first UP is one of the multiple UPs. Finally, the SDF sends the first CGN instance to the CP, so that the CP can make the first UP with CGN resources carry the traffic of the user equipment according to the first CGN instance, and provide CGN service for the user equipment, thereby ensuring that the UP with available CGN resources is allocated to the user equipment in the scenario of traffic path planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication networks, and in particular to a network access control method, a steering decision function (SDF), a control plane (CP), a user plane (UP), and a network system. Background Art

[0002] Software defined network (SDN) is a network architecture that introduces an SDN controller. The SDN controller controls the network devices within its jurisdiction (the controlled network devices are called forwarders) to achieve separation of forwarding and control and centralized control. In order to cope with the access of a large number of user devices, multiple broadband network gateway (BNG) UPs are configured in the SDN-based network architecture. When a user device goes online, it accesses the network by accessing one of the UPs, and the accessed UP is used to carry the user device traffic.

[0003] In order to achieve load balancing management of multiple UPs, a traffic path planning (trafficsteering) solution is currently introduced. In this solution, by accessing or setting a steering decision function (SDF) in the SDN controller, the SDF obtains the load status of each UP, selects UP for newly connected user devices based on the principle of load balancing, and dynamically adjusts to other UPs based on reliability and differentiated service-level agreements (SLA) after the user device is connected, so as to achieve the purpose of traffic tuning.

[0004] However, the solution for traffic path planning does not consider the problem of carrier-grade NAT (CGN) resources, that is, when a UP is selected for a user equipment, it cannot be guaranteed that there are available CGN resources on the UP. Summary of the invention

[0005] The embodiments of the present application provide a network access control method, an SDF, a CP, a UP, and a network system, which are used to select a UP with CGN resources when a user equipment accesses the UP.

[0006] In a first aspect, an embodiment of the present application provides a network access control method, which is applied to a network system, wherein the network system includes a flow switching decision function module SDF, multiple user planes UP and a control plane CP, and the method includes:

[0007] SDF receives CGN resources reported by multiple UPs to obtain a CGN resource pool, where the CGN resources include the CGN service load status of each UP in the multiple UPs; SDF receives a CGN instance acquisition request sent by CP, where the CGN instance acquisition request indicates that a CGN instance is allocated to the user equipment; SDF allocates a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of the multiple UPs; SDF sends the first CGN instance to CP.

[0008] The CP can enable the first UP with CGN resources to carry traffic of the user equipment according to the first CGN instance and provide CGN business services for the user equipment, thereby ensuring that a UP with available CGN resources is allocated to the user equipment in the scenario of traffic path planning.

[0009] Optionally, in an implementation of the first aspect, the first CGN instance includes a first UP, a first CGN board in the first UP, and a first central processing unit CPU in the first CGN board, and a first CPU for implementing a CGN service is determined for the user equipment.

[0010] Optionally, in an implementation of the first aspect, the SDF receives a differentiated service level agreement SLA policy configured by a remote user dial-up authentication radius server; the SDF allocates a first CGN instance to the user equipment according to the CGN resource pool and the SLA policy, so that the allocated first CGN instance not only allocates a first UP with available CGN resources to the user equipment, but also satisfies the SLA policy.

[0011] Optionally, in an implementation of the first aspect, the SDF receives a new SLA policy sent by the RADIUS server; the SDF allocates a second CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of multiple UPs; the SDF sends the second CGN instance to the CP, ensuring that the second UP with available CGN resources is allocated to the user equipment under different SLAs.

[0012] Optionally, in an implementation of the first aspect, the SDF determines that the first UP fails; the SDF allocates a third CGN instance to the user equipment according to the SLA policy and the CGN resource pool, the third CGN instance indicates a third UP with available CGN resources, and the third UP is one of multiple UPs; the SDF sends the third CGN instance to the CP to ensure that when the first UP carrying the user equipment fails, a UP with available CGN resources is allocated to the user equipment.

[0013] In a second aspect, an embodiment of the present application provides a network access control method, which is applied to a network system, wherein the network system includes an SDF, multiple UPs and a CP, and the method includes:

[0014] The CP sends a CGN instance acquisition request to the SDF, and the CGN instance acquisition request indicates that a CGN instance is allocated to the user equipment; the CP receives the first CGN instance sent by the SDF, and the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of multiple UPs; the CP generates a first CGN diversion policy according to the first CGN instance, and the first CGN diversion policy is used to indicate that the traffic of the user equipment is diverted to the first UP indicated by the first CGN instance; the CP sends the first CGN diversion policy to the first UP. In an embodiment of the present application, the first CGN diversion policy includes a traffic ACL rule, so that the first UP diverts the traffic of the user equipment to the first CPU of the first CGN board according to the ACL rule.

[0015] The first UP with CGN resources is enabled to carry traffic of the user equipment and provide CGN business services for the user equipment, thereby ensuring that a UP with available CGN resources is allocated to the user equipment in the scenario of traffic path planning.

[0016] Optionally, in an implementation of the second aspect, the first CGN instance includes a first UP, a first CGN board in the first UP, and a first central processing unit CPU in the first CGN board, and a first CPU for implementing a CGN service is determined for the user equipment.

[0017] Optionally, in an implementation of the second aspect, the CP sends a user bearer indication message to the first UP, where the user bearer indication message is used to indicate the traffic carrying the user device; the CP receives a first public network address sent by the first UP, where the first public network address is a public network address assigned to the user device; the CP sends a tracing log to the raidus server, where the tracing log includes the private network address and the first public network address of the user device, so that when the user device accesses the first UP, the operator can monitor the network through the raidus server.

[0018] Optionally, in an implementation of the second aspect, the CP receives a second CGN instance sent by the SDF, the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of multiple UPs; the CP generates a second CGN diversion policy based on the second CGN instance, and the second CGN diversion policy is used to indicate that the traffic of the user device is diverted to the second UP; the CP sends the second CGN diversion policy to the second UP, ensuring that in the scenario of switching UP, the user device can still be allocated to the second UP with available CGN resources.

[0019] Optionally, in an implementation of the second aspect, the CP sends a user bearer indication message to the second UP, the user bearer indication message is used to indicate the traffic of the bearer user device; the CP receives the second public network address sent by the second UP, the second public network address is the public network address assigned to the user device by the second UP; the CP sends a source tracing log to the raidus server, the source tracing log includes the private network address and the second public network address of the user device. This ensures that the source tracing log can still be sent in the scenario of switching UP, so that the operator can monitor the network through the raidus server.

[0020] Optionally, in an implementation of the second aspect, the CP receives a third CGN instance sent by the SDF, the third CGN instance indicates a third UP with available CGN resources, and the third UP is one of multiple UPs; the CP generates a third CGN diversion policy according to the third CGN instance, and the third CGN diversion policy is used to indicate that the traffic of the user equipment is diverted to the third UP indicated by the third CGN instance; the CP sends the third CGN diversion policy to the third UP. This ensures that in the scenario where the UP fails, the user equipment can still be allocated to the third UP with available CGN resources.

[0021] Optionally, in an implementation of the second aspect, the CP obtains the first public network address of the user device in the first UP; the CP sends the first public network address to the third UP, so that the third UP allocates the first public network address to the user device. Since the first public network address is the public network address of the user device on the first UP, when the user device is online, the CP has uploaded the private network address of the first public network address to the radius server as a tracing log once, so the CP does not need to upload it again, so that in the scenario where the first UP fails, there is no need to upload the tracing log on a large scale, which saves transmission resources and reduces the burden on the network.

[0022] Optionally, in an implementation of the second aspect, the CP obtains the first public network address of the user equipment in the first UP; the CP sends the first public network address to the third UP, so that the third UP allocates the first public network address to the user equipment.

[0023] In a third aspect, an embodiment of the present application provides a network access control method, which is applied to a network system, wherein the network system includes an SDF, multiple UPs and a CP, and the method includes:

[0024] The first UP reports CGN resources to the SDF, where the CGN resources include the CGN service load status of the first UP, and the first UP is one of multiple UPs; the first UP receives a first CGN diversion strategy sent by the CP, where the first CGN diversion strategy includes a first CGN instance, and the first CGN instance indicates the first UP with available CGN resources, and the first UP is one of multiple UPs; the first UP carries the traffic of the user equipment.

[0025] The CP can enable the first UP with CGN resources to carry traffic of the user equipment according to the first CGN instance and provide CGN business services for the user equipment, thereby ensuring that a UP with available CGN resources is allocated to the user equipment in the scenario of traffic path planning.

[0026] Optionally, in an implementation of the third aspect, the first UP receives a user bearer indication message sent by the CP, where the user bearer indication message is used to indicate the traffic of the bearer user equipment; the first UP allocates a first public network address to the user equipment; and the first UP sends the first public network address to the CP. This ensures that the user equipment can be allocated an available public network address when it goes online.

[0027] Optionally, in an implementation of the third aspect, the first UP receives the second public network address sent by the CP; and the first UP allocates the second public network address to the user equipment, so that when a fault occurs, the user equipment can keep the original public network address.

[0028] In a fourth aspect, an embodiment of the present application provides a network access control method, which is applied to a network system, wherein the network system includes an SDF, multiple UPs, and a CP. The method includes:

[0029] Multiple UPs report CGN resources to SDF, so that SDF obtains a CGN resource pool, where the CGN resources include the CGN service load status of each UP in the multiple UPs; CP sends a CGN instance acquisition request to SDF, where the CGN instance acquisition request indicates that a CGN instance is allocated to the user equipment; SDF allocates a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of the multiple UPs; SDF sends the first CGN instance to CP; CP generates a first CGN diversion strategy according to the first CGN instance, where the first CGN diversion strategy is used to indicate that the traffic of the user equipment is diverted to the first UP indicated by the first CGN instance; CP sends the first CGN diversion strategy to the first UP; the first UP carries the traffic of the user equipment.

[0030] The CP can enable the first UP with CGN resources to carry traffic of the user equipment according to the first CGN instance and provide CGN business services for the user equipment, thereby ensuring that a UP with available CGN resources is allocated to the user equipment in the scenario of traffic path planning.

[0031] In a fifth aspect, an embodiment of the present application provides a network device, which is applied to a network system, wherein the network system includes an SDF, multiple UPs and a CP, and the SDF is set in the network device, and the network device includes:

[0032] The transceiver module is used to receive CGN resources reported by multiple UPs to obtain a CGN resource pool, where the CGN resources include the CGN service load status of each UP in the multiple UPs; the transceiver module is also used to receive a CGN instance acquisition request sent by a CP, where the CGN instance acquisition request indicates that a CGN instance is allocated to a user device; the processing module is used to allocate a first CGN instance to the user device according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of the multiple UPs; the transceiver module is also used to send the first CGN instance to the CP.

[0033] Optionally, in an implementation of the fifth aspect, the transceiver module is also used to receive a differentiated service level agreement SLA policy configured by a remote user dial-up authentication RADIUS server; the processing module is specifically used to allocate a first CGN instance to the user device according to the CGN resource pool and the SLA policy.

[0034] Optionally, in an implementation of the fifth aspect, the transceiver module is also used to receive a new SLA policy sent by the radius server; the processing module is also used to allocate a second CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of multiple UPs; the transceiver module is also used to send the second CGN instance to the CP.

[0035] Optionally, in an implementation of the fifth aspect, the processing module is also used to determine that a failure occurs in the first UP; the processing module is also used to allocate a third CGN instance to the user equipment according to the SLA policy and the CGN resource pool, the third CGN instance indicating a third UP with available CGN resources, and the third UP is one of multiple UPs; the transceiver module is also used to send the third CGN instance to the CP.

[0036] In the sixth aspect, an embodiment of the present application provides a CP, which is applied to a network system, wherein the network system includes an SDF, multiple UPs, and a CP, wherein the CP includes: a transceiver module, which is used to send a CGN instance acquisition request to the SDF, and the CGN instance acquisition request indicates that a CGN instance is allocated to a user device; the transceiver module is also used to receive a first CGN instance sent by the SDF, and the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of multiple UPs; the processing module is also used to generate a first CGN diversion strategy based on the first CGN instance, and the first CGN diversion strategy is used to indicate that the traffic of the user device is diverted to the first UP indicated by the first CGN instance; the transceiver module is also used to send the first CGN diversion strategy to the first UP.

[0037] Optionally, in an implementation of the sixth aspect, the transceiver module is also used to send a user bearer indication message to the first UP, and the user bearer indication message is used to indicate the traffic of the bearer user device; the transceiver module is also used to receive the first public network address sent by the first UP, and the first public network address is the public network address assigned to the user device; the transceiver module is also used to send a tracing log to the raidus server, and the tracing log includes the private network address and the first public network address of the user device.

[0038] Optionally, in an implementation of the sixth aspect, the transceiver module is also used to receive a second CGN instance sent by the SDF, the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of multiple UPs; the processing module is also used to generate a second CGN diversion strategy based on the second CGN instance, and the second CGN diversion strategy is used to indicate that the traffic of the user device is diverted to the second UP; the transceiver module is also used to send the second CGN diversion strategy to the second UP.

[0039] Optionally, in an implementation of the sixth aspect, the transceiver module is also used to send a user bearer indication message to the second UP, and the user bearer indication message is used to indicate the traffic of the bearer user equipment; the transceiver module is also used to receive the second public network address sent by the second UP, and the second public network address is the public network address assigned to the user equipment by the second UP; the transceiver module is also used to send a tracing log to the raidus server, and the tracing log includes the private network address and the second public network address of the user equipment.

[0040] Optionally, in an implementation of the sixth aspect, the transceiver module is also used to receive a third CGN instance sent by the SDF, the third CGN instance indicates a third UP with available CGN resources, and the third UP is one of multiple UPs; the processing module is also used to generate a third CGN diversion strategy based on the third CGN instance, and the third CGN diversion strategy is used to indicate that the traffic of the user device is diverted to the third UP indicated by the third CGN instance; the transceiver module is also used to send the third CGN diversion strategy to the third UP.

[0041] Optionally, in an implementation of the sixth aspect, the transceiver module is also used to obtain the first public network address of the user equipment in the first UP; the transceiver module is also used to send the first public network address to the third UP, so that the third UP allocates the first public network address to the user equipment.

[0042] In a seventh aspect, an embodiment of the present application provides a UP, which is applied to a network system, wherein the network system includes an SDF, multiple UPs, and a CP, and the UP includes:

[0043] The transceiver module is used to report CGN resources to the SDF, where the CGN resources include the CGN service load of the first UP, and the first UP is one of multiple UPs; the transceiver module is also used to receive the first CGN diversion strategy sent by the CP, where the first CGN diversion strategy includes a first CGN instance, and the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of multiple UPs; the service module is used to carry the traffic of the user equipment.

[0044] Optionally, in an implementation of the seventh aspect, the transceiver module is also used to receive a user bearer indication message sent by the CP, the user bearer indication message is used to indicate the traffic of the bearer user equipment; the service module is used to allocate a first public network address to the user equipment; the transceiver module is also used to send the first public network address to the CP.

[0045] Optionally, in an implementation of the seventh aspect, the transceiver module is further used to receive the second public network address sent by the CP; the service module is used to allocate the second public network address to the user equipment.

[0046] In an eighth aspect, an embodiment of the present application provides a network system, including an SDF, multiple UPs, and a CP; the multiple UPs are used to report CGN resources to the SDF so that the SDF obtains a CGN resource pool, and the CGN resources include the CGN service load status of each UP in the multiple UPs; the CP is used to send a CGN instance acquisition request to the SDF, and the CGN instance acquisition request indicates that a CGN instance is allocated to a user device; the SDF is used to allocate a first CGN instance to the user device according to the CGN resource pool, and the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of the multiple UPs, and the SDF sends the first CGN instance to the CP; the CP is also used to generate a first CGN diversion strategy according to the first CGN instance, and the first CGN diversion strategy is used to indicate that the traffic of the user device is diverted to the first UP indicated by the first CGN instance, and the CP sends the first CGN diversion strategy to the first UP; the first UP is used to carry the traffic of the user device.

[0047] In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enables the computer to execute any possible method of any of the above aspects.

[0048] In a tenth aspect, an embodiment of the present application provides a network device, including a processor and a memory, wherein the processor is coupled to the memory.

[0049] The memory is used to store programs. The processor is used to execute the programs in the memory so that the terminal device executes any possible method of any of the above aspects.

[0050] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0051] Due to the CGN resources reported by multiple UPs to SDF, SDF obtains a CGN resource pool, and the CGN resources include the CGN service load status of each UP in the multiple UPs, so that when the user equipment goes online, CP sends a CGN instance acquisition request to SDF to allocate a CGN instance to the user equipment, and SDF allocates a first CGN instance to the user equipment according to the CGN resource pool. The first CGN instance indicates a first UP with available CGN resources, and the first UP is one of the multiple UPs. Finally, SDF sends the first CGN instance to CP, so that CP can make the first UP with CGN resources carry the traffic of the user equipment according to the first CGN instance, and provide CGN service for the user equipment, thereby ensuring that a UP with available CGN resources is allocated to the user equipment in the scenario of traffic path planning. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of the structure of the network system used in the embodiments of the present application;

[0053] Figure 2 A schematic diagram of a network access control method provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of a network access control method provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of a network access control method provided in an embodiment of the present application;

[0056] Figure 5 A schematic diagram of a network device provided in an embodiment of the present application;

[0057] Figure 6 A schematic diagram of a CP provided in an embodiment of the present application;

[0058] Figure 7 A schematic diagram of a UP provided in an embodiment of the present application;

[0059] Figure 8 A schematic diagram of a network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The embodiments of the present application provide a network access control method, device, and network system, which are used to select a UP with CGN resources for a user equipment.

[0061] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0062] Please refer to Figure 1, is a network system 100 used in an embodiment of the present application, the network system 100 includes a CP 110, multiple UPs 120, and an SDF 140. In some possible implementations, the network system 100 also includes an SDN controller 130, a steering function router (SFR) 150, a radius server 160, and an on-demand address pool (ODAP) server 170.

[0063] The SDN controller 130 is the core of the network architecture based on SDN technology. The SDN controller 130 has an application program interface (API) interface. Through the north-south control separation protocol (such as OpenFlow), the north is connected to the CP 110 and the south is connected to the UP 120, so as to realize the control information interaction between the CP 110 and the UP 120, thereby realizing the control separation. In the embodiment of the present application, the SDN controller 130 connects the SFR, multiple UP 120, and CP 110 through the API interface, so as to realize the communication between the SFR, multiple UP 120, and CP 110.

[0064] In the scenario of separation of forwarding and control, CP 110 is the control plane of the network device, such as a network element management system (EMS), which is used to realize centralized control of multiple UPs 120 through an SDN controller 130; UP 120 is the user plane of the network device, also known as a forwarder, which is used to forward data according to the routing instructions issued by CP 110 through the SDN controller 130.

[0065] SDF 140 is a controller under the traffic path planning scheme, connected to the east-west interface of SDN controller 130, used to uniformly manage UP 120 resources and CGN resources, collect network loads, calculate balancing strategies, call the northbound interface of SDN controller 130, and adjust the load of Metro network in scenarios such as load balancing. CP 110 can dynamically select the UP 120 for users to go online through signaling interaction with SDF 140, and dynamically adjust to other UP 120 after going online, so as to achieve the purpose of traffic tuning. SDF 140 can also interact with radius server 160 in business scenarios such as SLA and value-added service (VAS), calculate and generate UP120 that meets user SLA, and notify CP 110. There may be many ways to implement SDF140. It can be an independent network entity, generally developed by operators. SDF 140 issues control strategies to the outside through SDN controller 130; SDF 140 can also be a component of SDN controller 130. It should be noted that, in the following embodiments, if the SDF 140 is an independent entity, the SDF 140 and the SDN controller 130 send information through a communication interface; if the SDF 140 is an integrated component in the SDN controller 130, the SDF 140 and the SDN controller 130 may implement information exchange within the SDN controller 130.

[0066] In the embodiment of the present application, the SFR 140 is used as a user equipment, and under the control of the CP 110, directs the traffic of the user equipment to the indicated UP 120.

[0067] In the embodiment of the present application, the radius server 160 is a server managed by an operator, which is used to manage the traceability log of the user device, and the traceability log is a mapping between the private network address and the public network address of the user device.

[0068] The ODAP server 170 is a centralized management of address resources under the BNG control separation architecture. The public network address resources for CGN NAT conversion are obtained by allocation to the ODAP server 170. The ODAP server 170 can be a separate network entity connected to the CP 110, or it can be a component integrated on the CP 110. It should be noted that in the following embodiments, if the ODAP server 170 is an independent entity, the ODAP server 170 and the CP 110 send information through the communication interface. If the ODAP server 170 is a component integrated in the CP 110, the ODAP server 170 and the CP 110 can implement information exchange inside the CP 110.

[0069] In order to cope with the access of a large number of user devices, multiple BNG UP120s are configured in the SDN-based network architecture. When a user device goes online, it accesses the network by accessing one of the UP 120s, and the accessed UP 120 is used to carry the user device traffic.

[0070] In order to achieve load balancing management of multiple UPs 120, a traffic path planning solution is currently introduced. In this solution, by accessing or setting an SDF 140 in the SDN controller 130, the SDF 140 obtains the load status of each UP 120, selects a UP 120 for a newly connected user device based on the principle of load balancing, and dynamically adjusts the user device to another UP 120 based on reliability and SLA after the user device is connected, thereby achieving the purpose of traffic optimization.

[0071] However, the solution for traffic path planning does not take into account the problem of CGN resources, that is, when a UP 120 is selected for a user equipment, it cannot be guaranteed that the UP 120 has available CGN resources.

[0072] To this end, in an embodiment of the present application, SDF 140 receives CGN resources reported by multiple UP 120s to obtain a CGN resource pool, where the CGN resources include the CGN service load status of each UP 120 in the multiple UP 120s, and then receives a user online message sent by CP 110, where the user online message indicates that the user device is online, and allocates a first CGN instance to the user device according to the CGN resource pool and the configured SLA policy, where the first CGN instance includes a first UP 120, a first CGN board in the first UP 120, and a first CPU in the first CGN board, where the first UP 120 is one of the multiple UP 120s. Finally, SDF 140 sends the first CGN instance to CP 110, thereby ensuring that UP 120 with available CGN resources is allocated to the user device in the scenario of traffic path planning.

[0073] The following describes the technical solution of the embodiments of the present application according to different application scenarios of user equipment online, switching and migration.

[0074] Embodiment 1: User equipment goes online.

[0075] For details, please refer to Figure 2 , the present application proposes a network access control method, comprising:

[0076] 201. Multiple UPs report CGN resources to the SDF, so that the SDF obtains a CGN resource pool. The CGN resources include CGN service load conditions of each UP in the multiple UPs.

[0077] When a UP goes online, it obtains a certain number of public network addresses, such as 100, through signaling interaction between CP and ODAP server. A UP includes multiple CGN boards, and a CGN board includes multiple CPUs. After the UP obtains the public network address, the UP allocates the public network address to each CGN board for management, and the CGN board allocates the public network address allocated to it to each CPU for management. When a user device accesses the UP, the UP allocates a CGN board and the CPU in the CGN board to the user device, and allocates one of the available public network addresses managed by the CPU to the user device, that is, provides CGN service to the user device, so that the user device can use the public network address to access the public network.

[0078] For example, a UP has three CGN boards, namely, board 1, board 2, and board 3, where board 1 has three CPUs, board 2 has six CPUs, and board 3 has one CPU, that is, the UP has a total of 14 CPUs. After the UP obtains 100 public network addresses, the 100 public network addresses are allocated to 10 CPUs, for example, 10 public network addresses are allocated to each CPU, or 5 public network addresses are allocated to each CPU of 5 CPUs, and 15 public network addresses are allocated to each CPU of the other 5 CPUs, which is not limited here.

[0079] When UP provides CGN services to user devices, it needs to use CGN resources, such as available public network addresses, that is, at least one CPU on at least one CGN board on the UP needs to have an available public network address. Therefore, before UP provides CGN services to user devices, it needs to report its own CGN resources.

[0080] In some possible implementations, CGN resources include address utilization, session utilization, CPU utilization, CPU bandwidth, etc. Specifically, address utilization is the ratio of the number of used public network addresses to the number of allocated public network addresses. For example, if a UP applies for 100 public network addresses and 80 of them have been used, the address utilization is 80:100=80%. For example, if a UP can accommodate a maximum of 16 megabytes of sessions and the number of sessions currently used is 8 megabytes, the session utilization is 50%. CPU utilization is the real-time CPU occupancy calculated using the CPU processing power benchmark, while CPU bandwidth refers to the data transmission rate between the CPU and the north bridge. In summary, CGN resources are the load of a UP on CGN service services, reflecting the ability of a UP to provide CGN service services.

[0081] It should be noted that CGN resources are also dynamic, that is, when UP serves one more user device, the CGN resources it can provide will be reduced, so UP needs to dynamically or periodically report CGN resources to SDF. After receiving CGN resources reported by multiple UPs, SDF integrates and aggregates them to obtain a CGN resource pool. When a user device goes online, SDF can select a CGN instance from the CGN resource pool and allocate it to the user device to ensure that the UP accessed by the user device has available CGN resources.

[0082] 202. The CP determines that the user device is online.

[0083] In the embodiment of the present application, when the user device goes online, it can be connected to the SFR, and then the SFR allocates a UP for the user device to go online, such as UP1, according to the network planning. When the user device goes online at UP1, UP1 interacts with the CP through signaling, so that the CP determines that the user device is online. According to the traditional network planning, there may not be CGN resources available on the allocated UP1. For this reason, the CP needs to query the CGN resource pool on the SDF to allocate a UP with available CGN resources to the user device.

[0084] It should be noted that when different user devices go online, they select different UPs for online access according to network planning. For example, when user device 1 goes online, UP2 is allocated according to network planning; when user device 2 goes online, UP5 is allocated according to network planning; when user device 3 goes online, UP2 is allocated according to network planning. It should be noted that no matter which UP is selected, the accessed UP needs to interact with the CP through signaling to let the CP confirm that a new user device is online.

[0085] 203. The CP sends a CGN instance acquisition request to the SDF, where the CGN instance acquisition request indicates allocation of a CGN instance to the user equipment.

[0086] In the embodiment of the present application, when the CP determines that the user equipment is online, it queries the CGN resource pool from the SDF to select a UP with CGN resources. Specifically, the CP first sends a CGN instance acquisition request to the SDF, and the CGN instance acquisition request indicates that a CGN instance is allocated to the user equipment.

[0087] 204. The SDF allocates a first CGN instance to the user equipment according to the CGN resource pool. The first CGN instance indicates a first UP having available CGN resources. The first UP is one of the multiple UPs.

[0088] When the SDF receives the CGN instance acquisition request, the SDF may allocate a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of multiple UPs. In some possible implementations, the SDF may preferentially confirm whether the UP currently accessed by the user equipment has available CGN resources, and if so, preferentially allocate a CGN instance from the UP to the user equipment, so as to reduce unnecessary signaling interactions during the switching process and reduce resource consumption.

[0089] In some possible implementations, the SDF can also select a UP, CGN board, and CPU with a lighter load and allocate it to the user device based on the principle of load balancing. The load conditions of different UPs, CGN boards, and CPUs can be measured by factors such as address usage, CPU usage, bandwidth usage, and session usage.

[0090] Taking address usage as an example, suppose that the CGN resource pool shows that there are currently three selectable UPs, namely UP1, UP2 and UP3, and their address usages are 80%, 70% and 50% respectively. Then, in view of the principle of load balancing, UP3 with the lightest load can be selected as the first UP, and then based on the same principle, the CGN board with the lightest load can be selected from the first UP as the first CGN board, and the first CPU with the lightest load can be selected from the first CGN board, thereby determining the first CGN instance.

[0091] In some possible implementations, the remaining available public network addresses of each UP may also be considered to select the UP with the most available public network addresses, the CGN board with the most available public network addresses in the UP, and the CPU with the most available public network addresses in the CGN board.

[0092] In some possible implementations, the UP and CGN boards can be determined by the above method, and then when selecting a CPU, a CPU with a lower CPU usage rate is selected from among the CPUs with available public network addresses as the first CPU. In some possible implementations, the session usage rate of each CPU, the CPU bandwidth, etc. can also be considered, which is not limited here.

[0093] In some possible implementations, the above-mentioned multiple factors may be comprehensively considered and weighted to select a suitable CGN instance and allocate it to the user equipment, which is not limited here.

[0094] In some possible implementations, before the SDF allocates the first CGN instance to the user equipment according to the CGN resource pool, the SDF receives a differentiated service level agreement SLA policy configured by the radius server, and then the SDF allocates the first CGN instance to the user equipment according to the CGN resource pool and the SLA policy. It should be noted that the SLA policy is configured by the radius server and dynamically sent to the SDF. The SLA policy is a contract or agreement signed by a service provider and a user, which regulates the business relationship or part of the business relationship between the two parties.

[0095] 205. The SDF sends the first CGN instance to the CP.

[0096] In the embodiment of the present application, after the SDF determines the first CGN instance allocated to the user equipment, the first CGN instance can be sent to the CP to complete the process of the CP querying the SDF for the CGN resource pool to determine the first CGN instance. In the embodiment of the present application, since the SDF selects a UP with CGN resources through the CGN resource pool, when the user equipment accesses the UP indicated by the first CGN instance, it is guaranteed to have available CGN resources.

[0097] 206. The CP sends a tunnel change message to the SFR, where the tunnel change message is used to instruct the SFR to direct traffic of the user equipment to the first UP.

[0098] After the CP determines the first CGN instance, it sends a tunnel change message to the SFR so that the SFR directs the traffic of the user equipment to the first UP indicated by the first CGN, and the first UP carries the traffic of the user equipment. For example, the traffic of the user equipment in the SFR was originally sent to UP1 according to the network plan. Now after the new UP is determined, such as UP2 is determined as the first UP, then the SFR forwards all the newly received traffic sent by the user equipment to UP2, and UP2 carries the traffic of the user equipment. In some possible implementations, if the new UP determined by the SDF is the same as the UP that originally carried the traffic of the user equipment, then there is no need to send a tunnel change message to the SFR, which is not limited here.

[0099] 207. The CP sends a user bearer indication message to the first UP, where the user bearer indication message is used to indicate traffic of the bearer user equipment.

[0100] In an embodiment of the present application, after the CP obtains the first CGN instance from the SDF, the first UP is determined from the first CGN instance, and a user bearer indication message can be sent to the first UP, where the user bearer indication message is used to indicate the traffic of the bearer user device. After receiving the user bearer indication message, the first UP can then carry the traffic of the bearer user device. Then, the SFR also determines to forward the traffic of the user device to the first UP, and the first UP also determines to receive the traffic of the user device, so the switching of the traffic of the user device from the original accessed UP to the first UP is realized.

[0101] 208. The first UP allocates a first public network address to the user equipment.

[0102] In the embodiment of the present application, the user bearer indication message further includes a first CGN instance, which is used to instruct the first UP to allocate a public network address to the user equipment according to the first CPU in the first CGN board indicated by the first CGN instance. Then, the first UP selects the first public network address from the multiple public network addresses managed by the first CGN board and the first CPU in the first CGN instance according to the instruction in the user bearer indication message and allocates it to the user equipment.

[0103] 209. The first UP sends the first public network address to the CP.

[0104] In an embodiment of the present application, after the first UP allocates a first public network address to the user equipment, it can send the first public network address to the CP, that is, instruct the CP to convert the private network address of the user equipment into the first public network address, so that the user equipment can use the first public network address to access the network.

[0105] 210. The CP sends a first source tracing log to the raidus server, where the first source tracing log includes a private network address and a first public network address of the user device.

[0106] When receiving the first public network address, the CP can send a tracing log to the RADIUS server, which includes the private network address of the user device and the first public network address. It should be noted that the operator maintains the network through the tracing log on the RADIUS server, such as authentication, authorization, and billing.

[0107] 211. The CP generates a first CGN traffic diversion policy according to the first CGN instance, where the first CGN traffic diversion policy is used to instruct to divert traffic of the user equipment to the first UP indicated by the first CGN instance.

[0108] After the CP determines the first CGN instance, it is necessary to send a first CGN traffic diversion policy to the first UP indicated in the first CGN instance, and the first CGN traffic diversion policy is used to indicate that the traffic of the user equipment is diverted to the first UP indicated by the first CGN instance. In an embodiment of the present application, the first CGN traffic diversion policy includes traffic (access control lists, ACL) rules, so that the first UP diverts the traffic of the user equipment to the first CPU of the first CGN board according to the ACL rules.

[0109] For example, on the first UP, the first CGN, and the first CPU, the condition in the traffic ACL rule is: IP address = private network address of the user device. If the condition is met, it is permitted, and if not, it is denied. Then, the traffic of the user device is directed to the first UP, the first CGN, and the first CPU.

[0110] 212. The CP sends the first CGN traffic diversion policy to the first UP.

[0111] After the first CGN traffic diversion strategy is determined, it can be sent to the first UP, so that the first UP can carry the traffic of the user equipment according to the instruction of the first CGN traffic diversion strategy.

[0112] 213. The first UP carries traffic of the user equipment.

[0113] In an embodiment of the present application, after the first UP receives the first CGN diversion strategy and sets it according to the traffic ACL rules therein, the first UP can provide CGN business services for the user device, that is, carry the traffic of the user device, and convert the private network address of the user device into the first public network address to enable the user device to access the network. It should be noted that after the first UP carries the traffic of the user device, the first CPU in the first CGN board in the first UP provides CGN services to the user device, and needs to use CGN resources, which increases the load on the first UP, the first CGN board and the first CPU, and changes the load situation. Then the first UP can report new CGN resources to the SDF, or report the load situation of the new CGN resources to the SDF at a predetermined time point.

[0114] 214. The first UP establishes a user table entry for the user equipment.

[0115] In some possible implementations, when the first UP provides services for a user device, a user table entry may be established for the user device, that is, an entry is added to the original user table to record information about the user device, such as the private network address of the user device, the first public network address, the first CGN instance, etc., which is not limited here.

[0116] 215. The first UP sends a public network address acquisition request to ODAP through the CP.

[0117] In some possible implementations, if the available public network addresses of the first UP are insufficient, for example, lower than a preset value, then the first UP needs to apply for some more public network addresses for backup. For example, the preset value is 80%, and the first UP originally allocated 100 public network addresses, 79 of which have been used. When a public network address is allocated to the user device, the used public network addresses reach 80, making the address usage rate reach 80%, triggering the step of the first UP applying for more public network addresses from ODAP.

[0118] Specifically, the first UP sends a public network address acquisition request to the CP, and the CP forwards the public network address request to the ODAP server. Then the ODAP server sends multiple public network addresses, for example, 100 public network addresses, to the CP according to the content of the request.

[0119] 216. The ODAP server sends multiple public network addresses to the first UP through the CP.

[0120] After the CP obtains multiple public network addresses returned by the ODAP, the CP forwards the multiple public network addresses to the first UP. Then, the first UP distributes the obtained public network addresses to multiple CGN boards and each CPU of each CGN board for management.

[0121] Embodiment 2: Switching of user equipment.

[0122] For details, please refer to Figure 3 , the present application proposes a network access control method, comprising:

[0123] 301. Multiple UPs report CGN resources to the SDF, so that the SDF obtains a CGN resource pool. The CGN resources include CGN service load conditions of each UP in the multiple UPs.

[0124] Step 301 is the same as step 201 and will not be described in detail here.

[0125] 302. The RADIUS server sends a new SLA policy to the SDF.

[0126] In the embodiment of the present application, since the SLA policy is dynamically configured, when the radius server changes the SLA policy, it will send the new SLA policy to the SDF, so that the SDF allocates the second CGN instance to the user equipment according to the new SLA policy and the CGN resource pool.

[0127] 303. The SDF allocates a second CGN instance to the user equipment according to the new SLA policy and the CGN resource pool. The second CGN instance includes a second UP, a second CGN board in the second UP, and a second CPU in the second CGN board. The second UP is one of the multiple UPs.

[0128] Step 303 is similar to step 204 and will not be described in detail here.

[0129] 304. The SDF sends the second CGN instance to the CP.

[0130] Step 304 is similar to step 205 and will not be described in detail here.

[0131] 305. The CP sends a tunnel change message to the SFR, where the tunnel change message is used to instruct the SFR to direct traffic of the user equipment to the second UP.

[0132] Step 305 is similar to step 206 and will not be described in detail here.

[0133] 306. The CP deletes the user entry of the user equipment in the first UP.

[0134] In an embodiment of the present application, when the CP determines to switch the user equipment to the second UP, it is necessary to first delete the user table entry of the user equipment in the first UP and release the first public network address so that the first public network address can be used as an available public network address again. When the first UP serves another user equipment, the first public network address can be used.

[0135] 307. The CP sends a user bearer indication message to the second UP, where the user bearer indication message is used to indicate traffic of the bearer user equipment.

[0136] Step 307 is similar to step 207 and will not be described in detail here.

[0137] 308. The second UP allocates a second public network address to the user equipment.

[0138] Step 308 is similar to step 208 and will not be described in detail here.

[0139] 309. The second UP sends the second public network address to the CP.

[0140] Step 308 is similar to step 208 and will not be described in detail here.

[0141] 310. The CP sends a second source tracing log to the raidus server, where the second source tracing log includes a private network address and a second public network address of the user device.

[0142] Step 309 is similar to step 209 and will not be described in detail here.

[0143] 311. The CP generates a second CGN traffic diversion policy according to the second CGN instance, where the second CGN traffic diversion policy is used to instruct to divert traffic of the user equipment to the second UP.

[0144] Step 310 is similar to step 210 and will not be described in detail here.

[0145] 312. The CP sends the second CGN traffic diversion policy to the second UP.

[0146] Step 311 is similar to step 211 and will not be described in detail here.

[0147] 313. The second UP carries traffic of the user equipment through the second CPU.

[0148] Step 312 is similar to step 212 and will not be described in detail here.

[0149] 314. The second UP creates a user table entry for the user equipment.

[0150] Step 313 is similar to step 213 and will not be described in detail here.

[0151] 315. The second UP sends a public network address acquisition request to ODAP through CP.

[0152] Step 314 is similar to step 214 and will not be described in detail here.

[0153] 316. The ODAP server sends multiple public network addresses to the second UP through the CP.

[0154] Step 315 is similar to step 215 and will not be described in detail here.

[0155] It should be noted that if the UP, CGN board and CPU indicated in the second CGN instance are the same as those in the first CGN instance, then the above steps 304-313 do not need to be performed, and can be performed again, which is not limited here. If the UP, CGN board and CPU indicated in the second CGN instance are different from those in the first CGN instance, the user equipment is switched from the first UP to the second UP.

[0156] Embodiment 3: Migration of user equipment.

[0157] For details, please refer to Figure 4 , the present application proposes a network access control method, comprising:

[0158] 401. Multiple UPs report CGN resources to the SDF, so that the SDF obtains a CGN resource pool. The CGN resources include CGN service load conditions of each UP in the multiple UPs.

[0159] Step 301 is the same as steps 201 and 301 and will not be described in detail here.

[0160] 402. The SDF determines that a first UP / a second UP fails.

[0161] In the embodiment of the present application, the SDF can sense whether the UP (first UP / second UP) to which the user equipment is connected has a fault. Taking the first UP as an example, in addition to being offline, the first UP continues to send a status signal to the SDF to inform the SDF of the existence of the first UP. If the first UP is not offline, and the SDF does not receive the status signal for a period of time, it can be determined that the first UP has a fault.

[0162] 403. The SDF allocates a third CGN instance to the user equipment according to the SLA policy / new SLA policy and the CGN resource pool. The third CGN instance indicates a third UP with available CGN resources. The third UP is one of the multiple UPs.

[0163] In an embodiment of the present application, after the SDF determines that the first UP has failed, a third CGN instance can be allocated to the user equipment according to the SLA policy / new SLA policy and the CGN resource pool. The process is similar to steps 204 and 303 and will not be described here. It should be noted that in an embodiment of the present application, the SDF not only allocates a CGN instance to the user equipment referred to in steps 204 and 303, but also allocates a third CGN instance to all user equipment served by the first UP / second UP. In some possible implementations, the CGN instance allocated by the SDF to each user equipment served by the first UP / second UP may indicate the same UP or different UPs, which is not limited here.

[0164] 404. The SDF sends the third CGN instance to the CP.

[0165] Step 404 is similar to steps 205 and 304 and will not be described in detail here.

[0166] 405. The CP sends a tunnel change message to the SFR, where the tunnel change message is used to instruct the SFR to direct the traffic of the user equipment to the third UP.

[0167] Step 405 is similar to steps 206 and 305 and will not be described in detail here.

[0168] 406. The CP sends a user bearer indication message to the third UP, where the user bearer indication message is used to indicate traffic of the bearer user equipment.

[0169] Step 406 is similar to steps 207 and 306 and will not be described in detail here.

[0170] 407. The CP obtains a first public network address / a second public network address used by the user equipment in the first UP / a second UP.

[0171] If the third UP is allowed to reallocate a public network address to the user device, the third UP will send a traceability log to the radius server. Since the number of user devices served by the first UP / second UP is large, a large amount of transmission overhead will be caused, and network congestion may even be caused. To this end, in an embodiment of the present application, the CP can obtain the first public network address / second public network address of the user device in the first UP / second UP, so that the user device continues to use the first public network address / second public network address.

[0172] 408. The CP sends the first public network address / the second public network address to the third UP.

[0173] After obtaining the first public network address / the second public network address, the first public network address / the second public network address is sent to the third UP.

[0174] 409. The third UP allocates the first public network address / the second public network address to the user equipment.

[0175] After obtaining the first public network address / second public network address, the third UP can allocate the first public network address / second public network address to the user device, so that the third UP does not need to reallocate other public network addresses or upload tracing logs, saving transmission overhead. In addition, if all user devices in the first UP / second UP are allocated to the same UP, that is, the third UP, it may cause insufficient public network addresses for the third UP. Then, after the CP reclaims the first public network address / second public network address used by the first UP / second UP, all public network addresses of the first UP / second UP are reclaimed and allocated to the third UP for use, saving the step of the third UP applying for more public network addresses from the ODAP server.

[0176] 410. The CP generates a third CGN traffic diversion policy according to the third CGN instance, where the third CGN traffic diversion policy is used to instruct to divert traffic of the user equipment to a third UP indicated by the third CGN instance.

[0177] Step 410 is similar to steps 211 and 311 and will not be described in detail here.

[0178] 411. The CP sends the third CGN traffic diversion policy to the third UP.

[0179] Step 411 is similar to steps 212 and 312 and will not be described in detail here.

[0180] 412. The third UP carries traffic of the user equipment through the third CPU.

[0181] Step 412 is similar to steps 213 and 312 and will not be described in detail here.

[0182] 413. The second UP creates a user table entry for the user equipment.

[0183] Step 413 is similar to steps 214 and 314 and will not be described in detail here.

[0184] Please refer to Figure 5 The present application provides a network device 500, in which the SDF is set. The network device 500 includes:

[0185] The transceiver module 510 is used to receive CGN resources reported by multiple UPs to obtain a CGN resource pool, where the CGN resources include the CGN service load of each UP in the multiple UPs; the transceiver module 510 is also used to receive a CGN instance acquisition request sent by the CP, where the CGN instance acquisition request indicates that a CGN instance is allocated to the user equipment; the processing module 520 is used to allocate a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of the multiple UPs; the transceiver module 510 is also used to send the first CGN instance to the CP. For specific implementation methods, please refer to the following. Figure 2 The embodiment shown in FIG. 1 summarizes steps 201 - 216 and describes them in detail, which will not be repeated here.

[0186] In a specific implementation, the transceiver module 510 is further used to receive a differentiated service level agreement SLA policy configured by a remote user dial-up authentication radius server; the processing module 520 is specifically used to allocate a first CGN instance to the user equipment according to the CGN resource pool and the SLA policy. Figure 2 The illustrated embodiment summarizes the specific description of step 204, which will not be repeated here.

[0187] In a specific implementation, the transceiver module 510 is further used to receive a new SLA policy sent by the radius server; the processing module 520 is further used to allocate a second CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of multiple UPs; the transceiver module 510 is further used to send the second CGN instance to the CP. For specific implementation methods, please refer to Figure 3 The illustrated embodiment summarizes the specific description of steps 301 - 316 , which will not be repeated here.

[0188] In a specific implementation, the processing module 520 is further used to determine that the first UP fails; the processing module 520 is further used to allocate a third CGN instance to the user equipment according to the SLA policy and the CGN resource pool, the third CGN instance indicates a third UP with available CGN resources, and the third UP is one of the multiple UPs; the transceiver module 510 is further used to send the third CGN instance to the CP. For specific implementation methods, please refer to Figure 4 The illustrated embodiment summarizes the specific description of steps 401 - 413 , which will not be repeated here.

[0189] The processing module 520 is further used to determine that the second UP fails; the processing module 520 is further used to allocate a third CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, the third CGN instance indicating a third UP with available CGN resources, the third UP being one of the multiple UPs; the transceiver module 510 is further used to send the third CGN instance to the CP. For specific implementation methods, please refer to Figure 4 The illustrated embodiment summarizes the specific description of steps 401 - 413 , which will not be repeated here.

[0190] Please refer to Figure 6 , the present application provides a CP 600, comprising:

[0191] The processing module 610 is used to determine whether the user device is online; the transceiver module 620 is used to send a CGN instance acquisition request to the SDF, and the CGN instance acquisition request indicates that a CGN instance is allocated to the user device; the transceiver module 620 is also used to receive the first CGN instance sent by the SDF, and the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of multiple UPs; the processing module 610 is also used to generate a first CGN diversion strategy according to the first CGN instance, and the first CGN diversion strategy is used to indicate that the traffic of the user device is diverted to the first UP indicated by the first CGN instance; the transceiver module 620 is also used to send the first CGN diversion strategy to the first UP. For specific implementation methods, please refer to the following. Figure 2 The illustrated embodiment summarizes the specific description of steps 201 - 216 , which will not be repeated here.

[0192] In a specific implementation, the transceiver module 620 is also used to send a user bearer indication message to the first UP, and the user bearer indication message is used to indicate the traffic of the bearer user device; the transceiver module 620 is also used to receive the first public network address sent by the first UP, and the first public network address is the public network address assigned to the user device; the transceiver module 620 is also used to send a traceability log to the raidus server, and the traceability log includes the private network address and the first public network address of the user device. For specific implementation methods, please refer to Figure 2The illustrated embodiment summarizes the specific description of step 207 and will not be repeated here.

[0193] In a specific implementation, the transceiver module 620 is further used to receive a second CGN instance sent by the SDF, the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of multiple UPs; the processing module 610 is further used to generate a second CGN diversion strategy according to the second CGN instance, and the second CGN diversion strategy is used to indicate that the traffic of the user equipment is diverted to the second UP; the transceiver module 620 is further used to send the second CGN diversion strategy to the second UP. For specific implementation methods, please refer to Figure 3 The illustrated embodiment summarizes the specific description of steps 301 - 316 , which will not be repeated here.

[0194] In a specific implementation, the transceiver module 620 is also used to send a user bearer indication message to the second UP, and the user bearer indication message is used to indicate the traffic of the bearer user device; the transceiver module 620 is also used to receive the second public network address sent by the second UP, and the second public network address is the public network address assigned to the user device by the second UP; the transceiver module 620 is also used to send a traceability log to the raidus server, and the traceability log includes the private network address and the second public network address of the user device. For specific implementation methods, please refer to Figure 3 The illustrated embodiment summarizes the specific description of step 310 and will not be repeated here.

[0195] In a specific implementation, the transceiver module 620 is further used to receive a third CGN instance sent by the SDF, the third CGN instance indicates a third UP with available CGN resources, and the third UP is one of multiple UPs; the processing module 610 is further used to generate a third CGN diversion strategy according to the third CGN instance, and the third CGN diversion strategy is used to indicate that the traffic of the user equipment is diverted to the third UP indicated by the third CGN instance; the transceiver module 620 is further used to send the third CGN diversion strategy to the third UP. For specific implementation methods, please refer to Figure 4 The illustrated embodiment summarizes the specific description of steps 401 - 413 , which will not be repeated here.

[0196] In a specific implementation, the transceiver module 620 is further used to obtain the first public network address of the user equipment in the first UP; the transceiver module 620 is further used to send the first public network address to the third UP, so that the third UP allocates the first public network address to the user equipment. For specific implementation methods, please refer to Figure 4 The illustrated embodiment summarizes the specific description of steps 407 - 409 , which will not be repeated here.

[0197] Please refer to Figure 7 , the present application provides a UP 700, comprising:

[0198] The transceiver module 710 is used to report CGN resources to the SDF, where the CGN resources include the CGN service load of the first UP, where the first UP is one of multiple UPs; the transceiver module 710 is also used to receive the first CGN diversion strategy sent by the CP, where the first CGN diversion strategy includes the first CGN instance, where the first CGN instance indicates the first UP with available CGN resources, where the first UP is one of multiple UPs; the service module 720 is used to carry the traffic of the user equipment. For specific implementation methods, please refer to Figure 2 The illustrated embodiment summarizes the specific description of steps 201 - 216 , which will not be repeated here.

[0199] In a specific implementation, the transceiver module 710 is further used to receive a user bearer indication message sent by the CP, the user bearer indication message is used to indicate the traffic of the bearer user equipment; the service module 720 is used to allocate a first public network address to the user equipment; the transceiver module 710 is further used to send the first public network address to the CP. For specific implementation methods, please refer to Figure 2 The illustrated embodiment summarizes the specific description of step 207 and will not be repeated here.

[0200] In a specific implementation, the transceiver module 710 is further configured to receive the second public network address sent by the CP; the service module 720 is configured to allocate the second public network address to the user equipment. Figure 3 The illustrated embodiment summarizes the specific description of steps 308 - 309 , which will not be repeated here.

[0201] Please refer to Figure 8 The present application also provides a network device 800, including a processor 810 and a memory 820, the processor 810 is coupled to the memory 820, the memory 820 is used to store programs, and the processor 810 is used to execute the programs in the memory 820, so that the network device 800 executes the steps of the method described in the above steps 201-216, 301-316, and 401-413.

[0202] When the network device is an SDF, the processor 810 is configured to:

[0203] Receive CGN resources reported by multiple UPs to obtain a CGN resource pool, where the CGN resources include the CGN service load status of each UP in the multiple UPs; receive a CGN instance acquisition request sent by a CP, where the CGN instance acquisition request indicates that a CGN instance is allocated to a user device; allocate a first CGN instance to the user device according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of the multiple UPs; and send the first CGN instance to the CP.

[0204] For specific implementation methods, please refer to Figure 2 The embodiment shown summarizes the specific description of steps 201-216, or as shown in Figure 3 The specific description of steps 301-316 in the embodiment shown in FIG. Figure 4 The specific description of steps 401 - 413 in the illustrated embodiment will not be repeated here.

[0205] When the network device is a CP, the processor 810 is configured to:

[0206] Determine that the user device is online; send a CGN instance acquisition request to the SDF, the CGN instance acquisition request indicates that a CGN instance is allocated to the user device; receive a first CGN instance sent by the SDF, the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of multiple UPs; generate a first CGN diversion strategy according to the first CGN instance, the first CGN diversion strategy is used to indicate that the traffic of the user device is diverted to the first UP indicated by the first CGN instance; send the first CGN diversion strategy to the first UP.

[0207] For specific implementation methods, please refer to Figure 2 The embodiment shown summarizes the specific description of steps 201-216, or as shown in Figure 3 The specific description of steps 301-316 in the embodiment shown in FIG. Figure 4 The specific description of steps 401 - 413 in the illustrated embodiment will not be repeated here.

[0208] When the network device is UP, the processor 810 is configured to:

[0209] Report CGN resources to SDF, where the CGN resources include the CGN service load of the first UP, where the first UP is one of multiple UPs; receive the first CGN diversion strategy sent by the CP, where the first CGN diversion strategy includes a first CGN instance, where the first CGN instance indicates the first UP with available CGN resources, where the first UP is one of multiple UPs; carry the traffic of the user equipment.

[0210] For specific implementation methods, please refer to Figure 2 The embodiment shown summarizes the specific description of steps 201-216, or as shown in Figure 3 The specific description of steps 301-316 in the embodiment shown in FIG. Figure 4 The specific description of steps 401 - 413 in the illustrated embodiment will not be repeated here.

[0211] exist Figure 8In the illustrated embodiment, when each module is a software module, each software module is stored in the memory 820. When the processor 810 reads the software code in the memory 820, it prompts the network device 800 to execute:

[0212] Receive CGN resources reported by multiple UPs to obtain a CGN resource pool, where the CGN resources include the CGN service load status of each UP in the multiple UPs; receive a CGN instance acquisition request sent by a CP, where the CGN instance acquisition request indicates that a CGN instance is allocated to a user device; allocate a first CGN instance to the user device according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of the multiple UPs; and send the first CGN instance to the CP.

[0213] or,

[0214] Determine that the user device is online; send a CGN instance acquisition request to the SDF, the CGN instance acquisition request indicates that a CGN instance is allocated to the user device; receive a first CGN instance sent by the SDF, the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of multiple UPs; generate a first CGN diversion strategy according to the first CGN instance, the first CGN diversion strategy is used to indicate that the traffic of the user device is diverted to the first UP indicated by the first CGN instance; send the first CGN diversion strategy to the first UP.

[0215] or,

[0216] Report CGN resources to SDF, where the CGN resources include the CGN service load of the first UP, where the first UP is one of multiple UPs; receive the first CGN diversion strategy sent by the CP, where the first CGN diversion strategy includes a first CGN instance, where the first CGN instance indicates the first UP with available CGN resources, where the first UP is one of multiple UPs; carry the traffic of the user equipment.

[0217] For specific implementation methods, please refer to Figure 2 The embodiment shown summarizes the specific description of steps 201-216, or as shown in Figure 3 The specific description of steps 301-316 in the embodiment shown in FIG. Figure 4 The specific description of steps 401 - 413 in the illustrated embodiment will not be repeated here.

[0218] The embodiment of the present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the steps of the method described in the above steps 201-216, 301-316, and 401-413.

[0219] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a program for signal processing. When the program is run on a computer, the computer executes the steps of the method described in steps 201-216, 301-316, and 401-413.

[0220] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0221] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0222] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

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

Claims

1. A network access control method, characterized in that: Applied to a network system, the network system includes a flow switching decision function module SDF, a control plane CP and multiple user planes UP, and the method includes: The SDF receives the operator-level network address translation CGN resources reported by the multiple UPs, and obtains a CGN resource pool, where the CGN resources include the CGN service load of each UP in the multiple UPs; The SDF receives a CGN instance acquisition request sent by the CP, where the CGN instance acquisition request indicates allocation of a CGN instance for the user equipment; The SDF allocates a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of the multiple UPs; The SDF sends the first CGN instance to the CP.

2. The method according to claim 1, characterized in that: The first CGN instance includes the first UP, a first CGN board in the first UP, and a first central processing unit CPU in the first CGN board.

3. The method according to claim 1 or 2, characterized in that: Before the SDF allocates the first CGN instance to the user equipment according to the CGN resource pool, the method further includes: The SDF receives a differentiated service level agreement SLA policy configured by a remote user dial-up authentication radius server; The SDF allocating a first CGN instance to the user equipment according to the CGN resource pool includes: The SDF allocates a first CGN instance to the user equipment according to the CGN resource pool and the SLA policy.

4. The method according to claim 3, characterized in that: After the SDF receives the CGN resources reported by the multiple UPs, the method further includes: The SDF receives a new SLA policy sent by the radius server; The SDF allocates a second CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, where the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of the multiple UPs; The SDF sends the second CGN instance to the CP.

5. The method according to claim 3, characterized in that: After the SDF allocates the first CGN instance to the user equipment according to the CGN resource pool, the method further includes: The SDF determines that the first UP fails; The SDF allocates a third CGN instance to the user equipment according to the SLA policy and the CGN resource pool, where the third CGN instance indicates a third UP with available CGN resources, and the third UP is one of the multiple UPs; The SDF sends the third CGN instance to the CP.

6. The method according to claim 4, characterized in that: After the SDF allocates the first CGN instance to the user equipment according to the CGN resource pool, the method further includes: The SDF determines that the second UP fails; The SDF allocates a third CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, where the third CGN instance indicates a third UP with available CGN resources, and the third UP is one of the multiple UPs; The SDF sends the third CGN instance to the CP.

7. A network access control method, characterized in that: Applied to a network system, the network system includes a flow switching decision function module SDF, a control plane CP and multiple user planes UP, and the method includes: The CP sends a carrier-level network address translation CGN instance acquisition request to the SDF, where the CGN instance acquisition request indicates allocation of a CGN instance for the user equipment; The CP receives a first CGN instance sent by the SDF, where the first CGN instance is allocated to the user equipment by a CGN resource pool obtained by the SDF according to the CGN resources reported by the multiple UPs, the CGN resources reported by the multiple UPs include a CGN service load status of each UP in the multiple UPs, and the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of the multiple UPs; The CP generates a first CGN traffic diversion policy according to the first CGN instance, where the first CGN traffic diversion policy is used to instruct to divert traffic of the user equipment to the first UP; The CP sends a first CGN traffic diversion policy to the first UP.

8. The method according to claim 7, characterized in that: The first CGN instance includes the first UP, a first CGN board in the first UP, and a first CPU in the first CGN board.

9. The method according to claim 7, characterized in that: After the CP receives the first CGN instance sent by the SDF, the method further includes: The CP sends a user bearer indication message to the first UP, where the user bearer indication message is used to indicate the traffic of the user equipment; The CP receives a first public network address sent by the first UP, where the first public network address is a public network address allocated to the user equipment; The CP sends a source tracing log to the raidus server, where the source tracing log includes the private network address of the user device and the first public network address.

10. The method according to any one of claims 7 to 9, characterized in that: Also includes: The CP receives a second CGN instance sent by the SDF, where the second CGN instance indicates a second UP having available CGN resources, and the second UP is one of the multiple UPs; The CP generates a second CGN traffic diversion policy according to the second CGN instance, where the second CGN traffic diversion policy is used to instruct to divert traffic of the user equipment to the second UP; The CP sends a second CGN traffic diversion policy to the second UP.

11. The method according to claim 10, characterized in that: After the CP receives the second CGN instance sent by the SDF, the method further includes: The CP sends a user bearer indication message to the second UP, where the user bearer indication message is used to indicate the traffic of the user equipment; The CP receives a second public network address sent by the second UP, where the second public network address is a public network address allocated to the user equipment by the second UP; The CP sends a source tracing log to the raidus server, where the source tracing log includes the private network address of the user device and the second public network address.

12. The method according to any one of claims 7 to 9, characterized in that: The method further comprises: The CP receives a third CGN instance sent by the SDF, where the third CGN instance indicates a third UP having available CGN resources, and the third UP is one of the multiple UPs; The CP generates a third CGN traffic diversion policy according to the third CGN instance, where the third CGN traffic diversion policy is used to instruct to divert traffic of the user equipment to the third UP; The CP sends a third CGN traffic diversion policy to the third UP.

13. The method according to claim 12, characterized in that: After the CP receives the third CGN instance sent by the SDF, the method further includes: The CP obtains a first public network address of the user equipment in the first UP; The CP sends the first public network address to the third UP, so that the third UP allocates the first public network address to the user equipment.

14. A network access control method, characterized in that: Applied to a network system, the network system includes a flow switching decision function module SDF, a control plane CP and multiple user planes UP, and the method includes: The first UP reports the operator-level network address translation CGN resource to the SDF, where the CGN resource includes the CGN service load of the first UP, and the first UP is one of the multiple UPs; The first UP receives a first CGN traffic diversion strategy sent by the CP, the first CGN traffic diversion strategy includes a first CGN instance, the first CGN instance is sent by the SDF to the CP after receiving a CGN instance acquisition request sent by the CP, the CGN instance acquisition request indicates allocation of a CGN instance to a user equipment, the first CGN instance is allocated to the user equipment by a CGN resource pool obtained by the SDF according to CGN resources reported by the multiple UPs, the CGN resources reported by the multiple UPs include CGN service load conditions of each UP in the multiple UPs, the first CGN instance indicates the first UP with available CGN resources, and the first CGN traffic diversion strategy is used to indicate that traffic of the user equipment is diverted to the first UP; The first UP carries traffic of the user equipment.

15. The method according to claim 14, characterized in that: After the first UP reports the CGN resources to the SDF, the method further includes: The first UP receives a user bearer indication message sent by the CP, where the user bearer indication message is used to indicate the traffic of the user equipment; The first UP allocates a first public network address to the user equipment; The first UP sends the first public network address to the CP.

16. The method according to claim 14, characterized in that: After the first UP reports the CGN resources to the SDF, the method further includes: The first UP receives the second public network address sent by the CP; The first UP allocates the second public network address to the user equipment.

17. A network access control method, characterized in that: Applied to a network system, the network system includes a flow switching decision function module SDF, a control plane CP and multiple user planes UP, and the method includes: The multiple UPs report the operator-level network address translation CGN resources to the SDF, so that the SDF obtains a CGN resource pool, where the CGN resources include the CGN service load of each UP in the multiple UPs; The CP sends a CGN instance acquisition request to the SDF, where the CGN instance acquisition request indicates allocation of a CGN instance for the user equipment; The SDF allocates a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP with available CGN resources, and the first UP is one of the multiple UPs; The SDF sends the first CGN instance to the CP; The CP generates a first CGN traffic diversion policy according to the first CGN instance, where the first CGN traffic diversion policy is used to instruct to divert traffic of the user equipment to the first UP indicated by the first CGN instance; The CP sends a first CGN traffic diversion policy to the first UP; The first UP carries traffic of the user equipment.

18. A network device, characterized in that: Applied to a network system, the network system comprises a flow switching decision function module SDF, a control plane CP and a plurality of user planes UP, the SDF is arranged in the network device, The network equipment includes: A transceiver module, configured to receive the operator-level network address translation CGN resources reported by the multiple UPs, and obtain a CGN resource pool, wherein the CGN resources include the CGN service load of each UP in the multiple UPs; The transceiver module is further configured to receive a CGN instance acquisition request sent by the CP, where the CGN instance acquisition request indicates allocation of a CGN instance for a user equipment; a processing module, configured to allocate a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP having available CGN resources, and the first UP is one of the multiple UPs; The transceiver module is further configured to send the first CGN instance to the CP.

19. The network device according to claim 18, characterized in that: The transceiver module is also used to receive the SLA policy configured by the radius server for remote user dial-up authentication; The processing module is specifically configured to allocate a first CGN instance to the user equipment according to the CGN resource pool and the SLA policy.

20. The network device according to claim 19, characterized in that: The transceiver module is also used to receive a new SLA policy sent by the radius server; The processing module is further configured to allocate a second CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, where the second CGN instance indicates a second UP with available CGN resources, and the second UP is one of the multiple UPs; The transceiver module is further configured to send the second CGN instance to the CP.

21. The network device according to claim 19, characterized in that: The processing module is further used to determine that the first UP fails; The processing module is further configured to allocate a third CGN instance to the user equipment according to the SLA policy and the CGN resource pool, wherein the third CGN instance indicates a third UP having available CGN resources, and the third UP is one of the multiple UPs; The transceiver module is further configured to send the third CGN instance to the CP.

22. The network device according to claim 20, characterized in that: The processing module is further used to determine that the second UP fails; The processing module is further configured to allocate a third CGN instance to the user equipment according to the new SLA policy and the CGN resource pool, wherein the third CGN instance indicates a third UP having available CGN resources, and the third UP is one of the multiple UPs; The transceiver module is further configured to send the third CGN instance to the CP.

23. A control plane CP, characterized in that: Applied to a network system, the network system includes a flow switching decision function module SDF, the CP and multiple user planes UP, the CP includes: A transceiver module, configured to send a carrier-level network address translation CGN instance acquisition request to the SDF, wherein the CGN instance acquisition request indicates allocation of a CGN instance for a user equipment; The transceiver module is further configured to receive a first CGN instance sent by the SDF, where the first CGN instance is allocated to the user equipment by a CGN resource pool obtained by the SDF according to the CGN resources reported by the multiple UPs, where the CGN resources reported by the multiple UPs include a CGN service load status of each UP in the multiple UPs, and the first CGN instance indicates a first UP with available CGN resources, where the first UP is one of the multiple UPs; a processing module, configured to generate a first CGN traffic diversion strategy according to the first CGN instance, wherein the first CGN traffic diversion strategy is used to instruct to divert traffic of the user equipment to the first UP indicated by the first CGN instance; The transceiver module is further configured to send a first CGN traffic diversion strategy to the first UP.

24. The control plane CP according to claim 23, characterized in that: The transceiver module is further used to send a user bearer indication message to the first UP, where the user bearer indication message is used to indicate the traffic carrying the user equipment; The transceiver module is further configured to receive a first public network address sent by the first UP, where the first public network address is a public network address allocated to the user equipment; The transceiver module is further used to send a tracing log to the raidus server, where the tracing log includes the private network address of the user device and the first public network address.

25. The control plane CP according to claim 23 or 24, characterized in that: The transceiver module is further configured to receive a second CGN instance sent by the SDF, where the second CGN instance indicates a second UP having available CGN resources, and the second UP is one of the multiple UPs; The processing module is further used to generate a second CGN traffic diversion strategy according to the second CGN instance, where the second CGN traffic diversion strategy is used to instruct to divert the traffic of the user equipment to the second UP; The transceiver module is further configured to send a second CGN traffic diversion strategy to the second UP.

26. The control plane CP according to claim 25, characterized in that: The transceiver module is further used to send a user bearer indication message to the second UP, where the user bearer indication message is used to indicate the traffic carrying the user equipment; The transceiver module is further configured to receive a second public network address sent by the second UP, where the second public network address is a public network address allocated to the user equipment by the second UP; The transceiver module is further used to send a tracing log to the raidus server, where the tracing log includes the private network address of the user device and the second public network address.

27. The control plane CP according to claim 23 or 24, characterized in that: The transceiver module is further configured to receive a third CGN instance sent by the SDF, where the third CGN instance indicates a third UP having available CGN resources, and the third UP is one of the multiple UPs; The processing module is further used to generate a third CGN traffic diversion strategy according to the third CGN instance, where the third CGN traffic diversion strategy is used to instruct to divert traffic of the user equipment to the third UP indicated by the third CGN instance; The transceiver module is further configured to send a third CGN traffic diversion strategy to the third UP.

28. The control plane CP according to claim 27, characterized in that: The transceiver module is further used to obtain a first public network address of the user equipment in the first UP; The transceiver module is further configured to send the first public network address to the third UP, so that the third UP allocates the first public network address to the user equipment.

29. A user plane UP, characterized in that: Applied to a network system, the network system includes a flow switching decision function module SDF, a control plane CP and multiple user plane UPs, the multiple UPs include the UP, and the UP includes: A transceiver module, configured to report the operator-level network address translation CGN resources to the SDF, wherein the CGN resources include the CGN service load of the UP; The transceiver module is further used to receive a first CGN traffic diversion strategy sent by the CP, the first CGN traffic diversion strategy including a first CGN instance, the first CGN instance is sent by the SDF to the CP after receiving a CGN instance acquisition request sent by the CP, the CGN instance acquisition request indicates allocation of a CGN instance to a user equipment, the first CGN instance is allocated to the user equipment by a CGN resource pool obtained by the SDF according to the CGN resources reported by the multiple UPs, the CGN resources reported by the multiple UPs include the CGN service load of each UP in the multiple UPs, the first CGN instance indicates the UP with available CGN resources, and the first CGN traffic diversion strategy is used to indicate that traffic of the user equipment is diverted to the UP; The service module is used to carry the traffic of the user equipment.

30. The user plane UP according to claim 29, characterized in that: The transceiver module is further used to receive a user bearer indication message sent by the CP, where the user bearer indication message is used to indicate the traffic carrying the user equipment; The service module is used to allocate a first public network address to the user equipment; The transceiver module is further configured to send the first public network address to the CP.

31. The user plane UP according to claim 29, characterized in that: The transceiver module is further used to receive the second public network address sent by the CP; The service module is used to allocate the second public network address to the user equipment.

32. A network system, characterized in that: include: Flow switching decision function module SDF, control plane CP and multiple user planes UP; The multiple UPs are used to report the operator-level network address translation CGN resources to the SDF, so that the SDF obtains a CGN resource pool, and the CGN resources include the CGN service load of each UP in the multiple UPs; The CP is configured to send a CGN instance acquisition request to the SDF, where the CGN instance acquisition request indicates allocation of a CGN instance for the user equipment; the SDF being configured to allocate a first CGN instance to the user equipment according to the CGN resource pool, where the first CGN instance indicates a first UP having available CGN resources, where the first UP is one of the multiple UPs, and the SDF sending the first CGN instance to the CP; The CP is further configured to generate a first CGN traffic diversion policy according to the first CGN instance, where the first CGN traffic diversion policy is used to indicate that traffic of the user equipment is diverted to the first UP indicated by the first CGN instance, and the CP sends the first CGN traffic diversion policy to the first UP; The first UP is used to carry traffic of the user equipment.

33. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 17.

34. A network device, comprising a processor and a memory, wherein the processor is coupled to the memory, wherein: The memory is used to store programs; The processor is used to execute the program in the memory so that the network device executes the method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Load sharing method and device

    CN103117947A

  • CGN implementation method and device

    CN108259632A

  • Communication method and communication device

    CN110366271A

  • Distributed network address translation in computer networks

    US8289968B1

  • Method and system for controlling IP traffic in a service provider network

    WO2012056010A1