CN107484223A - A kind of method and device of terminal roaming switching - Google Patents

A kind of method and device of terminal roaming switching Download PDF

Info

Publication number
CN107484223A
CN107484223A CN201710728845.6A CN201710728845A CN107484223A CN 107484223 A CN107484223 A CN 107484223A CN 201710728845 A CN201710728845 A CN 201710728845A CN 107484223 A CN107484223 A CN 107484223A
Authority
CN
China
Prior art keywords
terminal
roaming
frame
association
sent
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
CN201710728845.6A
Other languages
Chinese (zh)
Other versions
CN107484223B (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.)
Hangzhou DPtech Information Technology Co Ltd
Original Assignee
Hangzhou DPTech 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 DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201710728845.6A priority Critical patent/CN107484223B/en
Publication of CN107484223A publication Critical patent/CN107484223A/en
Application granted granted Critical
Publication of CN107484223B publication Critical patent/CN107484223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The application provides a kind of method and device of terminal roaming switching, a kind of method of terminal roaming switching, and this method is applied on AP, it is characterised in that including:The claim frame that receiving terminal is sent;Judge whether the terminal is roaming terminal according to the type of the claim frame;If the terminal is roaming terminal, Disassociation frames are sent, to release the association with the roaming terminal, make the roaming terminal re-accessing network.The roaming switch of terminal unaware is can be achieved in the present invention, and terminal traffic is not interrupted in roam procedure.

Description

