CN113067742A - IPoE processing method and device and home gateway - Google Patents

IPoE processing method and device and home gateway Download PDF

Info

Publication number
CN113067742A
CN113067742A CN202010002362.XA CN202010002362A CN113067742A CN 113067742 A CN113067742 A CN 113067742A CN 202010002362 A CN202010002362 A CN 202010002362A CN 113067742 A CN113067742 A CN 113067742A
Authority
CN
China
Prior art keywords
home gateway
link
ipoe
server
request message
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
CN202010002362.XA
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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010002362.XA priority Critical patent/CN113067742A/en
Publication of CN113067742A publication Critical patent/CN113067742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for processing IPoE and a home gateway, wherein the method comprises the following steps: the home gateway periodically sends an echo request message to the IPoE server through a link between the home gateway and the IPoE server; releasing the IP address currently allocated to the home gateway under the condition that the link is detected to be in failure; sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition that the fault recovery of the link is detected, and applying for an IP address to the IPoE server through the DHCP discovery request; the embodiment of the invention realizes automatic online without restarting the equipment after the fault recovery, greatly improves the physical examination of the user and reduces the operation and maintenance cost.

Description

IPoE processing method and device and home gateway
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing IPoE, and a home gateway.
Background
A Bandwidth Remote Access Server (BRAS) is a novel Access gateway for bandwidth network application, which is located at the edge layer of a backbone network and can complete data Access of an IP/ATM (asynchronous transfer mode) network of user bandwidth, thereby realizing bandwidth internet Access of commercial buildings and residential households, IP VPN (virtual private network) service based on IPSec (internet security protocol), Intranet (Intranet) construction of enterprises, and application of supporting ISP (internet service provider) to wholesale services to users.
IPoE (IP over Ethernet, internet protocol based on Ethernet) dial-up service is a major service supported by the existing BRAS. Currently, the IPoE service has the following problems in practical use:
the home gateway RGW of the user starts normal service access after IPoE access is successful, and at this time, if a link between the RGW and the BRAS fails, the BRAS deletes the IPoE list item of the user and recovers the IP address allocated to the user after detecting the link failure.
When the link failure is repaired, the service access is still performed by the user RGW using the original IP address because the lease of the IP address of the user RGW is not expired (the lease is generally long, for example, one week), which may result in an access failure. Unless the user restarts the home gateway RGW, service access will not be possible and the user experience is poor.
In other words, after the link between the RGW and the BRAS fails and is repaired, the user RGW still uses the original IP address to perform service access because the lease of the IP address of the user RGW is not expired, and at this time, the BRAS deletes the IPoE entry of the user, thereby resulting in access failure. Unless the user restarts the home gateway RGW, service access will not be possible and the user experience is poor.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for processing IPoE, and a home gateway, so as to solve a problem in the prior art that a link between an RGW and a BRAS fails, and a home gateway needs to be restarted after repair, otherwise service access cannot be performed.
In order to solve the above problem, an embodiment of the present invention provides a method for processing an internet protocol IPoE based on an ethernet, which is applied to a home gateway, and includes:
the home gateway periodically sends an echo request message to the IPoE server through a link between the home gateway and the IPoE server;
releasing the IP address currently allocated to the home gateway under the condition that the link is detected to be in failure;
and sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition of detecting the fault recovery of the link, and applying for an IP address from the IPoE server through the DHCP discovery request.
Wherein the method further comprises:
determining that the link fails under the condition that no echo response message sent by the IPoE server is received by the continuous N echo request messages sent by the home gateway;
wherein N is an integer greater than or equal to 2.
Wherein the method further comprises:
determining that failure recovery of the link is detected upon receiving an echo response message sent by the IPoE server.
Wherein the echo request message carries a sounding period;
the cycle length of the sounding cycle carried by the echo request message sent before the link fails is greater than the cycle length of the sounding cycle carried by the echo request message sent during the link failure.
Wherein, the cycle length of the probing cycle carried by the echo request message sent after the failure recovery of the link is greater than the cycle length of the probing cycle carried by the echo request message sent during the failure of the link.
Wherein, the echo request message is a DHCP message, and M bit reserved bits in a DHCP message header are used for indicating the detection period; m is an integer greater than or equal to 1.
The embodiment of the invention also provides a processing device of an internet protocol IPoE based on the Ethernet, which is applied to a home gateway and comprises the following steps:
the home gateway sends an echo request message to the IPoE server periodically through a link between the home gateway and the IPoE server;
the release module is used for releasing the IP address currently allocated to the home gateway under the condition that the link is detected to have a fault;
and the request module is used for sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition of detecting the fault recovery of the link, and applying for an IP address to the IPoE server through the DHCP discovery request.
An embodiment of the present invention further provides a home gateway, including a processor and a transceiver, where the transceiver receives and transmits data under the control of the processor, and the processor is configured to perform the following operations:
the home gateway periodically sends an echo request message to the IPoE server through a link between the home gateway and the IPoE server;
releasing the IP address currently allocated to the home gateway under the condition that the link is detected to be in failure;
and sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition of detecting the fault recovery of the link, and applying for an IP address from the IPoE server through the DHCP discovery request.
Wherein the processor is further configured to:
determining that the link fails under the condition that no echo response message sent by the IPoE server is received by the continuous N echo request messages sent by the home gateway;
wherein N is an integer greater than or equal to 2.
Wherein the processor is further configured to:
determining that failure recovery of the link is detected upon receiving an echo response message sent by the IPoE server.
Wherein the echo request message carries a sounding period;
the cycle length of the sounding cycle carried by the echo request message sent before the link fails is greater than the cycle length of the sounding cycle carried by the echo request message sent during the link failure.
Wherein, the cycle length of the probing cycle carried by the echo request message sent after the failure recovery of the link is greater than the cycle length of the probing cycle carried by the echo request message sent during the failure of the link.
Wherein, the echo request message is a DHCP message, and M bit reserved bits in a DHCP message header are used for indicating the detection period; m is an integer greater than or equal to 1.
The embodiment of the invention also provides a home gateway, which comprises a memory, a processor and a program which is stored on the memory and can be run on the processor, wherein when the processor executes the program, the processing method of the internet protocol IPoE based on the ethernet is realized.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the processing method for the ethernet-based internet protocol IPoE as described above.
The technical scheme of the invention at least has the following beneficial effects:
in the IPoE processing method and device and the home gateway of the embodiment of the invention, the home gateway releases the current IP address when detecting that the link has a fault by increasing the active detection capability of the home gateway, and re-applies for a new IP address through the DHCP discovery request when detecting that the link has a fault and recovers, so that automatic online connection can be realized without restarting equipment after fault recovery, and the operation and maintenance cost is reduced while the physical examination of a user is greatly improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for processing an ethernet-based internet protocol IPoE according to an embodiment of the present invention;
fig. 2 is an interaction diagram illustrating a processing method of an internet protocol IPoE based on ethernet according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a processing device for an internet protocol IPoE based on ethernet according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a home gateway according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a method for processing an internet protocol IPoE based on an ethernet, which is applied to a home gateway, and includes:
and step 11, the home gateway periodically sends an echo request message to the IPoE server through a link between the home gateway and the IPoE server.
In this step, the home gateway detects whether a link has failed and whether the failure is recovered through an echo request message. Wherein, the IPoE server is a BRAS server or a DHCP server; and the home gateway is an IPoE client.
And 12, releasing the IP address currently allocated to the home gateway under the condition that the link is detected to be in failure.
In this step, the home gateway RGW directly returns to the initialization state after detecting the link failure, thereby locally releasing the IP address applied by itself.
And step 13, sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition that the fault recovery of the link is detected, and applying for an IP address to the IPoE server through the DHCP discovery request.
In this step, after the home gateway detects the failure recovery, it initiates a DHCP discovery process to reapply a new IP address. The new IP address is used for information interaction between the home gateway and the IPoE server.
As an alternative embodiment, the method further comprises:
determining that the link failure is detected in the case that no echo response (echo) message sent by the IPoE server is received in N consecutive echo request (echo) messages sent by the home gateway;
wherein N is an integer greater than or equal to 2.
For example, since the home gateway does not receive the echo response message after continuously transmitting the echo request message 3 times, the home gateway determines that the link is failed at this time.
Further, the method further comprises:
determining that failure recovery of the link is detected upon receiving an echo response message sent by the IPoE server.
It should be noted that, no matter whether the link fails, the home gateway sends an echo request message according to the current probing period, and the home gateway determines that the link fails to recover when receiving an echo response message.
In order to reduce the processing pressure of two communication parties (a home gateway and an IPoE server) on echo messages (the echo messages comprise echo request messages and echo response messages), the detection period of the home gateway in the embodiment of the invention can be dynamically adjusted, namely the echo request messages carry the detection period; it should be noted that the echo request message is a DHCP message, and an M-bit reserved bit in a DHCP message header is used to indicate the probe period; m is an integer greater than or equal to 1. For example, M equals 8, and 8 bits reserved in the DHCP message header identify the probe period for flexibly adjusting the probe period and alleviating the pressure on the IPoE server. For example, the detection period is set to be short after the outgoing link fails, and the detection period is long after the failure is recovered, so that the pressure of the server can be greatly reduced.
The cycle length of the sounding cycle carried by the echo request message sent before the link fails is greater than the cycle length of the sounding cycle carried by the echo request message sent during the link failure.
The cycle length of the detection cycle carried by the echo request message sent after the failure recovery of the link is greater than the cycle length of the detection cycle carried by the echo request message sent during the failure of the link.
In other words, under the condition that the link state is normal, the sounding period carried by the echo request message sent by the home gateway is a long period (for example, T1 period); under the condition of link failure, the sounding period carried by the echo request message sent by the home gateway is a short period (for example, T2 period); when the link state is changed from normal to failure, the home gateway sets the detection period to a short period (T2 period) so as to be discovered in time after the link failure is recovered; after the home gateway detects that the link failure is recovered, the detection period is set to be a long period (T1 period), so that when the link state is normal, the processing pressure of the echo messages of both communication parties is reduced.
It should be noted that, in the embodiment of the present invention, the echo request message and the echo response message are DHCP messages, and different messages are identified by different types of DHCP; for example, Type 10 represents an echo request message Type; type 11 represents an echo response message Type.
As an optional embodiment, if the IPoE server does not receive the echo request message sent by the home gateway within the preset time length, it is determined that a link between the home gateway and the IPoE server fails (i.e., it is considered that the home gateway has lost connection); and deleting the IPoE session table entry of the home gateway, recovering the IP address allocated to the home gateway, and taking the user corresponding to the home gateway offline through an AAA (authentication, authorization and accounting) server.
After the failure of the link is recovered, the IPoE server receives a Dynamic Host Configuration Protocol (DHCP) discovery request sent by the home gateway, and allocates an IP address to the home gateway according to the DHCP discovery request.
As shown in fig. 2, a flow of the processing method of IPoE provided by the embodiment of the present invention is as follows:
the home gateway uses IPoE mode to successfully authenticate and charge, and allocates IP address, then external service access is normally carried out between the home gateway and the network. Under the condition that the link state is normal, the home gateway sends an echo request message (carrying a detection period of 3min), the home gateway continuously sends the echo request message for 3 times and does not receive an echo response message, the home gateway determines that the link fails at the moment, and the home gateway returns to the initialization state, so that the IP address applied by the home gateway is locally released.
The IPoE server does not receive an echo request message sent by the home gateway within a preset time length, determines that a link between the home gateway and the IPoE server fails, deletes an IPoE session table entry of the home gateway and recovers an IP address allocated to the home gateway, and a user corresponding to the home gateway is offline through the AAA server.
The home gateway continues to send an echo request message (the carried detection period is 20s), and after the link failure is recovered, the home gateway receives an echo response message, and then judges that the link failure is recovered. The home gateway can continue the echo request message (the carried detection period is 3min), successfully authenticate and charge through the DHCP discovery process, and allocate the IP address. And subsequently, external service access is carried out according to the newly allocated IP address.
In summary, the embodiment of the present invention increases the active detection capability of the home gateway, so that the home gateway releases the current IP address when detecting that the link has a failure, and re-applies for a new IP address through the DHCP discovery request when detecting that the link has a failure and recovers, thereby realizing automatic online without restarting the device after the failure recovery, and reducing the operation and maintenance cost while greatly improving the physical examination of the user.
As shown in fig. 3, an embodiment of the present invention further provides a processing apparatus for an internet protocol IPoE based on ethernet, which is applied to a home gateway, and includes:
a sending module 31, configured to send an echo request message to an IPoE server periodically through a link between the home gateway and the IPoE server;
a releasing module 32, configured to release the IP address currently allocated to the home gateway when the link failure is detected;
the request module 33 is configured to send a dynamic host configuration protocol DHCP discover request when detecting failure recovery of the link, and apply for an IP address from the IPoE server through the DHCP discover request.
Optionally, in the above embodiment of the present invention, the apparatus further includes:
a first detection module, configured to determine that a failure occurs in the link is detected when none of N consecutive echo request messages sent by the home gateway receive an echo response message sent by the IPoE server;
wherein N is an integer greater than or equal to 2.
Optionally, in the above embodiment of the present invention, the apparatus further includes:
and the second detection module is used for determining that the fault recovery of the link is detected under the condition that the echo response message sent by the IPoE server is received.
Optionally, in the foregoing embodiment of the present invention, the echo request message carries a probe period;
the cycle length of the sounding cycle carried by the echo request message sent before the link fails is greater than the cycle length of the sounding cycle carried by the echo request message sent during the link failure.
Optionally, in the foregoing embodiment of the present invention, a cycle length of a sounding cycle carried by an echo request message sent after the failure of the link is recovered is greater than a cycle length of a sounding cycle carried by an echo request message sent during the failure of the link.
Optionally, in the foregoing embodiment of the present invention, the echo request message is a DHCP message, and an M-bit reserved bit in a DHCP message header is used to indicate the probe period; m is an integer greater than or equal to 1.
In summary, the embodiment of the present invention increases the active detection capability of the home gateway, so that the home gateway releases the current IP address when detecting that the link has a failure, and re-applies for a new IP address through the DHCP discovery request when detecting that the link has a failure and recovers, thereby realizing automatic online without restarting the device after the failure recovery, and reducing the operation and maintenance cost while greatly improving the physical examination of the user.
It should be noted that, the processing apparatus for an internet protocol IPoE based on ethernet according to the embodiments of the present invention is an apparatus capable of executing the processing method for an internet protocol IPoE based on ethernet, and all embodiments of the processing method for an internet protocol IPoE based on ethernet are applicable to the apparatus and can achieve the same or similar beneficial effects.
As shown in fig. 4, an embodiment of the present invention further provides a home gateway, which includes a processor 400 and a transceiver 410, where the transceiver 410 is controlled by the processor 400 to receive and transmit data, and the processor 400 is configured to perform the following operations:
the home gateway periodically sends an echo request message to the IPoE server through a link between the home gateway and the IPoE server;
releasing the IP address currently allocated to the home gateway under the condition that the link is detected to be in failure;
and sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition of detecting the fault recovery of the link, and applying for an IP address from the IPoE server through the DHCP discovery request.
Optionally, in the foregoing embodiment of the present invention, the processor 400 is further configured to:
determining that the link fails under the condition that no echo response message sent by the IPoE server is received by the continuous N echo request messages sent by the home gateway;
wherein N is an integer greater than or equal to 2.
Optionally, in the foregoing embodiment of the present invention, the processor 400 is further configured to:
determining that failure recovery of the link is detected upon receiving an echo response message sent by the IPoE server.
Optionally, in the foregoing embodiment of the present invention, the echo request message carries a probe period;
the cycle length of the sounding cycle carried by the echo request message sent before the link fails is greater than the cycle length of the sounding cycle carried by the echo request message sent during the link failure.
Optionally, in the foregoing embodiment of the present invention, a cycle length of a sounding cycle carried by an echo request message sent after the failure of the link is recovered is greater than a cycle length of a sounding cycle carried by an echo request message sent during the failure of the link.
Optionally, in the foregoing embodiment of the present invention, the echo request message is a DHCP message, and an M-bit reserved bit in a DHCP message header is used to indicate the probe period; m is an integer greater than or equal to 1.
In summary, the embodiment of the present invention increases the active detection capability of the home gateway, so that the home gateway releases the current IP address when detecting that the link has a failure, and re-applies for a new IP address through the DHCP discovery request when detecting that the link has a failure and recovers, thereby realizing automatic online without restarting the device after the failure recovery, and reducing the operation and maintenance cost while greatly improving the physical examination of the user.
It should be noted that, the home gateway provided in the embodiment of the present invention is a home gateway capable of executing the processing method of the internet protocol IPoE based on the ethernet, and all embodiments of the processing method of the internet protocol IPoE based on the ethernet are applicable to the home gateway and can achieve the same or similar beneficial effects.
An embodiment of the present invention further provides a home gateway, which includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, where the processor implements each process in the above-described embodiment of the processing method for an internet protocol IPoE based on ethernet when executing the program, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements each process in the above-described processing method for an internet protocol IPoE based on ethernet, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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.

