WO2017008580A1 - Method and device for wireless station to access local area network - Google Patents

Method and device for wireless station to access local area network Download PDF

Info

Publication number
WO2017008580A1
WO2017008580A1 PCT/CN2016/083040 CN2016083040W WO2017008580A1 WO 2017008580 A1 WO2017008580 A1 WO 2017008580A1 CN 2016083040 W CN2016083040 W CN 2016083040W WO 2017008580 A1 WO2017008580 A1 WO 2017008580A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless stations
access
wireless
accessed
user state
Prior art date
Application number
PCT/CN2016/083040
Other languages
French (fr)
Chinese (zh)
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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017008580A1 publication Critical patent/WO2017008580A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/06Access restriction performed under specific conditions based on traffic conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a method and apparatus for wireless stations accessing a wireless local area network.
  • an AP Wireless Access Point
  • a WiFi chip only provides a simple access technology, that is, a router or a WiFi chip has a maximum number of access wireless stations when the wireless station is accessed. When the number reaches the maximum number, other wireless stations that are not connected can no longer access.
  • each terminal connected to the wireless network such as a laptop, a PDA, and other user equipment that can be networked
  • the maximum number of currently accessed wireless stations is set for the router.
  • the wireless station connects to the AP according to the name of the AP (Service Set Identity, SSID), when the AP is in the maximum user or full user state, That is, when the maximum number of preset user accesses or the maximum number of APs supporting access users is reached, other wireless stations within the coverage of the AP may not be able to access the AP. However, not all wireless stations are always transmitting data to users accessing the AP, which wastes bandwidth resources and does not allow access to very important wireless stations or specific wireless stations.
  • SSID Service Set Identity
  • the present application provides a method and apparatus for a wireless station to access a wireless local area network to at least solve the problem that the AP cannot access the wireless station when the user is in a full user state or a maximum user state.
  • a method for a wireless station to access a wireless local area network includes: determining, when the first number of wireless stations send an access request to an access point AP in the same wireless local area network, Whether the number of wireless stations connected is preset to the full user status The number of the wireless stations to be accessed, wherein each of the access requests respectively carries a media access control MAC address of the wireless station that sends the access request; if the number of wireless stations currently accessed by the AP is Predetermining the number of wireless stations accessed in the full user state, determining whether the MAC address stored in the AP includes the MAC address of the first number of wireless stations; if the MAC address stored by the AP is included in the The MAC address of the second number of wireless stations in the first number of wireless stations, by increasing the number of wireless stations accessed in the full number of users and/or prohibiting the fourth number of wireless stations currently accessed by the associated AP Entering the AP, so that a third number of wireless stations in the second number of wireless
  • the third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
  • the fourth quantity is the The third quantity.
  • the accessing the AP by adding the number of wireless stations accessed in the full user state and/or prohibiting the wireless station currently accessed by the AP to access the AP includes: if the wireless station in the full user state accesses The number is not the maximum number of wireless stations that the AP can access, and the number of wireless stations accessed by the number of full users is increased to enable some or all of the third number of wireless stations to access the station.
  • the fourth number of wireless stations that are currently accessed by the AP are prohibited from being accessed.
  • the AP such that some or all of the third number of wireless stations access the AP.
  • the step of increasing the number of the wireless stations that are accessed in the full user state, so that part or all of the third number of wireless stations access the AP includes: acquiring a maximum number of wireless stations that the AP can access; increasing the number of wireless stations accessed in the full user state, so that the third number of wireless stations access the AP, wherein the access is increased
  • the number of wireless stations accessed in the full user state after the number of wireless stations is less than or equal to the maximum number of wireless stations that the AP can access.
  • the step of prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, so that part or all of the third number of wireless stations access the AP includes: Obtaining a fourth number of wireless stations with the least amount of data traffic in the wireless station currently accessed by the AP; and prohibiting the fourth number of data traffic with the least amount of data traffic within the predetermined time in the wireless station currently accessed by the AP
  • the wireless station accesses the AP such that some or all of the third number of wireless stations access the AP.
  • the method further includes: storing one or more in the AP The MAC address of the wireless station.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • an apparatus for wireless station accessing a wireless local area network comprising: a determining module configured to: when a first number of wireless stations send an access request to an access point AP in the same wireless local area network Determining whether the number of wireless stations currently accessed by the AP is a preset number of wireless stations that are accessed in a full user state, where each of the access requests carries the The media access control MAC address of the wireless station; the matching module is configured to determine the MAC address stored in the AP if the number of wireless stations currently accessed by the AP is a preset number of wireless stations accessed in the full user state.
  • the access module is configured to: if the MAC address stored by the AP includes a MAC address of a second number of wireless stations in the first number of wireless stations And by adding the number of wireless stations accessed in the full user state and/or prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP to make its MAC address It includes a third number of the MAC address of the AP is stored in a second number of wireless station in a wireless access station to the AP;
  • the fourth quantity is the The third quantity.
  • the access module is configured to increase the number of wireless stations that are accessible if the full user state is not the maximum number of wireless stations that the AP can access.
  • the number of wireless stations accessed by the state such that some or all of the third number of wireless stations access the AP; or, is the number of wireless stations that are set to access if the full user state is
  • the maximum number of APs that can access the wireless station is obtained by prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, so that some or all of the third number of wireless stations are connected. Enter the AP.
  • the access module includes: a first acquiring unit, configured to acquire a maximum number of wireless stations that the AP can access; and a first access unit, configured to increase access in the full user state The number of wireless stations such that the third wireless station accesses the AP, wherein the number of wireless stations accessed in the full user state after increasing the number of access wireless stations is less than or equal to the AP The maximum number of wireless stations that can be accessed.
  • the second obtaining unit is configured to acquire a fourth number of wireless stations with the least amount of data traffic in the wireless station currently accessed by the AP, and the second access unit is configured to prohibit the current AP
  • a fourth number of wireless stations in the accessed wireless station that have the least amount of data traffic within a predetermined time period access the AP such that some or all of the third number of wireless stations access the AP.
  • the device further includes: a configuration module, configured to: before the determining module determines whether the number of wireless stations currently accessed by the AP is preset to be the number of wireless stations accessed in the full user state, The AP stores the MAC address of one or more wireless stations.
  • a configuration module configured to: before the determining module determines whether the number of wireless stations currently accessed by the AP is preset to be the number of wireless stations accessed in the full user state, The AP stores the MAC address of one or more wireless stations.
  • the AP when the AP is currently in the full user state, it is determined whether the MAC address of the wireless station that needs to be accessed is included in the MAC address stored in the AP, and is increased in the full user state.
  • the number of accessing wireless stations and/or prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, such that all of the MAC addresses are included in part or all of the MAC addresses stored by the AP The wireless station accesses the AP, that is, the wireless station that pre-stores its MAC address in the AP can access the AP when the user is in the full user state, and solves the problem that the access point AP is in the full user state or the maximum user state in the related art. The problem of not being able to access the wireless site improves the user experience.
  • FIG. 1 is a flow chart of a method for a wireless station to access a wireless local area network according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for a wireless station to access a wireless local area network according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of an access module 26 of a device for accessing a wireless local area network by a wireless station according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of an access module 26 of a device for accessing a wireless local area network by a wireless station according to an embodiment of the present invention
  • FIG. 5 is a block diagram showing an optional structure of an apparatus for a wireless station to access a wireless local area network according to an embodiment of the present invention
  • FIG. 6 is a flow chart of a method of intelligently controlling wireless station access in accordance with an alternative embodiment of the present application.
  • FIG. 1 is a flowchart of a method for a wireless station to access a wireless local area network according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 When the first number of wireless stations send an access request to the access point AP in the same WLAN, determine whether the number of wireless stations currently accessed by the AP is a preset wireless station accessed in the full user state. The number, wherein each access request carries a media access control MAC address of the wireless station that sends the access request;
  • Step S104 If the number of wireless stations currently accessed by the AP is a preset number of wireless stations that are accessed in the full user state, determine whether the MAC address stored in the AP includes the MAC of the first number of wireless stations. address;
  • Step S106 If the MAC address stored by the AP includes the MAC address of the second number of wireless stations in the first number of wireless stations, by increasing the number of wireless stations accessed in the full user state and/or prohibiting And the fourth number of wireless stations currently accessed by the AP accesses the AP, such that the MAC address thereof includes a third number of wireless stations in the second number of wireless stations in the MAC address stored by the AP. Access to the AP;
  • the third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
  • the fourth quantity is the The third quantity.
  • the MAC address of the wireless station that requests the access includes the MAC address stored in the AP, such as the MAC address stored by the AP. Included in the MAC address of the second number of wireless stations in the first number of wireless stations requesting access, by increasing the number of wireless stations accessed in the full user state and/or disabling the AP from currently accessing
  • the fourth number of wireless stations accesses the The AP accesses the AP by a third number of the wireless stations in the second number of the wireless stations whose MAC addresses are included in the MAC address stored by the AP, that is, their MAC addresses pre-stored for the AP.
  • the wireless station can also access the AP when the user is full, thereby solving the problem that the AP cannot access the wireless station in the full user state or the maximum user state in the related art, and the user experience is improved.
  • the number of wireless stations that access the full user state of the AP involved in this embodiment may be the maximum number of wireless stations that the AP can access, or the maximum number of wireless stations that are preset in the access wireless station.
  • the maximum number of the preset access wireless stations is less than or equal to the maximum number of wireless stations that the AP can access; for different types of the number of wireless stations accessed by the full user state, different access APs are used respectively.
  • the AP device WiFi chip supports up to 10 wireless stations, and the maximum number of wireless stations connected to the AP software is 5, and the number of wireless stations connected to the full user state is 5; if the AP is set to access The maximum number of wireless stations is 10, and the number of wireless stations that are connected to full user status and the maximum number of wireless stations that can be accessed are 10.
  • Manner 1 If the number of wireless stations that are accessed in the full user state is not the maximum number of wireless stations that the AP can access, increase the number of wireless stations that are accessed in the full user state to make part or All of the third number of wireless stations access the AP, wherein the increased number is greater than or equal to 1, but the increase cannot exceed the maximum number of wireless stations that the AP can access.
  • Manner 2 If the number of the wireless stations that are accessed in the full user state is the maximum number of wireless stations that the AP can access, the fourth number of wireless stations currently accessed by the AP are prohibited from accessing the The AP is such that some or all of the third number of wireless stations access the AP.
  • Step S11 Obtain a maximum number of wireless stations that the AP can access
  • Step S12 Increasing the number of wireless stations accessed in the full user state, so that the third wireless station accesses the AP, wherein the wireless station accessing the full user state after increasing the number of access wireless stations The number is less than or equal to the maximum number of APs that can access the wireless station.
  • the AP may be: if the AP is in the step S11 and the step S12.
  • the maximum number of wireless stations that can be accessed is 10, and the number of wireless stations that are preset to be accessed in the full user state is 5, and the number of wireless stations that can be added in the slow user state can be 1 to 5 Any integer.
  • the added number is 1, the number of wireless stations accessing in the full user state is 6, and at this time, a wireless station accessing the AP can be added.
  • the method for accessing the AP by prohibiting the fourth number of wireless stations currently accessed by the AP in the second mode to enable a part or all of the third number of wireless stations to access the AP may be implemented by the following steps:
  • Step S21 Acquire a fourth number of wireless stations in the wireless station currently accessed by the AP with the least data traffic within a predetermined time;
  • Step S22 The fourth number of wireless stations with the least data traffic within the predetermined time in the wireless station currently accessed by the AP is prohibited from accessing the AP, so that some or all of the third number of wireless stations access the AP.
  • the wireless station currently accessed by the AP may be obtained when the number of wireless stations accessed by the full user state is the maximum number of wireless stations that the AP can access.
  • the fourth number of wireless stations with the least amount of data traffic within a predetermined time period that is, the fourth number of currently accessed wireless stations require the least amount of data traffic at this time, and the fourth number of currently accessed wireless stations can be disabled.
  • the station accesses the AP such that its MAC address includes the fourth number of wireless stations that are pre-stored in the AP's MAC address to access the AP, making full use of the bandwidth resources.
  • the method in this embodiment further includes: storing one or more wireless stations in the AP. MAC address.
  • Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic
  • the disc, the optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the various embodiments of the present application.
  • a device for accessing a wireless local area network is also provided, and the device is configured to implement the foregoing embodiments and optional implementations, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: a determining module 22 configured to be in a same number of wireless stations to the same wireless local area network.
  • the access point AP sends an access request, it determines whether the number of the wireless stations currently accessed by the AP is the number of the preset wireless users in the full user state, where each access request carries the connection The media access control MAC address of the requesting wireless station; the matching module 24 is coupled to the determining module 22, and is configured to set the wireless station to be accessed in the full user state if the number of wireless stations currently accessed by the AP is preset.
  • the number of the MAC address stored in the AP includes whether the MAC address of the first number of wireless stations is included; the access module 26 is coupled to the matching module 24, and is configured to: if the MAC address stored by the AP is included in the The MAC address of the second number of wireless stations in the first number of wireless stations, by increasing the number of wireless stations accessed in the full user state and/or disabling the current connection of the AP Entering a fourth number of wireless stations to access the AP, such that a MAC address thereof includes a third number of wireless stations in the second number of wireless stations in the AP stored in the AP to access the AP;
  • the third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
  • the fourth quantity is the The third quantity.
  • the access module 26 is configured to increase the number of wireless stations accessed in the full user state such that some or all of the third number of wireless stations access the AP;
  • the number of accessing wireless stations is the maximum number of wireless stations that the AP can access.
  • the access module 26 is configured to access the AP by prohibiting the fourth number of wireless stations currently accessed by the AP, so that the part is Or all of the third number of wireless stations access the AP.
  • FIG. 3 is a block diagram of an optional structure of an access module 26 of a device for accessing a wireless local area network of a wireless station according to an embodiment of the present invention.
  • the access module 26 includes: a first acquiring unit 32, configured to Obtaining a maximum number of wireless stations that the AP can access; the first access unit 34 is coupled to the first obtaining unit 32, and is configured to increase the number of wireless stations accessed in the full user state, so that the third wireless station is connected.
  • the AP is entered, wherein the number of wireless stations accessed in the full user state after increasing the number of access wireless stations is less than or equal to the maximum number of wireless stations that the AP can access.
  • the access module 26 includes: a second acquiring unit 42 configured to Obtaining a fourth number of wireless stations that have the least amount of data traffic in the wireless station currently accessed by the AP, and the second access unit 44 is coupled to the second acquiring unit 42 and configured to disable the wireless access currently accessed by the AP.
  • a fourth number of wireless stations in the station that have the least amount of data traffic within a predetermined time period access the AP such that some or all of the third number of wireless stations access the AP.
  • the determining module determines whether the number of wireless stations currently accessed by the AP is preset.
  • the device further includes: a configuration module 52 coupled to the determining module 22 and configured to store the MAC addresses of the one or more wireless stations in the AP.
  • the present invention provides an apparatus for intelligently controlling access to a wireless station, which can determine the full user state and the maximum user state by itself, and automatically control access to the wireless station to solve the related problem in the related art.
  • a software or device is installed on the AP side to store the preset letter.
  • the preset information is the MAC address of the wireless station, and obtains the MAC address of the wireless station by using the access request sent by the wireless station, and determines whether the MAC address stored in the AP includes the MAC address of the first number of wireless stations.
  • the AP determines whether it is in a full user state or a maximum user state: if the user state is full The number of wireless stations is not the number of wireless stations that are accessed in the maximum user state, the administrator user rights are obtained, and the number of APs accessing the wireless stations is modified so that the MAC addresses are included in the MAC addresses stored in the APs. The third number of wireless stations in the second number of wireless stations access the AP; if the current state is the maximum user state, the AP will prohibit the third number of wireless stations currently accessed by the AP from accessing the AP.
  • a third number of wireless stations in the second number of wireless stations whose MAC addresses are included in the MAC address stored by the AP access the AP, prohibiting the third number
  • the third number of users with the least data traffic is prohibited from accessing the AP, so that the MAC address is included in the MAC stored by the AP.
  • a third number of wireless stations of the second number of wireless stations in the address access the AP.
  • the device of the optional embodiment includes: a VIP wireless station management module, an information packet capture module, an information matching module, a full user status and a maximum user status distinguishing module, a wireless station forbidden access module, and an administrator permission control module.
  • a VIP wireless station management module includes: a VIP wireless station management module, an information packet capture module, an information matching module, a full user status and a maximum user status distinguishing module, a wireless station forbidden access module, and an administrator permission control module.
  • the VIP wireless station management module is configured to store the wireless station's MAC address (for example, 0C-12-B5-AC-ED-A2) in the VIP wireless station management list, and the wireless station can be set to the VIP.
  • a wireless station, or a wireless station whose MAC address is not in the wireless station management list, is a normal wireless station. Only the VIP wireless station can access the AP in the full user state or the maximum user state, and the normal access procedure is adopted for the ordinary wireless station, that is, the ordinary wireless station cannot access in the full user state or the maximum user state.
  • the information matching module is configured to receive the MAC address of the wireless station carried in the request message of the wireless station, and determine whether the MAC address reported to the AP by the wireless station that initiated the access request includes the MAC address stored in the VIP wireless station management module. If the MAC address of the wireless station requesting access is included in the preset MAC address, the full user state and the maximum user status area are run. The sub-determination module terminates the process if the MAC address portion of the wireless station requesting access is included in the preset MAC address.
  • the full user status and maximum user status distinguishing module is configured to determine whether the AP status is a full user status or a maximum user status.
  • the judging module compares the number of currently connected wireless stations with the maximum number of set wireless stations. If the number of wireless stations that have been accessed is less than the maximum number of wireless stations that are set, the full user status is not reached. If the number of wireless stations that have been accessed is the maximum number of wireless stations set, the full user state is reached.
  • the maximum number of wireless stations that the WiFi chip of the AP device can access is 10, and the maximum number of APs that the AP software sets to access the wireless station is 5, and the number of wireless stations in the full user state is 5, and the maximum user state is The number of wireless stations is 10. If the AP software sets the maximum number of APs to access the wireless station to be 10, the number of wireless stations in the full user state and the number of wireless stations in the maximum user state are both 10.
  • the wireless station determines whether the AP is currently in the full user state.
  • the maximum number of access wireless stations is modified by the WiFi driver API module to ensure that the wireless station can connect. After entering the AP, the wireless station accesses the administrator and the process ends.
  • the foregoing optional embodiment first determines whether the MAC address stored by the AP includes the MAC address of the wireless station, and if the MAC address of the wireless station is included, determines whether the AP is in a full user state, that is, only its MAC address. The wireless station that stores the MAC address stored in the AP will proceed to the next step. Of course, it can also be determined that the AP is currently in the full user state, and then determine whether the MAC address of the wireless station includes the MAC address stored in the AP. Both modes are achievable in this alternative embodiment, and the first case is mainly described in the alternative embodiment.
  • the WiFi driver API module is configured to modify the maximum number of wireless stations accessing the AP, that is, the number of wireless stations that can be accessed by any modification.
  • the MAC address of the wireless station is included in the pre-stored MAC address. If it is determined that the AP is currently in the maximum user state, that is, the number of currently accessed wireless stations has reached the maximum wireless station that the WiFi chip can access. Quantity, at this time AP passes through the wireless site The reported MAC address is matched to the preset MAC address in the VIP user management module. At this time, the AP will prohibit some or all of the currently accessed wireless stations from accessing the AP, and the wireless station accesses and obtains the administrator authority. The process ends.
  • the AP obtains the MAC address in the access request of the wireless station, and the MAC address in the access request includes the MAC address stored in the AP, and the AP prohibits the data.
  • the wireless station with the smallest traffic accesses the AP, so that the wireless station whose MAC address is included in the MAC address stored by the AP accesses the AP, and the number of wireless stations accessed by the AP does not change.
  • the access rights of the AP are obtained.
  • the system has its own permission system in the background of the embedded AP module.
  • the highest authority of the system can be obtained.
  • FIG. 6 is a flowchart of a method for intelligently controlling wireless station access according to an optional embodiment of the present application. As shown in FIG. 6, the steps of the method include:
  • Step S601 The wireless station that presets the module preset MAC address in the AP sends an access request.
  • Step S602 The information matching module determines whether the wireless station that initiates the access request is a wireless station that has a preset MAC address, and if the MAC address of the wireless station that requests the access is not included in the preset MAC address, the process ends; if the request is The MAC address of the accessed wireless station is included in the preset MAC address, and then proceeds to step S603.
  • Step S603 The full user state and maximum user state distinguishing module determines whether the current state of the AP is a full user state. If it is determined that the AP is not in the full user state, the process ends, and the normal process of accessing the wireless station is performed; if it is determined that the AP is currently in the full user state, then the process proceeds to S604.
  • Step S604 The full user state and the maximum user state distinguishing module determines whether the number of wireless stations currently accessed by the AP is the number of wireless stations accessed in the maximum user state. If it is determined that the number of wireless stations currently accessed by the AP is not the number of wireless stations accessed in the maximum user state, proceed to step S606; if it is determined that the number of wireless stations currently accessed by the AP is wirelessly accessed in the maximum user state The number of sites proceeds to step S605.
  • Step S605 The AP prohibits some or all of the currently accessed wireless stations from accessing the AP according to the rules, and then the same number of wireless stations that are prohibited from accessing, and the wireless station that sends the access request and its MAC address is included in the preset MAC address.
  • the wireless station of the address accesses the AP, and the number of AP connected users remains unchanged.
  • Step S606 The AP modifies the maximum number of access wireless stations through the WiFi driving API module, so as to increase the number of access wireless stations, and let the wireless station access the AP, and the number of wireless stations accessed by the AP increases accordingly.
  • Step S607 After the wireless station accesses the AP, the administrator authority is obtained, and the process ends.
  • the AP obtains the MAC address of the wireless station by using the access request sent by the wireless station, and determines whether the wireless station that initiates the request establishment is a wireless station that has a preset MAC address, and if the wireless station that initiates the request is initiated, For a wireless station with a preset MAC address, the AP determines whether it is in a full user state or a maximum user state: if the number of wireless stations accessed in the full user state is not the number of wireless stations accessed in the maximum user state, then the acquire The administrator user right, modifying the number of accessing the wireless stations by the AP, so that the MAC address thereof is included in the third number of wireless station access stations in the second number of wireless stations in the MAC address stored by the AP If the current state is the maximum user state, the AP will prohibit the third number of wireless stations currently accessed by the AP from accessing the AP, so that the MAC address is included in the MAC address stored by the AP.
  • the third number of wireless stations in the second number of wireless stations access the AP, and the third number of wireless stations are prohibited from accessing the AP, according to 10 minutes.
  • the data traffic of each wireless station is prohibited, and the third number of users whose data traffic is the smallest is prohibited from accessing the AP, so that the MAC address thereof is included in the third of the second number of wireless stations in the MAC address stored by the AP.
  • a number of wireless stations access the AP.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 When the first wireless station sends an access request to the access point AP in the WLAN, determine whether the number of users currently accessed by the AP is a preset number of wireless stations that are in the full user state.
  • Step S2 If the number of users currently accessed by the AP is the preset number of accessing the wireless stations in the full user state, determine whether the MAC address of the wireless station that sends the access request includes the MAC address stored in the AP;
  • Step S3 If the MAC address of the wireless station that sends the access request includes the MAC address stored in the AP, increase the number of wireless stations that are accessed in the full user state and/or prohibit the current access of the AP.
  • Four number of wireless stations access the AP such that a MAC address thereof includes a third number of wireless stations in the second number of wireless stations in the MAC address stored by the AP.
  • the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.
  • the AP when the AP is currently in the full user state, it is determined whether the MAC address of the wireless station that needs to be accessed includes the MAC address stored in the AP, and by increasing the number of wireless stations accessed in the full user state and/or Or prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, and the wireless station whose MAC address is included in some or all of the MAC addresses stored in the AP accesses the AP, that is, For a wireless station that pre-stores its MAC address in the AP, the AP can also access the AP in the full user state, which solves the problem that the access point AP cannot access the wireless station when the user is in the full user state or the maximum user state in the related art. Improve the user experience.

