CN101510902A - Method, system and equipment for preventing wireless client terminal from disconnection during internet process - Google Patents

Method, system and equipment for preventing wireless client terminal from disconnection during internet process Download PDF

Info

Publication number
CN101510902A
CN101510902A CNA2009100807113A CN200910080711A CN101510902A CN 101510902 A CN101510902 A CN 101510902A CN A2009100807113 A CNA2009100807113 A CN A2009100807113A CN 200910080711 A CN200910080711 A CN 200910080711A CN 101510902 A CN101510902 A CN 101510902A
Authority
CN
China
Prior art keywords
mac address
list item
wireless client
address
dhcp
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.)
Granted
Application number
CNA2009100807113A
Other languages
Chinese (zh)
Other versions
CN101510902B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009100807113A priority Critical patent/CN101510902B/en
Publication of CN101510902A publication Critical patent/CN101510902A/en
Application granted granted Critical
Publication of CN101510902B publication Critical patent/CN101510902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a system and a facility for preventing a wireless client from disconnecting from the internet in the process of surfing online. The method comprises: after receiving DHCP request message transmitted by the wireless client, a wireless access point (AP) looks for the existence of a list item corresponded with the MAC address, if no list item exists, the DHCP request message is forwarded to a DHCP server, if yes, the IP address in the list item corresponded with the MAC address is allocated to the wireless client. The method, the system and the facility for preventing a wireless client from disconnecting from the internet in the process of surfing online can avoid disconnection from the internet when a network card of the wireless client is flash off.

Description

