IP Library Granted Patent US 12,155,574
Granted Patent B2
US 12,155,574 · App. 17/451,889 · Granted Nov 26, 2024

Method and apparatus for accessing gateway

Inventors: Rongrong Hua (Nanjing, CN); Zhouyi Yu (Beijing, CN); Jing Liu (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L47/2425H04B10/25H04L12/4641H04L63/0892H04L45/64
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,155,574
App. No.
17/451,889
Granted
Nov 26, 2024
Kind
B2
Abstract

This application discloses a method and an apparatus for accessing a gateway, and pertains to the field of communications technologies. A service level agreement (SLA) level may be obtained based on user information of a terminal, and further a user plane (UP) device corresponding to the terminal is determined based on the SLA level of the terminal. Thus, terminals with different SLA levels may be allocated to different UP devices for bearing, so that a specific terminal may access a specified UP device. This resolves a problem in a related technology that a terminal relatively randomly accesses a UP device. In addition, because an SLA level may be used to indicate a level of quality of service of a terminal, after terminals with different SLA levels access different UP devices, differentiated services may be provided on the different UP devices. Therefore, user requirements are met, and revenues are increased.

Claims (82)

1. A method for accessing a gateway, wherein the method comprises:

obtaining access line information and user information of a terminal;

obtaining a service level agreement (SLA) level of the terminal based on the user information, wherein the SLA level is to indicate a level of quality of service of the terminal;

determining a target user plane (UP) device based on the SLA level and a device identifier corresponding to the SLA level; and

controlling, based on the access line information, the terminal to access the target UP device.

2. The method according to claim 1 , wherein the obtaining of the SLA level of the terminal based on the user information comprises:

sending the user information to an authentication, authorization, and accounting (AAA) server, to instruct the AAA server to obtain the SLA level of the terminal; and

receiving the SLA level that is of the terminal and that is sent by the AAA server.

3. The method according to claim 1 , wherein the obtaining of the SLA level of the terminal based on the user information comprises:

obtaining the SLA level of the terminal based a stored correspondence between the user information and the SLA level.

4. The method according to claim 1 , wherein the determining of the target UP device based on the SLA level comprises:

obtaining the device identifier corresponding to the SLA level of the terminal based on a stored correspondence between the SLA level and the device identifier; and

determining a device identified by the obtained device identifier as the target UP device.

5. The method according to claim 1 , wherein the controlling of the terminal to access the target UP device comprises:

sending the access line information and device information of the target UP device to a software-defined networking (SDN) controller, to instruct the SDN controller to control the terminal to access the target UP device.

6. The method according to claim 5 , wherein the device information of the target UP device comprises the device identifier of the target UP device, port information of a target port of the target UP device allocated to the terminal, and virtual local area network VLAN information corresponding to the target port.

7. The method according to claim 5 , wherein the device information of the target UP device comprises the device identifier of the target UP device and a network identifier of a virtual extensible local area network (VXLAN) corresponding to the target UP device.

8. The method according to claim 1 , wherein after the determining of the target UP device based on the SLA level, the method further comprises:

generating user entry information; and

sending the user entry information to the target UP device, to instruct the target UP device to forward, based on the user entry information, a data packet sent by the terminal after access succeeds.

9. The method according to claim 8 , wherein the user entry information comprises an internet protocol (IP address allocated to the terminal, a media access control (MAC) address of the terminal, routing information of the terminal, and authorization information of the terminal.

10. The method according to claim 1 , wherein the obtaining of the access line information and the user information of a terminal comprises:

receiving a dialup protocol packet sent by the terminal by using an access network device, wherein the dialup protocol packet carries the access line information; and

receiving a link control protocol (LCP) negotiation request sent by the terminal by using the access network device, wherein the LCP negotiation request carries the user information.

11. The method according to claim 10 , wherein the access network device comprises an optical line terminal (OLT); and

wherein the access line information comprises a media access control (MAC) address of the terminal, a device identifier of the OLT, port information of a port that is on the OLT and that is connected to the terminal, and an identifier of an optical network unit ONU to which the OLT belongs.

12. The method according to claim 1 , wherein the target UP device is in a virtual broadband network gateway (vBNG), the vBNG further comprises a control plane (CP) device.

13. A method for accessing a gateway, wherein the method comprises:

receiving access line information of a terminal and device information of a target user plane (UP) device that are sent by a control plane (CP) device, wherein the target UP device corresponds to a service level agreement (SLA) level of the terminal and a device identifier corresponding to the SLA level; and

controlling, based on the access line information and the device information of the target UP device, the terminal to access the target UP device.

14. The method according to claim 13 , wherein the terminal is connected to an access network device, and the access network device comprises an optical line terminal (OLT);

wherein the access line information comprises a device identifier of the OLT, port information of a port on the OLT and connected to the terminal, and an identifier of an optical network unit (ONU) to which the OLT belongs; and

wherein the device information of the target UP device comprises virtual local area network (VLAN) information corresponding to a target port on the target UP device, and wherein the target port is a port allocated to the terminal.

15. The method according to claim 14 , wherein the controlling of the terminal to access the target UP device comprises:

determining, based on the access line information, VLAN information corresponding to the terminal; and

sending a migration instruction to the OLT based on the device identifier of the OLT, wherein the migration instruction carries the port information of the port that is on the OLT and that is connected to the terminal, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port, and wherein the migration instruction is to instruct the OLT to access the terminal to the target UP device based on the port information of the port that is on the OLT and that is connected to the terminal, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port.

16. The method according to claim 13 , wherein the terminal is connected to an access network device, and wherein the access network device comprises an optical line terminal (OLT);

wherein the access line information comprises a device identifier of the OLT, port information of a port that is on the OLT and that is connected to the terminal, and an identifier of an optical network unit (ONU) to which the OLT belongs; and

wherein the device information of the target UP device comprises a network identifier of a virtual extensible local area network (VXLAN) corresponding to the target UP device.

17. An apparatus for accessing a gateway, wherein the apparatus comprises:

one or more processors; and

a memory configured to store one or more computer programs, wherein the one or more computer programs comprise instructions which are executed by the one or more processors to cause the apparatus to:

obtain access line information and user information of a terminal;

obtain a service level agreement (SLA) level of the terminal based on the user information, wherein the SLA level is to indicate a level of quality of service of the terminal;

determine a target user plane (UP) device based on the SLA level and a device identifier corresponding to the SLA level; and

control, based on the access line information, the terminal to access the target UP device.

18. The apparatus according to claim 17 , wherein the apparatus is further caused to:

send the user information to an authentication, authorization, and accounting (AAA) server, to instruct the AAA server to obtain the SLA level of the terminal; and

receive the SLA level that is of the terminal and that is sent by the AAA server.

19. The apparatus according to claim 17 , wherein the apparatus is further caused to:

obtain the SLA level of the terminal based on a stored correspondence between the user information and the SLA level.

20. The apparatus according to claim 17 , wherein the apparatus is further caused to:

obtain the device identifier corresponding to the SLA level of the terminal based on a stored correspondence between the SLA level and the device identifier; and

determine a device identified by the obtained device identifier as the target UP device.

21. The apparatus according to claim 17 , wherein the apparatus is further caused to:

send the access line information and device information of the target UP device to a software-defined networking (SDN) controller, to instruct the SDN controller to control the terminal to access the target UP device.

22. The apparatus according to claim 21 , wherein the device information of the target UP device comprises the device identifier of the target UP device, port information of a target port of the target UP device allocated to the terminal, and virtual local area network (VLAN) information corresponding to the target port.

23. The apparatus according to claim 21 , wherein the device information of the target UP device comprises the device identifier of the target UP device and a network identifier of a virtual extensible local area network VXLAN corresponding to the target UP device.

24. The apparatus according to claim 17 , wherein the apparatus is further caused to:

generate user entry information; and

send the user entry information to the target UP device, to instruct the target UP device to forward, based on the user entry information, a data packet sent by the terminal after access succeeds.

25. The apparatus according to claim 24 , wherein the user entry information comprises an internet protocol IP address allocated to the terminal, a media access control (MAC) address of the terminal, routing information of the terminal, and authorization information of the terminal.

26. The apparatus according to claim 17 , wherein the apparatus is further caused to:

receive a dialup protocol packet sent by the terminal by using an access network device, wherein the dialup protocol packet carries the access line information; and

receive a link control protocol (LCP) negotiation request sent by the terminal by using the access network device, wherein the LCP negotiation request carries the user information.

27. The apparatus according to claim 26 , wherein the access network device comprises an optical line terminal OLT; and

wherein the access line information comprises the media access control MAC address of the terminal, a device identifier of the OLT, port information of a port that is on the OLT and that is connected to the terminal, and an identifier of an optical network unit ONU to which the OLT belongs.

28. The apparatus according to claim 17 , wherein the target UP device is in a virtual broadband network gateway (vBNG), and the apparatus is a control plane (CP) device in the vBNG.

29. An apparatus for accessing a gateway, wherein the apparatus comprises:

one or more processors; and

a memory, configured to store one or more computer programs, wherein the one or more computer programs comprise instructions which are executed by the one or more processors to cause the apparatus to:

receive access line information of a terminal and device information of a target user plane (UP) device that are sent by a control plane (CP) device, wherein the target UP device corresponds to a service level agreement (SLA) level of the terminal and a device identifier corresponding to the SLA level; and

control, based on the access line information and the device information of the target UP device, the terminal to access the target UP device.

30. The apparatus according to claim 29 , wherein the terminal is connected to an access network device, and wherein the access network device comprises an optical line terminal (OLT);

wherein the access line information comprises a device identifier of the OLT, port information of a port that is on the OLT and that is connected to the terminal, and an identifier of an optical network unit ONU to which the OLT belongs; and

wherein the device information of the target UP device comprises VLAN information corresponding to a target port on the target UP device, and wherein the target port is a port allocated to the terminal.

31. The apparatus according to claim 30 , wherein the apparatus is further caused to:

determine, based on the access line information, VLAN information corresponding to the terminal; and

send a migration instruction to the OLT based on the device identifier of the OLT, wherein the migration instruction carries the port information of the port that is on the OLT and that is connected to the terminal, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port, and wherein the migration instruction is to instruct the OLT to access the terminal to the target UP based on the port information of the port that is on the OLT and that is connected to the terminal, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port device.

32. The apparatus according to claim 29 , wherein the terminal is connected to an access network device, and wherein the access network device comprises an optical line terminal (OLT);

wherein the access line information comprises a device identifier of the OLT, port information of a port that is on the OLT and that is connected to the terminal, and an identifier of an optical network unit ONU to which the OLT belongs; and

wherein the device information of the target UP device comprises a network identifier of a virtual extensible local area network (VXLAN) corresponding to the target UP device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 13, 2021
From: HUA, RONGRONG; YU, ZHOUYI; LIU, JING
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 058371/0298 →
Priority Claims (2)
CN 201910332103.0 · Apr 24, 2019 · national
EP 20171020 · Apr 23, 2020 · regional
Continuity (2)
Continuation PCTCN2020086770 · Apr 24, 2020
Related Publication 20220078122A1 · Mar 10, 2022
Cited By (1)
US 12,695,641