Landscapes

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

Abstract

A method and device for a wireless station to access a wireless local area network. The method comprises: when a first number of wireless stations sends an access request to an access point (AP) in the same wireless local area network, determining whether the number of wireless stations currently accessed by the AP is a pre-set number of wireless stations accessed in a full-user state, wherein each access request respectively carries a media access control (MAC) address of a wireless station sending the access request; determining whether MAC addresses stored at the AP comprise MAC addresses of the first number of wireless stations; and increasing the number of wireless stations accessed in the full-user state and/or forbidding a fourth number of wireless stations currently accessed by the AP to access the AP, so that a third number of wireless stations, of which the MAC addresses are all comprised in the MAC addresses stored at the AP, in a second number of wireless stations, access the AP. The solution solves the problem that an access point (AP) cannot access a wireless station in a full-user state or a maximum-user state.

Description

无线站点接入局域网的方法及装置Method and device for wireless station accessing local area network 技术领域Technical field
本申请涉及但不限于通信领域,尤其是一种无线站点接入无线局域网的方法及装置。The present application relates to, but is not limited to, the field of communications, and in particular, to a method and apparatus for wireless stations accessing a wireless local area network.
背景技术Background technique
相关技术中AP(Wireless Access Point,接入点)或WiFi芯片都只是提供简单的接入技术,也就是说,路由器或者是WiFi芯片都有接入无线站点的最大数量,当接入的无线站点的数量达到最大数量时,其他未接入的无线站点就无法再接入了。在此,每一个连接到无线网络中的终端(如笔记本电脑、PDA及其它可以联网的用户设备)都可称为一个无线站点。例如,对路由器设置了当前接入无线站点数量的最大数量,当无线站点根据AP的名称(Service Set Identity,简称为SSID)连接所述AP,当所述AP处于最大用户或者满用户状态时,也就是到达了预设的用户接入的最大数量或AP支持接入用户的最大数量时,所述AP的覆盖范围内的其他无线站点将无法接入到所述AP。然而接入到AP的用户并不是所有的无线站点都始终在传输数据,这样就浪费了带宽资源,而且不能接入非常重要的无线站点或特定的无线站点。In the related art, an AP (Wireless Access Point) or a WiFi chip only provides a simple access technology, that is, a router or a WiFi chip has a maximum number of access wireless stations when the wireless station is accessed. When the number reaches the maximum number, other wireless stations that are not connected can no longer access. Here, each terminal connected to the wireless network (such as a laptop, a PDA, and other user equipment that can be networked) can be referred to as a wireless station. For example, the maximum number of currently accessed wireless stations is set for the router. When the wireless station connects to the AP according to the name of the AP (Service Set Identity, SSID), when the AP is in the maximum user or full user state, That is, when the maximum number of preset user accesses or the maximum number of APs supporting access users is reached, other wireless stations within the coverage of the AP may not be able to access the AP. However, not all wireless stations are always transmitting data to users accessing the AP, which wastes bandwidth resources and does not allow access to very important wireless stations or specific wireless stations.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请提供了一种无线站点接入无线局域网的方法及装置,以至少解决AP在满用户状态或最大用户状态时无法接入无线站点的问题。The present application provides a method and apparatus for a wireless station to access a wireless local area network to at least solve the problem that the AP cannot access the wireless station when the user is in a full user state or a maximum user state.
根据本申请的一个方面,提供了一种无线站点接入无线局域网的方法,包括:在第一数量的无线站点向同一无线局域网中的接入点AP发送接入请求时,确定所述AP当前接入的无线站点的数量是否为预设的在满用户状态 接入的无线站点的数量,其中,各个所述接入请求中分别携带有发送该接入请求的所述无线站点的媒体访问控制MAC地址;若所述AP当前接入的无线站点的数量为预设的在满用户状态接入的无线站点的数量,确定在所述AP存储的MAC地址是否包括所述第一数量的无线站点的MAC地址;若所述AP存储的MAC地址包括在所述第一数量的无线站点中的第二数量的无线站点的MAC地址,通过增加所述在满用户数量接入的无线站点的数量和/或禁止所属AP当前接入的第四数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP;According to an aspect of the present application, a method for a wireless station to access a wireless local area network includes: determining, when the first number of wireless stations send an access request to an access point AP in the same wireless local area network, Whether the number of wireless stations connected is preset to the full user status The number of the wireless stations to be accessed, wherein each of the access requests respectively carries a media access control MAC address of the wireless station that sends the access request; if the number of wireless stations currently accessed by the AP is Predetermining the number of wireless stations accessed in the full user state, determining whether the MAC address stored in the AP includes the MAC address of the first number of wireless stations; if the MAC address stored by the AP is included in the The MAC address of the second number of wireless stations in the first number of wireless stations, by increasing the number of wireless stations accessed in the full number of users and/or prohibiting the fourth number of wireless stations currently accessed by the associated AP Entering the AP, so that a third number of wireless stations in the second number of wireless stations whose MAC addresses are included in the MAC address stored by the AP access the AP;
其中,若通过增加所述在满用户状态接入的无线站点的数量并禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第三数量为在增加所述在满用户状态接入的无线站点的数量之后增加的无线站点的数量和禁止接入AP的所述AP当前接入的无线站点的数量之和;The third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
其中,若仅通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第四数量是所述第三数量。If the fourth number of wireless stations that are currently accessed by the AP are prohibited from accessing the AP, so that the third number of wireless stations access the AP, the fourth quantity is the The third quantity.
可选地,所述通过增加在所述满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的部分或全部的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP的步骤,包括:若所述在满用户状态接入的无线站点的数量不是所述AP能够接入的无线站点的最大数量,则通过增加所述在满用户状态数量接入的无线站点的数量,以使得部分或全部的所述第三数量的无线站点接入所述AP;若在所述满用户状态接入的无线站点的数量是所述AP能够接入所述无线站点的最大数量,则通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。Optionally, the accessing the AP by adding the number of wireless stations accessed in the full user state and/or prohibiting the wireless station currently accessed by the AP to access the AP The step of including a third number of the wireless stations in the second number of wireless stations in the MAC address stored by the AP to access the AP includes: if the wireless station in the full user state accesses The number is not the maximum number of wireless stations that the AP can access, and the number of wireless stations accessed by the number of full users is increased to enable some or all of the third number of wireless stations to access the station. If the number of wireless stations that are accessed in the full user state is the maximum number of wireless stations that the AP can access, the fourth number of wireless stations that are currently accessed by the AP are prohibited from being accessed. The AP, such that some or all of the third number of wireless stations access the AP.
可选地,所述通过增加所述在满用户状态接入的无线站点的数量,以使得部分或全部的所述第三数量的无线站点接入所述AP的步骤,包括:获取 所述AP能够接入的无线站点的最大数量;增加在所述满用户状态接入的无线站点的数量,以使得所述第三数量的无线站点接入所述AP,其中,在增加接入无线站点的数量之后的所述在满用户状态接入的无线站点的数量小于或等于所述AP能够接入无线站点的最大数量。Optionally, the step of increasing the number of the wireless stations that are accessed in the full user state, so that part or all of the third number of wireless stations access the AP includes: acquiring a maximum number of wireless stations that the AP can access; increasing the number of wireless stations accessed in the full user state, so that the third number of wireless stations access the AP, wherein the access is increased The number of wireless stations accessed in the full user state after the number of wireless stations is less than or equal to the maximum number of wireless stations that the AP can access.
可选地,所述通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP的步骤,包括:获取所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点;禁止所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。Optionally, the step of prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, so that part or all of the third number of wireless stations access the AP includes: Obtaining a fourth number of wireless stations with the least amount of data traffic in the wireless station currently accessed by the AP; and prohibiting the fourth number of data traffic with the least amount of data traffic within the predetermined time in the wireless station currently accessed by the AP The wireless station accesses the AP such that some or all of the third number of wireless stations access the AP.
可选地,在确定所述AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点数量的步骤之前,所述方法还包括:在AP中存储一个或多个无线站点的MAC地址。Optionally, before the step of determining whether the number of wireless stations currently accessed by the AP is a preset number of wireless stations accessed in a full user state, the method further includes: storing one or more in the AP The MAC address of the wireless station.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
根据本申请的另一个方面,提供了一种无线站点接入无线局域网的装置,包括:判断模块,设置成在第一数量的无线站点向同一无线局域网中的接入点AP发送接入请求时,确定所述AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点的数量,其中,各个所述接入请求中分别携带有发送该接入请求的所述无线站点的媒体访问控制MAC地址;匹配模块,设置成若所述AP当前接入的无线站点的数量为预设的在满用户状态接入的无线站点的数量,确定在所述AP存储的MAC地址是否包括所述第一数量的无线站点的MAC地址;接入模块,设置成若所述AP存储的MAC地址包括在所述第一数量的无线站点中的第二数量的无线站点的MAC地址,通过增加在所述满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP;According to another aspect of the present application, an apparatus for wireless station accessing a wireless local area network is provided, comprising: a determining module configured to: when a first number of wireless stations send an access request to an access point AP in the same wireless local area network Determining whether the number of wireless stations currently accessed by the AP is a preset number of wireless stations that are accessed in a full user state, where each of the access requests carries the The media access control MAC address of the wireless station; the matching module is configured to determine the MAC address stored in the AP if the number of wireless stations currently accessed by the AP is a preset number of wireless stations accessed in the full user state. Whether the address includes the MAC address of the first number of wireless stations; and the access module is configured to: if the MAC address stored by the AP includes a MAC address of a second number of wireless stations in the first number of wireless stations And by adding the number of wireless stations accessed in the full user state and/or prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP to make its MAC address It includes a third number of the MAC address of the AP is stored in a second number of wireless station in a wireless access station to the AP;
其中,若通过增加所述在满用户状态接入的无线站点的数量并禁止所述 AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第三数量为在增加所述在满用户状态接入的无线站点的数量之后增加的无线站点的数量和禁止接入AP的所述AP当前接入的无线站点的数量之和;Wherein, by increasing the number of wireless stations accessed in the full user state and prohibiting the The fourth number of wireless stations currently accessed by the AP accesses the AP, so that the third number of wireless stations access the AP, and the third quantity is increased in the full user state. The number of wireless stations added after the number of wireless stations and the number of wireless stations currently blocked by the APs that are prohibited from accessing the AP;
其中,若仅通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第四数量是所述第三数量。If the fourth number of wireless stations that are currently accessed by the AP are prohibited from accessing the AP, so that the third number of wireless stations access the AP, the fourth quantity is the The third quantity.
可选地,所述接入模块,是设置成若所述满用户状态接入的无线站点的数量不是所述AP能够接入的所述无线站点的最大数量,则通过增加在所述满用户状态接入的无线站点的数量,以使得部分或全部的所述第三数量的无线站点接入所述AP;或,是设置成若在所述满用户状态接入的无线站点的数量是所述AP能够接入所述无线站点的最大数量,则通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。Optionally, the access module is configured to increase the number of wireless stations that are accessible if the full user state is not the maximum number of wireless stations that the AP can access. The number of wireless stations accessed by the state such that some or all of the third number of wireless stations access the AP; or, is the number of wireless stations that are set to access if the full user state is The maximum number of APs that can access the wireless station is obtained by prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, so that some or all of the third number of wireless stations are connected. Enter the AP.
可选地,所述接入模块包括:第一获取单元,设置成获取所述AP能够接入的无线站点的最大数量;第一接入单元,设置成增加在所述满用户状态接入的无线站点的数量,以使得所述第三无线站点接入所述AP,其中,在增加接入无线站点的数量之后的所述在满用户状态接入的无线站点的数量小于或等于所述AP能够接入无线站点的最大数量。Optionally, the access module includes: a first acquiring unit, configured to acquire a maximum number of wireless stations that the AP can access; and a first access unit, configured to increase access in the full user state The number of wireless stations such that the third wireless station accesses the AP, wherein the number of wireless stations accessed in the full user state after increasing the number of access wireless stations is less than or equal to the AP The maximum number of wireless stations that can be accessed.
可选地,第二获取单元,设置成获取所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点;第二接入单元,设置成禁止所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。Optionally, the second obtaining unit is configured to acquire a fourth number of wireless stations with the least amount of data traffic in the wireless station currently accessed by the AP, and the second access unit is configured to prohibit the current AP A fourth number of wireless stations in the accessed wireless station that have the least amount of data traffic within a predetermined time period access the AP such that some or all of the third number of wireless stations access the AP.
可选地,所述装置还包括:配置模块,设置成在所述判断模块确定所述AP当前接入的无线站点的数量是否为预设在满用户状态接入的无线站点的数量之前,在AP中存储一个或多个无线站点的MAC地址。Optionally, the device further includes: a configuration module, configured to: before the determining module determines whether the number of wireless stations currently accessed by the AP is preset to be the number of wireless stations accessed in the full user state, The AP stores the MAC address of one or more wireless stations.
在本申请中,采用在AP当前为满用户状态时,确定需要接入的无线站点的MAC地址是否包括在AP存储的MAC地址,并通过增加在满用户状态 接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述AP,使其MAC地址均包括在所述AP存储的MAC地址中的部分或全部的无线站点接入AP,也就是说对于在AP中预先存储其MAC地址的无线站点,在满用户状态时也是可以接入AP,解决了相关技术中接入点AP在满用户状态或最大用户状态时无法接入无线站点的问题,提高了用户的体验。In this application, when the AP is currently in the full user state, it is determined whether the MAC address of the wireless station that needs to be accessed is included in the MAC address stored in the AP, and is increased in the full user state. The number of accessing wireless stations and/or prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, such that all of the MAC addresses are included in part or all of the MAC addresses stored by the AP The wireless station accesses the AP, that is, the wireless station that pre-stores its MAC address in the AP can access the AP when the user is in the full user state, and solves the problem that the access point AP is in the full user state or the maximum user state in the related art. The problem of not being able to access the wireless site improves the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本发明实施例的无线站点接入无线局域网的方法的流程图;1 is a flow chart of a method for a wireless station to access a wireless local area network according to an embodiment of the present invention;
图2是根据本发明实施例的无线站点接入无线局域网的装置的结构框图;2 is a structural block diagram of an apparatus for a wireless station to access a wireless local area network according to an embodiment of the present invention;
图3是根据本发明实施例的无线站点接入无线局域网的装置的接入模块26的可选结构框图一;3 is a block diagram 1 of an optional structure of an access module 26 of a device for accessing a wireless local area network by a wireless station according to an embodiment of the present invention;
图4是根据本发明实施例的无线站点接入无线局域网的装置的接入模块26的可选结构框图二;4 is a block diagram 2 of an optional structure of an access module 26 of a device for accessing a wireless local area network by a wireless station according to an embodiment of the present invention;
图5是根据本发明实施例的无线站点接入无线局域网的装置的可选结构框图;5 is a block diagram showing an optional structure of an apparatus for a wireless station to access a wireless local area network according to an embodiment of the present invention;
图6是根据本申请可选实施例的智能控制无线站点接入的方法的流程图。6 is a flow chart of a method of intelligently controlling wireless station access in accordance with an alternative embodiment of the present application.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。 It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
在本实施例中提供了一种无线站点接入无线局域网的方法,每一个连接到无线网络中的终端(如笔记本电脑、PDA及其它可以联网的无线站点)都可称为一个STA。图1是根据本发明实施例的无线站点接入无线局域网的方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for wireless stations to access a wireless local area network is provided. Each terminal connected to a wireless network (such as a laptop, a PDA, and other wireless stations that can be networked) may be referred to as a STA. FIG. 1 is a flowchart of a method for a wireless station to access a wireless local area network according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102:在第一数量的无线站点向同一无线局域网中的接入点AP发送接入请求时,确定AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点的数量,其中,各个接入请求中分别携带有发送该接入请求的无线站点的媒体访问控制MAC地址;Step S102: When the first number of wireless stations send an access request to the access point AP in the same WLAN, determine whether the number of wireless stations currently accessed by the AP is a preset wireless station accessed in the full user state. The number, wherein each access request carries a media access control MAC address of the wireless station that sends the access request;
步骤S104:若所述AP当前接入的无线站点的数量为预设的在满用户状态接入的无线站点的数量,确定在AP存储的MAC地址是否包括所述第一数量的无线站点的MAC地址;Step S104: If the number of wireless stations currently accessed by the AP is a preset number of wireless stations that are accessed in the full user state, determine whether the MAC address stored in the AP includes the MAC of the first number of wireless stations. address;
步骤S106:若所述AP存储的MAC地址包括在所述第一数量的无线站点中的第二数量的无线站点的MAC地址,通过增加在满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的第二数量的无线站点中的第三数量的无线站点接入AP;Step S106: If the MAC address stored by the AP includes the MAC address of the second number of wireless stations in the first number of wireless stations, by increasing the number of wireless stations accessed in the full user state and/or prohibiting And the fourth number of wireless stations currently accessed by the AP accesses the AP, such that the MAC address thereof includes a third number of wireless stations in the second number of wireless stations in the MAC address stored by the AP. Access to the AP;
其中,若通过增加所述在满用户状态接入的无线站点的数量并禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第三数量为在增加所述在满用户状态接入的无线站点的数量之后增加的无线站点的数量和禁止接入AP的所述AP当前接入的无线站点的数量之和;The third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
其中,若仅通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第四数量是所述第三数量。If the fourth number of wireless stations that are currently accessed by the AP are prohibited from accessing the AP, so that the third number of wireless stations access the AP, the fourth quantity is the The third quantity.
通过本实施例中的步骤S102至步骤S106,在AP当前接入为满用户状态时,确定请求接入的无线站点的MAC地址是否包括在AP存储的MAC地址,如若所述AP存储的MAC地址包括在所述第一数量请求接入的无线站点中的第二数量的无线站点的MAC地址,则通过增加在满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述 AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入AP,也就是说对于AP预先存储的其MAC地址的无线站点,在满用户状态时也是可以接入AP的,从而解决了相关技术中AP在满用户状态或最大用户状态无线站点无法接入的问题,提高了用户的体验效果。With the step S102 to the step S106 in the embodiment, when the AP is currently in the full user state, it is determined whether the MAC address of the wireless station that requests the access includes the MAC address stored in the AP, such as the MAC address stored by the AP. Included in the MAC address of the second number of wireless stations in the first number of wireless stations requesting access, by increasing the number of wireless stations accessed in the full user state and/or disabling the AP from currently accessing The fourth number of wireless stations accesses the The AP accesses the AP by a third number of the wireless stations in the second number of the wireless stations whose MAC addresses are included in the MAC address stored by the AP, that is, their MAC addresses pre-stored for the AP. The wireless station can also access the AP when the user is full, thereby solving the problem that the AP cannot access the wireless station in the full user state or the maximum user state in the related art, and the user experience is improved.
需要说明的是,对于本实施例中涉及到的AP的满用户状态接入的无线站点的数量可以是该AP能够接入的无线站点的最大数量,或者是预先设置的接入无线站点的最大数量,该预先设置的接入无线站点的最大数量小于或等于AP能够接入的无线站点的最大数量;针对该满用户状态接入的无线站点的数量的不同类型,分别采用不同的接入AP的方式;例如,AP设备WiFi芯片最多支持接入10个无线站点,AP软件设置连接无线站点的最大数量为5,此时满用户状态接入的无线站点的数量为5;如果AP设置接入的无线站点的最大数量为10,满用户状态接入的无线站点的数量与能够接入的无线站点的最大数量均为10。It should be noted that the number of wireless stations that access the full user state of the AP involved in this embodiment may be the maximum number of wireless stations that the AP can access, or the maximum number of wireless stations that are preset in the access wireless station. The maximum number of the preset access wireless stations is less than or equal to the maximum number of wireless stations that the AP can access; for different types of the number of wireless stations accessed by the full user state, different access APs are used respectively. For example, the AP device WiFi chip supports up to 10 wireless stations, and the maximum number of wireless stations connected to the AP software is 5, and the number of wireless stations connected to the full user state is 5; if the AP is set to access The maximum number of wireless stations is 10, and the number of wireless stations that are connected to full user status and the maximum number of wireless stations that can be accessed are 10.
方式一:若所述在满用户状态接入的无线站点的数量不是AP能够接入的所述无线站点的最大数量,则通过增加在满用户状态接入的无线站点的数量,以使得部分或全部的第三数量的无线站点接入AP,其中增加的数量大于或等于1,但增加后不能超过AP能够接入的无线站点的最大数量。Manner 1: If the number of wireless stations that are accessed in the full user state is not the maximum number of wireless stations that the AP can access, increase the number of wireless stations that are accessed in the full user state to make part or All of the third number of wireless stations access the AP, wherein the increased number is greater than or equal to 1, but the increase cannot exceed the maximum number of wireless stations that the AP can access.
方式二:若所述在满用户状态接入的无线站点的数量是AP能够接入所述无线站点的最大数量,则通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的第三数量的无线站点接入AP。Manner 2: If the number of the wireless stations that are accessed in the full user state is the maximum number of wireless stations that the AP can access, the fourth number of wireless stations currently accessed by the AP are prohibited from accessing the The AP is such that some or all of the third number of wireless stations access the AP.
对于方式一中的通过增加在满用户状态接入的无线站点的数量,以使得部分或全部的第三数量的无线站点接入AP的步骤,可以通过如下步骤来实现:For the method of adding the number of wireless stations accessed in the full user state in the first mode, so that some or all of the third number of wireless stations access the AP, the following steps can be implemented:
步骤S11:获取AP能够接入的无线站点的最大数量;Step S11: Obtain a maximum number of wireless stations that the AP can access;
步骤S12:增加在满用户状态接入的无线站点的数量,以使得第三无线站点接入AP,其中,在增加接入无线站点的数量之后的所述在满用户状态接入的无线站点的数量小于或等于AP能够接入无线站点的最大数量。Step S12: Increasing the number of wireless stations accessed in the full user state, so that the third wireless station accesses the AP, wherein the wireless station accessing the full user state after increasing the number of access wireless stations The number is less than or equal to the maximum number of APs that can access the wireless station.
对于步骤S11和步骤S12,在本实施例的具体应用场景中可以是:若AP 能够接入的无线站点的最大数量为10,预先设置的在满用户状态接入的无线站点的数量为5,则能够增加的在慢用户状态接入的无线站点的数量可以是1至5中任一整数。在增加的数量为1时,在满用户状态接入的无线站点的数量为6,此时就可以增加一个接入到AP的无线站点。In the specific application scenario of this embodiment, it may be: if the AP is in the step S11 and the step S12. The maximum number of wireless stations that can be accessed is 10, and the number of wireless stations that are preset to be accessed in the full user state is 5, and the number of wireless stations that can be added in the slow user state can be 1 to 5 Any integer. When the added number is 1, the number of wireless stations accessing in the full user state is 6, and at this time, a wireless station accessing the AP can be added.
而对于方式二中的通过禁止所述AP当前接入的第四数量的无线站点接入AP,以使得部分或全部的第三数量的无线站点接入AP的步骤,可以通过如下步骤来实现:The method for accessing the AP by prohibiting the fourth number of wireless stations currently accessed by the AP in the second mode to enable a part or all of the third number of wireless stations to access the AP may be implemented by the following steps:
步骤S21:获取AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点;Step S21: Acquire a fourth number of wireless stations in the wireless station currently accessed by the AP with the least data traffic within a predetermined time;
步骤S22:禁止AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点接入所述AP,以使得部分或全部的第三数量的无线站点接入AP。Step S22: The fourth number of wireless stations with the least data traffic within the predetermined time in the wireless station currently accessed by the AP is prohibited from accessing the AP, so that some or all of the third number of wireless stations access the AP.
对于步骤S21和步骤S22,在本实施例的具体应用场景中可以是:在该满用户状态接入的无线站点的数量就是AP能够的无线站点的最大数量时,获取AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点,也就是说该第四数量的当前接入的无线站点此时需要的数据流量最少,可以禁止该第四数量的当前接入的无线站点接入AP,以使得其MAC地址包括在AP预先存储在AP的MAC地址第四数量的无线站点接入AP,充分利用带宽资源。For the step S21 and the step S22, in the specific application scenario of the embodiment, the wireless station currently accessed by the AP may be obtained when the number of wireless stations accessed by the full user state is the maximum number of wireless stations that the AP can access. The fourth number of wireless stations with the least amount of data traffic within a predetermined time period, that is, the fourth number of currently accessed wireless stations require the least amount of data traffic at this time, and the fourth number of currently accessed wireless stations can be disabled. The station accesses the AP such that its MAC address includes the fourth number of wireless stations that are pre-stored in the AP's MAC address to access the AP, making full use of the bandwidth resources.
此外在确定AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点的数量的步骤之前,本实施例的方法还包括:在AP中存储一个或多个无线站点的MAC地址。In addition, before the step of determining whether the number of wireless stations currently accessed by the AP is the preset number of wireless stations accessed in the full user state, the method in this embodiment further includes: storing one or more wireless stations in the AP. MAC address.
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述方法。Embodiments of the present invention further provide a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁 碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic The disc, the optical disc, includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the various embodiments of the present application.
在本实施例中还提供了一种无线站点接入无线局域网的装置,该装置设置成实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for accessing a wireless local area network is also provided, and the device is configured to implement the foregoing embodiments and optional implementations, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的无线站点接入无线局域网的装置的结构框图,如图2所示,该装置包括:判断模块22,设置成在第一数量的无线站点向同一个无线局域网中的接入点AP发送接入请求时,确定AP当前接入的无线站点的数量是否为预设的满用户状态的接入无线站点的数量,其中,各个接入请求中分别携带有发送该接入请求的无线站点的媒体访问控制MAC地址;匹配模块24,与判断模块22耦合连接,设置成若所述AP当前接入的无线站点的数量为预设的在满用户状态接入的无线站点的数量,确定在AP存储的MAC地址是否包括所述第一数量的无线站点的MAC地址;接入模块26,与匹配模块24耦合连接,设置成若所述AP存储的MAC地址包括在所述第一数量的无线站点中的第二数量的无线站点的MAC地址,通过增加在满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的第二数量的无线站点中的第三数量的无线站点接入AP;2 is a structural block diagram of an apparatus for a wireless station to access a wireless local area network according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a determining module 22 configured to be in a same number of wireless stations to the same wireless local area network. When the access point AP sends an access request, it determines whether the number of the wireless stations currently accessed by the AP is the number of the preset wireless users in the full user state, where each access request carries the connection The media access control MAC address of the requesting wireless station; the matching module 24 is coupled to the determining module 22, and is configured to set the wireless station to be accessed in the full user state if the number of wireless stations currently accessed by the AP is preset. The number of the MAC address stored in the AP includes whether the MAC address of the first number of wireless stations is included; the access module 26 is coupled to the matching module 24, and is configured to: if the MAC address stored by the AP is included in the The MAC address of the second number of wireless stations in the first number of wireless stations, by increasing the number of wireless stations accessed in the full user state and/or disabling the current connection of the AP Entering a fourth number of wireless stations to access the AP, such that a MAC address thereof includes a third number of wireless stations in the second number of wireless stations in the AP stored in the AP to access the AP;
其中,若通过增加所述在满用户状态接入的无线站点的数量并禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第三数量为在增加所述在满用户状态接入的无线站点的数量之后增加的无线站点的数量和禁止接入AP的所述AP当前接入的无线站点的数量之和;The third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
其中,若仅通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第四数量是所述第三数量。If the fourth number of wireless stations that are currently accessed by the AP are prohibited from accessing the AP, so that the third number of wireless stations access the AP, the fourth quantity is the The third quantity.
可选地,若满用户状态接入的无线站点的数量不是AP能够接入的所述 无线站点的最大数量,该接入模块26,是设置成通过增加在满用户状态接入的无线站点的数量,以使得部分或全部的第三数量的无线站点接入AP;若在满用户状态接入的无线站点的数量是AP能够接入无线站点的最大数量,接入模块26,是设置成通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入AP。Optionally, if the number of wireless stations accessed by the full user state is not the same as the AP can access The maximum number of wireless stations, the access module 26, is configured to increase the number of wireless stations accessed in the full user state such that some or all of the third number of wireless stations access the AP; The number of accessing wireless stations is the maximum number of wireless stations that the AP can access. The access module 26 is configured to access the AP by prohibiting the fourth number of wireless stations currently accessed by the AP, so that the part is Or all of the third number of wireless stations access the AP.
图3是根据本发明实施例的无线站点接入无线局域网的装置的接入模块26的可选结构框图一,如图3所示,该接入模块26包括:第一获取单元32,设置成获取AP能够接入的无线站点的最大数量;第一接入单元34,与第一获取单元32耦合连接,设置成增加在满用户状态接入的无线站点的数量,以使得第三无线站点接入AP,其中,在增加接入无线站点的数量之后的所述在满用户状态接入的无线站点的数量小于或等于AP能够接入无线站点的最大数量。FIG. 3 is a block diagram of an optional structure of an access module 26 of a device for accessing a wireless local area network of a wireless station according to an embodiment of the present invention. As shown in FIG. 3, the access module 26 includes: a first acquiring unit 32, configured to Obtaining a maximum number of wireless stations that the AP can access; the first access unit 34 is coupled to the first obtaining unit 32, and is configured to increase the number of wireless stations accessed in the full user state, so that the third wireless station is connected. The AP is entered, wherein the number of wireless stations accessed in the full user state after increasing the number of access wireless stations is less than or equal to the maximum number of wireless stations that the AP can access.
图4是根据本发明实施例的无线站点接入无线局域网的装置的接入模块26的可选结构框图二,如图4所示,该接入模块26包括:第二获取单元42,设置成获取AP当前接入的无线站点中在预定时间内数据业务流量最少的第四数量的无线站点;第二接入单元44,与第二获取单元42耦合连接,设置成禁止AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。4 is a block diagram of an optional structure of an access module 26 of a device for accessing a wireless local area network of a wireless station according to an embodiment of the present invention. As shown in FIG. 4, the access module 26 includes: a second acquiring unit 42 configured to Obtaining a fourth number of wireless stations that have the least amount of data traffic in the wireless station currently accessed by the AP, and the second access unit 44 is coupled to the second acquiring unit 42 and configured to disable the wireless access currently accessed by the AP. A fourth number of wireless stations in the station that have the least amount of data traffic within a predetermined time period access the AP such that some or all of the third number of wireless stations access the AP.
图5是根据本发明实施例的无线站点接入无线局域网的装置的可选结构框图,如图5所示,在所述判断模块确定AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点的数量之前,该装置还包括:配置模块52,与判断模块22耦合连接,设置成在AP中存储一个或多个无线站点的MAC地址。5 is an optional structural block diagram of an apparatus for a wireless station to access a wireless local area network according to an embodiment of the present invention. As shown in FIG. 5, the determining module determines whether the number of wireless stations currently accessed by the AP is preset. Before the number of wireless stations connected to the user state, the device further includes: a configuration module 52 coupled to the determining module 22 and configured to store the MAC addresses of the one or more wireless stations in the AP.
下面通过本申请的可选实施例对本申请进行举例说明;The present application is exemplified by an optional embodiment of the present application;
本可选实施例提供了一种智能控制接入无线站点的装置,该装置能够自己判断满用户状态和最大用户状态,并自动控制接入无线站点,以解决相关技术中接入设备在满用户状态或最大用户状态无法接入无线站点的问题。The present invention provides an apparatus for intelligently controlling access to a wireless station, which can determine the full user state and the maximum user state by itself, and automatically control access to the wireless station to solve the related problem in the related art. The problem that the status or maximum user status cannot access the wireless station.
通过本可选实施例的装置,在AP侧安装一个软件或装置以存储预置信 息,预置信息为无线站点的MAC地址,通过无线站点发送的接入请求获取无线站点的MAC地址,确定在所述AP存储的MAC地址是否包括所述第一数量的无线站点的MAC地址,若所述AP存储的MAC地址包括在所述第一数量的无线站点中的第二数量的无线站点的MAC地址,AP判断自身是处于满用户状态还是最大用户状态:若满用户状态接入的无线站点的数量不是在最大用户状态接入的无线站点的数量,获取管理员用户权限,修改AP接入无线站点的数量,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP;如果当前状态为最大用户状态,AP将禁止所述AP当前接入的第三数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP,禁止第三数量的无线站点接入AP的步骤中,根据10分钟内各无线站点的数据流量,禁止数据流量最少的第三数量的用户接入AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP。With the device of the alternative embodiment, a software or device is installed on the AP side to store the preset letter. The preset information is the MAC address of the wireless station, and obtains the MAC address of the wireless station by using the access request sent by the wireless station, and determines whether the MAC address stored in the AP includes the MAC address of the first number of wireless stations. If the MAC address stored by the AP includes the MAC address of the second number of wireless stations in the first number of wireless stations, the AP determines whether it is in a full user state or a maximum user state: if the user state is full The number of wireless stations is not the number of wireless stations that are accessed in the maximum user state, the administrator user rights are obtained, and the number of APs accessing the wireless stations is modified so that the MAC addresses are included in the MAC addresses stored in the APs. The third number of wireless stations in the second number of wireless stations access the AP; if the current state is the maximum user state, the AP will prohibit the third number of wireless stations currently accessed by the AP from accessing the AP. And a third number of wireless stations in the second number of wireless stations whose MAC addresses are included in the MAC address stored by the AP access the AP, prohibiting the third number In the step of accessing the AP by the wireless station, according to the data traffic of each wireless station within 10 minutes, the third number of users with the least data traffic is prohibited from accessing the AP, so that the MAC address is included in the MAC stored by the AP. A third number of wireless stations of the second number of wireless stations in the address access the AP.
本可选实施例的装置包括:VIP无线站点管理模块、信息报文捕获模块、信息匹配模块、满用户状态与最大用户状态区分模块、无线站点禁止接入模块、获取管理员权限控制模块,下面对本可选实施例装置中各模块的功能进行说明。The device of the optional embodiment includes: a VIP wireless station management module, an information packet capture module, an information matching module, a full user status and a maximum user status distinguishing module, a wireless station forbidden access module, and an administrator permission control module. The function of each module in the device of this alternative embodiment will be described.
其中,VIP无线站点管理模块,设置成把无线站点的MAC地址(例如:0C-12-B5-AC-ED-A2)存储到VIP无线站点管理列表中,就可以将所述无线站点设置为VIP无线站点,反之其MAC地址没有在无线站点管理列表中的无线站点就是普通无线站点。只有VIP无线站点才能在满用户状态或者最大用户状态接入AP,而对于普通无线站点采用通常的接入流程,即普通无线站点在满用户状态或者最大用户状态不能接入。The VIP wireless station management module is configured to store the wireless station's MAC address (for example, 0C-12-B5-AC-ED-A2) in the VIP wireless station management list, and the wireless station can be set to the VIP. A wireless station, or a wireless station whose MAC address is not in the wireless station management list, is a normal wireless station. Only the VIP wireless station can access the AP in the full user state or the maximum user state, and the normal access procedure is adopted for the ordinary wireless station, that is, the ordinary wireless station cannot access in the full user state or the maximum user state.
信息匹配模块,设置成接收无线站点的请求报文中携带的无线站点的MAC地址,并确定发起接入请求的无线站点上报给AP的MAC地址是否包括在VIP无线站点管理模块中存储的MAC地址,若请求接入的无线站点的MAC地址包括在预置的MAC地址中,则运行满用户状态与最大用户状态区 分判断模块,若请求接入的无线站点的MAC地址部包括在预置的MAC地址中,则结束流程。The information matching module is configured to receive the MAC address of the wireless station carried in the request message of the wireless station, and determine whether the MAC address reported to the AP by the wireless station that initiated the access request includes the MAC address stored in the VIP wireless station management module. If the MAC address of the wireless station requesting access is included in the preset MAC address, the full user state and the maximum user status area are run. The sub-determination module terminates the process if the MAC address portion of the wireless station requesting access is included in the preset MAC address.
若请求接入的无线站点的MAC地址包括在预置的MAC地址中,则所述满用户状态与最大用户状态区分模块设置成判断AP状态是满用户状态还是最大用户状态。该判断模块会把当前已经接入的无线站点的数量和设置的无线站点的最大数量进行对比,如果已经接入的无线站点的数量小于设置的无线站点的最大数量,则为未达到满用户状态;如果已经接入的无线站点的数量为设置的无线站点的最大数量,则为达到满用户状态。例如,AP设备的WiFi芯片能够接入的无线站点的最大数量是10,AP软件设置AP接入无线站点的最大数量为5,此时满用户状态的无线站点的数量为5,最大用户状态的无线站点的数量为10。如果AP软件设置AP接入无线站点的最大数量为10,则满用户状态的无线站点的数量与最大用户状态的无线站点的数量均为10。If the MAC address of the wireless station requesting access is included in the preset MAC address, the full user status and maximum user status distinguishing module is configured to determine whether the AP status is a full user status or a maximum user status. The judging module compares the number of currently connected wireless stations with the maximum number of set wireless stations. If the number of wireless stations that have been accessed is less than the maximum number of wireless stations that are set, the full user status is not reached. If the number of wireless stations that have been accessed is the maximum number of wireless stations set, the full user state is reached. For example, the maximum number of wireless stations that the WiFi chip of the AP device can access is 10, and the maximum number of APs that the AP software sets to access the wireless station is 5, and the number of wireless stations in the full user state is 5, and the maximum user state is The number of wireless stations is 10. If the AP software sets the maximum number of APs to access the wireless station to be 10, the number of wireless stations in the full user state and the number of wireless stations in the maximum user state are both 10.
判断AP当前是否处在满用户状态,处在满用户状态时无线站点的MAC地址包括在AP中存储的MAC地址时,通过WiFi驱动API模块修改接入无线站点的最大数量,保证无线站点能够接入AP,无线站点接入后获取管理员权限,流程结束。Determine whether the AP is currently in the full user state. When the MAC address of the wireless station includes the MAC address stored in the AP when the user is full, the maximum number of access wireless stations is modified by the WiFi driver API module to ensure that the wireless station can connect. After entering the AP, the wireless station accesses the administrator and the process ends.
需要说明的是,上述可选实施例是先确定AP存储的MAC地址是否包括无线站点的MAC地址,若包括无线站点的MAC地址,则判断AP是否为满用户状态,也就是说只有其MAC地址包括在AP存储的MAC地址的无线站点时,才会进行到下一步;当然,也可以先判断AP当前为满用户状态,再判断该无线站点的MAC地址是否包括在AP存储的MAC地址,这两种方式在本可选实施例中都是可以实现的,在本可选实施例中主要针对第一种情况进行说明。It should be noted that the foregoing optional embodiment first determines whether the MAC address stored by the AP includes the MAC address of the wireless station, and if the MAC address of the wireless station is included, determines whether the AP is in a full user state, that is, only its MAC address. The wireless station that stores the MAC address stored in the AP will proceed to the next step. Of course, it can also be determined that the AP is currently in the full user state, and then determine whether the MAC address of the wireless station includes the MAC address stored in the AP. Both modes are achievable in this alternative embodiment, and the first case is mainly described in the alternative embodiment.
WiFi驱动API模块,设置成修改接入到AP的无线站点的最大数量,即可以通过任意修改接入的无线站点的数量。The WiFi driver API module is configured to modify the maximum number of wireless stations accessing the AP, that is, the number of wireless stations that can be accessed by any modification.
确定最大用户状态时,无线站点的MAC地址包括在预先存储的MAC地址中,若确定AP当前为最大用户状态,即当前接入的无线站点的数量已经达到WiFi芯片能够接入的无线站点的最大数量,此时AP通过无线站点上 报的MAC地址通过匹配为VIP用户管理模块里面的预置MAC地址,此时AP将禁止部分或全部当前接入的无线站点接入AP,无线站点接入并获取管理员权限,流程结束。When determining the maximum user status, the MAC address of the wireless station is included in the pre-stored MAC address. If it is determined that the AP is currently in the maximum user state, that is, the number of currently accessed wireless stations has reached the maximum wireless station that the WiFi chip can access. Quantity, at this time AP passes through the wireless site The reported MAC address is matched to the preset MAC address in the VIP user management module. At this time, the AP will prohibit some or all of the currently accessed wireless stations from accessing the AP, and the wireless station accesses and obtains the administrator authority. The process ends.
用户踢出模块,设置成AP在最大用户状态下时,AP获取到无线站点的接入请求中的MAC地址,并且接入请求中的MAC地址包括在AP存储的MAC地址时,AP将禁止数据流量最小的无线站点接入AP,以使其MAC地址均包括在所述AP存储的MAC地址中的无线站点接入所述AP,AP接入的无线站点的数量不变。When the user kicks out the module and sets the AP to be in the maximum user state, the AP obtains the MAC address in the access request of the wireless station, and the MAC address in the access request includes the MAC address stored in the AP, and the AP prohibits the data. The wireless station with the smallest traffic accesses the AP, so that the wireless station whose MAC address is included in the MAC address stored by the AP accesses the AP, and the number of wireless stations accessed by the AP does not change.
无线站点接入后获取AP的最大接入权限,一般在嵌入式开发的智能AP终端后台均有***自带的权限***,本可选实施例中,只要获取***最高权限即可。After accessing the wireless station, the access rights of the AP are obtained. Generally, the system has its own permission system in the background of the embedded AP module. In this alternative embodiment, the highest authority of the system can be obtained.
下面结合附图对本申请可选实施例进行详细说明;图6是根据本申请可选实施例的智能控制无线站点接入的方法的流程图,如图6所示,该方法的步骤包括:The following describes the optional embodiment of the present application in detail with reference to the accompanying drawings. FIG. 6 is a flowchart of a method for intelligently controlling wireless station access according to an optional embodiment of the present application. As shown in FIG. 6, the steps of the method include:
步骤S601:AP中预置模块预置MAC地址的无线站点发送接入请求。Step S601: The wireless station that presets the module preset MAC address in the AP sends an access request.
步骤S602:信息匹配模块确定发起接入请求的无线站点是否为存在预置MAC地址的无线站点,如果请求接入的无线站点的MAC地址不包括在预置的MAC地址,则结束流程;如果请求接入的无线站点的MAC地址包括在预置的MAC地址中,则进行到步骤S603。Step S602: The information matching module determines whether the wireless station that initiates the access request is a wireless station that has a preset MAC address, and if the MAC address of the wireless station that requests the access is not included in the preset MAC address, the process ends; if the request is The MAC address of the accessed wireless station is included in the preset MAC address, and then proceeds to step S603.
步骤S603:满用户状态与最大用户状态区分模块确定AP当前的状态是否为满用户状态。如果确定AP当前不处于满用户状态,则结束本流程,执行通常的接入无线站点的流程;如果判断AP当前处于满用户状态,则进行到S604。Step S603: The full user state and maximum user state distinguishing module determines whether the current state of the AP is a full user state. If it is determined that the AP is not in the full user state, the process ends, and the normal process of accessing the wireless station is performed; if it is determined that the AP is currently in the full user state, then the process proceeds to S604.
步骤S604:满用户状态与最大用户状态区分模块,确定AP当前接入的无线站点的数量是否为在最大用户状态接入的无线站点的数量。如果判断AP当前接入的无线站点的数量不是在最大用户状态接入的无线站点的数量,则进行到步骤S606;如果判断AP当前接入的无线站点的数量是在最大用户状态接入的无线站点的数量,则进行到步骤S605。 Step S604: The full user state and the maximum user state distinguishing module determines whether the number of wireless stations currently accessed by the AP is the number of wireless stations accessed in the maximum user state. If it is determined that the number of wireless stations currently accessed by the AP is not the number of wireless stations accessed in the maximum user state, proceed to step S606; if it is determined that the number of wireless stations currently accessed by the AP is wirelessly accessed in the maximum user state The number of sites proceeds to step S605.
步骤S605:AP按照规则禁止部分或全部当前接入的无线站点接入AP,然后与被禁止接入的无线站点数量相同的、发出接入请求的无线站点并且其MAC地址包括在预置的MAC地址的无线站点接入AP,此时AP连接用户数保持不变。Step S605: The AP prohibits some or all of the currently accessed wireless stations from accessing the AP according to the rules, and then the same number of wireless stations that are prohibited from accessing, and the wireless station that sends the access request and its MAC address is included in the preset MAC address. The wireless station of the address accesses the AP, and the number of AP connected users remains unchanged.
步骤S606:AP通过WiFi驱动API模块修改接入无线站点的最大数量,以增加接入无线站点的数量,让无线站点接入AP,此时AP接入的无线站点的数量相应地增加。Step S606: The AP modifies the maximum number of access wireless stations through the WiFi driving API module, so as to increase the number of access wireless stations, and let the wireless station access the AP, and the number of wireless stations accessed by the AP increases accordingly.
步骤S607:无线站点接入到AP后获取管理员权限,流程结束。Step S607: After the wireless station accesses the AP, the administrator authority is obtained, and the process ends.
可见,在本可选实施例中AP通过无线站点发送的接入请求获取无线站点的MAC地址,确定发起建立请求的无线站点是否为存在预置MAC地址的无线站点,若发起建立请求的无线站点为存在预置MAC地址的无线站点,则AP判断自身是处于满用户状态还是最大用户状态:如满用户状态接入的无线站点的数量不是在最大用户状态接入的无线站点的数量,则获取管理员用户权限,修改AP接入无线站点的数量,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP;如果当前状态为最大用户状态,AP将禁止所述AP当前接入的第三数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP,禁止第三数量的无线站点接入AP的步骤中,根据10分钟内各无线站点的数据流量,禁止数据流量最小的地三数量的用户接入AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP。It can be seen that, in the optional embodiment, the AP obtains the MAC address of the wireless station by using the access request sent by the wireless station, and determines whether the wireless station that initiates the request establishment is a wireless station that has a preset MAC address, and if the wireless station that initiates the request is initiated, For a wireless station with a preset MAC address, the AP determines whether it is in a full user state or a maximum user state: if the number of wireless stations accessed in the full user state is not the number of wireless stations accessed in the maximum user state, then the acquire The administrator user right, modifying the number of accessing the wireless stations by the AP, so that the MAC address thereof is included in the third number of wireless station access stations in the second number of wireless stations in the MAC address stored by the AP If the current state is the maximum user state, the AP will prohibit the third number of wireless stations currently accessed by the AP from accessing the AP, so that the MAC address is included in the MAC address stored by the AP. The third number of wireless stations in the second number of wireless stations access the AP, and the third number of wireless stations are prohibited from accessing the AP, according to 10 minutes. The data traffic of each wireless station is prohibited, and the third number of users whose data traffic is the smallest is prohibited from accessing the AP, so that the MAC address thereof is included in the third of the second number of wireless stations in the MAC address stored by the AP. A number of wireless stations access the AP.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
步骤S1:在第一无线站点向无线局域网中的接入点AP发送接入请求时,确定AP当前接入的用户数量是否为预设的在满用户状态接入无线站点的数 量,其中,各个接入请求中分别携带有发送该请求的无线站点的媒体访问控制MAC地址;Step S1: When the first wireless station sends an access request to the access point AP in the WLAN, determine whether the number of users currently accessed by the AP is a preset number of wireless stations that are in the full user state. The media access control MAC address of the wireless station that sends the request, respectively, in each access request;
步骤S2:若AP当前接入的用户数量是否为预设的在满用户状态接入无线站点的数量,确定发送接入请求的无线站点的MAC地址是否包括在AP中存储的MAC地址;Step S2: If the number of users currently accessed by the AP is the preset number of accessing the wireless stations in the full user state, determine whether the MAC address of the wireless station that sends the access request includes the MAC address stored in the AP;
步骤S3:若发送接入请求的无线站点的MAC地址是否包括在AP中存储的MAC地址,则通过增加在满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入AP。可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Step S3: If the MAC address of the wireless station that sends the access request includes the MAC address stored in the AP, increase the number of wireless stations that are accessed in the full user state and/or prohibit the current access of the AP. Four number of wireless stations access the AP such that a MAC address thereof includes a third number of wireless stations in the second number of wireless stations in the MAC address stored by the AP. For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和 原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an optional embodiment of the present application, and is not intended to limit the present application, and various changes and modifications may be made to the present application. Where in the spirit of this application Within the principles, any modifications, equivalent substitutions, improvements, etc., are intended to be included within the scope of this application.
工业实用性Industrial applicability
在本申请中,采用在AP当前为满用户状态时,确定需要接入的无线站点的MAC地址是否包括在AP存储的MAC地址,并通过增加在满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述AP,使其MAC地址均包括在所述AP存储的MAC地址中的部分或全部的无线站点接入AP,也就是说对于在AP中预先存储其MAC地址的无线站点,在满用户状态时也是可以接入AP,解决了相关技术中接入点AP在满用户状态或最大用户状态时无法接入无线站点的问题,提高了用户的体验。 In the present application, when the AP is currently in the full user state, it is determined whether the MAC address of the wireless station that needs to be accessed includes the MAC address stored in the AP, and by increasing the number of wireless stations accessed in the full user state and/or Or prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, and the wireless station whose MAC address is included in some or all of the MAC addresses stored in the AP accesses the AP, that is, For a wireless station that pre-stores its MAC address in the AP, the AP can also access the AP in the full user state, which solves the problem that the access point AP cannot access the wireless station when the user is in the full user state or the maximum user state in the related art. Improve the user experience.

