METHOD FOR PROMPTLY REDIALING A BROADBAND ACCESS SERVER

Information

  • Patent Application
  • 20090262738
  • Publication Number
    20090262738
  • Date Filed
    October 08, 2008
    15 years ago
  • Date Published
    October 22, 2009
    14 years ago
Abstract
A method for promptly redialing a broadband access server is disclosed. The method includes: sending a PPPoE Active Discovery Terminate (PADT) packet to a BAS from a client computer upon the condition that the client computer has been abnormally disconnected from the broadband access server (BAS), sending a responsive PADT packet to the client computer if the client computer is allowed to perform the prompt redial. The method further includes: sending a PPPoE Active Discovery Initiation (PADI) packet to the BAS from the client computer, sending a PPPoE Active Discovery Offer (PADO) packet to the client computer, sending a PPPoE Active Discovery Request (PADR) packet to the BAS from the client computer, sending a PPPoE Active Discovery Confirmation (PADS) packet to the client computer from the BAS so as to create a new connection between the client computer and the BAS.
Description
BACKGROUND

1. Field of the Invention


Embodiments of the present disclosure relate to methods for data communication in broadband networks, and particularly to a method for promptly redialing a broadband access server.


2. Description of Related Art


The technical specification of the Point-to-Point Protocol over Ethernet (PPPoE) has been defined by the Internet Engineering Task Force (IETF) in 1998. It employs the Point-to-Point Protocol (PPP) to implement a faster, more reliable and more convenient Asymmetric Digital Subscriber Line (ADSL) broadband access and combines the existing broadband access servers with the local Ethernet. The hardware requirement for a user terminal is considered, thereby enhancing the overall performance of an ADSL broadband access. As a result, the PPPoE specification has received wide support and has been a preferred broadband access mode for broadband access operators.


However, under an authentication mode of the specification of the PPPoE, the user cannot promptly redial into the broadband access server when the connection has been abnormally terminated. When the connection has been abnormally terminated, the user needs to wait several minutes prior to dialing into the broadband access server again. The aforementioned is an inconvenience to users that the operators desire to solve.


What is needed, therefore, is a method for promptly redialing a broadband access server.


SUMMARY

A method for redialing a broadband access server is provided. The method includes: sending a PPPoE Active Discovery Terminate (PADT) packet to a broadband access server (BAS) from a client computer upon the condition that the client computer has been abnormally disconnected from the BAS, wherein the PADT packet comprises identity data of a user of the client computer; determining if the client computer is allowed to perform a redial to the BAS according to the identity data; in response to the client computer is authorized to perform a prompt redial, sending a responsive PADT packet to the client computer to release on-line resources previously allocated for the client computer in order to end the connection between the client computer and the BAS; sending a PPPoE Active Discovery Initiation (PADI) packet to the BAS from the client computer; responding to the PADI packet by sending a PPPoE Active Discovery Offer (PADO) packet to the client computer from the BAS; sending a PPPoE Active Discovery Request (PADR) packet to the BAS from the client computer; responding to the PADR packet by sending a PPPoE Active Discovery Confirmation (PADS) packet to the client computer from the BAS so as to create a new connection between the client computer and the BAS.


Other systems, methods, features, and advantages of the present disclosure will become apparent to one with ordinary skill in the art upon examination of the following drawings and detailed description.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a hardware configuration of one embodiment of a method for promptly redialing a broadband access server;



FIG. 2 is a flowchart of one embodiment of a method for promptly redialing a broadband access server; and



FIG. 3 is a schematic diagram of a format of a PADT packet for PPPoE.





DETAILED DESCRIPTION OF CERTAIN INVENTIVE EMBODIMENTS


FIG. 1 is a hardware configuration of one embodiment of a method for promptly redialing a broadband access server (BAS) 20. In one embodiment, the hardware configuration includes one or more client computers, such as a client computer 10, along with the BAS 20. Each of the client computers 10 are connected to the BAS 20 through a network 30. In one embodiment, the network 30 may be the Internet, an Intranet, or any other types of networks.



FIG. 2 is a flowchart of one embodiment of a method for promptly redialing a broadband access server upon the condition that the a client computer becomes abnormally disconnected from the broadband access server. Depending on the embodiment, additional blocks may be added, while others removed, and the ordering of the blocks may also be changed.


