# US 2020/0007543 A1 · Network access method and apparatus and network device

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

- Number: US 2020/0007543 A1
- Document ID: US20200007543A1
- Status: Published application
- Kind: A1
- Application number: 16/566,690
- Filed: 2019-09-10
- Published: 2020-01-02
- Earliest claimed: 2017-04-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Youyang YU; Hua LI
- Web page: https://patentgrep.com/patent/US20200007543A1

## CPC

- H04W 12/068: {using credential vaults, e.g. password manager applications or one time password [OTP] applications}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 12/66: Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- 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 63/083: {using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226)}
- H04L 63/0884: {by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity}
- H04W 8/26: Network addressing or numbering for mobility support
- H04L 63/0892: {by using authentication-authorization-accounting [AAA] servers or protocols}
- H04L 69/325: in the network layer [OSI layer 3], e.g. X.25 (H04L69/16 takes precedence)
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application discloses a network access method and apparatus, and a network device. The network access method is performed by an access gateway, includes: receiving a PPPoE message or a IPoE message sent by a user terminal, obtaining access information included in the PPPoE message or the IPoE message; encapsulating the access information into an NAS message or an EAP message; then, sending the NAS message or the EAP message to a control plane function entity CP; receiving network interface information sent by the CP; and sending the network interface information to the user terminal, so that the user terminal accesses a network. As can be learned from this solution, the user terminal is not limited by a protocol stack when accessing the network. Therefore, full services can be provided by deploying only one core network. This not only saves a resource but also facilitates network maintenance.

## Claims

### Claim 1

A network access method performed by an access gateway, the method comprising:
receiving a point-to-point Over Ethernet (PPPoE) message or an internet Protocol over Ethernet (IPoE) message from a user terminal;
obtaining access information of the user terminal comprised in the PPPoE message or the IPoE message;
encapsulating the access information into a non-access stratum (NAS) message or an extensible authentication protocol (EAP) message;
sending the NAS message or the EAP message to a control plane (CP) function entity; and
receiving network interface information from the CP function entity, and sending the network interface information to the user terminal, wherein the network interface information is used to access a network.

### Claim 2 (depends on 1)

The network access method according to claim 1, wherein
the access information comprises at least one of a session identifier, a user terminal identifier, or a fixed network access point identifier, wherein
the session identifier is allocated by the access gateway to the user terminal;
the user terminal identifier is at least one of a user terminal permanent identifier, a user terminal temporary identifier, a user terminal Media Access Control (MAC) address, a user terminal network access identifier (NAI), a user terminal user name, or an agent remote identifier; and
the fixed network access point identifier is at least one of a circuit identifier, a physical location identifier, or a logical identifier.

### Claim 3 (depends on 1)

The network access method according to claim 1, wherein the encapsulating the access information into an NAS message comprises:
generating an NAS request message, and adding the access information to the NAS request message, wherein the NAS request message is a registration request message or a protocol data unit (PDU) session establishment request message; and
sending a user terminal initialization message, and adding the NAS request message to the user terminal initialization message; or
sending a user terminal initialization message, and adding at least one of the fixed network access point identifier or the session identifier in the access information to the user terminal initialization message; and
generating an NAS request message, adding the user terminal identifier in the access information to the NAS request message, and adding the NAS request message to the user terminal initialization message.

### Claim 4 (depends on 1)

The network access method according to claim 1, wherein the encapsulating the access information into an EAP message comprises:
generating the EAP message, and adding the access information to the EAP message;
generating a registration request message, and adding the EAP message to the registration request message; and
sending a user terminal initialization message, and adding the registration request message to the user terminal initialization message.

### Claim 5 (depends on 1)

The network access method according to claim 1, wherein when the access information comprises at least one of the user terminal identifier or the fixed network access point identifier, after the sending the NAS message or the EAP message to a CP function entity, and before the receiving network interface information from the CP function entity, the method further comprises:
sending, by the CP function entity, at least one of the fixed network access point identifier or the user terminal identifier to an authentication entity;
receiving, by the CP function entity, a result of authentication performed by the authentication entity based on at least one of the fixed network access point identifier or the user terminal identifier; and
when the result of the authentication is that the authentication succeeds, configuring, by the CP function entity, the network interface information for the user terminal.

### Claim 6 (depends on 1)

The network access method according to claim 1, wherein when the access information comprises the fixed network access point identifier, after the sending the NAS message or the EAP message to a CP function entity, and before the receiving network interface information from the CP function entity, the method comprises:
after the CP function entity sends the access information to an authentication entity, receiving, by the CP function entity, an authentication vector sent by the authentication entity based on the fixed network access point identifier;
generating, by the CP function entity, a challenge value based on the authentication vector, and sending the challenge value to the access gateway;
sending, by the access gateway to the user terminal, a request for obtaining a user name and a password, wherein the request comprises the challenge value, and the password is obtained by the user terminal by performing a hash operation on the challenge value and an initial password;
receiving, by the access gateway, the user name and the password;
sending, by the access gateway, the user name and the password to the CP function entity; and
sending, by the CP function entity, the user name and the password to the authentication entity, so that the authentication entity performs authentication based on the user name and the password.

### Claim 7 (depends on 5)

The network access method according to claim 5, wherein the configuring, by the CP, the network interface information for the user terminal comprises:
allocating, by a session management function entity in the CP function entity, at least one of an internet protocol (IP) address or a dynamic host configuration protocol (DHCP) server address to the user terminal; and
generating, by a mobility function entity in the CP function entity, an NAS reply message, adding at least one of the IP address or the DHCP server to the NAS reply message, and obtaining the network interface information.

