CN116806011A - Method, device, system and storage medium for transmitting multicast service - Google Patents

Method, device, system and storage medium for transmitting multicast service Download PDF

Info

Publication number
CN116806011A
CN116806011A CN202210273189.6A CN202210273189A CN116806011A CN 116806011 A CN116806011 A CN 116806011A CN 202210273189 A CN202210273189 A CN 202210273189A CN 116806011 A CN116806011 A CN 116806011A
Authority
CN
China
Prior art keywords
terminal
multicast
interface
information
equipment
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210273189.6A
Other languages
Chinese (zh)
Inventor
孔小桃
袁硕
牛承光
段方红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210273189.6A priority Critical patent/CN116806011A/en
Priority to PCT/CN2023/081648 priority patent/WO2023174339A1/en
Publication of CN116806011A publication Critical patent/CN116806011A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

The application discloses a method, a device, a system and a storage medium for sending multicast service, belonging to the field of communication. The method comprises the following steps: the first UP equipment receives a migration instruction, wherein the migration instruction is used for indicating to migrate a first terminal to the first UP equipment, and the first terminal is a terminal on line on the second UP equipment; the first UP equipment sends a query request to the first terminal based on the migration instruction; the first UP equipment receives a query response sent by the first terminal based on the query request, wherein the query response comprises multicast information corresponding to the first terminal; and the first UP equipment forwards the multicast service to the first terminal based on the multicast information. The application ensures that the multicast service can be forwarded to the terminal.

Description

