WO2020216339A1 - 接入网关的方法及装置 - Google Patents

接入网关的方法及装置 Download PDF

Info

Publication number
WO2020216339A1
WO2020216339A1 PCT/CN2020/086770 CN2020086770W WO2020216339A1 WO 2020216339 A1 WO2020216339 A1 WO 2020216339A1 CN 2020086770 W CN2020086770 W CN 2020086770W WO 2020216339 A1 WO2020216339 A1 WO 2020216339A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
information
target
olt
port
Prior art date
Application number
PCT/CN2020/086770
Other languages
English (en)
French (fr)
Other versions
WO2020216339A8 (zh
Inventor
花荣荣
余舟毅
刘婧
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020216339A1 publication Critical patent/WO2020216339A1/zh
Priority to US17/451,889 priority Critical patent/US20220078122A1/en
Publication of WO2020216339A8 publication Critical patent/WO2020216339A8/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • H04L12/2859Point-to-point connection between the data network and the subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0892Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer

Definitions

  • This application relates to the field of communication technology, and in particular to a method and device for accessing a gateway.
  • a vBNG may include a control plane (CP) device and multiple user plane (UP) devices, and the CP device may manage multiple UP devices.
  • CP control plane
  • UP user plane
  • the CP device when a terminal accesses vBNG, can determine from multiple UP devices according to the number of user sessions that each UP device currently has established with other terminals among multiple UP devices or the load of each UP device An UP device is allocated to the terminal. After that, the terminal can access the allocated UP device.
  • the CP device allocates UP devices to the terminal according to the current number of user sessions or current load of each UP device, the UP device that the terminal accesses is relatively random, and it is impossible to connect the terminal to the designated UP device. Therefore, it is impossible to provide targeted services to the terminal through the designated UP device.
  • This application provides a method and device for accessing a gateway, which can be used to solve the problem of relatively random UP devices accessed by terminals in related technologies.
  • the technical solution is as follows:
  • a method for accessing a gateway includes: obtaining access line information and user information of a terminal; and obtaining a service level agreement SLA level of the terminal according to the user information, and the SLA The level is used to indicate the service quality level of the terminal; determine the target user plane UP device according to the SLA level; control the terminal to access the target UP device according to the access line information.
  • the SLA level of the terminal can be obtained according to the user information of the terminal, and then the UP device corresponding to the terminal can be determined according to the SLA level of the terminal.
  • terminals of different SLA levels can be assigned to different UP devices to carry them, so that a specific terminal can access a designated UP device, which solves the problem of relatively random UP devices accessed by terminals in related technologies.
  • the SLA level can be used to indicate the service quality level of the terminal, after the terminal is connected to the corresponding UP device according to the terminal SLA level, the terminal can be provided with differentiated services through the UP device to meet user needs , Improve revenue.
  • the implementation process of obtaining the service level agreement SLA level of the terminal according to the user information may be: 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; receiving the SLA level of the terminal sent by the AAA server.
  • the CP device can send the user information of the terminal to the AAA server, so that the AAA server can authenticate and authorize the terminal according to the user information.
  • the AAA server can obtain the SLA level of the terminal according to the user information of the terminal, and then return the SLA level to the CP device.
  • the implementation process of obtaining the service level agreement SLA level of the terminal according to the user information may also be: obtaining the corresponding relationship between the stored user information and the SLA level according to the user information.
  • SLA level of the terminal That is, the CP device may store the correspondence between user information and the SLA level. In this case, the CP device may directly obtain the SLA level of the terminal according to the user information.
  • the realization process of determining the target user plane UP device according to the SLA level may be: obtaining the device ID corresponding to the SLA level of the terminal from the stored correspondence between the SLA level and the device ID; The device identified by the device identifier of is determined to be the target UP device.
  • different SLA levels can correspond to different UP devices.
  • terminals with different SLA levels will correspond to different UP devices, and terminals with the same SLA level can correspond to the same UP devices.
  • different UP devices can Provide differentiated services for terminals of different SLA levels.
  • the process of controlling the terminal to access the target UP device according to the access line information may be: sending the access line information and the target UP device to a software-defined SDN network controller To indicate the SDN controller to control the terminal to access the target UP device.
  • the device information of the target UP device includes the device identifier of the target UP device, port information of the target port of the target UP device allocated to the terminal, and virtual local area network VLAN information corresponding to the target port .
  • the device information of the target UP device includes the device identifier of the target UP device, and the network identifier of the virtual extensible local area network VxLAN corresponding to the target UP device.
  • the UP device and the access network device are a three-layer network
  • a VxLAN tunnel can be established between the UP device and the access network device.
  • the device information of the target UP device may include the network identifier of the VxLAN.
  • the method further includes: generating user entry information; and sending the user entry information to the target UP device to indicate the target UP
  • the device forwards, according to the user entry information, the data message sent after the terminal is successfully connected.
  • the CP device can deliver the user entry information of the terminal to the target UP device, so that the target UP device can forward the subsequent data packets sent by the terminal according to the user entry information.
  • the user entry information includes an Internet Protocol IP address allocated to the terminal, a MAC address of the terminal, routing information of the terminal, and authorization information of the terminal.
  • the process of obtaining the access line information and user information of the terminal may be: receiving a dial protocol message sent by the terminal through an access network device, the dial protocol message carrying the access Incoming line information; receiving a link control protocol LCP negotiation request sent by the terminal through the access network device, where the LCP negotiation request carries the user information.
  • the access line information can be carried in the dialing protocol message and sent to the CP device.
  • the user information of the terminal can be carried in the LCP negotiation request and sent to the CP device.
  • the access network equipment includes an optical line terminal OLT; correspondingly, the access line information includes the media access control MAC address of the terminal, the equipment identification of the OLT, and the connection between the OLT and the Port information of the port to which the terminal is connected and the identification of the ONU of the optical network unit to which the OLT belongs.
  • a method for accessing a gateway includes: receiving terminal access line information and device information of a target UP device sent by a control plane CP device, where the target UP device is the terminal's The UP device corresponding to the SLA level; controlling the terminal to access the target UP device according to the access line information and the device information of the target UP device.
  • the SDN controller after receiving the terminal access line information and the device information of the target UP device sent by the CP device, the SDN controller can control the terminal access according to the access line information and the device information of the target UP device To the target UP device.
  • the target UP device is the UP device corresponding to the SLA level of the terminal, that is, this application can connect the terminal to the designated UP device, which solves the problem that the UP device accessed by the terminal is relatively random in related technologies.
  • the access line information includes the device identifier of the OLT included in the access network device connected to the terminal, port information of the port connected to the terminal in the OLT, and the optical network unit to which the OLT belongs The ID of the ONU.
  • the device information of the target UP device includes the virtual local area network VLAN information corresponding to the target port on the target UP device, and the target port Refers to the port allocated for the terminal.
  • the device information of the target UP device may also include the device identifier of the target UP device and port information of the target port, so that the SDN controller can store and maintain this information.
  • the realization process of controlling the terminal to access the target UP device may be: according to the access line information, determining that the terminal corresponds to The VLAN information; according to the device identifier of the OLT, send a migration instruction to the OLT, the migration instruction carrying port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port, and the migration instruction is used to instruct the OLT according to the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port To connect the terminal to the target UP device.
  • the VLAN information corresponding to the terminal refers to the identifier of the VLAN that the terminal accesses when dialing, that is, the information of the VLAN corresponding to the default UP device. Since the VLAN information corresponding to the terminal and the VLAN information corresponding to the target port of the target UP device are sent to the OLT in the embodiment of this application, the OLT can remap the VLAN corresponding to the terminal when dialing to the target UP according to the received information The VLAN corresponding to the target port of the device. In this way, even if the MAC address of the target UP device is the same as the default UP device when the terminal dials, it can ensure that the terminal subsequently accesses the target UP device instead of the default UP device .
  • the access line information includes the device identifier of the OLT included in the access network device connected to the terminal, port information of the port connected to the terminal in the OLT, and the optical network unit to which the OLT belongs The ID of the ONU.
  • the access network device and the target UP device are in a three-layer network, a VxLAN tunnel can be established between the access network device and the target UP device, and the device information of the target UP device includes the target UP The device identifier of the device, and the network identifier of the virtual extensible local area network VxLAN corresponding to the target UP device.
  • the realization process of controlling the terminal to access the target UP device may be: determining all the devices according to the access line information The VLAN information corresponding to the terminal; according to the device identifier of the OLT, a migration instruction is sent to the OLT, the migration instruction carries port information of the port connected to the terminal in the OLT, and VLAN information corresponding to the terminal And the network identifier of the VxLAN corresponding to the target UP device, and the migration instruction is used to instruct the OLT according to the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the The network identifier of the VxLAN corresponding to the target UP device connects the terminal to the target UP device.
  • a device for accessing a gateway has a function of implementing the method and behavior of the access gateway in the first aspect or the second aspect.
  • the device for accessing the gateway includes at least one module, and the at least one module is used to implement the method for accessing the gateway provided in the first aspect or the second aspect.
  • an apparatus for accessing a gateway in a fourth aspect, is provided.
  • the structure of the apparatus for accessing the gateway includes a processor and a memory, and the memory is used to store the apparatus supporting the access gateway to execute the first aspect or the second aspect.
  • the program of the method for accessing the gateway provided by the aspect and storing the data involved in the method for accessing the gateway provided by the first aspect or the second aspect.
  • the processor is configured to execute a program stored in the memory.
  • the operating device of the storage device may further include a communication bus, which is used to establish a connection between the processor and the memory.
  • a computer-readable storage medium stores instructions that, when run on a computer, cause the computer to execute the access described in the first or second aspect above. Gateway method.
  • a computer program product containing instructions which when running on a computer, causes the computer to execute the method for accessing the gateway described in the first or second aspect.
  • the SLA level can be obtained according to the user information of the terminal, and the UP device corresponding to the terminal can be determined according to the SLA level of the terminal.
  • terminals of different SLA levels can be assigned to different UP devices to carry them, so that a specific terminal can access a designated UP device, which solves the problem of relatively random UP devices accessed by terminals in related technologies.
  • the SLA level can be used to indicate the service quality level of the terminal, after terminals of different SLA levels are connected to different UP devices, differentiated services can be provided on different UP devices to meet user needs. Increase revenue.
  • Figure 1 is an implementation environment diagram of a method for accessing a gateway provided by an embodiment of the present application
  • Figure 2 is a schematic structural diagram of a network device provided by an embodiment of the present application.
  • Fig. 3 is a flowchart of a method for accessing a gateway provided by an embodiment of the present application
  • FIG. 4 is a flowchart of a method for obtaining user information and access line information of a terminal according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of controlling a terminal to access a target UP device according to an embodiment of the present application
  • FIG. 6 is a schematic diagram showing another control terminal to access a target UP device according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an apparatus for accessing a gateway provided by an embodiment of the present application.
  • Fig. 8 is a schematic structural diagram of another apparatus for accessing a gateway provided by an embodiment of the present application.
  • FIG. 1 is a system architecture diagram involved in a method for accessing a gateway provided by an embodiment of the present application.
  • the system includes a terminal 10, an access network device 20, a vBNG 30, an authentication authorization accounting (AAA) server 40, and an SDN controller 50.
  • AAA authentication authorization accounting
  • the terminal 10 may be a user equipment such as a smart phone, a desktop computer, a portable computer, a tablet computer, etc., which is directly connected to the access network device 20.
  • the terminal 10 may refer to a residential gateway (residential gateway, RGW).
  • RGW residential gateway
  • the RGW may be connected to multiple user equipment such as smart phones, desktop computers, and portable computers, and the multiple user equipment accesses the RGW.
  • the RGW can perform network address translation (NAT) processing on the accessed user equipment.
  • the RGW can communicate with the access network device 20, through the access network device 20, point-to-point protocol over ethernet (PPPoE), Internet protocol over ethernet (IPoE) ) Dial to obtain an IP address from vBNG30, so as to access vBNG30 according to the obtained IP address.
  • PPPoE point-to-point protocol over ethernet
  • IPoE Internet protocol over ethernet
  • the access network device 20 may include an optical line terminal (optical line termination, OLT) 201 and/or a switch (switch, SW) 202. Wherein, when the access network device includes OLT201 and SW202, OLT201 can communicate with terminal 10 and SW202 respectively. Exemplarily, the OLT 201 may receive dial protocol messages and data messages sent by the terminal 10 and forward the received messages to the SW 202. In addition, the OLT 201 can also receive the information returned by the SW 202, and forward the received information to the terminal 10.
  • OLT optical line termination
  • SW switch
  • the vBNG30 includes a CP device 301 and a plurality of UP devices 302.
  • the CP device 301 has established a communication connection with the access network device 20, the AAA server 40, and the SDN controller 50, and the CP device 301 can control the terminal 10 to access multiple devices through the gateway access method provided in the embodiment of the application.
  • the UP device 302 is connected to the CP device 301 and the access network device 20 respectively.
  • the CP device 301 determines the UP device 302 to be accessed for the terminal 10 through the gateway access method provided in the embodiment of the present application, it may send user entry information to the determined UP device 302.
  • the UP device 302 can receive the user entry information sent by the CP device 301, and after receiving the data message sent by the terminal 10 forwarded by the access network device 20, it can report to the terminal 10 according to the received user entry information.
  • the data message is forwarded.
  • the AAA server 40 can communicate with the CP device 301 included in the vBNG 30. Wherein, the AAA server may receive the user information of the terminal 10 sent by the CP device 301, and perform authentication, authorization and accounting on the terminal 10 according to the user information. In addition, in the embodiment of the present application, the AAA server 40 may also determine the SLA corresponding to the terminal 10 according to the user information, and feed back the SLA to the CP device 301, so that the CP device 301 selects the corresponding UP device for the terminal 10 according to the SLA 302, so that the terminal 10 can access the corresponding UP device 302.
  • the SDN controller 50 can communicate with the CP device 301 included in the vBNG 30. Among them, after the CP device 301 selects the corresponding UP device 302 for the terminal 10, it can deliver the terminal 10 information and the selected UP device 302 information to the SDN controller, so that the SDN controller can control the terminal 10 to access the corresponding UP device 302.
  • the CP device 301 may be used as a virtual network function (VNF) unit and run on a server.
  • VNF virtual network function
  • UP302 can run on the server as a VNF unit, or it can be a traditional physical network function (PNF) device.
  • PNF physical network function
  • Fig. 2 is a schematic structural diagram of a network device provided by an embodiment of the present invention.
  • the vBNG and SDN controller in Figure 1 can be implemented by the network device shown in Figure 2.
  • the network device includes at least one processor 201, a communication bus 202, a memory 203, and at least one communication interface 204.
  • the processor 201 may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more programs for controlling the execution of the program of this application. integrated circuit.
  • CPU Central Processing Unit
  • ASIC application-specific integrated circuit
  • the communication bus 202 may include a path for transferring information between the aforementioned components.
  • the memory 203 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions.
  • the type of dynamic storage device can also be electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), or other optical disk storage, optical disc Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by Any other medium accessed by the computer, but not limited to this.
  • the memory 203 may exist independently and is connected to the processor 201 through a communication bus 202.
  • the memory 203 may also be integrated with the processor 201.
  • the communication interface 204 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, wireless access network (RAN), wireless local area networks (Wireless Local Area Networks, WLAN), etc.
  • RAN wireless access network
  • WLAN Wireless Local Area Networks
  • the processor 201 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 2.
  • the network device may include multiple processors, for example, the processor 201 and the processor 205 shown in FIG. 2.
  • processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • the network device device may further include an output device 206 and an input device 207.
  • the output device 206 communicates with the processor 201 and can display information in a variety of ways.
  • the output device 206 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector (projector) Wait.
  • the input device 207 communicates with the processor 201, and can receive user input in a variety of ways.
  • the input device 207 may be a mouse, a keyboard, a touch screen device, or a sensor device.
  • the aforementioned network device can be a general-purpose computer device or a special-purpose computer device.
  • the network device may be a desktop computer, a network server, a wireless terminal device, a communication device, or an embedded device.
  • the embodiment of the present invention does not limit the type of the network device.
  • the memory 203 is used to store the program code for executing steps 301-306 in the following method embodiments, and when the network device is used to implement the vBNG shown in FIG.
  • the memory 203 is used to store the degree code for executing step 307 in the following method embodiment.
  • the processor 201 is configured to execute the program code 208 stored in the memory 203.
  • the program code 208 may include one or more software modules.
  • the vBNG or SDN control shown in FIG. 1 can control the terminal to access the UP device included in the vBNG through one or more software modules in the processor 201 and the program code 208 in the memory 203.
  • Figure 3 is a method for accessing a gateway provided by an embodiment of the present application. This method can be applied to the system shown in Figure 1. As shown in Figure 3, the method includes the following steps:
  • Step 301 The CP device obtains the terminal's access line information and user information.
  • the terminal when the terminal is online, the terminal can dial by accessing the network device to interact with the CP device.
  • the CP device can obtain the terminal's access line information and information in the process of interacting with the terminal. User information of this terminal.
  • the terminal sends a PPPoE Active Discovery Initiation (PADI) message.
  • PADI PPPoE Active Discovery Initiation
  • the PADI message carries the media access control (MAC) address of the terminal.
  • MAC media access control
  • the access line information includes the MAC address of the terminal.
  • the access network device receives the PADI message and adds the access line identifier to the PADI message.
  • the access network device may add an identifier for indicating the access line when the terminal accesses the network to the PADI message. Specifically, the access network device may add a tag field to the PADI message, and use the tag field to carry the access line identifier.
  • the OLT can add its own device identification, port information of the port connected to the terminal, and the identification of the optical network unit (ONU) to which the OLT belongs as the access line identification in the tag field. , And carry the tag field in the PADI message.
  • the MAC address of the terminal, the device identification of the OLT, the port information of the port connected to the terminal in the OLT, and the identification of the ONU to which the OLT belongs in the PADI message are the access line information.
  • the access line identification may also include other information.
  • the format of the access line identifier carried in the tag field of the PADI message may be: OLTID/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID.
  • OLTID is the device identification of the OLT
  • ANI_frame is the frame of the OLT
  • ANI_slot is the slot of the OLT
  • ANI_subslot is the subslot of the OLT
  • ANI_port is the port connected to the terminal in the OLT
  • ONU_ID is the identification of the ONU to which the OLT belongs.
  • the access network device sends a PADI message with the access line identifier added to the CP device.
  • the access network device After the access network device adds the access line identifier to the PADI message, it can directly send the PADI message to the CP device. That is, the access network device can directly communicate with the CP device. Or, in another possible implementation manner, the access network device may send the PADI message to the CP device through a default UP device. In this case, the access network device communicates with the CP device through the default UP device. Specifically, the access network device may send the PADI message to the default UP device, and the default UP device may forward the PADI message to the CP device.
  • the default UP device can pass the communication between the default UP device and the CP device after receiving the PADI message.
  • the service interface (Is) transmits the PADI message to the CP device.
  • the access network device can directly transmit the PADI message to the virtual local area network (VLAN) The default UP device.
  • VLAN virtual local area network
  • a virtual extended local area network can be established between the access network device and the default UP device tunnel.
  • the access network device can encapsulate the PADI message into a VxLAN message, and then send the message to the default UP device through the VxLAN tunnel.
  • the CP device receives the PADI message and parses the PADI message to obtain access line information.
  • the CP device After receiving the PADI message, the CP device can parse the PADI message, thereby extracting access line information from the PADI message.
  • the CP device sends a PPPoE active discovery offer (PADO) message to the terminal through the access network device.
  • PADO PPPoE active discovery offer
  • the CP device can send a PADO message to the access network device, and the access network device can forward the PADO message to the terminal after receiving the PADO message.
  • the PADO message carries information such as the MAC address of the CP device and the identity of the CP device, and the PADO message is used to notify the terminal to allow it to establish a connection with the CP device.
  • the terminal receives the PADO message, and sends a PPPoE active discovery request (PADR) message to the CP device through the access network device.
  • PADR PPPoE active discovery request
  • the terminal After the terminal receives the PADO message, it can reply to the CP device through the access network device with a PADR message, where the PADR message is used to notify the CP device that the terminal confirms to accept the connection provided by the CP device.
  • the CP device receives the PADR message and sends a PPPoE active discovery session-confirmation (PADS) message to the terminal through the access network device.
  • PADS PPPoE active discovery session-confirmation
  • the PADS carries a session identifier. So far, the negotiation of the PPPoE discovery phase between the CP device and the terminal is completed.
  • the session negotiation phase is then entered.
  • the terminal receives the PADS message, and sends a link control protocol (link control protocol, LCP) negotiation request to the CP device through the access network device, and the LCP negotiation request carries user information.
  • link control protocol link control protocol, LCP
  • the user information may include the user name and password of the terminal.
  • the terminal can send the LCP negotiation request to the access network device.
  • the access network device receives the LCP negotiation request, if the access network device directly establishes a communication connection with the CP device, the access network device will directly establish a communication connection with the CP device.
  • the network access device can directly send the LCP negotiation request to the CP device. If the access network device communicates with the CP device through the default UP device, the access network device can send the LCP negotiation request to the default UP device. After receiving the LCP negotiation request, the default UP device can send the LCP negotiation request to the CP device through the Is service channel.
  • the CP device receives the LCP negotiation request, and obtains user information from the LCP negotiation request.
  • the CP device can extract the user information from the LCP negotiation request.
  • the CP device has acquired the access line information and user information of the terminal to be accessed.
  • the CP device can obtain the SLA level of the terminal through step 302.
  • Step 302 The CP device obtains the SLA level of the terminal according to the user information, and the SLA level is used to indicate the service quality level of the terminal.
  • the CP device can initiate authentication to the AAA server.
  • the CP device may carry the user information in the authentication request and send it to the AAA server.
  • the AAA server can authenticate the terminal according to the authentication request. If the authentication is passed, the AAA server can obtain the SLA level corresponding to the user information of the terminal from the corresponding relationship between the stored user information and the SLA level according to the user information, and carry the obtained SLA level in the authentication passed message Send to CP device.
  • the authentication pass message may also carry other authorization information of the terminal, such as the terminal's quality of service (QoS), access control list (access control list, ACL), etc.
  • QoS quality of service
  • ACL access control list
  • a correspondence relationship between user information and SLA levels may be stored in the CP device.
  • the AAA server can directly send an authentication pass message to the CP device.
  • the authentication pass message may not carry the SLA level of the terminal.
  • the CP device can obtain the SLA level corresponding to the user information of the terminal from the user information and SLA level stored in itself, and use the obtained SLA level as the SLA level of the terminal.
  • the CP device may send accounting start information to the AAA server to instruct the AAA server to start accounting for the terminal.
  • the CP device can assign an IP address and corresponding Domain Name System (DNS) information to the terminal through the Network Control Protocol (NCP) of PPPoE.
  • DNS Domain Name System
  • Step 303 The CP device determines the target UP device according to the SLA level.
  • the CP device After acquiring the SLA level, the CP device can acquire the device identifier corresponding to the SLA level of the terminal from the stored correspondence between the SLA level and the device identifier, and use the device identified by the acquired device identifier as the target UP device.
  • SLA levels and device identifiers are pre-configured, and different SLA levels correspond to different device identifiers. That is, in this embodiment of the present application, different UP devices may be used to provide services for users of different SLA levels. For example, if the SLA level is A, the corresponding device ID is ID1, and the SLA level is B, and the corresponding device ID is ID3. In this way, different SLA levels will correspond to different UP devices.
  • Step 304 The CP device generates user entry information.
  • the CP device can generate routing information for the terminal.
  • authorization information such as the IP address assigned to the terminal, the terminal's MAC address, the terminal's routing information, and the terminal's QoS and ACL are used as user table entry information.
  • Step 305 The CP sends the user entry information to the target UP device.
  • the CP can deliver the generated user entry information to the target UP device through a control interface (Ic) with the target UP device.
  • Ic control interface
  • the target UP device can generate a user forwarding entry based on the user table entry information, generate a user route at the same time, and notify other related devices of the user route, so that subsequent data messages from the terminal can be received according to the user The forwarding entry and user routing forward the data message.
  • Step 306 The CP device sends the access line information and the device information of the target UP device to the SDN controller.
  • the CP device may also deliver the device information of the target UP device and the access line information of the terminal to the SDN controller.
  • the device information of the target UP device may include VLAN information corresponding to the target port on the target UP device, where the target port refers to the port allocated for the terminal.
  • the device information of the target UP device may include the network identifier of the virtual extensible local area network VxLAN corresponding to the target UP device.
  • the device information of the target UP device may also include the device identification of the target UP device and the port of the target port. Information and other information for the SDN controller to store.
  • the CP device can deliver the access line information and the device information of the target UP device to the SDN controller through the restful interface.
  • the information model transmitted by the restful interface can be:
  • OLTID/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID is the access line information.
  • NAS_UpIdentifier refers to the device identifier of the target UP device
  • NAS_slot refers to the slot of the target UP device
  • NAS_subslot refers to the subslot of the target UP device
  • NAS_port refers to the target port assigned to the terminal in the target device
  • SVLAN.CVLAN refers to this The VLAN corresponding to the destination port.
  • step 304 the order of execution of this step and step 304 is in no particular order, that is, the CP device can execute step 304 first, and then execute step 306, or it can execute step 306 first, and then execute step 304, or the CP device can Steps 304 and 306 are performed at the same time, which is not limited in the embodiment of the present application.
  • Step 307 The SDN controller controls the terminal to access the target UP device according to the access line information and the device information of the target UP device.
  • this step can be implemented in different ways according to the difference of the network between the access network device and the target UP device.
  • the SDN controller can determine the VLAN information corresponding to the terminal according to the access line information; According to the device identifier of the OLT, a migration instruction is sent to the OLT.
  • the migration instruction carries the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port on the target UP device, and the migration instruction is used To instruct the OLT to connect the terminal to the target UP device according to the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port on the target UP device.
  • the topology information of the network is stored in the SDN controller.
  • the SDN controller can determine the VLAN information corresponding to the terminal according to the device identification of the OLT and the identification of the ONU in the access line information.
  • the VLAN information corresponding to the terminal refers to the VLAN information corresponding to the terminal when dialing. That is, the VLAN information corresponding to the terminal is actually the VLAN information corresponding to the default UP device.
  • the SDN controller may obtain the VLAN information corresponding to the target port of the target UP device from the received device information of the target UP device.
  • the SDN controller can directly establish the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, the device identification of the target UP device, and the port information of the target port of the target UP device. And the mapping relationship between the VLAN information corresponding to the target port.
  • the SDN controller can deliver to the OLT identified by the OLT's device identification through the netconf interface according to the stored network topology information and the device identification of the OLT in the access line information
  • the migration instruction may carry the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the VLAN information corresponding to the target port.
  • the OLT can search for a record containing the port information carried in the migration instruction and the VLAN information corresponding to the terminal from the stored mapping relationship between port information and VLAN information.
  • the VLAN information corresponding to the port information in the record is updated to the VLAN information corresponding to the target port.
  • the OLT remaps the VLAN accessed by the terminal during dial-up to a new VLAN, and subsequently when receiving a data message sent by the terminal, it can forward the data message of the terminal to the corresponding destination according to the mapping relationship.
  • the UP device and in turn, the target UP device forwards the data message of the terminal according to the generated user forwarding entry and the user route of the terminal.
  • the terminal can be guaranteed subsequent access to the target UP device without access to the default UP device.
  • Fig. 5 is a schematic diagram of controlling a terminal to access a target UP device according to an embodiment of the present application.
  • the VLAN corresponding to the terminal when dialing is VLAN 101, which is the VLAN corresponding to the default UP device.
  • the OLT or switch maps the terminal to VLAN 101, so the dial protocol message will be Forward to the default UP device.
  • the SDN controller issues the migration instruction carrying the VLAN information corresponding to the target port of the target UP device to the OLT or switch.
  • the OLT or switch remaps the terminal to the target VLAN 102 indicated by the VLAN information corresponding to the port. Since VLAN 102 is the VLAN corresponding to the target port of the target UP device, after the subsequent OLT or switch receives the data message of the terminal, it can forward the data message to the target UP device through the remapped VLAN 102.
  • the SDN controller can determine the VLAN information corresponding to the terminal according to the access line information; send a migration instruction to the OLT according to the device identification of the OLT,
  • the migration instruction carries the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the network identifier of the VxLAN corresponding to the target UP device, and the migration instruction is used to instruct the OLT according to the port of the port connected to the terminal in the OLT Information, the VLAN information corresponding to the terminal, and the network identifier of the VxLAN corresponding to the target UP device to connect the terminal to the target UP device.
  • a VxLAN tunnel may be established between the access network device and the target UP device.
  • the SDN controller can carry the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the network identifier of the VxLAN corresponding to the target UP device in the migration.
  • the instruction is issued to the OLT.
  • the port connected to the terminal in the OLT and the VLAN corresponding to the terminal are mapped to the VxLAN corresponding to the default UP device. That is, what is stored in the OLT is the mapping relationship between the port information of the port connected to the terminal in the OLT, the VLAN information corresponding to the terminal, and the network identifier of the VxLAN corresponding to the default UP device.
  • the SDN controller receives the device information of the target UP device, in order to control the terminal to access the target UP device, it needs to map the terminal's access port and VLAN to the VxLAN corresponding to the target UP device. Based on this, the SDN controller can deliver the VxLAN corresponding to the target UP device to the OLT.
  • the OLT After receiving the migration instruction issued by the SDN controller, the OLT can search for the above-mentioned port from the stored mapping relationship based on the port information of the port connected to the terminal and the VLAN information corresponding to the terminal carried in the migration instruction After that, update the VxLAN network identifier corresponding to the port information and VLAN information in the searched record to the VxLAN network identifier corresponding to the target UP device.
  • Fig. 6 is a schematic diagram of another control terminal to access a target UP device provided by an embodiment of the present application.
  • the terminal accesses VLAN101 when dialing, and maps the terminal's access port and corresponding VLAN101 to VxLAN1 and VNI100 interconnected with the default UP device.
  • the SDN controller After determining the target UP device, the SDN controller carries the VxLAN network identifier corresponding to the target UP device in the migration instruction and sends it to the OLT or switch.
  • the OLT or switch After receiving the migration instruction, the OLT or switch remaps the access port of the terminal and the VLAN 101 corresponding to the terminal to the VxLAN2 VNI100 corresponding to the target UP device. Since the VxLAN2 VNI100 is the VxLAN corresponding to the target UP device, after the subsequent OLT or switch receives the data message of the terminal, it can forward the data message to the target UP device through the remapped VxLAN.
  • the CP device may obtain the SLA level according to the user information of the terminal, and then determine the target UP device corresponding to the terminal according to the SLA level of the terminal, and then control the terminal to access the corresponding target UP device. Since the corresponding target UP device can be determined according to the SLA level of the terminal, terminals of different SLA levels can be connected to different UP devices, that is, specific terminals can be connected to the designated UP device. This solves the problem that the UP device accessed by the terminal is relatively random in the related art. In addition, since the SLA level can be used to indicate the service quality level corresponding to the terminal, after the terminals of different SLA levels are connected to different UP devices, differentiated services can be provided on different UP devices to meet user needs , Improve revenue.
  • an embodiment of the present application provides an apparatus 700 for accessing a gateway.
  • the apparatus 700 includes a first obtaining module 701, a second obtaining module 702, a determining module 703, and a control module 704.
  • the first obtaining module 701 is used to obtain access line information and user information of the terminal.
  • this function refer to step 301 in the embodiment shown in FIG. 3 and the implementation process of the CP in the embodiment shown in FIG. 4.
  • the second obtaining module 702 is configured to obtain the service level agreement SLA level of the terminal according to the user information, and the SLA level is used to indicate the service quality level of the terminal.
  • the SLA level is used to indicate the service quality level of the terminal.
  • the determining module 703 is configured to determine the target user plane UP device according to the SLA level. For the specific implementation of this function, refer to the implementation process of the CP in the step 303 in the embodiment shown in FIG. 3.
  • the control module 704 is configured to control the terminal to access the target UP device according to the access line information.
  • this function refer to the implementation process of the CP in the step 306 in the embodiment shown in FIG. 3.
  • the device information of the target UP device includes the device identifier of the target UP device, port information of the target port of the target UP device allocated to the terminal, and virtual local area network VLAN information corresponding to the target port.
  • the device information of the target UP device includes the device identifier of the target UP device, and the network identifier of the virtual extensible local area network VxLAN corresponding to the target UP device.
  • the device 700 may further include a generating module and a sending module.
  • the generating module is used to generate user entry information.
  • this function refer to the implementation process of the CP in the step 304 in the embodiment shown in FIG. 3.
  • the sending module is used to send the user entry information to the target UP device to instruct the target UP device to forward the data message sent after the terminal is successfully connected according to the user entry information.
  • this function refer to the implementation process of the CP in the step 305 in the embodiment shown in FIG. 3.
  • the user entry information includes the Internet Protocol IP address allocated to the terminal, the MAC address of the terminal, the routing information of the terminal, and the authorization information of the terminal.
  • the embodiments of the present application can obtain the SLA level according to the user information of the terminal, and then determine the target UP device corresponding to the terminal according to the SLA level of the terminal, and then control the terminal to access the corresponding target UP device. Since the corresponding target UP device can be determined according to the SLA level of the terminal, terminals of different SLA levels can be connected to different UP devices, that is, specific terminals can be connected to the designated UP device. This solves the problem that the UP device accessed by the terminal is relatively random in the related art. In addition, since the SLA level can be used to indicate the service quality level corresponding to the terminal, after the terminals of different SLA levels are connected to different UP devices, differentiated services can be provided on different UP devices to meet user needs , Improve revenue.
  • an embodiment of the present application provides an apparatus 800 for accessing a gateway, and the apparatus 800 includes:
  • the receiving module 801 is configured to receive the access line information of the terminal and the device information of the target UP device sent by the CP device.
  • the target UP device is the UP device corresponding to the SLA level of the terminal;
  • the control module 802 is configured to control the terminal to access the target UP device according to the access line information and the device information of the target UP device.
  • this function refer to the implementation process of the SDN controller in step 307 in the embodiment shown in FIG. 3.
  • the terminal is connected to an access network device
  • the access network device includes the OLT
  • the access line information includes the device identifier of the OLT, the port information of the port connected to the terminal in the OLT, and the identifier of the optical network unit ONU to which the OLT belongs.
  • the device information of the target UP device includes virtual local area network VLAN information corresponding to the target port on the target UP device, and the target port refers to the port allocated for the terminal.
  • the terminal is connected to an access network device
  • the access network device includes an optical line terminal OLT
  • the access line information includes the device identification of the OLT, port information of the port connected to the terminal in the OLT, and the optical network unit ONU to which the OLT belongs
  • the device information of the target UP device includes the network identifier of the virtual extensible local area network VxLAN corresponding to the target UP device.
  • the SDN controller after receiving the terminal access line information and the device information of the target UP device sent by the CP device, the SDN controller can control the terminal access according to the access line information and the device information of the target UP device To the target UP device.
  • the target UP device is the UP device corresponding to the SLA level of the terminal, that is, this application can connect the terminal to the designated UP device, which solves the problem that the UP device accessed by the terminal is relatively random in related technologies.
  • the device for accessing the gateway controls the terminal to access the gateway
  • only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functions as required.
  • the function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above.
  • the device for accessing the gateway provided in the foregoing embodiment and the embodiment of the method for accessing the gateway belong to the same concept, and the specific implementation process is detailed in the method embodiment, and will not be repeated here.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example: floppy disk, hard disk, tape), optical medium (for example: Digital Versatile Disc (DVD)), or semiconductor medium (for example: Solid State Disk (SSD) )Wait.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Power Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种接入网关的方法及装置,属于通信技术领域。本申请可以根据终端的用户信息获取SLA等级,进而根据终端的SLA等级确定该终端对应的UP设备。这样,可以将不同SLA等级的终端分配到不同的UP设备上承载,使得特定终端可以接入到指定的UP设备,解决了相关技术中终端接入的UP设备较为随机的问题。另外,由于SLA等级可以用于指示终端的服务质量等级,因此,在将不同SLA等级的终端接入到不同的UP设备之后,可以在不同的UP设备上提供差异化服务,从而满足用户需求,提高收益。

