CN105491632A - Wireless access point switching method and wireless access point switching device - Google Patents
Wireless access point switching method and wireless access point switching device Download PDFInfo
- Publication number
- CN105491632A CN105491632A CN201610029585.9A CN201610029585A CN105491632A CN 105491632 A CN105491632 A CN 105491632A CN 201610029585 A CN201610029585 A CN 201610029585A CN 105491632 A CN105491632 A CN 105491632A
- Authority
- CN
- China
- Prior art keywords
- wireless
- neighbours
- wireless aps
- state information
- accessed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/22—Performing reselection for specific purposes for handling the traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/32—Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本公开是关于无线接入点的切换方法及装置,所述方法包括:在需要从当前连接的无线接入点AP切换至其他邻居无线AP时,向各个邻居无线AP发送状态获取请求,以使所述邻居无线AP根据所述状态获取请求获取自身的AP状态信息;接收各个邻居无线AP返回的所述AP状态信息;根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP;从所述当前连接的无线AP切换至所述待接入的邻居无线AP。因此,本公开可以自动切换至合适的邻居无线AP,从而提高了无线AP的切换效率和准确性。
The present disclosure relates to a method and device for switching a wireless access point, and the method includes: when it is necessary to switch from the currently connected wireless access point AP to other neighboring wireless APs, sending a status acquisition request to each neighboring wireless AP, so that The neighbor wireless AP obtains its own AP status information according to the status acquisition request; receives the AP status information returned by each neighbor wireless AP; determines the neighbor wireless AP to be accessed according to the respective AP status information of each neighbor wireless AP; Switching from the currently connected wireless AP to the neighbor wireless AP to be accessed. Therefore, the present disclosure can automatically switch to a suitable neighboring wireless AP, thereby improving the switching efficiency and accuracy of the wireless AP.
Description
技术领域technical field
本公开涉及网络通信技术领域,尤其涉及无线接入点的切换方法及装置。The present disclosure relates to the technical field of network communication, and in particular, to a method and device for switching a wireless access point.
背景技术Background technique
随着网络通信技术的不断发展,无线网的使用也越来越广泛。相关技术中,无线设备通常连接到发射信号最强的接入点。但是,若所有无线设备皆接入发射信号最强的接入点,则造成该接入点超负荷,而其他接入点负荷不足,从而降低总的服务质量。With the continuous development of network communication technology, the use of wireless network is becoming more and more extensive. In the related art, the wireless device is usually connected to the access point with the strongest transmission signal. However, if all wireless devices are connected to the access point with the strongest transmission signal, the access point will be overloaded, while other access points will be underloaded, thereby reducing the overall quality of service.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供了无线接入点的切换方法及装置。In order to overcome the problems existing in related technologies, the present disclosure provides a method and device for switching wireless access points.
根据本公开实施例的第一方面,提供一种无线接入点的切换方法,所述方法包括:According to a first aspect of an embodiment of the present disclosure, a method for switching a wireless access point is provided, the method including:
在需要从当前连接的无线接入点AP切换至其他邻居无线AP时,向各个邻居无线AP发送状态获取请求,以使所述邻居无线AP根据所述状态获取请求获取自身的AP状态信息;When it is necessary to switch from the currently connected wireless access point AP to other neighbor wireless APs, send a status acquisition request to each neighbor wireless AP, so that the neighbor wireless AP acquires its own AP status information according to the status acquisition request;
接收各个邻居无线AP返回的所述AP状态信息;receiving the AP status information returned by each neighboring wireless AP;
根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP;Determine the neighbor wireless AP to be accessed according to the respective AP state information of each neighbor wireless AP;
从所述当前连接的无线AP切换至所述待接入的邻居无线AP。Switching from the currently connected wireless AP to the neighbor wireless AP to be accessed.
可选的,所述方法还包括:Optionally, the method also includes:
在检测到与当前连接的AP之间的通信速度小于设定速度阈值时,确定所述需要从当前连接的AP切换至其他邻居无线AP。When it is detected that the communication speed with the currently connected AP is lower than the set speed threshold, it is determined that it is necessary to switch from the currently connected AP to other neighboring wireless APs.
可选的,所述方法还包括:Optionally, the method also includes:
在检测到重连选择事件时,确定所述需要从当前连接的AP切换至其他邻居无线AP。When the reconnection selection event is detected, it is determined that the currently connected AP needs to be handed over to other neighbor wireless APs.
可选的,所述AP状态信息为基于802.11k协议的信标信息。Optionally, the AP state information is beacon information based on the 802.11k protocol.
可选的,所述AP状态信息包括以下一种或多种:Optionally, the AP status information includes one or more of the following:
当前信号强度值;Current signal strength value;
信道拥挤程度值;channel congestion value;
信道载荷能力值;Channel load capacity value;
可用时间值。Available time values.
可选的,所述根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP,包括:Optionally, the determining the neighbor wireless AP to be accessed according to the respective AP status information of each neighbor wireless AP includes:
按照设定打分规则计算各个AP状态信息的分值;Calculate the score of each AP status information according to the set scoring rules;
将所述分值的最大值对应的邻居无线AP作为所述待接入的邻居无线AP。The neighbor wireless AP corresponding to the maximum value of the score is used as the neighbor wireless AP to be accessed.
可选的,所述根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP,包括:Optionally, the determining the neighbor wireless AP to be accessed according to the respective AP status information of each neighbor wireless AP includes:
按照设定打分规则计算各个AP状态信息的分值,得到各个邻居无线AP的分值;Calculate the score of each AP status information according to the set scoring rules, and get the score of each neighboring wireless AP;
获取各个邻居无线AP的权重值;Obtain the weight value of each neighboring wireless AP;
计算各个邻居无线AP的分值和对应的权重值的乘积;Calculate the product of the score of each neighbor wireless AP and the corresponding weight value;
将所述乘积的最大值对应的邻居无线AP作为所述待接入的邻居无线AP。The neighbor wireless AP corresponding to the maximum value of the product is used as the neighbor wireless AP to be accessed.
根据本公开实施例的第二方面,提供一种无线接入点的切换方法,所述方法包括:According to a second aspect of an embodiment of the present disclosure, a method for switching a wireless access point is provided, the method comprising:
接收无线设备发送的状态获取请求;Receive a status acquisition request sent by the wireless device;
根据所述状态获取请求获取自身的AP状态信息;Obtaining its own AP status information according to the status acquisition request;
将所述AP状态信息发送至所述无线设备,以使所述无线设备根据所述AP状态信息确定待接入的邻居无线AP。Sending the AP state information to the wireless device, so that the wireless device determines a neighbor wireless AP to be accessed according to the AP state information.
根据本公开实施例的第三方面,提供一种无线接入点的切换装置,所述装置包括:According to a third aspect of an embodiment of the present disclosure, a wireless access point switching device is provided, the device comprising:
发送模块,被配置为在需要从当前连接的无线接入点AP切换至其他邻居无线AP时,向各个邻居无线AP发送状态获取请求,以使所述邻居无线AP根据所述状态获取请求获取自身的AP状态信息;The sending module is configured to send a state acquisition request to each neighboring wireless AP when it is necessary to switch from the currently connected wireless access point AP to other neighboring wireless APs, so that the neighboring wireless AP obtains its own state according to the state obtaining request. AP status information;
接收模块,被配置为接收各个邻居无线AP返回的所述AP状态信息;A receiving module configured to receive the AP status information returned by each neighboring wireless AP;
第一确定模块,被配置为根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP;The first determining module is configured to determine the neighboring wireless AP to be accessed according to the respective AP state information of each neighboring wireless AP;
切换模块,被配置为从所述当前连接的无线AP切换至所述待接入的邻居无线AP。A switching module configured to switch from the currently connected wireless AP to the neighbor wireless AP to be accessed.
可选的,所述装置还包括:Optionally, the device also includes:
第二确定模块,被配置为在检测到与当前连接的AP之间的通信速度小于设定速度阈值时,确定所述需要从当前连接的AP切换至其他邻居无线AP。The second determination module is configured to determine that it is necessary to switch from the currently connected AP to other neighboring wireless APs when it is detected that the communication speed with the currently connected AP is lower than a set speed threshold.
可选的,所述装置还包括:Optionally, the device also includes:
第三确定模块,被配置为在检测到重连选择事件时,确定所述需要从当前连接的AP切换至其他邻居无线AP。The third determination module is configured to determine that it is necessary to switch from the currently connected AP to other neighboring wireless APs when a reconnection selection event is detected.
可选的,所述AP状态信息为基于802.11k协议的信标信息。Optionally, the AP state information is beacon information based on the 802.11k protocol.
可选的,所述AP状态信息包括以下一种或多种:Optionally, the AP status information includes one or more of the following:
当前信号强度值;Current signal strength value;
信道拥挤程度值;channel congestion value;
信道载荷能力值;Channel load capacity value;
可用时间值。Available time values.
可选的,所述第一确定模块包括:Optionally, the first determination module includes:
第一计算子模块,被配置为按照设定打分规则计算各个AP状态信息的分值;The first calculation submodule is configured to calculate the score of each AP state information according to the set scoring rule;
第一确定子模块,被配置为将所述分值的最大值对应的邻居无线AP作为所述待接入的邻居无线AP。The first determination submodule is configured to use the neighbor wireless AP corresponding to the maximum value of the score as the neighbor wireless AP to be accessed.
可选的,所述第一确定模块包括:Optionally, the first determination module includes:
第二计算子模块,被配置为按照设定打分规则计算各个AP状态信息的分值,得到各个邻居无线AP的分值;The second calculation submodule is configured to calculate the score of each AP state information according to the set scoring rule, and obtain the score of each neighboring wireless AP;
获取子模块,被配置为获取各个邻居无线AP的权重值;The obtaining submodule is configured to obtain the weight value of each neighboring wireless AP;
第三计算子模块,被配置为计算各个邻居无线AP的分值和对应的权重值的乘积;The third calculation submodule is configured to calculate the product of the score of each neighbor wireless AP and the corresponding weight value;
第二确定子模块,被配置为将所述乘积的最大值对应的邻居无线AP作为所述待接入的邻居无线AP。The second determining submodule is configured to use the neighbor wireless AP corresponding to the maximum value of the product as the neighbor wireless AP to be accessed.
根据本公开实施例的第四方面,提供一种无线接入点的切换装置,所述装置包括:According to a fourth aspect of an embodiment of the present disclosure, a wireless access point switching device is provided, the device comprising:
接收模块,被配置为接收无线设备发送的状态获取请求;A receiving module configured to receive a status acquisition request sent by the wireless device;
获取模块,被配置为根据所述状态获取请求获取自身的AP状态信息;An acquisition module configured to acquire its own AP status information according to the status acquisition request;
发送模块,被配置为将所述AP状态信息发送至所述无线设备,以使所述无线设备根据所述AP状态信息确定待接入的邻居无线AP。A sending module configured to send the AP state information to the wireless device, so that the wireless device determines a neighboring wireless AP to be accessed according to the AP state information.
根据本公开实施例的第五方面,提供一种无线接入点的切换装置,所述装置包括:According to a fifth aspect of an embodiment of the present disclosure, there is provided an apparatus for switching a wireless access point, the apparatus comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
在需要从当前连接的无线接入点AP切换至其他邻居无线AP时,向各个邻居无线AP发送状态获取请求,以使所述邻居无线AP根据所述状态获取请求获取自身的AP状态信息;When it is necessary to switch from the currently connected wireless access point AP to other neighbor wireless APs, send a status acquisition request to each neighbor wireless AP, so that the neighbor wireless AP acquires its own AP status information according to the status acquisition request;
接收各个邻居无线AP返回的所述AP状态信息;receiving the AP status information returned by each neighboring wireless AP;
根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP;Determine the neighbor wireless AP to be accessed according to the respective AP state information of each neighbor wireless AP;
从所述当前连接的无线AP切换至所述待接入的邻居无线AP。Switching from the currently connected wireless AP to the neighbor wireless AP to be accessed.
根据本公开实施例的第六方面,提供一种无线接入点的切换装置,所述装置包括:According to a sixth aspect of an embodiment of the present disclosure, a wireless access point switching device is provided, the device comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
接收无线设备发送的状态获取请求;Receive a status acquisition request sent by the wireless device;
根据所述状态获取请求获取自身的AP状态信息;Obtaining its own AP status information according to the status acquisition request;
将所述AP状态信息发送至所述无线设备,以使所述无线设备根据所述AP状态信息确定待接入的邻居无线AP。Sending the AP state information to the wireless device, so that the wireless device determines a neighbor wireless AP to be accessed according to the AP state information.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开中无线设备在需要从当前连接的无线AP切换至其他邻居无线AP时,可以向各个邻居无线AP发送状态获取请求,以使邻居无线AP根据状态获取请求获取自身的AP状态信息,接收各个邻居无线AP返回的AP状态信息,根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP,从当前AP切换至待接入的邻居无线AP,使得无线设备能够自动切换至合适的邻居无线AP,从而提高了无线AP的切换效率和准确性。In this disclosure, when a wireless device needs to switch from the currently connected wireless AP to other neighboring wireless APs, it can send a status acquisition request to each neighboring wireless AP, so that the neighboring wireless AP can obtain its own AP status information according to the status acquisition request, and receive each The AP status information returned by the neighbor wireless AP determines the neighbor wireless AP to be connected according to the AP status information of each neighbor wireless AP, and switches from the current AP to the neighbor wireless AP to be connected, so that the wireless device can automatically switch to the appropriate Neighboring wireless APs, thus improving the switching efficiency and accuracy of wireless APs.
本公开中无线设备还可以按照设定打分规则计算各个AP状态信息的分值,将分值的最大值对应的邻居无线AP作为待接入的邻居无线AP,这样可以快速及准确地确定待接入的邻居无线AP。In this disclosure, the wireless device can also calculate the scores of each AP status information according to the set scoring rules, and use the neighbor wireless AP corresponding to the maximum value of the score as the neighbor wireless AP to be connected, so that the wireless AP to be connected can be quickly and accurately determined. Incoming neighbor wireless AP.
本公开中无线设备还可以根据各个邻居无线AP的分值和对应的权重值确定待接入的邻居无线AP,这样既能保证所确定的待接入的邻居无线AP的准确性,还能够满足无线设备的个性化需求,提高了切换无线AP的实用性。In this disclosure, the wireless device can also determine the neighbor wireless AP to be accessed according to the scores of each neighbor wireless AP and the corresponding weight value, which can not only ensure the accuracy of the determined neighbor wireless AP to be accessed, but also meet the The personalized requirements of wireless devices improve the practicability of switching wireless APs.
本公开中邻居无线AP接收到无线设备发送的状态获取请求后,可以根据状态获取请求获取自身的AP状态信息,并将自身的AP状态信息发送至无线设备,便于该无线设备根据接收到的AP状态信息确定待接入的邻居无线AP,进而提高了无线AP的切换效率和准确性。In this disclosure, after receiving the state acquisition request sent by the wireless device, the neighbor wireless AP can obtain its own AP state information according to the state acquisition request, and send its own AP state information to the wireless device, so that the wireless device can The status information determines the neighbor wireless AP to be accessed, thereby improving the switching efficiency and accuracy of the wireless AP.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是本公开根据一示例性实施例示出的一种无线接入点的切换方法流程图;Fig. 1 is a flowchart of a method for switching a wireless access point according to an exemplary embodiment of the present disclosure;
图2是本公开根据一示例性实施例示出的另一种无线接入点的切换方法流程图;Fig. 2 is a flow chart of another wireless access point handover method according to an exemplary embodiment of the present disclosure;
图3是本公开根据一示例性实施例示出的另一种无线接入点的切换方法流程图;Fig. 3 is a flow chart of another wireless access point handover method according to an exemplary embodiment of the present disclosure;
图4是本公开根据一示例性实施例示出的一种无线接入点的切换方法流程图;Fig. 4 is a flowchart of a method for switching a wireless access point according to an exemplary embodiment of the present disclosure;
图5是本公开根据一示例性实施例示出的一种无线接入点的切换方法的应用场景图;Fig. 5 is an application scenario diagram of a wireless access point switching method according to an exemplary embodiment of the present disclosure;
图6是本公开根据一示例性实施例示出的一种无线接入点的切换装置的框图;Fig. 6 is a block diagram of a wireless access point switching device according to an exemplary embodiment of the present disclosure;
图7是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图;Fig. 7 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure;
图8是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图;Fig. 8 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure;
图9是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图;Fig. 9 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure;
图10是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图;Fig. 10 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure;
图11是本公开根据一示例性实施例示出的一种无线接入点的切换装置的框图;Fig. 11 is a block diagram of a wireless access point switching device according to an exemplary embodiment of the present disclosure;
图12是本公开根据一示例性实施例示出的一种用于无线接入点的切换装置的一结构示意图;Fig. 12 is a schematic structural diagram of a switching device for a wireless access point according to an exemplary embodiment of the present disclosure;
图13是本公开根据一示例性实施例示出的一种用于无线接入点的切换装置的一结构示意图。Fig. 13 is a schematic structural diagram of a switching device for a wireless access point according to an exemplary embodiment of the present disclosure.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."
如图1所示,图1是本公开根据一示例性实施例示出的一种无线接入点的切换方法流程图,该方法可以用于无线设备中,比如,该无线设备为终端,包括以下步骤:As shown in FIG. 1 , FIG. 1 is a flowchart of a method for switching a wireless access point according to an exemplary embodiment of the present disclosure. The method can be used in a wireless device, for example, the wireless device is a terminal, including the following step:
在步骤110中,在需要从当前连接的无线接入点(AccessPoint,AP)切换至其他邻居无线AP时,向各个邻居无线AP发送状态获取请求,以使邻居无线AP根据状态获取请求获取自身的AP状态信息。In step 110, when it is necessary to switch from the currently connected wireless access point (AccessPoint, AP) to other neighboring wireless APs, a state acquisition request is sent to each neighboring wireless AP, so that the neighboring wireless AP obtains its own AP status information.
本公开中的终端可以是任何具有上网功能的智能终端,例如,可以具体为手机、平板电脑、个人数字助理(PersonalDigitalAssistant,PDA)等。其中,终端可以通过无线局域网接入路由器,并通过路由器访问公网上的服务器。The terminal in the present disclosure may be any intelligent terminal with an Internet access function, for example, it may specifically be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA) and the like. Wherein, the terminal can access the router through the wireless local area network, and access the server on the public network through the router.
至于何时需要从当前连接的无线接入点AP切换至其他邻居无线AP,其应用场景很多,包括但不限于以下两种:As for when it is necessary to switch from the currently connected wireless access point AP to other neighboring wireless APs, there are many application scenarios, including but not limited to the following two:
场景一:在检测到与当前连接的AP之间的通信速度小于设定速度阈值时,确定需要从当前连接的AP切换至其他邻居无线AP。Scenario 1: When it is detected that the communication speed with the currently connected AP is lower than the set speed threshold, it is determined that it is necessary to switch from the currently connected AP to other neighboring wireless APs.
本公开实施例中,设定速度阈值为无线设备与当前连接的AP之间保持正常通信的临界值,若小于该临界值,就不能保证无线设备与当前连接的AP之间的正常通信。其中,设定速度阈值可以是无线设备根据自身性能设定的阈值,也可以根据用户需求设定的阈值。In the embodiment of the present disclosure, the speed threshold is set as a critical value for maintaining normal communication between the wireless device and the currently connected AP. If it is less than the critical value, normal communication between the wireless device and the currently connected AP cannot be guaranteed. Wherein, the set speed threshold may be a threshold set by the wireless device according to its own performance, or may be set according to user requirements.
场景二:在检测到重连选择事件时,确定需要从当前连接的AP切换至其他邻居无线AP。Scenario 2: When a reconnection selection event is detected, it is determined that it is necessary to switch from the currently connected AP to other neighboring wireless APs.
另外,其他邻居无线AP可以指的是无线设备已保存过的无线AP。其中,各个无线AP是无线网络的接入点,俗称“热点”。In addition, other neighboring wireless APs may refer to wireless APs that have been saved by the wireless device. Wherein, each wireless AP is an access point of a wireless network, commonly known as a "hot spot".
在步骤120中,接收各个邻居无线AP返回的AP状态信息。In step 120, the AP status information returned by each neighboring wireless AP is received.
本公开实施例中,邻居无线AP的AP状态信息可以为基于802.11k协议的信标信息。其中,802.11k协议是为无线局域网应该如何进行信道选择、漫游服务和传输功率控制提供了标准。In the embodiment of the present disclosure, the AP state information of the neighbor wireless AP may be beacon information based on the 802.11k protocol. Among them, the 802.11k protocol provides a standard for how to perform channel selection, roaming service and transmission power control in a wireless local area network.
另外,邻居无线AP的AP状态信息还可以包括以下一种或多种但不限于以下信息:In addition, the AP status information of the neighboring wireless APs may also include one or more of the following but not limited to the following information:
(1)当前信号强度值;(1) Current signal strength value;
(2)信道拥挤程度值;(2) Channel congestion degree value;
(3)信道载荷能力值;(3) Channel load capacity value;
(4)可用时间值。(4) Available time values.
在步骤130中,根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP。In step 130, the neighbor wireless AP to be accessed is determined according to the respective AP state information of each neighbor wireless AP.
本公开实施例中,邻居无线AP的AP状态信息可以表征该邻居无线AP的通信能力,无线终端可以对各个邻居无线AP的通信能力进行全面衡量,并从各个邻居无线AP中选取一个作为待接入的邻居无线AP。In the embodiment of the present disclosure, the AP state information of the neighboring wireless AP can represent the communication capability of the neighboring wireless AP, and the wireless terminal can comprehensively measure the communication capabilities of each neighboring wireless AP, and select one of the neighboring wireless APs as the standby Incoming neighbor wireless AP.
在步骤140中,从当前AP切换至待接入的邻居无线AP。In step 140, switch from the current AP to the neighbor wireless AP to be accessed.
由上述实施例可见,在需要从当前连接的无线AP切换至其他邻居无线AP时,可以向各个邻居无线AP发送状态获取请求,以使邻居无线AP根据状态获取请求获取自身的AP状态信息,接收各个邻居无线AP返回的AP状态信息,根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP,从当前AP切换至待接入的邻居无线AP,使得无线设备能够自动切换至合适的邻居无线AP,从而提高了无线AP的切换效率和准确性。It can be seen from the above embodiments that when it is necessary to switch from the currently connected wireless AP to other neighboring wireless APs, a status acquisition request can be sent to each neighboring wireless AP, so that the neighboring wireless AP can obtain its own AP status information according to the status acquisition request, and receive According to the AP status information returned by each neighboring wireless AP, the neighboring wireless AP to be accessed is determined according to the respective AP status information of each neighboring wireless AP, and the current AP is switched to the neighboring wireless AP to be accessed, so that the wireless device can automatically switch to the appropriate neighbor wireless APs, thereby improving the switching efficiency and accuracy of wireless APs.
如图2所示,图2是本公开根据一示例性实施例示出的另一种无线接入点的切换方法流程图,该方法可以用于无线设备中,并建立在图1所示方法的基础上,在执行步骤130中根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP时,可以包括以下步骤:As shown in FIG. 2, FIG. 2 is a flowchart of another wireless access point handover method according to an exemplary embodiment of the present disclosure. This method can be used in a wireless device and is based on the method shown in FIG. On a basic basis, when determining the neighbor wireless AP to be accessed according to the respective AP status information of each neighbor wireless AP in step 130, the following steps may be included:
在步骤210中,按照设定打分规则计算各个AP状态信息的分值。In step 210, the scores of each AP status information are calculated according to the set scoring rules.
本公开实施例中,由于AP状态信息可以包括当前信号强度值、信道拥挤程度值、信道载荷能力值和可用时间值的一种或多种,故此,可以按照设定打分规则对AP状态信息中包括的内容进行打分。其中,设定打分规则可以是无线设备提前设置的一些规则。In the embodiment of the present disclosure, since the AP status information may include one or more of the current signal strength value, channel congestion level value, channel load capacity value, and available time value, the AP status information may be classified according to the set scoring rules. Included content is scored. Wherein, setting scoring rules may be some rules set in advance by the wireless device.
比如:基于信号强度的设定打分规则包括:信号强度值小于40dbm为10分、信号强度值在40dbm至60dbm为9分、信号强度值在60dbm至80dbm为7分、80dbm至90dbm为5分、信号强度值大于90dbm为0分。其中,信号强度值在60dbm至80dbm时表明信号是正常的,信号强度值在90dbm至80dbm是表明信号很差。For example, the scoring rules based on signal strength include: 10 points for signal strength values less than 40dbm, 9 points for signal strength values between 40dbm and 60dbm, 7 points for signal strength values between 60dbm and 80dbm, 5 points for signal strength values between 80dbm and 90dbm, A signal strength value greater than 90dbm is 0 points. Wherein, a signal strength value of 60dbm to 80dbm indicates that the signal is normal, and a signal strength value of 90dbm to 80dbm indicates that the signal is very poor.
至于基于信道拥挤程度的设定打分规则、基于信道载荷能力的设定打分规则、基于可用时间的设定打分规则都可以提前设置。As for setting scoring rules based on channel congestion degree, setting scoring rules based on channel load capacity, and setting scoring rules based on available time, all can be set in advance.
在步骤220中,将分值的最大值对应的邻居无线AP作为待接入的邻居无线AP。In step 220, the neighbor wireless AP corresponding to the maximum value of the score is used as the neighbor wireless AP to be accessed.
由上述实施例可见,可以按照设定打分规则计算各个AP状态信息的分值,将分值的最大值对应的邻居无线AP作为待接入的邻居无线AP,这样可以快速及准确地确定待接入的邻居无线AP。It can be seen from the above-mentioned embodiments that the scores of each AP state information can be calculated according to the set scoring rules, and the neighbor wireless AP corresponding to the maximum value of the score can be used as the neighbor wireless AP to be connected, so that the wireless AP to be connected can be quickly and accurately determined. Incoming neighbor wireless AP.
如图3所示,图3是本公开根据一示例性实施例示出的另一种无线接入点的切换方法流程图,该方法可以用于无线设备中,并建立在图1所示方法的基础上,在执行步骤130中根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP时,可以包括以下步骤:As shown in FIG. 3 , FIG. 3 is a flow chart of another wireless access point handover method according to an exemplary embodiment of the present disclosure. This method can be used in a wireless device and is based on the method shown in FIG. 1 On a basic basis, when determining the neighbor wireless AP to be accessed according to the respective AP status information of each neighbor wireless AP in step 130, the following steps may be included:
在步骤310中,按照设定打分规则计算各个AP状态信息的分值,得到各个邻居无线AP的分值。In step 310, the scores of each AP status information are calculated according to the set scoring rules to obtain the scores of each neighboring wireless AP.
在步骤320中,获取各个邻居无线AP的权重值。In step 320, the weight value of each neighboring wireless AP is obtained.
本公开实施例中,各个邻居无线AP的权重值可以是无线设备根据自身需求设定的权重值,也可以是用户指定的权重值。In the embodiment of the present disclosure, the weight value of each neighboring wireless AP may be a weight value set by the wireless device according to its own requirements, or may be a weight value specified by a user.
比如:无线设备根据与各个邻居无线AP之间的距离确定对应的权重值,并且距离的大小与权重值的大小成正比。For example: the wireless device determines the corresponding weight value according to the distance between each neighboring wireless AP, and the size of the distance is proportional to the size of the weight value.
在步骤330中,计算各个邻居无线AP的分值和对应的权重值的乘积。In step 330, the product of the score of each neighboring wireless AP and the corresponding weight value is calculated.
在步骤340中,将乘积的最大值对应的邻居无线AP作为待接入的邻居无线AP。In step 340, the neighbor wireless AP corresponding to the maximum value of the product is used as the neighbor wireless AP to be accessed.
由上述实施例可见,可以根据各个邻居无线AP的分值和对应的权重值确定待接入的邻居无线AP,这样既能保证所确定的待接入的邻居无线AP的准确性,还能够满足无线设备的个性化需求,提高了切换无线AP的实用性。It can be seen from the above embodiments that the neighbor wireless APs to be accessed can be determined according to the scores of each neighbor wireless AP and the corresponding weight value, which can not only ensure the accuracy of the determined neighbor wireless APs to be accessed, but also satisfy The personalized requirements of wireless devices improve the practicability of switching wireless APs.
如图4所示,图4是本公开根据一示例性实施例示出的一种无线接入点的切换方法流程图,该方法可以用于邻居无线AP中,可以包括以下步骤:As shown in FIG. 4, FIG. 4 is a flowchart of a method for switching a wireless access point according to an exemplary embodiment of the present disclosure. The method may be used in a neighbor wireless AP, and may include the following steps:
在步骤410中,接收无线设备发送的状态获取请求。In step 410, a status acquisition request sent by the wireless device is received.
在步骤420中,根据状态获取请求获取自身的AP状态信息。In step 420, obtain its own AP state information according to the state obtaining request.
在步骤430中,将自身的AP状态信息发送至无线设备,以使该无线设备根据接收到的AP状态信息确定待接入的邻居无线AP。In step 430, the wireless device sends its own AP state information to the wireless device, so that the wireless device determines a neighbor wireless AP to be accessed according to the received AP state information.
其中,邻居无线AP的AP状态信息可以为基于802.11k协议的信标信息。其中,802.11k协议是为无线局域网应该如何进行信道选择、漫游服务和传输功率控制提供了标准。Wherein, the AP state information of the neighbor wireless AP may be beacon information based on the 802.11k protocol. Among them, the 802.11k protocol provides a standard for how the wireless local area network should perform channel selection, roaming service and transmission power control.
另外,邻居无线AP的AP状态信息还可以包括以下一种或多种但不限于以下信息:In addition, the AP status information of the neighboring wireless APs may also include one or more of the following but not limited to the following information:
(1)当前信号强度值;(1) Current signal strength value;
(2)信道拥挤程度值;(2) Channel congestion degree value;
(3)信道载荷能力值;(3) Channel load capacity value;
(4)可用时间值。(4) Time value available.
由上述实施例可见,接收到无线设备发送的状态获取请求后,可以根据状态获取请求获取自身的AP状态信息,并将自身的AP状态信息发送至无线设备,便于该无线设备根据接收到的AP状态信息确定待接入的邻居无线AP,进而提高了无线AP的切换效率和准确性。It can be seen from the above embodiments that after receiving the state acquisition request sent by the wireless device, it can obtain its own AP state information according to the state The status information determines the neighbor wireless AP to be accessed, thereby improving the switching efficiency and accuracy of the wireless AP.
如图5所示,图5是本公开根据一示例性实施例示出的一种无线接入点的切换方法的应用场景图。该应用场景包括作为无线设备的智能手机、作为当前连接的无线AP的AP1、该智能手机已保存过的至少一个邻居无线AP中的AP2和AP3。As shown in FIG. 5 , FIG. 5 is an application scenario diagram showing a method for handover of a wireless access point according to an exemplary embodiment of the present disclosure. The application scenario includes a smart phone as a wireless device, an AP1 as a currently connected wireless AP, and AP2 and AP3 in at least one neighboring wireless AP that the smart phone has saved.
在需要从AP1切换至AP2或AP3时:When switching from AP1 to AP2 or AP3:
智能手机会向AP2和AP3发送状态获取请求,以使AP2和AP3根据接收到的状态获取请求获取自身的AP状态信息;The smartphone will send status acquisition requests to AP2 and AP3, so that AP2 and AP3 can obtain their own AP status information according to the received status acquisition requests;
智能手机接收AP2和AP3返回的所述AP状态信息后,会根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP,比如,确定待接入的邻居无线AP为AP2,则从AP1切换至AP2。After receiving the AP status information returned by AP2 and AP3, the smart phone will determine the neighbor wireless AP to be accessed according to the respective AP status information of each neighbor wireless AP. For example, if the neighbor wireless AP to be accessed is determined to be AP2, then from AP1 switches to AP2.
在图5所示应用场景中,实现无线接入点的切换的具体过程可以参见前述对图1至图4中的描述,在此不再赘述。In the application scenario shown in FIG. 5 , for the specific process of implementing the handover of the wireless access point, reference may be made to the foregoing descriptions in FIGS. 1 to 4 , which will not be repeated here.
与前述无线接入点的切换方法实施例相对应,本公开还提供了无线接入点的切换装置的实施例。Corresponding to the aforementioned embodiments of the wireless access point switching method, the present disclosure also provides embodiments of a wireless access point switching device.
如图6所示,图6是本公开根据一示例性实施例示出的一种无线接入点的切换装置的框图,所述装置可以用于无线设备中,比如,该无线设备为终端,并用于执行图1所示的无线接入点的切换方法,所述装置包括:发送模块61、接收模块62、第一确定模块63和切换模块64。As shown in FIG. 6, FIG. 6 is a block diagram of an apparatus for switching a wireless access point according to an exemplary embodiment of the present disclosure. The apparatus can be used in a wireless device, for example, the wireless device is a terminal, and uses To execute the wireless access point switching method shown in FIG. 1 , the device includes: a sending module 61 , a receiving module 62 , a first determining module 63 and a switching module 64 .
其中,发送模块61,被配置为在需要从当前连接的无线接入点AP切换至其他邻居无线AP时,向各个邻居无线AP发送状态获取请求,以使所述邻居无线AP根据所述状态获取请求获取自身的AP状态信息;Wherein, the sending module 61 is configured to send a status acquisition request to each neighboring wireless AP when it is necessary to switch from the currently connected wireless access point AP to other neighboring wireless APs, so that the neighboring wireless APs can obtain the status according to the status. Request to obtain its own AP status information;
接收模块62,被配置为接收各个邻居无线AP返回的所述AP状态信息;The receiving module 62 is configured to receive the AP status information returned by each neighboring wireless AP;
第一确定模块63,被配置为根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP;The first determining module 63 is configured to determine the neighboring wireless AP to be accessed according to the respective AP state information of each neighboring wireless AP;
切换模块64,被配置为从所述当前连接的无线AP切换至所述待接入的邻居无线AP。The switching module 64 is configured to switch from the currently connected wireless AP to the neighbor wireless AP to be accessed.
上述AP状态信息可以为基于802.11k协议的信标信息。比如,AP状态信息包括以下一种或多种:The foregoing AP state information may be beacon information based on the 802.11k protocol. For example, the AP status information includes one or more of the following:
当前信号强度值;Current signal strength value;
信道拥挤程度值;channel congestion value;
信道载荷能力值;Channel load capacity value;
可用时间值。Available time values.
由上述实施例可见,在需要从当前连接的无线AP切换至其他邻居无线AP时,可以向各个邻居无线AP发送状态获取请求,以使邻居无线AP根据状态获取请求获取自身的AP状态信息,接收各个邻居无线AP返回的AP状态信息,根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP,从当前AP切换至待接入的邻居无线AP,使得无线设备能够自动切换至合适的邻居无线AP,从而提高了无线AP的切换效率和准确性。It can be seen from the above embodiments that when it is necessary to switch from the currently connected wireless AP to other neighboring wireless APs, a status acquisition request can be sent to each neighboring wireless AP, so that the neighboring wireless AP can obtain its own AP status information according to the status acquisition request, and receive According to the AP status information returned by each neighboring wireless AP, the neighboring wireless AP to be accessed is determined according to the respective AP status information of each neighboring wireless AP, and the current AP is switched to the neighboring wireless AP to be accessed, so that the wireless device can automatically switch to the appropriate neighbor wireless APs, thereby improving the switching efficiency and accuracy of wireless APs.
如图7所示,图7是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图,该实施例在前述图6所示实施例的基础上,所述装置还可以包括:第二确定模块71。As shown in FIG. 7, FIG. 7 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure. This embodiment is based on the foregoing embodiment shown in FIG. 6, the device It may also include: a second determination module 71 .
其中,第二确定模块71,被配置为在检测到与当前连接的AP之间的通信速度小于设定速度阈值时,确定所述需要从当前连接的AP切换至其他邻居无线AP。Wherein, the second determination module 71 is configured to determine that it is necessary to switch from the currently connected AP to other neighboring wireless APs when it is detected that the communication speed with the currently connected AP is lower than a set speed threshold.
如图8所示,图8是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图,该实施例在前述图6所示实施例的基础上,所述装置还可以包括:第三确定模块81。As shown in FIG. 8, FIG. 8 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure. This embodiment is based on the foregoing embodiment shown in FIG. 6, the device It may also include: a third determination module 81 .
其中,第三确定模块81,被配置为在检测到重连选择事件时,确定所述需要从当前连接的AP切换至其他邻居无线AP。Wherein, the third determination module 81 is configured to determine that it is necessary to switch from the currently connected AP to other neighboring wireless APs when a reconnection selection event is detected.
如图9所示,图9是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图,该实施例在前述图6所示实施例的基础上,所述第一确定模块63可以包括:第一计算子模块91和第一确定子模块92。As shown in FIG. 9, FIG. 9 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure. This embodiment is based on the foregoing embodiment shown in FIG. 6, and the first A determination module 63 may include: a first calculation submodule 91 and a first determination submodule 92 .
其中,第一计算子模块91,被配置为按照设定打分规则计算各个AP状态信息的分值;Wherein, the first calculation submodule 91 is configured to calculate the score of each AP state information according to the set scoring rule;
第一确定子模块92,被配置为将所述分值的最大值对应的邻居无线AP作为所述待接入的邻居无线AP。The first determining submodule 92 is configured to use the neighbor wireless AP corresponding to the maximum value of the score as the neighbor wireless AP to be accessed.
由上述实施例可见,可以按照设定打分规则计算各个AP状态信息的分值,将分值的最大值对应的邻居无线AP作为待接入的邻居无线AP,这样可以快速及准确地确定待接入的邻居无线AP。It can be seen from the above-mentioned embodiments that the scores of each AP state information can be calculated according to the set scoring rules, and the neighbor wireless AP corresponding to the maximum value of the score can be used as the neighbor wireless AP to be connected, so that the wireless AP to be connected can be quickly and accurately determined. Incoming neighbor wireless AP.
如图10所示,图10是本公开根据一示例性实施例示出的另一种无线接入点的切换装置的框图,该实施例在前述图6所示实施例的基础上,所述第一确定模块63可以包括:第二计算子模块101、获取子模块102、第三计算子模块103和第二确定子模块104。As shown in FIG. 10, FIG. 10 is a block diagram of another wireless access point switching device according to an exemplary embodiment of the present disclosure. This embodiment is based on the foregoing embodiment shown in FIG. 6, and the first A determination module 63 may include: a second calculation submodule 101 , an acquisition submodule 102 , a third calculation submodule 103 and a second determination submodule 104 .
其中,第二计算子模块101,被配置为按照设定打分规则计算各个AP状态信息的分值,得到各个邻居无线AP的分值;Wherein, the second calculation sub-module 101 is configured to calculate the score of each AP state information according to the set scoring rule, and obtain the score of each neighboring wireless AP;
获取子模块102,被配置为获取各个邻居无线AP的权重值;The obtaining submodule 102 is configured to obtain the weight value of each neighboring wireless AP;
第三计算子模块103,被配置为计算各个邻居无线AP的分值和对应的权重值的乘积;The third calculation submodule 103 is configured to calculate the product of the score of each neighboring wireless AP and the corresponding weight value;
第二确定子模块104,被配置为将所述乘积的最大值对应的邻居无线AP作为所述待接入的邻居无线AP。The second determining submodule 104 is configured to use the neighbor wireless AP corresponding to the maximum value of the product as the neighbor wireless AP to be accessed.
由上述实施例可见,可以根据各个邻居无线AP的分值和对应的权重值确定待接入的邻居无线AP,这样既能保证所确定的待接入的邻居无线AP的准确性,还能够满足无线设备的个性化需求,提高了切换无线AP的实用性。It can be seen from the above embodiments that the neighbor wireless APs to be accessed can be determined according to the scores of each neighbor wireless AP and the corresponding weight value, which can not only ensure the accuracy of the determined neighbor wireless APs to be accessed, but also satisfy The personalized requirements of wireless devices improve the practicability of switching wireless APs.
如图11所示,图11是本公开根据一示例性实施例示出的一种无线接入点的切换装置的框图,所述装置可以用于无线设备中,比如,该无线设备为终端,并用于执行图4所示的无线接入点的切换方法,所述装置包括:接收模块111、获取模块112和发送模块113。As shown in FIG. 11, FIG. 11 is a block diagram of an apparatus for switching a wireless access point according to an exemplary embodiment of the present disclosure. The apparatus can be used in a wireless device, for example, the wireless device is a terminal, and uses To execute the wireless access point switching method shown in FIG. 4 , the device includes: a receiving module 111 , an acquiring module 112 and a sending module 113 .
其中,接收模块111,被配置为接收无线设备发送的状态获取请求;Wherein, the receiving module 111 is configured to receive the status acquisition request sent by the wireless device;
获取模块112,被配置为根据所述状态获取请求获取自身的AP状态信息;The acquisition module 112 is configured to acquire its own AP status information according to the status acquisition request;
发送模块113,被配置为将所述AP状态信息发送至所述无线设备,以使所述无线设备根据所述AP状态信息确定待接入的邻居无线AP。The sending module 113 is configured to send the AP state information to the wireless device, so that the wireless device determines a neighboring wireless AP to be accessed according to the AP state information.
由上述实施例可见,接收无线设备发送的状态获取请求后,可以根据状态获取请求获取自身的AP状态信息,并将自身的AP状态信息发送至无线设备,便于该无线设备根据接收到的AP状态信息确定待接入的邻居无线AP,进而提高了无线AP的切换效率和准确性。It can be seen from the above embodiments that after receiving the state acquisition request sent by the wireless device, it can obtain its own AP state information according to the state acquisition request, and send its own AP state information to the wireless device, so that the wireless device can The information determines the neighbor wireless AP to be accessed, thereby improving the switching efficiency and accuracy of the wireless AP.
与图6相应的,本公开还提供另一种无线接入点的切换装置,所述装置可以应用于无线设备上,包括:Corresponding to FIG. 6 , the present disclosure also provides another wireless access point switching device, which can be applied to wireless devices, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
在需要从当前连接的无线接入点AP切换至其他邻居无线AP时,向各个邻居无线AP发送状态获取请求,以使所述邻居无线AP根据所述状态获取请求获取自身的AP状态信息;When it is necessary to switch from the currently connected wireless access point AP to other neighbor wireless APs, send a status acquisition request to each neighbor wireless AP, so that the neighbor wireless AP acquires its own AP status information according to the status acquisition request;
接收各个邻居无线AP返回的所述AP状态信息;receiving the AP status information returned by each neighboring wireless AP;
根据各个邻居无线AP各自的AP状态信息确定待接入的邻居无线AP;Determine the neighbor wireless AP to be accessed according to the respective AP state information of each neighbor wireless AP;
从所述当前连接的无线AP切换至所述待接入的邻居无线AP。Switching from the currently connected wireless AP to the neighbor wireless AP to be accessed.
与图11相应的,本公开还提供另一种无线接入点的切换装置,所述装置可以应用于邻居无线AP上,包括:Corresponding to FIG. 11 , the present disclosure also provides another wireless access point switching device, which can be applied to neighboring wireless APs, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
接收无线设备发送的状态获取请求;Receive a status acquisition request sent by the wireless device;
根据所述状态获取请求获取自身的AP状态信息;Obtaining its own AP status information according to the status acquisition request;
将所述AP状态信息发送至所述无线设备,以使所述无线设备根据所述AP状态信息确定待接入的邻居无线AP。Sending the AP state information to the wireless device, so that the wireless device determines a neighbor wireless AP to be accessed according to the AP state information.
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For the implementation process of the functions and effects of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method for details, and will not be repeated here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. It can be understood and implemented by those skilled in the art without creative effort.
如图12所示,图12是根据一示例性实施例示出的一种用于无线接入点的切换装置1200的一结构示意图(邻居无线AP侧),例如,装置1200包括处理组件1222,其进一步包括一个或多个处理器,以及由存储器1232所代表的存储器资源,用于存储可由处理部件1222的执行的指令,例如应用程序。存储器1232中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1222被配置为执行指令。As shown in FIG. 12, FIG. 12 is a schematic structural diagram of a switching device 1200 for a wireless access point according to an exemplary embodiment (neighbor wireless AP side). For example, the device 1200 includes a processing component 1222, which One or more processors are further included, as well as memory resources, represented by memory 1232 , for storing instructions executable by processing component 1222 , such as application programs. The application program stored in memory 1232 may include one or more modules each corresponding to a set of instructions. Additionally, the processing component 1222 is configured to execute the instructions.
装置1200还可以包括一个电源组件1226被配置为执行装置1200的电源管理,一个有线或无线网络接口1250被配置为将装置1200连接到网络,和一个输入输出(I/O)接口1258。装置1200可以操作基于存储在存储器1232的操作系统,例如WindowsServerTM,MacOSXTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 1200 may also include a power component 1226 configured to perform power management of device 1200 , a wired or wireless network interface 1250 configured to connect device 1200 to a network, and an input-output (I/O) interface 1258 . The device 1200 can operate based on an operating system stored in the memory 1232, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
如图13所示,图13是本公开根据一示例性实施例示出的一种用于无线接入点的切换装置1300的一结构示意图(无线设备侧)。例如,装置1300可以是具有路由功能的移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。As shown in FIG. 13 , FIG. 13 is a schematic structural diagram (wireless device side) of a switching apparatus 1300 for a wireless access point according to an exemplary embodiment of the present disclosure. For example, the apparatus 1300 may be a mobile phone with a routing function, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图13,装置1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电源组件1306,多媒体组件1308,音频组件1310,输入/输出(I/O)的接口1312,传感器组件1314,以及通信组件1316。13, device 1300 may include one or more of the following components: processing component 1302, memory 1304, power supply component 1306, multimedia component 1308, audio component 1310, input/output (I/O) interface 1312, sensor component 1314, and communication component 1316.
处理组件1302通常控制装置1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理组件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。The processing component 1302 generally controls the overall operations of the device 1300, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302 .
存储器1304被配置为存储各种类型的数据以支持在装置1300的操作。这些数据的示例包括用于在装置1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1304 is configured to store various types of data to support operations at the device 1300 . Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1304 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1306为装置1300的各种组件提供电力。电源组件1306可以包括电源管理系统,一个或多个电源,及其他与为装置1300生成、管理和分配电力相关联的组件。The power supply component 1306 provides power to various components of the device 1300 . Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1300 .
多媒体组件1308包括在所述装置1300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当装置1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1308 includes a screen that provides an output interface between the device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1308 includes a front camera and/or a rear camera. When the device 1300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(MIC),当装置1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1316发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a microphone (MIC), which is configured to receive external audio signals when the device 1300 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1304 or sent via communication component 1316 . In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
I/O接口1312为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1312 provides an interface between the processing component 1302 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1314包括一个或多个传感器,用于为装置1300提供各个方面的状态评估。例如,传感器组件1314可以检测到装置1300的打开/关闭状态,组件的相对定位,例如所述组件为装置1300的显示器和小键盘,传感器组件1314还可以检测装置1300或装置1300一个组件的位置改变,用户与装置1300接触的存在或不存在,装置1300方位或加速/减速和装置1300的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器,微波传感器或温度传感器。Sensor assembly 1314 includes one or more sensors for providing various aspects of status assessment for device 1300 . For example, the sensor component 1314 can detect the open/closed state of the device 1300, the relative positioning of components, such as the display and keypad of the device 1300, and the sensor component 1314 can also detect a change in the position of the device 1300 or a component of the device 1300 , the presence or absence of user contact with the device 1300 , the device 1300 orientation or acceleration/deceleration and the temperature change of the device 1300 . Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1314 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a microwave sensor or a temperature sensor.
通信组件1316被配置为便于装置1300和其他设备之间有线或无线方式的通信。装置1300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1316 is configured to facilitate wired or wireless communication between the apparatus 1300 and other devices. The device 1300 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1300 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由装置1300的处理器1320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1304 including instructions, which can be executed by the processor 1320 of the device 1300 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610029585.9A CN105491632A (en) | 2016-01-15 | 2016-01-15 | Wireless access point switching method and wireless access point switching device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610029585.9A CN105491632A (en) | 2016-01-15 | 2016-01-15 | Wireless access point switching method and wireless access point switching device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105491632A true CN105491632A (en) | 2016-04-13 |
Family
ID=55678257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610029585.9A Pending CN105491632A (en) | 2016-01-15 | 2016-01-15 | Wireless access point switching method and wireless access point switching device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105491632A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107548065A (en) * | 2017-07-24 | 2018-01-05 | 新华三技术有限公司 | Determination method, apparatus, access controller and the storage medium of a kind of detection device |
CN107612718A (en) * | 2017-08-29 | 2018-01-19 | 深圳市盛路物联通讯技术有限公司 | Forwarding unit switching method and device |
CN107846715A (en) * | 2016-09-20 | 2018-03-27 | 深圳市盛路物联通讯技术有限公司 | Access point switching method and device of the Internet of Things based on transmission rate |
CN108990097A (en) * | 2018-09-18 | 2018-12-11 | 奇酷互联网络科技(深圳)有限公司 | Automatically evade the insufficient method of Internet resources, mobile terminal and storage medium |
CN109618421A (en) * | 2019-01-14 | 2019-04-12 | Oppo广东移动通信有限公司 | A method and device, terminal and storage medium for reconnecting AP |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101836486A (en) * | 2007-10-22 | 2010-09-15 | 马维尔国际贸易有限公司 | Location aware background access point scanning for WLAN |
CN102131235A (en) * | 2010-01-15 | 2011-07-20 | 西门子公司 | A load balancing method in a wireless communication system |
CN103702398A (en) * | 2013-12-23 | 2014-04-02 | Tcl集团股份有限公司 | Wireless AP (access point) selection method and system |
CN103973501A (en) * | 2014-05-28 | 2014-08-06 | 深圳市金立通信设备有限公司 | Method and device for managing wireless local area network access point |
-
2016
- 2016-01-15 CN CN201610029585.9A patent/CN105491632A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101836486A (en) * | 2007-10-22 | 2010-09-15 | 马维尔国际贸易有限公司 | Location aware background access point scanning for WLAN |
CN102131235A (en) * | 2010-01-15 | 2011-07-20 | 西门子公司 | A load balancing method in a wireless communication system |
CN103702398A (en) * | 2013-12-23 | 2014-04-02 | Tcl集团股份有限公司 | Wireless AP (access point) selection method and system |
CN103973501A (en) * | 2014-05-28 | 2014-08-06 | 深圳市金立通信设备有限公司 | Method and device for managing wireless local area network access point |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107846715A (en) * | 2016-09-20 | 2018-03-27 | 深圳市盛路物联通讯技术有限公司 | Access point switching method and device of the Internet of Things based on transmission rate |
WO2018053894A1 (en) * | 2016-09-20 | 2018-03-29 | 深圳市盈广现代网络设备有限公司 | Internet-of-things access point handover method and device based on transmission rate |
CN107548065A (en) * | 2017-07-24 | 2018-01-05 | 新华三技术有限公司 | Determination method, apparatus, access controller and the storage medium of a kind of detection device |
CN107548065B (en) * | 2017-07-24 | 2021-02-12 | 新华三技术有限公司 | Method and device for determining detection equipment, access controller and storage medium |
CN107612718A (en) * | 2017-08-29 | 2018-01-19 | 深圳市盛路物联通讯技术有限公司 | Forwarding unit switching method and device |
CN108990097A (en) * | 2018-09-18 | 2018-12-11 | 奇酷互联网络科技(深圳)有限公司 | Automatically evade the insufficient method of Internet resources, mobile terminal and storage medium |
CN108990097B (en) * | 2018-09-18 | 2021-08-31 | 深圳市知赢科技有限公司 | Method, mobile terminal and storage medium for automatically avoiding network resource deficiency |
CN109618421A (en) * | 2019-01-14 | 2019-04-12 | Oppo广东移动通信有限公司 | A method and device, terminal and storage medium for reconnecting AP |
CN109618421B (en) * | 2019-01-14 | 2021-04-30 | Oppo广东移动通信有限公司 | Method and device for reconnecting AP, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112804720B (en) | Network switching method and device | |
WO2020215289A1 (en) | Paging response method and device, paging method and device | |
US20170150434A1 (en) | Method and apparatus for selecting network | |
CN106454998B (en) | Wireless local area network access method, device and terminal | |
CN105491632A (en) | Wireless access point switching method and wireless access point switching device | |
EP3771236B1 (en) | Cell access method and device | |
US11197192B2 (en) | Network connection management method, device and system | |
CN106231559A (en) | Network access method, device and terminal | |
CN105228201A (en) | The changing method of relay router and device | |
CN114745736A (en) | Meta-universe service processing method and device, electronic equipment and storage medium | |
KR102436552B1 (en) | Cell type indication method, apparatus and computer readable storage medium | |
CN114630421A (en) | Communication method, communication device, electronic equipment and readable storage medium | |
CN110637502B (en) | Data processing method and device, electronic device, and computer-readable storage medium | |
CN105517078A (en) | Network connection switching method and device | |
CN110140367B (en) | Terminal access control method and device | |
CN106792570A (en) | Localization method and device | |
CN109451832B (en) | Wireless communication method, device and computer readable storage medium | |
WO2023279392A1 (en) | Methods and apparatus for sending request and determining base station | |
US11382032B2 (en) | Cell access method and apparatus | |
CN114586414B (en) | Request transmitting method, response information transmitting method, positioning information acquiring method | |
CN110637443B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN110291815B (en) | A method, device and medium for improving business continuity | |
WO2023221142A1 (en) | Reselection priority determination method and apparatus, and reselection priority configuration sending method and apparatus | |
WO2019019026A1 (en) | Date transmission method, device and system | |
CN115707051A (en) | Cell switching method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160413 |