In block S401, the client computer 10 sends a PPPoE Active Discovery Terminate (PADT) packet to the BAS 20, upon the condition that the client computer 10 has been abnormally disconnected from the BAS 20. The PADT packet comprises identity data of a user of the client computer 10, which is stored in a payload field of the PADT packet. In one example, one embodiment of a format of a PADT packet for PPPoE is shown in FIG. 3. Depending on the embodiment, the PADT packet may include a VER field, a TYPE field, a CODE field, a SESSION_ID field, a LENGTH field, and a payload field. The VER field is configured for recording a version number of the PPPoE specification. The TYPE field is configured for recording a type of the PPPoE specification. The CODE field is configured for recording a stage of PPPoE, wherein the stage of the PPPoE may be a discovery stage or a session stage. The SESSION_ID field is configured for recording an identifier of a PPP session. The LENGTH field is configured for recording a length of a PPPoE payload. Depending on the embodiment, the identity data includes information for identifying whether the user is an advanced user or an ordinary user. In other embodiments, the identity data may include other suitable information for identifying an identity of the user.


In block S402, the BAS 20 determines if the client computer 10 is allowed to perform a prompt redial by identifying whether the user is the advanced user or the ordinary user according to the identity data. If the client computer 10 is allowed to perform the prompt redial, the procedure skips to block S404. Otherwise if the client computer 10 is not allowed to perform the prompt redial, the procedure proceeds to block S403. A principle of determining if the client computer 10 is allowed to perform the prompt redial includes the following: determining the client computer 10 is allowed to perform the prompt redial if the user is the advanced user, and determining the client computer 10 is not allowed to perform the prompt redial if the user is the ordinary user.


In block S403, the BAS 20 discards the PADT packet sent from the client computer 10 if the client computer 10 is not allowed to perform the prompt redial, subsequently redialing after a predetermined period of time.


In block S404, if the client computer 10 is allowed to perform the prompt redial, the BAS 20 sends a responsive PADT packet to the client computer 10 to release on-line resources previously allocated for the client computer 10, in order to end the connection between the client computer 10 and the BAS 20.


In block S405, the client computer 10 sends a PPPoE Active Discovery Initiation (PADI) packet to the BAS 20.


In block S406, the BAS 20 responds to the PADI packet by sending a PPPoE Active Discovery Offer (PADO) packet to the client computer 10.


In block S407, the client computer 10 sends a PPPoE Active Discovery Request (PADR) packet to the BAS 20.


In block S408, the BAS 20 responds to the PADR packet by sending a PPPoE Active Discovery Session Confirmation (PADS) packet to the client computer 10 to create a new connection between the client computer 10 and the BAS 20.


It should be emphasized that the above-described embodiments of the present disclosure, particularly, any preferred embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present disclosure and protected by the following claims.

Claims
  • 1. A method for redialing a broadband access server, the method comprising: sending a PPPoE Active Discovery Terminate (PADT) packet to a broadband access server (BAS) from a client computer upon the condition that the client computer has been abnormally disconnected from the BAS, wherein the PADT packet comprises identity data of a user of the client computer;determining if the client computer is allowed to perform a redial to the BAS according to the identity data;in response to the client computer is authorized to perform a prompt redial, sending a responsive PADT packet to the client computer to release on-line resources previously allocated for the client computer in order to end the connection between the client computer and the BAS;sending a PPPoE Active Discovery Initiation (PADI) packet to the BAS from the client computer;responding to the PADI packet by sending a PPPoE Active Discovery Offer (PADO) packet to the client computer from the BAS;sending a PPPoE Active Discovery Request (PADR) packet to the BAS from the client computer; andresponding to the PADR packet by sending a PPPoE Active Discovery Confirmation (PADS) packet to the client computer from the BAS so as to create a new connection between the client computer and the BAS.
  • 2. The method according to claim 1, further comprising: discarding the PADT packet sent from the client computer if the client computer is not allowed to perform the prompt redial, subsequently redialing after a predetermined period of time.
  • 3. The method according to claim 1, wherein the identity data is stored in a payload field of the PADT packet.
  • 4. The method according to claim 3, wherein the identity data comprises information for identifying whether the user of the client computer is an advanced user or an ordinary user.
  • 5. The method according to claim 4, wherein determining if the client computer is allowed to perform a prompt redial comprises: determining the client computer is allowed to perform the prompt redial if the user is the advanced user, and determining the client computer is not allowed to perform the prompt redial if the user is the ordinary user.
Priority Claims (1)
Number Date Country Kind
200810301180.1 Apr 2008 CN national