CN101662808A - Method for quickly switching network layers of IEEE802.11 wireless local area network - Google Patents

Method for quickly switching network layers of IEEE802.11 wireless local area network Download PDF

Info

Publication number
CN101662808A
CN101662808A CN200910194640A CN200910194640A CN101662808A CN 101662808 A CN101662808 A CN 101662808A CN 200910194640 A CN200910194640 A CN 200910194640A CN 200910194640 A CN200910194640 A CN 200910194640A CN 101662808 A CN101662808 A CN 101662808A
Authority
CN
China
Prior art keywords
temporary
dhcp
subnet
network layer
candidate
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
CN200910194640A
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.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN200910194640A priority Critical patent/CN101662808A/en
Publication of CN101662808A publication Critical patent/CN101662808A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for quickly switching network layers of an IEEE802.11 wireless local area network, which comprises the following steps: finding a sub-network; obtaining a temporary IP; updating an SIP conversation; obtaining a DHCP address; before obtaining a novel IP, completing all communications by a mobile section (MS) through the temporary IP, thus ensuring seamless switching; after obtaining the novel IP by the MS through the DHCP, registering the self novel IP to the SIP for local agency, updating the SIP conversation and informing sections communicated with the SIP conversation of the novel IP simultaneously; and deleting the temporary IP, finishing switching and completing the subsequent conversation by the MS through the novel IP. The invention solves the problems of larger switching time delay and no adaptation to the development of real-time application of the prior IEEE802.11 network layers, overcomes the defect that other quick switching methods need tochange the prior network system structure, only needs to modify a client end program and realizes the simple and quick switching of the network layers by quickly obtaining the temporary IP.

Description