Prevent method, system and equipment that wireless client goes offline in last network process
Technical field
The present invention relates to wireless local area network technology, be specifically related to the method, system and the equipment that prevent that wireless client from going offline in last network process.
Background technology
WLAN (wireless local area network) (WLAN, Wireless Local Area Network) technology is one of hot spot technology of the current communications field, compare with cable network, the deployment of WLAN is relative simple with enforcement, maintenance cost is cheap, generally lays one or more WAP (wireless access point) (AP, Access Port) equipment and just can set up the LAN that covers whole building or area, wireless client inserts WLAN (wireless local area network) by AP, is connected to fixed network or internet.
In wlan network, wireless client realizes that the main process of online comprises:
1, wireless client starts scanning and is connected to AP;
2, wireless client obtains the IP address by DHCP (DHCP) request stage;
In the DHCP request stage, wireless client sends DHCP discover message, and after AP received DHCP discover message, each Dynamic Host Configuration Protocol server in network was transmitted this DHCP discover message; Each Dynamic Host Configuration Protocol server receives DHCP discover message, will send to wireless client by AP for the wireless client IP address allocated is carried in the DHCP offer message; Wireless client selects IP address in the DHCP offer message (normally selective reception arrive first DHCP offer message) as selected IP address, and sends the DHCP request message that carries selected IP address; After AP received DHCP request message, each Dynamic Host Configuration Protocol server in network was transmitted this DHCP request message; After distributing the Dynamic Host Configuration Protocol server of selecting the IP address to receive DHCP request message, preservation is to list item that should wireless client, and should select the IP address and be carried in the DHCP ack message and send to wireless client by AP, wireless client with the IP address in the DHCP ack message as the IP address that finally obtains.
3, the wireless client utilization IP address online of obtaining.
In wlan network, the situation that the network interface card in the wireless client reconnects after regular meeting's generation moment disconnection, it is disconnected also to claim network interface card to dodge.Causing network interface card to dodge disconnected reason has a lot, such as, because wlan network uses public frequency range, potential interference source is many, can produce instantaneous interference etc. to the network interface card in the wireless client.
Because it is that network interface card in the wireless client is interfered and disconnects suddenly that network interface card dodges disconnected, the radio signal quality between wireless client and the AP remains and satisfies connection request, and therefore, network interface card can recover after moment disconnects and being connected of AP immediately.After network interface card recovers to connect, wireless client can send DHCP request message by AP again and obtain the IP address again, and because network interface card dodges disconnected is that the improper disconnection of wireless client connects, Dynamic Host Configuration Protocol server does not receive that wireless client connects the DHCP release message that sends under (being that the user instruction wireless client disconnects connection) situation normal the disconnection, therefore, still be kept at the previous list item of wireless client, like this, when Dynamic Host Configuration Protocol server is received the DHCP request message of sending after network interface card recovers to connect, Dynamic Host Configuration Protocol server can be thought illegal DHCP request, thereby ignore, wireless client can't be re-assigned to the IP address, then can go offline.Perhaps,, can distribute a new IP address, cause wireless client, also cause wireless client to go offline based on all application failures of dodging the IP address before breaking to wireless client because Dynamic Host Configuration Protocol server is still preserved previous list item.
By above description as can be seen, in the prior art, the network interface card in wireless client takes place to dodge has no progeny, and can cause wireless client to go offline, thereby greatly reduce service feature, has reduced user's business experience.
Summary of the invention
In view of this, main purpose of the present invention is to provide method, system and the equipment that prevents wireless client and go offline in last network process, has no progeny so that the network interface card in wireless client takes place to dodge, and avoids wireless client to go offline.
In order to achieve the above object, technical scheme of the present invention is achieved in that
Prevent the method that wireless client goes offline in last network process, this method comprises:
After wireless access point AP receives the DHCP request message that wireless client sends, medium access control MAC address according to the wireless client that carries in this DHCP request message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP request message is transmitted to Dynamic Host Configuration Protocol server, if then give this wireless client with the IP address assignment in the corresponding list item of this MAC Address.
AP does not find in self after the list item of described MAC Address correspondence, and this method further comprises:
Described AP extracts IP address and the MAC Address in the described DHCP request message, and the IP address of extracting and MAC Address are kept in should the list item of MAC Address;
Perhaps,
Described AP receives the DHCP ack message that Dynamic Host Configuration Protocol server returns, and therefrom extracts IP address and MAC Address, and the IP address of extracting and MAC Address are kept in should the list item of MAC Address.
Describedly comprise to the step of this wireless client the IP address assignment in the corresponding list item of this MAC Address:
Described AP is carried at the IP address in the corresponding list item of described MAC Address in the DHCP ack message and sends to wireless client;
Perhaps,
Described AP is carried at the IP address in the corresponding list item of described MAC Address in the IP address assignment message of arranging with wireless client and sends to wireless client.
After AP receives the DHCP request message that wireless client sends, and in searching self, whether exist before the list item of described MAC Address correspondence, further comprise:
Described AP judges in the described DHCP request message whether comprise server identifier option, if, then continue to carry out described MAC Address according to the wireless client that carries in this message, search the step that whether has the list item of this MAC Address correspondence in self, if not, described AP transmits described DHCP request message to Dynamic Host Configuration Protocol server.
This method further comprises:
Described AP receives the DHCP discovery message that described wireless client is sent; Described AP is according to the MAC Address of the wireless client that carries in this DHCP discovery message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP discovery message is transmitted to Dynamic Host Configuration Protocol server, if then the IP address in the corresponding list item of this MAC Address is carried in the DHCP offer message and sends to described wireless client.
This method further comprises: described AP according to the MAC Address of carrying in this DHCP release message, deletes in self list item that should MAC Address after receiving the DHCPrelease message that described wireless client sends.
Prevent the system that wireless client goes offline in last network process, this system comprises: wireless client and AP, wherein,
Wireless client is used to send the DHCP request message that carries the self MAC address, and the IP address that AP is sent is as IP address allocated;
AP, be used for behind the DHCP request message that receives the wireless client transmission, according to the MAC Address of carrying in this message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP request message is transmitted to Dynamic Host Configuration Protocol server, if then the IP address in the corresponding list item of this MAC Address is sent to described wireless client.
Prevent the AP that wireless client goes offline in last network process, this AP comprises:
Transmit-Receive Unit is used to receive the DHCP request message that wireless client sends, and after receiving the forwarding instruction that processing unit sends, this DHCP request message is transmitted to Dynamic Host Configuration Protocol server;
Processing unit, be used for extracting MAC Address from the DHCP request message that Transmit-Receive Unit receives, search the list item of the MAC Address correspondence that whether has this extraction in the list item memory cell, if there is no, then will transmit instruction and send to Transmit-Receive Unit, if exist, then give described wireless client with the IP address assignment in the corresponding list item of the MAC Address that should extract in the list item memory cell;
The list item memory cell is used to preserve the list item of corresponding MAC Address, preserves MAC Address and IP address in each bar list item.
Described processing unit,
Be further used in the list item memory cell, not finding after the list item of MAC Address correspondence of extraction, from the DHCP request message that Transmit-Receive Unit receives, extract the IP address, in the list item memory cell, set up the IP address that comprises extraction and MAC Address to list item that should MAC Address;
Perhaps,
Be further used in the list item memory cell, not finding after the list item of MAC Address correspondence of extraction, extract IP address and MAC Address the DHCP ack message that the Dynamic Host Configuration Protocol server that further receives from described Transmit-Receive Unit returns, in the list item memory cell, set up the IP address that comprises extraction and MAC Address to list item that should MAC Address.
Described processing unit, be further used for during carrying out the DHCP request message that receives from Transmit-Receive Unit, extracting before the MAC Address, judge in the described DHCP request message and whether comprise the serveridentifier option, if, then the continuation execution is described extracts MAC Address from the DHCPrequest message that Transmit-Receive Unit receives, if not, then carry out and describedly will transmit instruction and send to Transmit-Receive Unit.
Described Transmit-Receive Unit is further used for receiving the DHCP discovery message that wireless client is sent, and the DHCP offer message that described processing unit is sent sends to described wireless client.
Described processing unit, be further used for from the DHCP discovery message that Transmit-Receive Unit receives, extracting MAC Address, search the list item of the MAC Address correspondence that whether has this extraction in the list item memory cell, if there is no, then carry out and describedly will transmit instruction and send to Transmit-Receive Unit, if exist, then the IP address in the MAC Address correspondence list item of this extraction in the list item memory cell is carried in the DHCP offer message of structure and sends to described Transmit-Receive Unit.
Described Transmit-Receive Unit is further used for receiving the DHCP release message that described wireless client is sent;
Described processing unit is further used for extracting MAC Address from the DHCP release message that Transmit-Receive Unit receives, in the remove entries memory cell with DHCP release message in the corresponding list item of MAC Address that extracts.
This shows that the present invention has the following advantages:
In the present invention, when AP receives the DHCP request message that wireless client sends, according to the list item that whether has the MAC Address correspondence in the DHCP request message in self, whether the network interface card that can accurately judge in the current wireless client has taken place to dodge disconnected.In addition, determining that sudden strain of a muscle has taken place has no progeny, AP can give this wireless client with the IP address assignment in the corresponding list item of this MAC Address, thereby having guaranteed that wireless client can take place dodge to have no progeny at network interface card is re-assigned to the IP address, has avoided wireless client in the prior art can't be re-assigned to the IP address and the shortcoming that goes offline.And, because the IP address in the corresponding list item of MAC Address is exactly the IP address that wireless client used before the generation sudden strain of a muscle is disconnected, therefore, the present invention redistributes this IP address to behind the wireless client, all application that then can guarantee the IP address before wireless client breaks based on sudden strain of a muscle can be proceeded, also avoid wireless client to go offline, thereby improved service feature greatly, strengthened user's business experience.
Description of drawings
Fig. 1 prevents in the one embodiment of the invention that the system that wireless client goes offline from forming schematic diagram in last network process.
Fig. 2 is the flow chart that prevents that in a preferred embodiment of the present invention wireless client from going offline in last network process.
Fig. 3 is the basic structure schematic diagram of the AP that prevents that in one embodiment of the invention wireless client from going offline in last network process.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
The present invention has at first proposed a kind of method that prevents that wireless client from going offline in last network process, in the method, after AP receives the DHCP request message that wireless client sends, medium access control (MAC) address according to the wireless client that carries in this DHCPrequest message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP request message is transmitted to Dynamic Host Configuration Protocol server, if then give this wireless client with the IP address assignment in the corresponding list item of this MAC Address.
The present invention has correspondingly also proposed a kind of system that prevents that wireless client from going offline in last network process.Fig. 1 prevents in the one embodiment of the invention that the system that wireless client goes offline from forming schematic diagram in last network process.Referring to Fig. 1, this system comprises: wireless client and AP, wherein,
Wireless client is used to send the DHCP request message that carries the self MAC address, and the IP address that AP is sent is as IP address allocated;
AP, be used for behind the DHCP request message that receives the wireless client transmission, according to the MAC Address of carrying in this message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP request message is transmitted to Dynamic Host Configuration Protocol server, if then the IP address in the corresponding list item of this MAC Address is sent to described wireless client.
Fig. 2 is the flow chart that prevents that in a preferred embodiment of the present invention wireless client from going offline in last network process.Referring to Fig. 1 and Fig. 2, in a preferred embodiment of the present invention, the system that utilizes the present invention to propose prevents that wireless client from network interface card taking place dodge the process that goes offline of having no progeny and specifically may further comprise the steps in last network process:
Step 201:AP starts the monitoring to the DHCP message after connecting with wireless client.
Step 202:AP receives the DHCP discovery message that wireless client is sent, MAC Address according to the wireless client that carries in this DHCP discovery message, search the list item that whether has this MAC Address correspondence in self, if not, then execution in step 203, if then execution in step 204.
One skilled in the art will appreciate that under a kind of situation (being designated as situation 1) wireless client need send the DHCP discovery message of applying for the IP address in the initial back that connects to each Dynamic Host Configuration Protocol server according to the regular traffic flow process; Under another kind of situation (being designated as situation 2), if wireless client after having obtained the IP address in the network process inner network interface card take place to dodge disconnected, also can resend the DHCPdiscovery message.Therefore, in this step, AP does not adopt the processing that directly the DHCPdiscovery message is transmitted to each Dynamic Host Configuration Protocol server in the prior art, but need at first to judge that the current DHCP discovery message that receives is at the message of 1 time transmission of above-mentioned situation or the message that sends for 2 times in above-mentioned situation, so that take different processing at different situations, guaranteeing that network interface card dodges under the situation that the wireless client of having no progeny do not go offline, and also can guarantee the carrying out of other regular traffics.
Process analysis to the wireless client business of networking can know, above-mentioned situation 1 time, also do not obtain the IP address that online is used because wireless client is initial after connecting, and therefore, also can not have the list item of the MAC Address correspondence of this wireless client among the AP; And above-mentioned situation 2 times, because wireless client is to take place to dodge in last network process to break after having obtained the IP address, therefore, AP has preserved the list item of the MAC Address correspondence of this wireless client already according to existing protocol.As seen, AP can utilize the list item of the MAC Address correspondence of wireless client to judge that the current DHCP discovery message that receives is at the message of 1 time transmission of above-mentioned situation or the message that sends for 2 times in above-mentioned situation, concrete determination methods is exactly " according to the MAC Address of the wireless client that carries in this DHCP discovery message; search the list item that whether has this MAC Address correspondence in self " described in this step, if there is no, can judge that then the current DHCP discovery message that receives is the message that sends for 1 time in above-mentioned situation, if exist, can judge that then the current DHCP discovery message that receives is the message in 2 times (the network interface card sudden strain of a muscle promptly takes place has no progeny) transmissions of above-mentioned situation.
Step 203:AP is transmitted to Dynamic Host Configuration Protocol server with DHCP discovery message, execution in step 205.
When carrying out this step, because it is above-mentioned situation 1 time that AP has judged the DHCP discovery message that receives, promptly initially connecting the back according to the DHCP discovery message of regular traffic flow process to the application IP address that each Dynamic Host Configuration Protocol server sends, therefore, carry out processing same as the prior art, that is, in this step DHCP discovery message is transmitted to Dynamic Host Configuration Protocol server.
Step 204:AP is carried at the IP address in the corresponding list item of this MAC Address in the DHCP offer message and sends to wireless client.
When carrying out this step, because it is above-mentioned situation 2 times that AP has judged the DHCP discovery message that receives, promptly the DHCPdiscovery message of having no progeny and resending takes place to dodge in the network interface card in wireless client, therefore, in order to guarantee that wireless client does not go offline, AP need guarantee that wireless client can receive DHCP offer message, carries out the process that follow-up transmission DHCPrequest message is determined institute distributing IP address thereby trigger wireless client.
Step 205:AP receives the DHCP request message that wireless client is sent, judges whether to comprise server identification (server identifier) option in this DHCP request message, if then execution in step 207, otherwise, execution in step 206.
Can know that according to the DHCP agreement DHCP request message has two kinds of use, a kind of be wireless client in order to respond DHCP offer message, determine that institute's IP address allocated sends; Another kind is because Dynamic Host Configuration Protocol server has ageing time for the wireless client IP address allocated, can not use indefinite duration, and wireless client sends for the useful life of expanding this IP address.And according to the DHCP agreement, if DHCP request message as preceding a kind of use, so, includes server identifier option in the message.
Therefore, in this step, AP judges in this DHCP request message whether comprise the serveridentifier option, if comprise, illustrate that then this DHCP request message is in order to respond the DHCPoffer message, determine institute's IP address allocated, in such cases, network interface card that then might wireless client takes place that dodging has no progeny sends, need execution in step 207 and subsequent treatment thereof, if do not comprise, illustrate that then DHCP request message is not to determine institute's IP address allocated in order to respond DHCP offer message, that is to say, the network interface card of wireless client does not take place to dodge disconnected, therefore, only need to carry out processing of the prior art, then execution in step 206.
Step 206:AP transmits DHCP request message to Dynamic Host Configuration Protocol server, finishes current flow process.
Step 207:AP searches the list item that whether has this MAC Address correspondence in self according to the MAC Address of the wireless client that carries in this DHCP request message, and if not, then execution in step 208, if then execution in step 210.
One skilled in the art will appreciate that above-mentioned situation 1 time wireless client needs to send the DHCP request message of determining institute distributing IP address in initial the connection after the back is receiving DHCP offer message according to the regular traffic flow process; Above-mentioned situation 2 times, if network interface card takes place to dodge disconnected in the wireless client, after resending DHCP discovery message and receiving DHCP offer message, also can resend the DHCP request message of determining institute distributing IP address, therefore, in this step, AP can not adopt the processing that directly DHCP request message is transmitted to Dynamic Host Configuration Protocol server in the prior art, but need at first to judge that the current DHCP request message that receives is at the message of 1 time transmission of above-mentioned situation or the message that sends for 2 times in above-mentioned situation, so that take different processing at different situations, guaranteeing that network interface card dodges under the situation that the wireless client of having no progeny do not go offline, and also can guarantee the carrying out of other regular traffics.
Can obtain according to the analysis to the process of wireless client business of networking in the above-mentioned steps 202, AP can utilize the list item of the MAC Address correspondence of wireless client to judge that the current DHCPrequest message that receives is at the message of 1 time transmission of above-mentioned situation or the message that sends for 2 times in above-mentioned situation, concrete determination methods is exactly " according to the MAC Address of the wireless client that carries in this DHCP request message; search the list item that whether has this MAC Address correspondence in self " described in this step, if there is no, can judge that then the current DHCP request message that receives is the message that sends for 1 time in above-mentioned situation, if exist, can judge that then the current DHCP request message that receives is the message in 2 times (the network interface card sudden strain of a muscle promptly takes place has no progeny) transmissions of above-mentioned situation.
Step 208~209:AP is extracted IP address and the MAC Address in the DHCP request message, the IP address of extracting and MAC Address is kept at newly-built in should the list item of MAC Address; Afterwards, AP is transmitted to Dynamic Host Configuration Protocol server with DHCP request message, finishes current flow process.
Carry out here, because it is above-mentioned situation 1 time that AP has judged the DHCP request message that receives, promptly, therefore, need to carry out the processing that in the prior art DHCP request message is transmitted to Dynamic Host Configuration Protocol server at the initial message that connects the back according to the transmission of regular traffic flow process.
In addition, owing to also do not set up the list item of corresponding wireless client MAC Address this moment among the AP, therefore, AP can utilize IP address in the DHCP request message and MAC Address to set up list item that should MAC Address.Certainly, in the business realizing of reality, the method of setting up this list item that also has other, be that AP also can not utilize IP address in the DHCP request message and MAC Address to set up list item that should MAC Address, but wait for the DHCP ack message that the reception Dynamic Host Configuration Protocol server returns according to the regular traffic flow process, from this DHCP ack message, extract IP address and MAC Address, the IP address of extracting and MAC Address are kept in should the list item of MAC Address.
Step 210:AP gives wireless client with the IP address assignment in the corresponding list item of the MAC Address in the DHCP request message.
The implementation procedure of this step can be: mode one, AP are carried at the IP address in the corresponding list item of the MAC Address in the DHCP request message in the DHCP ack message and send to wireless client; Mode two, AP are carried at the IP address in the corresponding list item of the MAC Address in the DHCP request message in the IP address assignment message of arranging with wireless client and send to wireless client.
Processing by above-mentioned flow process shown in Figure 2, can guarantee that then the network interface card in the wireless client has no progeny take place dodging, can be re-assigned to the IP address, and the IP address that is re-assigned to is with take place to dodge the IP address of using before disconnected (being the IP address in the corresponding list item of MAC Address of wireless client) identical, wireless client can utilize this IP address to continue online, and disconnected all preceding application take place to dodge can be proceeded, thereby has guaranteed that wireless client does not go offline.
Need to prove, in the present invention, as long as AP receives the DHCPrelease message that wireless client is sent, so, AP can determine that then wireless client is to roll off the production line according to the regular traffic flow process, just according to the MAC Address of carrying in this DHCP release message, delete in self list item that should MAC Address.
In addition, the invention allows for a kind of AP that prevents that wireless client from going offline in last network process.Fig. 3 is the basic structure schematic diagram of the AP that prevents that in one embodiment of the invention wireless client from going offline in last network process.Referring to Fig. 3, the basic structure of this AP comprises:
Transmit-Receive Unit is used to receive the DHCP request message that wireless client sends, and after receiving the forwarding instruction that processing unit sends, this DHCP request message is transmitted to Dynamic Host Configuration Protocol server;
Processing unit, be used for extracting MAC Address from the DHCP request message that Transmit-Receive Unit receives, search the list item of the MAC Address correspondence that whether has this extraction in the list item memory cell, if there is no, then will transmit instruction and send to Transmit-Receive Unit, if exist, then give described wireless client with the IP address assignment in the corresponding list item of the MAC Address that should extract in the list item memory cell;
The list item memory cell is used to preserve the list item of corresponding MAC Address, preserves MAC Address and IP address in each bar list item.
In a preferred embodiment of the present invention, described processing unit,
Be further used in the list item memory cell, not finding after the list item of MAC Address correspondence of extraction, from the DHCP request message that Transmit-Receive Unit receives, extract the IP address, in the list item memory cell, set up the IP address that comprises extraction and MAC Address to list item that should MAC Address;
Perhaps,
Be further used in the list item memory cell, not finding after the list item of MAC Address correspondence of extraction, extract IP address and MAC Address the DHCP ack message that the Dynamic Host Configuration Protocol server that further receives from described Transmit-Receive Unit returns, in the list item memory cell, set up the IP address that comprises extraction and MAC Address to list item that should MAC Address.
In a preferred embodiment of the present invention, described processing unit, be further used for during carrying out the DHCP request message that receives from Transmit-Receive Unit, extracting before the MAC Address, judge in the described DHCP request message and whether comprise server identifier option, if, then continue to carry out and describedly from the DHCP request message that Transmit-Receive Unit receives, extract MAC Address, if not, then carry out described will transmit to instruct send to Transmit-Receive Unit.
In a preferred embodiment of the present invention, described Transmit-Receive Unit is further used for receiving the DHCP discovery message that wireless client is sent, and the DHCP offer message that described processing unit is sent sends to described wireless client;
Described processing unit, be further used for from the DHCP discovery message that Transmit-Receive Unit receives, extracting MAC Address, search the list item of the MAC Address correspondence that whether has this extraction in the list item memory cell, if there is no, then carry out and describedly will transmit instruction and send to Transmit-Receive Unit, if exist, then the IP address in the MAC Address correspondence list item of this extraction in the list item memory cell is carried in the DHCP offer message of structure and sends to described Transmit-Receive Unit.
In a preferred embodiment of the present invention, described Transmit-Receive Unit is further used for receiving the DHCP release message that described wireless client is sent;
Described processing unit is further used for extracting MAC Address from the DHCP release message that Transmit-Receive Unit receives, in the remove entries memory cell with DHCP release message in the corresponding list item of MAC Address that extracts.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1, prevent the method that wireless client goes offline in last network process, it is characterized in that this method comprises:
After wireless access point AP receives the DHCP request message that wireless client sends, medium access control MAC address according to the wireless client that carries in this DHCP request message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP request message is transmitted to Dynamic Host Configuration Protocol server, if then give this wireless client with the IP address assignment in the corresponding list item of this MAC Address.
2, method according to claim 1 is characterized in that, AP does not find in self after the list item of described MAC Address correspondence, and this method further comprises:
Described AP extracts IP address and the MAC Address in the described DHCP request message, and the IP address of extracting and MAC Address are kept in should the list item of MAC Address;
Perhaps,
Described AP receives the DHCP ack message that Dynamic Host Configuration Protocol server returns, and therefrom extracts IP address and MAC Address, and the IP address of extracting and MAC Address are kept in should the list item of MAC Address.
3, method according to claim 1 is characterized in that, describedly comprises to the step of this wireless client the IP address assignment in the corresponding list item of this MAC Address:
Described AP is carried at the IP address in the corresponding list item of described MAC Address in the DHCP ack message and sends to wireless client;
Perhaps,
Described AP is carried at the IP address in the corresponding list item of described MAC Address in the IP address assignment message of arranging with wireless client and sends to wireless client.
Whether 4, method according to claim 1 is characterized in that, after AP receives the DHCP request message that wireless client sends, and exist in searching self before the list item of described MAC Address correspondence, further comprises:
Described AP judges in the described DHCP request message whether comprise server identifier option, if, then continue to carry out described MAC Address according to the wireless client that carries in this message, search the step that whether has the list item of this MAC Address correspondence in self, if not, described AP transmits described DHCP request message to Dynamic Host Configuration Protocol server.
5, according to any described method in the claim 1 to 4, it is characterized in that this method further comprises:
Described AP receives the DHCP discovery message that described wireless client is sent; Described AP is according to the MAC Address of the wireless client that carries in this DHCP discovery message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP discovery message is transmitted to Dynamic Host Configuration Protocol server, if then the IP address in the corresponding list item of this MAC Address is carried at and sends to described wireless client in the DHCPoffer message.
6, according to any described method in the claim 1 to 5, it is characterized in that, this method further comprises: described AP is after receiving the DHCP release message that described wireless client sends, according to the MAC Address of carrying in this DHCP release message, delete in self list item that should MAC Address.
7, prevent the system that wireless client goes offline in last network process, it is characterized in that this system comprises: wireless client and AP, wherein,
Wireless client is used to send the DHCP request message that carries the self MAC address, and the IP address that AP is sent is as IP address allocated;
AP, be used for behind the DHCP request message that receives the wireless client transmission, according to the MAC Address of carrying in this message, search the list item that whether has this MAC Address correspondence in self, if not, then this DHCP request message is transmitted to Dynamic Host Configuration Protocol server, if then the IP address in the corresponding list item of this MAC Address is sent to described wireless client.
8, prevent the AP that wireless client goes offline in last network process, it is characterized in that this AP comprises:
Transmit-Receive Unit is used to receive the DHCP request message that wireless client sends, and after receiving the forwarding instruction that processing unit sends, this DHCP request message is transmitted to Dynamic Host Configuration Protocol server;
Processing unit, be used for extracting MAC Address from the DHCP request message that Transmit-Receive Unit receives, search the list item of the MAC Address correspondence that whether has this extraction in the list item memory cell, if there is no, then will transmit instruction and send to Transmit-Receive Unit, if exist, then give described wireless client with the IP address assignment in the corresponding list item of the MAC Address that should extract in the list item memory cell;
The list item memory cell is used to preserve the list item of corresponding MAC Address, preserves MAC Address and IP address in each bar list item.
9, AP according to claim 8 is characterized in that, described processing unit,
Be further used in the list item memory cell, not finding after the list item of MAC Address correspondence of extraction, from the DHCP request message that Transmit-Receive Unit receives, extract the IP address, in the list item memory cell, set up the IP address that comprises extraction and MAC Address to list item that should MAC Address;
Perhaps,
Be further used in the list item memory cell, not finding after the list item of MAC Address correspondence of extraction, extract IP address and MAC Address the DHCP ack message that the Dynamic Host Configuration Protocol server that further receives from described Transmit-Receive Unit returns, in the list item memory cell, set up the IP address that comprises extraction and MAC Address to list item that should MAC Address.
10, AP according to claim 8, it is characterized in that, described processing unit, be further used for during carrying out the DHCP request message that receives from Transmit-Receive Unit, extracting before the MAC Address, judge in the described DHCP request message whether comprise server identifier option, if then the continuation execution is described extracts MAC Address from the DHCP request message that Transmit-Receive Unit receives, if not, then carry out and describedly will transmit instruction and send to Transmit-Receive Unit.
11, according to Claim 89 or 10 described AP,, it is characterized in that, described Transmit-Receive Unit is further used for receiving the DHCP discovery message that wireless client is sent, and the DHCP offer message that described processing unit is sent sends to described wireless client.
Described processing unit, be further used for from the DHCP discovery message that Transmit-Receive Unit receives, extracting MAC Address, search the list item of the MAC Address correspondence that whether has this extraction in the list item memory cell, if there is no, then carry out and describedly will transmit instruction and send to Transmit-Receive Unit, if exist, then the IP address in the MAC Address correspondence list item of this extraction in the list item memory cell is carried in the DHCP offer message of structure and sends to described Transmit-Receive Unit.
12, according to Claim 8,9 or 10 described AP, it is characterized in that described Transmit-Receive Unit is further used for receiving the DHCP release message that described wireless client is sent;
Described processing unit is further used for extracting MAC Address from the DHCP release message that Transmit-Receive Unit receives, in the remove entries memory cell with DHCP release message in the corresponding list item of MAC Address that extracts.
CN2009100807113A 2009-03-25 2009-03-25 Method, system and equipment for preventing wireless client terminal from disconnection during internet process Active CN101510902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100807113A CN101510902B (en) 2009-03-25 2009-03-25 Method, system and equipment for preventing wireless client terminal from disconnection during internet process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100807113A CN101510902B (en) 2009-03-25 2009-03-25 Method, system and equipment for preventing wireless client terminal from disconnection during internet process