A kind of method and device of terminal roaming switching
Technical field
The application is related to WLAN field, more particularly to a kind of method and device of 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.
For most terminals, three layers of roaming are occurring, may not be actively again to DHCP when associating new AP (Dynamic Host Configuration Protocol, DHCP) new IP of server acquisition request Location, so as to cause the long-time of terminal traffic to be interrupted, reduce the Consumer's Experience of wireless network.
The content of the invention
In view of this, the application provides a kind of method and device of terminal roaming switching, during solving terminal roaming The problem of service disconnection.
Specifically, the application is achieved by the following technical solution:
A kind of method of terminal roaming switching, this method are applied on AP, including:
The claim frame that receiving terminal is sent;
Judge whether the terminal is roaming terminal according to the type of the claim frame;
If the terminal is roaming terminal, Disassociation (de-association) frame is sent, to release and the roaming The association of terminal, make the roaming terminal re-accessing network.
A kind of device of terminal roaming switching, the device are applied on AP, including:
Receiving module, the claim frame sent for receiving terminal;
Judge module, for judging whether the terminal is roaming terminal according to the type of the claim frame;
Sending module, for sending Disassociation frames to the roaming terminal, to release and the roaming terminal Association, make the roaming terminal re-accessing network.
Above-mentioned technical proposal is analyzed to understand, after the claim frame that AP receives terminal request foundation association or re-association, root Judge whether terminal is roaming terminal according to the type of claim frame.If roaming terminal, can by sending Disassociation frames, To release the association with roaming terminal.After roaming terminal receives AP Disassociation frames, by re-accessing network, just The new IP address of acquisition request actively can be sent to Dynamic Host Configuration Protocol server, so far can realize the roaming switch of terminal unaware, roaming During terminal traffic do not interrupt.
Brief description of the drawings
Fig. 1 is the schematic diagram of the embodiment of the present application terminal roaming process;
Fig. 2 is a kind of flow chart of terminal roaming switching method of the embodiment of the present application;
Fig. 3 is the hardware structure diagram of AP shown in the embodiment of the present application a kind of;
Fig. 4 is a kind of structural representation of terminal roaming switching device of the embodiment of the present application.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority Form, unless context clearly shows that other implications.
To solve the problems, such as service disconnection during terminal roaming, adoptable method is, terminal access first network with When AP establishes association, to Dynamic Host Configuration Protocol server acquisition request IP address, and with preserving the MAC of the default gateway in routing table information Location.When terminal detects itself roaming, detection and the network connectivty of the default gateway preserved.If not connecting, terminal master The new IP address of trend Dynamic Host Configuration Protocol server acquisition request, while by the new AP preserved in current routing information table gateway MAC Location replaces with default gateway address, realizes roaming switch.But the deficiency of the above method is:This method does not have universality, exists Certain limitation.Such as the PC terminals for some WIN7 systems, do not support actively to obtain to Dynamic Host Configuration Protocol server request during roaming Take new IP address and update the function of gateway address, business occurs in long-time during this this may result in terminal roaming It is disconnected.
In addition, in actual applications, the process of accessing terminal to network may comprise steps of:
Terminal can search for the network of region before network is accessed by active scan or the form of drive sweep.It is main Dynamic scanning is that terminal asks addition network by sending Probe Request (probe requests thereby) frames to AP, and AP receives terminal transmission Claim frame after, send Probe Response (probe response) frame respond.And drive sweep is AP periodically outwards broadcasts Beacon (beacon) frame, terminal find network by intercepting Beacon frames.
After completing scanning, terminal can be asked by sending Authentication Request (certification request) frames to specific AP Ask certification, AP is received and can be sent Authentication Response (authentication response) frame after request and respond, to complete to recognize Card.
By rear, terminal can further be established with AP and associated for certification.With reference to figure 1, it is assumed that terminal VLAN10 first with AP1 When establishing association, the request of Association Request (association request) frame can be sent to AP1 and establishes association, AP1 receives end Association Response (associated response) frame is sent to terminal after the request at end, to establish association.Then terminal To Dynamic Host Configuration Protocol server IP address requesting, after terminal gets the IP address of Dynamic Host Configuration Protocol server distribution, you can access network.
Under practical application scene, terminal may move between different AP.With continued reference to Fig. 1, it is assumed that terminal from AP1 is moved to AP2, and terminal can judge whether itself roams based on pre-defined rule in moving process, and the pre-defined rule can be with Including:
AP signal intensity is less than preset strength;
And/or
AP signal quality is less than preset quality;
And/or
The beacon frame number of omission is higher than actual beacon frame number.
Wherein, above-mentioned rule can be used alone, and can also be used in combination.In practical application, the judgement rule of terminal roaming It is then different with different terminals manufacturer.In addition, the parameter such as above-mentioned preset strength, preset quality and actual beacon frame number can influence The sensitivity of terminal roaming, the parameter value can be configured according to the roaming demand of reality, be not particularly limited herein.
When terminal determines that itself is roamed based on above-mentioned pre-defined rule, the flows such as scanning, certification can be re-executed. By rear, terminal can send the request of Re-association Request (reassociation requests) frame to AP2 and establish re-association for certification, AP2 is received and is sent Re-association Response (re-association response) frame to terminal after the request of terminal, to establish weight Association.But for part roaming terminal, such as the PC terminals of WIN7 systems, although re-association can be established with AP2, subsequently can't The new IP address of acquisition request and renewal gateway address actively are sent to Dynamic Host Configuration Protocol server, terminal is with still keeping its IP before roaming Location, and its gateway address currently preserved is also still former gateway address, therefore the Business Stream of terminal is still sent to former gateway, from And cause service disconnection.
For above-mentioned part roaming terminal, Fig. 2 shows a kind of implementing procedure of the method for terminal roaming switching of the application Figure, so that business is not interrupted during terminal roaming, this method can include following basic step:
S201, the claim frame that receiving terminal is sent;
With reference to Fig. 1, it is assumed that AP2 receives the claim frame of terminal transmission.In the present embodiment, the claim frame is probably terminal The Association Request frames that send when associating are established with AP2 first, it is also possible to terminal from AP1 roam to AP2 when to The Re-association Request frames that AP2 is sent.
S202, judge whether the terminal is roaming terminal according to the type of the claim frame;
In the present embodiment, after AP2 receives the claim frame that above-mentioned terminal is sent, can be judged eventually according to the type of claim frame Whether end is roaming terminal.If the type for the claim frame that AP2 is received is Association Request frames, it is determined that the end Hold as non-roaming terminal;If the type for the claim frame that AP2 is received is Re-association Request frames, it is determined that the end Hold as roaming terminal.
After whether it is roaming terminal that AP2 determines terminal, the non-roaming terminal for accessing network first, AP2 can be to this Terminal sends Association Response frames, establishes and associates with terminal, and subsequent terminal actively asks IP to Dynamic Host Configuration Protocol server Address, network can be accessed;And for roaming terminal, step S203 can be continued executing with.
S203, if the terminal is roaming terminal, Disassociation frames are sent, to release and the roaming terminal Association, make the roaming terminal re-accessing network.
In the present embodiment, after AP2 determines roaming terminal, Disassociation frames can be sent to roaming terminal, with Release the association with roaming terminal.After roaming terminal receives AP2 Disassociation frames, both associations release, terminal Think that re-accessing network may be needed, the net in AP2 regions can be then re-searched for by active scan or drive sweep Network, and complete the identifying procedure with AP2.For terminal, equivalent to the terminal for accessing network first, therefore certification is led to Later, terminal can send the request of Association Request frames to AP2 and establish association, and the request that AP2 receives terminal is backward Terminal sends Association Response frames and establishes association, and then terminal actively can send acquisition request to Dynamic Host Configuration Protocol server IP address, can re-accessing network, so far realize the roaming switch of terminal unaware.
A kind of method for terminal roaming switching that the embodiment of the present application is provided, receive terminal request in AP and establish association Or after the claim frame of re-association, it can judge whether terminal is roaming terminal according to the type of claim frame.If roaming terminal, can lead to Cross to roaming terminal and send Disassociation frames, release the association with roaming terminal.Roaming terminal receives AP's After Disassociation frames, can re-request access network, and actively can send the new IP of acquisition request to Dynamic Host Configuration Protocol server Address.So far the roaming switch of terminal unaware is realized, terminal traffic is not interrupted in roam procedure.
Corresponding with a kind of foregoing embodiment of the method for terminal roaming switching, present invention also provides a kind of terminal roaming The embodiment of the device of switching.
A kind of embodiment of terminal roaming switching device of the application can be applied on AP.Device embodiment can be by soft Part is realized, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, as a logical meaning On device, be in by the processor of AP where it, corresponding computer program instructions in nonvolatile memory are read Deposit what middle operation was formed.For hardware view, as shown in figure 3, one kind for the application terminal roaming switching device place AP Hardware structure diagram, in addition to the processor shown in Fig. 3, internal memory, network outgoing interface and nonvolatile memory, embodiment AP where middle device can also include other hardware, this is repeated no more generally according to the actual functional capability of the AP.
Fig. 4 is refer to, a kind of module map of the device of terminal roaming switching provided for the embodiment of the application one, the device It can include:Receiving module 410, judge module 420 and sending module 430.Wherein,
Receiving module 410, the claim frame sent for receiving terminal;
Judge module 420, for judging whether the terminal is roaming terminal according to the type of the claim frame;
Sending module 430, for sending Disassociation frames to the roaming terminal, to release with the roaming eventually The association at end, make the roaming terminal re-accessing network.
In a kind of embodiment of the application, the judge module 420, it is further used for:
If the type of the claim frame is Re-association Request frames, it is determined that the terminal is whole for roaming End;
If the type of the claim frame is Association Request frames, it is determined that the terminal is non-roaming terminal.
In a kind of embodiment of the application, the Re-association Request frames are existed by the terminal Determine to send during itself roaming based on pre-defined rule.
In a kind of embodiment of the application, the pre-defined rule, further comprise:
AP signal intensity is less than preset strength;
And/or
AP signal quality is less than preset quality;
And/or
The beacon frame number of omission is higher than actual beacon frame number.
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 preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.