IEEE802.11 wireless lan network layer fast switching method
Technical field
What the present invention relates to is a kind of changing method of communication technical field, particularly a kind of IEEE802.11 wireless lan network layer fast switching method.
Background technology
In the IEEE802.11 WLAN (wireless local area network), a plurality of access points (AP) may be in same subnet also may be in different sub-network.The Basic Service Set (BSS) that covers from AP when portable terminal (MS) moves to the BSS of another AP and causes when switching, and does not have a kind of new in order to survey, old two AP of method of standard whether to be in same subnet section.If be in same subnet before and after switching, switch as long as finish the MAC layer so; If enter another subnet after switching, MS also will finish complicated more network layer switching except the MAC layer switches so.In the network layer changing method of existing standard, MS need obtain new IP by DHCP (DHCP), and this process often causes a second level time-delay, the interruption of ongoing real time communication when causing switching.Therefore shorten the network layer handoff delay for realizing that in IEEE802.11 real time communication has very big meaning.
Find by prior art documents, the author is W.Lee, M.Kim, K.Lee, C.Yu, " Link layer sssisted mobility support using SIP for real-time multimediacommunications " In MobiWac 04:Proceedings of the second internationalworkshop on Mobility management ﹠amp of B.Lee; Wireless accessprotocols, pages127-129, New York, NY, USA, 2004.ACM Press (based on SIP for implementing the link layer mobility support that multimedia communication provides) in propose before switching, just to obtain and preserve new subnet IP, and switch at link layer and to use new IP to upgrade conversation initialized protocol (SIP) session before taking place, thereby shorten the network layer handoff delay.The DHCP agreement and the network architecture that but this method need change is existing, be widely used are used so be difficult in the real network large-scale promotion in a short time.The author is A.Mcauley's " Dynamic Registration and Configuration Protocol (DRCP) " Internetdraft, Internet Engineering Task Force, among the July 2000 (dynamic registration and configuration protocol), propose to use a kind of new agreement DRCP to replace existing DHCP, this agreement makes the IP address acquisition time in the network layer switching shorten to the hundreds of millisecond.But the time-delay of hundreds of millisecond still can cause the interruption of real-time application, and this method also must upgrade all devices in the network to support New Deal, does not have practical significance in a short time.
Summary of the invention
The objective of the invention is to overcome deficiency of the prior art, a kind of IEEE802.11 wireless lan network layer fast switching method is provided.It is bigger to the invention solves existing IEEE802.11 network layer handoff delay, be unsuitable for the problem of development of real-time application, overcome the shortcoming that other network layer fast switch over method need change the existing network architecture, only need revise client-side program, by obtaining temporary IP fast, realization simply, network layer is switched fast.
When the MS of the present invention in the IEEE802.11 WLAN (wireless local area network) switches, utilize invalid DHCP request initiatively to judge whether to enter a new subnet, and utilize the ARP signaling to obtain temporary IP fast.Mobile node uses temporary IP to continue to finish ongoing session when switching when waiting for that Dynamic Host Configuration Protocol server distributes new IP, switches the communication break time of causing thereby shorten largely.
The present invention is achieved by the following technical solutions:
The present invention includes following steps:
Comprise the steps:
The first step: subnet guessing, after portable terminal moves to new BSS, for whether subnet under confirming changes, MS sends an invalid DHCP request (DHCP_REQUEST) and gives Dynamic Host Configuration Protocol server, and Dynamic Host Configuration Protocol server will return DHCP null response (DHCP_NACK); MS judges by the subnet identification field of analyzing in the DHCP null response whether switch front and back is in same subnet; If subnet of living in does not change, then handoff procedure finishes, otherwise the beginning network layer is switched;
Second step: obtain temporary IP, at first select 10 candidate's temporary IP; The parallel ARP of transmission asks to these 10 candidate's temporary IP; Select one of them as temporary IP according to the arp reply situation;
The 3rd step: upgrade the SIP session, after MS obtains temporary IP, send to nodes in communication with it at once and rebulid connection request (re-INVITE), the change of self IP of announcement; The other side replys and rebulids connection response (OK) afterwards, and both sides just can proceed communication;
The 4th step: dhcp address obtains, and MS distributes a new IP to the Dynamic Host Configuration Protocol server request when using temporary IP to continue communication; Before obtaining new IP, MS uses temporary IP to finish all communications, thereby guarantees seamless switching;
The 5th step: the new IP with oneself after MS obtains new IP by DHCP is registered to the SIP local agent, upgrades the SIP session, simultaneously new IP is notified to the node that communicates with; The deletion temporary IP, finishing switching, MS uses new IP to finish later session.
The present invention has used the temporary IP technology, has shortened IEEE802.11 wireless lan network layer handoff delay largely, has guaranteed the continuity of session, has the following advantages:
1. reduce the network layer handoff delay largely, original level time-delay second is shortened to about 200ms.
2. do not change the network architecture, need not to increase hardware device, only need to revise the program of client.
Description of drawings
Fig. 1 specific embodiment network topology schematic diagram;
Signaling process in Fig. 2 this method.
Embodiment
Provide specific embodiment below.
Below in conjunction with accompanying drawing embodiments of the invention are elaborated: present embodiment has provided detailed execution mode and process being to implement under the prerequisite with the technical solution of the present invention, but protection scope of the present invention is not limited to following embodiment.
The equipment that uses in the present embodiment comprises: two AP that insert different sub-network, the communication terminal of a static state (CS), a MS.MS moves to AP2 from the zone that AP1 covers when carrying out real time communication with CS, and the trigger network layer switches, as shown in Figure 1.
Comprise the steps:
The first step: subnet guessing.
Described subnet guessing, be after portable terminal moves to new BSS, for whether subnet under confirming changes, MS sends an invalid DHCP request (DHCP_REQUEST) and gives Dynamic Host Configuration Protocol server, and Dynamic Host Configuration Protocol server will return DHCP null response (DHCP_NACK); MS judges by the subnet identification field of analyzing in the DHCP null response whether switch front and back is in same subnet; If subnet of living in does not change, then handoff procedure finishes, otherwise the switching of beginning network layer, as shown in Figure 2.
Described invalid DHCP request is the DHCP request of application winding IP127.0.0.1, because winding IP127.0.0.1 is unavailable in outer net, therefore is invalid DHCP request.
Subnet identification field in the described DHCP null response is the IP address of the dhcp relay agent of the current subnet of living in of MS that comprises in this packet, with the sign of this IP as current sub network.
Described judgement is switched front and back and whether is in same subnet, is the subnet sign before and after MS relatively switches, and both identical then judgements are switched front and back and are in same subnet, otherwise judges that switching front and back is in different sub-network.
Second step: obtain temporary IP.
Described temporary IP is at first to select 10 candidate's temporary IP; The parallel ARP of transmission asks to these 10 candidate's temporary IP; Select one of them as temporary IP, as shown in Figure 2 according to the arp reply situation.
Described candidate's temporary IP, be from the legal IP of subnet, to select an IP at random, continuous 10 IP that begin from this IP as candidate's temporary IP, a kind of special circumstances in obtaining candidate's temporary IP process are, thereby MS once was the IP that a member in the current sub network has current sub network, so this IP also as one of candidate's temporary IP, the reason of doing like this is that the DHCP agreement is tended to a MS once used IP in this subnet is distributed to it once more.
Describedly select one of them as temporary IP according to the arp reply situation, be the IP that other MS uses in being judged to be those candidate's temporary IP of not making response in the arp reply time-out time not by subnet, so therefrom one of random choose as temporary IP.
Described arp reply time-out time is ARP request in the worst case and 90 percent of the blanking time of arp reply, and the time-out time of arp reply is 130ms.
The 3rd step: upgrade the SIP session.
Described renewal SIP session is after MS obtains temporary IP, sends to nodes in communication with it at once and rebulids connection request (re-INVITE), the change of self IP of announcement; The other side replys and rebulids connection response (OK) afterwards, and both sides just can proceed communication, as shown in Figure 2.
The 4th step: dhcp address obtains.
Described dhcp address obtains, and is that MS is when using temporary IP to continue communication, to new IP of Dynamic Host Configuration Protocol server request distribution; Before obtaining new IP, MS uses temporary IP to finish all communications, thereby guarantees seamless switching, as shown in Figure 2.
Described to new IP of Dynamic Host Configuration Protocol server request distribution, be that MS sends DHCP discovery bag (DHCP_DISCOVER) to Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server sends DHCP to MS bag (DHCP_OFFER) is provided, MS sends DHCP request package (DHCP_REQUEST) to Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server sends dhcp response bag (DHCP_ACK) to MS, as shown in Figure 2.
The 5th step: the new IP with oneself after MS obtains new IP by DHCP is registered to the SIP local agent, upgrades the SIP session, simultaneously new IP is notified to the node that communicates with; The deletion temporary IP, finishing switching, MS uses new IP to finish later session, as shown in Figure 2.
The described SIP local agent that is registered to is that MS sends SIP registration packet (REGISTER) and receives sip response (OK) to the SIP local agent, as shown in Figure 2.
In this implementation process, the MS that the network layer switching causes is 200ms with the break time of communicating by letter of CS, and delays time far below level second that the general network layer switches.