Publications (2)

Publication Number Publication Date
CN101510902A true CN101510902A (en) 2009-08-19
CN101510902B CN101510902B (en) 2011-12-21

Family

ID=41003165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100807113A Active CN101510902B (en) 2009-03-25 2009-03-25 Method, system and equipment for preventing wireless client terminal from disconnection during internet process

Country Status (1)

Country Link
CN (1) CN101510902B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883090A (en) * 2010-04-29 2010-11-10 北京星网锐捷网络技术有限公司 Client access method, equipment and system
CN102238527A (en) * 2010-04-22 2011-11-09 杭州华三通信技术有限公司 Method, system and access point for wireless roaming user to access network
CN102316447A (en) * 2011-09-14 2012-01-11 福建星网锐捷网络有限公司 Internet protocol (IP) address allocation and sending method, wireless access device, server and system
CN103442450A (en) * 2013-08-21 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Wireless communication method and wireless communication equipment
WO2014194818A1 (en) * 2013-06-07 2014-12-11 华为终端有限公司 Method for discovering user of equipment, and user equipment
CN104683136A (en) * 2013-11-29 2015-06-03 杭州迪普科技有限公司 DHCP (dynamic host configuration protocol) time delay event processing method and device
TWI497967B (en) * 2013-01-31 2015-08-21 Everfocus Electronics Corp Port DHCP server protocol address management method
CN106254571A (en) * 2016-08-05 2016-12-21 杭州华三通信技术有限公司 A kind of client ip address distribution method and device
WO2017000128A1 (en) * 2015-06-29 2017-01-05 华为技术有限公司 Internet protocol address allocation method and relay device
CN107370640A (en) * 2017-08-21 2017-11-21 太仓市同维电子有限公司 Automatically control the system and method that network interface card connection AP is tested
CN107453945A (en) * 2017-07-14 2017-12-08 上海斐讯数据通信技术有限公司 Because router netting twine disconnects the solution method and system for causing network not connect
CN107911276A (en) * 2017-12-27 2018-04-13 迈普通信技术股份有限公司 Request responding method, wireless controller, wireless access point and request response system
CN108243263A (en) * 2016-12-26 2018-07-03 中移(苏州)软件技术有限公司 A kind of cut-in method of mobile hotspot device and mobile hotspot device
CN109802980A (en) * 2017-11-17 2019-05-24 华为技术有限公司 Method for message interaction, relevant apparatus and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481133A (en) * 2002-09-05 2004-03-10 深圳市中兴通迅股份有限公司上海第二 Method for accessing server through wideband
CN101192998A (en) * 2006-11-21 2008-06-04 中兴通讯股份有限公司 Data line detection method based on network processor
CN100473037C (en) * 2007-03-19 2009-03-25 中兴通讯股份有限公司 Method for realizing distributed DHCP relay

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238527A (en) * 2010-04-22 2011-11-09 杭州华三通信技术有限公司 Method, system and access point for wireless roaming user to access network
CN102238527B (en) * 2010-04-22 2014-07-02 杭州华三通信技术有限公司 Method, system and access point for wireless roaming user to access network
CN101883090A (en) * 2010-04-29 2010-11-10 北京星网锐捷网络技术有限公司 Client access method, equipment and system
CN102316447B (en) * 2011-09-14 2014-12-24 福建星网锐捷网络有限公司 Internet protocol (IP) address allocation and sending method, wireless access device, server and system
CN102316447A (en) * 2011-09-14 2012-01-11 福建星网锐捷网络有限公司 Internet protocol (IP) address allocation and sending method, wireless access device, server and system
TWI497967B (en) * 2013-01-31 2015-08-21 Everfocus Electronics Corp Port DHCP server protocol address management method
CN104243153A (en) * 2013-06-07 2014-12-24 华为终端有限公司 Method for spotting equipment user, and user equipment
WO2014194818A1 (en) * 2013-06-07 2014-12-11 华为终端有限公司 Method for discovering user of equipment, and user equipment
CN104243153B (en) * 2013-06-07 2017-11-17 华为终端有限公司 The method and user equipment of a kind of user for discovering device
US9906953B2 (en) 2013-06-07 2018-02-27 Huawei Device (Dongguan) Co., Ltd. Method and user equipment for discovering device user
CN103442450A (en) * 2013-08-21 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Wireless communication method and wireless communication equipment
CN103442450B (en) * 2013-08-21 2017-03-15 宇龙计算机通信科技(深圳)有限公司 Wireless communications method and Wireless Telecom Equipment
CN104683136B (en) * 2013-11-29 2018-02-09 杭州迪普科技股份有限公司 DHCP delay event-handling methods and device
CN104683136A (en) * 2013-11-29 2015-06-03 杭州迪普科技有限公司 DHCP (dynamic host configuration protocol) time delay event processing method and device
WO2017000128A1 (en) * 2015-06-29 2017-01-05 华为技术有限公司 Internet protocol address allocation method and relay device
CN106254571A (en) * 2016-08-05 2016-12-21 杭州华三通信技术有限公司 A kind of client ip address distribution method and device
CN108243263A (en) * 2016-12-26 2018-07-03 中移(苏州)软件技术有限公司 A kind of cut-in method of mobile hotspot device and mobile hotspot device
CN107453945A (en) * 2017-07-14 2017-12-08 上海斐讯数据通信技术有限公司 Because router netting twine disconnects the solution method and system for causing network not connect
CN107370640A (en) * 2017-08-21 2017-11-21 太仓市同维电子有限公司 Automatically control the system and method that network interface card connection AP is tested
CN109802980A (en) * 2017-11-17 2019-05-24 华为技术有限公司 Method for message interaction, relevant apparatus and system
CN107911276A (en) * 2017-12-27 2018-04-13 迈普通信技术股份有限公司 Request responding method, wireless controller, wireless access point and request response system
CN107911276B (en) * 2017-12-27 2020-08-07 迈普通信技术股份有限公司 Request response method, wireless controller, wireless access point and request response system