Claims (10)

  1. 一种无线站点接入无线局域网的方法,包括:A method for a wireless station to access a wireless local area network, comprising:
    在第一数量的无线站点向同一无线局域网中的接入点AP发送接入请求时,确定所述AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点的数量,其中,各个所述接入请求中分别携带有发送该接入请求的所述无线站点的媒体访问控制MAC地址;When the first number of wireless stations send an access request to the access point AP in the same WLAN, determine whether the number of wireless stations currently accessed by the AP is a preset wireless station that is accessed in the full user state. The quantity, wherein each of the access requests respectively carries a media access control MAC address of the wireless station that sends the access request;
    若所述AP当前接入的无线站点的数量为预设的在满用户状态接入的无线站点的数量,确定在所述AP存储的MAC地址是否包括所述第一数量的无线站点的MAC地址;If the number of wireless stations currently accessed by the AP is a preset number of wireless stations that are accessed in the full user state, determining whether the MAC address stored in the AP includes the MAC address of the first number of wireless stations ;
    若所述AP存储的MAC地址包括在所述第一数量的无线站点中的第二数量的无线站点的MAC地址,通过增加所述在满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP;If the MAC address stored by the AP includes the MAC address of the second number of wireless stations in the first number of wireless stations, by increasing the number of wireless stations accessed in the full user state and/or prohibiting the The fourth number of wireless stations currently accessed by the AP accesses the AP, such that the MAC address thereof includes a third number of wireless devices in the second number of wireless stations in the MAC address stored by the AP. The site accesses the AP;
    其中,若通过增加所述在满用户状态接入的无线站点的数量并禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第三数量为在增加所述在满用户状态接入的无线站点的数量之后增加的无线站点的数量和禁止接入AP的所述AP当前接入的无线站点的数量之和;The third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
    其中,若仅通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第四数量是所述第三数量。If the fourth number of wireless stations that are currently accessed by the AP are prohibited from accessing the AP, so that the third number of wireless stations access the AP, the fourth quantity is the The third quantity.
  2. 根据权利要求1所述的方法,其中,所述通过增加在所述满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的部分或全部的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP的步骤,包括:The method of claim 1, wherein the accessing the AP by increasing the number of wireless stations accessed in the full user state and/or disabling some or all of the wireless stations currently accessed by the AP And the step of accessing the AP by the third number of the wireless stations in the second number of the wireless stations whose MAC addresses are all included in the MAC address stored by the AP, including:
    若所述在满用户状态接入的无线站点的数量不是所述AP能够接入的所述无线站点的最大数量,则通过增加所述在满用户状态接入的无线站点的数 量,以使得部分或全部的所述第三数量的无线站点接入所述AP;If the number of wireless stations accessed in the full user state is not the maximum number of the wireless stations that the AP can access, by increasing the number of wireless stations accessed in the full user state A quantity such that part or all of the third number of wireless stations access the AP;
    若在所述满用户状态接入的无线站点的数量是所述AP能够接入所述无线站点的最大数量,则通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。If the number of the wireless stations that are accessed in the full user state is the maximum number of the wireless stations that the AP can access, the fourth number of wireless stations that the AP is currently accessing are prohibited from accessing the AP. Soing that some or all of the third number of wireless stations access the AP.
  3. 根据权利要求2所述的方法,其中,所述通过增加所述在满用户状态接入的无线站点的数量,以使得部分或全部的所述第三数量的无线站点接入所述AP的步骤,包括:The method of claim 2, wherein said step of increasing said number of wireless stations accessed in a full user state such that a portion or all of said third number of wireless stations access said AP ,include:
    获取所述AP能够接入的无线站点的最大数量;Obtaining a maximum number of wireless stations that the AP can access;
    增加在所述满用户状态接入的无线站点的数量,以使得所述第三数量的无线站点接入所述AP,其中,在增加接入无线站点的数量之后的所述在满用户状态接入的无线站点的数量小于或等于所述AP能够接入无线站点的最大数量。Increasing the number of wireless stations accessed in the full user state, such that the third number of wireless stations access the AP, wherein the full user status is after increasing the number of access wireless stations The number of incoming wireless stations is less than or equal to the maximum number of wireless stations that the AP can access.
  4. 根据权利要求2所述的方法,其中,所述通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP的步骤,包括:The method of claim 2, wherein the accessing the AP by prohibiting a fourth number of wireless stations currently accessed by the AP to cause some or all of the third number of wireless stations to access The steps of the AP include:
    获取所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点;Obtaining a fourth number of wireless stations with the least amount of data traffic in the wireless station currently accessed by the AP;
    禁止所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。Disabling a fourth number of wireless stations in the wireless station currently accessed by the AP that have the least data traffic within a predetermined time to access the AP, so that some or all of the third number of wireless stations access the AP .
  5. 根据权利要求1所述的方法,在确定所述AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点的数量的步骤之前,所述方法还包括:The method according to claim 1, before the step of determining whether the number of wireless stations currently accessed by the AP is a preset number of wireless stations accessed in a full user state, the method further includes:
    在AP中存储一个或多个无线站点的MAC地址。The MAC address of one or more wireless stations is stored in the AP.
  6. 一种无线站点接入无线局域网的装置,包括:A device for wireless stations to access a wireless local area network, comprising:
    判断模块,设置成在第一数量的无线站点向同一无线局域网中的接入点AP发送接入请求时,确定所述AP当前接入的无线站点的数量是否为预设的在满用户状态接入的无线站点的数量,其中,各个所述接入请求中分别携带 有发送该接入请求的所述无线站点的媒体访问控制MAC地址;The determining module is configured to determine, when the first number of wireless stations send an access request to the access point AP in the same WLAN, whether the number of wireless stations currently accessed by the AP is preset in a full user state Number of incoming wireless stations, wherein each of the access requests carries a media access control MAC address of the wireless station that sends the access request;
    匹配模块,设置成若所述AP当前接入的无线站点的数量为预设的在满用户状态接入的无线站点的数量,确定在所述AP存储的MAC地址是否包括所述第一数量的无线站点的MAC地址;The matching module is configured to determine whether the MAC address stored in the AP includes the first quantity if the number of wireless stations currently accessed by the AP is a preset number of wireless stations accessed in a full user state. The MAC address of the wireless station;
    接入模块,设置成若所述AP存储的MAC地址包括在所述第一数量的无线站点中的第二数量的无线站点的MAC地址,通过增加所述在满用户状态接入的无线站点的数量和/或禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使其MAC地址均包括在所述AP存储的MAC地址中的所述第二数量的无线站点中的第三数量的无线站点接入所述AP;An access module, configured to: if the MAC address stored by the AP includes a MAC address of a second number of wireless stations in the first number of wireless stations, by adding the wireless station accessed in the full user state The number and/or the fourth number of wireless stations currently prohibited from accessing the AP to access the AP such that their MAC addresses are all included in the second number of wireless stations in the MAC address stored by the AP The third number of wireless stations accessing the AP;
    其中,若通过增加所述在满用户状态接入的无线站点的数量并禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第三数量为在增加所述在满用户状态接入的无线站点的数量之后增加的无线站点的数量和禁止接入AP的所述AP当前接入的无线站点的数量之和;The third number of wireless stations are connected by increasing the number of wireless stations that are accessed in the full user state and prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP. Entering the AP, the third number is the number of wireless stations that are added after increasing the number of wireless stations that are accessed in the full user state, and the wireless stations that are currently accessed by the AP that are prohibited from accessing the AP. The sum of the quantities;
    其中,若仅通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使所述第三数量的无线站点接入所述AP,则所述第四数量是所述第三数量。If the fourth number of wireless stations that are currently accessed by the AP are prohibited from accessing the AP, so that the third number of wireless stations access the AP, the fourth quantity is the The third quantity.
  7. 根据权利要求6所述的装置,其中,The apparatus according to claim 6, wherein
    所述接入模块,是设置成若所述满用户状态接入的无线站点的数量不是所述AP能够接入的所述无线站点的最大数量,则通过增加所述在满用户状态接入的无线站点的数量,以使得部分或全部的所述第三数量的无线站点接入所述AP;或,是设置成若在所述满用户状态接入的无线站点的数量是所述AP能够接入所述无线站点的最大数量,则通过禁止所述AP当前接入的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。The access module is configured to increase the number of wireless stations that are accessed by the AP if the number of wireless stations that are accessed by the full user state is not the maximum number of wireless stations that the AP can access. The number of wireless stations such that some or all of the third number of wireless stations access the AP; or, is configured to be capable of receiving the number of wireless stations that are accessed in the full user state The maximum number of the wireless stations is accessed by prohibiting the fourth number of wireless stations currently accessed by the AP from accessing the AP, so that some or all of the third number of wireless stations access the AP .
  8. 根据权利要求7所述的装置,其中,所述接入模块包括:The apparatus of claim 7, wherein the access module comprises:
    第一获取单元,设置成获取所述AP能够接入的无线站点的最大数量;a first acquiring unit, configured to acquire a maximum number of wireless stations that the AP can access;
    第一接入单元,设置成增加在所述满用户状态接入的无线站点的数量, 以使得所述第三无线站点接入所述AP,其中,在增加接入无线站点的数量之后的所述在满用户状态接入的无线站点的数量小于或等于所述AP能够接入无线站点的最大数量。a first access unit configured to increase the number of wireless stations accessed in the full user state, Taking the third wireless station to access the AP, wherein the number of wireless stations accessed in the full user state after increasing the number of access wireless stations is less than or equal to the AP being able to access the wireless station The maximum number.
  9. 根据权利要求7所述的装置,其中,所述接入模块包括:The apparatus of claim 7, wherein the access module comprises:
    第二获取单元,设置成获取所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点;a second acquiring unit, configured to acquire a fourth number of wireless stations with the least amount of data traffic in the wireless station currently accessed by the AP;
    第二接入单元,设置成禁止所述AP当前接入的无线站点中在预定时间内数据流量最少的第四数量的无线站点接入所述AP,以使得部分或全部的所述第三数量的无线站点接入所述AP。a second access unit, configured to prohibit a fourth number of wireless stations with the least data traffic within the predetermined time in the wireless station currently accessed by the AP from accessing the AP, so that part or all of the third quantity The wireless station accesses the AP.
  10. 根据权利要求6所述的装置,所述装置还包括:The apparatus of claim 6 further comprising:
    配置模块,设置成在所述判断模块确定所述AP当前接入的无线站点的数量是否为预设在满用户状态接入的无线站点的数量之前,在AP中存储一个或多个无线站点的MAC地址。 a configuration module, configured to: when the determining module determines whether the number of wireless stations currently accessed by the AP is a preset number of wireless stations accessed in a full user state, storing one or more wireless stations in the AP MAC address.