Claims (8)

1. a kind of method of terminal roaming switching, this method are applied on AP, it is characterised in that including:
The claim frame that receiving terminal is sent;
Judge whether the terminal is roaming terminal according to the type of the claim frame;
If the terminal is roaming terminal, Disassociation frames are sent, to release the association with the roaming terminal, are made The roaming terminal re-accessing network.
2. according to the method for claim 1, it is characterised in that the type according to the claim frame judges the terminal Whether it is roaming terminal, including:
If the type of the claim frame is Re-association Request frames, it is determined that the terminal is roaming terminal;
If the type of the claim frame is Association Request frames, it is determined that the terminal is non-roaming terminal.
3. according to the method for claim 2, it is characterised in that the Re-association Request frames are by the end End is sent when determining itself roaming based on pre-defined rule.
4. according to the method for claim 3, it is characterised in that the pre-defined rule includes:
AP signal intensity is less than preset strength;
And/or
AP signal quality is less than preset quality;
And/or
The beacon frame number of omission is higher than actual beacon frame number.
5. a kind of device of terminal roaming switching, the device are applied on AP, it is characterised in that including:
Receiving module, the claim frame sent for receiving terminal;
Judge module, for judging whether the terminal is roaming terminal according to the type of the claim frame;
Sending module, for sending Disassociation frames to the roaming terminal, to release the pass with the roaming terminal Connection, makes the roaming terminal re-accessing network.
6. device according to claim 5, it is characterised in that the judge module, be specifically used for:
If the type of the claim frame is Re-association Request frames, it is determined that the terminal is roaming terminal;
If the type of the claim frame is Association Request frames, it is determined that the terminal is non-roaming terminal.
7. device according to claim 6, it is characterised in that the Re-association Request frames are by the end End is sent when determining itself roaming based on pre-defined rule.
8. device according to claim 7, it is characterised in that the pre-defined rule includes:
AP signal intensity is less than preset strength;
And/or
AP signal quality is less than preset quality;
And/or
The beacon frame number of omission is higher than actual beacon frame number.
CN201710728845.6A 2017-08-23 2017-08-23 Method and device for terminal roaming switching Active CN107484223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710728845.6A CN107484223B (en) 2017-08-23 2017-08-23 Method and device for terminal roaming switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710728845.6A CN107484223B (en) 2017-08-23 2017-08-23 Method and device for terminal roaming switching

