WO2017024663A1 - 提高站点的接入效率的方法及装置 - Google Patents

提高站点的接入效率的方法及装置 Download PDF

Info

Publication number
WO2017024663A1
WO2017024663A1 PCT/CN2015/090908 CN2015090908W WO2017024663A1 WO 2017024663 A1 WO2017024663 A1 WO 2017024663A1 CN 2015090908 W CN2015090908 W CN 2015090908W WO 2017024663 A1 WO2017024663 A1 WO 2017024663A1
Authority
WO
WIPO (PCT)
Prior art keywords
site
address
table corresponding
information table
station
Prior art date
Application number
PCT/CN2015/090908
Other languages
English (en)
French (fr)
Inventor
张蓬勃
蔡磊磊
李�杰
Original Assignee
深圳市华讯方舟科技有限公司
深圳市华讯方舟软件信息科技有限公司
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
Priority claimed from CN201510488041.4A external-priority patent/CN105188107B/zh
Priority claimed from CN201510487887.6A external-priority patent/CN105072669B/zh
Priority claimed from CN201510488042.9A external-priority patent/CN105142189B/zh
Application filed by 深圳市华讯方舟科技有限公司, 深圳市华讯方舟软件信息科技有限公司 filed Critical 深圳市华讯方舟科技有限公司
Publication of WO2017024663A1 publication Critical patent/WO2017024663A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for improving access efficiency of a station.
  • the embodiments of the present invention provide a method and an apparatus for improving access efficiency of a station, so as to solve the problem that some stations in the prior art do not support the wireless network protocol, resulting in low access efficiency.
  • the problem is a problem that some stations in the prior art do not support the wireless network protocol, resulting in low access efficiency.
  • an embodiment of the present invention provides a method for improving access efficiency of a site, including: [0005] deleting a media access control MAC address of a site when receiving a disassociation request message of a site Corresponding the first hash table, deleting the second hash table corresponding to the initial Internet Protocol IP address of the site, and deleting the first site information table corresponding to the site;
  • the first hash table corresponding to the MAC address of the site and the first site information corresponding to the site are re-established. a table, and replying to the reassociation response message to the site;
  • an embodiment of the present invention provides an apparatus for improving access efficiency of a station, including: [0009] a first deleting unit, configured to: after receiving a disassociation request message of a site, deleting the The first hash table corresponding to the MAC address of the site is deleted, the second hash table corresponding to the initial Internet Protocol IP address of the site is deleted, and the first site information table corresponding to the site is deleted;
  • a first establishing unit configured to: if the re-association request message sent by the station is received in the first preset time, re-establish a first hash table corresponding to the MAC address of the site, and the a first site information table corresponding to the site, and replying to the re-association response message to the site;
  • a first IP address allocation unit configured to obtain, from the third hash table corresponding to the MAC address of the site and the initial IP address, if the IP address update message is not received in the second preset time Initial I of the site
  • the beneficial effects of the embodiment of the present invention compared with the prior art are:
  • the embodiment of the present invention improves the connection of the site by adapting a message that does not conform to the wireless network protocol specification to a message conforming to the wireless network protocol specification.
  • the success rate of the user is improved, and the user's online experience is improved.
  • the third hash table corresponding to the MAC address of the site and the initial IP address is temporarily reserved.
  • FIG. 1 is a flowchart of an implementation of a method for improving access efficiency of a site according to an embodiment of the present invention
  • 2 is a flowchart of an implementation of a method for improving access efficiency of a station according to another embodiment of the present invention
  • FIG. 3 is a method for improving access efficiency of a station according to another embodiment of the present invention
  • FIG. 4 is a structural block diagram of an apparatus for improving access efficiency of a station according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an implementation of a method for improving access efficiency of a site according to an embodiment of the present invention, which is as follows:
  • step S101 when the disassociation request message of the station is received, the first hash table corresponding to the media access control MAC address of the site is deleted, and the first corresponding IP address of the site is deleted. Two hash tables, and delete the first site information table corresponding to the site.
  • the executive body of the embodiment of the present invention may be an AC (Access Controller).
  • the stations in the embodiments of the present invention refer to wireless stations, such as smart phones, tablets, and smart bracelets.
  • the disassociation request message may be a disassociation request (Disassociation)
  • the station sends an unlink request message to the access point, and the access point forwards the disassociation request message to the AC.
  • the access point refers to the access point currently accessed by the station.
  • the disassociation request message is parsed according to the 802.11 protocol, to obtain the MAC (Media Access Control) of the site from the disassociation request message. address.
  • the first hash table corresponding to the MAC address of the site is searched according to the MAC address of the site, and the first hash table corresponding to the MAC address of the site is deleted.
  • the second hash table corresponding to the initial IP address of the site is searched according to the initial IP address of the site, and deleted.
  • the second hash table corresponding to the initial IP address of the site Delete all the information in the first site information table corresponding to the site, retain the third hash table corresponding to the MAC address and IP address of the site, and start the first
  • the fixed length of the first fixed device is equal to the first preset time.
  • step S102 if the re-association request message sent by the station is received in the first preset time, the first hash table corresponding to the MAC address of the site is re-established, and the site corresponding to the site is re-established.
  • the MAC address of the station is obtained from the re-association request message, and the presence or absence of the The first hash table corresponding to the MAC address of the site, if the first hash table corresponding to the MAC address of the site does not exist, re-establish the first hash table corresponding to the MAC address of the site, and establish a corresponding hash table of the site.
  • the first site information table, and then the re-association response message is sent to the site.
  • the second fixed device is started, and the fixed length of the second fixed device is equal to the second preset time.
  • the first site information table corresponding to the site includes the MAC address of the site, and further includes a MAC address, an IP address, and an SSID (Service Set Identifier) of the access point that the site requests to access. , service set identifier) and / or WLAN ID (WLAN Identifier)
  • SSID Service Set Identifier
  • step S103 if the IP address update message is not received in the second preset time, the third hash table corresponding to the MAC address of the site and the initial IP address is obtained from the site. An initial IP address, reallocating the initial IP address to the site, and updating the initial IP address to a first site information table corresponding to the site.
  • the MAC address of the site and the initial IP address in the third hash table corresponding to the initial IP address are re-re- Assign to the site and update the initial IP address to the first site information table corresponding to the site.
  • CAPWAP Control And Provisioning of Wireless Access Points protocol
  • the site configuration request message carries site addition information.
  • the site add message is sent to the access point accessed by the site to notify the access point to add information about the site and process the Internet data of the site.
  • the Socket communication technology is used to change the site from the non-working state to the working state to process the data forwarding of the site.
  • the third hash table corresponding to the MAC address of the site and the initial IP address is used.
  • the initial IP address is reassigned to the site, allowing the site to quickly access the network, improving the access efficiency of the site.
  • the method further includes:
  • the new IP address is obtained from the IP address update message, and the new IP address is assigned to the site. And updating the new IP address to the first site information table corresponding to the site, establishing a third hash table corresponding to the MAC address of the site and the new IP address, and deleting the MAC address corresponding to the site and the initial IP address.
  • the third hash table if an IP address update message is received before the end of the second timer, the new IP address is obtained from the IP address update message, and the new IP address is assigned to the site. And updating the new IP address to the first site information table corresponding to the site, establishing a third hash table corresponding to the MAC address of the site and the new IP address, and deleting the MAC address corresponding to the site and the initial IP address.
  • the method further includes:
  • the deleting the first hash table corresponding to the MAC address of the site, and deleting the second hash table corresponding to the initial IP address of the site includes:
  • the method further includes:
  • the third hash table corresponding to the MAC address of the site and the initial IP address is deleted.
  • the third hash table corresponding to the MAC address of the site and the initial IP address is deleted.
  • the site configuration request message carries site deletion information. Sending the site deletion message to the access point accessed by the site to notify the access point that the site has left the network and delete the information of the site.
  • the message interface defined inside the system uses Socket (socket) communication technology to change the site from the working state to the non-working state, and stops processing the data forwarding of the site.
  • the embodiment of the present invention improves the access success rate of the site by adapting the message that does not conform to the wireless network protocol specification to the message conforming to the wireless network protocol specification, and improves the user's online experience;
  • the third hash table corresponding to the MAC address of the reserved station and the initial IP address is temporarily reserved, and if the re-association request message sent by the station is received in the first preset time, and the second preset is If the IP address update message is not received in the time, the IP address in the third hash table corresponding to the MAC address of the site and the initial IP address is reassigned to the site, thereby quickly re-accessing the network by using the initial IP address. , thereby improving the access efficiency of the site.
  • FIG. 2 is a flowchart of an implementation of a method for improving access efficiency of a site according to another embodiment of the present invention. Referring to FIG. 2:
  • step S201 when the association request message sent by the station is received, the MAC address of the station and the information of the access point requested by the station are obtained from the association request message.
  • the association request message is parsed to obtain the MAC address of the site and the access point (AP, where the site requests access) from the association request message.
  • the information of the Access Point is further queried according to the MAC address of the site to check whether there is a first hash table corresponding to the MAC address of the site.
  • step S202 if the first hash table corresponding to the MAC address of the site is queried, the first site information table corresponding to the site is obtained.
  • step S203 if the access point requested by the station is consistent with the access point stored in the first station information table, the association response message is replied to the station.
  • the first hash table corresponding to the MAC address of the site is queried, it indicates that the site sends the association request message again when the network is already connected.
  • the first hash table corresponding to the MAC address of the site is queried in the embodiment of the present invention. Obtaining the information of the access point requested by the site from the association request message, and obtaining the information of the stored access point from the first site information table corresponding to the site, and then requesting the access point of the site to access the site The information is compared with the information of the access point stored in the first site information table.
  • the 802.11 protocol directly responds to the association response message to the site without repeatedly performing access processing on the site, without Make a status change to the site.
  • the reply association response message to the site is specifically: The access point requesting access and the MAC address, IP address, SSID, and/or WLAN of the access point stored in the first site information table
  • step S204 when the disassociation request message of the station is received, the first hash table corresponding to the media access control MAC address of the site is deleted, and the first corresponding IP address of the site is deleted. Two hash tables, and delete the first site information table corresponding to the site.
  • step S205 if the re-association request message sent by the station is received in the first preset time, the first hash table corresponding to the MAC address of the site is re-established, and the site corresponding to the site is re-established.
  • step S206 if the IP address update message is not received in the second preset time, the third hash table corresponding to the MAC address of the site and the initial IP address is obtained from the site. An initial IP address, reallocating the initial IP address to the site, and updating the initial IP address to a first site information table corresponding to the site.
  • the method further includes:
  • the first hash table corresponding to the MAC address of the site is not queried, the first hash table corresponding to the MAC address of the site is established, and the site corresponding to the association request message is established.
  • the first site information table and then reply to the association response message to the site.
  • the site after receiving the association request message sent by the site, if the first hash table corresponding to the MAC address of the site is not queried, the site is established according to the MAC address of the site.
  • the first hash table corresponding to the MAC address, and the first site information table corresponding to the site is established according to the association request message, and then the association response message is replied to the site according to the 802.11 protocol.
  • the establishing, by the association request message, the first site information table corresponding to the site includes: [0057] obtaining, from the association request message, a MAC address of an access point that the station requests to access;
  • the establishing, by the association request message, the first site information table corresponding to the site includes: obtaining, by using an association request message, a MAC address of an access point that the site requests to access, and then The MAC address of the site and the MAC address of the access point that the site requests to access establish a first site information table corresponding to the site.
  • the first station information table includes the MAC address of the station and the MAC address of the access point that the station requests to access.
  • the establishing, by the association request message, the first site information table corresponding to the site includes: obtaining, from the association request message, a MAC address and an IP address of an access point that the site requests to access.
  • the address, the SSID, and/or the WLAN ID are used to establish a first site information table corresponding to the site according to the MAC address of the site and the MAC address, IP address, SSID, and/or WLAN ID of the access point that the site requests to access.
  • the first station information table includes the MAC address of the station, and further includes a MAC address, an IP address, an SSID, and/or a WLAN ID of the access point that the station requests to access.
  • the method further includes:
  • the third hash table is used to record the correspondence between the MAC address of the site and the IP address.
  • sending the site adding information corresponding to the site to the access point requested by the site to access is specifically :
  • the site configuration request message carries site addition information. Sending the site configuration request message to the access point that the site requests to access, to notify the access point to add information of the site, and forward the Internet access data of the site.
  • the method further includes: using a Socket communication technology to establish an AC recording site in an active state through a message interface defined in the AC system, and establishing a local site data forwarding relationship table to process the site Internet data.
  • the embodiment of the present invention improves the access success rate of the website and improves the online experience of the user by adapting the message that does not conform to the wireless network protocol specification to the message conforming to the wireless network protocol specification;
  • the association request message ⁇ obtains the MAC address of the site from the association request message, and determines whether the first hash table corresponding to the MAC address of the site can be queried, and if the MA C address corresponding to the site is queried a hash table, and the access point requested by the site is consistent with the access point stored in the first site information table corresponding to the site, and the reply response message is directly replied to the site without repeating the connection to the site. Into the processing, thereby improving the access efficiency of the site.
  • FIG. 3 is a flowchart of an implementation of a method for improving access efficiency of a site according to another embodiment of the present invention. Referring to FIG. 3:
  • step S301 when the association request message sent by the station is received, the medium access control MAC address of the site and the information of the access point requested by the station are obtained from the association request message.
  • step S302 if the first hash table corresponding to the MAC address of the site is queried, the first site information table corresponding to the site is obtained.
  • step S303 if the access point requested by the station is consistent with the access point stored in the first station information table, the association response message is replied to the station.
  • step S304 if the information of the access point that the station requests to access is inconsistent with the information of the access point stored in the first station information table, the access requested according to the station is requested.
  • the information of the point updates the first site information table, obtains a second site information table, and replies with an association response message to the site.
  • the first hash table corresponding to the MAC address of the site is queried, it indicates that the site sends the association request message again when the network is already connected. Since the resending of the association request message by the station in the case of accessing the network does not comply with the specification procedure of the wireless network protocol, in the embodiment of the present invention, if After the first hash table corresponding to the MAC address of the site is obtained, the first site information table corresponding to the site is obtained, the information of the stored access point is obtained from the first site information table, and the site is requested to access the connection. The information of the inbound point is compared with the information of the access point stored in the first station information table.
  • the information is inconsistent, it indicates that the station has roamed, that is, the station does not access the network through the original access point. If the information of the access point that the site requests to access is inconsistent with the information of the access point stored in the first site information table, update the first site information table according to the information of the access point that the site requests to access, and obtain the second site.
  • the information table in accordance with the 8 02.11 agreement, replies to the association response message to the site.
  • the information of the access point that the station requests to access is inconsistent with the information of the access point stored in the first station information table, and the specific information is: The MAC address, IP address, SSID, and/or WLAN ID of the access point stored in the site information table are inconsistent.
  • step S305 assigning a new IP address to the site according to DHCP, establishing a second hash table corresponding to the new IP address of the site, establishing a MAC address and a new IP address of the site. Corresponding third hash table.
  • the third hash table is used to record the correspondence between the MAC address of the site and the IP address.
  • the site is assigned a new IP address, and a second hash table corresponding to the new IP address of the site is established, and a third hash corresponding to the new IP address of the MAC address of the site is established. table.
  • step S306 the second site information table is updated according to the new IP address of the site, to obtain a third site information table.
  • the method further includes:
  • the second hash corresponding to the initial IP address of the site is deleted.
  • step S307 when the disassociation request message of the station is received, the first hash table corresponding to the media access control MAC address of the site is deleted, and the first corresponding IP address of the site is deleted. Two hash tables, and delete the first site information table corresponding to the site. [0083] In step S308, if the re-association request message sent by the station is received in the first preset time, the first hash table corresponding to the MAC address of the site is re-established, and the site corresponding to the site is re-established. The first site information table, and reply to the reassociation response message to the site.
  • step S309 if the IP address update message is not received in the second preset time, the third hash table corresponding to the MAC address of the site and the initial IP address is obtained from the site. An initial IP address, reallocating the initial IP address to the site, and updating the initial IP address to a first site information table corresponding to the site.
  • the method further includes:
  • the method further includes: updating a local site data forwarding relationship table by using a Socket communication technology through a message interface defined in the AC system, to process the Internet data of the site.
  • the first site information table is updated according to the information of the access point that the site requests to access
  • obtaining, from the association request message, a MAC address, an IP address, a service set identifier SSID, and/or a wireless local area network identifier WLAN ID of the access point that the station requests to access, and requesting access by the site The MAC address, IP address, SSID, and/or WLAN ID of the access point are added to the first site information table to obtain the second site information table.
  • the first site information table needs to be updated, specifically, Delete all the information of the access point stored in the first site information table, obtain the MAC address, IP address, SSID, and/or WLAN ID of the access point requested by the site from the association request message, and connect the site request Incoming
  • the MAC address, IP address, SSID, and/or WLAN ID of the ingress are added to the first site information table to obtain a second site information table.
  • the embodiment of the present invention improves the access success rate of the site by adapting the message that does not conform to the wireless network protocol specification to the message conforming to the wireless network protocol specification, and prevents the site from using the network after roaming, thereby improving the user.
  • Internet access experience when receiving the association request message sent by the site, and the information of the access point requested by the site is inconsistent with the information of the access point stored in the first site information table, it is determined that the site has roamed, that is, switched The access point is executed, and the process of switching the access point is performed, thereby preventing the site from being unable to access the network or using the network after accessing the network, thereby improving the user's online experience.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be taken to the embodiment of the present invention.
  • the implementation process constitutes any limitation.
  • FIG. 4 is a structural block diagram of an apparatus for improving access efficiency of a station according to an embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the first deleting unit 401 is configured to: when receiving the disassociation request message of the site, delete the first hash table corresponding to the media access control MAC address of the site, and delete the initial Internet Protocol IP address of the site. Corresponding second hash table, and deleting the first site information table corresponding to the site;
  • the first establishing unit 402 is configured to: if the re-association request message sent by the station is received in the first preset time, re-establish the first hash table corresponding to the MAC address of the site and the Determining a first site information table corresponding to the site, and replying to the re-association response message to the site;
  • the first IP address allocating unit 403 is configured to: if the IP address update message is not received in the second preset time, the third hash table corresponding to the MAC address of the site and the initial IP address is used. Obtaining an initial IP address of the site, reallocating the initial IP address to the site, and updating the initial IP address to a first site information table corresponding to the site.
  • the device further includes:
  • the second IP address allocating unit 404 is configured to: if the IP address update message is received in the second preset time, obtain a new IP address from the IP address update message, The new IP address is assigned to the site, and the new IP address is updated to the first site information table corresponding to the site.
  • the device further includes:
  • the second establishing unit 405 is configured to establish a third hash table corresponding to the MAC address of the site and the new IP address.
  • the second deleting unit 406 is configured to delete a third hash table corresponding to the MAC address of the site and the initial IP address.
  • the first deleting unit 401 is specifically configured to:
  • the device further includes:
  • the third deleting unit 407 is configured to: if the re-association request message sent by the station is not received in the first preset time, delete the MAC address of the station and the initial IP address.
  • the third hash table is configured to: if the re-association request message sent by the station is not received in the first preset time, delete the MAC address of the station and the initial IP address.
  • the embodiment of the present invention improves the access success rate of the website and improves the online experience of the user by adapting the message that does not conform to the wireless network protocol specification to the message conforming to the wireless network protocol specification;
  • the third hash table corresponding to the MAC address of the reserved station and the initial IP address is temporarily reserved, and if the re-association request message sent by the station is received in the first preset time, and the second preset is If the IP address update message is not received in the time, the IP address in the third hash table corresponding to the MAC address of the site and the initial IP address is reassigned to the site, thereby quickly re-accessing the network by using the initial IP address. , thereby improving the access efficiency of the site.
  • the device further includes:
  • the first obtaining unit 408 is configured to: when receiving an association request message sent by the station, obtain, from the association request message, a MAC address of the site and information of an access point that the site requests to access;
  • the second obtaining unit 409 is configured to: if the first hash table corresponding to the MAC address of the site is queried, obtain the first site information table corresponding to the site;
  • the first response unit 410 is configured to: when the access point requested by the station is consistent with the access point stored in the first station information table, reply the association response message to the station.
  • the device further includes:
  • the second response unit 411 is configured to: if the first hash table corresponding to the MAC address of the site is not queried, establish a first hash table corresponding to the MAC address of the site, and according to the The association request message establishes a first site information table corresponding to the site, and then replies the association response message to the site.
  • the second response unit 411 is specifically configured to:
  • the device further includes:
  • the third establishing unit 412 is configured to allocate an internet protocol IP address to the site according to the dynamic host configuration protocol, and establish a second hash table corresponding to the IP address of the site, and establish a MAC address of the site. a third hash table corresponding to the IP address of the site;
  • the first site information table updating unit 413 is configured to update the IP address of the site into the first site information table.
  • the device further includes:
  • the first sending unit 414 is configured to send the site adding information corresponding to the site to the access point that the site requests to access.
  • the embodiment of the present invention improves the access success rate of the website and improves the online experience of the user by adapting the message that does not conform to the wireless network protocol specification to the message conforming to the wireless network protocol specification;
  • the association request message ⁇ obtains the MAC address of the site from the association request message, and determines whether the first hash table corresponding to the MAC address of the site can be queried, and if the MA C address corresponding to the site is queried a hash table, and the access point requested by the site is consistent with the access point stored in the first site information table corresponding to the site, and the reply response message is directly replied to the site without repeating the connection to the site. Into the processing, thereby improving the access efficiency of the site.
  • the device further includes:
  • the second site information table updating unit 415 is configured to: if the information of the access point that the site requests to access is inconsistent with the information of the access point stored in the first site information table, according to the site Information of the access point requesting access to update the first site information table, obtain a second site information table, and reply to the association Message to the site;
  • the fourth establishing unit 416 is configured to allocate a new IP address to the site according to DHCP, establish a second hash table corresponding to the new IP address of the site, and establish a MAC address of the site and a new The third hash table corresponding to the IP address;
  • the second site information table updating unit 415 is further configured to update the second site information table according to the new IP address of the site to obtain a third site information table.
  • the device further includes:
  • the fourth deleting unit 417 is configured to delete a second hash table corresponding to the initial IP address of the site, and delete a third hash table corresponding to the MAC address of the site and the initial IP address.
  • the device further includes:
  • the second sending unit 418 is configured to send site deletion information corresponding to the site to an access point stored in the first site information table.
  • the second site information table updating unit 415 is specifically configured to:
  • obtaining, from the association request message, a MAC address, an IP address, a service set identifier SSID, and/or a wireless local area network identifier WLAN ID of the access point that the station requests to access, and requesting access by the site The MAC address, IP address, SSID, and/or WLAN ID of the access point are added to the first site information table to obtain the second site information table.
  • the embodiment of the present invention improves the access success rate of the site by adapting the message that does not conform to the wireless network protocol specification to the message conforming to the wireless network protocol specification, and prevents the site from using the network after roaming, thereby improving the user.
  • Internet access experience when receiving the association request message sent by the site, and the information of the access point requested by the site is inconsistent with the information of the access point stored in the first site information table, it is determined that the site has roamed, that is, switched The access point is executed, and the process of switching the access point is performed, thereby preventing the site from being unable to access the network or using the network after accessing the network, thereby improving the user's online experience.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be through some interface, indirect coupling or communication connection of the unit, and may be in electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (ROM, Read-Only)
  • RAM random access memory
  • disk disk or optical disk, and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明适用于通信技术领域,提供了提高站点的接入效率的方法及装置。该方法包括:当接收到站点的解除关联请求消息时,删除站点的介质访问控制MAC地址对应的第一哈希表,删除站点的初始网际协议IP地址对应的第二哈希表,并删除站点对应的站点信息表;若在第一预设时间内接收到站点发送的关联请求消息,则重新建立站点的MAC地址对应的第一哈希表以及站点对应的站点信息表,并回复关联响应消息至站点;若在第二预设时间内未接收到IP地址更新消息,则从站点的MAC地址和初始IP地址对应的第三哈希表中获取站点的初始IP地址,将初始IP地址重新分配给站点,并将初始IP地址更新至站点对应的站点信息表中。本发明提高了站点的接入效率。