PCT/CN2016/083040 2015-07-15 2016-05-23 Method and device for wireless station to access local area network WO2017008580A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510417393.0 2015-07-15
CN201510417393.0A CN106358262A (en) 2015-07-15 2015-07-15 Access method and device for wireless node STAs (special temporary authority) in wireless local area network (WLAN)

Publications (1)

Publication Number Publication Date
WO2017008580A1 true WO2017008580A1 (en) 2017-01-19

Family

ID=57756817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083040 WO2017008580A1 (en) 2015-07-15 2016-05-23 Method and device for wireless station to access local area network

Country Status (2)

Country Link
CN (1) CN106358262A (en)
WO (1) WO2017008580A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547267A (en) * 2017-08-10 2018-01-05 上海斐讯数据通信技术有限公司 EMS memory management process and system, the radio reception device of a kind of radio reception device
CN110602767A (en) * 2019-10-30 2019-12-20 上海掌门科技有限公司 Hotspot connection method and device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107396336A (en) * 2017-06-05 2017-11-24 上海斐讯数据通信技术有限公司 A kind of pressure orientation loaming method and system based on user gradation
CN107580338B (en) * 2017-08-02 2021-03-02 台州市吉吉知识产权运营有限公司 Method and device for recording AP historical maximum connection terminal number based on flash
CN108768582B (en) * 2018-04-26 2020-01-14 Oppo广东移动通信有限公司 Antenna control method and related product
CN112702364B (en) * 2021-03-24 2021-06-29 武汉绿色网络信息服务有限责任公司 Method and device for achieving humanized squeezing login based on flow identification
CN113641898A (en) * 2021-07-30 2021-11-12 武汉思普崚技术有限公司 Method and device for dynamically adjusting online of authenticated user and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645826A (en) * 2004-07-05 2005-07-27 华为技术有限公司 Method for building session connection to wireless local network user
CN102572921A (en) * 2011-12-27 2012-07-11 中兴通讯股份有限公司 Wireless communication device and method for adjusting maximum access quantity
CN104038968A (en) * 2013-03-08 2014-09-10 ***通信集团广东有限公司 Method and apparatus for controlling electronic device to share network bandwidth
WO2015085481A1 (en) * 2013-12-10 2015-06-18 华为终端有限公司 Method for judging whether access point is connectable, station and access point

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249112B (en) * 2012-02-09 2016-08-03 ***通信集团公司 A kind of user access control method, device and router
CN103906169A (en) * 2012-12-27 2014-07-02 华为终端有限公司 Method and device for controlling terminal connection, and wireless router
CN103428734A (en) * 2013-08-02 2013-12-04 杭州华三通信技术有限公司 Method and device for optimizing network resources
CN104581977B (en) * 2013-10-25 2019-01-15 中兴通讯股份有限公司 WLAN user management method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645826A (en) * 2004-07-05 2005-07-27 华为技术有限公司 Method for building session connection to wireless local network user
CN102572921A (en) * 2011-12-27 2012-07-11 中兴通讯股份有限公司 Wireless communication device and method for adjusting maximum access quantity
CN104038968A (en) * 2013-03-08 2014-09-10 ***通信集团广东有限公司 Method and apparatus for controlling electronic device to share network bandwidth
WO2015085481A1 (en) * 2013-12-10 2015-06-18 华为终端有限公司 Method for judging whether access point is connectable, station and access point

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547267A (en) * 2017-08-10 2018-01-05 上海斐讯数据通信技术有限公司 EMS memory management process and system, the radio reception device of a kind of radio reception device
CN110602767A (en) * 2019-10-30 2019-12-20 上海掌门科技有限公司 Hotspot connection method and device