Claims (10)

1, a kind of IEEE802.11 wireless lan network layer fast switching method is characterized in that, comprises the steps:
The first step: subnet guessing, after portable terminal moved to new BSS, for whether subnet under confirming changes, MS sent an invalid DHCP and asks to Dynamic Host Configuration Protocol server, and Dynamic Host Configuration Protocol server will return the DHCP null response; MS judges by the subnet identification field of analyzing in the DHCP null response whether switch front and back is in same subnet; If subnet of living in does not change, then handoff procedure finishes, otherwise the beginning network layer is switched;
Second step: obtain temporary IP, at first select 10 candidate's temporary IP; The parallel ARP of transmission asks to these 10 candidate's temporary IP; Select one of them as temporary IP according to the arp reply situation;
The 3rd step: upgrade the SIP session, after MS obtains temporary IP, send to nodes in communication with it at once and rebulid connection request, the change of self IP of announcement; The other side replys and rebulids after the connection response, and both sides just can proceed communication;
The 4th step: dhcp address obtains, and MS distributes a new IP to the Dynamic Host Configuration Protocol server request when using temporary IP to continue communication; Before obtaining new IP, MS uses temporary IP to finish all communications, thereby guarantees seamless switching;
The 5th step: the new IP with oneself after MS obtains new IP by DHCP is registered to the SIP local agent, upgrades the SIP session, simultaneously new IP is notified to the node that communicates with; The deletion temporary IP, finishing switching, MS uses new IP to finish later session.
2, IEEE802.11 wireless lan network layer fast switching method according to claim 1 is characterized in that, described invalid DHCP request is the DHCP request of application winding IP127.0.0.1.
3, IEEE802.11 wireless lan network layer fast switching method according to claim 1, it is characterized in that, subnet identification field in the described DHCP null response, be the IP address of the dhcp relay agent of the current subnet of living in of MS that comprises in this packet, with the sign of this IP as current sub network.
4, IEEE802.11 wireless lan network layer fast switching method according to claim 1, it is characterized in that, before and after switching, described judgement whether is in same subnet, it is the subnet sign before and after MS relatively switches, both are identical to judge that then switching front and back is in same subnet, otherwise is in different sub-network before and after judging switching.
5, IEEE802.11 wireless lan network layer fast switching method according to claim 1 is characterized in that, described temporary IP is at first to select 10 candidate's temporary IP; The parallel ARP of transmission asks to these 10 candidate's temporary IP; Select one of them as temporary IP according to the arp reply situation.
6, IEEE802.11 wireless lan network layer fast switching method according to claim 1, it is characterized in that, described candidate's temporary IP, be from the legal IP of subnet, to select an IP at random, continuous 10 IP that begin from this IP as candidate's temporary IP, a kind of special circumstances in obtaining candidate's temporary IP process are, thereby MS once was the IP that a member in the current sub network has current sub network, so this IP also as one of candidate's temporary IP.
7, IEEE802.11 wireless lan network layer fast switching method according to claim 1, it is characterized in that, describedly select one of them as temporary IP according to the arp reply situation, be the IP that other MS uses in being judged to be those candidate's temporary IP of not making response in the arp reply time-out time not by subnet, so therefrom one of random choose as temporary IP.
8, IEEE802.11 wireless lan network layer fast switching method according to claim 7, it is characterized in that, described arp reply time-out time is ARP request in the worst case and 90 percent of the blanking time of arp reply, and the time-out time of arp reply is 130ms.
9, IEEE802.11 wireless lan network layer fast switching method according to claim 1, it is characterized in that, described to new IP of Dynamic Host Configuration Protocol server request distribution, be that MS sends DHCP discovery bag to Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server sends DHCP to MS bag is provided, MS sends the DHCP request package to Dynamic Host Configuration Protocol server, and Dynamic Host Configuration Protocol server sends the dhcp response bag to MS.
10, IEEE802.11 wireless lan network layer fast switching method according to claim 1 is characterized in that, the described SIP local agent that is registered to is that MS sends the SIP registration packet and receives sip response to the SIP local agent.
CN200910194640A 2009-08-27 2009-08-27 Method for quickly switching network layers of IEEE802.11 wireless local area network Pending CN101662808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910194640A CN101662808A (en) 2009-08-27 2009-08-27 Method for quickly switching network layers of IEEE802.11 wireless local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910194640A CN101662808A (en) 2009-08-27 2009-08-27 Method for quickly switching network layers of IEEE802.11 wireless local area network