Publications (2)

Publication Number Publication Date
CN107484223A true CN107484223A (en) 2017-12-15
CN107484223B CN107484223B (en) 2020-08-04

Family

ID=60601255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710728845.6A Active CN107484223B (en) 2017-08-23 2017-08-23 Method and device for terminal roaming switching

Country Status (1)

Country Link
CN (1) CN107484223B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007080490A1 (en) * 2006-01-10 2007-07-19 Nokia Corporation Secure identification of roaming rights prior authentication/association
CN101009711A (en) * 2006-01-26 2007-08-01 西门子(中国)有限公司 Configuration method of IP address and its application in the sub-network switching
CN101662808A (en) * 2009-08-27 2010-03-03 上海交通大学 Method for quickly switching network layers of IEEE802.11 wireless local area network
CN105554854A (en) * 2015-12-31 2016-05-04 天彩电子(深圳)有限公司 WIFI switching method and system in local area network
CN105744579A (en) * 2014-12-11 2016-07-06 华为技术有限公司 Method for switching terminal between APs, switching control apparatus, and access apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007080490A1 (en) * 2006-01-10 2007-07-19 Nokia Corporation Secure identification of roaming rights prior authentication/association
CN101009711A (en) * 2006-01-26 2007-08-01 西门子(中国)有限公司 Configuration method of IP address and its application in the sub-network switching
CN101662808A (en) * 2009-08-27 2010-03-03 上海交通大学 Method for quickly switching network layers of IEEE802.11 wireless local area network
CN105744579A (en) * 2014-12-11 2016-07-06 华为技术有限公司 Method for switching terminal between APs, switching control apparatus, and access apparatus
CN105554854A (en) * 2015-12-31 2016-05-04 天彩电子(深圳)有限公司 WIFI switching method and system in local area network

Cited By (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107484223B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
US11272440B2 (en) Network slice selection method and apparatus
US20180295533A1 (en) Providing easy access to radio networks
CN111918360B (en) Processing method, terminal and network element
US10462698B2 (en) WLAN-LTE interface selection
CN102812758B (en) For controlling the method and apparatus that access technology selects
US10111159B2 (en) Access point detection
KR20200068731A (en) Mobility management methods, devices, and systems
CN109005565B (en) Session management method and device
EP3585099B1 (en) Vowifi call processing method of mobile terminal and mobile terminal
US10064096B2 (en) Traffic distribution in heterogenous network environment
US10051607B2 (en) Data processing method, apparatus and system
KR101863690B1 (en) Service offloading in communications
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
EP3544232A1 (en) Processing method, device and system for nf component abnormality
CN103262611A (en) Gateway relocation control method in mobile communication system, and control device
US10057431B2 (en) Charging method, access network device, and gateway device
CN107484223A (en) A kind of method and device of terminal roaming switching
EP2009948A2 (en) Client resource reservation in access networks for roaming
CN109845329B (en) Communication method, network equipment and application management unit
US20100290417A1 (en) Communication method for mobile terminal, network address management device and mobile terminal
CN107517283A (en) A kind of method and device for realizing terminal roaming switching
GB2549693B (en) Voice service client device
CN115484602A (en) Single-user-level policy control method, device, base station and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210621

Address after: 310051 05, room A, 11 floor, Chung Cai mansion, 68 Tong Xing Road, Binjiang District, Hangzhou, Zhejiang.

Patentee after: Hangzhou Dip Information Technology Co.,Ltd.

Address before: 6 / F, Zhongcai building, 68 Tonghe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou DPtech Technologies Co.,Ltd.

TR01 Transfer of patent right