Method, device, system and storage medium for transmitting multicast service
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, a system, and a storage medium for sending a multicast service.
Background
A broadband gateway access system employing a Control Plane (CP) and User Plane (UP) separation scheme generally includes: CP device and multiple UP devices. The CP device may manage the plurality of UP devices.
The CP device can control the terminal to be on-line from a certain UP device after authenticating the terminal through a remote user dial authentication service (remote authentication dial in user service, RADIUS) server. That is, traffic belonging to the terminal may be forwarded by the UP device to access the terminal to the network.
The terminal can use the UP device to join the multicast group, and the UP device forwards multicast service of the multicast source multicast corresponding to the multicast group to the terminal. However, if the UP device fails, it may result in failure to forward the multicast service to the terminal.
Disclosure of Invention
The application provides a method, a device, a system and a storage medium for sending multicast service, which are used for ensuring that the multicast service can be forwarded to a terminal. The technical scheme is as follows:
in a first aspect, the present application provides a method for sending a multicast service, where the method is applied to a first user plane UP device in a vBNG system, and the vBNG system further includes a second UP device, where the first UP device receives a migration instruction, where the migration instruction is used to instruct migration of a first terminal to the first UP device, and the first terminal is a terminal that is online on the second UP device. The first UP device sends a query request to the first terminal based on the migration instruction. The first UP equipment receives an inquiry response sent by the first terminal based on the inquiry request, wherein the inquiry response comprises multicast information corresponding to the first terminal. The first UP device forwards multicast service to the first terminal based on the multicast information.
When the first UP equipment receives a migration instruction for indicating to migrate the first terminal, the first UP equipment sends a query request to the first terminal based on the migration instruction, and receives a query response sent by the first terminal based on the query request, wherein the query response comprises multicast information corresponding to the first terminal. That is, the first UP device actively queries the multicast information corresponding to the multicast group added by the first terminal through the query request based on the migration instruction, and forwards the multicast service to the first terminal based on the multicast information when the multicast information is queried, thereby automatically recovering the multicast service and ensuring that the multicast service can be normally forwarded to the first terminal.
In one possible implementation, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins. Because the multicast group corresponding to the first multicast source is the multicast group added by the first terminal, the multicast service forwarded to the first terminal by the first UP device based on the multicast information is the service requested by the first terminal, and the automatic recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the multicast information includes a multicast address of the first multicast source.
In another possible implementation manner, the first UP device obtains first user entry information based on the migration instruction, where the first user entry information is used to transmit a service of the first terminal. Because the first UP equipment acquires the first user list item information, the multicast service can be successfully forwarded to the first terminal based on the first user list item information.
In another possible implementation, the migration instruction includes: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface that the first terminal goes online on the second UP device. Thus, the first UP device can acquire the first user list information based on the device identifier of the second UP device, the interface identifier of the first interface or the virtual MAC address of the first interface, so that when the CP device needs to migrate the terminal on the second UP device, the CP device does not need to acquire the user list information, but directly transmits a migration instruction to the first UP device, and the migration instruction does not comprise the user list information, so that the migration instruction can be rapidly transmitted and the occupation of network resources can be reduced.
In another possible implementation manner, the migration instruction includes first user entry information, where the first user entry information is used to transmit a service of the first terminal. Because the migration instruction comprises the first user table item information, the first UP equipment can obtain the first user table item information conveniently, and the algorithm implementation complexity is simplified.
In another possible implementation manner, the first UP device receives a migration instruction sent by the CP device.
In another possible implementation, the query request and the query response are both messages encapsulated based on the internet group management protocol IGMP, or both messages encapsulated based on the multicast listener discovery protocol MLD.
In another possible implementation manner, the first UP device and the second UP device are located in the same power supply group, or the first UP device and the second UP device are located in different power supply groups, and the power supply group includes a plurality of UP devices.
When the power supply group where the second UP device is located is powered off, the first UP device and the second UP device belong to different power supply groups, and the power supply group where the first UP device is located is not powered off, so that the first terminal is migrated to the first UP device, and the first terminal is ensured to be on line from the first UP device.
In a second aspect, the present application provides a method for sending a multicast service, where the method is applied to a first user plane UP device in a vBNG system, and the vBNG system further includes a second UP device, where the first UP device receives multicast information corresponding to a first terminal sent by the second UP device, and the first terminal is a terminal that is on-line on the second UP device. The first UP equipment receives a migration instruction, wherein the migration instruction is used for indicating to migrate the first terminal to the first UP equipment. The first UP equipment forwards multicast service to the first terminal based on the multicast information and the migration instruction.
Because the first UP device receives the multicast information corresponding to the first terminal sent by the second UP device, when the first UP device receives the migration instruction for indicating to migrate the first terminal, the first UP device forwards the multicast service to the first terminal based on the migration instruction and the multicast information, namely, the UP device on line of the terminal actively sends the multicast information corresponding to the terminal to other UP devices, when the UP device fails, the other UP devices can automatically recover the multicast service, and the multicast service can be normally forwarded to the first terminal.
In one possible implementation manner, the first UP device obtains first user entry information based on the migration instruction, where the first user entry information is used to transmit a service of the first terminal. Thus, the multicast service forwarded to the first terminal by the first UP device based on the multicast information is the service requested by the first terminal, and the recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the migration instruction includes: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface that the first terminal goes online on the second UP device. Thus, the first UP device can acquire the first user list information based on the device identifier of the second UP device, the interface identifier of the first interface or the virtual MAC address of the first interface, so that when the CP device needs to migrate the terminal on the second UP device, the CP device does not need to acquire the user list information, but directly transmits a migration instruction to the first UP device, and the migration instruction does not comprise the user list information, so that the migration instruction can be rapidly transmitted and the occupation of network resources can be reduced.
In another possible implementation manner, the migration instruction includes first user entry information, where the first user entry information is used to transmit the service of the first terminal. Because the migration instruction comprises the first user table item information, the first UP equipment can obtain the first user table item information conveniently, and the algorithm implementation complexity is simplified.
In another possible implementation manner, the first UP device sends multicast information corresponding to the second terminal to the second UP device, where the second terminal is a terminal that is online on the first UP device. In this way, the second UP equipment is convenient to send the multicast service to the second terminal based on the multicast information when the second terminal is migrated to the second UP equipment, and the multicast service of the second terminal is recovered.
In another possible implementation, the first UP device and the second UP device are located in the same power group, or the first UP device and the second UP device are located in different power groups, and the power group includes a plurality of UP devices.
When the power supply group where the second UP device is located is powered off, the first UP device and the second UP device belong to different power supply groups, and the power supply group where the first UP device is located is not powered off, so that the first terminal is migrated to the first UP device, and the first UP device is ensured to be on line.
In another possible implementation manner, the second UP device includes a first interface, where the first interface is an interface that is on-line to the first terminal, the first UP device includes a second interface, where the second interface is an interface that is on-line to the first terminal after the first terminal migrates to the first UP device, and the first interface and the second interface are two interfaces in the same warm backup group.
In another possible implementation, the second interface in the warm backup group is a backup interface of the first interface for a first virtual MAC address, the first virtual MAC address is an address of the first interface and the first virtual MAC address corresponds to the first terminal. Therefore, the first virtual MAC address and the second interface are precisely bound, so that the backup relation in the warm backup group is controllable, and smooth switching of the forwarding side behavior is convenient to realize.
In another possible implementation manner, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins. Thus, the multicast service forwarded to the first terminal by the first UP device based on the multicast information is the service requested by the first terminal, and the recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the multicast information for the first multicast source includes a multicast address for the first multicast source.
In a third aspect, the present application provides a method for sending a multicast service, where the method is applied to a virtual broadband access gateway vBNG system, where the vBNG system includes a CP device, a first user plane UP device, and a second UP device, and in the method, the second UP device sends multicast information corresponding to a first terminal to the first UP device, where the first terminal is a terminal that is on-line on the second UP device. Based on the failure of the second UP device, the CP device sends a migration instruction to the first UP device, wherein the migration instruction is used for indicating the first terminal to migrate to the first UP device. The first UP equipment forwards multicast service to the first terminal based on the multicast information and the migration instruction.
Because the second UP device sends the multicast information corresponding to the first terminal to the first UP device, when the first UP device receives the migration instruction sent by the CP device and used for indicating to migrate the first terminal, the first UP device forwards the multicast service to the first terminal based on the migration instruction and the multicast information, namely the UP device on line of the terminal actively sends the multicast information corresponding to the terminal to other UP devices, so that when the UP device fails, the other UP devices can automatically recover the multicast service, and the multicast service can be normally forwarded to the first terminal.
In one possible implementation manner, the second UP device sends multicast information corresponding to the first terminal to the third UP device. In this way, when the first terminal is migrated to the third UP device, the third UP device is convenient to send the multicast service to the first terminal based on the multicast information, and the multicast service of the first terminal is recovered.
In another possible implementation, the first UP device, the second UP device, and the third UP device are devices in a same warm backup group.
In another possible implementation manner, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins. Thus, the multicast service forwarded to the first terminal by the first UP device based on the multicast information is the service requested by the first terminal, and the recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the multicast information for the first multicast source includes a multicast address for the first multicast source.
In a fourth aspect, the present application provides an apparatus for sending a multicast service, where the apparatus is applied to a vBNG system, where the vBNG system includes the apparatus and a second user plane UP device, and the apparatus includes: a receiving unit and a transmitting unit.
The receiving unit is used for receiving a migration instruction, wherein the migration instruction is used for indicating to migrate the first terminal to the device, and the first terminal is a terminal on line on the second UP equipment. And the sending unit is used for sending a query request to the first terminal based on the migration instruction. The receiving unit is further configured to receive a query response sent by the first terminal based on the query request, where the query response includes multicast information corresponding to the first terminal. And the sending unit is also used for forwarding the multicast service to the first terminal based on the multicast information.
When the receiving unit receives a migration instruction for indicating to migrate the first terminal, the sending unit sends a query request to the first terminal based on the migration instruction, and the receiving unit receives a query response sent by the first terminal based on the query request, wherein the query response comprises multicast information corresponding to the first terminal. That is, the sending unit actively queries the multicast information corresponding to the multicast group added by the first terminal through the query request based on the migration instruction, and forwards the multicast service to the first terminal based on the multicast information when the multicast information is queried, so that the multicast service is automatically recovered, and the multicast service can be normally forwarded to the first terminal.
In one possible implementation, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins. Because the multicast group corresponding to the first multicast source is the multicast group added by the first terminal, the multicast service forwarded to the first terminal by the sending unit based on the multicast information is the service requested by the first terminal, so that the automatic recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the multicast information includes a multicast address of the first multicast source.
In another possible implementation, the apparatus further includes: and a processing unit. And the processing unit is used for acquiring first user table entry information based on the migration instruction, wherein the first user table entry information is used for transmitting the service of the first terminal. Because the processing unit acquires the first user list item information, the sending unit can ensure that the multicast service can be successfully forwarded to the first terminal based on the first user list item information.
In another possible implementation, the migration instruction includes: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface that the first terminal goes online on the second UP device. The processing unit can acquire the first user list item information based on the equipment identifier of the second UP equipment, the interface identifier of the first interface or the virtual MAC address of the first interface, so that when the CP equipment needs to migrate the terminal on the second UP equipment, the CP equipment does not need to acquire the user list item information, but directly transmits a migration instruction to the device, and the migration instruction does not comprise the user list item information, so that the migration instruction can be rapidly transmitted and the occupation of network resources can be reduced.
In another possible implementation manner, the migration instruction includes first user entry information, where the first user entry information is used to transmit the service of the first terminal. Because the migration instruction comprises the first user table item information, the device is convenient to obtain the first user table item information, and the algorithm implementation complexity is simplified.
In another possible implementation manner, the receiving unit is configured to receive a migration instruction sent by the CP device.
In another possible implementation, the query request and the query response are both messages encapsulated based on the internet group management protocol IGMP, or both messages encapsulated based on the multicast listener discovery protocol MLD.
In another possible implementation manner, the apparatus and the second UP device are located in the same power supply group, or the apparatus and the second UP device are located in different power supply groups, and the power supply group includes a plurality of UP devices.
When the power supply group where the second UP equipment is located is powered off, the device and the second UP equipment belong to different power supply groups, and the power supply group where the device is located does not have power off, so that the first terminal is migrated to the device, and the first terminal is ensured to be on line from the device.
In a fifth aspect, the present application provides an apparatus for sending a multicast service, where the apparatus is applied to a vBNG system, where the vBNG system includes the apparatus and a second user plane UP device, and the apparatus includes: a receiving unit and a transmitting unit.
The receiving unit is configured to receive multicast information corresponding to a first terminal sent by a second UP device, where the first terminal is a terminal that goes online on the second UP device. The receiving unit is further configured to receive a migration instruction, where the migration instruction is used to instruct migration of the first terminal to the device. And the sending unit is used for forwarding the multicast service to the first terminal based on the multicast information and the migration instruction.
Because the receiving unit receives the multicast information corresponding to the first terminal sent by the second UP device, when the receiving unit receives the migration instruction for indicating to migrate the first terminal, the sending unit forwards the multicast service to the first terminal based on the migration instruction and the multicast information, that is, the UP device on the terminal actively sends the multicast information corresponding to the terminal to other UP devices, so that when the UP device fails, the other UP devices can automatically recover the multicast service, and the multicast service can be ensured to be normally forwarded to the first terminal.
In one possible implementation, the apparatus further includes: and a processing unit. And the processing unit is used for acquiring first user table entry information based on the migration instruction, wherein the first user table entry information is used for transmitting the service of the first terminal. Thus, the multicast service forwarded to the first terminal by the sending unit based on the multicast information is the service requested by the first terminal, and the recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the migration instruction includes: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface that the first terminal goes online on the second UP device. The processing unit can acquire the first user list item information based on the equipment identifier of the second UP equipment, the interface identifier of the first interface or the virtual MAC address of the first interface, so that when the CP equipment needs to migrate the terminal on the second UP equipment, the CP equipment does not need to acquire the user list item information, but directly transmits a migration instruction to the device, and the migration instruction does not comprise the user list item information, so that the migration instruction can be rapidly transmitted and the occupation of network resources can be reduced.
In another possible implementation manner, the migration instruction includes first user entry information, where the first user entry information is used to transmit the service of the first terminal. Because the migration instruction comprises the first user table item information, the device is convenient to obtain the first user table item information, and the algorithm implementation complexity is simplified.
In another possible implementation manner, the sending unit is further configured to send multicast information corresponding to a second terminal to the second UP device, where the second terminal is a terminal that is online on the device. In this way, the second UP equipment is convenient to send the multicast service to the second terminal based on the multicast information when the second terminal is migrated to the second UP equipment, and the multicast service of the second terminal is recovered.
In another possible implementation manner, the apparatus and the second UP device are located in the same power supply group, or the apparatus and the second UP device are located in different power supply groups, and the power supply group includes a plurality of UP devices.
When the power supply group where the second UP equipment is located is powered off, the device and the second UP equipment belong to different power supply groups, and the power supply group where the device is located does not have power off, so that the first terminal is migrated to the device, and the device is ensured to be on line.
In another possible implementation manner, the second UP device includes a first interface, where the first interface is an interface that is on-line to the first terminal, the apparatus includes a second interface, where the second interface is an interface that is on-line to the first terminal after the first terminal migrates to the apparatus, and the first interface and the second interface are two interfaces in the same temperature backup group.
In another possible implementation, the second interface in the warm backup group is a backup interface of the first interface for a first virtual MAC address, the first virtual MAC address is an address of the first interface and the first virtual MAC address corresponds to the first terminal. Therefore, the first virtual MAC address and the second interface are precisely bound, so that the backup relation in the warm backup group is controllable, and smooth switching of the forwarding side behavior is convenient to realize.
In another possible implementation manner, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins. Thus, the multicast service forwarded to the first terminal by the sending unit based on the multicast information is the service requested by the first terminal, and the recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the multicast information for the first multicast source includes a multicast address for the first multicast source.
In a sixth aspect, the present application provides an apparatus for transmitting multicast traffic, the apparatus including a processor and a memory. The processor and the memory can be connected through internal connection. The memory is for storing a program and the processor is for executing the program in the memory to cause the apparatus to perform the method of the first aspect or any possible implementation of the first aspect.
In a seventh aspect, the present application provides an apparatus for transmitting multicast traffic, the apparatus including a processor and a memory. The processor and the memory can be connected through internal connection. The memory is for storing a program and the processor is for executing the program in the memory to cause the apparatus to perform the method of the second aspect or any possible implementation of the second aspect.
In an eighth aspect, the present application provides an apparatus for sending a multicast service, where the apparatus is applied to a vBNG system of a virtual broadband access gateway, where the vBNG system includes the apparatus and a second UP device, and the apparatus includes: a main control board and an interface board. The main control board includes: a first processor and a first memory. The interface board includes: the system comprises a second processor, a second memory and an interface card. The main control board is coupled with the interface board.
The first memory may be used to store program code and the first processor is used to invoke the program code in the first memory to perform the following operations: receiving a migration instruction, wherein the migration instruction is used for indicating to migrate a first terminal to the device, and the first terminal is a terminal on line of the second UP equipment and sends a query request to the first terminal based on the migration instruction; and receiving a query response sent by the first terminal based on the query request, wherein the query response comprises multicast information corresponding to the first terminal.
The second memory may be used to store program code, and the second processor may be used to invoke the program code in the second memory, triggering the interface card to perform the following operations: and forwarding the multicast service to the first terminal based on the multicast information.
In one possible implementation, an inter-process communication protocol (inter-process communication, IPC) channel is established between the host board and the interface board, with communication being performed between the host board and the interface board via the IPC channel.
In a ninth aspect, the present application provides an apparatus for sending a multicast service, where the apparatus is applied to a vBNG system of a virtual broadband access gateway, where the vBNG system includes the apparatus and a second UP device, and the apparatus includes: a main control board and an interface board. The main control board includes: a first processor and a first memory. The interface board includes: the system comprises a second processor, a second memory and an interface card. The main control board is coupled with the interface board.
The first memory may be used to store program code and the first processor is used to invoke the program code in the first memory to perform the following operations: receiving multicast information corresponding to a first terminal sent by the second UP equipment, wherein the first terminal is a terminal on the second UP equipment; and receiving a migration instruction, wherein the migration instruction is used for indicating to migrate the first terminal to the device.
The second memory may be used to store program code, and the second processor may be used to invoke the program code in the second memory, triggering the interface card to perform the following operations: and forwarding the multicast service to the first terminal based on the multicast information and the migration instruction.
In one possible implementation, an inter-process communication protocol (inter-process communication, IPC) channel is established between the host board and the interface board, with communication being performed between the host board and the interface board via the IPC channel.
In a tenth aspect, the present application provides a computer program product comprising a computer program stored in a computer readable storage medium and loaded by a processor for implementing the above-mentioned first aspect, second aspect, any possible implementation of the first aspect or any possible implementation of the second aspect.
In an eleventh aspect, the present application provides a computer readable storage medium storing a computer program to be loaded by a processor for performing the method of the first aspect, the second aspect, any possible implementation manner of the first aspect or any possible implementation manner of the second aspect.
In a twelfth aspect, the present application provides a chip comprising a memory for storing computer instructions and a processor for calling and executing the computer instructions from the memory to perform the above-described first aspect, second aspect, any possible implementation of the first aspect or a method of any possible implementation of the second aspect.
In a thirteenth aspect, the present application provides a virtual broadband access gateway vBNG system, where the vBNG system includes a CP device, a first user plane UP device, and a second UP device, and in the system, the second UP device sends multicast information corresponding to a first terminal to the first UP device, where the first terminal is a terminal that is online on the second UP device. Based on the failure of the second UP device, the CP device sends a migration instruction to the first UP device, wherein the migration instruction is used for indicating the first terminal to migrate to the first UP device. The first UP equipment forwards multicast service to the first terminal based on the multicast information and the migration instruction.
Because the second UP device transmits the multicast information corresponding to the first terminal to the first UP device, when the first UP device receives the migration instruction which is transmitted by the CP device and is used for indicating to migrate the first terminal, the first UP device forwards the multicast service to the first terminal based on the migration instruction and the multicast information, thereby automatically recovering the multicast service and ensuring that the multicast service can be normally forwarded to the first terminal.
In one possible implementation manner, the second UP device sends multicast information corresponding to the first terminal to the third UP device. In this way, when the first terminal is migrated to the third UP device, the third UP device is convenient to send the multicast service to the first terminal based on the multicast information, and the multicast service of the first terminal is recovered.
In another possible implementation, the first UP device, the second UP device, and the third UP device are devices in a same warm backup group.
In another possible implementation manner, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins. Thus, the multicast service forwarded to the first terminal by the first UP device based on the multicast information is the service requested by the first terminal, and the recovery of the multicast service requested by the first terminal is ensured.
In another possible implementation, the multicast information for the first multicast source includes a multicast address for the first multicast source.
Drawings
Fig. 1 is a schematic structural diagram of a vBNG system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another embodiment of a vBNG system;
fig. 3 is a flowchart of a method for terminal online provided in an embodiment of the present application;
fig. 4 is a flowchart of a method for sending a multicast service according to an embodiment of the present application;
fig. 5 is a schematic diagram of a migration terminal according to an embodiment of the present application;
fig. 6 is a flowchart of another method for sending a multicast service according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a device for sending a multicast service according to an embodiment of the present application;
fig. 8 is a schematic diagram of another device structure for sending a multicast service according to an embodiment of the present application;
fig. 9 is a schematic diagram of a system structure for sending a multicast service according to an embodiment of the present application;
fig. 10 is a schematic diagram of another device structure for sending a multicast service according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another device for sending multicast service according to an embodiment of the present application;
fig. 12 is a schematic diagram of a device structure for sending a multicast service according to an embodiment of the present application;
Fig. 13 is a schematic diagram of another device structure for sending a multicast service according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The broadband remote access server (broadband remote access server, BRAS) is an access gateway for broadband network applications, also called broadband network gateway (broadband network gateway, BNG). Virtual BNG (vBNG) is an implementation form of BRAS, and is deployed in a manner of separating CP devices from UP devices (CU separation), so it may also be called a BRAS in which CU separation is deployed. The method comprises the steps that a plurality of UP devices are distributed and deployed, each UP device serves as a user plane of BNG (or vBNG), and is used for forwarding service messages based on user table entry information issued by the CP device and realizing flow strategies based on technologies such as quality of service (quality of service, qoS) and access control list (access control lists, ACL). CP devices may be implemented and centrally deployed using clouding techniques, which serve as a control plane for BNGs (or vBNG) to enable control and management of terminals (also referred to as users), and unified management of multiple UP devices. For example, the CP device is mainly responsible for terminal's online, configuration for delivery, user entry information, and the like. The UP device may also be referred to as a forwarding plane device, and thus CU separation may also be referred to as forwarding and control separation, i.e. a forwarding control separation. The system deployed by adopting the CU split mode is also called a CU split broadband gateway access system or a relay control split broadband gateway access system.
Referring to fig. 1, a schematic diagram of a vBNG system 100 according to an embodiment of the present application is provided. As shown in fig. 1, the vBNG system 100 may include: at least one CP device 101 and a plurality of UP devices 102 (e.g., first UP device 1021 and second UP device 1022 in fig. 1).
Wherein at least one means one or more, and a plurality means two or more. Fig. 1 illustrates an example of a CP device 101. The CP device 101 is typically deployed in a Data Center (DC) room of an operator, also referred to as a core room. The respective UP devices 102 may be distributed among different convergence rooms, also referred to as edge rooms. Each UP device 102 establishes a communication connection with the CP device 101, and each UP device 102 is capable of establishing a communication connection with at least one terminal 104 through a first forwarding device 103 (e.g., a forwarding device in a two-layer broadcast domain) and performing data interaction.
For each UP device 102, the UP device 102 establishes a communication connection with the second forwarding device 105 and performs data interactions with the second forwarding device 105. For example, for the multicast source 106 corresponding to the multicast group to which the terminal 104 joins, the second forwarding device 105 may forward the multicast service multicast by the multicast source 106 to the UP device 102, and the UP device 102 receives the multicast service and forwards the multicast service to the terminal 104.
In some embodiments, the terminal 104, also referred to as a user device, may be a home gateway (residential gateway, RGW), a cell phone, a notebook computer, or a desktop computer, among others. The first forwarding device 103 to which the terminal 104 is connected may also be referred to as AN Access Node (AN), which may be a Switch (SW), AN optical line terminal (optical line terminal, OLT), a digital subscriber line access multiplexer (digital subscriber line access multiplexer, DSLAM) or the like.
In some embodiments, the first forwarding device 103 is capable of not only forwarding messages in a two-layer broadcast domain, but also isolating the terminal 104 from a virtual extensible local area network (virtual extensible local area network, VXLAN) or QinQ. The QinQ (802.1Q-in-802.1Q) is a technology that extends the space of a virtual local area network (virtual local area network, VLAN), also known as the stacked (VLAN) technology.
In some embodiments, for a second forwarding device 105 in communication with the UP device 102, the second forwarding device 105 is closer to the multicast source 106 than the UP device 102. Optionally, the second forwarding device 105 is a Core Router (CR) or leaf node (leaf), etc.
With continued reference to fig. 1, the vBNG system 100 may also include an authentication server 107. The authentication server 107 may be a RADIUS server. The authentication server 107 supports the authentication, authorization, and accounting (authentication authorization accounting, AAA) protocols. As shown in fig. 1, the authentication server 107 establishes a communication connection with the CP device 101. The CP device 101 transmits an authentication request for the terminal 104 to the authentication server 107 after completing interaction with a dial-UP protocol message (may also be referred to as an access protocol message) of the terminal 104 through a target UP device among the plurality of UP devices 102.
The authentication server 107 authenticates the terminal 104, assigns an address to the terminal 104 after the authentication of the terminal 104 is passed, and transmits an authentication response carrying the address to the CP device 101. After the CP device 101 receives the authentication response, the user entry information of the terminal 101 may be issued to the target UP device. The target UP device may locally generate a forwarding table of the terminal 104 based on the user table information, perform relevant service policy execution and traffic forwarding, and issue a route of the terminal 104 to the outside. The terminal 104 may in turn access the network through the target UP device. That is, terminal 104 may access the network through the target UP device or, as will be appreciated, terminal 104 may be brought UP-line from the target UP device.
In an embodiment of the present application, the CP device 101 may include a plurality of Virtual Machines (VMs) deployed on a physical server. Each UP device 102 may be a physical UP (pUP) device of an entity or may also be a virtual UP (vcup) device, for example, the UP device 102 may be a VM deployed on a physical server. The CP device 101 can manage a plurality of puc devices and/or a plurality of vUP devices.
The CP device 101 and each UP device 102 may be connected through a service interface, a management interface, and a control interface. The service interface is also called a control message redirection interface (control packet redirect interface, CPRi), which is typically a VXLAN interface, for example, a VXLAN universal protocol extension (VXLAN generic protocol extension, VXLAN-GPE) interface. After receiving the message (such as the access protocol message and the service message) sent by the terminal 104, the UP device 102 may send the message to the CP device 101 through the service interface for processing.
The management interface (management interface, mi) is typically a network configuration protocol (network configuration, netcon f) interface through which the CP device 101 may issue configurations to the various UP devices 102, and through which each UP device 102 may report operating status to the CP device 101.
This control interface is also referred to as a state control interface (state control interface, SCi), which is typically a control transfer split protocol (control plane and user plane separated protocol, CUSP) interface. After the CP device 101 processes the access protocol packet sent by the terminal 104 and completes the online of the terminal 104, the user entry information corresponding to the terminal 104 may be issued to the corresponding UP device 102 through the control interface. The user entry information corresponding to the terminal 104 is also referred to as a session (session) entry, and generally includes information such as user information corresponding to the terminal 104, a virtual MAC address, routing information, and quality of service (Quality of Service, qoS). The user information includes information such as the address of the terminal 104 and/or the user account number, which is the address of an interface on the UP device 102 from which the terminal 104 is to be brought online.
In a CU-separated broadband gateway access system, each UP device 102 managed by the CP device 101 may form a UP pool. Also, to improve the reliability of the broadband remote access system, an n+1 temperature backup group may be configured for each interface on any UP device 102 for that UP device 102. Wherein N is an integer greater than or equal to 1, the n+1 temperature backup group indicates that the interface corresponds to N backup interfaces, and indicates that the interface corresponds to N backup UP devices, the N backup interfaces and the N backup UP devices are in one-to-one correspondence, and the N backup interfaces are respectively located on the N backup UP devices. Where N is an integer greater than or equal to 1, the warm backup group indicates that the CP device 101 may migrate a terminal that is online from the interface to a backup interface on at least one backup UP device, where the N backup UP devices include the at least one backup UP device.
When the UP device 102 fails, any one of the interfaces on the UP device 102 is referred to as a first interface for convenience of explanation, or when a certain interface of the UP device 102 fails, the failed interface is referred to as a first interface for convenience of explanation. CP device 101 may migrate a plurality of terminals 104 that are on-line from a first interface to at least one backup UP device corresponding to the first interface through a load sharing policy, so that traffic of the plurality of terminals is forwarded by the at least one backup UP device using respective backup interfaces.
For example, referring to fig. 2, the UP device 102 in the vBNG system 100 includes a UP device 1, a UP device 2, a UP device 3, a UP device 4, and the like. It is assumed that the interface 21 on the UP device 2 has a corresponding 3+1 warm backup group, and the 3+1 warm backup group represents three backup interfaces corresponding to the interface 21, and the three backup interfaces are the interface 11 on the UP device 1, the interface 31 on the UP device 3, and the interface 41 on the UP device 4, respectively. It is further assumed that the interface 22 in the UP device 2 also has a corresponding 2+1 warm backup set, and the 2+1 warm backup set is used to indicate two backup interfaces corresponding to the interface 22, where the two backup interfaces are the interface 12 on the UP device 1 and the interface 32 on the UP device 3, respectively.
Assuming a failure of the UP device 2, the cp device 101 will migrate to the UP device 1, to the UP device 3 and/or to the UP device 4 through the load sharing policy for the plurality of terminals 104 on the UP device 2 that are on-line from the interface 21. Thus, for at least one terminal migrated to the UP device 1, the UP device 1 forwards traffic of the at least one terminal through the interface 11; for at least one terminal migrated to the UP device 3, the UP device 3 forwards traffic of the at least one terminal through the interface 31; and/or, for at least one terminal migrated to the UP device 4, the UP device 4 forwards traffic of the at least one terminal through the interface 41.
For interface 22 on UP device2, cp device 101 will migrate from multiple terminals 104 on-line on interface 22 to UP device1 and/or UP device3 through the load sharing policy. Thus, for at least one terminal migrated to the UP device1, the UP device1 forwards traffic of the at least one terminal through the interface 12; for at least one terminal migrated to the UP device3, the UP device3 receives traffic forwarded by the CP device 101 to the at least one terminal through the interface 32.
In some embodiments, the CP device stores a first correspondence, where the first correspondence is used to store a correspondence between primary device information and backup device information, where the primary device information includes a device identifier of one UP device and an interface identifier of an interface on the UP device, and the backup device information includes device identifiers of N backup UP devices corresponding to the interface and interface identifiers of backup interfaces corresponding to the interface on the N backup UP devices.
For example, referring to the first correspondence shown in table 1 below, the first record (record with serial number 1) of the first correspondence includes the master device information and the slave device information. The main Device information includes a Device identification Device2 of the UP Device2 and an Interface identification Interface21 of the Interface21, the standby Device information includes a Device identification Device1 of the backup UP Device (UP Device 1) corresponding to the Interface21 and an Interface identification Interface11 of the backup Interface (Interface 11), the Device identifier Device3 of the backup UP Device (UP Device 3) corresponding to the Interface21 and the Interface identifier Interface31 of the backup Interface (Interface 31), and the Device identifier Device4 of the backup UP Device (UP Device 4) corresponding to the Interface21 and the Interface identifier Interface41 of the backup Interface (Interface 41).
The second record (record with serial number 2) of the first correspondence relationship includes the master device information and the slave device information. The main Device information includes Device2, which is a Device of the UP Device2, and Interface22, which is an Interface12, which is a Device1, which is a Device of the backup UP Device (UP Device 1) corresponding to the Interface22, and which is an Interface12, which is a backup Interface (Interface 12), and Device3, which is a Device of the backup UP Device (UP Device 3) corresponding to the Interface22, and which is an Interface 32, which is a backup Interface (Interface 32).
TABLE 1
In some embodiments, the UP device stores a second correspondence, where the second correspondence is used to store an interface identifier and backup device information, and for any record in the second correspondence, the record includes an interface identifier of an interface on the UP device and backup device information, where the backup device information includes device identifiers of N backup UP devices corresponding to the interface and interface identifiers of backup interfaces corresponding to the interface on the N backup UP devices.
For example, referring to table 2 below, the UP Device2 holds a second correspondence, and a first record (record with serial number 1) of the second correspondence includes Interface identifier 21 of Interface21 of UP Device2 and backup Device information including Interface identifier 11 of backup UP Device (UP Device 1) and Interface identifier 11 of backup Interface (Interface 11) corresponding to Interface21, interface identifier 31 of backup UP Device (UP Device 3) and Interface identifier 3 of backup Interface (Interface 31) corresponding to Interface21, and Interface identifier 41 of backup UP Device (UP Device 4) and Interface identifier Interface41 of backup Interface (Interface 41) corresponding to Interface 21.
The second record (record with serial number 2) of the second correspondence relationship includes the Interface identifier Interface22 of the UP device 2 and the standby device information. The backup Device information includes the Device identifier Device1 of the backup UP Device (UP Device 1) corresponding to the Interface22 and the Interface identifier Interface12 of the backup Interface (Interface 12), and the Device identifier Device3 of the backup UP Device (UP Device 3) corresponding to the Interface22 and the Interface identifier 32 of the backup Interface (Interface 32).
TABLE 2
In some embodiments, for each UP device 102 in the vBNG system 100, one or more virtual MAC addresses may be configured for an interface on that UP device 102 (i.e., an interface for terminal 104 to go online). The terminals that are brought on-line from the interface are divided into a plurality of user groups, each user group corresponding to a virtual MAC address. For any one of the user groups and the virtual MAC address corresponding to the user group, the terminal included in the user group uses the virtual MAC address to interact with the UP device 102. The CP device 101 can migrate with the virtual MAC address of the interface as granularity when migrating the terminal 104 that is on-line from the interface to another UP device. That is, for any virtual MAC address of the interface, CP device 101 may migrate the user group corresponding to the virtual MAC address from the interface to a backup UP device corresponding to the interface.
For example, still taking fig. 2 as an example, for the 3+1 warm backup group corresponding to the interface 21 on the UP device 2, a virtual MAC address 1, a virtual MAC address 2, and a virtual MAC address 3 are configured for the interface 21 on the UP device 2. That is, the terminal that is on-line from the interface 21 is divided into a user group 1 corresponding to the virtual MAC address 1, a user group 2 corresponding to the virtual MAC address 2, and a user group 3 corresponding to the virtual MAC address 3. Assuming that the UP device 2 fails, the CP device 101 migrates at least one terminal included in the user group 1 corresponding to the virtual MAC address 1 to the UP device 1, migrates at least one terminal included in the user group 2 corresponding to the virtual MAC address 2 to the UP device 3, and migrates at least one terminal included in the user group 3 corresponding to the virtual MAC address 3 to the UP device 4. In this way, the UP device 1 forwards the traffic of at least one terminal included in the user group 1 through the interface 11; the UP device 3 forwards the service of at least one terminal included in the user group 2 through the interface 31; and/or the UP device 4 forwards traffic of the terminal of the user group 3 comprising at least one through the interface 41.
For the 2+1 warm backup group corresponding to the interface 22 on the UP device 2, the virtual MAC address 4 and the virtual MAC address 5 are configured for the interface 22 on the UP device 2. That is, the terminals that are on-line from the interface 22 are divided into the user group 4 corresponding to the virtual MAC address 4 and the user group 5 corresponding to the virtual MAC address 5. Assuming that the UP device 2 fails, the CP device 101 migrates at least one terminal included in the user group 4 corresponding to the virtual MAC address 4 to the UP device 1, and migrates at least one terminal included in the user group 5 corresponding to the virtual MAC address 5 to the UP device 3. In this way, the UP device 1 forwards the traffic of at least one terminal comprised by the user group 4 through the interface 12; the UP device 3 forwards traffic of at least one terminal included in the user group 5 through the interface 32.
For any terminal 102 in the vBNG system 100 shown in fig. 1, for convenience of explanation, the terminal is referred to as a first terminal, and the first terminal needs to be on-line to a certain UP device in the vBNG system 100, and then the UP device can transmit the service of the first terminal. Referring to fig. 3, an embodiment of the present application provides a method 300 for terminal online, where the method 300 includes the following steps.
Step 301: the first terminal sends an access protocol message to the CP device, the access protocol message being used for requesting access to the network from the first terminal.
In some embodiments, the first terminal sends an access protocol message to an UP device in the vBNG system, and the UP device sends the access protocol message to the CP device. The UP device may be a UP device in the vicinity of the first terminal or a default UP device set in advance on the first terminal.
Optionally, the access protocol packet includes information such as a user account number and a user password of the first terminal.
Step 302: and the CP equipment receives the access protocol message, authenticates the first terminal through the authentication server, and acquires user table entry information of the first terminal when the authentication of the first terminal is passed.
The user entry information of the first terminal is used for transmitting the service of the first terminal.
In some embodiments, the first terminal is authenticated and user entry information for the first terminal is obtained through operations 3021-3025, respectively.
3021: the CP device transmits an authentication request for the first terminal to the authentication server.
In some embodiments, the authentication request includes information such as a user account number and a user password corresponding to the first terminal.
3022: the authentication server receives the authentication request, authenticates the first terminal, distributes an address for the first terminal after the authentication of the first terminal is passed, and sends an authentication response carrying the address to the CP equipment.
In some embodiments, the authentication server authenticates the first terminal based on information, such as a user account number and a user password, corresponding to the first terminal, included in the authentication request. Optionally, the address allocated for the first terminal comprises an internet protocol (internet protocol, IP) address and/or a media access control layer (media access control, MAC) address, etc.
3023: the CP device receives the authentication response, selects an UP device for the first terminal to be on-line from UP devices included in the vBNG system, and refers to the selected UP device as a second UP device for convenience of explanation.
In some embodiments, the CP device may directly select the UP device that sends the access protocol message, or select the UP device with the least load, or select the UP device nearest to the first terminal, etc.
3024: the CP device selects one interface from interfaces included in the second UP device, and for convenience of explanation, the selected interface is referred to as a first interface, and one user group is selected from at least one user group of the first interface.
In some embodiments, the CP device stores an interface identification of any one of the interfaces in the second UP device, at least one virtual MAC address of the interface and a terminal included in a user group corresponding to each virtual MAC. In 3024, the CP device selects one interface from the interfaces on the second UP device as the first interface based on the load balancing policy, and selects one user group from the user groups corresponding to each virtual MAC address of the first interface.
3025: the CP device generates user entry information of the first terminal, where the user entry information includes user information corresponding to the first terminal, a first virtual MAC address, first downlink routing information, and the like.
The first virtual MAC address is a virtual MAC address corresponding to the selected user group. The user information corresponding to the first terminal comprises the address of the first terminal and can also comprise information such as a user account number of the first terminal. The first downlink routing information includes a destination address and first next-hop information, the destination address is an address of the first terminal, and the next-hop device indicated by the first next-hop information is a first forwarding device in communication with the first terminal.
In some embodiments, for a first interface on a second UP device, the first interface corresponds to N backup interfaces located on N backup UP devices, one backup interface for each virtual MAC address for at least one virtual MAC address on the first interface.
In some embodiments, the CP device stores a third correspondence, where the third correspondence is used to store a correspondence between master device information and backup device information, and compared with the first correspondence, the master device information includes a device identifier of the second UP device, an interface identifier of the first interface, and a virtual MAC address of the first interface, and the backup device information includes a device identifier of a backup UP device corresponding to the first interface and the virtual MAC address, and an interface identifier of a backup interface on the backup UP device. Optionally, the CP device stores any one of the first correspondence and the third correspondence described above.
For example, referring to fig. 2, for interface21 on UP device2, interface21 has a corresponding virtual MAC address 1, virtual MAC address 2, and virtual MAC address 3, and the three backup interfaces corresponding to interface21 include interface11 on UP device1, interface31 on UP device3, and interface 41 on UP device 4. Virtual MAC address 1 corresponds to interface11 on UP device1, virtual MAC address 2 corresponds to interface31 on UP device, and virtual MAC address 3 corresponds to interface 41 on UP device 4. Referring to table 3 below, the cp Device stores a third correspondence relationship in which a first record (record with serial number 1) of the third correspondence relationship includes main Device information including Device identifier Device2 of UP Device1, interface identifier Interface21 of Interface21, and virtual MAC address 1, and standby Device information including Device identifier Device1 of UP Device1 and Interface identifier Interface11 of Interface11. The second record (record with serial number 2) of the third correspondence relationship includes master Device information including Device identification Device2 of the UP Device2, interface identification Interface21 of the Interface21, and virtual MAC address 2, and backup Device information including Device identification Device3 of the UP Device3 and Interface identification Interface31 of the Interface31. Other records in the third correspondence shown in table 3 are not listed here.
TABLE 3 Table 3
In some embodiments, the UP device stores a fourth correspondence, where the fourth correspondence is used to store a correspondence between an interface identifier, a virtual MAC address, and backup device information, and for each record stored in the fourth correspondence, the record includes an interface identifier, a virtual MAC address, and backup device information, where the interface identifier is an interface identifier of an interface on the UP device, and the virtual MAC address is a virtual MAC address of the interface. Optionally, the UP device stores any one of the second correspondence relationship and the fourth correspondence relationship described above.
For example, referring to fig. 2, with respect to the UP Device 2, the UP Device 2 holds a fourth correspondence relationship shown in the following table 4, and a first record (record with serial number 1) of the fourth correspondence relationship includes an Interface identifier Interface21 of the Interface21, a virtual MAC address 1, and standby Device information including a Device identifier Device1 of the UP Device1 and an Interface identifier Interface11 of the Interface11. The second record (record with serial number 2) of the fourth correspondence relationship includes Interface21, virtual MAC address 2, and backup Device information including Device3, which is the Device identifier of UP Device3, and Interface31, which is the Interface identifier of Interface31. Other records in the fourth correspondence shown in table 4 are not listed here.
TABLE 4 Table 4
In some embodiments, for any one virtual MAC address of the first interface, the backup UP device and the second UP device corresponding to the virtual MAC address are located in the same power supply group, or the backup UP device and the second UP device corresponding to the virtual MAC address are located in different power supply groups. Alternatively, the UP devices located in the same machine room may be referred to as a power supply group, or the UP devices located in the same rack may be referred to as a power supply group, or the UP devices with the same power supply may be referred to as a power supply group.
When the backup UP device corresponding to the virtual MAC address and the second UP device are located in different power supply groups, when the power supply group in which the second UP device is located fails, such as power failure, the terminal in the user group corresponding to the virtual MAC address on the second UP device can be migrated to the backup UP device corresponding to the virtual MAC address. Because the backup UP device and the second UP device belong to different power supply groups, the power supply group where the backup UP device is located may not have faults such as power failure, so that each terminal in the user group can successfully go online on the backup UP device.
In some embodiments, the CP device sends, when generating the user entry information of the first terminal, the user entry information corresponding to the first terminal to the backup UP device corresponding to the first virtual MAC address. When the method is realized, the following steps are:
The CP equipment forms the equipment identifier of the second UP equipment, the interface identifier of the first interface and the first virtual MAC address into main equipment information, acquires corresponding backup equipment information from the third corresponding relation based on the main equipment information, and the acquired backup equipment information comprises the equipment identifier of one backup UP equipment and the interface identifier of the backup interface on the backup UP equipment. The CP device sends first information and user entry information of the first terminal to the backup UP device based on the device identifier of the backup UP device, where the first information includes one or more of a device identifier of the second UP device, an interface identifier of the first interface, and a first virtual MAC address. The backup UP device receives the interface identifier of the backup interface, the first information and the user table entry information of the first terminal, forms a record with the first information and the user table entry information of the first terminal, and stores the record in a fifth corresponding relation.
For example, assuming that the first virtual MAC address is virtual MAC address 1, the cp Device composes Device identifier 2 of the second UP Device, interface identifier 21 of the first Interface, and virtual MAC address 1 into master Device information, and obtains, based on the master Device information, corresponding backup Device information from the third correspondence relationship shown in table 3, where the obtained backup Device information includes Device identifier 1 of the backup UP Device and Interface identifier 11 of the backup Interface. The CP Device sends first information and user table entry information of the first terminal to the first UP Device based on the Device identifier Device1 of the backup UP Device, where the first information includes one or more of the Device identifier Device2 of the second UP Device, the Interface identifier Interface21 of the first Interface, and the virtual MAC address 1. The first UP device receives the first information and the user entry information of the first terminal, composes the first information and the user entry information of the first terminal into a record, and stores the record in a fifth correspondence as shown in table 5.
TABLE 5
Step 303: the CP device transmits user entry information of the first terminal to the second UP device.
In some embodiments, the CP device stores a correspondence between the device identification of the second UP device, the interface identification of the first interface, the first virtual MAC address, and user entry information of the first terminal in a sixth correspondence.
For example, referring to the sixth correspondence shown in table 6 below, the CP Device stores the correspondence between the Device identifier Device2 of the second UP Device, the Interface identifier Interface21 of the first Interface, the first virtual MAC address (virtual MAC address 1), and the user entry information of the first terminal in the sixth correspondence shown in table 6 below.
TABLE 6
Device identification of UP device Interface identification Virtual MAC address User entry information
Device2 Interface21 Virtual MAC address 1 User entry information for a first terminal
…… …… …… ……
Step 304: the second UP equipment receives user table entry information of the first terminal and sends an access response message to the first terminal, wherein the access response message comprises user information of the first terminal and a first virtual MAC address, and the user information comprises the address of the first terminal.
After receiving user entry information of a first terminal, the second UP device associates the user entry information with a first interface corresponding to a first virtual MAC address based on the first virtual MAC address in the user entry information.
In some embodiments, in the case that each virtual MAC address of the first interface corresponds to a backup interface on a backup UP device, the CP device may send, instead of the user table entry information of the first terminal to the backup UP device, the user table entry information of the first terminal to the backup UP device after the second UP device receives the user table entry information of the first terminal. When the method is realized, the following steps are:
the second UP device sends the interface identifier of the backup interface, first information and user table entry information of the first terminal to the backup UP device based on the device identifier of the backup UP device, wherein the first information comprises one or more of the device identifier of the second UP device, the interface identifier of the first one-to-one interface and the first virtual MAC address. The backup UP device receives the interface identifier, the first information and the user table information of the first terminal of the backup interface, forms a record with the interface identifier, the first information and the user table information of the first terminal of the backup interface, and stores the record in a fifth corresponding relation.
Step 305: the first terminal receives the address of the first terminal and the first virtual MAC address, and sends a first service request to the second UP device, wherein the first service request comprises user information of the first terminal, the first virtual MAC address and service information of a service to be requested.
The address of the first terminal and the first virtual MAC address are received at the first terminal, and the first terminal may request a service. The service information of the service to be requested by the first terminal comprises an address corresponding to the service to be requested. The user information of the first terminal includes the address of the first terminal, and may also include content such as a user account of the first terminal.
If the service to be requested by the first terminal is a multicast service, the address of the service to be requested is a multicast address of a first multicast source, the first multicast source is a multicast source corresponding to the multicast service, the first service request is a multicast joining request, and the service information of the service to be requested is multicast information, wherein the multicast information comprises the multicast address. If the service to be requested by the first terminal is a non-multicast service, the address of the service to be requested is the address of the server where the service to be requested is located.
Optionally, the first terminal sends a first service request to the first forwarding device, the first forwarding device receives the first service request, and sends the first service request to the second UP device based on a first virtual MAC address included in the first service request.
Step 306: the second UP device receives the first service request and sends a second service request to the second forwarding device, wherein the second service request comprises user information of the first terminal and service information of a service to be requested.
In step 306, the second UP device receives a first service request through the first interface, where the service to be requested in the first service request may be a multicast service or a non-multicast service.
If the service to be requested is a non-multicast service, the second UP device generates first uplink routing information corresponding to the first terminal, wherein the first uplink routing information comprises a destination address and second next-hop information, the destination address is an address of the service to be requested (an address of a server), the next-hop device indicated by the second next-hop information is second forwarding device, and the first uplink routing information is added to user table entry information of the first terminal.
The second UP device also sends an update request to the CP device, wherein the update request comprises user information of the first terminal and first uplink route information, the CP device receives the update request, acquires user table entry information comprising the user information, the user table entry information is the user table entry information of the first terminal, and adds the first uplink route information to the user table entry information of the first terminal.
In some embodiments, the second UP device further sends an update request to the backup UP device corresponding to the first virtual MAC address, the update request including user information of the first terminal and the first uplink routing information. The backup UP equipment receives the update request, acquires user table entry information comprising the user information, wherein the user table entry information is user table entry information of the first terminal, and adds first uplink route information to the user table entry information of the first terminal. Or after the CP device receives the update request, sending the update request to the backup UP device corresponding to the first virtual MAC address. The backup UP equipment receives the update request, acquires user table entry information comprising the user information, wherein the user table entry information is user table entry information of the first terminal, and adds first uplink route information to the user table entry information of the first terminal.
If the service to be requested is a multicast service, the second UP device forms a record of multicast information of the service to be requested and user information of the first terminal, and stores the record in a seventh corresponding relation.
In some embodiments, the second UP device sends multicast information of the service to be requested and user information of the first terminal to the first UP device, where the first UP device is a backup UP device corresponding to the first interface, and the first UP device receives the multicast information and the user information of the first terminal, composes the multicast information and the user information of the first terminal into a record, and stores the record in a seventh correspondence. Optionally, the first UP device is a backup UP device corresponding to the first interface and the first virtual MAC address. When the method is realized, the following steps are:
the second UP device obtains device identifiers of N backup UP devices corresponding to the first interface from the second corresponding relation based on the interface identifier of the first interface, sends the multicast information and the user information of the first terminal to each backup UP device based on the device identifier of each backup UP device, and forms a record with the multicast information and the user of the first terminal and stores the record in the seventh corresponding relation.
For example, referring to fig. 2, the up device 2 receives the first service request through the interface21, composes a record of multicast information in the first service request and user information of the first terminal and stores the record in the seventh correspondence. Based on the interface identifier 21 of the interface21, 3 backup UP corresponding to the interface21 are acquired from the second correspondence relationship shown in table 2, which are UP device 1, UP device 3 and UP device 4 respectively. The multicast information and the user information of the first terminal are transmitted to the UP device 1, the UP device 3 and the UP device 4, respectively, and the UP device 1, the UP device 3 or the UP device 4 composes a record of the multicast information and the user information of the first terminal and stores the record in the seventh correspondence.
Or alternatively, the process may be performed,
the second UP device obtains the device identification of a backup UP device corresponding to the first interface and the first virtual MAC address from the fourth corresponding relation based on the first interface and the first virtual MAC address, sends the multicast information and the user information of the first terminal to the backup UP device based on the device identification of the backup UP device, and then forms a record with the multicast information and the user of the first terminal and stores the record in the seventh corresponding relation.
For example, referring to fig. 2, the up device 2 receives a first service request through the interface21, assuming that the first service request includes user information of the first terminal, a virtual MAC address 1, and multicast information. And forming a record by the multicast information in the first service request and the user information of the first terminal, and storing the record in a seventh corresponding relation. Based on the interface identifier interface21 and the virtual MAC address 1 of the interface21, the backup UP1 corresponding to the interface21 and the virtual MAC address 1 is acquired from the fourth correspondence relationship shown in table 4. The multicast information and the user information of the first terminal are transmitted to the UP device 1, and the UP device 1 composes a record of the multicast information and the user information of the first terminal and saves the record in the seventh correspondence.
Step 307: the second forwarding device receives the second service request, generates routing information corresponding to the first terminal, and requests the service to be requested based on an address of the service to be requested included in the second service request.
In step 307, when the service to be requested is a multicast service, the address of the service to be requested is a multicast address, the second forwarding device adds the first terminal to a multicast group based on the multicast address and the address of the first terminal, where the multicast group is a multicast group of a first multicast source corresponding to the multicast address, generates routing information corresponding to the first terminal, where the routing information includes second downlink routing information, where the second downlink routing information includes the multicast address and third next hop information, and where the next hop device indicated by the third next hop information is a second UP device.
Referring to fig. 2, the second forwarding device may then send the multicast service of the multicast source multicast to the first terminal, where the implementation procedure is as follows:
the second forwarding device receives a first service message multicast by the multicast source based on the multicast address, wherein the first service message is a message belonging to the multicast service, the first service message comprises multicast information, the multicast information comprises the multicast address, second downlink routing information comprising the multicast address is obtained, third next hop information is obtained from the second downlink routing information, and the first service message is sent to the second UP device (such as UP device 2) based on the third next hop information.
The second UP device (e.g., UP device 2) receives the first service packet, obtains the user information of the first terminal from the seventh corresponding relationship based on the multicast information included in the first service packet, and obtains the user entry information including the user information from the stored user entry information, where the user entry information is the user entry information of the first terminal. And sending a second service message to the first terminal based on the user table entry information, wherein the second service message is obtained based on the first service message.
Optionally, the user table entry information includes first downlink routing information and a first virtual MAC address (e.g. virtual MAC address 1), where a next-hop device indicated by the first next-hop information in the first downlink routing information is a first forwarding device, and the second UP device (e.g. UP device 2) sends the second service packet to the first forwarding device through a first interface (e.g. interface 21) corresponding to the first virtual MAC address. The first forwarding equipment receives the second service message and sends the second service message to the first terminal.
In step 307, when the service to be requested is a non-multicast service, the address of the service to be requested is the address of the server where the service to be requested is located, and the second forwarding device generates the routing information corresponding to the first terminal and sends the second service request to the server, where the routing information includes the second downlink routing information and the second uplink routing information. The second downlink routing information includes a destination address and third next-hop information, the destination address is the address of the first terminal, and the next-hop device indicated by the third next-hop information is the second UP device. The second uplink routing information comprises a destination address and fourth next-hop information, the destination address is the address of the server, and the next-hop device indicated by the fourth next-hop information is the server, or the next-hop device comprises routing information capable of reaching the server.
Referring to fig. 2, the second forwarding device may then transmit the service to be requested to the first terminal, where the implementation procedure is as follows:
for the downlink transmission direction, the second forwarding device receives a third service message sent by the server, wherein the third service message is a message belonging to a service to be requested, and the destination address of the third service message is the address of the first terminal. The second forwarding device obtains second downlink routing information including the address of the first terminal, obtains third next-hop information from the second downlink routing information, and sends a third service message to a second UP device (e.g., UP device 2) indicated by the third next-hop information. The second UP equipment receives a third service message, and based on the address of the first terminal, acquires user table information comprising the address of the first terminal from the stored user table information, wherein the user table information is the user table information of the first terminal. And sending a fourth service message to the first terminal based on the user table entry information, wherein the fourth service message is obtained based on the third service message.
Optionally, the user entry information includes a first virtual MAC address (e.g. virtual MAC address 1) and first downlink routing information, where a next-hop device indicated by the first next-hop information in the first downlink routing information is a first forwarding device, and the second UP device (e.g. UP device 2) sends a fourth service packet to the first forwarding device through a first interface (e.g. interface 21) corresponding to the first virtual MAC address. The first forwarding device receives the fourth service message and sends the fourth service message to the first terminal.
For the uplink transmission direction, the first terminal sends a fifth service message to the first interface (such as the interface 21 of the UP device 2) of the second UP device based on the first virtual MAC address (such as the virtual MAC address 1), where the fifth service message includes the address of the first terminal and the address of the server, and the address of the server is the destination address of the fifth service message. The second UP device receives the fifth service packet through the first interface (such as interface 21), and obtains user entry information including an address of the first terminal, where the user entry information includes first uplink route information, and a next-hop device indicated by second next-hop information in the first uplink route information is a second forwarding device. The second UP device sends a sixth service message to the second forwarding device, the sixth service message is obtained based on the fifth service message, and a destination address of the sixth service message is an address of the server. The second forwarding device receives the sixth service message, acquires second uplink routing information with the destination address being the address of the server, and sends the sixth service message to the server based on the second uplink routing information.
Optionally, the first terminal sends a fifth service packet to the first forwarding device, where the fifth service packet further includes a first virtual MAC address (e.g., virtual MAC address 1). The first forwarding device receives the fifth service packet, and sends the fifth service packet to the first interface (e.g., interface 21 of the UP device 2) of the second UP device based on the first virtual MAC address included in the fifth service packet.
Referring to fig. 4, an embodiment of the present application provides a method 400 for transmitting multicast traffic, where the method 400 is applied to the vBNG system 100 shown in fig. 1, and the vBNG system 100 includes a CP device, a first UP device and a second UP device, and the method 200 includes the following steps.
Step 401: the first UP device receives a migration instruction, wherein the migration instruction is used for indicating to migrate a first terminal to the first UP device, and the first terminal is a terminal on line on the second UP device.
Wherein the first terminal is a terminal that is on-line on a first interface on the second UP device. In step 401, the first UP device receives a migration instruction sent by the CP device.
In some embodiments, when the CP device senses a failure of the second UP device, it is necessary to migrate the terminal that is on-line from each interface on the second UP device to the other UP device, and the first interface is any interface on the second UP device.
In some embodiments, when the first interface of the second UP device fails, the second UP device sends failure notification information to the CP device, where the failure notification information includes an interface identifier of the first interface, and the CP device receives the failure notification information, where the CP device needs to migrate a terminal that is online from the first interface on the second UP device to the other UP device.
In step 401, the CP device determines the first UP device in two ways, and sends a migration instruction to the first UP device, where the two ways are respectively.
In the first mode, when the CP device needs to migrate a terminal that is online from the first interface, the CP device determines N backup UP devices corresponding to the first interface, where each backup UP device includes a backup interface corresponding to the first interface. Based on at least one virtual MAC address of the first interface and the device identification of the second UP device, the CP device acquires a user group corresponding to each virtual MAC address of the first interface, selects a corresponding backup UP device for each user group from the N backup UP devices, wherein the N UP devices comprise the first UP device. Based on the device identifier of the first UP device, a migration instruction is sent to the first UP device, the migration instruction comprises an interface identifier of the second interface, the user list item information corresponding to each terminal in the first user group is a user group selected for the first UP device, the user list item information of each terminal in the first user group comprises a first virtual MAC address, and the first virtual MAC address is a virtual MAC address corresponding to the first user group.
The second interface is a backup interface corresponding to the first interface on the first UP device, and the first user group comprises a first terminal.
Wherein the second UP device and the N backup UP devices belong to the same warm backup group.
In some embodiments, the CP device stores a first correspondence and a sixth correspondence, and the CP device obtains, from the first correspondence, device identifiers of N backup UP devices corresponding to the first interface and interface identifiers of backup interfaces on the N backup UP devices, based on the device identifiers of the second UP device and the interface identifiers of the first interface. Based on at least one virtual MAC address of the first interface, the interface of the first interface and the equipment identifier of the second UP equipment, the CP equipment acquires user table entry information of each terminal included in at least one user group corresponding to the first interface from a sixth corresponding relation. Based on the load sharing policy, a corresponding backup UP device is selected from the N backup UP devices for each user group.
For example, assuming that the CP device holds a first correspondence relationship as shown in table 1, referring to fig. 2, the CP device perceives a failure of the UP device2, the UP device2 includes an interface21 and an interface 22. For the Interface21, the cp Device obtains the Device identifiers of the corresponding three backup UP devices and the Interface identifiers of the backup interfaces on the three backup UP devices from the first correspondence as shown in table 1, based on the Device identifier Device2 of the UP Device2 and the Interface identifier Interface21 of the Interface 21. Namely, the Device identifier Device1 of the UP Device1 and the Interface identifier Interface11 of the Interface11, the Device identifier Device3 of the UP Device3 and the Interface identifier Interface31 of the Interface31, and the Device identifier Device4 of the UP Device4 and the Interface identifier Interface41 of the Interface41 are acquired. The virtual MAC address of the Interface21 includes a virtual MAC address 1, a virtual MAC address 2, and a virtual MAC address 3, and selects a corresponding backup UP device for the user group 1 corresponding to the virtual MAC address 1 as the UP device1, and sends a migration instruction 1 to the UP device1, where the migration instruction 1 includes an Interface identifier Interface11 of the Interface11, the virtual MAC address 1, and user table entry information corresponding to each terminal in the user group 1. And selecting a corresponding backup UP device as UP device3 for the user group 2 corresponding to the virtual MAC address 2, and sending a migration instruction 2 to the UP device3, wherein the migration instruction 2 comprises an Interface identifier 31 of an Interface31, the virtual MAC address 2 and user table item information corresponding to each terminal in the user group 2. And selecting a corresponding backup UP device as UP device4 for the user group 3 corresponding to the virtual MAC address 3, and sending a migration instruction 3 to the UP device4, wherein the migration instruction 3 comprises an Interface identifier 41 of the Interface41, the virtual MAC address 3 and user table item information corresponding to each terminal in the user group 3. For the interface 22 on the UP device2, reference is made to the above-described processing of the interface21, which is not described in detail here.
In a second mode, when the CP device needs to migrate a terminal that is on-line from the first interface, the CP device selects a virtual MAC address from at least one virtual MAC address of the first interface as the first virtual MAC address, obtains, from a third correspondence, a device identifier of a backup UP device corresponding to the first interface and the first virtual MAC address, and an interface identifier of a backup interface on the backup UP device, based on a device identifier of the second UP device, an interface identifier of the first interface, and the first virtual MAC address, and uses the backup UP device as the first UP device. And transmitting a migration instruction to the first UP equipment based on the equipment identification of the first UP equipment.
In the second mode, the device identifier of the backup UP device corresponding to the first interface and the first virtual MAC address and the interface identifier of the backup interface on the backup UP device are obtained from the third corresponding relationship, that is, the backup interface is precisely bound with the first virtual MAC address, so that the backup relationship in the warm backup group is controllable, and smooth switching of the forwarding side behavior is convenient to realize.
In some embodiments, for a first user group corresponding to the first virtual MAC address, when the first UP device stores user entry information corresponding to each terminal in the first user group, the migration instruction includes an interface identifier of the second interface and first information, where the first information includes one or more of an interface identifier of the first interface, a device identifier of the second UP device, and the first virtual MAC address. Or when the first UP equipment does not store the user list item information corresponding to each terminal in the first user group, the migration instruction comprises the interface identification of the second interface, the first virtual MAC address and the user list item information corresponding to each terminal in the first user group.
For example, assuming that the CP device holds a third correspondence relationship as shown in table 3, referring to fig. 2, the CP device perceives a failure of the UP device2, the UP device2 includes an interface21 and an interface 22. For the Interface21, the virtual MAC address of the Interface21 includes a virtual MAC address 1, a virtual MAC address 2, and a virtual MAC address 3, the cp Device obtains, from a third correspondence as shown in table 3, a Device identifier Device1 of the corresponding UP Device1 and an Interface identifier Interface11 of the Interface11 based on a Device identifier Device2 of the UP Device2, an Interface identifier Interface21 of the Interface21, and the virtual MAC address 1, sends a migration instruction 1 to the UP Device1, where the migration instruction 1 includes an Interface identifier Interface11 of the Interface11, a virtual MAC address 1, and user table entry information corresponding to each terminal in the user group 1, or the migration instruction 1 includes an Interface identifier Interface11 of the Interface11 and first information, where the first information includes the virtual MAC address 1. The CP Device obtains the Device identifier Device3 of the corresponding UP Device3 and the Interface identifier Interface31 of the Interface31 from the third corresponding relationship shown in table 3 based on the Device identifier Device2 of the UP Device2, the Interface identifier Interface21 of the Interface21, and the virtual MAC address 2, and sends a migration instruction 2 to the UP Device3, where the migration instruction 2 includes the Interface identifier Interface31 of the Interface31, the virtual MAC address 2, and user table entry information corresponding to each terminal in the user group 2, or the migration instruction 2 includes the Interface identifier Interface31 of the Interface31 and first information, and the first information includes the virtual MAC address 2. The CP Device obtains the Device identifier Device4 of the corresponding UP Device4 and the Interface identifier Interface41 of the Interface41 from the third corresponding relationship shown in table 3 based on the Device identifier Device2 of the UP Device2, the Interface identifier Interface21 of the Interface21, and the virtual MAC address 3, and sends a migration instruction 3 to the UP Device4, where the migration instruction 3 includes the Interface identifier Interface41 of the Interface41, the virtual MAC address 3, and user table entry information corresponding to each terminal in the user group 3, or the migration instruction 3 includes the Interface identifier Interface41 of the Interface41 and first information, and the first information includes the virtual MAC address 3.
Step 402: the first UP device sends a query request to the first terminal based on the migration instruction.
In step 402, the first UP device may send a query request to the first terminal through operations 4021-4022, where the operations of 4021-4022 are respectively.
4021: and the first UP equipment acquires the user information of the first terminal based on the migration instruction.
In some embodiments, the migration instruction includes user entry information corresponding to each terminal in the first user group, the first user group including the first terminal, the user entry information of the first terminal including the user information of the first terminal. In 4021, the first UP device randomly selects user entry information of one terminal from the user entry information of each terminal in the first user group included in the migration instruction as the user entry information of the first terminal. And reading the user information of the first terminal from the user table entry information of the first terminal.
Because the migration instruction comprises the user list information of each terminal, the first UP equipment directly acquires the user list information from the migration instruction, so that the first UP equipment can acquire the user list information conveniently, and the algorithm implementation complexity is simplified.
After receiving the migration instruction, the first UP device uses the first virtual MAC address as a virtual MAC address of the second interface based on the interface identifier of the second interface, and stores user entry information of each terminal in the first user group. The following description is needed: the second interface has one virtual MAC address added after the first virtual MAC address is taken as one virtual MAC address of the second interface, for example, the second interface has three virtual MAC addresses, and the second interface has four virtual MAC addresses after the first virtual MAC address is taken as one virtual MAC address of the second interface.
In some embodiments, the migration instruction includes an interface identifier of the second interface and first information, and the first UP device obtains user entry information of each terminal in the first user group from the fifth correspondence based on the first information and the interface identifier of the second interface. And selecting the user list item information of one terminal from the user list item information of each terminal in the first user group as the user list item information of the first terminal. And reading the user information of the first terminal from the user table entry information of the first terminal.
For example, referring to fig. 2, assume that the first UP device is UP device 1, and that UP device 1 receives a migration instruction 1, migration instruction 1 includes Interface identifier 11 of Interface11 and first information, and the first information includes virtual MAC address 1. And acquiring user table entry information of each terminal in the first user group from a fifth corresponding relation shown in table 5 based on the first information, wherein the acquired user table entry information comprises the user table entry information of the first terminal, and acquiring the user information of the first terminal from the user table entry information.
After obtaining user table entry information of each terminal in the first user group, the first UP device uses the first virtual MAC address as one virtual MAC address of the second interface based on the interface identifier of the second interface.
4022: the first UP device transmits a query request to the first terminal based on user information of the first terminal.
Step 403: the first UP equipment receives an inquiry response sent by the first terminal based on the inquiry request, wherein the inquiry response comprises multicast information corresponding to the first terminal.
After the first terminal receives the query request, if the first terminal joins a certain multicast group, the first terminal sends multicast information corresponding to the first terminal to the first UP device, where the multicast information is multicast information of a first multicast source, and the multicast group corresponding to the first multicast source is the multicast group joined by the first terminal. If the first terminal does not join any multicast group, the first terminal sends a rejection response to the first UP device.
In some embodiments, the first UP device composes a record of the user information of the first terminal and the multicast information and stores the record in a seventh correspondence.
In some embodiments, the query request and query response are both internet group management protocol (internet group management protocol, IGMP) encapsulated messages, alternatively, the query request and query response are both messages encapsulated based on multicast listener discovery protocol (multicast listener discover, MLD).
Step 404: the first UP device forwards multicast service to the first terminal based on the multicast information.
The multicast service is a multicast service of a first multicast source multicast, and the multicast group corresponding to the first multicast source is a multicast group added by the first terminal. Optionally, the multicast service is high-speed internet surfing (high speed interner, HSI) or IP television/internet television (internet protocol TV, IPTV).
In step 404, the first UP device sends a third service request to the second forwarding device, the third service request including the multicast information, the multicast information including a multicast address. The second forwarding device receives a third service request, if the second forwarding device has received the multicast service corresponding to the multicast information, third downlink routing information is generated, the third downlink routing information comprises the multicast address and fifth next-hop information, and the next-hop device indicated by the fifth next-hop information is the first UP device. If the second forwarding device does not receive the multicast service corresponding to the multicast information, receiving the multicast service multicast by the first multicast source based on the multicast address included in the multicast information, and generating third downlink routing information, wherein the third downlink routing information includes the multicast address and fifth next-hop information, and the next-hop device indicated by the fifth next-hop information is the first UP device.
Referring to fig. 5, the multicast service is sent to the first terminal, and the sending process is as follows: the second forwarding device receives a seventh service message multicast by the first multicast source based on the multicast address, wherein the seventh service message is a message belonging to the multicast service, the seventh service message comprises multicast information, the multicast information comprises the multicast address, third downlink route information comprising the multicast address is obtained, fifth next hop information is obtained from the third downlink route information, and the seventh service message is sent to the first UP device (such as UP device 1) based on the fifth next hop information.
The first UP device (e.g., UP device 1) receives the seventh service packet, obtains the user information of the first terminal from the seventh corresponding relationship based on the multicast information included in the seventh service packet, and obtains the user entry information including the user information from the stored user entry information, where the user entry information is the user entry information of the first terminal. And sending an eighth service message to the first terminal based on the user table entry information, wherein the eighth service message is obtained based on the seventh service message.
Optionally, the user table entry information includes first downlink routing information and a first virtual MAC address (e.g. virtual MAC address 1), where a next-hop device indicated by the first next-hop information in the first downlink routing information is a first forwarding device, and the first UP device (e.g. UP device 1) sends an eighth service packet to the first forwarding device through a second interface (e.g. interface 11) corresponding to the first virtual MAC address. The first forwarding device receives the eighth service message and sends the eighth service message to the first terminal.
In the embodiment of the application, the first UP equipment receives a migration instruction sent by the CP equipment, the migration instruction is used for indicating to migrate the first terminal from the second UP equipment to the first UP equipment, the first UP equipment sends a query request to the first terminal based on the migration instruction, and receives a query response sent by the first terminal based on the query request, wherein the query response comprises multicast information corresponding to the first terminal. That is, the first UP device actively queries the multicast information corresponding to the multicast group added by the first terminal through the query request based on the migration instruction, and forwards the multicast service to the first terminal based on the multicast information when the multicast information is queried, thereby automatically recovering the multicast service and ensuring that the multicast service can be normally forwarded to the first terminal. In addition, the first UP equipment inquires the multicast information corresponding to the first terminal from the first terminal, and the first UP equipment does not need to store data for acquiring the multicast information, so that the resources of the first UP equipment are saved, and the user experience is improved because the user does not need to manually recover the multicast service.
Referring to fig. 6, an embodiment of the present application provides a method 600 for transmitting multicast service, where the method 600 is applied to the vBNG system 100 shown in fig. 1, and the vBNG system 100 includes a CP device, a first UP device and a second UP device, and the method 600 includes the following steps.
Step 601: the first UP equipment receives multicast information corresponding to a first terminal sent by the second UP equipment, wherein the first terminal is a terminal on the second UP equipment.
Referring to step 306 of the method 300 shown in fig. 3, the second UP device transmits multicast information of a service to be requested by the first terminal and user information of the first terminal to the first UP device. The first UP equipment receives the multicast information and the user information of the first terminal, and forms a record with the multicast information and the user information of the first terminal and stores the record in a seventh corresponding relation.
After step 601, if the second UP device fails or the first interface on the second UP device fails, the first interface is any one of the interfaces on the second UP device, the operations of steps 602-603 are performed as follows.
Step 602: the first UP equipment receives a migration instruction, wherein the migration instruction is used for indicating to migrate the first terminal to the first UP equipment.
The first UP equipment receives a migration instruction sent by the CP equipment. Referring to step 401 of the method 400 shown in fig. 4, the cp device transmits a migration instruction to the first UP device in the first manner or the second manner described in step 401.
In some embodiments, the migration instruction includes an interface identifier of the second interface, and user entry information corresponding to each terminal in the first user group. Alternatively, the migration instruction includes an interface identification of the second interface and first information, and the first information includes one or more of a device identification of the second UP device, an interface identification of the first interface, and a first virtual MAC address.
The first user group is a user group corresponding to a first interface on the first UP device, user table entry information of each terminal in the first user group comprises a first virtual MAC address, the first virtual MAC address is a virtual MAC address corresponding to the first user group, and the second interface is a backup interface corresponding to the first interface.
Step 603: the first UP equipment forwards multicast service to the first terminal based on the multicast information and the migration instruction.
In step 603, the first UP device forwards the multicast service to the first terminal through the following operations 6031-6033, where the operations 6031-6033 are respectively.
6031: the first UP equipment acquires first user list item information based on the migration instruction, wherein the first user list item information is used for transmitting the service of the first terminal, and the user information of the first terminal is acquired from the first user list item information.
In some embodiments, the migration instruction includes user entry information corresponding to each terminal in the first user group, the first user group including the first terminal, the user entry information of the first terminal including the user information of the first terminal.
In some embodiments, the migration instruction includes an interface identifier of the second interface and first information, and the first UP device obtains user entry information of each terminal in the first user group from the fifth correspondence based on the first information and the interface identifier of the second interface. And selecting the user list item information of one terminal from the user list item information of each terminal in the first user group as the user list item information of the first terminal. And reading the user information of the first terminal from the user table entry information of the first terminal.
6032: the first UP equipment acquires multicast information corresponding to the first terminal from the seventh corresponding relation based on the user information of the first terminal.
6033: the first UP device forwards multicast service to the first terminal based on the multicast information.
The detailed implementation process of forwarding the multicast service to the first terminal by the first UP device based on the multicast information is referred to as related content in step 404 of method 400 shown in fig. 4, which is not described in detail herein.
In the embodiment of the application, the first UP device receives the multicast information corresponding to the first terminal sent by the second UP device, and the first terminal is a terminal on the second UP device. The first UP equipment receives a migration instruction, wherein the migration instruction is used for indicating to migrate the first terminal to the first UP equipment. The first UP equipment forwards multicast service to the first terminal based on the multicast information and the migration instruction. Because the first UP device receives the multicast information corresponding to the first terminal sent by the second UP device, when the first UP device receives the migration instruction for indicating to migrate the first terminal, the first UP device can rapidly forward the multicast service to the first terminal based on the migration instruction and the multicast information, that is, the UP device on the terminal actively sends the multicast information corresponding to the terminal to other UP devices, so that when the UP device fails, the other UP devices can rapidly and automatically recover the multicast service, ensure that the multicast service can be normally forwarded to the first terminal, and further improve the efficiency of recovering the multicast service. And the user is not required to manually recover the multicast service, so that the user experience is improved.
Referring to fig. 7, an embodiment of the present application provides an apparatus 700 for sending a multicast service, where the apparatus 700 is applied to a virtual broadband access gateway vBNG system, and the vBNG system includes the apparatus 700 and a second user plane UP device. The apparatus 700 may be deployed on a first UP device 1021 in a vBNG system 100 as shown in fig. 1, on UP device 1 in a system as shown in fig. 2 or fig. 5, or on a first UP device in a method 400 as shown in fig. 4. The apparatus 700 includes:
a receiving unit 701, configured to receive a migration instruction, where the migration instruction is used to instruct migration of a first terminal to the apparatus 700, and the first terminal is a terminal that is online on a second UP device;
a sending unit 702, configured to send a query request to the first terminal based on the migration instruction;
the receiving unit 701 is further configured to receive a query response sent by the first terminal based on the query request, where the query response includes multicast information corresponding to the first terminal;
the sending unit 702 is further configured to forward the multicast service to the first terminal based on the multicast information.
Optionally, the detailed implementation process of the receiving unit 701 for receiving the migration instruction is referred to in step 401 of the method 400 shown in fig. 4, and will not be described in detail herein.
Optionally, the detailed implementation process of the sending unit 702 sending the query request, see the relevant content in step 402 of the method 400 shown in fig. 4, will not be described in detail here.
Optionally, the detailed implementation process of the receiving unit 701 for receiving the query response is referred to in step 403 of the method 400 shown in fig. 4, and will not be described in detail herein.
Optionally, the detailed implementation procedure of forwarding the multicast service by the sending unit 702 to the first terminal is referred to as related content in step 404 of the method 400 shown in fig. 4, which is not described in detail here.
Optionally, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group added by the first terminal.
Optionally, the multicast information includes a multicast address of the first multicast source.
Optionally, the apparatus 700 further includes:
the processing unit 703 is configured to obtain first user entry information based on the migration instruction, where the first user entry information is used to transmit a service of the first terminal.
Optionally, the detailed implementation process of the processing unit 703 to obtain the first user entry information is referred to in step 4021 of the method 400 shown in fig. 4, and will not be described in detail herein.
Optionally, the migration instruction includes: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface that the first terminal goes online on the second UP device.
Optionally, the migration instruction includes first user entry information, where the first user entry information is used to transmit a service of the first terminal.
Optionally, the receiving unit 701 is configured to receive a migration instruction sent by the CP device.
Optionally, the query request and the query response are both messages encapsulated based on the internet group management protocol IGMP, or the query request and the query response are both messages encapsulated based on the multicast listener discovery protocol MLD.
Alternatively, the apparatus 700 and the second UP device are located in the same power group, or the apparatus 700 and the second UP device are located in different power groups, which include a plurality of UP devices.
In the embodiment of the application, when the receiving unit receives the migration instruction for indicating to migrate the first terminal, the sending unit sends the query request to the first terminal based on the migration instruction, and the receiving unit receives the query response sent by the first terminal based on the query request, where the query response includes multicast information corresponding to the first terminal. That is, the sending unit actively queries the multicast information corresponding to the multicast group added by the first terminal through the query request based on the migration instruction, and forwards the multicast service to the first terminal based on the multicast information after the multicast information is queried, so that the multicast service is automatically recovered, the multicast service can be ensured to be normally forwarded to the first terminal, and the user experience is improved.
Referring to fig. 8, an embodiment of the present application provides an apparatus 800 for sending multicast service, where the apparatus 800 is applied to a virtual broadband access gateway vBNG system, and the vBNG system includes the apparatus 800 and a second user plane UP device. The apparatus 800 may be deployed on a first UP device 1021 in a vBNG system 100 as shown in fig. 1, on UP device 1 in a system as shown in fig. 2 or fig. 5, or on a first UP device in a method 600 as shown in fig. 6. The apparatus 800 includes:
a receiving unit 801, configured to receive multicast information corresponding to a first terminal sent by a second UP device, where the first terminal is a terminal that is online on the second UP device;
a receiving unit 801, configured to receive a migration instruction, where the migration instruction is used to instruct migration of the first terminal onto the apparatus 800;
and a sending unit 802, configured to forward the multicast service to the first terminal based on the multicast information and the migration instruction.
Optionally, the detailed implementation process of receiving the multicast information corresponding to the first terminal by the receiving unit 801 is referred to as related content in step 601 of the method 600 shown in fig. 6, which is not described in detail herein.
Optionally, the detailed implementation process of the receiving unit 801 to receive the migration instruction is referred to as related content in step 602 of the method 600 shown in fig. 6, and will not be described in detail herein.
Optionally, the detailed implementation procedure of forwarding the multicast service by the sending unit 802 to the first terminal is referred to as related content in step 603 of the method 600 shown in fig. 6, which is not described in detail here.
Optionally, the apparatus 800 further comprises:
and the processing unit 803 is configured to obtain first user entry information based on the migration instruction, where the first user entry information is used to transmit a service of the first terminal.
Optionally, the detailed implementation process of the processing unit 803 to obtain the first user entry information, see the relevant content in step 602 of the method 600 shown in fig. 6, will not be described in detail here.
Optionally, the migration instruction includes: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface that the first terminal goes online on the second UP device.
Optionally, the migration instruction includes first user entry information, where the first user entry information is used to transmit a service of the first terminal.
Optionally, the sending unit 802 is further configured to:
and sending multicast information corresponding to a second terminal to a second UP device, wherein the second terminal is a terminal on-line on the device 800.
Optionally, the apparatus 800 and the second UP device are located in the same power supply group, or the apparatus 800 and the second UP device are located in different power supply groups, and the power supply group includes a plurality of UP devices.
Optionally, the second UP device includes a first interface, where the first interface is an interface that is on-line to the first terminal, the apparatus 800 includes a second interface, where the second interface is an interface that is on-line to the first terminal after the first terminal is migrated to the apparatus 800, and the first interface and the second interface are two interfaces in the same warm backup group.
Optionally, the second interface in the warm backup group is a backup interface of the first interface for a first virtual MAC address, the first virtual MAC address is an address of the first interface and the first virtual MAC address corresponds to the first terminal.
Optionally, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group added by the first terminal.
Optionally, the multicast information of the first multicast source includes a multicast address of the first multicast source.
In the embodiment of the application, the receiving unit receives the multicast information corresponding to the first terminal sent by the second UP device, the first terminal is a terminal that is on-line on the second UP device, and receives a migration instruction, where the migration instruction is used to instruct migration of the first terminal to the first UP device. The sending unit forwards the multicast service to the first terminal based on the multicast information and the migration instruction. Because the receiving unit receives the multicast information corresponding to the first terminal sent by the second UP device, when the receiving unit receives the migration instruction for indicating to migrate the first terminal, the sending unit forwards the multicast service to the first terminal based on the migration instruction and the multicast information, that is, the UP device on the terminal actively sends the multicast information corresponding to the terminal to other UP devices, so that when the UP device fails, the other UP devices can automatically recover the multicast service, and the multicast service can be ensured to be normally forwarded to the first terminal.
Referring to fig. 9, an embodiment of the present application provides a virtual broadband access gateway vBNG system 900, where the vBNG system includes a CP device 901, a first user plane UP device 902, and a second UP device 903, where the vBNG system 900 may be a vBNG system shown in fig. 1, a vBNG system 100 applied by a method 300 shown in fig. 3, or a vBNG system 100 applied by a method 600 shown in fig. 6. The vBNG system 900 includes:
the second UP device 903 is configured to send multicast information corresponding to a first terminal to the first UP device, where the first terminal is a terminal that is online on the second UP device 903;
a CP device 901 configured to send a migration instruction to the first UP device 902 based on a failure of the second UP device 903, the migration instruction being configured to instruct migration of the first terminal onto the first UP device 902;
the first UP device 902 is configured to forward the multicast service to the first terminal based on the multicast information and the migration instruction.
Optionally, the detailed implementation process of the second UP device 903 sending the multicast information corresponding to the first terminal to the first UP device is referred to as related content in step 601 of the method 600 shown in fig. 6, which is not described in detail herein.
Optionally, the detailed implementation process of the CP device 901 sending the migration instruction to the first UP device 902, see the relevant content in step 602 of the method 600 shown in fig. 6, which is not described in detail herein.
The detailed implementation procedure of forwarding the multicast service to the first terminal by the first UP device 902 is optionally referred to as related content in step 603 of the method 600 shown in fig. 6, and will not be described in detail here.
Optionally, the second UP device 903 is further configured to send multicast information corresponding to the first terminal to the third UP device.
Optionally, the first UP device, the second UP device, and the third UP device are devices in a same warm backup group.
Optionally, the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group added by the first terminal.
Optionally, the multicast information of the first multicast source includes a multicast address of the first multicast source.
In the embodiment of the application, because the second UP device sends the multicast information corresponding to the first terminal to the first UP device, when the first UP device receives the migration instruction sent by the CP device and used for indicating to migrate the first terminal, the first UP device forwards the multicast service to the first terminal based on the migration instruction and the multicast information, namely the UP device on line of the terminal actively sends the multicast information corresponding to the terminal to other UP devices, so that when the UP device fails, the other UP devices can automatically recover the multicast service, and the multicast service can be normally forwarded to the first terminal.
Referring to fig. 10, an embodiment of the present application provides a schematic diagram of an apparatus 1000 for sending a service packet. The apparatus 1000 may be the first UP device provided in any of the above embodiments, for example, the apparatus 1000 may be the first UP device 1021 in the vBNG100 shown in fig. 1, or the first UP device in the method 300 shown in fig. 3 or the first UP device in the method 400 shown in fig. 4. The device 1000 comprises at least one processor 1001, an internal connection 1002, a memory 1003 and at least one transceiver 1004.
The apparatus 1000 is a hardware-structured apparatus that can be used to implement the functional modules in the apparatus 800 illustrated in fig. 8. For example, it will be appreciated by those skilled in the art that the functions corresponding to the receiving unit 801, the transmitting unit 802 and the processing unit 803 in the apparatus 800 shown in fig. 8 may be implemented by the at least one processor 1001 calling codes in the memory 1003.
The apparatus 1000 may also be used to implement the functionality of the first UP device in any of the embodiments described above.
The processor 1001 may be a general purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
The internal connection 1002 may include a pathway to transfer information between the components. The internal connection 1002 may be a board or bus, etc.
The at least one transceiver 1004 is configured to communicate with other devices or communication networks.
The memory 1003 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be stand alone and coupled to the processor via a bus. The memory may also be integrated with the processor.
Wherein the memory 1003 is used for storing application code for executing the inventive arrangements and is controlled for execution by the processor 1001. The processor 1001 is configured to execute application code stored in the memory 1003 and cooperate with at least one transceiver 1004 to cause the apparatus 1000 to perform the functions of the method.
In a particular implementation, the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 in fig. 10, as one embodiment.
In a specific implementation, the apparatus 1000 may include a plurality of processors, such as the processor 1001 and the processor 1007 in fig. 10, as an embodiment. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Referring to fig. 11, an embodiment of the present application provides a schematic diagram of an apparatus 1100 for sending a service packet. The apparatus 1100 may be the first UP device provided by any of the embodiments described above, for example, the apparatus 1100 may be the first UP device 1121 in the vBNG110 shown in fig. 1, or the first UP device in the method 300 shown in fig. 3 or the first UP device in the method 600 shown in fig. 6. The device 1100 comprises at least one processor 1101, an internal connection 1102, a memory 1103 and at least one transceiver 1104.
The apparatus 1100 is a hardware-structured apparatus that can be used to implement the functional modules in the apparatus 900 described in fig. 9. For example, it will be appreciated by those skilled in the art that the functions corresponding to the receiving unit 901, the transmitting unit 902 and the processing unit 903 in the apparatus 900 shown in fig. 9 may be implemented by the at least one processor 1101 calling codes in the memory 1103.
The apparatus 1100 may also be used to implement the functionality of the first UP device in any of the embodiments described above.
The processor 1101 may be a general purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application Specific Integrated Circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
The internal connection 1102 may include a pathway to transfer information between the components. The internal connection 1102 may be a board or bus, etc.
The at least one transceiver 1104 is configured to communicate with other devices or communication networks.
The memory 1103 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be stand alone and coupled to the processor via a bus. The memory may also be integrated with the processor.
The memory 1103 is used for storing application program codes for executing the scheme of the present application, and the processor 1101 controls execution. The processor 1101 is configured to execute application code stored in the memory 1103 and cooperate with at least one transceiver 1104 to cause the apparatus 1100 to perform the functions of the method.
In a particular implementation, the processor 1101 may include one or more CPUs, such as CPU0 and CPU1 of FIG. 11, as an embodiment.
In a specific implementation, the apparatus 1100 may include multiple processors, such as the processor 1101 and the processor 1107 in fig. 11, as an embodiment. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Referring to fig. 12, fig. 12 is a schematic structural diagram of an apparatus 1200 for sending a service packet according to an exemplary embodiment of the present application, and optionally, the apparatus 1200 is a first UP apparatus according to any of the foregoing embodiments. For example, the device 1200 is the first UP device 1021 in the vBNG100 of fig. 1, or the first UP device in the method 300 of fig. 3, or the first UP device in the method 400 of fig. 4, or the apparatus 700 of fig. 7, or the apparatus 1000 of fig. 10. In other words, the first UP device in the method 300 illustrated in FIG. 3 or the method 400 illustrated in FIG. 4 described above may be implemented by the device 1200 illustrated in FIG. 12.
As shown in fig. 12, the apparatus 1200 includes: a main control board 1201 and an interface board 1202.
The main control board 1201 is also called a main processing unit (main processing unit, MPU) or a routing processing card (route processor card), and the main control board 1201 is used for controlling and managing various components in the device 1200, including routing computation, device management, device maintenance, and protocol processing functions. The main control board 1201 includes: a central processing unit 12011 and a memory 12012.
The interface board 1202 is also referred to as a line interface unit card (line processing unit, LPU), line card, or service board. The interface board 1202 is used to provide various service interfaces and to enable forwarding of data packets. The service interfaces include, but are not limited to, ethernet interfaces, such as flexible ethernet service interfaces (Flexible Ethernet Clients, flexE Clients), POS (Packet over SONET/SDH) interfaces, etc. The interface board 1202 includes: a central processor 12021, a network processor 12022, a forwarding table entry memory 12023, and a physical interface card (physical interface card, PIC) 12024.
The central processor 12021 on the interface board 1202 is used for control management of the interface board 1202 and communication with the central processor 12011 on the main control board 1201.
The network processor 12022 is configured to implement forwarding processing of the packet. The network processor 12022 may be in the form of a forwarding chip. The forwarding chip may be a network processor (network processor, NP). In some embodiments, the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a field programmable gate array (field programmable gate array, FPGA). Specifically, the network processor 12022 is configured to forward the received message based on the forwarding table stored in the forwarding table entry memory 12023, and if the destination address of the message is the address of the device 1200, upload the message to a CPU (e.g. the central processing unit 12021) for processing; if the destination address of the message is not the address of the device 1200, the next hop and the outbound interface corresponding to the destination address are found from the forwarding table according to the destination address, and the message is forwarded to the outbound interface corresponding to the destination address. The processing of the uplink message may include: processing a message input interface and searching a forwarding table; the processing of the downlink message may include: forwarding table lookup, etc. In some embodiments, the central processor may also perform the function of a forwarding chip, such as implementing software forwarding based on a general purpose CPU, so that no forwarding chip is needed in the interface board.
The physical interface card 12023 is used to implement the docking function of the physical layer, from which the original traffic enters the interface board 1202, and from which the processed messages are sent out. The physical interface card 12023, also referred to as a daughter card, may be mounted on the interface board 1202 and is responsible for converting the photoelectric signals into messages, performing validity check on the messages, and forwarding the messages to the network processor 12022 for processing. In some embodiments, the central processor may also perform the functions of the network processor 12022, such as implementing software forwarding based on a general purpose CPU, so that the network processor 12022 is not required in the physical interface card 12023.
Optionally, the device 1200 comprises a plurality of interface boards, e.g. the device 1200 further comprises an interface board 1203, the interface board 1203 comprising: a central processor 12031, a network processor 12032, a forwarding table entry memory 12033, and a physical interface card 12034. The function and implementation of the components in the interface board 1203 are the same as or similar to those of the interface board 1202, and will not be repeated here.
Optionally, device 1200 also includes switch board 1204. Switch fabric 1204 may also be referred to as a switch fabric unit (switch fabric unit, SFU). In the case of device 1200 having multiple interface boards, switch board 1204 is used to complete the exchange of data between the interface boards. For example, interface board 1202 and interface board 1203 may communicate via switch board 1204.
The main control board 1201 is coupled to the interface board 1202. For example. The main control board 1201, the interface board 1202 and the interface board 1203 are connected with the system backboard through a system bus to realize intercommunication among the exchange boards 1204. In one possible implementation, an inter-process communication protocol (inter-process communication, IPC) channel is established between the main control board 1201 and the interface board 1202, and communication is performed between the main control board 1201 and the interface board 1202 through the IPC channel.
Logically, the device 1200 includes a control plane including a main control board 1201 and a central processor, and a forwarding plane including various components performing forwarding, such as a forwarding table entry memory 12023, a physical interface card 12024, and a network processor 12022. The control plane performs the functions of router, generating forwarding table, processing signaling and protocol messages, configuring and maintaining the state of the device, etc., and the control plane issues the generated forwarding table to the forwarding plane, where the network processor 12022 performs table lookup forwarding on the messages received by the physical interface card 12024 based on the forwarding table issued by the control plane. The forwarding table issued by the control plane may be stored in forwarding table entry memory 12023. In some embodiments, the control plane and the forwarding plane may be completely separate and not on the same device.
It should be noted that the main control board 1201 may have one or more blocks, and the main control board and the standby main control board may be included when there are multiple blocks. The interface boards may have one or more, the more data processing capabilities of the device 1200, the more interface boards are provided. The physical interface card on the interface board may also have one or more pieces. Switch board 1204 may have none, one or more blocks, and load sharing redundancy backup may be implemented jointly when there are more blocks. In the centralized forwarding architecture, the device 1200 may not need a switch fabric, and the interface board may take on the processing functions of the service data of the entire system. In a distributed forwarding architecture, device 1200 may have at least one switch fabric 1204, enabling data exchange between multiple interface fabrics through switch fabric 1204, providing high capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of the distributed architecture device 1200 are greater than those of the centralized architecture device. Alternatively, the device 1200 may be in the form of only one board card, i.e. there is no switch board, and the functions of the interface board and the main control board are integrated on the one board card, where the central processor on the interface board and the central processor on the main control board may be combined into one central processor on the one board card, so as to perform the functions after stacking the two, where the data exchange and processing capabilities of the device in this form are low (for example, network devices such as a low-end switch or a router). The specific architecture employed is not limited in any way herein, depending on the specific networking deployment scenario.
Referring to fig. 13, fig. 13 is a schematic structural diagram of an apparatus 1300 for sending a service packet according to an exemplary embodiment of the present application, and optionally, the apparatus 1300 is a first UP apparatus in any of the foregoing embodiments. For example, the apparatus 1300 is the first UP apparatus 1021 in the vBNG100 of fig. 1, or the first UP apparatus in the method 300 of fig. 3, or the first UP apparatus in the method 600 of fig. 6, or the apparatus 800 of fig. 8, or the apparatus 1100 of fig. 11. In other words, the first UP device in the method 300 illustrated in FIG. 3 or the method 600 illustrated in FIG. 6 described above may be implemented by the device 1300 illustrated in FIG. 13.
As shown in fig. 13, the apparatus 1300 includes: a master board 1301 and an interface board 1302.
The main control board 1301 is also called a main processing unit (main processing unit, MPU) or a routing processing card (route processor card), and the main control board 1301 is used for controlling and managing various components in the apparatus 1300, including routing computation, apparatus management, apparatus maintenance, and protocol processing functions. The main control board 1301 includes: a central processor 13011 and a memory 13012.
The interface board 1302 is also referred to as a line interface unit card (line processing unit, LPU), line card, or service board. The interface board 1302 is used to provide various service interfaces and to implement forwarding of data packets. The service interfaces include, but are not limited to, ethernet interfaces, such as flexible ethernet service interfaces (Flexible Ethernet Clients, flexE Clients), POS (Packet over SONET/SDH) interfaces, etc. The interface board 1302 includes: a central processor 13021, a network processor 13022, a forwarding table entry memory 13023, and a physical interface card (physical interface card, PIC) 13024.
The central processor 13021 on the interface board 1302 is used for controlling and managing the interface board 1302 and communicating with the central processor 13011 on the main control board 1301.
The network processor 13022 is configured to implement forwarding processing of the packet. The network processor 13022 may be in the form of a forwarding chip. The forwarding chip may be a network processor (network processor, NP). In some embodiments, the forwarding chip may be implemented by an application-specific integrated circuit (ASIC) or a field programmable gate array (field programmable gate array, FPGA). Specifically, the network processor 13022 is configured to forward the received message based on the forwarding table stored in the forwarding table entry memory 13023, and if the destination address of the message is the address of the device 1300, upload the message to the CPU (e.g. the central processor 13021) for processing; if the destination address of the message is not the address of the device 1300, the next hop and the outbound interface corresponding to the destination address are found from the forwarding table according to the destination address, and the message is forwarded to the outbound interface corresponding to the destination address. The processing of the uplink message may include: processing a message input interface and searching a forwarding table; the processing of the downlink message may include: forwarding table lookup, etc. In some embodiments, the central processor may also perform the function of a forwarding chip, such as implementing software forwarding based on a general purpose CPU, so that no forwarding chip is needed in the interface board.
The physical interface card 13023 is used to implement the docking function of the physical layer, from which the original traffic enters the interface board 1302, and from which the processed messages are sent out. A physical interface card 13023, also referred to as a daughter card, may be mounted on the interface board 1302 and is responsible for converting the photoelectric signals into messages and forwarding the messages to the network processor 13022 for processing after a validity check is performed on the messages. In some embodiments, the central processor may also perform the functions of the network processor 13022, such as implementing software forwarding based on a general purpose CPU, so that the network processor 13022 is not required in the physical interface card 13023.
Optionally, the device 1300 includes a plurality of interface boards, for example, the device 1300 further includes an interface board 1303, and the interface board 1303 includes: central processor 13031, network processor 13032, forwarding table entry memory 13033, and physical interface card 13034. The function and implementation of the components in the interface board 1303 are the same as or similar to those of the interface board 1302, and will not be described again here.
Optionally, the apparatus 1300 further comprises a switch mesh plate 1304. The switch fabric 1304 may also be referred to as a switch fabric unit (switch fabric unit, SFU). In the case of the apparatus 1300 having a plurality of interface boards, the switch board 1304 is used to perform data exchange between the interface boards. For example, the interface board 1302 and the interface board 1303 may communicate through the switch board 1304.
The master board 1301 is coupled to the interface board 1302. For example. The main control board 1301, the interface board 1302 and the interface board 1303 are connected with the system back board through a system bus to realize intercommunication among the switch board 1304. In one possible implementation, an inter-process communication protocol (inter-process communication, IPC) channel is established between the master 1301 and interface 1302 boards, and communication is performed between the master 1301 and interface 1302 boards via the IPC channel.
Logically, the device 1300 includes a control plane including a main control board 1301 and a central processor, and a forwarding plane including various components performing forwarding, such as a forwarding table entry memory 13023, a physical interface card 13024, and a network processor 13022. The control plane performs the functions of router, generating forwarding table, processing signaling and protocol message, configuring and maintaining the state of the device, etc., and the control plane issues the generated forwarding table to the forwarding plane, where the network processor 13022 forwards the message received by the physical interface card 13024 based on the forwarding table issued by the control plane. The forwarding table issued by the control plane may be stored in forwarding table entry memory 13023. In some embodiments, the control plane and the forwarding plane may be completely separate and not on the same device.
It should be noted that the master control board 1301 may have one or more blocks, and the multiple blocks may include a main master control board and a standby master control board. The more data processing capabilities of the device 1300, the more interface boards can be provided. The physical interface card on the interface board may also have one or more pieces. The switch board 1304 may have none, one or more blocks, and may collectively implement a load sharing redundancy backup when there are more blocks. In a centralized forwarding architecture, the device 1300 may not need a switch fabric, and the interface board may take on the processing functions of the service data of the entire system. In a distributed forwarding architecture, the device 1300 may have at least one switch fabric 1304, and data exchange between multiple interface boards is implemented through the switch fabric 1304, providing high capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of the distributed architecture device 1300 are greater than those of the centralized architecture device. Alternatively, the device 1300 may be in the form of only one board, i.e. there is no switch board, the functions of the interface board and the main control board are integrated on the one board, and the central processor on the interface board and the central processor on the main control board may be combined into one central processor on the one board, so as to perform the functions after stacking the two, where the data exchange and processing capability of the device in this form are low (for example, network devices such as a low-end switch or a router). The specific architecture employed is not limited in any way herein, depending on the specific networking deployment scenario.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to be limiting, but rather, any modifications, equivalents, improvements, etc. that fall within the principles of the present application are intended to be included within the scope of the present application.