Publications (1)

Publication Number Publication Date
CN101662808A true CN101662808A (en) 2010-03-03

Family

ID=41790493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910194640A Pending CN101662808A (en) 2009-08-27 2009-08-27 Method for quickly switching network layers of IEEE802.11 wireless local area network

Country Status (1)

Country Link
CN (1) CN101662808A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611587A (en) * 2015-09-22 2016-05-25 镇江锐捷信息科技有限公司 Wireless network seamless switching method using virtual IP
CN105873147A (en) * 2016-06-13 2016-08-17 珠海市魅族科技有限公司 Communication method, communication device, access point and website of wireless local area network
CN107484223A (en) * 2017-08-23 2017-12-15 杭州迪普科技股份有限公司 A kind of method and device of terminal roaming switching
CN108268300A (en) * 2016-12-30 2018-07-10 中移(苏州)软件技术有限公司 The moving method and device of a kind of virtual machine
CN108093091B (en) * 2016-11-22 2021-06-08 华为数字技术(苏州)有限公司 Method for acquiring additional information of host and proxy equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611587A (en) * 2015-09-22 2016-05-25 镇江锐捷信息科技有限公司 Wireless network seamless switching method using virtual IP
CN105873147A (en) * 2016-06-13 2016-08-17 珠海市魅族科技有限公司 Communication method, communication device, access point and website of wireless local area network
CN105873147B (en) * 2016-06-13 2019-03-22 珠海市魅族科技有限公司 Communication means, communication device, access point and the website of WLAN
CN108093091B (en) * 2016-11-22 2021-06-08 华为数字技术(苏州)有限公司 Method for acquiring additional information of host and proxy equipment
CN108268300A (en) * 2016-12-30 2018-07-10 中移(苏州)软件技术有限公司 The moving method and device of a kind of virtual machine
CN108268300B (en) * 2016-12-30 2022-01-25 中移(苏州)软件技术有限公司 Virtual machine migration method and device
CN107484223A (en) * 2017-08-23 2017-12-15 杭州迪普科技股份有限公司 A kind of method and device of terminal roaming switching
CN107484223B (en) * 2017-08-23 2020-08-04 杭州迪普科技股份有限公司 Method and device for terminal roaming switching