Description

说明书 发明名称:提高站点的接入效率的方法及装置 技术领域
[0001] 本发明属于通信技术领域, 尤其涉及提高站点的接入效率的方法及装置。
背景技术
[0002] 随着智能手机、 平板电脑和智能手环等移动终端的普及, 人们的上网方式发生 了变化, 越来越多的场所提供公共 Wi-Fi (Wireless Fidelity, 无线保真技术) 。 但是, 目前一些站点 (STA, Station) 对于无线网络协议的支持度不高, 导致一 些站点无法接入 WLAN (Wireless Local Area Network, 无线局域网) , 或者接入 效率较低, 或者接入后无法使用网络, 大大影响了用户的上网体验。
技术问题
[0003] 鉴于此, 本发明实施例提供了一种提高站点的接入效率的方法及装置, 以解决 现有技术中的一些站点对于无线网络协议的支持度不高, 导致接入效率较低的 问题。
问题的解决方案
技术解决方案
[0004] 第一方面, 本发明实施例提供了一种提高站点的接入效率的方法, 包括: [0005] 当接收到站点的解除关联请求消息吋, 刪除所述站点的介质访问控制 MAC地 址对应的第一哈希表, 刪除所述站点的初始网际协议 IP地址对应的第二哈希表, 并刪除所述站点对应的第一站点信息表;
[0006] 若在第一预设吋间内接收到所述站点发送的重关联请求消息, 则重新建立所述 站点的 MAC地址对应的第一哈希表以及所述站点对应的第一站点信息表, 并回 复重关联响应消息至所述站点;
[0007] 若在第二预设吋间内未接收到 IP地址更新消息, 则从所述站点的 MAC地址和初 始 IP地址对应的第三哈希表中获取所述站点的初始 IP地址, 将所述初始 IP地址重 新分配给所述站点, 并将所述初始 IP地址更新至所述站点对应的第一站点信息表 中。 [0008] 第二方面, 本发明实施例提供了一种提高站点的接入效率的装置, 包括: [0009] 第一刪除单元, 用于当接收到站点的解除关联请求消息吋, 刪除所述站点的介 质访问控制 MAC地址对应的第一哈希表, 刪除所述站点的初始网际协议 IP地址 对应的第二哈希表, 并刪除所述站点对应的第一站点信息表;
[0010] 第一建立单元, 用于若在第一预设吋间内接收到所述站点发送的重关联请求消 息, 则重新建立所述站点的 MAC地址对应的第一哈希表以及所述站点对应的第 一站点信息表, 并回复重关联响应消息至所述站点;
[0011] 第一 IP地址分配单元, 用于若在第二预设吋间内未接收到 IP地址更新消息, 则 从所述站点的 MAC地址和初始 IP地址对应的第三哈希表中获取所述站点的初始 I
P地址, 将所述初始 IP地址重新分配给所述站点, 并将所述初始 IP地址更新至所 述站点对应的第一站点信息表中。
发明的有益效果
有益效果
[0012] 本发明实施例与现有技术相比存在的有益效果是: 本发明实施例通过将不符合 无线网络协议规范的消息适配成符合无线网络协议规范的消息, 从而提高了站 点的接入成功率, 提高了用户的上网体验; 当接收到站点的解除关联请求消息 后, 暂吋保留站点的 MAC地址和初始 IP地址对应的第三哈希表, 若在第一预设 吋间内接收到站点发送的重关联请求消息, 且在第二预设吋间内未接收到 IP地址 更新消息, 则将站点的 MAC地址和初始 IP地址对应的第三哈希表中的 IP地址重 新分配给该站点, 由此利用初始 IP地址快速地再次接入网络, 从而提高了站点的 接入效率。
对附图的简要说明
附图说明
[0013] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。
[0014] 图 1是本发明实施例提供的提高站点的接入效率的方法的实现流程图; [0015] 图 2是本发明另一实施例提供的提高站点的接入效率的方法的实现流程图; [0016] 图 3是本发明另一实施例提供的提高站点的接入效率的方法的实现流程图; [0017] 图 4是本发明实施例提供的提高站点的接入效率的装置的结构框图。
本发明的实施方式
[0018] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。
[0019] 图 1示出了本发明实施例提供的提高站点的接入效率的方法的实现流程图, 详 述如下:
[0020] 在步骤 S101中, 当接收到站点的解除关联请求消息吋, 刪除所述站点的介质访 问控制 MAC地址对应的第一哈希表, 刪除所述站点的初始网际协议 IP地址对应 的第二哈希表, 并刪除所述站点对应的第一站点信息表。
[0021] 需要说明的是, 本发明实施例的执行主体可以为 AC (Access Controller, 接入 控制器) 。 本发明实施例中的站点指的是无线站点, 如智能手机、 平板电脑和 智能手环等。
[0022] 在本发明实施例中, 解除关联请求消息可以为去关联请求 (Disassociation
Request) 消息或者去鉴权请求 (Deauthentication Request) 消息。 站点将解除关 联请求消息发送至接入点, 接入点将解除关联请求消息转发至 AC。 在这里, 接 入点指的是站点当前接入的接入点。
[0023] 在本发明实施例中, 接收到站点的解除关联请求消息后, 按照 802.11协议解析 解除关联请求消息, 以从解除关联请求消息中获取该站点的 MAC (Media Access Control, 介质访问控制) 地址。 根据该站点的 MAC地址査找该站点的 MAC地址 对应的第一哈希表, 并刪除该站点的 MAC地址对应的第一哈希表。 通过该站点 对应的第一站点信息表获取该站点的初始 IP (Internet Protocol, 网际协议) 地址 后, 根据该站点的初始 IP地址査找该站点的初始 IP地址对应的第二哈希表, 并刪 除该站点的初始 IP地址对应的第二哈希表。 刪除该站点对应的第一站点信息表中 的所有信息, 保留该站点的 MAC地址和 IP地址对应的第三哈希表, 并启动第一 定吋器, 该第一定吋器的定吋吋长等于第一预设吋间。
[0024] 在步骤 S102中, 若在第一预设吋间内接收到所述站点发送的重关联请求消息, 则重新建立所述站点的 MAC地址对应的第一哈希表以及所述站点对应的第一站 点信息表, 并回复重关联响应消息至所述站点。
[0025] 在本发明实施例中, 若在第一定吋器计吋结束前接收到站点发送的重关联请求 消息, 则从重关联请求消息中获取该站点的 MAC地址, 并査询是否存在该站点 的 MAC地址对应的第一哈希表, 若不存在该站点的 MAC地址对应的第一哈希表 , 则重新建立该站点的 MAC地址对应的第一哈希表, 并建立该站点对应的第一 站点信息表, 再回复重关联响应消息至该站点。 启动第二定吋器, 该第二定吋 器的定吋吋长等于第二预设吋间。
[0026] 作为本发明的一个实施例, 该站点对应的第一站点信息表包括该站点的 MAC 地址, 还包括该站点请求接入的接入点的 MAC地址、 IP地址、 SSID (Service Set Identifier, 服务集标识) 和 /或 WLAN ID (WLAN Identifier, 无线局域网标识)
[0027] 在步骤 S103中, 若在第二预设吋间内未接收到 IP地址更新消息, 则从所述站点 的 MAC地址和初始 IP地址对应的第三哈希表中获取所述站点的初始 IP地址, 将 所述初始 IP地址重新分配给所述站点, 并将所述初始 IP地址更新至所述站点对应 的第一站点信息表中。
[0028] 若在第二定吋器定吋结束前未接收到 DHCP服务器发送的 IP地址更新消息, 则 将该站点的 MAC地址和初始 IP地址对应的第三哈希表中的初始 IP地址重新分配 给该站点, 并将初始 IP地址更新至该站点对应的第一站点信息表中。 此外, 按照 CAPWAP (Control And Provisioning of Wireless Access Points protocol
specification, 无线接入点的控制和配置协议) , 组成标准的站点配置请求消息 , 该站点配置请求消息携带站点添加信息。 将该站点添加消息发送至该站点接 入的接入点, 以通知该接入点添加该站点的信息, 并处理该站点的上网数据。 此外, 通过 AC***内部定义的消息接口, 使用 Socket通信技术, 将该站点由非 工作态变更为工作态, 以处理该站点的数据转发。
[0029] 在本发明实施例中, 通过将站点的 MAC地址和初始 IP地址对应的第三哈希表中 的初始 IP地址重新分配给该站点, 使该站点快速接入网络, 提高了站点的接入效 率。
[0030] 优选地, 在所述回复重关联响应消息至所述站点之后, 所述方法还包括:
[0031] 若在所述第二预设吋间内接收到所述 IP地址更新消息, 则从所述 IP地址更新消 息中获取新的 IP地址, 将所述新的 IP地址分配给所述站点, 并将所述新的 IP地址 更新至所述站点对应的第一站点信息表中。
[0032] 在本发明实施例中, 若在第二定吋器计吋结束前接收到 IP地址更新消息, 则从 I P地址更新消息中获取新的 IP地址, 将新的 IP地址分配给站点, 并将新的 IP地址 更新至站点对应的第一站点信息表中, 建立该站点的 MAC地址和新的 IP地址对 应的第三哈希表, 并刪除该站点的 MAC地址和初始 IP地址对应的第三哈希表。
[0033] 优选地, 在所述将所述新的 IP地址更新至所述站点对应的第一站点信息表中之 后, 所述方法还包括:
[0034] 建立所述站点的 MAC地址和新的 IP地址对应的第三哈希表;
[0035] 刪除所述站点的 MAC地址和初始 IP地址对应的第三哈希表。
[0036] 优选地, 所述刪除所述站点的 MAC地址对应的第一哈希表, 刪除所述站点的 初始 IP地址对应的第二哈希表包括:
[0037] 从所述解除关联请求消息中获取所述站点的 MAC地址, 并刪除所述站点的 MA C地址对应的第一哈希表;
[0038] 从所述站点对应的第一站点信息表中获取所述站点的初始 IP地址, 并刪除所述 站点的初始 IP地址对应的第二哈希表。
[0039] 优选地, 在所述刪除所述站点对应的第一站点信息表之后, 所述方法还包括:
[0040] 若未在所述第一预设吋间内接收到所述站点发送的所述重关联请求消息, 则刪 除所述站点的 MAC地址和初始 IP地址对应的第三哈希表。
[0041] 在本发明实施例中, 若第一定吋器计吋结束后仍未接收到站点发送的重关联请 求消息, 则刪除该站点的 MAC地址和初始 IP地址对应的第三哈希表, 以确保 AC 中无冗余数据。 此外, 按照 CAPWAP, 组成标准的站点配置请求消息, 该站点 配置请求消息携带站点刪除信息。 将该站点刪除消息发送至该站点接入的接入 点, 以通知该接入点该站点已离幵网络, 并刪除该站点的信息。 此外, 通过 AC ***内部定义的消息接口, 使用 Socket (套接字) 通信技术, 将该站点由工作态 变更为非工作态, 停止处理该站点的数据转发。
[0042] 本发明实施例通过将不符合无线网络协议规范的消息适配成符合无线网络协议 规范的消息, 从而提高了站点的接入成功率, 提高了用户的上网体验; 当接收 到站点的解除关联请求消息后, 暂吋保留站点的 MAC地址和初始 IP地址对应的 第三哈希表, 若在第一预设吋间内接收到站点发送的重关联请求消息, 且在第 二预设吋间内未接收到 IP地址更新消息, 则将站点的 MAC地址和初始 IP地址对 应的第三哈希表中的 IP地址重新分配给该站点, 由此利用初始 IP地址快速地再次 接入网络, 从而提高了站点的接入效率。
[0043] 图 2示出了本发明另一实施例提供的提高站点的接入效率的方法的实现流程图 , 参照图 2:
[0044] 在步骤 S201中, 当接收到站点发送的关联请求消息吋, 从所述关联请求消息中 获取所述站点的 MAC地址以及所述站点请求接入的接入点的信息。
[0045] 在本发明实施例中, 当接收到站点发送的关联请求消息后, 解析关联请求消息 , 以从关联请求消息中获取该站点的 MAC地址以及站点请求接入的接入点 (AP , Access Point) 的信息, 再根据该站点的 MAC地址査询是否存在该站点的 MAC 地址对应的第一哈希表。
[0046] 在步骤 S202中, 若査询到站点的 MAC地址对应的第一哈希表, 则获取站点对 应的第一站点信息表。
[0047] 在步骤 S203中, 若所述站点请求接入的接入点与所述第一站点信息表中存储的 接入点一致, 则回复关联响应消息至所述站点。
[0048] 若査询到该站点的 MAC地址对应的第一哈希表, 则表明该站点在已接入网络 的情况下再次发送关联请求消息。 由于站点在已接入网络的情况下再次发送关 联请求消息不符合无线网络协议的规范流程, 因此, 在本发明实施例中, 若査 询到站点的 MAC地址对应的第一哈希表, 则从关联请求消息中获取该站点请求 接入的接入点的信息, 并从该站点对应的第一站点信息表中获取存储的接入点 的信息, 再将该站点请求接入的接入点的信息与第一站点信息表中存储的接入 点的信息相比较, 若一致, 则表明该站点未切换网络, 该站点还是通过原来的 接入点接入网络。 当该站点请求接入的接入点与第一站点信息表中存储的接入 点一致吋, 按照 802.11协议, 直接回复关联响应消息至该站点, 而无需重复对该 站点进行接入处理, 无需对该站点进行状态变更。
[0049] 可选地, 若所述站点请求接入的接入点与所述第一站点信息表中存储的接入点 一致, 则回复关联响应消息至所述站点具体为: 若所述站点请求接入的接入点 与所述第一站点信息表中存储的接入点的 MAC地址、 IP地址、 SSID和 /或 WLAN
ID—致, 则回复关联响应消息至所述站点。
[0050] 在步骤 S204中, 当接收到站点的解除关联请求消息吋, 刪除所述站点的介质访 问控制 MAC地址对应的第一哈希表, 刪除所述站点的初始网际协议 IP地址对应 的第二哈希表, 并刪除所述站点对应的第一站点信息表。
[0051] 在步骤 S205中, 若在第一预设吋间内接收到所述站点发送的重关联请求消息, 则重新建立所述站点的 MAC地址对应的第一哈希表以及所述站点对应的第一站 点信息表, 并回复重关联响应消息至所述站点。
[0052] 在步骤 S206中, 若在第二预设吋间内未接收到 IP地址更新消息, 则从所述站点 的 MAC地址和初始 IP地址对应的第三哈希表中获取所述站点的初始 IP地址, 将 所述初始 IP地址重新分配给所述站点, 并将所述初始 IP地址更新至所述站点对应 的第一站点信息表中。
[0053] 优选地, 在所述从所述关联请求消息中获取所述站点的介质访问控制 MAC地 址以及所述站点请求接入的接入点的信息之后, 所述方法还包括:
[0054] 若査询不到所述站点的 MAC地址对应的第一哈希表, 则建立所述站点的 MAC 地址对应的第一哈希表, 并根据所述关联请求消息建立所述站点对应的第一站 点信息表, 再回复所述关联响应消息至所述站点。
[0055] 在本发明实施例中, 当接收到站点发送的关联请求消息后, 若査询不到该站点 的 MAC地址对应的第一哈希表, 则根据该站点的 MAC地址建立该站点的 MAC地 址对应的第一哈希表, 并根据关联请求消息建立该站点对应的第一站点信息表 , 再按照 802.11协议回复关联响应消息至该站点。
[0056] 优选地, 所述根据所述关联请求消息建立所述站点对应的第一站点信息表包括 [0057] 从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址;
[0058] 根据所述站点的 MAC地址以及所述站点请求接入的接入点的 MAC地址建立所 述站点对应的第一站点信息表。
[0059] 作为本发明的一个实施例, 根据所述关联请求消息建立所述站点对应的第一站 点信息表包括: 从关联请求消息中获取站点请求接入的接入点的 MAC地址, 再 根据站点的 MAC地址以及站点请求接入的接入点的 MAC地址建立站点对应的第 一站点信息表。 在本发明实施例中, 第一站点信息表包括站点的 MAC地址以及 站点请求接入的接入点的 MAC地址。
[0060] 作为本发明的另一个实施例, 根据所述关联请求消息建立所述站点对应的第一 站点信息表包括: 从关联请求消息中获取站点请求接入的接入点的 MAC地址、 I P地址、 SSID和 /或 WLAN ID, 再根据站点的 MAC地址以及站点请求接入的接入 点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID建立站点对应的第一站点信息表。 在本发明实施例中, 第一站点信息表包括站点的 MAC地址, 还包括站点请求接 入的接入点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID。
[0061] 优选地, 在所述根据所述关联请求消息建立所述站点对应的第一站点信息表, 再回复所述关联响应消息至所述站点之后, 所述方法还包括:
[0062] 根据动态主机配置协议 DHCP为所述站点分配网际协议 IP地址, 并建立所述站 点的 IP地址对应的第二哈希表;
[0063] 建立所述站点的 MAC地址与所述站点的 IP地址对应的第三哈希表;
[0064] 将所述站点的 IP地址更新至所述第一站点信息表中。
[0065] 在本发明实施例中, 当接收到站点发送的关联请求消息后, 若査询不到该站点 的 MAC地址对应的第一哈希表, 则在建立该站点的 MAC地址对应的第一哈希表 、 该站点对应的第一站点信息表以及回复关联响应消息至该站点后, 根据 DHCP
(Dynamic Host Configuration Protocol, 动态主机配置协议) 为该站点分配 IP地 址, 建立该站点的 IP地址对应的第二哈希表, 建立该站点的 MAC地址与 IP地址 对应的第三哈希表, 并将该站点的 IP地址更新至该站点对应的第一站点信息表中 。 其中, 第三哈希表用于记录站点的 MAC地址与 IP地址的对应关系。
[0066] 其中, 发送所述站点对应的站点添加信息至所述站点请求接入的接入点具体为 : 按照 CAPWAP组成标准的站点配置请求消息, 该站点配置请求消息携带站点 添加信息。 将该站点配置请求消息发送至站点请求接入的接入点, 以通知该接 入点添加该站点的信息, 并转发该站点的上网数据。
[0067] 作为本发明的一个实施例, 该方法还包括: 通过 AC***内部定义的消息接口 , 使用 Socket通信技术, 使 AC记录站点处于工作态, 并建立本地站点数据转发 关系表, 以处理站点的上网数据。
[0068] 本发明实施例通过将不符合无线网络协议规范的消息适配成符合无线网络协议 规范的消息, 从而提高了站点的接入成功率, 提高了用户的上网体验; 当接收 到站点发送的关联请求消息吋, 从关联请求消息中获取站点的 MAC地址, 并判 断是否能够査询到该站点的 MAC地址对应的第一哈希表, 若査询到该站点的 MA C地址对应的第一哈希表, 且该站点请求接入的接入点与该站点对应的第一站点 信息表中存储的接入点一致, 则直接回复关联响应消息至该站点, 而无需重复 对站点进行接入处理, 从而提高了站点的接入效率。
[0069] 图 3示出了本发明另一实施例提供的提高站点的接入效率的方法的实现流程图 , 参照图 3:
[0070] 在步骤 S301中, 当接收到站点发送的关联请求消息吋, 从所述关联请求消息中 获取所述站点的介质访问控制 MAC地址以及所述站点请求接入的接入点的信息
[0071] 在步骤 S302中, 若査询到所述站点的 MAC地址对应的第一哈希表, 则获取所 述站点对应的第一站点信息表。
[0072] 在步骤 S303中, 若所述站点请求接入的接入点与所述第一站点信息表中存储的 接入点一致, 则回复关联响应消息至所述站点。
[0073] 在步骤 S304中, 若所述站点请求接入的接入点的信息与所述第一站点信息表中 存储的接入点的信息不一致, 则根据所述站点请求接入的接入点的信息更新所 述第一站点信息表, 得到第二站点信息表, 并回复关联响应消息至所述站点。
[0074] 若査询到该站点的 MAC地址对应的第一哈希表, 则表明该站点在已接入网络 的情况下再次发送关联请求消息。 由于站点在已接入网络的情况下再次发送关 联请求消息不符合无线网络协议的规范流程, 因此, 在本发明实施例中, 若査 询到站点的 MAC地址对应的第一哈希表, 则获取站点对应的第一站点信息表, 从第一站点信息表中获取存储的接入点的信息, 再将该站点请求接入的接入点 的信息与第一站点信息表中存储的接入点的信息相比较, 若不一致, 则表明该 站点发生了漫游, 即该站点不是通过原来的接入点接入网络。 若站点请求接入 的接入点的信息与第一站点信息表中存储的接入点的信息不一致, 则根据站点 请求接入的接入点的信息更新第一站点信息表, 得到第二站点信息表, 再按照 8 02.11协议, 回复关联响应消息至站点。
[0075] 作为本发明的一个实施例, 站点请求接入的接入点的信息与第一站点信息表中 存储的接入点的信息不一致具体为: 站点请求接入的接入点与第一站点信息表 中存储的接入点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID不一致。
[0076] 在步骤 S305中, 根据 DHCP为所述站点分配一个新的 IP地址, 建立所述站点的 新的 IP地址对应的第二哈希表, 建立所述站点的 MAC地址与新的 IP地址对应的 第三哈希表。
[0077] 其中, 第三哈希表用于记录站点的 MAC地址与 IP地址的对应关系。 在这里, 根 据 DHCP为该站点分配一个新的 IP地址, 并建立该站点的新的 IP地址对应的第二 哈希表, 以及建立该站点的 MAC地址与新的 IP地址对应的第三哈希表。
[0078] 在步骤 S306中, 根据所述站点的新的 IP地址更新所述第二站点信息表, 得到第 三站点信息表。
[0079] 在所述回复关联响应消息至所述站点之后, 所述根据 DHCP为所述站点分配一 个新的 IP地址之前, 所述方法还包括:
[0080] 刪除所述站点的初始 IP地址对应的第二哈希表, 并刪除所述站点的 MAC地址和 初始 IP地址对应的第三哈希表。
[0081] 在本发明实施例中, 若站点请求接入的接入点的信息与第一站点信息表中存储 的接入点的信息不一致, 则刪除站点的初始 IP地址对应的第二哈希表, 并刪除站 点的 MAC地址和初始 IP地址对应的第三哈希表, 以避免 AC中存储冗余数据。
[0082] 在步骤 S307中, 当接收到站点的解除关联请求消息吋, 刪除所述站点的介质访 问控制 MAC地址对应的第一哈希表, 刪除所述站点的初始网际协议 IP地址对应 的第二哈希表, 并刪除所述站点对应的第一站点信息表。 [0083] 在步骤 S308中, 若在第一预设吋间内接收到所述站点发送的重关联请求消息, 则重新建立所述站点的 MAC地址对应的第一哈希表以及所述站点对应的第一站 点信息表, 并回复重关联响应消息至所述站点。
[0084] 在步骤 S309中, 若在第二预设吋间内未接收到 IP地址更新消息, 则从所述站点 的 MAC地址和初始 IP地址对应的第三哈希表中获取所述站点的初始 IP地址, 将 所述初始 IP地址重新分配给所述站点, 并将所述初始 IP地址更新至所述站点对应 的第一站点信息表中。
[0085] 优选地, 在所述得到第三站点信息表之后, 所述方法还包括:
[0086] 发送所述站点对应的站点添加信息至所述站点请求接入的接入点。
[0087] 在得到第三站点信息表后, 按照 CAPWAP, 组成站点添加信息, 并将该站点添 加信息发送至站点请求接入的接入点, 以通知该站点请求接入的接入点添加该 站点的信息, 并转发该站点的上网数据。 按照 CAPWAP组成站点刪除信息, 并 将该站点刪除信息发送至第一站点信息表中存储的接入点, 以使第一站点信息 表中存储的接入点刪除该站点的信息, 并停止处理该站点的上网数据。
[0088] 作为本发明的一个实施例, 该方法还包括: 通过 AC***内部定义的消息接口 , 使用 Socket通信技术, 更新本地站点数据转发关系表, 以处理站点的上网数据
[0089] 优选地, 所述根据所述站点请求接入的接入点的信息更新所述第一站点信息表
, 得到第二站点信息表包括:
[0090] 刪除所述第一站点信息表中存储的接入点的所有信息;
[0091] 从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址、 IP地址、 服务集标识 SSID和 /或无线局域网标识 WLAN ID, 并将所述站点请求接入的接入 点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID添加到所述第一站点信息表中, 得 到所述第二站点信息表。
[0092] 在本发明实施例中, 若站点请求接入的接入点的信息与第一站点信息表中存储 的接入点的信息不一致, 则需要对第一站点信息表进行更新, 具体地, 刪除第 一站点信息表中存储的接入点的所有信息, 从关联请求消息中获取站点请求接 入的接入点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID, 并将站点请求接入的接 入点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID添加到第一站点信息表中, 得到 第二站点信息表。
[0093] 本发明实施例通过将不符合无线网络协议规范的消息适配成符合无线网络协议 规范的消息, 从而提高了站点的接入成功率, 避免站点在漫游后无法使用网络 , 提高了用户的上网体验; 当接收到站点发送的关联请求消息, 且站点请求接 入的接入点的信息与第一站点信息表中存储的接入点的信息不一致吋, 判定站 点发生了漫游, 即切换了接入点, 并执行切换接入点的流程, 由此避免站点无 法接入网络或者在接入网络后无法使用网络, 提高了用户的上网体验。
[0094] 应理解, 在本发明实施例中, 上述各过程的序号的大小并不意味着执行顺序的 先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例 的实施过程构成任何限定。
[0095] 图 4示出了本发明实施例提供的提高站点的接入效率的装置的结构框图。 为了 便于说明, 仅示出了与本发明实施例相关的部分。
[0096] 参照图 4, 该装置包括:
[0097] 第一刪除单元 401, 用于当接收到站点的解除关联请求消息吋, 刪除所述站点 的介质访问控制 MAC地址对应的第一哈希表, 刪除所述站点的初始网际协议 IP 地址对应的第二哈希表, 并刪除所述站点对应的第一站点信息表;
[0098] 第一建立单元 402, 用于若在第一预设吋间内接收到所述站点发送的重关联请 求消息, 则重新建立所述站点的 MAC地址对应的第一哈希表以及所述站点对应 的第一站点信息表, 并回复重关联响应消息至所述站点;
[0099] 第一 IP地址分配单元 403, 用于若在第二预设吋间内未接收到 IP地址更新消息 , 则从所述站点的 MAC地址和初始 IP地址对应的第三哈希表中获取所述站点的 初始 IP地址, 将所述初始 IP地址重新分配给所述站点, 并将所述初始 IP地址更新 至所述站点对应的第一站点信息表中。
[0100] 优选地, 所述装置还包括:
[0101] 第二 IP地址分配单元 404, 用于若在所述第二预设吋间内接收到所述 IP地址更 新消息, 则从所述 IP地址更新消息中获取新的 IP地址, 将所述新的 IP地址分配给 所述站点, 并将所述新的 IP地址更新至所述站点对应的第一站点信息表中。 [0102] 优选地, 所述装置还包括:
[0103] 第二建立单元 405, 用于建立所述站点的 MAC地址和新的 IP地址对应的第三哈 希表;
[0104] 第二刪除单元 406, 用于刪除所述站点的 MAC地址和初始 IP地址对应的第三哈 希表。
[0105] 优选地, 所述第一刪除单元 401具体用于:
[0106] 从所述解除关联请求消息中获取所述站点的 MAC地址, 并刪除所述站点的 MA
C地址对应的第一哈希表;
[0107] 从所述站点对应的第一站点信息表中获取所述站点的初始 IP地址, 并刪除所述 站点的初始 IP地址对应的第二哈希表。
[0108] 优选地, 所述装置还包括:
[0109] 第三刪除单元 407, 用于若未在所述第一预设吋间内接收到所述站点发送的所 述重关联请求消息, 则刪除所述站点的 MAC地址和初始 IP地址对应的第三哈希 表。
[0110] 本发明实施例通过将不符合无线网络协议规范的消息适配成符合无线网络协议 规范的消息, 从而提高了站点的接入成功率, 提高了用户的上网体验; 当接收 到站点的解除关联请求消息后, 暂吋保留站点的 MAC地址和初始 IP地址对应的 第三哈希表, 若在第一预设吋间内接收到站点发送的重关联请求消息, 且在第 二预设吋间内未接收到 IP地址更新消息, 则将站点的 MAC地址和初始 IP地址对 应的第三哈希表中的 IP地址重新分配给该站点, 由此利用初始 IP地址快速地再次 接入网络, 从而提高了站点的接入效率。
[0111] 优选地, 所述装置还包括:
[0112] 第一获取单元 408, 用于当接收到站点发送的关联请求消息吋, 从所述关联请 求消息中获取所述站点的 MAC地址以及所述站点请求接入的接入点的信息;
[0113] 第二获取单元 409, 用于若査询到所述站点的 MAC地址对应的第一哈希表, 则 获取所述站点对应的第一站点信息表;
[0114] 第一响应单元 410, 用于若所述站点请求接入的接入点与所述第一站点信息表 中存储的接入点一致, 则回复关联响应消息至所述站点。 [0115] 优选地, 所述装置还包括:
[0116] 第二响应单元 411, 用于若査询不到所述站点的 MAC地址对应的第一哈希表, 则建立所述站点的 MAC地址对应的第一哈希表, 并根据所述关联请求消息建立 所述站点对应的第一站点信息表, 再回复所述关联响应消息至所述站点。
[0117] 优选地, 所述第二响应单元 411具体用于:
[0118] 从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址;
[0119] 根据所述站点的 MAC地址以及所述站点请求接入的接入点的 MAC地址建立所 述站点对应的第一站点信息表。
[0120] 优选地, 所述装置还包括:
[0121] 第三建立单元 412, 用于根据动态主机配置协议 DHCP为所述站点分配网际协议 IP地址, 并建立所述站点的 IP地址对应的第二哈希表, 建立所述站点的 MAC地 址与所述站点的 IP地址对应的第三哈希表;
[0122] 第一站点信息表更新单元 413, 用于将所述站点的 IP地址更新至所述第一站点 信息表中。
[0123] 优选地, 所述装置还包括:
[0124] 第一发送单元 414, 用于发送所述站点对应的站点添加信息至所述站点请求接 入的接入点。
[0125] 本发明实施例通过将不符合无线网络协议规范的消息适配成符合无线网络协议 规范的消息, 从而提高了站点的接入成功率, 提高了用户的上网体验; 当接收 到站点发送的关联请求消息吋, 从关联请求消息中获取站点的 MAC地址, 并判 断是否能够査询到该站点的 MAC地址对应的第一哈希表, 若査询到该站点的 MA C地址对应的第一哈希表, 且该站点请求接入的接入点与该站点对应的第一站点 信息表中存储的接入点一致, 则直接回复关联响应消息至该站点, 而无需重复 对站点进行接入处理, 从而提高了站点的接入效率。
[0126] 优选地, 所述装置还包括:
[0127] 第二站点信息表更新单元 415, 用于若所述站点请求接入的接入点的信息与所 述第一站点信息表中存储的接入点的信息不一致, 则根据所述站点请求接入的 接入点的信息更新所述第一站点信息表, 得到第二站点信息表, 并回复关联响 应消息至所述站点;
[0128] 第四建立单元 416, 用于根据 DHCP为所述站点分配一个新的 IP地址, 建立所述 站点的新的 IP地址对应的第二哈希表, 建立所述站点的 MAC地址与新的 IP地址 对应的第三哈希表;
[0129] 所述第二站点信息表更新单元 415, 还用于根据所述站点的新的 IP地址更新所 述第二站点信息表, 得到第三站点信息表。
[0130] 优选地, 所述装置还包括:
[0131] 第四刪除单元 417, 用于刪除所述站点的初始 IP地址对应的第二哈希表, 并刪 除所述站点的 MAC地址和初始 IP地址对应的第三哈希表。
[0132] 优选地, 所述装置还包括:
[0133] 第二发送单元 418, 用于发送所述站点对应的站点刪除信息至所述第一站点信 息表中存储的接入点。
[0134] 优选地, 所述第二站点信息表更新单元 415具体用于:
[0135] 刪除所述第一站点信息表中存储的接入点的所有信息;
[0136] 从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址、 IP地址、 服务集标识 SSID和 /或无线局域网标识 WLAN ID, 并将所述站点请求接入的接入 点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID添加到所述第一站点信息表中, 得 到所述第二站点信息表。
[0137] 本发明实施例通过将不符合无线网络协议规范的消息适配成符合无线网络协议 规范的消息, 从而提高了站点的接入成功率, 避免站点在漫游后无法使用网络 , 提高了用户的上网体验; 当接收到站点发送的关联请求消息, 且站点请求接 入的接入点的信息与第一站点信息表中存储的接入点的信息不一致吋, 判定站 点发生了漫游, 即切换了接入点, 并执行切换接入点的流程, 由此避免站点无 法接入网络或者在接入网络后无法使用网络, 提高了用户的上网体验。
[0138] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结合来实现 。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特定应用和设 计约束条件。 专业技术人员可以对每个特定的应用来使用不同方法来实现所描 述的功能, 但是这种实现不应认为超出本发明的范围。
[0139] 所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述的装 置和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不再 赘述。
[0140] 在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置和方法, 可以通 过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以有另外的划分方 式, 例如多个单元或组件可以结合或者可以集成到另一个***, 或一些特征可 以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通 信连接可以是通过一些接口, 单元的间接耦合或通信连接, 可以是电性, 机械 或其它的形式。
[0141] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。
[0142] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。
[0143] 所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用吋, 可 以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案 本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产 品的形式体现出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令 用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 执 行本发明各个实施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘 、 移动硬盘、 只读存储器 (ROM, Read-Only
Memory) 、 随机存取存储器 (RAM, Random Access Memory) 、 磁碟或者光盘 等各种可以存储程序代码的介质。
[0144] 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化 或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述 以权利要求的保护范围为准。

