Disclosure of Invention
The invention provides an information transmission method, an information transmission device, a controller and access equipment. The sending of the access port information of the access equipment is realized at lower cost, and the selection of the access equipment is realized.
To solve the above technical problem, an embodiment of the present invention provides the following solutions:
an information transmission method is applied to a broadband remote access service controller (BRAS-CP), and comprises the following steps:
receiving first messages based on a preset protocol respectively sent by at least one access device through an access port of the access device, wherein the first messages carry access port information of the corresponding access device;
and selecting at least one access device according to at least one first message received in a preset time period.
Optionally, the information transmission method further includes: sending a second message to the selected access equipment, wherein the second message carries the access port information of the selected access equipment;
and receiving a third message sent by the selected access equipment, wherein the third message carries the access port information of the selected access equipment.
Optionally, the information transmission method further includes: and sending a fourth message to the selected access equipment.
Optionally, selecting at least one access device according to at least one first message received within a preset time period includes:
and selecting one access device with the lightest load as the access device of the user according to the load information of each access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first message is a PPPoE discovery initial PADI message, the second message is a PPPoE discovery PADO message, the third message is a PPPoE discovery request PADR message, and the fourth message is a PPPoE discovery session confirmation PADS message;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
The embodiment of the invention provides an information transmission method, which is applied to broadband remote access service access equipment and comprises the following steps:
at least one access device sends a first message based on a preset protocol to a controller through an access port of the access device, wherein the first message carries access port information of the corresponding access device;
and the access equipment selected by the controller receives a second message sent by the controller, wherein the second message carries the selected access port information of the access equipment.
Optionally, the information transmission method further includes: and the access equipment selected by the controller sends a third message to the controller, wherein the third message carries the access port information of the selected access equipment.
Optionally, the information transmission method further includes: and the access equipment selected by the controller receives a fourth message sent by the controller.
Optionally, the access device selected by the controller is the lightest access device of the at least one access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first message is a PPPoE discovery initial PADI message, the second message is a PPPoE discovery PADO message, the third message is a PPPoE discovery request PADR message, and the fourth message is a PPPoE discovery session confirmation PADS message;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
The embodiment of the invention also provides an information transmission device, which is applied to the broadband remote access service controller BRAS-CP, and the device comprises:
the receiving and sending module is used for receiving first messages which are respectively sent by at least one access device through an access port and are based on a preset protocol, and the first messages carry access port information of the corresponding access device;
the processing module is used for selecting at least one access device according to at least one first message received in a preset time period.
Optionally, the transceiver module is further configured to send a fourth packet to the selected access device.
Optionally, selecting at least one access device according to at least one first message received within a preset time period includes:
and selecting one access device with the lightest load as the access device of the user according to the load information of each access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first message is a PPPoE discovery initial PADI message, the second message is a PPPoE discovery PADO message, the third message is a PPPoE discovery request PADR message, and the fourth message is a PPPoE discovery session confirmation PADS message;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
An embodiment of the present invention further provides a broadband remote access service controller, including:
the transceiver is used for receiving first messages based on a preset protocol respectively sent by at least one access device through an access port of the access device, wherein the first messages carry access port information of the corresponding access device;
the processor is used for selecting at least one access device according to at least one first message received in a preset time period.
Optionally, the transceiver is further configured to send a fourth packet to the selected access device.
Optionally, selecting at least one access device according to at least one first message received within a preset time period includes:
and selecting one access device with the lightest load as the access device of the user according to the load information of each access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first message is a PPPoE discovery initial PADI message, the second message is a PPPoE discovery PADO message, the third message is a PPPoE discovery request PADR message, and the fourth message is a PPPoE discovery session confirmation PADS message;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
An embodiment of the present invention further provides an information transmission apparatus, which is applied to at least one access device, and the apparatus includes:
the receiving and sending module is used for respectively sending a first message based on a preset protocol to the controller through an access port of the access equipment, wherein the first message carries access port information of the corresponding access equipment;
and the transceiver module of the access equipment selected by the controller receives a second message sent by the controller, wherein the second message carries the selected access port information of the access equipment.
Optionally, the transceiver module of the access device selected by the controller is further configured to receive a fourth packet sent by the controller.
Optionally, the access device selected by the controller is the lightest access device of the at least one access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first message is a PPPoE discovery initial PADI message, the second message is a PPPoE discovery PADO message, the third message is a PPPoE discovery request PADR message, and the fourth message is a PPPoE discovery session confirmation PADS message;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
An embodiment of the present invention further provides an access device for broadband remote access service, where the access device includes at least one access device, and the access device includes:
the transceiver is used for respectively sending first messages based on a preset protocol to the controller through the access ports of the access equipment, and the first messages carry access port information of the corresponding access equipment;
and the transceiver of the access equipment selected by the controller receives a second message sent by the controller, wherein the second message carries the selected access port information of the access equipment.
Optionally, the transceiver of the access device selected by the controller is further configured to receive a fourth packet sent by the controller.
Optionally, the access device selected by the controller is the lightest access device of the at least one access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first message is a PPPoE discovery initial PADI message, the second message is a PPPoE discovery PADO message, the third message is a PPPoE discovery request PADR message, and the fourth message is a PPPoE discovery session confirmation PADS message;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
An embodiment of the present invention further provides a broadband remote access service device, including: a processor, a memory storing a computer program which, when executed by the processor, performs the method as described above.
Embodiments of the present invention also provide a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the method as described above.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, a controller BRAS-CP receives first messages which are respectively sent by at least one access device through an access port and are based on a preset protocol, and the first messages carry access port information of the corresponding access device; and selecting at least one access device according to at least one first message received in a preset time period. The scheme can realize the sending of the information on the access port of the access equipment at lower cost, and can realize the selection of the access equipment, thereby realizing the load balance of each access equipment.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 4, an embodiment of the present invention provides an information transmission method applied to a broadband remote access service controller BRAS-CP, including:
step 41, receiving first messages based on a preset protocol respectively sent by at least one access device through an access port of the access device, wherein the first messages carry access port information of the corresponding access device;
step 42, selecting at least one access device according to at least one first message received within a preset time period.
Further, the method may further include: step 43, sending a second message to the selected access device, where the second message carries access port information of the selected access device;
step 44, receiving a third message sent by the selected access device, where the third message carries access port information of the selected access device.
In an optional embodiment of the present invention, the information transmission method may further include: and step 44, sending a fourth message to the selected access equipment.
In the embodiment of the invention, a controller BRAS-CP receives first messages which are respectively sent by at least one access device through an access port and are based on a preset protocol, wherein the first messages carry access port information of the corresponding access device; selecting at least one access device according to at least one first message received in a preset time period; sending a second message to the selected access equipment, wherein the second message carries the access port information of the selected access equipment; and receiving a third message sent by the selected access equipment, wherein the third message carries the access port information of the selected access equipment. Optionally, the BRAS-CP sends a fourth packet to the selected access device. All users are not processed by one access device, the information on the access port of the access device is sent at lower cost, and the load balance of each access device can be realized.
In an alternative embodiment of the present invention, step 42 may comprise: and selecting one access device with the lightest load as the access device of the user according to the load information of each access device. Thereby achieving load balancing among the multiple UPs.
In the above embodiment of the present invention, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
The preset protocol is a PPPoE protocol or an IPoE protocol. Optionally, when the preset protocol includes PPPoE, the first packet is a PADI (PPPoE discovery initial) packet, the second packet is a PADO (PPPoE discovery offer) packet, the third packet is a PADR (PPPoE discovery request) packet, and the fourth packet is a PADS (PPPoE discovery session acknowledgement) packet;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
Here, taking PPPoE protocol as an example, a PPPoE extended implementation scheme is described: first, the TAG of PPPoE of RFC2516 is extended to support reporting of access ports. Such as: on the basis of TAG _ TYPES, 0x0120(Access-UP-Port) is expanded to report the Access Port information of UP. The TAG is carried by the PADI message.
0x0120, Access-UP-Port can be defined according to the actual situation, for example, as follows:
TAG_TYPE:0x0120;
TAG _ LENGTH: 6; such as 6 bytes;
TAG _ VALUE: for example, the following table can be defined:
attribute name
|
Type (B)
|
Description of the invention
|
UP-ID
|
16bits
|
ID of access UP
|
Port-Type
|
8bits
|
Interface type
|
Slot
|
8bits
|
Groove position
|
Sub-Slot
|
8bits
|
Sub-slot position
|
Port-ID
|
8bits
|
Physical port number |
TABLE 1 definition of Access-UP-Port
Second, the TAG needs to be extended to support the delivery of the selected access port. Such as: on the basis of TAG _ TYPES, 0x0121(Selected-UP-Port) is extended to issue the access Port information of the Selected UP. The definition method of 0x0121(Selected-UP-Port) can be referred to table 1; the TAG is carried by the PADO message.
Then, the TAG needs to be extended to support the reporting of the acknowledgement information of the selected access port. Such as: based on TAG _ TYPES, extension 0x0122(Ack-UP-Port) is used to upload the confirmed UP access Port information. The definition method of 0x0122(Ack-UP-Port) can be referred to table 1; the TAG is carried by the PADR message.
As shown in fig. 5, the PPPoE process mainly includes the following steps:
step 51, when the UP (Access device, such as BRAS-UP1 and BRAS-UP2 in the figure) forwards the PADI, TAG information with a type of 0x0120(Access-UP-Port) needs to be added according to its own Access Port;
in step 51, the BRAS-CP waits for a time T when receiving each PADI, and then:
step 511, receiving a plurality of PADIs (from a plurality of different BRAS-UPs) of the same user within the time period;
step 512, extracting UP-IDs of a plurality of BRAS-UP for sending PADI information from Access-UP-ports of a plurality of PADI;
step 513, the BRAS-CP selects one UP with the lightest load as the access BRAS-UP of the user according to the load information of each UP;
step 514, the BRAS-CP encapsulates the Selected UP access Port into 0x0121(Selected-UP-Port), and then sends the Selected UP access Port to the BRAS-UP in PADO message;
step 52, when the BRAS-UP receives the PADO, it determines whether the Selected-UP-Port is the same as the Access-UP-Port sent by the BRAS-UP. If not, processing is not continued. If the same, BRAS-UP sends a PADO message to the RGW (gateway).
And step 53, when the Selected BRAS-UP forwards the PADR, encapsulating the Selected-UP-Port information into 0x0122(Ack-UP-Port) and sending the PADR to the BRAS-CP.
And step 54, when the BRAS-CP receives the PADR, judging whether the Ack-UP-Port is the same as the Selected-UP-Port sent by the BRAS-CP. If not, processing is not continued. If the same, the BRAS-CP sends the PADS to the BRAS-UP.
For the extended implementation scheme of the IPoE protocol, similar to PPPoE, DHCP Discovery, DHCP Offer, DHCP Request, and DHCP ACK of DHCP are similar to messages of PPPoE, so the flow of the IPoE protocol mainly includes the following steps:
step 61, expanding the Option N to identify Access-UP-Port, adding the extended Option N to DHCP Discovery by BRAS-UP, and sending the extended Option N to CP;
step 62, expanding Option N +1 to identify Selected-UP-Port, adding BRAS-CP into DHCP Offer and sending it to Selected UP;
step 63, expanding Option N +2 to identify Ack-UP-Port, adding the ACK-UP to DHCP Request by BRAS-UP, and sending the DHCP Request to BRAS-CP;
in addition, the processing flow of the BRAS-UP and BRAS-CP after extracting the Option N to Option N +2 is completely similar to PPPoE, and is not repeated here.
The above embodiment of the present invention can realize the uploading of the user access port at lower cost by selecting the access device, and realize the load balance among the multiple UPs.
As shown in fig. 6, an embodiment of the present invention provides an information transmission method applied to a broadband remote access service access device, including:
step 61, at least one access device sends a first message based on a preset protocol to a controller through an access port of the access device, wherein the first message carries access port information of the corresponding access device;
and 62, the access equipment selected by the controller receives a second message sent by the controller, wherein the second message carries the access port information of the selected access equipment.
Further, the method may further include:
and 63, the access equipment selected by the controller sends a third message to the controller, wherein the third message carries the access port information of the selected access equipment.
In an optional embodiment of the present invention, the information transmission method may further include:
and step 64, the access device selected by the controller receives the fourth message sent by the controller.
Optionally, the access device selected by the controller is the lightest access device of the at least one access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first packet is a PADI packet, the second packet is a PADO packet, the third packet is a PADR packet, and the fourth packet is a PADS packet;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
It should be noted that this method is a method of the access device side corresponding to the controller side, the flow shown in fig. 5 is also applied to the flow of the method of the access device side, and the flows of PPPoE and IPoE are also applied to this embodiment, and the same technical effects can be achieved.
As shown in fig. 7, an embodiment of the present invention further provides an information transmission apparatus 70, which is applied to a broadband remote access service controller BRAS-CP, where the apparatus 70 includes:
the access device comprises a transceiving module 71, a receiving and sending module, a sending and receiving module, a receiving and sending module and a sending and receiving module, wherein the transceiving module 71 is used for receiving first messages based on a preset protocol, which are respectively sent by at least one access device through an access port of the access device, and the first messages carry access port information of the corresponding access device;
the processing module 72 is configured to select at least one access device according to at least one first packet received within a preset time period.
Further, in the apparatus, the first and second sensors,
the transceiver module 71 is further configured to send a second message to the selected access device, where the second message carries access port information of the selected access device;
the transceiver module 71 is further configured to receive a third packet sent by the selected access device, where the third packet carries access port information of the selected access device.
Optionally, the transceiver module 71 is further configured to send a fourth packet to the selected access device.
Optionally, selecting at least one access device according to at least one first message received within a preset time period includes:
and selecting one access device with the lightest load as the access device of the user according to the load information of each access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first packet is a PADI packet, the second packet is a PADO packet, the third packet is a PADR packet, and the fourth packet is a PADS packet;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
It should be noted that the apparatus is an apparatus corresponding to the method shown in fig. 4, and all the implementations in the above method embodiment are applicable to the embodiment of the apparatus, and the same technical effects can be achieved.
As shown in fig. 8, an embodiment of the present invention further provides a broadband remote access service controller 80, including:
the transceiver 81 is configured to receive first messages based on a preset protocol, where the first messages carry access port information of access devices corresponding to the first messages, and the first messages are sent by at least one access device through an access port of the access device;
the processor 82 is configured to select at least one access device according to at least one first packet received within a preset time period.
Further, the transceiver 81 is further configured to send a second packet to the selected access device, where the second packet carries access port information of the selected access device;
the transceiver 81 is further configured to receive a third packet sent by the selected access device, where the third packet carries access port information of the selected access device.
Optionally, the transceiver 81 is further configured to send a fourth message to the selected access device.
Optionally, selecting at least one access device according to at least one first message received within a preset time period includes:
and selecting one access device with the lightest load as the access device of the user according to the load information of each access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first packet is a PADI packet, the second packet is a PADO packet, the third packet is a PADR packet, and the fourth packet is a PADS packet;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
It should be noted that the controller is a BRAS-CP corresponding to the method shown in fig. 4, and all the implementations in the foregoing method embodiment are applicable to the BRAS-CP embodiment, and the same technical effect can be achieved. The BRAS-CP may further include: a memory 83; the transceiver 81 and the processor 82, and the transceiver 81 and the memory 83 may be connected through a bus interface, the functions of the transceiver 81 may be implemented by the processor 82, and the functions of the processor 82 may also be implemented by the transceiver 81.
As shown in fig. 9, an embodiment of the present invention further provides an information transmission apparatus 9, which is applied to at least one access device, where the apparatus 90 includes:
the transceiver module 91 is configured to send first messages based on a preset protocol to the controller through an access port of the access device, where the first messages carry access port information of the corresponding access device;
and the transceiver module of the access equipment selected by the controller receives a second message sent by the controller, wherein the second message carries the selected access port information of the access equipment.
Further, the transceiver module of the access device selected by the controller sends a third message to the controller, where the third message carries access port information of the selected access device.
Optionally, the transceiver module of the access device selected by the controller is further configured to receive a fourth packet sent by the controller.
Optionally, the access device selected by the controller is the lightest access device of the at least one access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first packet is a PADI packet, the second packet is a PADO packet, the third packet is a PADR packet, and the fourth packet is a PADS packet;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
It should be noted that the apparatus is an apparatus corresponding to the method shown in fig. 6, and all the implementations in the above method embodiment are applicable to the embodiment of the apparatus, and the same technical effects can be achieved.
As shown in fig. 10, an embodiment of the present invention further provides an access device for a broadband remote access service, where the access device includes at least one access device, and the access device 100 includes:
the transceiver 101 is configured to send first messages based on a preset protocol to the controller through an access port of an access device, where the first messages carry access port information of the corresponding access device;
and the transceiver of the access equipment selected by the controller receives a second message sent by the controller, wherein the second message carries the selected access port information of the access equipment.
Further, the transceiver of the access device selected by the controller sends a third message to the controller, where the third message carries access port information of the selected access device.
Optionally, the transceiver of the access device selected by the controller is further configured to receive a fourth packet sent by the controller.
Optionally, the access device selected by the controller is the lightest access device of the at least one access device.
Optionally, the first packet, the second packet, and the third packet all include: a TAG TAG type, a TAG length, and a TAG value, the TAG value comprising at least one of: an identification of the access port, a type of the access port, a slot position, a subslot position, and a physical port number.
Optionally, the preset protocol is a PPPoE or IPoE protocol.
Optionally, when the preset protocol includes PPPoE, the first packet is a PADI packet, the second packet is a PADO packet, the third packet is a PADR packet, and the fourth packet is a PADS packet;
when the preset protocol is an IPoE protocol, the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, the second message is a DHCP supply message, the third message is a DHCP request message, and the fourth message is a DHCP response message.
It should be noted that the access device is a BRAS-UP corresponding to the method shown in fig. 6, and all the implementations in the foregoing method embodiment are applicable to the BRAS-UP embodiment, and the same technical effect can be achieved. The BRAS-UP may further comprise: a processor 102, a memory 103; the transceiver 101 and the processor 102, and the transceiver 101 and the memory 103 may be connected through a bus interface, and the functions of the transceiver 101 may be implemented by the processor 102, and the functions of the processor 102 may also be implemented by the transceiver 101.
An embodiment of the present invention further provides a broadband remote access service device, including: a processor, a memory storing a computer program which, when executed by the processor, performs the method as described above with reference to fig. 4 or 6. All the implementation manners in the above method embodiment are applicable to this embodiment, and the same technical effect can be achieved.
Embodiments of the present invention also provide a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the method described above with respect to fig. 4 or fig. 6. All the implementation manners in the above method embodiments are applicable to the embodiments, and the same technical effect can be achieved.
The embodiment of the invention realizes the upward transmission of the user access port at lower cost by expanding the PPPoE or the IPoE, and realizes the load balance among the multi-access equipment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
Furthermore, it is to be noted that in the device and method of the invention, it is obvious that the individual components or steps can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of performing the series of processes described above may naturally be performed chronologically in the order described, but need not necessarily be performed chronologically, and some steps may be performed in parallel or independently of each other. It will be understood by those skilled in the art that all or any of the steps or elements of the method and apparatus of the present invention may be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or any combination thereof, which can be implemented by those skilled in the art using their basic programming skills after reading the description of the present invention.
Thus, the objects of the invention may also be achieved by running a program or a set of programs on any computing device. The computing device may be a general purpose device as is well known. The object of the invention is thus also achieved solely by providing a program product comprising program code for implementing the method or the apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is to be understood that the storage medium may be any known storage medium or any storage medium developed in the future. It is further noted that in the apparatus and method of the present invention, it is apparent that each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, the steps of executing the series of processes described above may naturally be executed chronologically in the order described, but need not necessarily be executed chronologically. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.