# US 2018/0324140 A1 · Ip address allocation method, and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0324140 A1
- Document ID: US20180324140A1
- Status: Published application
- Kind: A1
- Application number: 16/039,225
- Filed: 2018-07-18
- Published: 2018-11-08
- Earliest claimed: 2016-01-19
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Longyu Cao; Yanping Zhang; Runze Zhou
- Web page: https://patentgrep.com/patent/US20180324140A1

## CPC

- H04L 61/5046: Resolving address allocation conflicts; Testing of addresses (testing when self-assigning an address H04L61/5092)
- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- H04L 61/503: using an authentication, authorisation and accounting [AAA] protocol, e.g. remote authentication dial-in user service [RADIUS] or Diameter
- H04L 61/5061: Pools of addresses
- H04W 8/18: Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W 48/12: using downlink control channel
- H04W 76/10: Connection setup
- H04W 76/11: Allocation or use of connection identifiers
- H04W 80/04: Network layer protocols, e.g. mobile IP [Internet Protocol]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

An IP address allocation method and a device are provided, so as to resolve a technical problem that an IP address conflict occurs when a control plane device and a user plane device allocate an IP address for one UE at the same time. When receiving a session establishment request message, a control plane network device may determine whether a first user plane network device is capable of allocating an IP address for a terminal device. If the first user plane network device is capable of allocating the IP address for the terminal device, the control plane network device may send an address allocation indication to the first user plane network device.

## Claims

### Claim 1

An Internet Protocol (IP) address allocation method, comprising:
receiving, by a control plane network device, a session establishment request message for establishing a session connection for a terminal device;
determining, by the control plane network device based on service information carried in the session establishment request message and based on service capability information of a first user plane network device, whether the first user plane network device is capable of allocating an IP address for the terminal device; and
when the first user plane network device is capable of allocating the IP address for the terminal device, sending, by the control plane network device, an address allocation indication to the first user plane network device.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
receiving, by the control plane network device, the service capability information of the first user plane network device sent by the first user plane network device; or
obtaining, by the control plane network device, pre-configure service capability information of the first user plane network device.

### Claim 3 (depends on 1)

The method according to of claim 1, wherein:
the address allocation indication comprises address allocation manner information for indicating a manner in which the first user plane network device is to allocate the IP address for the terminal device; and
the method further comprises:
obtaining, by the control plane network device by resolving the session establishment request message, the address allocation manner information carried in the session establishment request message.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the address allocation indication comprises:
the service information requested by the terminal device; or
indication information for instructing the first user plane network device to allocate the IP address for the terminal device.

### Claim 5

An Internet Protocol (IP) address allocation method, comprising:
receiving, by a user plane network device, an address allocation indication of a control plane network device;
determining, by the user plane network device based on address allocation manner information comprised in the address allocation indication, a manner of allocating an IP address for a terminal device; and
allocating, by the user plane network device, the IP address for the terminal device based on the determined manner.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the address allocation indication further comprises indication information for instructing the user plane network device to allocate the IP address for the terminal device.

### Claim 7 (depends on 5)

The method according to claim 5, wherein when the manner of allocating the IP address for the terminal device is allocating the IP address by the user plane network device in a process of establishing a default bearer, and the address allocation indication further comprises service information, allocating, by the user plane network device, the IP address for the terminal device based on the determined manner comprises:
allocating, by the user plane network device, the IP address for the terminal device based on the service information; and
sending, by the user plane network device, a session response message to the control plane network device, wherein the session response message carries the IP address.

### Claim 8 (depends on 5)

The method according to claim 5, wherein when the manner of allocating the IP address for the terminal device is allocating the IP address by the user plane network device after a default bearer is established, allocating, by the user plane network device, the IP address for the terminal device based on the determined manner comprises:
receiving, by the user plane network device, a request message sent by the terminal device by using a user plane connection, wherein the request message carries service information requested by the terminal device;
allocating, by the user plane network device, the IP address for the terminal device based on the service information; and
sending, by the user plane network device, the IP address for the terminal device by using the user plane connection.

### Claim 9 (depends on 7)

The method according to claim 7, wherein allocating, by the user plane network device, the IP address for the terminal device based on the service information comprises:
determining, by the user plane network device by using the service information, a server that allocates the IP address for the terminal device;
sending, by the user plane network device, an address allocation request message to the server for requesting to allocate the IP address for the terminal device; and
receiving, by the user plane network device, the IP address that is allocated to the terminal device and sent by the server.

### Claim 10 (depends on 9)