Claims

权利要求书
[权利要求 1] 一种提高站点的接入效率的方法, 其特征在于, 包括:
当接收到站点的解除关联请求消息吋, 刪除所述站点的介质访问控制
MAC地址对应的第一哈希表, 刪除所述站点的初始网际协议 IP地址 对应的第二哈希表, 并刪除所述站点对应的第一站点信息表; 若在第一预设吋间内接收到所述站点发送的重关联请求消息, 则重新 建立所述站点的 MAC地址对应的第一哈希表以及所述站点对应的第 一站点信息表, 并回复重关联响应消息至所述站点;
若在第二预设吋间内未接收到 IP地址更新消息, 则从所述站点的 MA C地址和初始 IP地址对应的第三哈希表中获取所述站点的初始 IP地址 , 将所述初始 IP地址重新分配给所述站点, 并将所述初始 IP地址更新 至所述站点对应的第一站点信息表中。
[权利要求 2] 如权利要求 1所述的方法, 其特征在于, 在所述回复重关联响应消息 至所述站点之后, 所述方法还包括:
若在所述第二预设吋间内接收到所述 IP地址更新消息, 则从所述 IP地 址更新消息中获取新的 IP地址, 将所述新的 IP地址分配给所述站点, 并将所述新的 IP地址更新至所述站点对应的第一站点信息表中。
[权利要求 3] 如权利要求 2所述的方法, 其特征在于, 在所述将所述新的 IP地址更 新至所述站点对应的第一站点信息表中之后, 所述方法还包括: 建立所述站点的 MAC地址和新的 IP地址对应的第三哈希表; 刪除所述站点的 MAC地址和初始 IP地址对应的第三哈希表。
[权利要求 4] 如权利要求 1所述的方法, 其特征在于, 所述刪除所述站点的 MAC地 址对应的第一哈希表, 刪除所述站点的初始 IP地址对应的第二哈希表 包括:
从所述解除关联请求消息中获取所述站点的 MAC地址, 并刪除所述 站点的 MAC地址对应的第一哈希表;
从所述站点对应的第一站点信息表中获取所述站点的初始 IP地址, 并 刪除所述站点的初始 IP地址对应的第二哈希表。 如权利要求 1至 4任意一项所述的方法, 其特征在于, 在所述刪除所述 站点对应的第一站点信息表之后, 所述方法还包括:
若未在所述第一预设吋间内接收到所述站点发送的所述重关联请求消 息, 则刪除所述站点的 MAC地址和初始 IP地址对应的第三哈希表。 如权利要求 1任意所述的方法, 其特征在于, 在所述当接收到站点的 解除关联请求消息吋, 刪除所述站点的 MAC地址对应的第一哈希表 之前, 所述方法还包括:
当接收到所述站点发送的关联请求消息吋, 从所述关联请求消息中获 取所述站点的 MAC地址以及所述站点请求接入的接入点的信息; 若査询到所述站点的 MAC地址对应的第一哈希表, 则获取所述站点 对应的第一站点信息表;
若所述站点请求接入的接入点与所述第一站点信息表中存储的接入点 一致, 则回复关联响应消息至所述站点。
如权利要求 6所述的方法, 其特征在于, 在所述从所述关联请求消息 中获取所述站点的 MAC地址以及所述站点请求接入的接入点的信息 之后, 所述方法还包括:
若査询不到所述站点的 MAC地址对应的第一哈希表, 则建立所述站 点的 MAC地址对应的第一哈希表, 并根据所述关联请求消息建立所 述站点对应的第一站点信息表, 再回复所述关联响应消息至所述站点 如权利要求 7所述的方法, 其特征在于, 所述根据所述关联请求消息 建立所述站点对应的第一站点信息表包括:
从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址 根据所述站点的 MAC地址以及所述站点请求接入的接入点的 MAC地 址建立所述站点对应的第一站点信息表。
[权利要求 9] 如权利要求 7或 8所述的方法, 其特征在于, 在所述根据所述关联请求 消息建立所述站点对应的第一站点信息表, 再回复所述关联响应消息 至所述站点之后, 所述方法还包括:
根据动态主机配置协议 DHCP为所述站点分配 IP地址, 并建立所述站 点的 IP地址对应的第二哈希表;
建立所述站点的 MAC地址与所述站点的 IP地址对应的第三哈希表; 将所述站点的 IP地址更新至所述第一站点信息表中。
[权利要求 10] 如权利要求 9所述的方法, 其特征在于, 在所述将所述站点的 IP地址 更新至所述第一站点信息表中之后, 所述方法还包括:
发送所述站点对应的站点添加信息至所述站点请求接入的接入点。
[权利要求 11] 如权利要求 6所述的方法, 其特征在于, 在所述获取所述站点对应的 第一站点信息表之后, 所述方法还包括:
若所述站点请求接入的接入点的信息与所述第一站点信息表中存储的 接入点的信息不一致, 则根据所述站点请求接入的接入点的信息更新 所述第一站点信息表, 得到第二站点信息表, 并回复关联响应消息至 所述站点;
根据 DHCP为所述站点分配一个新的 IP地址, 建立所述站点的新的 IP 地址对应的第二哈希表, 建立所述站点的 MAC地址与新的 IP地址对 应的第三哈希表;
根据所述站点的新的 IP地址更新所述第二站点信息表, 得到第三站点 信息表。
[权利要求 12] 如权利要求 11所述的方法, 其特征在于, 在所述回复关联响应消息至 所述站点之后, 所述根据 DHCP为所述站点分配一个新的 IP地址之前 , 所述方法还包括:
刪除所述站点的初始 IP地址对应的第二哈希表, 并刪除所述站点的 M AC地址和初始 IP地址对应的第三哈希表。
[权利要求 13] 如权利要求 11所述的方法, 其特征在于, 在所述得到第三站点信息表 之后, 所述方法还包括:
发送所述站点对应的站点添加信息至所述站点请求接入的接入点。
[权利要求 14] 如权利要求 11所述的方法, 其特征在于, 在所述回复关联响应消息至 所述站点之后, 所述方法还包括:
发送所述站点对应的站点刪除信息至所述第一站点信息表中存储的接 入点。
[权利要求 15] 如权利要求 11至 14任意一项所述的方法, 其特征在于, 所述根据所述 站点请求接入的接入点的信息更新所述第一站点信息表, 得到第二站 点信息表包括:
刪除所述第一站点信息表中存储的接入点的所有信息;
从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址 、 IP地址、 服务集标识 SSID和 /或无线局域网标识 WLAN ID, 并将所 述站点请求接入的接入点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID 添加到所述第一站点信息表中, 得到所述第二站点信息表。
[权利要求 16] —种提高站点的接入效率的装置, 其特征在于, 包括:
第一刪除单元, 用于当接收到站点的解除关联请求消息吋, 刪除所述 站点的介质访问控制 MAC地址对应的第一哈希表, 刪除所述站点的 初始网际协议 IP地址对应的第二哈希表, 并刪除所述站点对应的第一 站点信息表;
第一建立单元, 用于若在第一预设吋间内接收到所述站点发送的重关 联请求消息, 则重新建立所述站点的 MAC地址对应的第一哈希表以 及所述站点对应的第一站点信息表, 并回复重关联响应消息至所述站 点;
第一 IP地址分配单元, 用于若在第二预设吋间内未接收到 IP地址更新 消息, 则从所述站点的 MAC地址和初始 IP地址对应的第三哈希表中 获取所述站点的初始 IP地址, 将所述初始 IP地址重新分配给所述站点 , 并将所述初始 IP地址更新至所述站点对应的第一站点信息表中。
[权利要求 17] 如权利要求 16所述的装置, 其特征在于, 所述装置还包括:
第二 IP地址分配单元, 用于若在所述第二预设吋间内接收到所述 IP地 址更新消息, 则从所述 IP地址更新消息中获取新的 IP地址, 将所述新 的 IP地址分配给所述站点, 并将所述新的 IP地址更新至所述站点对应 的第一站点信息表中。
如权利要求 17所述的装置, 其特征在于, 所述装置还包括: 第二建立单元, 用于建立所述站点的 MAC地址和新的 IP地址对应的 第三哈希表;
第二刪除单元, 用于刪除所述站点的 MAC地址和初始 IP地址对应的 第三哈希表。
如权利要求 16所述的装置, 其特征在于, 所述第一刪除单元具体用于 从所述解除关联请求消息中获取所述站点的 MAC地址, 并刪除所述 站点的 MAC地址对应的第一哈希表;
从所述站点对应的第一站点信息表中获取所述站点的初始 IP地址, 并 刪除所述站点的初始 IP地址对应的第二哈希表。
如权利要求 16至 19任意一项所述的装置, 其特征在于, 所述装置还包 括:
第三刪除单元, 用于若未在所述第一预设吋间内接收到所述站点发送 的所述重关联请求消息, 则刪除所述站点的 MAC地址和初始 IP地址 对应的第三哈希表。
如权利要求 16所述的装置, 其特征在于, 所述装置还包括: 第一获取单元, 用于当接收到站点发送的关联请求消息吋, 从所述关 联请求消息中获取所述站点的 MAC地址以及所述站点请求接入的接 入点的信息;
第二获取单元, 用于若査询到所述站点的 MAC地址对应的第一哈希 表, 则获取所述站点对应的第一站点信息表;
第一响应单元, 用于若所述站点请求接入的接入点与所述第一站点信 息表中存储的接入点一致, 则回复关联响应消息至所述站点。
如权利要求 21所述的装置, 其特征在于, 所述装置还包括: 第二响应单元, 用于若査询不到所述站点的 MAC地址对应的第一哈 希表, 则建立所述站点的 MAC地址对应的第一哈希表, 并根据所述 关联请求消息建立所述站点对应的第一站点信息表, 再回复所述关联 响应消息至所述站点。
如权利要求 22所述的装置, 其特征在于, 所述第二响应单元具体用于 从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址 根据所述站点的 MAC地址以及所述站点请求接入的接入点的 MAC地 址建立所述站点对应的第一站点信息表。
如权利要求 22或 23所述的装置, 其特征在于, 所述装置还包括: 第三建立单元, 用于根据动态主机配置协议 DHCP为所述站点分配网 际协议 IP地址, 并建立所述站点的 IP地址对应的第二哈希表, 建立所 述站点的 MAC地址与所述站点的 IP地址对应的第三哈希表; 第一站点信息表更新单元, 用于将所述站点的 IP地址更新至所述第一 站点信息表中。
如权利要求 24所述的装置, 其特征在于, 所述装置还包括: 第一发送单元, 用于发送所述站点对应的站点添加信息至所述站点请 求接入的接入点。
如权利要求 21所述的装置, 其特征在于, 所述装置还包括: 第二站点信息表更新单元, 用于若所述站点请求接入的接入点的信息 与所述第一站点信息表中存储的接入点的信息不一致, 则根据所述站 点请求接入的接入点的信息更新所述第一站点信息表, 得到第二站点 信息表, 并回复关联响应消息至所述站点;
第四建立单元, 用于根据 DHCP为所述站点分配一个新的 IP地址, 建 立所述站点的新的 IP地址对应的第二哈希表, 建立所述站点的 MAC 地址与新的 IP地址对应的第三哈希表;
所述第二站点信息表更新单元, 还用于根据所述站点的新的 IP地址更 新所述第二站点信息表, 得到第三站点信息表。
如权利要求 26所述的装置, 其特征在于, 所述装置还包括: 第四刪除单元, 用于刪除所述站点的初始 IP地址对应的第二哈希表, 并刪除所述站点的 MAC地址和初始 IP地址对应的第三哈希表。
[权利要求 28] 如权利要求 27所述的装置, 其特征在于, 所述装置还包括:
第二发送单元, 用于发送所述站点对应的站点刪除信息至所述第一站 点信息表中存储的接入点。
[权利要求 29] 如权利要求 26至 28任意一项所述的装置, 其特征在于, 所述第二站点 信息表更新单元具体用于:
刪除所述第一站点信息表中存储的接入点的所有信息;
从所述关联请求消息中获取所述站点请求接入的接入点的 MAC地址 、 IP地址、 服务集标识 SSID和 /或无线局域网标识 WLAN ID, 并将所 述站点请求接入的接入点的 MAC地址、 IP地址、 SSID和 /或 WLAN ID 添加到所述第一站点信息表中, 得到所述第二站点信息表。
PCT/CN2015/090908 2015-08-11 2015-09-28 提高站点的接入效率的方法及装置 WO2017024663A1 (zh)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201510487887.6 2015-08-11
CN201510488041.4 2015-08-11
CN201510488042.9 2015-08-11
CN201510488041.4A CN105188107B (zh) 2015-08-11 2015-08-11 提高站点的接入效率的方法及装置
CN201510487887.6A CN105072669B (zh) 2015-08-11 2015-08-11 站点的接入控制方法及装置
CN201510488042.9A CN105142189B (zh) 2015-08-11 2015-08-11 站点的漫游控制方法及装置