Similar Documents

Publication Publication Date Title
US7450544B2 (en) Apparatus and method for supporting mobility between subnetworks of mobile node in wireless LAN
CN111918360B (en) Processing method, terminal and network element
JP5538536B2 (en) Roaming method for mobile terminal in WLAN, associated access controller, and access point device
US7301923B2 (en) Method and apparatus for facilitating handoffs in a wireless communication network
CN101640943B (en) Method for switching network layers in wireless local area network and corresponding wireless access point equipment
US7356002B2 (en) Method for reserving a new care of address (CoA) in advance to achieve a fast handover under a mobile internet protocol version 6 (IPV6) environment
US20080080462A1 (en) Method and computer program for handoff of mobile devices between wireless systems
CN112187495B (en) Communication method and communication system for terminal and server
CN101208979A (en) A method of establishing link for handover by a multi-mode mobile terminal
CN101662808A (en) Method for quickly switching network layers of IEEE802.11 wireless local area network
MX2007012502A (en) A method of reconfiguring an internet protocol address in handover between heterogeneous networks.
US20070076661A1 (en) Method of performing handoffs in wireless local area networks
Forte et al. Improving layer 3 handoff delay in IEEE 802.11 wireless networks
CN1968252B (en) Media-independent link switching method
CN101420345A (en) Detection device and method for proxy mobile IP access and departure under WLAN
US20090147752A1 (en) Method, apparatus and system for assigning internet protocol address in communication system based on media independent handover
KR100922581B1 (en) Method and apparatus for supporting seamless handover using multiple wireless interface in mobile terminal
US20070086385A1 (en) Method and apparatus for supporting handover in transport layer
KR20130037034A (en) Mobility management system and method for distributed mobility management network
KR101248954B1 (en) Multicast support method for distributed mobility management network
Feroz et al. SHIM6 Assisted Mobility Scheme, an intelligent approach
US9763083B2 (en) Method and apparatus for managing mobility of terminal in communication system
KR20040054944A (en) Source PDSN IP Address Transmission Method For Dormant Handoff In Packet Data Service Network
KR100931383B1 (en) Handover Method and Terminal Registration Method in IP-based Mobile Communication System
TWI240513B (en) Method for utilizing deployment information of service domain to perform fast domain handoffs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100303