Also Published As

Publication number Publication date
CN106358262A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
WO2017008580A1 (en) Method and device for wireless station to access local area network
US10313997B2 (en) User equipment registration method for network slice selection and network controller and network communication system using the same
KR102478442B1 (en) Method for setting pdu type, method for setting ue policy, and related entities
US11362898B2 (en) Network policy configuration
RU2682390C2 (en) Using the oma management object to support dependent battery-dependent management in mobile networks
TWI332333B (en) System and method for distributing wireless network access parameters
US9247489B2 (en) System and method for ANDSF enhancement with ANQP server capability
US20080226075A1 (en) Restricted services for wireless stations
KR20160114620A (en) Methods, devices and systems for dynamic network access administration
US20160242033A1 (en) Communication service using method and electronic device supporting the same
KR20170118086A (en) Control access point
US8655729B2 (en) Using a first network to control access to a second network
WO2020103517A1 (en) Method, apparatus, and system for obtaining capability information of terminal
US9961546B2 (en) System and method for rapid authentication in wireless communications
WO2018127233A1 (en) Access control method and device
KR20140010206A (en) Apparatus and method for connecting wireless network in consideration of radio frequency band
JP2021513825A (en) Methods and devices for determining SSC mode
WO2018219253A1 (en) Access control method and apparatus
WO2019024744A1 (en) Method and device for acquiring identifier of terminal device
CN108024306B (en) TCP connection management method and gateway equipment
KR20130031993A (en) System and method for connecting network based on location
JP2023527193A (en) Service Acquisition Method, Device, Communication Device and Readable Storage Medium
EP3125596A1 (en) Wireless local area network user side device and information processing method
EP3504907A2 (en) Cellular network assisted wlan discovery and selection
US10862893B2 (en) Method for network policy management of foreground applications

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: 16823727

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16823727

Country of ref document: EP

Kind code of ref document: A1