Description

接入网关的方法及装置
本申请要求了2019年4月24日提交的,申请号为201910332103.0,发明名称为“接入网关的方法及装置”的中国申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别涉及一种接入网关的方法及装置。
背景技术
随着软件定义型网络(software designed network,SDN)技术以及网络功能虚拟化(network function virtualization,NFV)技术的发展,宽带网络网关(broadband network gateway,BNG)基于SDN技术和NFV技术的架构实现了控制功能与转发功能的解耦。其中,可以将基于SDN技术和NFV技术的架构实现控制功能与转发功能解耦的BNG称为虚拟宽带网络网关(virtual broadband network gateway,vBNG)。通常,vBNG可以包括控制面(control plane,CP)设备以及多个用户面(user plane,UP)设备,且CP设备可以对多个UP设备进行管理。
相关技术中,终端在接入vBNG时,CP设备可以根据多个UP设备中每个UP设备当前与其他终端已建立的用户会话的数量或者每个UP设备的负载,从多个UP设备中确定一个UP设备,并分配给该终端,之后,终端可以接入为其分配的UP设备。
然而,由于CP设备是根据每个UP设备的当前用户会话数量或当前负载来为终端分配UP设备的,因此,终端接入的UP设备较为随机,无法实现将终端接入指定的UP设备,自然也就无法通过指定的UP设备为终端提供针对性的服务。
发明内容
本申请提供了一种接入网关的方法及装置,可以用于解决相关技术中终端接入的UP设备较为随机的问题。所述技术方案如下:
第一方面,提供了一种接入网关的方法,所述方法包括:获取终端的接入线路信息和用户信息;根据所述用户信息,获取所述终端的服务水平协议SLA等级,所述SLA等级用于指示所述终端的服务质量等级;根据所述SLA等级确定目标用户面UP设备;根据所述接入线路信息控制所述终端接入所述目标UP设备。
本申请实施例可以根据终端的用户信息获取该终端的SLA等级,进而根据该终端的SLA等级确定该终端对应点UP设备。这样,可以将不同SLA等级的终端分配到不同的UP设备上承载,从而使得特定终端可以接入到指定的UP设备,解决了相关技术中终端接入的UP设备较为随机的问题。另外,由于SLA等级可以用于指示终端的服务质量等级,因此,根据终端的SLA等级将终端接入到对应的UP设备之后,可以通过该UP设备为该终端提供差异化服务,从而满足用户需求,提高收益。
可选的,所述根据所述用户信息,获取所述终端的服务水平协议SLA等级的实现过程可以为:向认证授权计费AAA服务器发送所述用户信息,以指示所述AAA服务器获取所述终端的SLA等级;接收所述AAA服务器发送的所述终端的SLA等级。
在本申请实施例中,CP设备可以将终端的用户信息发送至AAA服务器,以便AAA服务器可以根据该用户信息对该终端进行认证授权。在AAA服务器对该终端的认证通过之后,AAA服务器可以根据该终端的用户信息获取到该终端的SLA等级,进而将该SLA等级返回至CP设备。
可选地,所述根据所述用户信息,获取所述终端的服务水平协议SLA等级的实现过程也可以为:根据所述用户信息,从存储的用户信息与SLA等级的对应关系中获取所述终端的SLA等级。也即,CP设备中可以存储有用户信息与SLA等级的对应关系,在这种情况下,CP设备可以直接根据该用户信息获取该终端的SLA等级。
可选地,所述根据所述SLA等级确定目标用户面UP设备的实现过程可以为:从存储的SLA等级与设备标识的对应关系中获取所述终端的SLA等级对应的的设备标识;将获取的设备标识所标识的设备确定为所述目标UP设备。
其中,不同的SLA等级可以对应有不同的UP设备,这样,SLA等级不同的终端对应的UP设备将不同,而相同的SLA等级的终端对应的UP设备可以相同,如此,通过不同的UP设备可以为不同SLA等级的终端提供差异化的服务。
可选地,所述根据所述接入线路信息控制所述终端接入所述目标UP设备的过程可以为:向软件定义型SDN网络控制器发送所述接入线路信息以及所述目标UP设备的设备信息,以指示所述SDN控制器控制所述终端接入所述目标UP设备。
可选地,所述目标UP设备的设备信息包括所述目标UP设备的设备标识、为所述终端分配的所述目标UP设备的目标端口的端口信息以及所述目标端口对应的虚拟局域网VLAN信息。
可选地,所述目标UP设备的设备信息包括所述目标UP设备的设备标识、所述目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。
其中,当UP设备与接入网络设备之间为三层网络时,UP设备与接入网络设备之间可以建立有VxLAN隧道,在这种情况下,为了可以将终端映射到该目标UP设备,该目标UP设备的设备信息中可以包括VxLAN的网络标识符。
可选地,所述根据所述SLA等级确定所述目标用户面UP设备之后,还包括:生成用户表项信息;向所述目标UP设备发送所述用户表项信息,以指示所述目标UP设备根据所述用户表项信息转发所述终端接入成功后发送的数据报文。
CP设备在确定目标UP设备之后,可以向目标UP设备下发该终端的用户表项信息,以便该目标UP设备可以根据该用户表项信息来对后续该终端发送的数据报文进行转发。
可选地,所述用户表项信息包括为所述终端分配的互联网协议IP地址、所述终端的MAC地址、所述终端的路由信息以及所述终端的授权信息。
可选地,所述获取终端的接入线路信息和用户信息的实现过程可以为:接收所述终端通过接入网络设备发送的拨号协议报文,所述拨号协议报文中携带有所述接入线路信息;接收所述终端通过所述接入网络设备发送的链路控制协议LCP协商请求,所述LCP协商请求携带有所述用户信息。
在终端进行拨号的过程中,可以将接入线路信息携带在拨号协议报文中发送至CP设备。之后,在终端与CP设备进行会话协商的过程中,可以将终端的用户信息携带在LCP协商请求中发送给CP设备。
可选地,所述接入网络设备包括光线路终端OLT;相应地,所述接入线路信息包括所述 终端的媒体访问控制MAC地址、所述OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识。
第二方面,提供了一种接入网关的方法,所述方法包括:接收控制面CP设备发送的终端的接入线路信息和目标UP设备的设备信息,所述目标UP设备是所述终端的SLA等级对应的UP设备;根据所述接入线路信息和所述目标UP设备的设备信息,控制所述终端接入所述目标UP设备。
在本申请实施例中,SDN控制器在接收到CP设备发送的终端接入线路信息和目标UP设备的设备信息之后,可以根据该接入线路信息和目标UP设备的设备信息,控制终端接入到目标UP设备。其中,由于目标UP设备是终端的SLA等级对应的UP设备,也即,本申请可以将终端接入到指定的UP设备上,解决了相关技术中终端接入的UP设备较为随机的问题。
可选地,所述接入线路信息包括所述终端连接的接入网络设备包括的OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识,当接入网络设备与目标UP设备之间为二层网络时,所述目标UP设备的设备信息包括所述目标UP设备上的目标端口对应的虚拟局域网VLAN信息,所述目标端口是指为所述终端分配的端口。其中,所述目标UP设备的设备信息中还可以包括目标UP设备的设备标识以及目标端口的端口信息,以便SDN控制器可以存储并维护这些信息。
相应地,根据所述接入线路信息和所述目标UP设备的设备信息,控制所述终端接入所述目标UP设备的实现过程可以为:根据所述接入线路信息,确定所述终端对应的VLAN信息;根据所述OLT的设备标识,向所述OLT发送迁移指令,所述迁移指令携带所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标端口对应的VLAN信息,且所述迁移指令用于指示所述OLT根据所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标端口对应的VLAN信息,将所述终端接入所述目标UP设备。
其中,终端对应的VLAN信息是指终端在拨号时接入的的VLAN的标识,也即,缺省的UP设备对应的VLAN的信息。由于本申请实施例中将终端对应的VLAN信息以及目标UP设备的目标端口对应的VLAN信息发送至了OLT,因此,OLT可以根据接收到的信息将终端在拨号时对应的VLAN重新映射到目标UP设备的目标端口对应的VLAN,这样,即使目标UP设备与终端拨号时缺省的UP设备的MAC地址一致,也可以保证终端后续接入目标UP设备,而不会接入到缺省的UP设备。
可选地,所述接入线路信息包括所述终端连接的接入网络设备包括的OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识,当接入网络设备与目标UP设备之间为三层网络时,接入网络设备与目标UP设备之间可以建立有VxLAN隧道,所述目标UP设备的设备信息包括所述目标UP设备的设备标识、所述目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。在这种情况下,根据所述接入线路信息和所述目标UP设备的设备信息,控制所述终端接入所述目标UP设备的实现过程可以为:根据所述接入线路信息,确定所述终端对应的VLAN信息;根据所述OLT的设备标识,向所述OLT发送迁移指令,所述迁移指令携带所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息以及所述目标UP设备对应的VxLAN的网络标识符,且所述迁移指令用于指示所述OLT根据所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息以及所述目标UP设备对应的VxLAN的网络标识符,将所述终端接入所述目标UP设备。
第三方面,提供了一种接入网关的装置,所述接入网关的装置具有实现上述第一方面或第二方面中接入网关的方法行为的功能。所述接入网关的装置包括至少一个模块,该至少一个模块用于实现上述第一方面或第二方面所提供的接入网关的方法。
第四方面,提供了一种接入网关的装置,所述接入网关的装置的结构中包括处理器和存储器,所述存储器用于存储支持接入网关的装置执行上述第一方面或第二方面所提供的接入网关的方法的程序,以及存储用于实现上述第一方面或第二方面所提供的接入网关的方法所涉及的数据。所述处理器被配置为用于执行所述存储器中存储的程序。所述存储设备的操作装置还可以包括通信总线,该通信总线用于该处理器与存储器之间建立连接。
第五方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第二方面所述的接入网关的方法。
第六方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第二方面所述的接入网关的方法。
上述第二方面、第三方面、第四方面、第五方面和第六方面所获得的技术效果与第一方面中对应的技术手段获得的技术效果近似,在这里不再赘述。
本申请提供的技术方案带来的有益效果至少包括:
本申请实施例可以根据终端的用户信息获取SLA等级,进而根据终端的SLA等级确定该终端对应的UP设备。这样,可以将不同SLA等级的终端分配到不同的UP设备上承载,使得特定终端可以接入到指定的UP设备,解决了相关技术中终端接入的UP设备较为随机的问题。另外,由于SLA等级可以用于指示终端的服务质量等级,因此,在将不同SLA等级的终端接入到不同的UP设备之后,可以在不同的UP设备上提供差异化服务,从而满足用户需求,提高收益。
附图说明
图1是本申请实施例提供的接入网关的方法的实施环境图;
图2是本申请实施例提供的一种网络设备的结构示意图;
图3是本申请实施例提供的一种接入网关的方法流程图;
图4是本申请实施例提供的一种获取终端的用户信息和接入线路信息的方法流程图;
图5是本申请实施例示出的一种控制终端接入目标UP设备的示意图;
图6是本申请实施例示出的另一种控制终端接入目标UP设备的示意图;
图7是本申请实施例提供的一种接入网关的装置结构示意图;
图8是本申请实施例提供的另一种接入网关的装置结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进 一步地详细描述。
在对本申请实施例进行详细的解释说明之前,先对本申请实施例涉及的系统架构进行介绍。
图1是本申请实施例提供的接入网关的方法所涉及的一种系统架构图。如图1所示,该系统中包括终端10、接入网络设备20、vBNG30、认证授权计费(authentication authorization accounting,AAA)服务器40、SDN控制器50。
其中,终端10可以是与接入网络设备20直接连接的智能手机、台式机、便携式电脑、平板电脑等用户设备。
或者,终端10可以是指家庭网关(residential gateway,RGW)。当终端10是指RGW时,该RGW可以连接有多个诸如智能手机、台式机、便携式电脑的用户设备,该多个用户设备接入该RGW。在这种情况下,RGW可以对接入的用户设备进行网络地址转换(network address translation,NAT)处理。另外,RGW可以与接入网络设备20进行通信,通过接入网络设备20进行以太网上的点对点协议(point-to-point protocol over ethernet,PPPoE)、以太网上的互联网协议(internet protocol over ethernet,IPoE)拨号,以从vBNG30获取IP地址,从而根据获取的IP地址接入vBNG30。这样,当RGW接入vBNG30之后,接入该RGW的用户设备即可以通过该RGW接入vBNG,进而进行网络访问。
接入网络设备20可以包括光线路终端(optical line termination,OLT)201和/或交换机(switch,SW)202。其中,当接入网络设备包括OLT201和SW202时,OLT201可以分别与终端10和SW202进行通信。示例性地,OLT201可以接收终端10发送的拨号协议报文以及数据报文并将接收到的报文转发给SW202。另外,OLT201还可以接收SW202返回的信息,并将接收到的信息转发给终端10。
vBNG30包括CP设备301和多个UP设备302。其中,CP设备301分别与接入网络设备20、AAA服务器40以及SDN控制器50建立有通信连接,并且,CP设备301可以通过本申请实施例提供的接入网关的方法控制终端10接入多个UP设备302中的一个UP设备302。UP设备302分别与CP设备301和接入网络设备20连接。当CP设备301通过本申请实施例提供的接入网关的方法为终端10确定了要接入的UP设备302之后,可以向确定的UP设备302发送用户表项信息。相应的,UP设备302可以接收CP设备301发送的用户表项信息,并在接收到接入网络设备20转发的由终端10发送的数据报文之后,根据接收到的用户表项信息对终端10的数据报文进行转发。
AAA服务器40可以与vBNG30包括的CP设备301进行通信。其中,AAA服务器可以接收CP设备301发送的终端10的用户信息,并根据该用户信息对终端10进行认证、授权和计费。另外,在本申请实施例中,AAA服务器40还可以根据该用户信息来确定终端10对应的SLA,并向CP设备301反馈该SLA,以便CP设备301根据该SLA为终端10选择对应的UP设备302,从而使得终端10可以接入对应的UP设备302。
SDN控制器50可以与vBNG30包括的CP设备301进行通信。其中,CP设备301在为终 端10选择对应的UP设备302之后,可以向该SDN控制器下发终端10的信息以及选择的UP设备302的信息,以便SDN控制器可以控制终端10接入对应的UP设备302。
需要说明的是,在本申请实施例中,CP设备301可以作为虚拟网络功能(VNF)单元,运行在服务器上。UP302可以作为VNF单元运行在服务器上,也可以是传统的物理网络功能(PNF)设备。
图2是本发明实施例提供的一种网络设备的结构示意图。图1中的vBNG以及SDN控制器可以通过图2所示的网络设备来实现。参见图2,该网络设备包括至少一个处理器201,通信总线202,存储器203以及至少一个通信接口204。
处理器201可以是一个通用中央处理器(Central Processing Unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。
通信总线202可包括一通路,在上述组件之间传送信息。
存储器203可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,随机存取存储器(random access memory,RAM))或者可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器203可以是独立存在,通过通信总线202与处理器201相连接。存储器203也可以和处理器201集成在一起。
通信接口204,使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。
在具体实现中,作为一种实施例,处理器201可以包括一个或多个CPU,例如图2中所示的CPU0和CPU1。
在具体实现中,作为一种实施例,该网络设备可以包括多个处理器,例如图2中所示的处理器201和处理器205。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,该网络设备设备还可以包括输出设备206和输入设备207。输出设备206和处理器201通信,可以以多种方式来显示信息。例如,输出设备206可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备207和处理器201通信,可以以多种方式接收用户的输入。例如,输入设备207 可以是鼠标、键盘、触摸屏设备或传感设备等。
上述的网络设备可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中,该网络设备可以是台式机、网络服务器、无线终端设备、通信设备或者嵌入式设备。本发明实施例不限定该网络设备的类型。
其中,当该网络设备用来实现图1中所示的vBNG时,存储器203用于存储执行下述方法实施例中步骤301-306的程序代码,当该网络设备用来实现图1中所示的SDN控制器时,存储器203用于存储执行下述方法实施例中的步骤307的程度代码。处理器201用于执行存储器203中存储的程序代码208。程序代码208中可以包括一个或多个软件模块。图1中所示的vBNG或SDN控制可以通过处理器201以及存储器203中的程序代码208中的一个或多个软件模块,来控制终端接入到vBNG中包括的UP设备上。
接下来对本申请实施例提供的接入网关的方法进行介绍。
图3是本申请实施例提供的一种接入网关的方法。该方法可以应用于图1所示的系统中,如图3所示,该方法包括以下步骤:
步骤301:CP设备获取终端的接入线路信息和用户信息。
在本申请实施例中,当终端上线时,终端可以通过接入网络设备进行拨号,从而与CP设备进行交互,相应地,CP设备可以在与终端交互的过程获取该终端的接入线路信息以及该终端的用户信息。
接下来以PPPoE拨号为例来说明CP设备获取终端的接入线路信息和用户信息的实现过程,如图4所示,该过程包括以下几个步骤:
3011:终端发送PPPoE活动发现初始(PPPoE Active Discovery Initiation,PADI)报文,该PADI报文中携带有终端的媒体访问控制(media access control,MAC)地址。
其中,接入线路信息包括该终端的MAC地址。
3012:接入网络设备接收该PADI报文,并在该PADI报文中添加接入线路标识。
其中,接入网络设备在接收到该PADI报文之后,可以将用于指示该终端接入网络时的接入线路的标识添加在该PADI报文中。具体地,接入网络设备可以在该PADI报文中添加tag字段,通过该tag字段来携带该接入线路标识。
例如,以接入网络设备包括OLT为例,OLT可以将自身的设备标识、与终端连接的端口的端口信息以及该OLT所属的光网络单元(ONU)的标识作为接入线路标识添加在tag字段中,并将该tag字段携带在PADI报文中。此时,该PADI报文中携带的该终端的MAC地址、OLT的设备标识、OLT中与终端连接的端口的端口信息以及OLT所属的ONU的标识即为接入线路信息。当然,除了上述信息之外,该接入线路标识中还可以包括其他信息。
其中,PADI报文的tag字段中携带的接入线路标识的格式可以为:OLTID/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID。其中,OLTID即为OLT的设备标识,ANI_frame为OLT的框,ANI_slot为OLT的槽,ANI_subslot为OLT的子槽,ANI_port为OLT中与终端连接的端口,ONU_ID为OLT所属的ONU的标识。
3013:接入网络设备向CP设备发送添加了接入线路标识的PADI报文。
接入网络设备在将接入线路标识添加至PADI报文中之后,可以直接将该PADI报文发送至CP设备。也即,接入网络设备可以直接与CP设备进行通信。或者,在另一种可能的实现方式中,接入网络设备可以通过一个缺省的UP设备将该PADI报文发送至CP设备。在这种情况中,接入网络设备通过缺省的UP设备与CP设备通信。具体地,接入网络设备可以将该PADI报文发送至缺省的UP设备,该缺省的UP设备可以将该PADI报文转发至CP设备。
需要说明的是,当通过缺省的UP设备向CP设备发送该PADI报文时,缺省的UP设备在接收到该PADI报文之后,可以通过该缺省的UP设备与CP设备之间的业务接口(service interface,Is)将该PADI报文传输至CP设备。
另外,值得注意的是,若接入网络设备与缺省的UP设备之间为二层网络,则接入网络设备可以直接通过虚拟局域网(virtual local area network,VLAN)将该PADI报文传输至缺省的UP设备。
可选地,若接入网络设备与缺省的UP设备之间为三层网络,则接入网络设备与缺省的UP设备之间可以建立有虚拟扩展局域网(virtual extensible local area network,VxLAN)隧道。这样,接入网络设备可以将PADI报文封装为VxLAN报文,进而通过该VxLAN隧道将该报文发送至缺省的UP设备。
3014:CP设备接收PADI报文,并对该PADI报文进行解析,以获取接入线路信息。
CP设备在接收到该PADI报文之后,可以对该PADI报文进行解析,从而从该PADI报文中提取接入线路信息。
3015:CP设备通过接入网络设备向终端发送PPPoE活动发现提议(PPPoE active discovery offer,PADO)报文。
当获取到接入线路信息之后,CP设备可以向接入网络设备发送PADO报文,接入网络设备在接收到该PADO报文之后,可以将该PADO报文转发给终端。其中,该PADO报文中携带有CP设备的MAC地址、该CP设备的标识等信息,且该PADO报文用于通知终端允许其与该CP设备建立连接。
3016:终端接收PADO报文,并通过接入网络设备向CP设备发送PPPoE活动发现请求(PPPoE active discovery request,PADR)报文。
当终端接收到PADO报文之后,可以通过接入网络设备向该CP设备回复PADR报文,其中,该PADR报文用于通知CP设备该终端确认接受该CP设备提供的连接。
3017:CP设备接收PADR报文,并通过接入网络设备向终端发送PPPoE活动发现会话确认(PPPoE active discovery session-confirmation,PADS)报文。
其中,该PADS中携带有会话标识。至此为止,CP设备与终端之间的PPPoE发现阶段的协商完成。
在发现阶段的协商完成之后,接下来进入会话协商阶段。
3018:终端接收PADS报文,并通过接入网络设备向CP设备发送链路控制协议(link control protocol,LCP)协商请求,该LCP协商请求中携带有用户信息。
其中,该用户信息可以包括终端的用户名和密码。
在本步骤中,终端可以将该LCP协商请求发送至接入网络设备,接入网络设备在接收到该LCP协商请求之后,若该接入网络设备直接与CP设备建立有通信连接,则该接入网络设备可以直接将该LCP协商请求发送至CP设备。若该接入网络设备通过缺省的UP设备与CP设备通信,则该接入网络设备可以将该LCP协商请求发送至缺省的UP设备。缺省的UP设备在接收到该LCP协商请求之后,可以通过Is业务通道将该LCP协商请求发送至CP设备。
3019:CP设备接收该LCP协商请求,从该LCP协商请求中获取用户信息。
由于该LCP协商请求中携带有用户信息,因此,CP设备在接收到该LCP协商请求之后,可以从该LCP协商请求中提取用户信息。
至此,CP设备获取到待接入的终端的接入线路信息和用户信息。接下来,CP设备可以通过步骤302来获取该终端的SLA等级。
需要说明的是,上述仅仅是以PPPoE拨号为例来对CP设备获取终端的用户信息和接入线路信息的过程进行说明。当然,若采用IPoE拨号,则可以CP设备可以在IPoE拨号时与终端的交互过程中获取用户信息和接入线路信息,本申请实施例对此不再赘述。
步骤302:CP设备根据用户信息,获取终端的SLA等级,该SLA等级用于指示终端的服务质量等级。
当CP设备获取到用户信息之后,CP设备可以向AAA服务器发起认证。示例性地,CP设备可以将该用户信息携带认证请求中发送至AAA服务器。AAA服务器在接收到该认证请求之后,可以根据该认证请求对该终端进行认证。若认证通过,则AAA服务器可以根据该用户信息,从存储的用户信息与SLA等级的对应的关系中,获取该终端的用户信息对应的SLA等级,并将获取的SLA等级携带在认证通过消息中发送至CP设备。其中,该认证通过消息中还可以携带该终端的其他授权信息,如该终端的服务质量(quality of service,QoS)、访问控制列表(access control list,ACL)等。
可选地,在一种可能的实现方式中,CP设备中可以存储有用户信息与SLA等级的对应关系。在这种情况下,当AAA服务器根据用户信息对该终端认证通过之后,AAA服务器可以 直接向CP设备发送认证通过消息,此时,该认证通过消息中可以不携带该终端的SLA等级。相应地,CP设备在接收到该认证通过消息之后,可以从自身存储的用户信息与SLA等级中获取该终端的用户信息对应的SLA等级,并将获取到的SLA等级作为该终端的SLA等级。
需要说明的是,在获取到终端的SLA等级之后,CP设备可以向AAA服务器发送计费开始信息,以指示AAA服务器开始对该终端进行计费。同时,CP设备可以通过PPPoE的网络控制协议(Network Control Protocol,NCP)为该终端分配IP地址以及对应的域名系统(Domain Name System,DNS)信息。
步骤303:CP设备根据该SLA等级确定目标UP设备。
在获取到SLA等级之后,CP设备可以从存储的SLA等级与设备标识的对应关系中获取终端的SLA等级对应的设备标识,并将获取的设备标识所标识的设备作为目标UP设备。
需要说明的是,SLA等级与设备标识的对应关系是预先配置的,其中,不同的SLA等级对应不同的设备标识。也即,在本申请实施例中,可以通过不同的UP设备为不同SLA等级的用户提供服务。例如,SLA等级为A的,对应的设备标识为ID1,SLA等级为B的,对应的设备标识为ID3,这样,不同的SLA等级将对应不同的UP设备。
步骤304:CP设备生成用户表项信息。
在确定目标UP设备之后,CP设备可以生成该终端的路由信息。之后,将为该终端分配的IP地址、该终端的MAC地址、该终端的路由信息以及该终端的QoS和ACL等授权信息作为用户表项信息。
步骤305:CP向目标UP设备发送该用户表项信息。
CP可以通过与目标UP设备之间的控制接口(control interface,Ic),将生成的用户表项信息下发至目标UP设备。
其中,目标UP设备可以根据该用户表项信息生成用户转发表项,同时生成用户路由,并向其他相关设备通告该用户路由,以便后续在接收到该终端的数据报文时,可以根据该用户转发表项和用户路由对该数据报文进行转发。
步骤306:CP设备向SDN控制器发送接入线路信息以及目标UP设备的设备信息。
在确定目标UP设备之后,CP设备还可以向SDN控制器下发目标UP设备的设备信息以及该终端的接入线路信息。其中,当接入网络与UP设备之间为二层网络时,目标UP设备的设备信息可以包括目标UP设备上的目标端口对应的VLAN信息,其中,目标端口是指为终端分配的端口。当接入网络与UP设备之间为三层网络时,目标UP设备的设备信息可以包括目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。当然,考虑到SDN控制器中维护有网络的拓扑信息,为了方便SDN控制器及时更新网络的拓扑信息,该目标UP设备的设备信息中还可以包括诸如目标UP设备的设备标识、目标端口的端口信息等其他信息,以便SDN控制器进行存储。
需要说明的是,在本申请实施例中,CP设备可以通过restful接口向SDN控制器下发该接入线路信息以及目标UP设备的设备信息。
例如,以接入网络与UP设备之间为二层网络为例,restful接口传递的信息模型可以为:
OLTID/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID,NAS_UpIdentifier/NAS_slot/NAS_subslot/NAS_port:SVLAN.CVLAN。其中,如前述步骤3012中的介绍可知,OLTID/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID为接入线路信息。NAS_UpIdentifier是指目标UP设备的设备标识,NAS_slot是指目标UP设备的槽位,NAS_subslot是指目标UP设备的子槽位,NAS_port是指目标设备中为终端分配的目标端口,SVLAN.CVLAN是指该目标端口对应的VLAN。
需要说明的是,本步骤和步骤304的执行顺序不分先后,也即,CP设备可以先执行步骤304,再执行步骤306,也可以先执行步骤306,再执行步骤304,或者,CP设备可以同时执行步骤304和306,本申请实施例对此不做限定。
步骤307:SDN控制器根据该接入线路信息和目标UP设备的设备信息,控制终端接入目标UP设备。
在本申请实施例中,根据接入网络设备与目标UP设备之间的网络的不同,本步骤可以有不同的实现方式。
当接入网络设备与目标UP设备之间为二层网络时,在接收到接入线路信息和目标UP设备的设备信息之后,SDN控制器可以根据接入线路信息,确定终端对应的VLAN信息;根据OLT的设备标识,向OLT发送迁移指令,该迁移指令携带OLT中与终端连接的端口的端口信息、终端对应的VLAN信息以及目标UP设备上的目标端口对应的VLAN信息,且该迁移指令用于指示OLT根据OLT中与终端连接的端口的端口信息、终端对应的VLAN信息以及目标UP设备上的目标端口对应的VLAN信息,将终端接入目标UP设备。
需要说明的是,SDN控制器中存储有网络的拓扑信息。这样,SDN控制器可以根据该接入线路信息中的OLT的设备标识和ONU的标识,确定终端对应的VLAN信息。其中,终端对应的VLAN信息是指终端拨号时对应的VLAN的信息。也即,该终端对应的VLAN信息实际上就是缺省的UP设备对应的VLAN的信息。
在确定终端对应的VLAN的信息之后,SDN控制器可以从接收到的目标UP设备的设备信息中获取目标UP设备的目标端口对应的VLAN的信息。
在确定终端对应的第二VLAN信息之后,SDN控制器可以直接建立OLT中与终端连接的端口的端口信息、终端对应的VLAN信息、目标UP设备的设备标识、目标UP设备的目标端口的端口信息以及目标端口对应的VLAN信息之间的映射关系。
在获取到目标端口对应的VLAN的信息之后,SDN控制器可以根据存储的网络的拓扑信息和接入线路信息中的OLT的设备标识,通过netconf接口向该OLT的设备标识所标识的OLT 下发迁移指令,该迁移指令中可以携带有前述获取到的OLT中与终端连接的端口的端口信息、终端对应的VLAN信息以及目标端口对应的VLAN的信息。
OLT在接收到该迁移指令之后,可以从存储的端口信息与VLAN信息的映射关系中查找包含有迁移指令中携带的端口信息和该终端对应的VLAN信息的记录,之后,OLT可以将查找到的记录中的端口信息对应的VLAN的信息更新为目标端口对应的VLAN信息。这样,OLT就将终端在拨号时接入的VLAN重新映射为了一个新的VLAN,后续当接收到该终端发送的数据报文时,可以根据该映射关系将终端的数据报文转发至对应的目标UP设备,进而由目标UP设备根据生成的该终端的用户转发表项和用户路由对该终端的数据报文进行转发。
由于本申请实施例中将终端在拨号时对应的VLAN重新映射为一个新的VLAN,这样,即使目标UP设备与终端拨号时缺省的UP设备的MAC地址一致,也可以保证终端后续接入目标UP设备,而不会接入到缺省的UP设备。
图5是本申请实施例提供的一种控制终端接入目标UP设备的示意图。如图5所示,终端在拨号时对应的VLAN为VLAN101,该VLAN101是缺省的UP设备对应的VLAN,由于拨号时,OLT或交换机将终端映射到了VLAN101上,所以,拨号协议报文将被转发到缺省的UP设备上。当确定目标UP设备之后,SDN控制器将携带有目标UP设备的目标端口对应的VLAN信息的迁移指令下发至OLT或交换机,OLT或交换机在接收到该迁移指令之后,将终端重新映射到目标端口对应的VLAN信息所指示的VLAN102。由于VLAN102是目标UP设备的目标端口对应的VLAN,因此,后续OLT或交换机在接收到该终端的数据报文之后,即可以通过重新映射的VLAN102将该数据报文转发至目标UP设备。
可选地,当接入网络设备与目标UP设备之间为三层网络时,SDN控制器可以根据接入线路信息,确定终端对应的VLAN信息;根据OLT的设备标识,向OLT发送迁移指令,该迁移指令携带OLT中与终端连接的端口的端口信息、终端对应的VLAN信息以及目标UP设备对应的VxLAN的网络标识符,且该迁移指令用于指示OLT根据OLT中与终端连接的端口的端口信息、终端对应的VLAN信息以及目标UP设备对应的VxLAN的网络标识符,将终端接入目标UP设备。
其中,当接入网络设备与目标UP设备之间为三层网络时,接入网络设备与目标UP设备可以建立有VxLAN隧道。在这种情况下,在确定终端对应的VLAN信息之后,SDN控制器可以将OLT中与终端连接的端口的端口信息、终端对应的VLAN信息以及目标UP设备对应的VxLAN的网络标识符携带在迁移指令中下发至OLT。
需要说明的是,终端在拨号时,OLT中与终端连接的端口以及终端对应的VLAN被映射到缺省的UP设备对应的VxLAN中。也即,OLT中存储的是OLT中与该终端连接的端口的端口信息、终端对应的VLAN信息与缺省的UP设备对应的VxLAN的网络标识符之间的映射关系。在这种情况下,当SDN控制器接收到目标UP设备的设备信息之后,为了控制终端接入目标UP设备,需要将终端的接入端口和VLAN映射到目标UP设备对应的VxLAN中。基于此,SDN控制器可以向OLT下发目标UP设备对应的VxLAN。
OLT在接收到SDN控制器下发的迁移指令后,可以根据该迁移指令中携带的与该终端连接的端口的端口信息和该终端对应的VLAN信息,从存储的映射关系中查找包含有上述端口信息和VLAN信息的记录,之后,将查找到的记录中的端口信息和VLAN信息对应的VxLAN的网络标识符更新为目标UP设备对应的VxLAN的网络标识符。
图6是本申请实施例提供的另一种控制终端接入目标UP设备的示意图。如图6所示,终端拨号时接入到VLAN101,将终端的接入端口与对应的VLAN101映射到与缺省的UP设备互联的VxLAN1 VNI100上。当确定目标UP设备之后,SDN控制器将目标UP设备对应的VxLAN的网络标识符携带在迁移指令中下发至OLT或交换机。OLT或交换机在接收到该迁移指令之后,将终端的接入端口和终端对应的VLAN101重新映射到目标UP设备对应的VxLAN2 VNI100上。由于VxLAN2 VNI100是目标UP设备对应的VxLAN,因此,后续OLT或交换机在接收到该终端的数据报文之后,即可以通过重新映射的VxLAN将该数据报文转发至目标UP设备。
在本申请实施例中,CP设备可以根据终端的用户信息获取SLA等级,之后,根据终端的SLA等级确定该终端对应的目标UP设备,进而控制该终端接入到对应的目标UP设备中。由于可以根据终端的SLA等级来确定对应的目标UP设备,因此,可以将不同SLA等级的终端接入到不同的UP设备上,也即,可以将特定的终端接入到指定的UP设备,解决了相关技术中终端接入的UP设备较为随机的问题。另外,由于SLA等级可以用于指示终端对应的服务质量等级,因此,在将不同SLA等级的终端接入到不同的UP设备之后,可以在不同的UP设备上提供差异化服务,从而满足用户需求,提高收益。
参见图7,本申请实施例提供了一种接入网关的装置700,该装置700包括第一获取模块701、第二获取模块702、确定模块703以及控制模块704。
其中,第一获取模块701,用于获取终端的接入线路信息和用户信息。该功能的具体实现可参考图3所示实施例中的步骤301以及图4所示实施例中CP的实现过程。
第二获取模块702,用于根据所述用户信息,获取所述终端的服务水平协议SLA等级,所述SLA等级用于指示所述终端的服务质量等级。该功能的具体实现可参考图3所示实施例中步骤302部分的CP的实现过程。
确定模块703,用于根据所述SLA等级确定目标用户面UP设备。该功能的具体实现可参考图3所示实施例中步骤303部分的CP的实现过程。
控制模块704,用于根据所述接入线路信息控制所述终端接入所述目标UP设备。该功能的具体实现可参考图3所示实施例中步骤306部分的CP的实现过程。
可选地,目标UP设备的设备信息包括目标UP设备的设备标识、为终端分配的目标UP设备的目标端口的端口信息以及目标端口对应的虚拟局域网VLAN信息。
可选地,目标UP设备的设备信息包括目标UP设备的设备标识、目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。
可选地,该装置700还可以包括生成模块和发送模块。
其中,生成模块,用于生成用户表项信息。该功能的具体实现可参考图3所示实施例中步骤304部分的CP的实现过程。
发送模块,用于向目标UP设备发送用户表项信息,以指示目标UP设备根据用户表项信息转发终端接入成功后发送的数据报文。该功能的具体实现可参考图3所示实施例中步骤305部分的CP的实现过程。
可选地,用户表项信息包括为终端分配的互联网协议IP地址、终端的MAC地址、终端的路由信息以及终端的授权信息。
综上,本申请实施例可以根据终端的用户信息获取SLA等级,之后,根据终端的SLA等级确定该终端对应的目标UP设备,进而控制该终端接入到对应的目标UP设备中。由于可以根据终端的SLA等级来确定对应的目标UP设备,因此,可以将不同SLA等级的终端接入到不同的UP设备上,也即,可以将特定的终端接入到指定的UP设备,解决了相关技术中终端接入的UP设备较为随机的问题。另外,由于SLA等级可以用于指示终端对应的服务质量等级,因此,在将不同SLA等级的终端接入到不同的UP设备之后,可以在不同的UP设备上提供差异化服务,从而满足用户需求,提高收益。
参见图8,本申请实施例提供了一种接入网关的装置800,该装置800包括:
接收模块801,用于接收CP设备发送的终端的接入线路信息和目标UP设备的设备信息,目标UP设备是终端的SLA等级对应的UP设备;
控制模块802,用于根据接入线路信息和目标UP设备的设备信息,控制终端接入目标UP设备。该功能的具体实现可以参考图3所示实施例中的步骤307中SDN控制器的实现过程。
可选地,终端与接入网络设备连接,接入网络设备包括OLT,接入线路信息包括OLT的设备标识、OLT中与终端连接的端口的端口信息以及OLT所属的光网络单元ONU的标识,目标UP设备的设备信息包括目标UP设备上的目标端口对应的虚拟局域网VLAN信息,目标端口是指为终端分配的端口。
可选地,终端与接入网络设备连接,接入网络设备包括光线路终端OLT,接入线路信息包括OLT的设备标识、OLT中与终端连接的端口的端口信息以及OLT所属的光网络单元ONU的标识,目标UP设备的设备信息包括目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。
在本申请实施例中,SDN控制器在接收到CP设备发送的终端接入线路信息和目标UP设备的设备信息之后,可以根据该接入线路信息和目标UP设备的设备信息,控制终端接入到目标UP设备。其中,由于目标UP设备是终端的SLA等级对应的UP设备,也即,本申请可以将终端接入到指定的UP设备上,解决了相关技术中终端接入的UP设备较为随机的问题。
需要说明的是:上述实施例提供的接入网关的装置在控制终端接入网关时,仅以上述各 功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的接入网关的装置与接入网关的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意结合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如:同轴电缆、光纤、数据用户线(Digital Subscriber Line,DSL))或无线(例如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如:软盘、硬盘、磁带)、光介质(例如:数字通用光盘(Digital Versatile Disc,DVD))、或者半导体介质(例如:固态硬盘(Solid State Disk,SSD))等。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述为本申请提供的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (32)

  1. 一种接入网关的方法,其特征在于,所述方法包括:
    获取终端的接入线路信息和用户信息;
    根据所述用户信息,获取所述终端的服务水平协议SLA等级,所述SLA等级用于指示所述终端的服务质量等级;
    根据所述SLA等级确定目标用户面UP设备;
    根据所述接入线路信息控制所述终端接入所述目标UP设备。
  2. 如权利要求1所述的方法,其特征在于,所述根据所述用户信息,获取所述终端的服务水平协议SLA等级,包括:
    向认证授权计费AAA服务器发送所述用户信息,以指示所述AAA服务器获取所述终端的SLA等级;
    接收所述AAA服务器发送的所述终端的SLA等级。
  3. 如权利要求1所述的方法,其特征在于,所述根据所述用户信息,获取所述终端的服务水平协议SLA等级,包括:
    根据所述用户信息,从存储的用户信息与SLA等级的对应关系中获取所述终端的SLA等级。
  4. 如权利要求1-3任一所述的方法,其特征在于,所述根据所述SLA等级确定目标用户面UP设备,包括:
    从存储的SLA等级与设备标识的对应关系中获取所述终端的SLA等级对应的设备标识;
    将获取的设备标识所标识的设备确定为所述目标UP设备。
  5. 如权利要求1-4任一所述的方法,其特征在于,所述根据所述接入线路信息控制所述终端接入所述目标UP设备,包括:
    向软件定义型SDN网络控制器发送所述接入线路信息以及所述目标UP设备的设备信息,以指示所述SDN控制器控制所述终端接入所述目标UP设备。
  6. 如权利要求5所述的方法,其特征在于,所述目标UP设备的设备信息包括所述目标UP设备的设备标识、为所述终端分配的所述目标UP设备的目标端口的端口信息以及所述目标端口对应的虚拟局域网VLAN信息。
  7. 如权利要求5所述的方法,其特征在于,所述目标UP设备的设备信息包括所述目标UP设备的设备标识、所述目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。
  8. 如权利要求1-7任一所述的方法,其特征在于,所述根据所述SLA等级确定所述目标用户面UP设备之后,还包括:
    生成用户表项信息;
    向所述目标UP设备发送所述用户表项信息,以指示所述目标UP设备根据所述用户表项 信息转发所述终端接入成功后发送的数据报文。
  9. 如权利要求8所述的方法,其特征在于,所述用户表项信息包括为所述终端分配的互联网协议IP地址、所述终端的MAC地址、所述终端的路由信息以及所述终端的授权信息。
  10. 如权利要求1-9任一所述的方法,其特征在于,所述获取终端的接入线路信息和用户信息,包括:
    接收所述终端通过接入网络设备发送的拨号协议报文,所述拨号协议报文中携带有所述接入线路信息;
    接收所述终端通过所述接入网络设备发送的链路控制协议LCP协商请求,所述LCP协商请求携带有所述用户信息。
  11. 如权利要求10所述的方法,其特征在于,所述接入网络设备包括光线路终端OLT;
    所述接入线路信息包括所述终端的媒体访问控制MAC地址、所述OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识。
  12. 一种接入网关的方法,其特征在于,所述方法包括:
    接收控制面CP设备发送的终端的接入线路信息和目标UP设备的设备信息,所述目标UP设备是所述终端的SLA等级对应的UP设备;
    根据所述接入线路信息和所述目标UP设备的设备信息,控制所述终端接入所述目标UP设备。
  13. 如权利要求12所述的方法,其特征在于,所述终端与接入网络设备连接,所述接入网络设备包括光线路终端OLT,所述接入线路信息包括所述OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识,所述目标UP设备的设备信息包括所述目标UP设备上的目标端口对应的虚拟局域网VLAN信息,所述目标端口是指为所述终端分配的端口。
  14. 如权利要求13所述的方法,其特征在于,所述根据所述接入线路信息和所述目标UP设备的设备信息,控制所述终端接入所述目标UP设备,包括:
    根据所述接入线路信息,确定所述终端对应的VLAN信息;
    根据所述OLT的设备标识,向所述OLT发送迁移指令,所述迁移指令携带所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标端口对应的VLAN信息,且所述迁移指令用于指示所述OLT根据所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标端口对应的VLAN信息,将所述终端接入所述目标UP设备。
  15. 如权利要求12所述的方法,其特征在于,所述终端与接入网络设备连接,所述接入网络设备包括光线路终端OLT,所述接入线路信息包括所述OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识,所述目标UP 设备的设备信息包括所述目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。
  16. 如权利要求15所述的方法,其特征在于,所述根据所述接入线路信息和所述目标UP设备的设备信息,控制所述终端接入所述目标UP设备,包括:
    根据所述接入线路信息,确定所述终端对应的VLAN信息;
    根据所述OLT的设备标识,向所述OLT发送迁移指令,所述迁移指令携带所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息以及所述目标UP设备对应的VxLAN的网络标识符,且所述迁移指令用于指示所述OLT根据所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息以及所述目标UP设备对应的VxLAN的网络标识符,将所述终端接入所述目标UP设备。
  17. 一种接入网关的装置,其特征在于,所述装置包括:
    第一获取模块,用于获取终端的接入线路信息和用户信息;
    第二获取模块,用于根据所述用户信息,获取所述终端的服务水平协议SLA等级,所述SLA等级用于指示所述终端的服务质量等级;
    确定模块,用于根据所述SLA等级确定目标用户面UP设备;
    控制模块,用于根据所述接入线路信息控制所述终端接入所述目标UP设备。
  18. 如权利要求17所述的装置,其特征在于,所述第二获取模块具体用于:
    向认证授权计费AAA服务器发送所述用户信息,以指示所述AAA服务器获取所述终端的SLA等级;
    接收所述AAA服务器发送的所述终端的SLA等级。
  19. 如权利要求17所述的装置,其特征在于,所述第二获取模块具体用于:
    根据所述用户信息,从存储的用户信息与SLA等级的对应关系中获取所述终端的SLA等级。
  20. 如权利要求17-19任一所述的装置,其特征在于,所述确定模块具体用于:
    从存储的SLA等级与设备标识的对应关系中获取所述终端的SLA等级对应的的设备标识;
    将获取的设备标识所标识的设备确定为所述目标UP设备。
  21. 如权利要求17-20任一所述的装置,其特征在于,所述控制模块具体用于:
    向软件定义型SDN网络控制器发送所述接入线路信息以及所述目标UP设备的设备信息,以指示所述SDN控制器控制所述终端接入所述目标UP设备。
  22. 如权利要求21所述的装置,其特征在于,所述目标UP设备的设备信息包括所述目标UP设备的设备标识、为所述终端分配的所述目标UP设备的目标端口的端口信息以及所述目标端口对应的虚拟局域网VLAN信息。
  23. 如权利要求21所述的装置,其特征在于,所述目标UP设备的设备信息包括所述目标UP设备的设备标识、所述目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符。
  24. 如权利要求17-23任一所述的装置,其特征在于,所述装置还包括:
    生成模块,用于生成用户表项信息;
    发送模块,用于向所述目标UP设备发送所述用户表项信息,以指示所述目标UP设备根据所述用户表项信息转发所述终端接入成功后发送的数据报文。
  25. 如权利要求24所述的装置,其特征在于,所述用户表项信息包括为所述终端分配的互联网协议IP地址、所述终端的MAC地址、所述终端的路由信息以及所述终端的授权信息。
  26. 如权利要求17-25任一所述的装置,其特征在于,所述第一获取模块具体用于:
    接收所述终端通过接入网络设备发送的拨号协议报文,所述拨号协议报文中携带有所述接入线路信息;
    接收所述终端通过所述接入网络设备发送的链路控制协议LCP协商请求,所述LCP协商请求携带有所述用户信息。
  27. 如权利要求26所述的装置,其特征在于,所述接入网络设备包括光线路终端OLT;
    所述接入线路信息包括所述终端的媒体访问控制MAC地址、所述OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识。
  28. 一种接入网关的装置,其特征在于,所述装置包括:
    接收模块,用于接收控制面CP设备发送的终端的接入线路信息和目标UP设备的设备信息,所述目标UP设备是所述终端的SLA等级对应的UP设备;
    控制模块,用于根据所述接入线路信息和所述目标UP设备的设备信息,控制所述终端接入所述目标UP设备。
  29. 如权利要求28所述的装置,其特征在于,所述终端与接入网络设备连接,所述接入网络设备包括光线路终端OLT,所述接入线路信息包括所述OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识,所述目标UP设备的设备信息包括所述目标UP设备上的目标端口对应的VLAN信息,所述目标端口是指为所述终端分配的端口。
  30. 如权利要求29所述的装置,其特征在于,所述控制模块具体用于:
    根据所述接入线路信息,确定所述终端对应的VLAN信息;
    根据所述OLT的设备标识,向所述OLT发送迁移指令,所述迁移指令携带所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标端口对应的VLAN信息,且所述迁移指令用于指示所述OLT根据所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标端口对应的VLAN信息,将所述终端接入所述目标UP 设备。
  31. 如权利要求28所述的装置,其特征在于,所述终端与接入网络设备连接,所述接入网络设备包括光线路终端OLT,所述接入线路信息包括OLT的设备标识、所述OLT中与所述终端连接的端口的端口信息以及所述OLT所属的光网络单元ONU的标识,所述目标UP设备的设备信息包括所述目标UP设备对应的虚拟可扩展局域网VxLAN的网络标识符;
  32. 如权利要求31所述的装置,其特征在于,所述控制模块具体用于:
    根据所述接入线路信息,确定所述终端对应的VLAN信息;
    根据所述OLT的设备标识,向所述OLT发送迁移指令,所述迁移指令携带所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标UP设备对应的VxLAN的网络标识符,且所述迁移指令用于指示所述OLT根据所述OLT中与所述终端连接的端口的端口信息、所述终端对应的VLAN信息和所述目标UP设备对应的VxLAN的网络标识符,将所述终端接入所述目标UP设备。