### Claim 8 (depends on 7)

The network access method according to claim 7, wherein the NAS reply message comprises a location area identifier, and the location area identifier is set to a null value, a fixed network area identifier, a special location area identifier, or a circuit identifier.

### Claim 9 (depends on 7)

The network access method according to claim 7, wherein the receiving network interface information sent by the CP function entity, and sending the network interface information to the user terminal comprises:
reading at least one of the IP address or the DHCP server address in the network interface information; and
sending at least one of the IP address or the DHCP server address to the user terminal by using an IP configuration message or a network control protocol (NCP) message.

### Claim 10 (depends on 1)

The network access method according to claim 1, wherein
the PPPoE message comprises a PPPoE active discovery indication (PADI) message, a PPPoE active discovery request (PADR) message, a link control protocol (LCP) message, or an NCP message; and
the IPoE message comprises a DHCP discovery message or a DHCP request message.

### Claim 11

A network access apparatus, comprising at least one processor; and
a memory storing computer-executable instructions, wherein the computer-executable instructions, when executed by the at least one processor, instruct the at least one processor to: receive a point-to-point Over Ethernet (PPPoE) message or an internet Protocol over Ethernet (IPoE) message from a user terminal;
obtain access information of the user terminal comprised in the PPPoE message or the IPoE message; and encapsulate the access information into a non-access stratum (NAS) message or an extensible authentication protocol (EAP) message;
send the NAS message or the EAP message to a control plane (CP) function entity; and
receive network interface information from the CP function entity, and send the network interface information to the user terminal, wherein the network interface information is used to access a network.

### Claim 12 (depends on 11)

The network access apparatus according to claim 11, wherein the computer-executable instructions instruct the at least one processor to:
generate an NAS request message, and adding the access information to the NAS request message, wherein the NAS request message is a registration request message or a protocol data unit (PDU) session establishment request message; and send a user terminal initialization message, and add the NAS request message to the user terminal initialization message;
or
send a user terminal initialization message, and add at least one of the fixed network access point identifier or the session identifier in the access information to the user terminal initialization message;
generate an NAS request message, adding the user terminal identifier in the access information to the NAS request message, and add the NAS request message to the user terminal initialization message.

### Claim 13 (depends on 11)

The network access apparatus according to claim 11, wherein the computer-executable instructions instruct the at least one processor to:
generate the EAP message, add the access information to the EAP message, generates a registration request message, add the EAP message to the registration request message, generate a user terminal initialization message, and add the registration request to the user terminal initialization message.

### Claim 14

A network access system, comprising: an access gateway and a control plane (CP) function entity, wherein
the access gateway is configured to: receive a point-to-point Over Ethernet (PPPoE) message or an internet Protocol over Ethernet (IPoE) message from a user terminal; obtain access information of the user terminal comprised in the PPPoE message or the IPoE message; encapsulate the access information into a non-access stratum (NAS) message or an extensible authentication protocol (EAP) message; send the NAS message or the EAP message to the CP function entity;
the CP function entity is configured to: receive the NAS message or the EAP message; and send network interface information to the access gateway; and
the access gateway is configured to: receive the network interface information, and send the network interface information to the user terminal, wherein the network interface information is used to accesses a network.

### Claim 15 (depends on 14)

The network access system according to claim 14, wherein the access gateway is further configured to:
generate an NAS request message, and adding the access information to the NAS request message, wherein the NAS request message is a registration request message or a protocol data unit (PDU) session establishment request message; and send a user terminal initialization message, and add the NAS request message to the user terminal initialization message;
or
send a user terminal initialization message, and add at least one of the fixed network access point identifier or the session identifier in the access information to the user terminal initialization message; generate an NAS request message, adding the user terminal identifier in the access information to the NAS request message, and add the NAS request message to the user terminal initialization message.

### Claim 16 (depends on 14)

The network access system according to claim 14, wherein the access gateway is further configured to:
generate the EAP message, add the access information to the EAP message, generates a registration request message, add the EAP message to the registration request message, generate a user terminal initialization message, and add the registration request to the user terminal initialization message.

### Claim 17 (depends on 14)

The network access system according to claim 14, wherein the access information comprises at least one of a user terminal identifier, or a fixed network access point identifier,
wherein the CP function entity is further configured to: perform authentication based on at least one of a user terminal identifier or a fixed network access point identifier in the access information, obtain an authentication result, and when the authentication result is that the authentication succeeds, configure the network interface information for the user terminal.

### Claim 18 (depends on 17)

The network access system according to claim 17, wherein the CP function entity is further configured to:
search for an authentication vector based on the fixed network access point identifier, and generate a challenge value based on the authentication vector;
send the challenge value to the user terminal, and receive a user name and a password from the user terminal; and
perform authentication based on the user name, the password, and the challenge value, and obtain an authentication result.

### Claim 19 (depends on 17)

The network access system according to claim 17, wherein the CP function entity is further configured to:
allocate at least one of an internet protocol (IP) address or a host configuration protocol (DHCP) server address to the user terminal by using a session management function entity, generate an NAS reply message by using a mobile function entity, add at least one of the IP address and the DHCP server to the NAS reply message, and obtain the network interface information.

### Claim 20 (depends on 14)

The network access system according to claim 14, wherein the CP function entity is further configured to: send at least one of the IP address or the DHCP server address to the user terminal by using an IP configuration message or a network control protocol (NCP) message.