Claims (15)

1. A processing method of Internet protocol IPoE based on Ethernet is applied to a home gateway, and is characterized by comprising the following steps:
the home gateway periodically sends an echo request message to the IPoE server through a link between the home gateway and the IPoE server;
releasing the IP address currently allocated to the home gateway under the condition that the link is detected to be in failure;
and sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition of detecting the fault recovery of the link, and applying for an IP address from the IPoE server through the DHCP discovery request.
2. The method of claim 1, further comprising:
determining that the link fails under the condition that no echo response message sent by the IPoE server is received by the continuous N echo request messages sent by the home gateway;
wherein N is an integer greater than or equal to 2.
3. The method of claim 1, further comprising:
determining that failure recovery of the link is detected upon receiving an echo response message sent by the IPoE server.
4. The method of claim 1, wherein the echo request message carries a sounding period;
the cycle length of the sounding cycle carried by the echo request message sent before the link fails is greater than the cycle length of the sounding cycle carried by the echo request message sent during the link failure.
5. The method of claim 4,
the cycle length of the detection cycle carried by the echo request message sent after the failure recovery of the link is greater than the cycle length of the detection cycle carried by the echo request message sent during the failure of the link.
6. The method according to claim 4 or 5, wherein the echo request message is a DHCP message, and M-bit reserved bits in a DHCP message header are used for indicating the sounding period; m is an integer greater than or equal to 1.
7. An internet protocol IPoE processing device based on ethernet, applied to a home gateway, comprising:
the home gateway sends an echo request message to the IPoE server periodically through a link between the home gateway and the IPoE server;
the release module is used for releasing the IP address currently allocated to the home gateway under the condition that the link is detected to have a fault;
and the request module is used for sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition of detecting the fault recovery of the link, and applying for an IP address to the IPoE server through the DHCP discovery request.
8. A home gateway comprising a processor and a transceiver, the transceiver receiving and transmitting data under control of the processor, characterized in that the processor is adapted to:
the home gateway periodically sends an echo request message to the IPoE server through a link between the home gateway and the IPoE server;
releasing the IP address currently allocated to the home gateway under the condition that the link is detected to be in failure;
and sending a Dynamic Host Configuration Protocol (DHCP) discovery request under the condition of detecting the fault recovery of the link, and applying for an IP address from the IPoE server through the DHCP discovery request.
9. The home gateway of claim 8, wherein the processor is further configured to:
determining that the link fails under the condition that no echo response message sent by the IPoE server is received by the continuous N echo request messages sent by the home gateway;
wherein N is an integer greater than or equal to 2.
10. The home gateway of claim 8, wherein the processor is further configured to:
determining that failure recovery of the link is detected upon receiving an echo response message sent by the IPoE server.
11. The home gateway of claim 8, wherein the echo request message carries a probe period;
the cycle length of the sounding cycle carried by the echo request message sent before the link fails is greater than the cycle length of the sounding cycle carried by the echo request message sent during the link failure.
12. The home gateway according to claim 11,
the cycle length of the detection cycle carried by the echo request message sent after the failure recovery of the link is greater than the cycle length of the detection cycle carried by the echo request message sent during the failure of the link.
13. The home gateway according to claim 11 or 12, wherein the echo request message is a DHCP message, and an M-bit reserved bit in a DHCP message header is used to indicate the probing period; m is an integer greater than or equal to 1.
14. A home gateway comprising a memory, a processor and a program stored on the memory and executable on the processor; characterized in that the processor, when executing the program, implements a method for processing an ethernet-based internet protocol IPoE according to any of claims 1 to 6.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method for processing an internet protocol over ethernet IPoE according to any of the claims 1 to 6.
CN202010002362.XA 2020-01-02 2020-01-02 IPoE processing method and device and home gateway Pending CN113067742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010002362.XA CN113067742A (en) 2020-01-02 2020-01-02 IPoE processing method and device and home gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010002362.XA CN113067742A (en) 2020-01-02 2020-01-02 IPoE processing method and device and home gateway

Publications (1)

Publication Number Publication Date
CN113067742A true CN113067742A (en) 2021-07-02

Family

ID=76558310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010002362.XA Pending CN113067742A (en) 2020-01-02 2020-01-02 IPoE processing method and device and home gateway

Country Status (1)

Country Link
CN (1) CN113067742A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202767A (en) * 2006-12-29 2008-06-18 深圳市同洲电子股份有限公司 Method and device for hiring IP address
CN101447887A (en) * 2007-11-27 2009-06-03 华为技术有限公司 Method for user on-line notification and device thereof
CN101645907A (en) * 2009-09-04 2010-02-10 中兴通讯股份有限公司 Method and system for processing abnormal off-line of Web authenticated user
CN103283180A (en) * 2011-12-02 2013-09-04 华为技术有限公司 Fault detection method, gateway, user equipment, and communication system
US20140344444A1 (en) * 2013-05-14 2014-11-20 Hangzhou H3C Technologies Co., Ltd. Recovery of Dynamic Host Configuration Protocol IP Addresses
CN104410727A (en) * 2014-11-20 2015-03-11 中国联合网络通信集团有限公司 Address distributing method, client terminal, server and address distributing system
CN106331190A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 IP address withdrawing method and device, and dynamic host configuration protocol server
CN106899456A (en) * 2017-03-14 2017-06-27 深圳市友华通信技术有限公司 A kind of link detecting and the implementation method repaired
CN108076004A (en) * 2016-11-09 2018-05-25 中国移动通信有限公司研究院 For IPOE authentication methods, device and the server of client detection
CN109660378A (en) * 2017-10-12 2019-04-19 中兴通讯股份有限公司 A kind of method, apparatus, equipment and storage medium keeping home gateway normal communication
CN110086685A (en) * 2019-06-13 2019-08-02 深圳市友华通信技术有限公司 Network recovery method based on the network terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202767A (en) * 2006-12-29 2008-06-18 深圳市同洲电子股份有限公司 Method and device for hiring IP address
CN101447887A (en) * 2007-11-27 2009-06-03 华为技术有限公司 Method for user on-line notification and device thereof
CN101645907A (en) * 2009-09-04 2010-02-10 中兴通讯股份有限公司 Method and system for processing abnormal off-line of Web authenticated user
CN103283180A (en) * 2011-12-02 2013-09-04 华为技术有限公司 Fault detection method, gateway, user equipment, and communication system
US20140344444A1 (en) * 2013-05-14 2014-11-20 Hangzhou H3C Technologies Co., Ltd. Recovery of Dynamic Host Configuration Protocol IP Addresses
CN104410727A (en) * 2014-11-20 2015-03-11 中国联合网络通信集团有限公司 Address distributing method, client terminal, server and address distributing system
CN106331190A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 IP address withdrawing method and device, and dynamic host configuration protocol server
CN108076004A (en) * 2016-11-09 2018-05-25 中国移动通信有限公司研究院 For IPOE authentication methods, device and the server of client detection
CN106899456A (en) * 2017-03-14 2017-06-27 深圳市友华通信技术有限公司 A kind of link detecting and the implementation method repaired
CN109660378A (en) * 2017-10-12 2019-04-19 中兴通讯股份有限公司 A kind of method, apparatus, equipment and storage medium keeping home gateway normal communication
CN110086685A (en) * 2019-06-13 2019-08-02 深圳市友华通信技术有限公司 Network recovery method based on the network terminal

Similar Documents

Publication Publication Date Title
KR100636186B1 (en) Bidirectional tunnel establishment method and system thereof
US6473798B1 (en) Method and system for testing a layer-2 tunnel in a data communication network
CN101453495B (en) Method, system and equipment for preventing authentication address resolution protocol information loss
US20070203990A1 (en) Techniques for establishing subscriber sessions on an access network using DHCP
WO2011026358A1 (en) Method and system for processing abnormal off-line for web authentication user
WO2003036838A1 (en) A method for setting up a ipoa channel based default administration channel
CN108011754B (en) Transfer control separation system, backup method and device
CN101656712B (en) Method for recovering IP session, network system and network edge device
JP3620010B2 (en) Apparatus and program recording medium used in wireless communication system
CN107566213B (en) Keep-alive detection method and device
JP2012175199A (en) Network system and communication recovery method
CN101980496A (en) Message processing method and system, exchange board and access server equipment
CN104601743A (en) IP (internet protocol) forwarding IPoE (IP over Ethernet) dual-stack user access control method and equipment based on Ethernet
CN107547550B (en) Authentication method and device
CN101325587A (en) Method for monitoring DHCP conversation
US20140244726A1 (en) Assignment of Point-to-Point Over Ethernet (PPPoE) Session IDs
CN106131177B (en) Message processing method and device
US8615591B2 (en) Termination of a communication session between a client and a server
WO2022001705A1 (en) Method, apparatus and device for supporting tcp dynamic migration, and storage medium
WO2011085612A1 (en) Method and apparatus for processing state synchronization
CN111478788B (en) Abnormal offline recovery method, device and equipment and machine-readable storage medium
US9426217B2 (en) Service node and inter-service node user protocol message synchronization method
CN113067742A (en) IPoE processing method and device and home gateway
JP4645839B2 (en) Security communication apparatus and sequence number management method
CN100596071C (en) Method for implementing conversation control and duration collection through DHCP extension

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210702

RJ01 Rejection of invention patent application after publication