PCT/CN2020/086770 2019-04-24 2020-04-24 接入网关的方法及装置 WO2020216339A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/451,889 US20220078122A1 (en) 2019-04-24 2021-10-22 Method and apparatus for accessing gateway

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910332103.0A CN111865621B (zh) 2019-04-24 2019-04-24 接入网关的方法及装置
CN201910332103.0 2019-04-24
EP20171020.9 2020-04-23
EP20171020.9A EP3731464B1 (en) 2019-04-24 2020-04-23 Method and apparatus for accessing a gateway

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/451,889 Continuation US20220078122A1 (en) 2019-04-24 2021-10-22 Method and apparatus for accessing gateway

Publications (2)

Publication Number Publication Date
WO2020216339A1 true WO2020216339A1 (zh) 2020-10-29
WO2020216339A8 WO2020216339A8 (zh) 2021-11-25

Family

ID=70417414

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/086770 WO2020216339A1 (zh) 2019-04-24 2020-04-24 接入网关的方法及装置

Country Status (4)

Country Link
US (1) US20220078122A1 (zh)
EP (1) EP3731464B1 (zh)
CN (2) CN114157579A (zh)
WO (1) WO2020216339A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022121708A1 (zh) * 2020-12-11 2022-06-16 华为技术有限公司 数据传输方法及数据传输装置
EP4221117A4 (en) * 2020-10-31 2024-03-13 Huawei Tech Co Ltd BROADBAND CONNECTION METHOD AND DEVICE

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143835A (zh) * 2020-09-04 2022-03-04 华为技术有限公司 一种接入网关的方法及装置
WO2022089645A1 (zh) * 2020-11-02 2022-05-05 华为技术有限公司 通信方法、装置、设备、系统及计算机可读存储介质
CN112383425B (zh) * 2020-11-11 2022-07-08 迈普通信技术股份有限公司 一种基于vxlan网络的终端发现系统及方法
CN114765572A (zh) * 2020-12-30 2022-07-19 华为技术有限公司 故障处理方法、控制面网元、切换决策网元及相关设备
EP4319067A1 (en) * 2021-04-26 2024-02-07 Huawei Technologies Co., Ltd. Communication method and apparatus, device, system, and computer-readable storage medium
EP4358476A1 (en) * 2021-07-08 2024-04-24 Huawei Technologies Co., Ltd. Message processing method, apparatus and system, and computer-readable storage medium
CN116155791A (zh) * 2021-11-22 2023-05-23 华为技术有限公司 发送指令、信息的方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828315A (zh) * 2016-03-11 2016-08-03 北京北方烽火科技有限公司 服务网关选择方法及系统
WO2018177434A1 (zh) * 2017-04-01 2018-10-04 华为技术有限公司 一种会话连接建立方法及控制面网元
CN109150767A (zh) * 2017-06-16 2019-01-04 华为技术有限公司 一种数据包发送方法、装置及设备

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944752A (zh) * 2004-08-20 2014-07-23 意大利电信股份公司 基于分组的网络中的服务质量监控
US20070178885A1 (en) * 2005-11-28 2007-08-02 Starhome Gmbh Two-phase SIM authentication
CN101971666B (zh) * 2008-01-14 2014-06-25 发尔泰公司 用于无线接入客户端的服务等级协议和服务差异化
CN102684898A (zh) * 2011-03-14 2012-09-19 中国联合网络通信集团有限公司 基于家庭网关的服务质量管理方法及服务质量管理系统
US9351057B2 (en) * 2012-10-24 2016-05-24 Broadcom Corporation Service provisioning enabled management in SIEPON switching subsystem
US9864620B2 (en) * 2013-07-30 2018-01-09 International Business Machines Corporation Bandwidth control in multi-tenant virtual networks
US9509598B2 (en) * 2013-08-02 2016-11-29 Time Warner Cable Enterprises Llc Apparatus and methods for intelligent deployment of network infrastructure based on tunneling of ethernet ring protection
US20150049643A1 (en) * 2013-08-13 2015-02-19 Alcatel-Lucent Canada Inc. Method and apparatus for providing default services to prospective subscribers in a communication network
CN110896371B (zh) * 2016-02-14 2022-07-26 华为技术有限公司 一种虚拟网络设备及相关方法
WO2017166252A1 (zh) * 2016-03-31 2017-10-05 华为技术有限公司 服务节点选择、查询方法,装置及系统
EP3528517B1 (en) * 2016-11-04 2023-12-27 Huawei Technologies Co., Ltd. Data packet processing method, control plane network element and user plane network element
CN108206772A (zh) * 2016-12-20 2018-06-26 中兴通讯股份有限公司 一种调度方法、系统及控制器
CN108462596B (zh) * 2017-02-21 2021-02-23 华为技术有限公司 Sla分解方法、设备以及系统
US20190036779A1 (en) * 2017-07-31 2019-01-31 Cisco Technology, Inc. Virtualized software-defined network
WO2020197947A1 (en) * 2019-03-22 2020-10-01 Apple Inc. Coefficient reporting for type ii channel state information (csi)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828315A (zh) * 2016-03-11 2016-08-03 北京北方烽火科技有限公司 服务网关选择方法及系统
WO2018177434A1 (zh) * 2017-04-01 2018-10-04 华为技术有限公司 一种会话连接建立方法及控制面网元
CN109150767A (zh) * 2017-06-16 2019-01-04 华为技术有限公司 一种数据包发送方法、装置及设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4221117A4 (en) * 2020-10-31 2024-03-13 Huawei Tech Co Ltd BROADBAND CONNECTION METHOD AND DEVICE
WO2022121708A1 (zh) * 2020-12-11 2022-06-16 华为技术有限公司 数据传输方法及数据传输装置

