CN107517283A - A kind of method and device for realizing terminal roaming switching - Google Patents
A kind of method and device for realizing terminal roaming switching Download PDFInfo
- Publication number
- CN107517283A CN107517283A CN201710711857.8A CN201710711857A CN107517283A CN 107517283 A CN107517283 A CN 107517283A CN 201710711857 A CN201710711857 A CN 201710711857A CN 107517283 A CN107517283 A CN 107517283A
- Authority
- CN
- China
- Prior art keywords
- terminal
- address
- roaming
- dhcp
- pond
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004540 process dynamic Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
- H04W8/085—Mobility data transfer involving hierarchical organized mobility servers, e.g. hierarchical mobile IP [HMIP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
A kind of method and device for realizing terminal roaming switching of present invention offer, a kind of method for realizing terminal roaming switching, including:After the unicast DHCP Request messages that receiving terminal is sent, according to configured IP address pond, judge whether the terminal is roaming terminal;DHCP NAK messages are sent to the roaming terminal, so that it sends acquisition request IP address to Dynamic Host Configuration Protocol server again.The roaming switch of terminal unaware is can be achieved in the present invention, and business is not interrupted in roam procedure.
Description
Technical field
The present invention relates to WLAN field, more particularly to a kind of method and device for realizing terminal roaming switching.
Background technology
Increasingly mature with wireless local area network technology, most occasions are provided with wireless access function.In wireless network
In, because the signal cover of single AP (Wireless Access Point, wireless access points) equipment is limited, hand
The wireless terminals such as machine, tablet personal computer often occur from an AP coverage during movement and roam into another AP
The situation of coverage.
Roaming can be divided into two layers of roaming and three layers of roaming, when three layers of roaming occurs for terminal, due to roaming forward-backward correlation
AP belong to different VLAN (Virtual Local Area Network, VLAN), may result in terminal traffic
Interrupt.
The content of the invention
In view of this, the present invention provides a kind of method and device for realizing terminal roaming switching, to solve terminal roaming industry
The problem of business is interrupted.
Specifically, the present invention is achieved through the following technical solutions:
A kind of method for realizing terminal roaming switching, this method are applied on access device, including:
The unicast DHCP that receiving terminal is sent (match somebody with somebody by Dynamic Host Configuration Protocol, DynamicHost
Put agreement) after Request messages, according to configured IP address pond, judge whether the terminal is roaming terminal;
If the terminal is roaming terminal, DHCP NAK messages are sent, so that the roaming terminal is with reacquiring IP
Location.
A kind of device for realizing terminal roaming switching, the device are applied on access device, including:
Judge module, for receiving terminal send unicast DHCP Request messages after, according to configured IP address
Pond, judge whether the terminal is roaming terminal;
Sending module, for sending DHCP NAK messages to the roaming terminal, so that the roaming terminal reacquires
IP address.
In above-mentioned technical proposal, configured IP address pond whether is hit according to the IP address of terminal, whether judges terminal
For roaming terminal.If roaming terminal, then DHCP NAK messages are sent to roaming terminal, with informing the current IP of roaming terminal
Location is unavailable.After roaming terminal receives the message, the new IP address of acquisition request is sent to Dynamic Host Configuration Protocol server again.This hair
The roaming switch of bright achievable terminal unaware, business is not interrupted in roam procedure.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram for realizing terminal roaming switching of the embodiment of the present invention;
Fig. 2 is the schematic diagram of terminal roaming process of the embodiment of the present invention;
Fig. 3 is a kind of hardware structure diagram of network access equipment shown in the embodiment of the present invention;
Fig. 4 is a kind of structural representation for the device for realizing terminal roaming switching of the embodiment of the present invention.
Embodiment
To solve the problems, such as service disconnection during terminal roaming, three layers of roaming broker mode can be used, are overflow under which
The IP address of terminal can be constant after trip, but terminal send and receive message all need to via first access network AC (Wireless
Access Point Controller, wireless controller) and roaming place AC, forward and the ability of processing message is all limited to AC.
In addition, message still carries former VLAN information in repeating process, to realize that business is not interrupted, then change upper strata is needed to set
Standby configuration, when upper layer device is more, it is configured one by one just becomes extremely complex.And message forwards in travelling across VLAN
During can cause the leakage of former vlan information, reduce internet security.
In order to preferably solve the problems, such as service disconnection during terminal roaming, the embodiments of the invention provide one kind to realize
The method of terminal roaming switching, this method may comprise steps of:
After the unicast DHCP Request messages that receiving terminal is sent, according to configured IP address pond, the end is judged
Whether end is roaming terminal;
If the terminal is roaming terminal, DHCP NAK messages are sent, so that the roaming terminal is with reacquiring IP
Location.
Wherein, the executive agent of above-mentioned steps is access device, and the access device can be wireless aps, interchanger or road
By device or other network equipments, it is not limited thereto.
In the above-mentioned methods, whether access device hits configured IP address pond according to the IP address of terminal, judges end
Whether end is roaming terminal.If roaming terminal, then DHCP NAK messages are sent to roaming terminal, inform that roaming terminal is current
IP address it is unavailable.After roaming terminal receives the message, again to Dynamic Host Configuration Protocol server with sending the new IP of acquisition request
Location, so far can realize the roaming switch of terminal unaware, and business is not interrupted in roam procedure.
In order that those skilled in the art are better understood when the technical scheme in the present invention, below in conjunction with of the invention real
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described implementation
Example is only the part of the embodiment of the present invention, rather than whole embodiments.It is common based on the embodiment in the present invention, this area
All other embodiment that technical staff is obtained, should all belong to the scope of protection of the invention.
Fig. 1 show a kind of implementing procedure figure for realizing terminal roaming switching method of the present invention, and it includes following basic step
Suddenly:
S101, receiving terminal send unicast DHCP Request messages after, according to configured IP address pond, judge institute
State whether terminal is roaming terminal;
Scheme according to embodiments of the present invention, in this step, user can be carried out first to the IP address pond of Dynamic Host Configuration Protocol server
Configuration, the Dynamic Host Configuration Protocol server can be an independent server, can also be integrated in access device or other network equipments
In.
When Dynamic Host Configuration Protocol server is responsible for multiple VLAN distribution IP address, user can be respectively each VLAN configuration of IP
Location pond.After the completion of being configured in IP address pond, IP address pond can be handed down to corresponding VLAN access devices by Dynamic Host Configuration Protocol server.One
As for, can be the IP address pond that different VLAN configure different segment, the problem of causing IP address conflict to prevent terminal roaming.
Certainly, in actual applications, Dynamic Host Configuration Protocol server be with can also determining IP corresponding to each VLAN according to predetermined rule
Location pond, configured one by one without user, the present embodiment is not particularly limited to this.
The example of table 1 is refer to, Dynamic Host Configuration Protocol server is the IP address pond of different VLAN distribution.
VLAN | IP address pond |
VLAN10 | 192.168.10.0~192.168.10.50 |
VLAN20 | 192.168.20.0~192.168.20.50 |
Table 1
As illustrated in fig. 2, it is assumed that terminal accesses network first in VLAN10, terminal can be to for the schematic diagram of terminal roaming process
Dynamic Host Configuration Protocol server IP address requesting, after Dynamic Host Configuration Protocol server receives the request of terminal, according to IP of the above-mentioned configuration based on VLAN10
Location pond is one IP address of terminal distribution, and the IP address for such as distributing to terminal is 192.168.10.0.
In the present embodiment, Dynamic Host Configuration Protocol server generally has a lease time limit to the IP address of terminal distribution, according to DHCP protocol,
Terminal such as can may use the time of this IP address of 192.168.10.0 to reach 1/2 or 3/4 and rent in special time in terminal
During the phase, unicast DHCP Request messages are sent, to ask to renew a contract.Wherein, the source IP address of the message is the IP address of terminal
192.168.10.0。
In the present embodiment, the unicast DHCP Request messages that each VLAN access devices receive may be by first at this
The terminal that network is accessed under VLAN is sent, it is also possible to is sent by roaming into the terminal under the VLAN.Access device can basis
The source IP address of DHCP Request messages is judged.
In the present embodiment, whether access device can hit DHCP according to the source IP address of unicast DHCP Request messages
The IP address pond that server issues, whether the terminal to determine to send unicast DHCP Request messages is roaming terminal.If source
The IP address pond that IP address hit Dynamic Host Configuration Protocol server issues, it is determined that terminal is non-roaming terminal;It is if miss, it is determined that terminal
For roaming terminal.
Please continue to refer to Fig. 2, it is assumed that terminal roams into VLAN20 by VLAN10, and VLAN20 access device is receiving this
After the unicast DHCP Request messages that terminal is sent, the source IP address of the DHCP Request messages is 192.168.10.0,
The IP address pond that miss Dynamic Host Configuration Protocol server issues, it is roaming terminal that can then determine the terminal.
After whether it is roaming terminal that access device determines terminal, for non-roaming terminal, access device can be by DHCP
Request messages are transmitted to Dynamic Host Configuration Protocol server and handled;And for roaming terminal, step 102 can be continued executing with.
S102, if the terminal is roaming terminal, DHCP NAK messages are sent, so that the roaming terminal reacquires
IP address;
After roaming terminal is determined according to the above method, access device can simulate Dynamic Host Configuration Protocol server and be sent to roaming terminal
DHCP NAK messages, inform that its existing IP address of terminal is unavailable.Wherein, the source MAC of above-mentioned DHCP NAK messages and
Source IP address is the MAC Address and IP address of the roaming place access device respectively, and target MAC (Media Access Control) address is broadcast address, purpose IP
Address is broadcast address 255.255.255.255.
After roaming terminal receives the DHCP NAK messages, DHCP Discovery reports can be sent to Dynamic Host Configuration Protocol server again
The new IP address of literary acquisition request, can be based on VLAN20's after Dynamic Host Configuration Protocol server receives above-mentioned DHCP Discovery messages
IP address pond is one IP address of terminal distribution.The terminal is after newly assigned IP address is received, you can using newly assigned
IP address carries out network service, so as to become the unaware for for VLAN20 local terminal, so far realizing terminal by roaming terminal
Roaming switch.
It is worth noting that, the target MAC (Media Access Control) address of the DHCP NAK messages is broadcast address, all terminals under VLAN20
The DHCP NAK messages can be received, but because the terminal for not sending unicast DHCP Request messages will not handle this
DHCP NAK messages, so the problem of large quantities of terminals will not be caused to reacquire IP address.
A kind of method for realizing terminal roaming switching that the embodiment of the present invention is provided, access device is according to transmission unicast
The IP address pond that the miss Dynamic Host Configuration Protocol server of IP address of the terminal of DHCP Request messages issues, determine terminal for roaming eventually
Behind end, DHCP NAK messages are sent to roaming terminal, informs that the existing IP address of terminal is unavailable, makes roaming terminal again to DHCP
Server sends the new IP address of acquisition request.So far the unaware roaming switch of terminal is realized.Compared with prior art, at least
With following advantage:
First, using the implementation of the present invention, reacquire after terminal roaming to new IP address access network, message
In do not carry the vlan information of VLAN before roaming, therefore the leakage of former vlan information will not be caused, ensure that the security of network.
Secondly, using the present invention implementation, access device it is determined that terminal be roaming terminal after, simulate DHCP service
Device issues DHCP NAK messages, so that terminal reacquires IP address, terminal is changed into local terminal from roaming terminal, therefore is not required to
Change the configuration of the upper layer devices such as AC, message can be forwarded normally, and forwarding performance is no longer limited by AC.
Corresponding with a kind of foregoing embodiment for the method for realizing terminal roaming switching, present invention also offers one kind to realize
The embodiment of the device of terminal roaming switching.
A kind of device for realizing terminal roaming switching of the present invention can be applied on access device.Device embodiment can lead to
Software realization is crossed, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, as a logic
Device in meaning, it is to be referred to corresponding computer program in nonvolatile memory by the processor of access device where it
Order reads what operation in internal memory was formed.For hardware view, as shown in figure 3, realizing terminal roaming switching for the present invention
A kind of hardware structure diagram of access device where device, except the processor shown in Fig. 3, internal memory, network outgoing interface and it is non-easily
Outside the property lost memory, access device in embodiment where device, can be with generally according to the actual functional capability of the access device
Including other hardware, this is repeated no more.
Fig. 4 is refer to, a kind of module map of the device for realizing terminal roaming switching provided for one embodiment of the invention should
Device can include:
Judge module 410, for receiving terminal send unicast DHCP Request messages after, according to configured IP
Location pond, judge whether the terminal is roaming terminal;
Sending module 420, for sending DHCP NAK messages to the roaming terminal, so that the roaming terminal obtains again
Take IP address.
In a kind of embodiment of the present invention, the judge module 410, it is specifically used for:
Judge whether the source IP address of the DHCP Request messages hits the configured IP address pond;
If hit, it is determined that the terminal is non-roaming terminal;
It is if miss, it is determined that the terminal is roaming terminal.
In a kind of embodiment of the present invention, the source MAC and source IP address point of the DHCP NAK messages
Be not terminal roaming access device MAC Address and IP address, target MAC (Media Access Control) address is broadcast address, and purpose IP address is wide
Broadcast address 255.255.255.255.
In a kind of embodiment of the present invention, the IP address pond is identical with the IP address pond of Dynamic Host Configuration Protocol server,
Issued by Dynamic Host Configuration Protocol server.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.
Claims (8)
1. a kind of method for realizing terminal roaming switching, this method is with access device, it is characterised in that including:
After the unicast DHCP Request messages that receiving terminal is sent, according to configured IP address pond, judge that the terminal is
No is roaming terminal;
If the terminal is roaming terminal, DHCP NAK messages are sent, so that the roaming terminal reacquires IP address.
2. according to the method for claim 1, it is characterised in that it is described according to configured IP address pond, judge the end
Whether end is roaming terminal, including:
Judge whether the source IP address of the DHCP Request messages hits the configured IP address pond;
If hit, it is determined that the terminal is non-roaming terminal;
It is if miss, it is determined that the terminal is roaming terminal.
3. according to the method for claim 1, it is characterised in that the source MAC of the DHCP NAK messages and source IP
Location is the MAC Address and IP address of access device, and target MAC (Media Access Control) address and purpose IP address are broadcast addresses.
4. according to the method for claim 1, it is characterised in that the IP address pond phase of the IP address pond and Dynamic Host Configuration Protocol server
Together, issued by the Dynamic Host Configuration Protocol server.
5. a kind of device for realizing terminal roaming switching, the device is with access device, it is characterised in that including:
Judge module, for receiving terminal send unicast DHCP Request messages after, according to configured IP address pond, sentence
Whether the terminal of breaking is roaming terminal;
Sending module, for sending DHCP NAK messages to the roaming terminal, so that the roaming terminal is with reacquiring IP
Location.
6. device according to claim 5, it is characterised in that the judge module, be specifically used for:
Judge whether the source IP address of the DHCP Request messages hits the configured IP address pond;
If hit, it is determined that the terminal is non-roaming terminal;
It is if miss, it is determined that the terminal is roaming terminal.
7. device according to claim 5, it is characterised in that the source MAC of the DHCP NAK messages and source IP
Location is the MAC Address and IP address of access device, and target MAC (Media Access Control) address and purpose IP address are broadcast addresses.
8. device according to claim 5, it is characterised in that the IP address pond phase of the IP address pond and Dynamic Host Configuration Protocol server
Together, issued by the Dynamic Host Configuration Protocol server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710711857.8A CN107517283A (en) | 2017-08-18 | 2017-08-18 | A kind of method and device for realizing terminal roaming switching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710711857.8A CN107517283A (en) | 2017-08-18 | 2017-08-18 | A kind of method and device for realizing terminal roaming switching |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107517283A true CN107517283A (en) | 2017-12-26 |
Family
ID=60722156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710711857.8A Pending CN107517283A (en) | 2017-08-18 | 2017-08-18 | A kind of method and device for realizing terminal roaming switching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107517283A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473576A (en) * | 2020-03-31 | 2021-10-01 | 深圳市万普拉斯科技有限公司 | Roaming networking processing method and device, mobile terminal and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103491528A (en) * | 2013-09-18 | 2014-01-01 | 福建星网锐捷网络有限公司 | Table entry processing method and device |
US20140126561A1 (en) * | 2012-11-07 | 2014-05-08 | Cisco Technology, Inc. | Work group bridge nomadic roaming |
CN105813055A (en) * | 2014-12-30 | 2016-07-27 | 华为技术有限公司 | Roaming method based on IP and roaming device |
CN106255089A (en) * | 2016-08-26 | 2016-12-21 | 杭州迪普科技有限公司 | A kind of method and apparatus of radio three layer roaming |
-
2017
- 2017-08-18 CN CN201710711857.8A patent/CN107517283A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140126561A1 (en) * | 2012-11-07 | 2014-05-08 | Cisco Technology, Inc. | Work group bridge nomadic roaming |
US9491001B2 (en) * | 2012-11-07 | 2016-11-08 | Cisco Technology, Inc. | Work group bridge nomadic roaming |
CN103491528A (en) * | 2013-09-18 | 2014-01-01 | 福建星网锐捷网络有限公司 | Table entry processing method and device |
CN105813055A (en) * | 2014-12-30 | 2016-07-27 | 华为技术有限公司 | Roaming method based on IP and roaming device |
CN106255089A (en) * | 2016-08-26 | 2016-12-21 | 杭州迪普科技有限公司 | A kind of method and apparatus of radio three layer roaming |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473576A (en) * | 2020-03-31 | 2021-10-01 | 深圳市万普拉斯科技有限公司 | Roaming networking processing method and device, mobile terminal and readable storage medium |
WO2021197375A1 (en) * | 2020-03-31 | 2021-10-07 | 深圳市万普拉斯科技有限公司 | Roaming networking processing method, apparatus, mobile terminal and readable storage medium |
CN113473576B (en) * | 2020-03-31 | 2023-04-07 | 深圳市万普拉斯科技有限公司 | Roaming network processing method, device, mobile terminal and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10700892B2 (en) | Predictive roaming between subnets | |
US7835324B2 (en) | Resource optimization in a wireless IP network | |
US7177952B1 (en) | Method and system for switching between two network access technologies without interrupting active network applications | |
KR20210031947A (en) | Radio access network information processing method and apparatus, network element and storage medium | |
US11233694B2 (en) | Method and device for processing communication path | |
EP1793538A2 (en) | Seamless mobility in layer 2 radio access networks | |
KR20180017120A (en) | SDN Security | |
CN106255089B (en) | A kind of method and apparatus of radio three layer roaming | |
CN108737271A (en) | A kind of packet routing method, apparatus and system | |
CN105142189B (en) | The roam control method and device of website | |
CN106412996A (en) | Message forwarding method and device | |
CN106101297B (en) | A kind of message answer method and device | |
CN102986192A (en) | System and method for providing mobility with a split home agent architecture | |
CN107659930A (en) | A kind of AP connection control methods and device | |
CN107517283A (en) | A kind of method and device for realizing terminal roaming switching | |
CN101047996B (en) | Method, system for acquiring target network transmission address information and its application | |
KR101300040B1 (en) | Mobility Management System and Method for Distributed Mobility Management Network | |
CN104717216A (en) | Network access control method, device and core equipment | |
CN108737277A (en) | A kind of message forwarding method and device | |
CN110049523B (en) | Access control method, access point connection method, access control device, access point connection device and electronic equipment | |
EP2148492A1 (en) | Apparatus and method for setting IP addresses in a mobile communication system | |
EP2568715B1 (en) | Mobile node, care of address acquisition method and system thereof, and dhcp server | |
CN107454638A (en) | The sending method and device of message, computer-readable recording medium | |
EP3200433A1 (en) | Ipv6 address management method, device and terminal | |
Hashim et al. | Throughput and handover latency evaluation for multicast proxy mobile IPV6 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171226 |
|
RJ01 | Rejection of invention patent application after publication |