Publications (1)

Publication Number Publication Date
WO2017024663A1 true WO2017024663A1 (zh) 2017-02-16

Family

ID=57982841

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090908 WO2017024663A1 (zh) 2015-08-11 2015-09-28 提高站点的接入效率的方法及装置

Country Status (1)

Country Link
WO (1) WO2017024663A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505799A1 (en) * 2003-08-05 2005-02-09 Alcatel IPv4/v6 address acquisition techniques for mobile terminals operating within wireless LANs
US20060140163A1 (en) * 2004-12-23 2006-06-29 Haixiang He Method and apparatus to facilitate the closure of mobility tunnels
CN104519551A (zh) * 2013-09-27 2015-04-15 中国电信股份有限公司 WiFi网络DHCP协商的方法和客户端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505799A1 (en) * 2003-08-05 2005-02-09 Alcatel IPv4/v6 address acquisition techniques for mobile terminals operating within wireless LANs
US20060140163A1 (en) * 2004-12-23 2006-06-29 Haixiang He Method and apparatus to facilitate the closure of mobility tunnels
CN104519551A (zh) * 2013-09-27 2015-04-15 中国电信股份有限公司 WiFi网络DHCP协商的方法和客户端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"IEEE Trial-Use Recommended Practice for Multi-Vendor Access Point Interoperability via an Inter-Access Point Protocol Across Distribution system supporting IEEE 802.11 operation", IEEE 802.11F, 14 July 2003 (2003-07-14) *

Similar Documents

Publication Publication Date Title
EP2723137B1 (en) Apparatus for setting up network for ip communication in mobile terminal
US9674748B2 (en) Method and apparatus for network handover
US11219073B2 (en) Session connection establishment method and control plane network element
CN106576119B (zh) 向Wi-Fi客户端委派前缀的方法和设备
KR20140116900A (ko) 무선 네트워크에서 디바이스들 간의 터널 다이렉트 링크 설정(tdls) 세션을 확립하는 방법들 및 장치들
US20160308824A1 (en) Method for determining gre tunnel, gateway device, and access site
WO2011144134A1 (zh) 一种信息推送方法、装置和***
EP4243364A2 (en) Network address policy information received in a pre-associated state
CN105142189B (zh) 站点的漫游控制方法及装置
CN113810517A (zh) 多链路设备mac地址管理方法、装置和多链路设备
US20150055510A1 (en) Method and Device for Establishing Packet Data Network Connection
WO2016192572A1 (zh) 提高无线局域网并发处理能力的方法、装置及***
US8775583B1 (en) Assigning internet protocol addresses in a network
WO2011000168A1 (zh) 一种获取本地域名的方法、装置及***
CN103024876A (zh) 接入控制方法、网关及***
CN105072669B (zh) 站点的接入控制方法及装置
US10798054B2 (en) IP address allocation method in D2D communication and user equipment
WO2017024663A1 (zh) 提高站点的接入效率的方法及装置
WO2009012694A1 (fr) Procédé de traitement d'adresse de réseau et noeud routeur
CN105188107B (zh) 提高站点的接入效率的方法及装置
JP2012227648A (ja) 無線通信端末
US8411685B1 (en) Managing the allocation of internet protocol addresses in a wireless network
US9515990B1 (en) Communicating reregistration information based on the lifetime of a communication session
JP6023843B1 (ja) 無線lanシステム、アクセスポイント管理装置、アクセスポイント、無線lan制御方法及びコンピュータプログラム
WO2020113955A1 (zh) 通信方法及相关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15900858

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.07.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15900858

Country of ref document: EP

Kind code of ref document: A1