Claims (33)

1. A method of sending multicast traffic, the method being applied to a first user plane UP device in a virtual broadband access gateway, vBNG, system, the vBNG system further comprising a second UP device, the method comprising:
the first UP equipment receives a migration instruction, wherein the migration instruction is used for indicating to migrate a first terminal to the first UP equipment, and the first terminal is a terminal on line on the second UP equipment;
the first UP equipment sends a query request to the first terminal based on the migration instruction;
the first UP equipment receives a query response sent by the first terminal based on the query request, wherein the query response comprises multicast information corresponding to the first terminal;
And the first UP equipment forwards the multicast service to the first terminal based on the multicast information.
2. The method of claim 1, wherein the multicast information is multicast information corresponding to a first multicast source, and wherein the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins.
3. The method of claim 2, wherein the multicast information comprises a multicast address of the first multicast source.
4. A method according to any one of claims 1-3, wherein the method further comprises:
and the first UP equipment acquires first user list item information based on the migration instruction, wherein the first user list item information is used for transmitting the service of the first terminal.
5. The method of any of claims 1-4, wherein the migration instruction comprises: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface on which the first terminal goes online on the second UP device.
6. A method according to any of claims 1-3, wherein the migration instruction comprises the first user entry information, the first user entry information being used for transmitting traffic of the first terminal.
7. The method of any of claims 1-6 wherein the vBNG system further comprises a control plane CP device, the first UP device receiving a migration instruction comprising:
and the first UP equipment receives the migration instruction sent by the CP equipment.
8. The method of any of claims 1-7, wherein the query request and the query response are both internet group management protocol, IGMP, encapsulated messages or wherein the query request and the query response are both multicast listener discovery protocol, MLD, encapsulated messages.
9. The method of any of claims 1-8 wherein the first UP device and the second UP device are located in the same power group or the first UP device and the second UP device are located in different power groups, the power group comprising a plurality of UP devices.
10. A method of sending multicast traffic, the method being applied to a first user plane UP device in a virtual broadband access gateway, vBNG, system, the vBNG system further comprising a second UP device, the method comprising:
the first UP equipment receives multicast information corresponding to a first terminal sent by the second UP equipment, wherein the first terminal is a terminal on the second UP equipment;
The first UP equipment receives a migration instruction, wherein the migration instruction is used for indicating to migrate the first terminal to the first UP equipment;
and the first UP equipment forwards the multicast service to the first terminal based on the multicast information and the migration instruction.
11. The method of claim 10, wherein the method further comprises:
and the first UP equipment acquires first user list item information based on the migration instruction, wherein the first user list item information is used for transmitting the service of the first terminal.
12. The method of claim 10 or 11, wherein the migration instruction comprises: the device identifier of the second UP device, the interface identifier of the first interface, or the virtual media access control layer MAC address of the first interface, where the first interface is an interface on which the first terminal goes online on the second UP device.
13. The method of claim 10, wherein the migration instruction includes first user entry information for transmitting traffic of the first terminal.
14. The method of any one of claims 10-13, wherein the method further comprises:
And the first UP equipment sends multicast information corresponding to a second terminal to the second UP equipment, wherein the second terminal is a terminal which is on line on the first UP equipment.
15. The method of any of claims 10-14 wherein the first UP device and the second UP device are located in the same power group or the first UP device and the second UP device are located in different power groups, the power group comprising a plurality of UP devices.
16. The method of any of claims 10-15 wherein the second UP device includes a first interface, the first interface being an on-line interface of the first terminal, the first UP device including a second interface, the second interface being an on-line interface of the first terminal after the first terminal has migrated to the first UP device, the first interface and the second interface being two interfaces in a same temperature backup group.
17. The method of claim 16, wherein the second interface in the warm backup group is a backup interface of the first interface for a first virtual MAC address, the first virtual MAC address being an address of the first interface and the first virtual MAC address corresponding to the first terminal.
18. The method according to any of claims 10-17, wherein the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins.
19. The method of claim 18, wherein the multicast information for the first multicast source comprises a multicast address for the first multicast source.
20. A method for transmitting multicast service, the method being applied to a virtual broadband access gateway vBNG system, the vBNG system including a CP device, a first user plane UP device and a second UP device, the method comprising:
the second UP equipment sends multicast information corresponding to a first terminal to the first UP equipment, wherein the first terminal is a terminal which is on line on the second UP equipment;
based on the second UP equipment fault, the CP equipment sends a migration instruction to the first UP equipment, wherein the migration instruction is used for indicating to migrate the first terminal to the first UP equipment;
and the first UP equipment forwards the multicast service to the first terminal based on the multicast information and the migration instruction.
21. The method of claim 20, wherein the method further comprises:
And the second UP equipment sends the multicast information corresponding to the first terminal to the third UP equipment.
22. The method of claim 21 wherein the first UP device, the second UP device, and the third UP device are devices in a same warm backup group.
23. The method according to any one of claims 20-22, wherein the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins.
24. The method of claim 23, wherein the multicast information for the first multicast source comprises a multicast address for the first multicast source.
25. A virtual broadband access gateway, vBNG, system comprising a CP device, a first user plane UP device and a second UP device, characterized in that,
the second UP device is configured to send multicast information corresponding to a first terminal to the first UP device, where the first terminal is a terminal that is online on the second UP device;
the CP device is configured to send a migration instruction to the first UP device based on the failure of the second UP device, where the migration instruction is used to instruct migration of the first terminal to the first UP device;
The first UP device is configured to forward a multicast service to the first terminal based on the multicast information and the migration instruction.
26. The system of claim 25 wherein the second UP device is further configured to send multicast information corresponding to the first terminal to the third UP device.
27. The system of claim 26 wherein the first UP device, the second UP device, and the third UP device are devices in a same warm backup group.
28. The system according to any of claims 25-27, wherein the multicast information is multicast information corresponding to a first multicast source, and the multicast group corresponding to the first multicast source is a multicast group to which the first terminal joins.
29. The system of claim 28, wherein the multicast information for the first multicast source comprises a multicast address for the first multicast source.
30. An apparatus for transmitting multicast traffic, the apparatus comprising:
a processor and a memory for storing a program, the processor for executing the program in the memory, causing the apparatus to perform the method of any one of claims 1-9.
31. An apparatus for transmitting multicast traffic, the apparatus comprising:
a processor and a memory for storing a program, the processor for executing the program in the memory, causing the apparatus to perform the method of any one of claims 10-19.
32. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a computer, implements the method according to any of claims 1-19.
33. A computer program product, characterized in that the computer program product comprises a computer program stored in a computer readable storage medium and that the computer program is loaded by a processor to implement the method of any of claims 1-19.
CN202210273189.6A 2022-03-18 2022-03-18 Method, device, system and storage medium for transmitting multicast service Pending CN116806011A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210273189.6A CN116806011A (en) 2022-03-18 2022-03-18 Method, device, system and storage medium for transmitting multicast service
PCT/CN2023/081648 WO2023174339A1 (en) 2022-03-18 2023-03-15 Multicast service sending method, apparatus, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210273189.6A CN116806011A (en) 2022-03-18 2022-03-18 Method, device, system and storage medium for transmitting multicast service

