Route delivery method and device
11102170 ยท 2021-08-24
Assignee
Inventors
Cpc classification
H04L61/503
ELECTRICITY
H04L61/5014
ELECTRICITY
H04W4/021
ELECTRICITY
International classification
H04W40/24
ELECTRICITY
Abstract
The application relates to a route delivery method and device. A location information of user equipment UE is received by a control plane network element device. A client IP address used by the control plane network element device to access a third-party server is determined based on the location information by the control plane network element device. An access request message is sent by the control plane network element device to the third-party server carrying the client IP address. A UE IP address assigned by the third-party server to the UE based on the client IP address is received by the control plane network element device. A user plane network element device configured to deliver a route to the UE is determined based on the UE IP address and the location information by the control plane network element device.
Claims
1. A network method comprising: receiving, by a control plane network element device, a location information of a user equipment (UE); determining, by the control plane network element device based on the location information, a client IP address used by the control plane network element device to access a third-party server; sending, by the control plane network element device, an access request message to the third-party server carrying the client IP address; receiving, by the control plane network element device, a UE Internet Protocol (IP) address that is assigned by the third-party server to the UE based on the client IP address; and determining, by the control plane network element device based on the UE IP address and the location information, a user plane network element device that delivers a network route information to the UE.
2. The method according to claim 1, wherein the receiving, by the control plane network element device, the location information of the UE comprises: receiving, by the control plane network element device, a create session request message, wherein the create session request message carries the location information or indication information of the location information.
3. The method according to claim 1, wherein the determining, by the control plane network element device based on the location information, the client IP address used by the control plane network element device to access the third-party server comprises: determining, by the control plane network element device based on the location information of the UE, a location area to which the UE belongs; and selecting, by the control plane network element device, a candidate IP address corresponding to the location area as the client IP address.
4. The method according to claim 3, wherein when the location area corresponds to a plurality of candidate IP addresses, the selecting, by the control plane network element device, the candidate IP address corresponding to the location area as the client IP address comprises: selecting, by the control plane network element device from the plurality of candidate IP addresses corresponding to the location area, the candidate IP address whose usage frequency is less than a preset threshold as the client IP address.
5. The method according to claim 3, wherein the client IP address corresponds to an address range, and the address range is divided into a plurality of sub address segments; and the determining, by the control plane network element device based on the UE IP address and the location information, the user plane network element device comprises: determining, by the control plane network element device, a sub address segment to which the UE IP address belongs; and determining, by the control plane network element device based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the user plane network element device.
6. The method according to claim 5, wherein the determining, by the control plane network element device based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the user plane network element device comprises: when the location area to which the UE belongs corresponds to a plurality of user plane network element devices, determining, by the control plane network element device, whether an available route corresponding to the sub address segment to which the UE IP address belongs is delivered; and if the available route is delivered, selecting, by the control plane network element device, the user plane network element device that delivers the available route to the UE.
7. A network method comprising: receiving, by a control plane network element device, a location information of a user equipment (UE), and determining, based on the location information, a location area to which the UE belongs; sending, by the control plane network element device, information about the location area to a user plane network element device, so that the user plane network element device determines, based on the information about the location area, a client IP address used by the user plane network element device to access a third-party server; receiving, by the control plane network element device, a UE Internet Protocol (IP) address sent by the user plane network element device, wherein the UE IP address is assigned by the third-party server based on the client IP address when the user plane network element device accesses the third-party server by using the client IP address; and determining, by the control plane network element device based on the UE IP address and the information about the location area, another user plane network element device that delivers a network route information to the UE.
8. The method according to claim 7, wherein the receiving, by the control plane network element device, the location information of the UE comprises: receiving, by the control plane network element device, a create session request message, wherein the create session request message carries the location information or an indication information of the location information.
9. The method according to claim 7, wherein the client IP address corresponds to an address range, and the address range is divided into a plurality of sub address segments; and the determining, by the control plane network element device based on the UE IP address and the information about the location area, another user plane network element device comprises: determining, by the control plane network element device, a sub address segment to which the UE IP address belongs; and determining, by the control plane network element device based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the another user plane network element device.
10. The method according to claim 9, wherein the determining, by the control plane network element device based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the another user plane network element device comprises: when the location area to which the UE belongs corresponds to a plurality of user plane network element devices, determining, by the control plane network element device, whether an available route corresponding to the sub address segment to which the UE IP address belongs is delivered; and if the available route is delivered, selecting, by the control plane network element device, the user plane network element device that delivers the available route to the UE.
11. A network method comprising: receiving, by a user plane network element device, information about a location area sent by a control plane network element device; determining, by the user plane network element device based on the information about the location area, a client Internet Protocol (IP) address used by the user plane network element device to access a third-party server; sending, by the user plane network element device, an access request message to the third-party server carrying the client IP address; receiving, by the user plane network element device, a user equipment (UE) IP address that is assigned by the third-party server to the UE based on the client IP address; and sending, by the user plane network element device, the UE IP address to the control plane network element device, so that the control plane network element device determines, based on the UE IP address and the information about the location area, another user plane network element device that delivers a network route information to the UE.
12. The method according to claim 11, wherein the determining, by the user plane network element device based on the information about the location area, the client IP address used by the user plane network element device to access the third-party server comprises: selecting, by the control plane network element device, a candidate IP address corresponding to the location area as the client IP address.
13. The method according to claim 12, wherein when the location area corresponds to a plurality of candidate IP addresses, the selecting, by the control plane network element device, the candidate IP address corresponding to the location area as the client IP address comprises: selecting, by the control plane network element device from the plurality of candidate IP addresses corresponding to the location area, the candidate IP address whose usage frequency is less than a preset threshold as the client IP address.
14. A control plane network element device, comprising: at least one processor; and a memory coupled to the at least one processor, wherein the at least one processor is configured to: receive a location information of a user equipment (UE); determine based on the location information, a client Internet Protocol (IP) address used by the control plane network element device to access a third-party server; and send an access request message to the third-party server carrying the client IP address; receive a UE IP address that is assigned by the third-party server to the UE based on the client IP address; and determine based on the UE IP address and the location information, a user plane network element device that delivers a network route information to the UE.
15. The device according to claim 14, wherein the at least one processor is further configured to: receive a create session request message, wherein the create session request message carries the location information or an indication information of the location information.
16. The device according to claim 14, wherein the at least one processor is further configured to: determine based on the location information of the UE, a location area to which the UE belongs; and select a candidate IP address corresponding to the location area as the client IP address.
17. The device according to claim 16, wherein the at least one processor is further configured to: when the location area corresponds to a plurality of candidate IP addresses, select from the plurality of candidate IP addresses corresponding to the location area, the candidate IP address whose usage frequency is less than a preset threshold as the client IP address.
18. The device according to claim 16, wherein the client IP address corresponds to an address range, and the address range is divided into a plurality of sub address segments; and wherein the at least one processor is further configured to: determine a sub address segment to which the UE IP address belongs; and determine, based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the user plane network element device.
19. The device according to claim 18, wherein the at least one processor is further configured to: when the location area to which the UE belongs corresponds to a plurality of user plane network element devices, determining whether an available route corresponding to the sub address segment to which the UE IP address belongs is delivered; and if the available route is delivered, select the user plane network element device that delivers the available route to the UE.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DESCRIPTION OF EMBODIMENTS
(11)
(12) The system shown in
(13)
(14) In the systems shown in
(15) In a CU-separated scenario, when two UEs that are respectively located in different UP network element ranges need to be activated, UP network elements to which the two UEs respectively belong may correspond to a same CP network element. To avoid a case in which UE IP addresses that are received by the CP network element and that are assigned by the third-party server to the two UEs are in a same network segment, embodiments of the invention provide the following route delivery solutions.
(16)
(17) Operation S101: A control plane network element device receives location information of UE.
(18) In at least one embodiment of the invention, when the UE needs to be activated, the control plane network element device obtains the location information of the UE. For example, the control plane network element device receives a create session request message of the UE, and adds the location information of the UE or indication information of the location information of the UE to the create session request message. Optionally, the location information may be a cell identifier of a cell accessed by the UE.
(19) Operation S102: The control plane network element device determines, based on the location information of the UE, a client IP address used by the control plane network element device to access a third-party server.
(20) In at least one embodiment of the invention, a mapping relationship is established between location information of the UE and a client IP address. For example, one location area corresponds to one or more client IP addresses, and one location area corresponds to one or more UP network elements.
(21) That the control plane network element device determines, based on the location information of the UE, a client IP address used by the control plane network element device to access a third-party server includes:
(22) determining, by the control plane network element device based on the location information of the UE, a location area to which the UE belongs, for example, determining a TA list to which the UE belongs; and
(23) selecting, by the control plane network element device, one of at least one candidate IP address corresponding to the location area to which the UE belongs as the client IP address used by the control plane network element device to access the third-party server.
(24) In at least one embodiment of the invention, when a location area corresponds to a plurality of candidate IP addresses, the control plane network element device may select, from the plurality of candidate IP addresses corresponding to the location area, one candidate IP address whose usage frequency is less than a preset threshold as the client IP address used by the control plane network element device to access the third-party server.
(25) Operation S103: The control plane network element device sends an access request message to the third-party server by using the client IP address. After the third-party server receives the access request message, the third-party server assigns a UE IP address to the UE based on the client IP address.
(26) Operation S104: The control plane network element device receives the UE IP address assigned by the third-party server to the UE based on the client IP address.
(27) Operation S105: The control plane network element device determines, based on the UE IP address and the location information of the UE, a user plane network element device configured to deliver a route to the UE.
(28) In at least one embodiment of the invention, each client IP address corresponds to an address range, and the address range is divided into a plurality of sub address segments.
(29) Correspondingly, that the control plane network element device determines, based on the UE IP address and the location information of the UE, a user plane network element device configured to deliver a route to the UE includes: determining, by the control plane network element device, a sub address segment to which the UE IP address belongs; and determining, by the control plane network element device based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the user plane network element device configured to deliver a route to the UE.
(30) Specifically, when the location area to which the UE belongs corresponds to a plurality of user plane network element devices, the control plane network element device determines whether an available route corresponding to the sub address segment to which the UE IP address belongs is delivered. If the available route is delivered, the control plane network element device selects a user plane network element device that delivers the available route to deliver the route to the UE.
(31) In at least one embodiment of the invention, a mapping relationship is established between a location information of the UE and a client IP address. In a process of activating the UE, the control plane network element device determines, based on a location information of the UE, a client IP address used to access the third-party server. Therefore, when UEs in different user plane network element devices managed by the control plane network element device are activated, the control plane network element device accesses the third-party server by using different client IP addresses, so as to avoid a case in which UE IP addresses assigned by the third-party server to different UEs belong to a same network segment.
(32)
(33) Operation S201: A control plane network element device binds at least one client IP address, where one location area (such as a TA list) corresponds to one or more client IP addresses, and one location area corresponds to one or more UP network elements.
(34) Operation S202: In a CU-separated scenario, a quantity of client IP addresses increases because a quantity of UP network elements increases. An address pool on a third-party server is planned based on the client IP address. Different client IP addresses correspond to different address pools. When the control plane network element device applies to the third-party server for addresses by using different client IP addresses, the addresses assigned by the third-party server belong to different address pools, and do not belong to a same sub address segment.
(35) Operation S203: The control plane network element device performs local mirroring configuration on the address pool of the third-party server based on planning of the address pool of the third-party server, and voluntarily splits the address pool into a plurality of sub address segments.
(36) Operation S204: When the control plane network element device receives an activation request, for example, receives a create session request message of UE, the control plane network element device determines, based on a user access location, a user plane network element device in a TA list area in which the UE is located, so as to determine a client IP address corresponding to the user plane network element device.
(37) Operation S205: The control plane network element device sends an access request message to the third-party server, where the access request message carries the determined client IP address.
(38) Operation S206: The third-party server assigns a UE IP address to the UE based on the client IP address in the access request message, and sends the UE IP address to the control plane network element device.
(39) Operation S207: The control plane network element device determines a sub address segment to which the UE IP address assigned by the third-party server belongs. When a plurality of user plane network element devices cover a same location area (such as a TA list), the control plane network element device determines whether a route of the sub address segment to which the UE IP address belongs is delivered by a user plane network element device; and if the route is delivered by a user plane network element device, the control plane network element device selects the user plane network element device to deliver the route to the UE; or if the route is not delivered by a user plane network element device, the control plane network element device may select, according to another policy such as a load sharing principle, a user plane network element device to deliver the route to the UE.
(40) Operation S208: The control plane network element device sends the activation request to the user plane network element device selected in operation S207, where the activation request carries the UE IP address and the sub address segment to which the UE IP address belongs.
(41) Operation S209: The user plane network element device delivers the sub address segment route to the UE, and returns a response message to the control plane network element device.
(42) To prevent a newly deployed UP network element device from frequently changing planning of the address pool on the third-party server, the quantity of client IP addresses may be planned at an initial stage based on an expected maximum quantity of areas. For example, it is expected that 100 user plane network element devices with different coverage areas are finally deployed, and only 10 user plane network element devices are deployed at a first stage. In this case, 100 client IP addresses are planned.
(43) In this planning manner, when a quantity of areas obtained through division during actual deployment is less than the planned and expected maximum quantity of areas (that is, the quantity of client IP addresses), if a UP network element device in each TA list area corresponds to only one client IP address, a case in which address pools corresponding to some client IP addresses are not used may occur. To avoid this case, the control plane network element device may bind a plurality of client IP addresses to a UP network element device in a specific TA list area (or a specific group of TA list areas). In addition, the control plane network element device collects statistics about utilization of the address pool based on the client IP address. When the utilization exceeds a threshold, the control plane network element device applies to the third-party server for an address by using another client IP address bound to the UP network element device in this TA list area. When a user plane network element device is newly added, the control plane network element device adjusts a binding relationship between a client IP address and a user plane network element device.
(44)
(45) Operation S301: The control plane network element device receives location information of UE, and determines, based on the location information, a location area to which the UE belongs.
(46) In at least one embodiment of the invention, when the UE needs to be activated, the control plane network element device obtains the location information of the UE. For example, the control plane network element device receives a create session request message of the UE, and adds the location information of the UE or indication information of the location information of the UE to the create session request message. Optionally, the location information may be a cell identifier of a cell accessed by the UE. The control plane network element device may determine, based on the cell identifier of the UE, the location area to which the UE belongs, for example, may determine a TA list to which the UE belongs.
(47) Operation S302: The control plane network element device sends information about the location area to which the UE belongs to the user plane network element device.
(48) Operation S303: The user plane network element device determines, based on the location area to which the UE belongs, a client IP address used by the user plane network element device to access the third-party server.
(49) That the user plane network element device determines, based on the information about the location area, a client IP address used by the user plane network element device to access the third-party server includes:
(50) selecting, by the control plane network element device, one of at least one candidate IP address corresponding to the location area as the client IP address.
(51) When the location area corresponds to a plurality of candidate IP addresses, the selecting, by the control plane network element device, one of a plurality of candidate IP addresses corresponding to the location area as the client IP address includes:
(52) selecting, by the control plane network element device from the plurality of candidate IP addresses corresponding to the location area, one candidate IP address whose usage frequency is less than a preset threshold as the client IP address.
(53) Operation S304: The user plane network element device sends an access request message to the third-party server by using the client IP address.
(54) Operation S305: The user plane network element device obtains, from the third-party server, a UE IP address assigned by the third-party server based on the client IP address.
(55) Operation S306: The user plane network element device sends the UE IP address to the control plane network element device.
(56) Operation S307: The control plane network element device determines, based on the UE IP address and the information about the location area, another user plane network element device configured to deliver a route to the UE.
(57) In at least one embodiment of the invention, each client IP address corresponds to an address range, and the address range is divided into a plurality of sub address segments.
(58) After the control plane network element device receives the UE IP address, the control plane network element device determines a sub address segment to which the UE IP address belongs; and determines, based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the another user plane network element device configured to deliver a route to the UE.
(59) That the control plane network element device determines, based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the another user plane network element device configured to deliver a route to the UE includes: when the location area to which the UE belongs corresponds to a plurality of user plane network element devices, determining, by the control plane network element device, whether an available route corresponding to the sub address segment to which the UE IP address belongs is delivered; and if the available route is delivered, selecting, by the control plane network element device, a user plane network element device that delivers the available route to deliver the route to the UE.
(60) Operation S308: The control plane network element device sends an activation request to the another user plane network element device, where the activation request carries the UE IP address and the sub address segment to which the UE IP address belongs.
(61) Operation S309: The user plane network element device delivers a sub address segment route to the UE, and returns a response message to the control plane network element device.
(62)
(63) Operation S401: The user plane network element device binds at least one client IP address, where one location area (such as a TA list) corresponds to one or more client IP addresses, and one location area corresponds to one or more UP network elements.
(64) Operation S402: In a CU-separated scenario, a quantity of client IP addresses increases because a quantity of UP network elements increases. An address pool on the third-party server is planned based on the client IP address. Different client IP addresses correspond to different address pools. When the control plane network element device applies to the third-party server for addresses by using different client IP addresses, the addresses assigned by the third-party server belong to different address pools, and do not belong to a same sub address segment.
(65) Operation S403: The control plane network element device performs local mirroring configuration on the address pool of the third-party server based on planning of the address pool of the third-party server, and voluntarily splits the address pool into a plurality of sub address segments.
(66) Operation S404: When the control plane network element device receives an activation request, for example, receives a create session request message of UE, the control plane network element device determines, based on a user access location, a user plane network element device in a TA list area in which the UE is located.
(67) Operation S405: The control plane network element device sends an access request message to the user plane network element device, and adds information about a location area to which the UE belongs to the access request message.
(68) Operation S406: The user plane network element device determines a client IP address based on the location area to which the UE belongs.
(69) Operation S407: The user plane network element device sends the access request message to the third-party server, where the access request message carries the determined client IP address.
(70) Operation S408: The third-party server assigns a UE IP address to the UE based on the client IP address in the access request message, and sends the UE IP address to the user plane network element device.
(71) Operation S409: The user plane network element device sends ta response message to the control plane network element device, and adds the UE IP address to the response message.
(72) Operation S410: The control plane network element device determines a sub address segment to which the UE IP address assigned by the third-party server belongs. When a plurality of user plane network element devices cover a same location area (such as a TA list), the control plane network element device determines whether a route of the sub address segment to which the UE IP address belongs is delivered by a user plane network element device; and if the route is delivered by a user plane network element device, the control plane network element device selects the user plane network element device to deliver the route to the UE; or if the route is not delivered by a user plane network element device, the control plane network element device may select, according to another policy such as a load sharing principle, a user plane network element device to deliver the route to the UE.
(73) Operation S411: The control plane network element device sends the activation request to the user plane network element device selected in operation S410 (in
(74) Operation S412: The user plane network element device delivers the sub address segment route to the UE, and returns a response message to the control plane network element device.
(75) To prevent a newly deployed UP network element device from frequently changing planning of the address pool on the third-party server, the quantity of client IP addresses may be planned at an initial stage based on an expected maximum quantity of areas. For example, it is expected that 100 user plane network element devices with different coverage areas are finally deployed, and only 10 user plane network element devices are deployed at a first stage. In this case, 100 client IP addresses are planned.
(76) In this planning manner, when a quantity of areas obtained through division during actual deployment is less than the planned and expected maximum quantity of areas (that is, the quantity of client IP addresses), if a UP network element device in each TA list area corresponds to only one client IP address, a case in which address pools corresponding to some client IP addresses are not used occurs. To avoid this case, the control plane network element device may bind a plurality of client IP addresses to a UP network element device in a specific TA list area (or a specific group of TA list areas). In addition, the control plane network element device collects statistics about utilization of the address pool based on the client IP address. When the utilization exceeds a threshold, the control plane network element device applies to the third-party server for an address by using another client IP address bound to the UP network element device in this TA list area. When a user plane network element device is newly added, the control plane network element device adjusts a binding relationship between a client IP address and a user plane network element device.
(77) In at least one embodiment of the invention, the third-party server may be an AAA server or a DHCP server. When the control plane network element device applies to the AAA server for the UE IP address, a type of a client IP address used to interact with the AAA server is a client IP address. When the control plane network element device applies to the DHCP server for the UE IP address, a type of a client IP address used to interact with the DHCP server is an agent IP address.
(78)
(79) a receiving unit 501, configured to receive location information of user equipment UE;
(80) a determining unit 502, configured to determine, based on the location information, a client IP address used by the control plane network element device to access a third-party server; and
(81) a sending unit 503, configured to send an access request message to the third-party server by using the client IP address.
(82) The receiving unit 501 is further configured to receive a UE IP address assigned by the third-party server to the UE based on the client IP address.
(83) The determining unit 502 is further configured to determine, based on the UE IP address and the location information, a user plane network element device configured to deliver a route to the UE.
(84) In a possible design, that the receiving unit 501 receives location information of UE includes:
(85) receiving a create session request message, where the create session request message carries the location information or indication information of the location information.
(86) In a possible design, that the determining unit 502 determines, based on the location information, a client IP address used by the control plane network element device to access a third-party server includes:
(87) determining, based on the location information of the UE, a location area to which the UE belongs; and
(88) selecting one of at least one candidate IP address corresponding to the location area as the client IP address.
(89) In a possible design, when the location area corresponds to a plurality of candidate IP addresses, that the determining unit 502 selects one of a plurality of candidate IP addresses corresponding to the location area as the client IP address includes:
(90) selecting, from the plurality of candidate IP addresses corresponding to the location area, one candidate IP address whose usage frequency is less than a preset threshold as the client IP address.
(91) In a possible design, the client IP address corresponds to an address range, and the address range is divided into a plurality of sub address segments.
(92) That the determining unit 502 determines, based on the UE IP address and the location information, a user plane network element device configured to deliver a route to the UE includes:
(93) determining a sub address segment to which the UE IP address belongs; and
(94) determining, based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the user plane network element device configured to deliver a route to the UE.
(95) In a possible design, that the determining unit 502 determines, based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the user plane network element device configured to deliver a route to the UE includes:
(96) when the location area to which the UE belongs corresponds to a plurality of user plane network element devices, determining whether an available route corresponding to the sub address segment to which the UE IP address belongs is delivered; and
(97) if the available route is delivered, selecting a user plane network element device that delivers the available route to deliver the route to the UE.
(98) In at least one embodiment of the invention, a mapping relationship is established between a location information of the UE and a client IP address. In a process of activating the UE, the control plane network element device determines, based on a location information of the UE, a client IP address used to access the third-party server. Therefore, when UEs in different user plane network element devices managed by the control plane network element device are activated, the control plane network element device accesses the third-party server by using different client IP addresses, so as to avoid a case in which UE IP addresses assigned by the third-party server to different UEs belong to a same network segment.
(99)
(100) a receiving unit 601, configured to: receive location information of UE;
(101) and determine, based on the location information, a location area to which the UE belongs;
(102) a sending unit 602, configured to send information about the location area to a user plane network element device, so that the user plane network element device determines, based on the information about the location area, a client IP address used by the user plane network element device to access a third-party server, where the receiving unit 601 is further configured to receive a UE IP address sent by the user plane network element device, where the UE IP address is assigned by the third-party server based on the client IP address when the user plane network element device accesses the third-party server by using the client IP address; and
(103) a processing unit 603, configured to determine, based on the UE IP address and the information about the location area, another user plane network element device configured to deliver a route to the UE.
(104) In a possible design, that the receiving unit 601 receives location information of UE includes:
(105) receiving a create session request message, where the create session request message carries the location information or indication information of the location information.
(106) In a possible design, the client IP address corresponds to an address range, and the address range is divided into a plurality of sub address segments.
(107) That the processing unit 603 determines, based on the UE IP address and the information about the location area, another user plane network element device configured to deliver a route to the UE includes:
(108) determining a sub address segment to which the UE IP address belongs; and
(109) determining, based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the another user plane network element device configured to deliver a route to the UE.
(110) In a possible design, that the processing unit 603 determines, based on the sub address segment to which the UE IP address belongs and the location area to which the UE belongs, the another user plane network element device configured to deliver a route to the UE includes:
(111) when the location area to which the UE belongs corresponds to a plurality of user plane network element devices, determining whether an available route corresponding to the sub address segment to which the UE IP address belongs is delivered; and
(112) if the available route is delivered, selecting a user plane network element device that delivers the available route to deliver the route to the UE.
(113) In at least one embodiment of the invention, a mapping relationship is established between a location information of the UE and a client IP address. In a process of activating the UE, the control plane network element device determines, based on a location information of the UE, a client IP address used to access the third-party server. Therefore, when UEs in different user plane network element devices managed by the control plane network element device are activated, the control plane network element device accesses the third-party server by using different client IP addresses, so as to avoid a case in which UE IP addresses assigned by the third-party server to different UEs belong to a same network segment.
(114)
(115) a determining unit 702, configured to determine, based on the information about the location area, a client IP address used by the user plane network element device to access a third-party server; and
(116) a sending unit 703, configured to send an access request message to the third-party server by using the client IP address.
(117) The receiving unit 701 is further configured to receive a UE IP address assigned by the third-party server to the UE based on the client IP address.
(118) The sending unit 703 is further configured to send the UE IP address to the control plane network element device, so that the control plane network element device determines, based on the UE IP address and the information about the location area, another user plane network element device configured to deliver a route to the UE.
(119) In a possible design, that the determining unit 702 determines, based on the information about the location area, a client IP address used by the user plane network element device to access a third-party server includes:
(120) selecting one of at least one candidate IP address corresponding to the location area as the client IP address.
(121) In a possible design, when the location area corresponds to a plurality of candidate IP addresses, that the determining unit 702 selects one of a plurality of candidate IP addresses corresponding to the location area as the client IP address includes:
(122) selecting, from the plurality of candidate IP addresses corresponding to the location area, one candidate IP address whose usage frequency is less than a preset threshold as the client IP address.
(123) In at least one embodiment of the invention, a mapping relationship is established between a location information of the UE and a client IP address. In a process of activating the UE, the control plane network element device determines, based on a location information of the UE, a client IP address used to access the third-party server. Therefore, when UEs in different user plane network element devices managed by the control plane network element device are activated, the control plane network element device accesses the third-party server by using different client IP addresses, so as to avoid a case in which UE IP addresses assigned by the third-party server to different UEs belong to a same network segment.
(124)
(125) Optionally, when the network device shown in
(126) Optionally, when the network device shown in
(127) Optionally, when the network device shown in
(128) It can be understood that
(129) The controller/processor configured to perform functions of the control plane network element device or the user plane network element device in embodiments of the invention may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The controller/processor may implement or execute various example logic blocks, modules, and circuits described with reference to content disclosed in embodiments of the invention. Alternatively, the processor may be a combination of processors implementing a computing function, for example, a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.
(130) Method or algorithm operations described in combination with the content disclosed in embodiments of the invention may be implemented by hardware, or may be implemented by a processor by executing a software instruction. The software instruction may include a corresponding software module. The software module may be located in a RAM, a flash, a ROM, an EPROM, an EEPROM memory, a register, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium well-known in the art. For example, a storage medium is coupled to a processor, so that the processor can read information from the storage medium or write information into the storage medium. Certainly, the storage medium may be a component of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in the STA. Certainly, the processor and the storage medium may exist in the STA as discrete components.
(131) One of ordinary skill in the art should be aware that in the foregoing one or more examples, functions described in embodiments of the invention may be implemented by hardware, software, firmware, or any combination thereof. When the functions are implemented by the software, the functions may be implemented fully or partially in a form of a computer program product. The computer program product includes one or more computer program instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of the invention are fully or partially generated. The computer may be a general purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer readable storage medium, or may be transmitted from a computer readable storage medium to another computer readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer readable storage medium may be any usable medium accessible by the computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium, or the like.
(132) The objectives, technical solutions, and benefits of embodiments of the invention are described in detail in the foregoing descriptions. It should be understood that the foregoing descriptions are merely implementations of embodiments of the invention, but are not intended to limit the protection scope of embodiments of the invention. Any modification, equivalent replacement, or improvement made based on the technical solutions of embodiments of the invention shall fall within the protection scope of embodiments of the invention.