Also Published As

Publication number Publication date
CN111865621B (zh) 2021-12-03
EP3731464B1 (en) 2024-03-13
WO2020216339A8 (zh) 2021-11-25
US20220078122A1 (en) 2022-03-10
CN114157579A (zh) 2022-03-08
EP3731464A1 (en) 2020-10-28
CN111865621A (zh) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2020216339A1 (zh) 接入网关的方法及装置
CN103580980B (zh) 虚拟网络自动发现和自动配置的方法及其装置
US11909551B2 (en) Broadband remote access server (BRAS) system-based packet encapsulation
WO2018019299A1 (zh) 一种虚拟宽带接入方法、控制器和系统
US20110191402A1 (en) Network system, process-providing-server switching method, information processing apparatus, and virtual-machine building method
CN114765572A (zh) 故障处理方法、控制面网元、切换决策网元及相关设备
WO2024000975A1 (zh) 一种会话建立系统、方法、电子设备及存储介质
CN112565937B (zh) 选择bng-up设备的方法、装置及系统
CN106254253B (zh) 私网路由生成方法以及装置
WO2023088411A1 (zh) 发送指令、信息的方法及装置
CN112714202A (zh) 设备配置方法及装置
JP7486597B2 (ja) ダイアルアップ・パケット処理方法、ネットワーク要素、システム、ネットワーク装置
US11902052B1 (en) Separate PFCP session model for network access by residential gateways
EP4175247A1 (en) Packet transmission method, apparatus, and system, and storage medium
JP6973326B2 (ja) 通信システム及び通信方法
US20240039762A1 (en) Combined pfcp session model for network access by residential gateways
WO2022105917A1 (zh) 建立通信的方法及装置
US20240039763A1 (en) Separate pfcp session model for network access by residential gateways
CN114079649A (zh) 地址分配方法、设备及系统
CN112261165A (zh) 通信方法、系统、装置、计算机设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20795149

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20795149

Country of ref document: EP

Kind code of ref document: A1