Publications (1)

Publication Number Publication Date
CN116806011A true CN116806011A (en) 2023-09-26

Family

ID=88022359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210273189.6A Pending CN116806011A (en) 2022-03-18 2022-03-18 Method, device, system and storage medium for transmitting multicast service

Country Status (2)

Country Link
CN (1) CN116806011A (en)
WO (1) WO2023174339A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019028723A1 (en) * 2017-08-10 2019-02-14 华为技术有限公司 Multicast program management method and device and network device
CN108234358B (en) * 2017-12-29 2021-09-21 新华三技术有限公司 Multicast message transmission method, device and machine readable storage medium
US11388054B2 (en) * 2019-04-30 2022-07-12 Intel Corporation Modular I/O configurations for edge computing using disaggregated chiplets

Also Published As

Publication number Publication date
WO2023174339A1 (en) 2023-09-21

Similar Documents

Publication Publication Date Title
US7751394B2 (en) Multicast packet relay device adapted for virtual router
US5581552A (en) Multimedia server
US9143439B2 (en) System and method for cluster link aggregation control in a network environment
US10404773B2 (en) Distributed cluster processing system and packet processing method thereof
JP2019526983A (en) Separation of control plane function and transfer plane function of broadband remote access server
CN111510378A (en) EVPN message processing method, device and system
CN107666419B (en) Virtual broadband access method, controller and system
WO2022015492A1 (en) Multi-edge etherchannel (meec) creation and management
JP2009089326A (en) Packet transferring system having load distribution function
US7307945B2 (en) Methods for providing a reliable server architecture using a multicast topology in a communications network
US11546267B2 (en) Method for determining designated forwarder (DF) of multicast flow, device, and system
WO2018068588A1 (en) Method and software-defined networking (sdn) controller for providing multicast service
CN113472646B (en) Data transmission method, node, network manager and system
EP2892196B1 (en) Method, network node and system for implementing point-to-multipoint multicast
US20230171223A1 (en) Communication Method, CP Device, and NAT Device
CN116806011A (en) Method, device, system and storage medium for transmitting multicast service
CN116668368A (en) Message forwarding method, device and system
JP2023543199A (en) Routing information transmission method and device
CN116938693A (en) User migration method, device, system and storage medium
US8023407B2 (en) Redundancy in a communication network
CN112751766A (en) Message forwarding method and device and computer storage medium
CN116938626B (en) Client roaming method and device and electronic equipment
WO2022143572A1 (en) Message processing method and related device
CN117376240A (en) Method, device, equipment, system and storage medium for switching back multicast service
WO2022012383A1 (en) Packet transmission method, apparatus, and system, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination