CN100396042C - Quick cut-in method and system for abnormally cut-off of broad band users - Google Patents

Quick cut-in method and system for abnormally cut-off of broad band users Download PDF

Info

Publication number
CN100396042C
CN100396042C CNB2006100348960A CN200610034896A CN100396042C CN 100396042 C CN100396042 C CN 100396042C CN B2006100348960 A CNB2006100348960 A CN B2006100348960A CN 200610034896 A CN200610034896 A CN 200610034896A CN 100396042 C CN100396042 C CN 100396042C
Authority
CN
China
Prior art keywords
user terminal
dhcp
relay agent
address
configuration protocol
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.)
Expired - Fee Related
Application number
CNB2006100348960A
Other languages
Chinese (zh)
Other versions
CN1859254A (en
Inventor
林松
陈宇杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100348960A priority Critical patent/CN100396042C/en
Publication of CN1859254A publication Critical patent/CN1859254A/en
Application granted granted Critical
Publication of CN100396042C publication Critical patent/CN100396042C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a fast access method when a broadband user is off-line abnormally, which comprises following procedures that a DHCP request for applying to access a network is sent by a user terminal to a DHCP relay agent; legitimacy checking is carried out for a user after the DHCP request of the user terminal is received by the DHCP relay agent, and if the user passes the checking, an IP address is allocated to the user terminal by the DHCP relay agent; the user terminal accesses the network again after the IP address is obtained. The present invention also relates to a fast access system when a broadband user is off-line abnormally. Fast on-line after the user terminal is off-line abnormally can be realized by the present invention.

Description

A kind of fast access method of broadband user's abnormal off-line and system
Technical field
The present invention relates to broadband network and insert the field, particularly relate to a kind of fast access method and system of broadband user's abnormal off-line.
Background technology
Along with ADSL (Asymmetrical Digital Subscriber Line, Asymmetrical Digital Subscriber Line), the maturation of access technology such as Ethernet, broadband access is more and more universal, also more and more in video and voice service that broadband access network is carried out, the terminal of these service needed special uses, these terminals all need to obtain the IP address.In broadband network, if user terminal sends the network insertion request, the server of then being responsible for IP address assignment in the network can send IP address of network insertion requesting users terminal distribution for this, so that user terminal can access network.
Prior art generally adopts DHCP (Dynamic Host Configuration Protocol, DHCP) obtain the IP address, DHCP is used for the parameters such as IP address of dynamic auto configure user terminal, after using the starting up of terminal of DHCP agreement, can obtain the required parameters of online such as IP address from Dynamic Host Configuration Protocol server, avoid the loaded down with trivial details work of manual configuration.If Dynamic Host Configuration Protocol server is in different physical subnets with user terminal, dhcp relay agent (DHCP relayagent) need be set, centralized control and management that the access customer that achieves a butt joint inserts between user terminal and Dynamic Host Configuration Protocol server.
As depicted in figs. 1 and 2, the process of accessing user terminal to network mainly may further comprise the steps:
1.DHCP sending DHCP discover message, client is used to find Dynamic Host Configuration Protocol server, access device transparent transmission DHCP discover message is to dhcp relay agent, dhcp relay agent is analyzed received DHCP discover message, constructs new discover message and is transmitted to Dynamic Host Configuration Protocol server;
2.DHCP receiving behind the discover message to DHCP user side distributing IP address and other parameters and put it to DHCP offer message, server is transmitted to dhcp relay agent, dhcp relay agent is analyzed this DHCP offer message, constructs new offer message and is transmitted to dhcp client;
3.DHCP client receives network parameter in the offer message confirmation message and sends the DHCPrequest request message then and represent to accept, this DHCP request message of access device transparent transmission is to dhcp relay agent, dhcp relay agent is analyzed this DHCP request message, constructs new request request message and is forwarded to Dynamic Host Configuration Protocol server;
4.DHCP transmission DHCP ack response message was confirmed to come into force to dhcp relay agent after server received the request message.Dhcp relay agent is analyzed this DHCP ack message, and constructs new response message and be transmitted to dhcp client, and dhcp client obtains the IP address, thus access network.
DHCP client normally reaches the standard grade by above-mentioned step, if dhcp client abnormal off-line this moment, as line fault, reasons such as terminal power down, dhcp client restarts dhcp process immediately, repeats the step of above-mentioned 1-4 and reaches the standard grade again.
In the prior art, reach the standard grade immediately behind the dhcp client abnormal off-line, cause line process need spend the long time by complete DHCP relay process, for the user, long on-line time obviously can not satisfy its requirement.
In addition, from above-mentioned process as can be known, adopt existing method for network access, as long as dhcp client is initiated the DHCP request, dhcp relay agent all can be transmitted to Dynamic Host Configuration Protocol server with the DHCP request, Dynamic Host Configuration Protocol server all can be given dhcp client distributing IP address after receiving the DHCP request, so not only causes the waste of IP address; Even more serious is that when dhcp client sent a large amount of DHCP message aggressions, DHCP relay equipment was transmitted to Dynamic Host Configuration Protocol server with whole messages, can cause Dynamic Host Configuration Protocol server under attack easily, and then the safety that jeopardizes whole network.
Summary of the invention
The invention provides a kind of fast access method of broadband user's abnormal off-line, when being used to solve the each abnormal off-line of user and reaching the standard grade immediately again, need the long time of cost could normally use the problem of network.
The invention provides a kind of quick connecting system of broadband user's abnormal off-line, when being used to solve the each abnormal off-line of user and reaching the standard grade immediately again, need the long time of cost could normally use the problem of network.
The invention provides a kind of fast access method of broadband user's abnormal off-line, may further comprise the steps:
(1) user terminal sends the DHCP request of application access network to dynamic host configuration protocol DHCP relay agent;
(2) after dhcp relay agent is received the DHCP request of user terminal, the user is carried out validity checking, judge promptly whether user's online information that dhcp relay agent keeps has this user terminal entrained information of reaching the standard grade, pass through if check, then dhcp relay agent is not transmitted to Dynamic Host Configuration Protocol server with the DHCP request of user terminal, and user terminal is handed down in the IP address of the Dynamic Host Configuration Protocol server of dhcp relay agent reservation being distributed to originally user terminal;
(3) user terminal obtains re-accessing network behind the IP address.
Wherein, in the step (2), dhcp relay agent keeps the online information of reaching the standard grade before the user terminal.
Wherein, the online information of user terminal comprises the MAC Address of user terminal, the IP address of reaching the standard grade positional information and reaching the standard grade and obtaining of user terminal.Wherein, dhcp relay agent is not transmitted to Dynamic Host Configuration Protocol server with the DHCP request of user terminal in the step (2), and user terminal is handed down in the IP address that original Dynamic Host Configuration Protocol server is distributed to user terminal.Wherein, in the step (2), do not pass through the method access network that the user terminal employing is normally reached the standard grade if check.Wherein, further comprise: relay agent is transmitted to Dynamic Host Configuration Protocol server with described DHCP request, and Dynamic Host Configuration Protocol server is verified user terminal, after checking is passed through, user terminal is handed down in the IP address of user terminal.
The present invention also provides a kind of quick connecting system of broadband user's abnormal off-line, comprise user terminal, dhcp relay agent and Dynamic Host Configuration Protocol server, this dhcp relay agent comprises memory module, comparison module and Dynamic Host Configuration Protocol server module, wherein this memory module is stored the online information of user terminal, this comparison module is used for the online information of more described user terminal and the information of reaching the standard grade of user terminal, and the IP address that this Dynamic Host Configuration Protocol server request module is used for being stored in described memory module sends to described user terminal.
Wherein, the online information of described user terminal comprises the IP address of reaching the standard grade positional information and reaching the standard grade and obtaining of user terminal MAC Address, user terminal.
Beneficial effect of the present invention is as follows: when sending the access request behind user's abnormal off-line again, dhcp relay agent judges by the end message of checking tape on the user terminal whether it stores this user's information, if have, then dhcp relay agent need not transmit message to Dynamic Host Configuration Protocol server, and directly be handed down to user terminal with the IP address that obtained last time, the step of message is transmitted in minimizing to Dynamic Host Configuration Protocol server, thereby the shortening user reaches the standard grade and obtains the time of IP cost, realizes reaching the standard grade fast behind user's abnormal off-line again.
In addition, because dhcp relay agent need not transmit message to Dynamic Host Configuration Protocol server again, therefore can avoid the waste of IP address and prevent that Dynamic Host Configuration Protocol server is subjected to the attack of malice.
Description of drawings
Fig. 1 is the schematic diagram of prior art broadband network access system;
Fig. 2 is the flow chart of prior art broadband network access method;
Fig. 3 is the schematic diagram of broadband network access system of the present invention;
Fig. 4 is the flow chart of broadband network access method of the present invention.
Embodiment
Basic principle of the present invention is, user terminal sends the DHCP request to Dynamic Host Configuration Protocol server, after obtaining IP address access network, the online information that keeps user terminal on the dhcp relay agent, comprise the terminal MAC Address of user terminal, IP address and other additional information of reaching the standard grade and obtaining, the positional information of reaching the standard grade as user terminal etc.When sending the access request behind user's abnormal off-line again, dhcp relay agent judges whether this user's information by the end message of checking tape on the user terminal, if have, then dhcp relay agent need not transmit message to Dynamic Host Configuration Protocol server, and directly be handed down to user terminal with the IP address that last time, Dynamic Host Configuration Protocol server was distributed to user terminal, the step of message is transmitted in minimizing to Dynamic Host Configuration Protocol server, thereby the shortening user reaches the standard grade and obtains the time of IP address cost, realizes reaching the standard grade fast behind user's abnormal off-line again." abnormal off-line " of the present invention, be meant user's adsl line fault, Access Network line fault or terminal fault, as reasons such as unexpected power down, cause user terminal to roll off the production line and dhcp relay agent thinks that also user terminal is online, and also keeping the situation of the normal online information of user.
Please refer to Fig. 3, the quick connecting system of broadband user's abnormal off-line of the present invention comprises user terminal 40, access device 30, dhcp relay agent 20 and Dynamic Host Configuration Protocol server 10.When user terminal 40 carries out network insertion, at first send DHCP request application access network to dhcp relay agent 20, after dhcp relay agent 20 is received this DHCP request, it is transmitted to Dynamic Host Configuration Protocol server 10, after Dynamic Host Configuration Protocol server 10 is received the DHCP request of user terminal 40, netinit information such as the IP address of distributing to user terminal 40 and the IP address of oneself are documented in the dhcp response message, issue dhcp relay agent 20, by dhcp relay agent 20 the dhcp response message of receiving is transmitted to user terminal 40 again, user terminal 40 obtains the IP address, thus access network.
Wherein, this dhcp relay agent 20 comprises Dynamic Host Configuration Protocol server module, memory module and comparison module, when user terminal 40 successful access networks, store the online information of user terminal 40 in the memory module of dhcp relay agent 20, comprise the terminal MAC Address of user terminal 40, IP address and other additional information of reaching the standard grade and obtaining, the positional information of reaching the standard grade as user terminal 40 etc.When user terminal 40 abnormal off-lines, it sends the DHCP request to dhcp relay agent 20 again, dhcp relay agent 20 finds that this user terminal 40 is still online, can carry out validity checking to this user terminal 40: the information of reaching the standard grade of extracting user terminal 40 entrained in this DHCP request, whether the online information of the user terminal 40 that comparison module is judged in the memory module to be preserved has the information of reaching the standard grade of user terminal, if have, then dhcp relay agent 20 does not transmit this DHCP request to Dynamic Host Configuration Protocol server 10, and by the Dynamic Host Configuration Protocol server module will before distribute to user terminal 40 by Dynamic Host Configuration Protocol server 10 the IP address be handed down to user terminal 40.User terminal 40 directly obtains IP address access network from dhcp relay agent 20, accelerated to reach the standard grade again immediately the normal time of using of acquisition IP address behind the each abnormal off-line of user, improve user's satisfaction, reduced the influence that the Access Network network failure brings.
Please refer to Fig. 4, the process of user terminal requests access network comprises following key step:
1, user terminal transmission DHCP discover message is used to find Dynamic Host Configuration Protocol server, and this DHCP discover message of access device transparent transmission is to dhcp relay agent, and dhcp relay agent is analyzed message, constructs new discover message and is transmitted to Dynamic Host Configuration Protocol server;
2, Dynamic Host Configuration Protocol server is transmitted to dhcp relay agent for user terminal distributes IP address and other parameters and is put in the DHCP offer message after receiving the discover message, dhcp relay agent is analyzed this message, constructs new offer message and is transmitted to user terminal;
3, user terminal receives network parameter in the offer message confirmation message and sends DHCP request request message then and represent to accept, access device transparent transmission message is to dhcp relay agent, dhcp relay agent is analyzed message, constructs new request request message and is forwarded to Dynamic Host Configuration Protocol server;
4, transmission DHCP ack response message was confirmed to come into force to dhcp relay agent after Dynamic Host Configuration Protocol server received the request message.Dhcp relay agent is analyzed this message, constructs new response message and is transmitted to user terminal;
5, user terminal is reached the standard grade after rolling off the production line unusually immediately, restarts dhcp process, sends the DHCPdiscover message to dhcp relay agent;
6, dhcp relay agent finds that user terminal is still online this moment, carry out validity checking, inspection is by just directly directly issuing the subnormal IP address of reaching the standard grade and obtaining for user terminal according to the online binding information of user terminal, information such as IP address are documented in issue user terminal in the DHCP offer message, execution in step 7 then;
In this step, if not by validity checking, relay agent's new discover message of structure is transmitted to Dynamic Host Configuration Protocol server, and execution in step 2 to 4 then, adopt normal loading method access network.
7, user terminal sends DHCP request message, and access device is transparent to dhcp relay agent;
8, dhcp relay agent sends DHCP ack message to user terminal, and user terminal obtains IP address re-accessing network.
Because after dhcp relay agent receives the DHCP request of user terminal transmission, judge the information whether this user is arranged in the memory module by the end message of checking tape on the user terminal, if have, then dhcp relay agent need not E-Packet to Dynamic Host Configuration Protocol server, therefore can avoid the waste of IP address and prevent that Dynamic Host Configuration Protocol server is subjected to the attack of malice, guarantee the safety of network.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (7)

1. the fast access method of broadband user's abnormal off-line is characterized in that, may further comprise the steps:
(1) user terminal sends the DHCP request of application access network to dynamic host configuration protocol DHCP relay agent;
(2) after dhcp relay agent is received the DHCP request of user terminal, the user is carried out validity checking, judge promptly whether user's online information that dhcp relay agent keeps has this user terminal entrained information of reaching the standard grade, pass through if check, then dhcp relay agent is not transmitted to Dynamic Host Configuration Protocol server with the DHCP request of user terminal, and user terminal is handed down in the IP address of the server of dhcp relay agent reservation being distributed to originally user terminal;
(3) user terminal obtains re-accessing network behind the IP address.
2. the method for claim 1 is characterized in that, in the described step (2), dhcp relay agent keeps the online information before user terminal rolls off the production line unusually.
3. method as claimed in claim 2 is characterized in that, the online information of user terminal comprises the IP address of reaching the standard grade positional information and reaching the standard grade and obtaining of the MAC Address of user terminal, user terminal.
4. the method for claim 1 is characterized in that, in the step (2), does not pass through the method access network that the user terminal employing is normally reached the standard grade if check.
5. method as claimed in claim 4 is characterized in that, further comprises:
Relay agent is transmitted to Dynamic Host Configuration Protocol server with described DHCP request, and Dynamic Host Configuration Protocol server is verified user terminal, after checking is passed through, user terminal is handed down in the IP address of user terminal.
6. the quick connecting system of broadband user's abnormal off-line, comprise user terminal, access device, dynamic host configuration protocol DHCP relay agent and Dynamic Host Configuration Protocol server, it is characterized in that: this dhcp relay agent comprises memory module, comparison module and Dynamic Host Configuration Protocol server module, the online information of wherein said memory module storage user terminal, this comparison module is used for the online information of more described user terminal and the information of reaching the standard grade of user terminal, and the IP address that this Dynamic Host Configuration Protocol server module is used for being stored in described memory module sends to described user terminal.
7. the quick connecting system of broadband user's abnormal off-line as claimed in claim 6 is characterized in that, the online information of described user terminal comprises the IP address of reaching the standard grade positional information and reaching the standard grade and obtaining of user terminal MAC Address, user terminal.
CNB2006100348960A 2006-04-04 2006-04-04 Quick cut-in method and system for abnormally cut-off of broad band users Expired - Fee Related CN100396042C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100348960A CN100396042C (en) 2006-04-04 2006-04-04 Quick cut-in method and system for abnormally cut-off of broad band users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100348960A CN100396042C (en) 2006-04-04 2006-04-04 Quick cut-in method and system for abnormally cut-off of broad band users

Publications (2)

Publication Number Publication Date
CN1859254A CN1859254A (en) 2006-11-08
CN100396042C true CN100396042C (en) 2008-06-18

Family

ID=37298119

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100348960A Expired - Fee Related CN100396042C (en) 2006-04-04 2006-04-04 Quick cut-in method and system for abnormally cut-off of broad band users

Country Status (1)

Country Link
CN (1) CN100396042C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207608B (en) * 2006-12-22 2012-01-11 深圳市同洲电子股份有限公司 Method for accessing to wide band network
CN101068208B (en) * 2007-06-05 2010-06-02 华为技术有限公司 Method, system and proxy equipment for dynamic distributing network address
CN101656712B (en) * 2008-08-18 2014-04-02 华为技术有限公司 Method for recovering IP session, network system and network edge device
CN101645907A (en) * 2009-09-04 2010-02-10 中兴通讯股份有限公司 Method and system for processing abnormal off-line of Web authenticated user
CN106254567A (en) * 2015-06-15 2016-12-21 中兴通讯股份有限公司 A kind of method and apparatus obtaining address

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212187B1 (en) * 1997-02-19 2001-04-03 Nec Corporation Multiprocessor ATM exchange
CN1411210A (en) * 2002-03-08 2003-04-16 华为技术有限公司 Method of acting address analytic protocol Ethernet Switch in application
CN1564522A (en) * 2004-03-31 2005-01-12 港湾网络有限公司 Fast re-dialling method when abnormal off-line of dialling user
CN1697410A (en) * 2004-05-13 2005-11-16 华为技术有限公司 Quick redialing method for user to log on broadband network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212187B1 (en) * 1997-02-19 2001-04-03 Nec Corporation Multiprocessor ATM exchange
CN1411210A (en) * 2002-03-08 2003-04-16 华为技术有限公司 Method of acting address analytic protocol Ethernet Switch in application
CN1564522A (en) * 2004-03-31 2005-01-12 港湾网络有限公司 Fast re-dialling method when abnormal off-line of dialling user
CN1697410A (en) * 2004-05-13 2005-11-16 华为技术有限公司 Quick redialing method for user to log on broadband network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
无线接入宽带网的设计与实现. 宋占林,胡修林.中国数据通信,第5期. 2003
无线接入宽带网的设计与实现. 宋占林,胡修林.中国数据通信,第5期. 2003 *

Also Published As

Publication number Publication date
CN1859254A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
US8630540B1 (en) Method and system for transporting DOCSIS communication signals over a passive optical network
CN101296203A (en) Device, system and method for automatically configuring application terminal in family network
CN101179603B (en) Method and device for controlling user network access in IPv6 network
CN100396042C (en) Quick cut-in method and system for abnormally cut-off of broad band users
CN101924800B (en) Method for obtaining IP address of DHCPv6 server, DHCPv6 server and DHCPv6 communication system
CN101656764A (en) Method, system and device for keeping session of DHCP user active
CN101674587A (en) Method and system for realizing business monitoring and authentication agent server
CN103117902B (en) User offline automatic checkout system and method under a kind of IPoE
CN101227481A (en) Apparatus and method of IP access based on DHCP protocol
CN1414716A (en) Set-up method of defect maintenance channel based on IPOA channel
US7869369B2 (en) Cable modem location analyzing device
CN103312708B (en) A kind of IP establishing method based on lease file and system
CN104601743A (en) IP (internet protocol) forwarding IPoE (IP over Ethernet) dual-stack user access control method and equipment based on Ethernet
CN102769678B (en) A kind of dhcp address distribution method and device
CN101325587A (en) Method for monitoring DHCP conversation
CN102025574A (en) Cable modem termination system and method
CN101188628B (en) Method, system, network device for distributing service information
CN100362800C (en) A method for triggering user terminal online via data message
WO2003067837A2 (en) Dynamic host configuration protocol lease time determination
CN102487396B (en) User position determining method and system
CN104009961A (en) PPPoE session ID distribution method and equipment thereof
CN101682659A (en) Method and apparatus for verification of dynamic host configuration protocol (dhcp) release message
CN104767765A (en) Method for improving on-line speed of user and access equipment for broadband to get access to server remotely
CN102333133A (en) Medium access control (MAC) address distribution method, device and system
CN101938386A (en) Session monitoring method and service node device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080618

CF01 Termination of patent right due to non-payment of annual fee