Also Published As

Publication number Publication date
CN101510902B (en) 2011-12-21

Similar Documents

Publication Publication Date Title
CN101510902B (en) Method, system and equipment for preventing wireless client terminal from disconnection during internet process
US7839771B2 (en) Backhaul failover method and system for a wireless network
JP5115561B2 (en) Wireless communication terminal, method, program, recording medium, and wireless communication system
US7904086B2 (en) Method and computer program for handoff of mobile devices between wireless systems
CN101262505B (en) A method, system and device for establishing ARP table items
US9055430B2 (en) Rapid local address assignment for wireless communication networks
CN104796484B (en) A kind of fast search connection method based on display screen control system
US7694017B2 (en) Communication apparatus, IP address acquisition method and roaming method
US20140301378A1 (en) Method for implementing neighbor discovery protocol in a wlan
CN103118064A (en) Method and device of Portal centralized authentication
CN103905579A (en) Method and system for communication between platform and terminal, platform and relevant devices
CN101453495A (en) Method, system and equipment for preventing authentication address resolution protocol information loss
EP2677689A2 (en) Method, apparatus and system for network device configuration
CN109246762B (en) Local service distribution method and device
CN108306992B (en) Blind starting method of base station, base station and centralized DHCP server
CN105471983A (en) Method and system for establishing internet-of-things communication
WO2008131632A1 (en) Method and apparatus for supporting user terminal to access network in the fixed access network
US7002932B1 (en) Method and system for providing network connectivity and mobility while roaming
CN103036648B (en) A kind of CAPWAP message processing method and device
US20090150975A1 (en) Method and apparatus for providing internet gateway service using plurality of universal plug and play internet gateway devices
CN114189497A (en) Address acquisition method and device and computer-readable storage medium
CN102904761A (en) NVR (network video recorder) stacking method and NVR
CN107211262A (en) Wireless LAN station with the platform that can change WLAN interconnection technique
JP3793193B2 (en) Mobile terminal and mobile terminal control method
CN109068338B (en) System and method for detecting and processing compatibility of three-address wireless distributed system

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address