CN110049523A - Access control, access point connection method, device and electronic equipment - Google Patents
Access control, access point connection method, device and electronic equipment Download PDFInfo
- Publication number
- CN110049523A CN110049523A CN201910345150.9A CN201910345150A CN110049523A CN 110049523 A CN110049523 A CN 110049523A CN 201910345150 A CN201910345150 A CN 201910345150A CN 110049523 A CN110049523 A CN 110049523A
- Authority
- CN
- China
- Prior art keywords
- wireless terminal
- address
- history
- access point
- access
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0077—Transmission or use of information for re-establishing the radio link of access information of target access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/17—Selecting a data network PoA [Point of Attachment]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/14—Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a kind of connection control method and device, a kind of access point connection method and device and a kind of electronic equipment.Wherein, the connection control method is applied to access controller, comprising: acquisition request accesses the identification information of the wireless terminal of the first access point;According to the identification information, history IP address corresponding with the wireless terminal is inquired, the history IP address includes that the wireless terminal had previously connected the IP address used when the second access point;If finding the history IP address, then the first instruction information is sent to the wireless terminal, wherein, the first instruction information is for notifying access controller described in the wireless terminal to be stored with the history IP address of the wireless terminal application, so that the wireless terminal accesses first access point using the history IP address.The application above method can make wireless terminal usage history IP address rapidly access first access point, and network switching efficiency can be improved.
Description
Technical field
This application involves wireless communication technology fields, and in particular to a kind of connection control method and device, a kind of access point
Connection method and device and a kind of electronic equipment.
Background technique
With wireless communication technique fast development and mobile terminal (such as mobile phone, notebook, tablet computer) it is a large amount of
Universal, more and more users get used to surfing the Internet anywhere or anytime using wireless terminal, due to separate unit wireless access point (AP,
Access Point) provide WLAN (WLAN, Wireless LAN) area coverage it is limited, pass through to meet user
The demand of access point networking generally requires interval setting more AP, Yong Hu AT STATION, airport, market, the places such as office building
In moving process, the wireless terminal carried can switch between the WLAN that different AP are provided to realize that network is unrestrained
Trip.
Referring to FIG. 1, a kind of schematic diagram of application scenarios provided by some embodiments it illustrates the application, it should
Under application scenarios, an access controller (AC, Access Control) can manage multiple access points such as AP1, AP2 ...
APn etc., in order to obtain better quality of wireless network, needs to break when wireless terminal roams near AP2 near AP1
Open the connection with AP1, and be switched to AP2, wireless terminal access AP2 access process substantially as shown in Fig. 2, wireless terminal first
Scanning obtains available access point list, and the preferable AP of network quality (such as AP2) is then selected from described access point list,
Radio Link is established by Authentication frame and Association frame etc. and the AP that AC is managed, then passes through DHCP
(Dynamic Host Configuration Protocol, dynamic host configuration protocol) agreement is interacted with AC obtains IP address,
It is then based on IP address access AP2 and carries out data communication.
Above-mentioned access process step is complicated, takes a long time, and especially in the biggish situation of access amount, AC is that AP distributes IP
The efficiency of address is lower, leads to have the long period that can not surf the Internet in network switching process, seriously affects user experience.
Summary of the invention
The purpose of the application be to provide a kind of connection control method and device, a kind of access point connection method and device, with
And a kind of electronic equipment.
The application first aspect provides a kind of connection control method, is applied to access controller, comprising:
Acquisition request accesses the identification information of the wireless terminal of the first access point;
According to the identification information, history IP address corresponding with the wireless terminal, the history IP address packet are inquired
It includes the wireless terminal and had previously connected the IP address used when the second access point;
If finding the history IP address, the first instruction information is sent to the wireless terminal, wherein described first refers to
Show information for notifying access controller described in the wireless terminal with being stored with the history IP of the wireless terminal application
Location, so that the wireless terminal accesses first access point using the history IP address.
The application second aspect provides a kind of access control apparatus, is applied to access controller, comprising:
Identification information obtains module, and the identification information of the wireless terminal of the first access point is accessed for acquisition request;
History IP address enquiry module, for inquiring history corresponding with the wireless terminal according to the identification information
IP address, the history IP address include that the wireless terminal had previously connected the IP address used when the second access point;
First instruction information sending module, if sending the to the wireless terminal for finding the history IP address
One instruction information, wherein the first instruction information is for notifying access controller described in the wireless terminal to be stored with
The history IP address of the wireless terminal application, so that the wireless terminal is connect using history IP address access described first
Access point.
The application third aspect provides a kind of access point connection method, is applied to wireless terminal, comprising:
Connection request is sent to the first access point;
Receive response message that first access point is returned for the connection request, from access controller;
If the response message includes the first instruction information, first access point is accessed using history IP address,
In, the first instruction information is for notifying access controller described in the wireless terminal to be stored with the wireless terminal Shen
The history IP address please.
The application fourth aspect provides a kind of access point attachment device, is applied to wireless terminal, comprising:
Connection request sending module, for sending connection request to the first access point;
Response message receiving module, for receive it is that first access point is returned for the connection request, from connecing
Enter the response message of controller;
First access point AM access module, if including the first instruction information for the response message, using history IP
First access point is accessed in location, wherein the first instruction information is for notifying access controller described in the wireless terminal
It has been stored with the history IP address of the wireless terminal application.
The aspect of the application the 5th provides a kind of electronic equipment, comprising: memory, processor and is stored on the memory
And the computer program that can be run on the processor, it is executed when the processor runs the computer program to realize this
Apply for method described in first aspect or the third aspect.
Compared to the prior art, the connection control method that the application first aspect provides, access controller is in acquisition request
It, can be according to the identification information-enquiry and the wireless terminal pair after accessing the identification information of the wireless terminal of the first access point
The history IP address answered, and after finding the history IP address, Xiang Suoshu wireless terminal sends the first instruction information, with notice
Access controller described in the wireless terminal has been stored with the history IP address of the wireless terminal application, so that described wireless
Terminal accesses first access point using the history IP address.Based on the above method, it can make wireless terminal that need not apply
New IP address can be used directly existing history IP address and rapidly access first access point, since weight is omitted
The step of new distribution IP address, network switching efficiency can be greatly improved, realize the wireless network switching of user's unaware, promoted and used
Family experience.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of schematic diagram of application scenarios provided by some embodiments of the application;
Fig. 2 shows a kind of flow charts of wireless network connecting method provided by the prior art;
Fig. 3 shows a kind of flow chart of connection control method provided by some embodiments of the application;
Fig. 4 shows a kind of form schematic diagram of network state information element provided by some embodiments of the application;
Fig. 5 shows a kind of Content word of network state information element provided by some embodiments of the application
The form schematic diagram of section;
Fig. 6 shows a kind of schematic diagram of access control apparatus provided by some embodiments of the application;
Fig. 7 shows a kind of flow chart of access point connection method provided by some embodiments of the application;
Fig. 8 shows a kind of schematic diagram of access point attachment device provided by some embodiments of the application;
Fig. 9 shows a kind of process of wireless terminal handover network provided by some specific embodiments of the application
Figure;
Figure 10 shows the schematic diagram of a kind of electronic equipment provided by some embodiments of the application.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in attached drawing
The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here
The mode of applying is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can be by this public affairs
The range opened is fully disclosed to those skilled in the art.
It should be noted that unless otherwise indicated, technical term or scientific term used in this application should be this Shen
It please the ordinary meaning that is understood of one of ordinary skill in the art.
In addition, term " first " and " second " etc. are not use to describe a particular order for distinguishing different objects.This
Outside, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as contain a system
The process, method, system, product or equipment of column step or unit are not limited to listed step or unit, but optional
Ground further includes the steps that not listing or unit, or optionally further comprising intrinsic for these process, methods, product or equipment
Other step or units.
The embodiment of the present application provide a kind of connection control method and device, a kind of access point connection method and device and
A kind of electronic equipment is illustrated with reference to the accompanying drawing.
Referring to FIG. 3, a kind of process of connection control method provided by some embodiments it illustrates the application
Figure, as shown, the connection control method, is used for access controller AC, may comprise steps of:
Step S101: acquisition request accesses the identification information of the wireless terminal of the first access point;
In some embodiments, user, can to use wireless terminal to access WLAN by the first access point
Connection request first is sent to the first access point using wireless terminal, which may include the MAC for having the wireless terminal
Identification informations, above-mentioned first access points such as location (Media Access Control Address, media access control address) exist
After receiving the connection request, which can be forwarded to access controller, or the wireless terminal that parsing is obtained
Above-mentioned identification information is sent to access controller so that controller know on the first access point of the controller management have it is wireless
Terminal is to be accessed, wherein the access controller can obtain the above-mentioned of the wireless terminal by parsing above-mentioned connection request
Identification information, or directly receive the identification information that the first access point forwarding comes.
Step S102: according to the identification information, history IP address corresponding with the wireless terminal, the history are inquired
IP address includes that the wireless terminal had previously connected the IP address used when the second access point;
Step S103: if finding the history IP address, the first instruction information is sent to the wireless terminal, wherein
The first instruction information is for notifying access controller described in the wireless terminal to be stored with the wireless terminal application
History IP address so that the wireless terminal accesses first access point in a kind of embodiment party using the history IP address
In formula, specific identifier is carried in the first instruction message, for notifying wireless controller to be stored with going through for wireless terminal application
History IP address, correspondingly, after wireless terminal receives the first instruction message, the history IP that is locally stored according to wireless terminal
The first access point is accessed using the history IP address in location;
In another embodiment, the history IP address of wireless terminal application is carried in the first instruction message, accordingly
, after wireless terminal receives the first instruction message, determine wireless controller with being stored with the history IP of wireless terminal application
Location, so that wireless terminal accesses the first access point using the history IP address;
Certainly, in the first instruction message specific identifier can also not only be carried but also the history IP of portable radio terminal application
Location.
Above-mentioned connection control method provided by the embodiments of the present application, access controller access the first access point in acquisition request
Wireless terminal identification information after, can according to identification information-enquiry history IP corresponding with the wireless terminal
Location, and after finding the history IP address, Xiang Suoshu wireless terminal sends the first instruction information, to notify the wireless terminal
The access controller has been stored with the history IP address of the wireless terminal application, so that described in wireless terminal use
History IP address accesses first access point.Based on the above method, it can make wireless terminal that need not apply for new IP address, i.e.
Existing history IP address can be used directly and rapidly access first access point, redistribute IP address due to being omitted
Step can greatly improve network switching efficiency, realize the wireless network switching of user's unaware, promote user experience.
It should be noted that in some embodiments, the history IP address can refer to one on the wireless terminal
The IP address used when the access point that the secondary connection access controller is managed.
The first purpose of the above embodiments of the present application is, in more AP internetwork roamings, realizes wireless terminal multiple wireless
Being switched fast between local area network, so that quick-recovery can be communicated fastly after handover network, for example, saying based on the above embodiment
Bright, the wireless terminal can rapidly be switched to the nothing of the first access point offer by the WLAN that the second access point provides
Line local area network, during which, when connecting the first access point, the wireless terminal does not need to apply for new IP address, and use is connecing
The IP address (can be described as history IP address at this time) used when entering the second access point is directly accessed the first access point, due to eliminating
Again the process for applying for IP address, can simplify networking step, improve network switching efficiency.
Based on above description, in some embodiments of the embodiment of the present application, the inquiry wireless terminal is corresponding
History IP address before, can also include:
Wireless terminal access the second access point when, using the IP address distributed for the wireless terminal as with it is described wirelessly
The corresponding history IP address of terminal is stored to local cache, wherein second access point and first access point are by institute
State access controller management.
After the second access point receives the access request of wireless terminal transmission, for example, wireless terminal passes through
Authentication frame and Association frame etc. are negotiated with the second access point, and Radio Link between the two is established in request
When, the second access point, which can be triggered, sends the identification information of the wireless terminal of access to access controller, to inform access control
Device it is expected to access the second access point there are wireless terminal.For example, in some embodiments, the access controller can be use
The network equipment for carrying out centralization control wireless aps is responsible for management all wireless aps of subordinate, wherein the management to AP includes but unlimited
In issuing configuration, modification relevant configured parameter, radio-frequency intelligent management, access security control etc., it is based on this, as previously mentioned, described
When wireless terminal connects the second access point before this, it is also desirable to be authenticated by access controller and be let pass, be controlled in the access
The device wireless terminal of letting pass accesses any time after second access point, and the access controller can will be the nothing
The IP address of line terminal distribution is stored as history IP address corresponding with the wireless terminal to local cache, in order to rear
Continue when the wireless terminal connects other access points directly using to construct wireless communication link.
Specifically, the access controller can store the wireless terminal and the history IP address locally building table
Corresponding relationship, for example, in some instances, the access controller can establish following letters that list item stores the wireless terminal
Breath:
MAC Address: the MAC Address of wireless terminal;
IP Address: the IP address of wireless terminal;
VLAN: the VLAN where wireless terminal;
Based on above embodiment, the access controller accesses the mark of the wireless terminal of the first access point in acquisition request
After knowing information (such as MAC Address), its corresponding history IP address can be inquired according to the MAC Address of the wireless terminal.Its
In, using the above-mentioned history IP address of local cache storage, it can effectively improve search efficiency, thus rapidly according to query result
Corresponding response message is sent to the wireless terminal, improves network insertion efficiency on the whole.
It is considered that the quantity of the access terminal of the AC may be bigger, it, can if retaining above-mentioned history IP address for a long time
The system resource that excessive AC equipment can be occupied, in order to ensure normal, the smooth operation of the AC, on the basis of above embodiment
On, in some change embodiments, the method can also include:
After detecting that the wireless terminal disconnects the connection with second access point and is more than preset duration threshold value,
Delete the history IP address of storage.
By present embodiment, corresponding duration threshold value can be set, the duration threshold value can with set in Dynamic Host Configuration Protocol server
The IP aging duration set is identical, and to ensure in the duration threshold value, the wireless terminal can use the history IP address at any time
Realize being switched fast for network;In addition, if wireless terminal and second access point disconnect the long period, for example, more than it is above-mentioned when
Long threshold value, it can be determined that the wireless terminal has been moved off the WLAN coverage area of each AP of AC control, and DHCP service
The history IP address is weathered in device, which is possible to other wireless terminals for being already allocated to newly access, because
This can be more than above-mentioned duration to avoid the wireless terminal by deleting the history IP address stored in local cache
The problem of still being networked using the history IP address after threshold value and leading to IP address conflict.
With reference to above description, in some embodiments of the embodiment of the present application, the inquiry and the wireless terminal pair
After the history IP address answered, further includes:
If not finding the history IP address, second indication information is sent to the wireless terminal, wherein described second
Indicate information for notifying the not stored history IP for having the wireless terminal application of access controller described in the wireless terminal
Location, to indicate the new IP address of the wireless terminal application to access first access point.
By present embodiment, do not recorded before this in the deleted situation of the history IP address or in controller
In the case where the IP address of wireless terminal, second indication information quickly can be sent to the wireless terminal, indicate the nothing
The new IP address of line terminal application is to access first access point, it is ensured that the wireless terminal still can smoothly access described
First access point.
In some embodiments, the solicited message may include Association frame, and the response message can wrap
Association Response frame is included, to complete the first instruction information or second in the Association interaction stage
It indicates the transmitting of information, and then quickly realizes the access and switching of network.
In some embodiments, described to send the first instruction information to the wireless terminal, may include:
Generate the response message of the connection request sent for the wireless terminal, wherein in the response message
Network state information element (IE, Information Element) record have it is above-mentioned first instruction information;
The response message is sent to the wireless terminal by the first access point.
For example, referring to FIG. 4, it illustrates a kind of network state information elements provided by some embodiments of the application
Format sample, each field of information element IE can be defined as follows:
The identification information of Element ID:IE, such as the value can be 221;
Length: IE length, such as can be 4 bytes;
Organization Identifier: tissue mark, such as the OUI of access device manufacturer
(Organizationally unique identifier, organization unique identifier);
SubElement ID: second level IE identification information, such as the value can be 01;
Content: for identifying the whether buffered corresponding history IP address of current AC, 1 byte can be occupied;
Wherein, the format of IE content Content is as shown in figure 5, may include following field:
IP Cache Status: for identifying whether AC is currently stored with the corresponding history IP address of wireless terminal, example
Such as, which is 1 to indicate that current AC is stored with the corresponding history IP address of the wireless terminal, i.e., the first instruction information, can be with
It is used to refer to the wireless terminal and first access point is accessed using the history IP address;The position Bit is that 0 expression is current
The AC not corresponding history IP address of the wireless terminal, i.e. second indication information, can be used to refer to the wireless terminal again
Apply for that new IP address accesses first access point.
By above embodiment, first instruction can be believed by information element IE, using lesser data volume
Breath or second indication information pass to the wireless terminal, so as to be changed on the basis of existing embodiment with lesser
Dynamic, lower cost realizes that the embodiment of the present application improves the purpose of network insertion and switching efficiency, easy to promote and utilize.
In the above-described embodiment, a kind of connection control method is provided, corresponding, the application also provides one kind
Access control apparatus.Above-mentioned connection control method can be implemented in access control apparatus provided by the embodiments of the present application, the access control
Device processed can be realized by way of software, hardware or soft or hard combination.For example, the access control apparatus may include integrating
Or separated functional module or unit execute the correspondence step in above-mentioned each method.Referring to FIG. 6, it illustrates the application
Some embodiments provided by a kind of schematic diagram of access control apparatus.Since Installation practice is substantially similar to method reality
Example is applied, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Device described below is real
It is only schematical to apply example.
As shown in fig. 6, the access control apparatus 10, is applied to access controller, may include:
Identification information obtains module 101, and the identification information of the wireless terminal of the first access point is accessed for acquisition request;
History IP address enquiry module 102, for inquiring go through corresponding with the wireless terminal according to the identification information
History IP address, the history IP address include that the wireless terminal had previously connected the IP address used when the second access point;
First instruction information sending module 103, if being sent for finding the history IP address to the wireless terminal
First instruction information, wherein the first instruction information is for notifying access controller described in the wireless terminal stored
There is the history IP address of the wireless terminal application, so that the wireless terminal is using history IP address access described first
Access point.
In some change embodiments of the embodiment of the present application, described device 10 can also include:
History IP address memory module, for that will be the wireless terminal point when wireless terminal accesses the second access point
The IP address matched is stored as history IP address corresponding with the wireless terminal, wherein second access point and institute
The first access point is stated to be managed by the access controller.
In some change embodiments of the embodiment of the present application, described device 10 can also include:
History IP address removing module, in the company for detecting the wireless terminal disconnection and second access point
Connect and be more than preset duration threshold value after, delete the history IP address of storage.
In some change embodiments of the embodiment of the present application, described device 10 can also include:
Second indication information sending module, if being sent for not finding the history IP address to the wireless terminal
Second indication information, wherein the second indication information is for notifying access controller described in the wireless terminal is not stored to have
The history IP address of the wireless terminal application, to indicate that the new IP address of the wireless terminal application connects to access described first
Access point.
Access control apparatus 10 provided by the embodiments of the present application, the connection control method provided with the application previous embodiment
For identical inventive concept, beneficial effect having the same.
In the above-described embodiment, a kind of connection control method is provided, corresponding, the application also provides one kind
Access point connection method, described access point connection method are implementation of working in coordination with aforementioned connection control method, are belonged to identical
Inventive concept, therefore, below in relation to access point connection method embodiment illustrate, can refer to previously with regard to connection control method
Embodiment illustrate to be understood, partial content repeats no more, correspondingly, previously with regard to the embodiment of connection control method,
Following embodiments about access point connection method are referred to illustrate to be understood.
Referring to FIG. 7, a kind of stream of access point connection method provided by some embodiments it illustrates the application
Cheng Tu, as shown, described access point connection method, is used for wireless terminal, it in one embodiment, can be by wireless whole
Client in end realizes that following methods, this method may comprise steps of:
Step S201: connection request is sent to the first access point;
Step S202: sound that first access point is returned for the connection request, from access controller is received
Answer information;
Step S203: if the response message includes the first instruction information, using history IP address access described first
Access point, wherein the first instruction information is for notifying that it is described that access controller described in the wireless terminal has been stored with
The history IP address of wireless terminal application.
Access point connection method provided by the embodiments of the present application, the connection control method provided with the application previous embodiment
For identical inventive concept, at least have following corresponding the utility model has the advantages that including the first instruction information in the response message
When, the wireless terminal need not apply for new IP address, can be used directly described in existing history IP address rapidly accesses
First access point can greatly improve network switching efficiency due to the step of application IP address is omitted, and realize user's unaware
Wireless network switching, promotes user experience.
It is described using history IP address access first access in some embodiments of the embodiment of the present application
Before point, can also include:
The history IP address is read from local cache.
The history IP address can be stored in local cache by present embodiment, the wireless terminal in advance, thus
When receiving the first instruction information, the history IP address can be quickly read, and quick using the history IP address
Ground accesses first access point and carries out data communication.
In some change embodiments, the method can also include:
Before accessing new access point, using the IP address distributed for the wireless terminal as with the wireless terminal pair
The history IP address answered is stored to local cache.
Wherein, it accesses before new access point, can refer to and appointing under the connection status of old access point in wireless terminal
It anticipates the moment, may also mean that the embodiment of the present application is without limitation when disconnecting the connection with old access point.
Specifically, list item storage can be established in local cache after the wireless terminal accesses first access point
Following information:
IP Address: wireless terminal connects the IP address that the first access point uses;
The gateway information of Gateway: the first access point, for example, MAC Address, SSID (Service Set Identifier,
Service set) etc. information.
Above-mentioned IP address becomes the history IP address wireless terminal accesses new access point next time when.
In addition, in other embodiments, the wireless terminal can not also save and read institute from local cache
History IP address is stated, but is sended over the history IP address with the response message by first access point, it is described
Wireless terminal, which passes through, parses the response message, also the available history IP address, and rapidly using the history IP address
It accesses first access point and carries out data communication.Those skilled in the art can flexibly change be real in conjunction with above-mentioned example explanation
It applies, the embodiment of the present application without limitation, should all be within the scope of protection of this application.
In addition, in some embodiments, the method, if can also include: the response message includes the second instruction
Information, the then IP address new to the access controller application by first access point, and the use new IP address
Access first access point, wherein the second indication information is for notifying access controller described in the wireless terminal not
It is stored with the history IP address of the wireless terminal application.
It, can be new by applying in the case where the AC does not store the history IP address by present embodiment
IP address, first access point is smoothly accessed using traditional scheme, have it is higher compatibility and serious forgiveness.
In the above-described embodiment, a kind of access point connection method is provided, corresponding, the application also provides one
Kind access point attachment device.Above-mentioned access point connection method can be implemented in access point attachment device provided by the embodiments of the present application,
The access point attachment device can be realized by way of software, hardware or soft or hard combination.For example, the access point attachment device
It may include integrated or separated functional module or unit to execute the correspondence step in above-mentioned each method.Referring to FIG. 8, its
Show a kind of schematic diagram of access point attachment device provided by some embodiments of the application.Due to Installation practice base
Originally it is similar to embodiment of the method, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Under
The Installation practice for stating description is only schematical.
As shown in figure 8, described access point attachment device 20, is applied to wireless terminal, may include:
Connection request sending module 201, for sending connection request to the first access point;
Response message receiving module 202, for receive first access point for the connection request return, come from
The response message of access controller;
First access point AM access module 203 uses history IP if including the first instruction information for the response message
First access point is accessed in address, wherein the first instruction information accesses control for notifying described in the wireless terminal
Device has been stored with the history IP address of the wireless terminal application.
In some embodiments of the embodiment of the present application, described device 20 can also include:
Local IP read module, for reading the history IP address from local cache.
In some embodiments of the embodiment of the present application, described device 20 can also include:
Local IP memory module, the IP address for will be distributed for the wireless terminal before accessing new access point
It stores as history IP address corresponding with the wireless terminal to local cache.
In some embodiments of the embodiment of the present application, described device 20 can also include:
New IP AM access module passes through first access point if including second indication information for the response message
The IP address new to the access controller application, and first access point is accessed using the new IP address, wherein institute
Second indication information is stated for notifying access controller described in the wireless terminal is not stored to have going through for the wireless terminal application
History IP address.
Access point attachment device 20 provided by the embodiments of the present application, the access point provided with the application previous embodiment are connect
Method is for identical inventive concept, beneficial effect having the same.
In order to preferably understand the application previous embodiment, referring to FIG. 9, that it illustrates the application is some specific
The flow chart of wireless terminal handover network provided by embodiment, connection control method described in aforementioned any embodiment and connects
Access point connection method, can be with following exemplary illustrations mutually with reference to understanding, partial content repeats no more.As shown in figure 9, described
Wireless terminal may comprise steps of by the process that the second access point AP1 switches to the first access point AP2:
Wireless terminal is online for the first time, connects the AP1 stage:
Step S301: wireless terminal scans first obtains available access point list;
Step S302: wireless terminal selects the preferable AP1 of network quality from described access point list, passes through
Authentication frame and Association frame etc. are communicated with AC, are established between wireless terminal and AP1 under the control of AC
Radio Link;
Step S303: wireless terminal is interacted by DHCP protocol with AC, obtains IP address, wherein if AC has IP address
Distribution function, then the IP address is distributed by AC, if AC does not have IP address distribution function, is turned IP address application request by AC
Dynamic Host Configuration Protocol server is issued, is that the wireless terminal distributes IP address, then is transmitted to the wireless terminal by AC by Dynamic Host Configuration Protocol server;
The network informations such as the corresponding IP address (i.e. history IP address) of the wireless terminal of AC storage simultaneously, establish list item, simultaneously
After wireless terminal is offline, starting ageing timer carries out timing, to delete after ageing timer reaches preset duration threshold value
The list item.
The list item mainly includes the following:
MAC Address: Wireless terminal-MAC address;
IP Address: Wireless terminal-IP address;
VLAN: VLAN where wireless terminal;
Meanwhile the IP address information (i.e. history IP address when access AP2) applied also is locally stored in wireless terminal side,
Mainly include the following:
IP Address: the IP address that wireless terminal connection AP1 is used;
The gateway information of Gateway:AP1.
Step S304: wireless terminal accesses AP1 and carries out data communication;
After wireless terminal is moved to AP2 nearby, following steps are executed:
Step S305: wireless terminal scans first obtains available access point list;
Step S306: the preferable AP2 of network quality is selected from described access point list, passes through Authentication frame
It is communicated with Association frame etc. with AC, the Radio Link between wireless terminal and AP2 is established under the control of AC.
Meanwhile AC lateral root searches local list item according to the MAC Address of wireless terminal, if being stored with corresponding history IP address,
It include network state IE as shown in Figure 4 in Association Response, and utilize IP Cache with reference to Fig. 5
Whether buffered history IP address of the current AC of Status bit identification, wherein the position Bit is that the 1 current AC of expression is stored with
The corresponding history IP address of the wireless terminal, i.e., the first instruction information can be used to refer to go through described in the wireless terminal use
History IP address accesses first access point;The position Bit is 0 to indicate the current AC not corresponding history IP of the wireless terminal
Location, i.e. second indication information can be used to refer to the wireless terminal and apply for new IP address access first access again
Point.
Step S307: after wireless terminal receives Association Reponse, the IE carried in frame is parsed, if network
In state I E, IPCache Status is 1, then uses the history IP address of local cache, and access AP2 carries out data communication;If
IP Cache Status is 0, then applies for that new IP address access AP2 carries out data communication again.
Being illustrated by above-mentioned example, wireless terminal can remove the step of reacquiring IP address from moving process,
It is time-consuming to shorten access, fast quick-recovery data communication, the WLAN access experience that biggish can promote wireless terminal.
The application embodiment also provides connection control method provided by a kind of and aforementioned embodiments and access point connects
The corresponding electronic equipment of method is connect, the electronic equipment can be gateways such as access controller etc., to execute above-mentioned access
Control method;The electronic equipment is also possible to the terminal device with wireless network connection function, such as mobile phone, notebook electricity
Brain, tablet computer etc., to execute above-mentioned access point connection method.
Referring to FIG. 10, the schematic diagram of a kind of electronic equipment provided by some embodiments it illustrates the application.
As shown in Figure 10, the electronic equipment 30 includes: processor 300, memory 301, bus 302 and communication interface 303, the place
Reason device 300, communication interface 303 and memory 301 are connected by bus 302;Being stored in the memory 301 can be at the place
The computer program run on reason device 300, it is aforementioned any that the processor 300 executes the application when running the computer program
Connection control method provided by embodiment or access point connection method.
Wherein, memory 301 may include high-speed random access memory (RAM:Random Access Memory),
It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely
A few communication interface 303 (can be wired or wireless) is realized logical between the system network element and at least one other network element
Letter connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 302 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, number
According to bus, control bus etc..Wherein, memory 301 is for storing program, the processor 300 after receiving and executing instruction,
Described program is executed, the connection control method or access point connection side that aforementioned the embodiment of the present application any embodiment discloses
Method can be applied in processor 300, or be realized by processor 300.
Processor 300 may be a kind of IC chip, the processing capacity with signal.It is above-mentioned during realization
Each step of method can be completed by the integrated logic circuit of the hardware in processor 300 or the instruction of software form.On
The processor 300 stated can be general processor, including central processing unit (Central Processing Unit, abbreviation
CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), dedicated
Integrated circuit (ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor
Logical device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logic in the embodiment of the present application
Block diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with this Shen
It please can be embodied directly in hardware decoding processor the step of method disclosed in embodiment and execute completion, or be handled with decoding
Hardware and software module combination in device execute completion.Software module can be located at random access memory, flash memory, read-only memory,
In the storage medium of this fields such as programmable read only memory or electrically erasable programmable memory, register maturation.This is deposited
Storage media is located at memory 301, and processor 300 reads the information in memory 301, and the step of the above method is completed in conjunction with its hardware
Suddenly.
Electronic equipment provided by the embodiments of the present application and connection control method provided by the embodiments of the present application and access point connect
Method is connect for identical inventive concept, there is the identical beneficial effect of the method for using, running or realizing with it.
It should be noted that the flow chart and block diagram in the drawings show according to the systems of multiple embodiments of the application,
The architecture, function and operation in the cards of method and computer program product.In this regard, in flowchart or block diagram
Each box can represent a part of a module, section or code, a part packet of the module, section or code
Containing one or more executable instructions for implementing the specified logical function.It should also be noted that in some realities as replacement
In existing, function marked in the box can also occur in a different order than that indicated in the drawings.For example, two continuous sides
Frame can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this according to related function and
It is fixed.It is also noted that the group of each box in block diagram and or flow chart and the box in block diagram and or flow chart
It closes, can be realized with the dedicated hardware based system for executing defined function or movement, or specialized hardware can be used
Combination with computer instruction is realized.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can combine
Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be through some communication interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent
Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution
The range of scheme should all cover in claims hereof and the range of specification.
Claims (12)
1. a kind of connection control method is applied to access controller characterized by comprising
Acquisition request accesses the identification information of the wireless terminal of the first access point;
According to the identification information, history IP address corresponding with the wireless terminal is inquired, the history IP address includes institute
It states wireless terminal and had previously connected the IP address used when the second access point;
If finding the history IP address, the first instruction information is sent to the wireless terminal, wherein the first instruction letter
Breath for notifying access controller described in the wireless terminal to be stored with the history IP address of the wireless terminal application, with
The wireless terminal is set to access first access point using the history IP address.
2. the method according to claim 1, wherein the corresponding history IP address of the inquiry wireless terminal
Before, further includes:
Wireless terminal access the second access point when, using the IP address distributed for the wireless terminal as with the wireless terminal
Corresponding history IP address is stored to local cache, wherein second access point is connect by described with first access point
Enter controller management.
3. according to the method described in claim 2, it is characterized by further comprising:
It is detecting the connection of the wireless terminal disconnection and second access point and is being more than deletion after preset duration threshold value
The history IP address of storage.
4. the method according to claim 1, wherein inquiry history IP corresponding with the wireless terminal
After location, further includes:
If not finding the history IP address, second indication information is sent to the wireless terminal, wherein second instruction
Information for notifying the not stored history IP address for having the wireless terminal application of access controller described in the wireless terminal, with
Indicate the new IP address of the wireless terminal application to access first access point.
5. a kind of access control apparatus is applied to access controller characterized by comprising
Identification information obtains module, and the identification information of the wireless terminal of the first access point is accessed for acquisition request;
History IP address enquiry module is used for according to the identification information, with inquiring history IP corresponding with the wireless terminal
Location, the history IP address include that the wireless terminal had previously connected the IP address used when the second access point;
First instruction information sending module, if sending first for finding the history IP address to the wireless terminal and referring to
Show information, wherein the first instruction information is for notifying that it is described that access controller described in the wireless terminal has been stored with
The history IP address of wireless terminal application, so that the wireless terminal is using history IP address access first access
Point.
6. device according to claim 5, which is characterized in that further include:
History IP address memory module is used for when wireless terminal accesses the second access point, by what is distributed for the wireless terminal
IP address is stored as history IP address corresponding with the wireless terminal, wherein second access point and described the
One access point is managed by the access controller.
7. device according to claim 6, which is characterized in that further include:
History IP address removing module, for detect the wireless terminal disconnect the connection with second access point and
After preset duration threshold value, the history IP address of storage is deleted.
8. device according to claim 5, which is characterized in that further include:
Second indication information sending module, if sending second to the wireless terminal for not finding the history IP address
Indicate information, wherein the second indication information for notify access controller described in the wireless terminal it is not stored have it is described
The history IP address of wireless terminal application accesses first access to indicate the new IP address of the wireless terminal application
Point.
9. a kind of access point connection method is applied to wireless terminal characterized by comprising
Connection request is sent to the first access point;
Receive response message that first access point is returned for the connection request, from access controller;
If the response message includes the first instruction information, first access point is accessed using history IP address, wherein institute
The first instruction information is stated for notifying access controller described in the wireless terminal to be stored with the wireless terminal application
The history IP address.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
Before accessing new access point, using the IP address distributed for the wireless terminal as corresponding with the wireless terminal
History IP address is stored to local cache.
11. according to the method described in claim 9, it is characterized by further comprising:
It is new to the access controller application by first access point if the response message includes second indication information
IP address, and first access point is accessed using the new IP address, wherein the second indication information is for notifying
The not stored history IP address for having the wireless terminal application of access controller described in the wireless terminal.
12. a kind of access device, comprising: memory, processor and be stored on the memory and can be on the processor
The computer program of operation, which is characterized in that the processor executes when running the computer program to realize that right such as is wanted
Seek 1 to 4,9 to 11 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910345150.9A CN110049523B (en) | 2019-04-26 | 2019-04-26 | Access control method, access point connection method, access control device, access point connection device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910345150.9A CN110049523B (en) | 2019-04-26 | 2019-04-26 | Access control method, access point connection method, access control device, access point connection device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110049523A true CN110049523A (en) | 2019-07-23 |
CN110049523B CN110049523B (en) | 2021-09-21 |
Family
ID=67279670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910345150.9A Active CN110049523B (en) | 2019-04-26 | 2019-04-26 | Access control method, access point connection method, access control device, access point connection device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049523B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123373A (en) * | 2006-10-25 | 2011-07-13 | 华为技术有限公司 | User equipment for switching between different types of access systems |
CN102420880A (en) * | 2011-12-15 | 2012-04-18 | 福建星网锐捷网络有限公司 | Internet protocol (IP) address management method, system and device |
CN102724172A (en) * | 2011-07-28 | 2012-10-10 | 北京天地互连信息技术有限公司 | System and method supporting rapid access authentication |
CN102857985A (en) * | 2012-09-21 | 2013-01-02 | 东莞宇龙通信科技有限公司 | Server, terminal and network switching method |
CN103314615A (en) * | 2011-01-10 | 2013-09-18 | 阿尔卡特朗讯公司 | Method of data path switching during inter-radio access technology handover |
US20130276017A1 (en) * | 2012-04-12 | 2013-10-17 | Qualcomm Incorporated | Broadcast content via over the top delivery |
CN104010292A (en) * | 2014-06-16 | 2014-08-27 | 武汉大学 | VoWLAN roaming method based on AP assistance |
CN104168269A (en) * | 2014-07-24 | 2014-11-26 | 深圳市腾讯计算机***有限公司 | Secure connection establishing method, apparatus and system |
US20150023319A1 (en) * | 2013-07-19 | 2015-01-22 | Lg Electronics | Method and apparatus for transmitting user equipment group information in wireless communication system |
CN104981028A (en) * | 2015-03-09 | 2015-10-14 | 深圳市腾讯计算机***有限公司 | Wireless network access method and related equipment |
CN106878483A (en) * | 2017-01-24 | 2017-06-20 | 新华三技术有限公司 | A kind of IP address distribution method and device |
CN107040966A (en) * | 2016-01-28 | 2017-08-11 | 谷歌公司 | The system and method for seamless mobility with the internuncial user conversation of multiple access |
CN107148061A (en) * | 2017-06-15 | 2017-09-08 | 重庆邮电大学 | A kind of LTE based on SDN and WLAN heterogeneous networks switching system and method |
US20180084518A1 (en) * | 2015-04-15 | 2018-03-22 | Nokia Solutions And Networks Oy | Using a wlan interworking gateway (wig) for offloading ue traffic from cellular network to wlan |
CN108965036A (en) * | 2018-09-21 | 2018-12-07 | 深圳市信锐网科技术有限公司 | Configure across public network equipment exchanging visit method, system, server and storage medium |
-
2019
- 2019-04-26 CN CN201910345150.9A patent/CN110049523B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123373A (en) * | 2006-10-25 | 2011-07-13 | 华为技术有限公司 | User equipment for switching between different types of access systems |
CN103314615A (en) * | 2011-01-10 | 2013-09-18 | 阿尔卡特朗讯公司 | Method of data path switching during inter-radio access technology handover |
CN102724172A (en) * | 2011-07-28 | 2012-10-10 | 北京天地互连信息技术有限公司 | System and method supporting rapid access authentication |
CN102420880A (en) * | 2011-12-15 | 2012-04-18 | 福建星网锐捷网络有限公司 | Internet protocol (IP) address management method, system and device |
US20130276017A1 (en) * | 2012-04-12 | 2013-10-17 | Qualcomm Incorporated | Broadcast content via over the top delivery |
CN102857985A (en) * | 2012-09-21 | 2013-01-02 | 东莞宇龙通信科技有限公司 | Server, terminal and network switching method |
US20150023319A1 (en) * | 2013-07-19 | 2015-01-22 | Lg Electronics | Method and apparatus for transmitting user equipment group information in wireless communication system |
CN104010292A (en) * | 2014-06-16 | 2014-08-27 | 武汉大学 | VoWLAN roaming method based on AP assistance |
CN104168269A (en) * | 2014-07-24 | 2014-11-26 | 深圳市腾讯计算机***有限公司 | Secure connection establishing method, apparatus and system |
CN104981028A (en) * | 2015-03-09 | 2015-10-14 | 深圳市腾讯计算机***有限公司 | Wireless network access method and related equipment |
US20180084518A1 (en) * | 2015-04-15 | 2018-03-22 | Nokia Solutions And Networks Oy | Using a wlan interworking gateway (wig) for offloading ue traffic from cellular network to wlan |
CN107040966A (en) * | 2016-01-28 | 2017-08-11 | 谷歌公司 | The system and method for seamless mobility with the internuncial user conversation of multiple access |
CN106878483A (en) * | 2017-01-24 | 2017-06-20 | 新华三技术有限公司 | A kind of IP address distribution method and device |
CN107148061A (en) * | 2017-06-15 | 2017-09-08 | 重庆邮电大学 | A kind of LTE based on SDN and WLAN heterogeneous networks switching system and method |
CN108965036A (en) * | 2018-09-21 | 2018-12-07 | 深圳市信锐网科技术有限公司 | Configure across public network equipment exchanging visit method, system, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110049523B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104980993B (en) | Network access method, mobile communication terminal, network server and network access system | |
CN110061871B (en) | Base station opening method and device, computer storage medium and equipment | |
US7280832B2 (en) | Method and apparatus for automatically selecting a bearer for a wireless connection | |
JP4714261B2 (en) | Optimal selection of communication networks in the location area of terminal equipment | |
CN103957593B (en) | wireless network access method, device and system | |
CN109041140B (en) | Method for rapidly switching wireless network, intelligent hardware and terminal equipment | |
CN103891355A (en) | Method, device, and system for registering and discovering service | |
CN111885680A (en) | Method, system and core equipment for establishing network connection | |
CN106302839A (en) | The distribution method of internet protocol address and device | |
CN105142189B (en) | The roam control method and device of website | |
EP2480027A1 (en) | Data access method for customer premises equipment and customer premises equipment (cpe) thereof | |
US8054805B2 (en) | Method, apparatus and system for obtaining MIH service information | |
EP2672758A1 (en) | Methods and apparatuses for easing Internet access by mobile stations associated with a mobile access point | |
CN107734491B (en) | VoWifi roaming control method and system | |
JP2003078535A (en) | Mac address managing method in wireless lan, mac address managing program for wireless lan, recording medium with the same program recorded, fixed station for wireless lan and wireless lan system | |
CN104426816B (en) | A kind of virtual machine communication method and device | |
US8180390B2 (en) | Mobile communication terminal, mobile communication managing apparatus, mobile communication system, computer readable medium for mobile communication and mobile communication method | |
CN108307359A (en) | A kind of method, terminal and system that hot spot is shared | |
CN106851685B (en) | Method and system for controlling bandwidth of mobile terminal | |
CN105246125B (en) | A kind of access control method and terminal | |
CN104640175B (en) | The cut-in method and device of wireless network | |
CN110049523A (en) | Access control, access point connection method, device and electronic equipment | |
CN110493886A (en) | Wireless network connecting method, device, electronic equipment and medium | |
CN110572829B (en) | Network connection control method and related product | |
CN104080099B (en) | A kind of wireless controller communication means and wireless controller |
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 |