The method according to claim 9, wherein determining, by the user plane network device by using the service information, a server that allocates the IP address for the terminal device, and sending, by the user plane network device, an address allocation request message to the server, comprises:
determining, by the user plane network device by using the service information, that the server that allocates the IP address for the terminal device is a Dynamic Host Configuration Protocol (DHCP) server, and sending, by the user plane network device, the address allocation request message to the DHCP server based on a configured address of the DHCP server; or
determining, by the user plane network device by using the service information, that the server that allocates the IP address for the terminal device is a Layer 2 Tunneling Protocol network server (LNS), establishing, by the user plane network device, a Layer 2 Tunneling Protocol (L2TP) link to the LNS based on a configured address of the LNS, and sending, by the user plane network device, the address allocation request message to the LNS by using the L2TP link; or
determining, by the user plane network device by using the service information, that the server that allocates the IP address for the terminal device is an Authentication, Authorization and Accounting (AAA) server, and sending, by the user plane network device, the address allocation request message to the AAA server based on a configured address of the AAA server.

### Claim 11

A control plane network device, comprising:
a receiver, configured to receive a session establishment request message for establishing a session connection for a terminal device; and
a processor, configured to:
determine, based on service information requested by the terminal device carried in the session establishment request message and based on service capability information that a first user plane network device is able to provide, whether the first user plane network device is capable of allocating an internet protocol (IP) address for the terminal device, and
when the first user plane network device is capable of allocating the IP address for the terminal device, send an address allocation indication to the first user plane network device.

### Claim 12 (depends on 11)

The control plane network device according to claim 11, wherein:
the receiver is further configured to receive the service capability information of the first user plane network device sent by the first user plane network device; or
the processor is further configured to obtain pre-configure service capability information of the first user plane network device.

### Claim 13 (depends on 11)

The control plane network device according to claim 11, wherein:
the address allocation indication comprises address allocation manner information for indicating a manner in which the first user plane network device is to allocate the IP address for the terminal device; and
the processor is further configured to:
obtain, by resolving the session establishment request message, the address allocation manner information carried in the session establishment request message.

### Claim 14 (depends on 11)

The control plane network device according to claim 11, wherein the address allocation indication further comprises:
the service information requested by the terminal device; or
indication information for instructing the first user plane network device to allocate the IP address for the terminal device.

### Claim 15

A user plane network device, comprising:
a first receiver, configured to receive an address allocation indication of a control plane network device; and
a processor, configured to:
determine, based on address allocation manner information comprised in the address allocation indication, a manner of allocating an internet protocol (IP) address for the terminal device, and
allocate the IP address for the terminal device based on the determined manner.

### Claim 16 (depends on 15)

The user plane network device according to claim 15, wherein the address allocation indication further comprises indication information for instructing the first user plane network device to allocate the IP address for the terminal device.

### Claim 17 (depends on 15)

The user plane network device according to claim 15, wherein when the manner of allocating the IP address for the terminal device is allocating the IP address by the user plane network device in a process of establishing a default bearer, and the address allocation indication further comprises service information, the processor is configured to:
allocate the IP address for the terminal device based on the service information; and
send a session response message to the control plane network device by using a first transmitter, wherein the session response message carries the IP address.

### Claim 18 (depends on 15)

The user plane network device according to claim 15, wherein:
the user plane network device further comprises a second receiver and a second transmitter; and
when the manner of allocating the IP address for the terminal device is allocating the IP address by the user plane network device after a default bearer is established, the processor is configured to:
receive, by using the second receiver, a request message sent by the terminal device by using a user plane connection, wherein the request message carries service information requested by the terminal device,
allocate the IP address for the terminal device based on the service information, and
send the IP address for the terminal device by using the second transmitter and the user plane connection.

### Claim 19 (depends on 17)

The user plane network device according to claim 17, wherein:
the user plane network device further comprises a third receiver and a third transmitter; and
the processor is configured to:
determine, by using the service information, a server that allocates the IP address for the terminal device,
send an address allocation request message to the server by using the third transmitter, the address allocation request message for requesting to allocate the IP address for the terminal device, and
receive, by using the third receiver, the IP address that is allocated to the terminal device and sent by the server.

### Claim 20 (depends on 19)

The user plane network device according to claim 19, wherein the processor is configured to:
determine, by using the service information, that the server that allocates the IP address for the terminal device is a Dynamic Host Configuration Protocol (DHCP) server, and send the address allocation request message to the DHCP server by using the third transmitter based on a configured address of the DHCP server; or
determine, by using the service information, that the server that allocates the IP address for the terminal is a Layer 2 Tunneling Protocol network server (LNS), establish a Layer 2 Tunneling Protocol (L2TP) link to the LNS based on a configured address of the LNS, and send the address allocation request message to the LNS by using the third transmitter and the L2TP link; or
determine, by using the service information, that the server that allocates the IP address for the terminal device is an Authentication, Authorization and Accounting (AAA) server, and send the address allocation request message to the AAA server by using the third transmitter based on a configured address of the AAA server.
