CN114585028A - Network switching method and related equipment - Google Patents
Network switching method and related equipment Download PDFInfo
- Publication number
- CN114585028A CN114585028A CN202011380498.0A CN202011380498A CN114585028A CN 114585028 A CN114585028 A CN 114585028A CN 202011380498 A CN202011380498 A CN 202011380498A CN 114585028 A CN114585028 A CN 114585028A
- Authority
- CN
- China
- Prior art keywords
- wireless
- electronic device
- wireless routing
- signal strength
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
- H04W36/0085—Hand-off measurements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提供了一种网络切换方法及其相关设备,该方法包括:第一无线路由设备检测电子设备与第一无线路由设备通信时的信号强度小于信号强度阈值,向控制器发送第一信息;控制器根据第一信息向第一无线路由设备发送第一指令,第一无线路由设备根据第一指令向电子设备发送第一数据帧;控制器根据第一信息向至少一个第二无线路由设备发送第二指令,第二无线路由设备根据第二指令获取电子设备的第一回复帧的信号强度并发送至控制器;控制器根据该信号强度从第二无线路由设备中确定第三无线路由设备,电子设备将与第一无线路由设备的通信连接切换至与第三无线路由设备的通信连接。该方法可对电子设备的无线路由器进行切换,提高了网络通信的质量。
The embodiment of the present application provides a network switching method and related equipment, the method includes: the first wireless routing device detects that the signal strength when the electronic device communicates with the first wireless routing device is less than the signal strength threshold, and sends a first wireless routing device to the controller. information; the controller sends the first instruction to the first wireless routing device according to the first information, and the first wireless routing device sends the first data frame to the electronic device according to the first instruction; the controller sends the at least one second wireless router according to the first information The device sends a second instruction, and the second wireless routing device obtains the signal strength of the first reply frame of the electronic device according to the second instruction and sends it to the controller; the controller determines the third wireless route from the second wireless routing device according to the signal strength device, the electronic device switches the communication connection with the first wireless routing device to the communication connection with the third wireless routing device. The method can switch the wireless router of the electronic device and improve the quality of network communication.
Description
技术领域technical field
本申请涉及通信技术领域,具体涉及一种网络切换方法及其相关设备。The present application relates to the field of communication technologies, and in particular, to a network switching method and related equipment.
背景技术Background technique
随着无线通信技术的不断发展,无线局域网络(wireless local area networks,WLAN)得到了广泛的应用。在商场、写字楼等区域内,通常部署多个WLAN网络,用户携带电子设备在这些区域移动时,会从一个WLAN网络的信号范围移动至另一个WLAN网络的信号范围,为使电子设备持续处于联网状态,需要在不同的接入点(access point,AP)之间进行切换。With the continuous development of wireless communication technology, wireless local area networks (wireless local area networks, WLAN) have been widely used. In shopping malls, office buildings and other areas, multiple WLAN networks are usually deployed. When users move electronic devices in these areas, they will move from the signal range of one WLAN network to the signal range of another WLAN network. The state needs to be switched between different access points (access points, AP).
根据IEEE 802.11标准,其包含的802.11k、802.11r和802.11v协议可以使电子设备顺畅地从一个接入点切换至另一个接入点。但是因成本或者部署策略的影响,或者是早期的产品,仍有一些电子设备并不支持802.11k、802.11r和802.11v协议,对于此类电子设备在WLAN网络中漫游来说,需要亟待改善切换效率。According to the IEEE 802.11 standard, the 802.11k, 802.11r and 802.11v protocols included in it allow electronic devices to smoothly switch from one access point to another. However, due to the impact of cost or deployment strategy, or early products, there are still some electronic devices that do not support 802.11k, 802.11r and 802.11v protocols. For such electronic devices to roam in the WLAN network, it is urgent to improve the handover. efficiency.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种网络切换方法及其相关设备,具备良好的兼容性和稳定性,提高了电子设备的通信质量。The embodiments of the present application provide a network switching method and related equipment, which have good compatibility and stability, and improve the communication quality of electronic equipment.
第一方面,本申请实施例提供一种网络切换系统,包括控制器,第一无线路由设备,至少一个第二无线路由设备,及电子设备,所述第一无线路由设备与所述电子设备无线通信连接;所述第一无线路由设备检测电子设备与第一无线路由设备通信时的信号强度,当所述信号强度小于预设的信号强度阈值时,所述第一无线路由设备发送第一信息至所述控制器;所述控制器根据所述第一信息向第一无线路由设备发送第一指令,所述第一指令用于指示所述第一无线路由设备向所述电子设备发送第一数据帧;第一无线路由设备根据所述第一指令向所述电子设备发送第一数据帧,用于所述电子设备根据所述第一数据帧回复第一回复帧;所述控制器根据所述第一信息向至少一个所述第二无线路由设备发送第二指令,所述第二指令用于指示所述第二无线路由设备监听所述第一回复帧并上报所述第一回复帧的信号强度;所述第二无线路由设备根据所述第二指令监听所述电子设备回复的所述第一回复帧,获取所述第一回复帧的信号强度,将所述第一回复帧的信号强度发送至所述控制器;所述控制器根据所述第一回复帧的信号强度,从所述至少一个第二无线路由设备中确定第三无线路由设备,以使所述电子设备将与所述第一无线路由设备的通信连接切换至与所述第三无线路由设备的通信连接。In a first aspect, an embodiment of the present application provides a network switching system, including a controller, a first wireless routing device, at least one second wireless routing device, and an electronic device, the first wireless routing device wirelessly communicates with the electronic device communication connection; the first wireless routing device detects the signal strength when the electronic device communicates with the first wireless routing device, and when the signal strength is less than a preset signal strength threshold, the first wireless routing device sends the first information to the controller; the controller sends a first instruction to the first wireless routing device according to the first information, where the first instruction is used to instruct the first wireless routing device to send the first instruction to the electronic device data frame; the first wireless routing device sends a first data frame to the electronic device according to the first instruction, so that the electronic device can reply to the first reply frame according to the first data frame; the controller The first information sends a second instruction to at least one of the second wireless routing devices, where the second instruction is used to instruct the second wireless routing device to monitor the first reply frame and report the information of the first reply frame. Signal strength; the second wireless routing device monitors the first reply frame replied by the electronic device according to the second instruction, obtains the signal strength of the first reply frame, and converts the signal of the first reply frame The strength is sent to the controller; the controller determines a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, so that the electronic device will communicate with all the wireless routing devices. The communication connection of the first wireless routing device is switched to the communication connection with the third wireless routing device.
其中,第一无线路由设备可以为无线接入点AP1,如无线路由器,即与电子设备建立通信连接的当前接入点,第二无线路由设备可以为接入点AP1的邻居接入点,可以有多个,第三无线设备可以为从邻居接入点中所选取的一个目标接入点AP2,即电子设备将要切换通信连接的目标接入点,控制器可以为控制端,该控制端从多个接入点中选取的一个接入点,也可以为除这些多个接入点之外单独设置的接入点,还可以为一种无线控制器(wireless access point controller,AC)或者集成在接入点中的控制装置。第一信息可以为一种指示信息,第一数据帧可以为空数据帧,即数据内容部分为空的数据帧,电子设备根据空数据帧所回复的第一回复帧可以为确认字符(acknowledge character,ACK)。The first wireless routing device may be a wireless access point AP1, such as a wireless router, that is, a current access point that establishes a communication connection with the electronic device, and the second wireless routing device may be a neighbor access point of the access point AP1, which may There are multiple, the third wireless device can be a target access point AP2 selected from the neighbor access points, that is, the target access point to which the electronic device will switch the communication connection, and the controller can be a control terminal, the control terminal from An access point selected from multiple access points may also be an access point set separately in addition to these multiple access points, or may be a wireless access point controller (AC) or an integrated access point. Control device in the access point. The first information can be a kind of indication information, the first data frame can be an empty data frame, that is, a data frame with an empty data content part, and the first reply frame that the electronic device replies according to the empty data frame can be an acknowledge character (acknowledge character). , ACK).
上述网络切换系统,当电子设备与第一无线路由设备通信时的信号强度小于信号强度阈值时,控制器指示第一无线路由设备向电子设备发送第一数据帧,使电子设备有数据帧发送出去,确保第二无线路由设备可以监听到电子设备的信号强度,进而控制器从至少一个第二无线路由设备中选取第三无线路由设备,以使不支持802.11k、802.11r和802.11v协议的电子设备切换至与第三无线路由设备建立通信连接,具备良好的兼容性和稳定性,提高了电子设备的通信质量。In the above network switching system, when the signal strength when the electronic device communicates with the first wireless routing device is less than the signal strength threshold, the controller instructs the first wireless routing device to send the first data frame to the electronic device, so that the electronic device has a data frame to send out , to ensure that the second wireless routing device can monitor the signal strength of the electronic device, and then the controller selects a third wireless routing device from at least one second wireless routing device, so that electronic devices that do not support 802.11k, 802.11r and 802.11v protocols The device switches to establish a communication connection with the third wireless routing device, which has good compatibility and stability, and improves the communication quality of the electronic device.
在本申请实施例第一方面的一种可能的实现方式中,所述第一无线路由设备检测电子设备与第一无线路由设备通信时的信号强度,包括:所述第一无线路由设备在第一采样周期内采集所述电子设备与所述第一无线路由设备通信时的信号强度;若所述第一无线路由设备在所述第一采样周期内未采集到所述信号强度,向所述电子设备发送第二数据帧;所述第一无线路由设备获取所述电子设备根据所述第二数据帧发送的第二回复帧的信号强度。In a possible implementation manner of the first aspect of the embodiment of the present application, the first wireless routing device detects the signal strength when the electronic device communicates with the first wireless routing device, including: the first wireless routing device is in the first wireless routing device. Collect the signal strength when the electronic device communicates with the first wireless routing device within a sampling period; if the first wireless routing device does not collect the signal strength within the first sampling period, send the signal to the The electronic device sends a second data frame; the first wireless routing device obtains the signal strength of the second reply frame sent by the electronic device according to the second data frame.
可选地,第一无线路由设备除了可以在未采集到电子设备的信号强度情况下向电子设备发送空数据帧,还可以按照预设的频率向电子设备发送空数据帧,以确保电子设备有数据帧发送出来,供第一无线路由设备进行采集。结合第一方面和上述实现方式,第一采样周期可以为1秒/次,若在第一采样周期内采集到了电子设备的信号强度,则直接判断该信号强度是否小于强度阈值;若未检测到电子设备的信号强度,则主动向电子设备发送空数据帧,以确保电子设备在第一采样周期内有数据帧发送出去供第一无线路由设备检测,从而提高了电子设备的通信质量;另外,第一无线路由设备只在未检测到电子设备的信号强度的情况下,向电子设备发送空数据帧,可减少第一网络设备的通信功耗。Optionally, in addition to sending null data frames to the electronic device without collecting the signal strength of the electronic device, the first wireless routing device can also send null data frames to the electronic device according to a preset frequency to ensure that the electronic device has The data frame is sent out for the first wireless routing device to collect. Combining the first aspect and the above implementation manner, the first sampling period may be 1 second/time. If the signal strength of the electronic device is collected within the first sampling period, it is directly judged whether the signal strength is less than the strength threshold; if no signal strength is detected If the signal strength of the electronic device is determined, it will actively send empty data frames to the electronic device to ensure that the electronic device has data frames sent out for detection by the first wireless routing device within the first sampling period, thereby improving the communication quality of the electronic device; in addition, The first wireless routing device sends a null data frame to the electronic device only when the signal strength of the electronic device is not detected, which can reduce the communication power consumption of the first network device.
在本申请实施例第一方面的一种可能的实现方式中,所述当所述信号强度小于预设的信号强度阈值时,所述第一无线路由设备发送第一信息至所述控制器,包括:确定连续接收到的预设第一数量的第二回复帧的信号强度是否都小于第一信号强度阈值,每个第二回复帧对应一个在第一采样周期内发送的第二数据帧;若是,向所述控制器发送第一信息。上述实现方式中,预设第一数量可以为3个,通过判断连续多个第二回复帧的信号强度是否都小于第一信号强度阈值,可进一步提高判断结果的准确性,以进一步提高电子设备的通信质量。In a possible implementation manner of the first aspect of the embodiment of the present application, when the signal strength is less than a preset signal strength threshold, the first wireless routing device sends the first information to the controller, The method includes: determining whether the signal strengths of consecutively received preset first number of second reply frames are all less than a first signal strength threshold, and each second reply frame corresponds to a second data frame sent within the first sampling period; If so, send first information to the controller. In the above implementation manner, the preset first number may be 3, and by judging whether the signal strengths of multiple consecutive second reply frames are all less than the first signal strength threshold, the accuracy of the judgment result can be further improved, so as to further improve the electronic equipment. communication quality.
在本申请实施例第一方面的一种可能的实现方式中,所述第一无线路由设备获取所述电子设备根据所述第二数据帧发送的第二回复帧的信号强度之后,包括:当所述第一无线路由设备获取到第二回复帧的信号强度小于第一信号强度阈值,在第二采样周期内采集所述电子设备的信号强度,所述第二采样周期小于所述第一采样周期;若在所述第二采样周期内未检测到所述电子设备的信号强度,向所述电子设备发送第三数据帧;获取所述电子设备根据所述第三数据帧发送的第三回复帧的信号强度。可选地,在获取到电子设备第三回复帧的信号强度后,第一无线路由设备可以确定接收到的预设第二数量的第三回复帧中,预设比例第三回复帧的信号强度是否都小于第二信号强度阈值,每个第三回复帧对应一个在第二采样周期内发送的第三数据帧;若是,向所述控制器发送第一信息。In a possible implementation manner of the first aspect of the embodiment of the present application, after the first wireless routing device acquires the signal strength of the second reply frame sent by the electronic device according to the second data frame, the method includes: when The signal strength of the second reply frame obtained by the first wireless routing device is less than the first signal strength threshold, and the signal strength of the electronic device is collected in a second sampling period, and the second sampling period is smaller than the first sampling period period; if the signal strength of the electronic device is not detected within the second sampling period, send a third data frame to the electronic device; obtain a third reply sent by the electronic device according to the third data frame The signal strength of the frame. Optionally, after acquiring the signal strength of the third reply frame of the electronic device, the first wireless routing device may determine that among the received third reply frames of the second preset number, the signal strength of the third reply frame in a preset proportion is Whether all of them are less than the second signal strength threshold, each third reply frame corresponds to a third data frame sent in the second sampling period; if so, send the first information to the controller.
在以上实施例中,第二采样周期可以为0.2秒/次,第二数量可以为20个,预设比例可以为70%,若在第二采样周期内采集到了电子设备的信号强度,则直接判断该信号强度是否小于强度阈值;若未检测到电子设备的信号强度,则主动向电子设备发送空数据帧,以确保电子设备在第二采样周期内有数据帧发送出去供第一无线路由设备检测,从而提高了电子设备的通信质量,并且,通过缩短采样周期并判断多次的信号强度是否都小于第二信号强度阈值,可进一步提高判断结果的准确性。In the above embodiment, the second sampling period may be 0.2 seconds/time, the second number may be 20, and the preset ratio may be 70%. If the signal strength of the electronic device is collected within the second sampling period, the Determine whether the signal strength is less than the strength threshold; if the signal strength of the electronic device is not detected, it will actively send an empty data frame to the electronic device to ensure that the electronic device has a data frame to send out in the second sampling period for the first wireless routing device Therefore, the communication quality of the electronic device is improved, and the accuracy of the judgment result can be further improved by shortening the sampling period and judging whether the signal strength of multiple times is less than the second signal strength threshold.
在本申请实施例第一方面的一种可能的实现方式中,第二无线路由设备获取所述第一回复帧的信号强度,将所述第一回复帧的信号强度发送至所述控制器,包括:所述第二无线路由设备获取所述第一回复帧的信号强度,将所述第一回复帧的信号强度和所述第二无线路由设备的可用带宽发送至所述控制器。In a possible implementation manner of the first aspect of the embodiment of the present application, the second wireless routing device acquires the signal strength of the first reply frame, and sends the signal strength of the first reply frame to the controller, The method includes: acquiring, by the second wireless routing device, the signal strength of the first reply frame, and sending the signal strength of the first reply frame and the available bandwidth of the second wireless routing device to the controller.
在以上实施例中,控制器接收到第一回复帧的信号强度和第二无线路由设备的可用带宽后,可以预设的计算模型,从至少一个第二无线路由设备中确定第三无线路由设备。上述实现方式中,控制器通过第二无线路由设备的可用带宽及第一回复帧的信号强度共同确定第三无线路由设备(即目标接入点),可选取出较优的第三无线路由设备,在电子设备切换至与第三无线路由设备通信连接后,可提高电子设备的通信质量。In the above embodiment, after receiving the signal strength of the first reply frame and the available bandwidth of the second wireless routing device, the controller can determine the third wireless routing device from the at least one second wireless routing device with a preset calculation model . In the above implementation manner, the controller determines the third wireless routing device (that is, the target access point) by using the available bandwidth of the second wireless routing device and the signal strength of the first reply frame, and optionally selects a third wireless routing device with a better quality. , after the electronic device is switched to communicate with the third wireless routing device, the communication quality of the electronic device can be improved.
在本申请实施例第一方面的一种可能的实现方式中,所述控制器根据所述第一回复帧的信号强度,从至少一个第二无线路由设备中确定第三无线路由设备之前,还包括:所述控制器向所述第一无线路由设备发送第三指令,所述第三指令用于指示所述第一无线路由设备停止向所述电子设备发送第一数据帧。在该实现方式中,控制器及时指示第一无线路由设备停止发送第一数据帧,可减少第一无线路由设备与电子设备之间的通信功耗。In a possible implementation manner of the first aspect of the embodiment of the present application, before the controller determines the third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, further The method includes: the controller sends a third instruction to the first wireless routing device, where the third instruction is used to instruct the first wireless routing device to stop sending the first data frame to the electronic device. In this implementation manner, the controller instructs the first wireless routing device to stop sending the first data frame in time, which can reduce the communication power consumption between the first wireless routing device and the electronic device.
在本申请实施例第一方面的一种可能的实现方式中,控制器根据所述第一回复帧的信号强度,从至少一个第二无线路由设备中确定第三无线路由设备之后,还包括:所述控制器向所述第二无线路由设备中除所述第三无线路由设备之外的其余无线路由设备发送第四指令,所述第四指令用于指示所述其余无线路由设备将所述电子设备加入通信黑名单。在此基础上,电子设备将与所述第一无线路由设备的通信连接切换至与所述第三无线路由设备的通信连接,包括:所述控制器向所述第一无线路由设备发送第五指令,所述第五指令用于指示所述第一无线路由设备断开与所述电子设备的通信连接;所述电子设备向所述第二无线路由设备发送网络接入请求;所述第三无线路由设备接收到所述网络接入请求,与所述电子设备建立通信连接。In a possible implementation manner of the first aspect of the embodiment of the present application, after determining the third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, the controller further includes: The controller sends a fourth instruction to the remaining wireless routing devices in the second wireless routing device except the third wireless routing device, where the fourth instruction is used to instruct the remaining wireless routing devices to The electronic device is added to the communication blacklist. On this basis, the electronic device switches the communication connection with the first wireless routing device to the communication connection with the third wireless routing device, including: the controller sends the fifth wireless routing device to the first wireless routing device. instruction, the fifth instruction is used to instruct the first wireless routing device to disconnect the communication connection with the electronic device; the electronic device sends a network access request to the second wireless routing device; the third wireless routing device The wireless routing device receives the network access request and establishes a communication connection with the electronic device.
其中,其余无线路由设备将电子设备加入通信黑名单后,即使电子设备后续向该无线路由设备发送了接入请求,也无法建立通信连接,以提高电子设备成功的与第三无线路由设备建立通信连接的可能性。Among them, after the other wireless routing devices add the electronic device to the communication blacklist, even if the electronic device subsequently sends an access request to the wireless routing device, the communication connection cannot be established, so as to improve the successful establishment of communication between the electronic device and the third wireless routing device. Possibility to connect.
第二方面,本申请实施例提供一种网络切换方法,所述方法由第一无线路由设备执行,包括:检测电子设备与所述第一无线路由设备通信时的信号强度,当所述信号强度小于预设的信号强度阈值时,向控制器发送第一信息,所述电子设备与所述第一无线路由设备无线通信连接,所述第一信息用于指示所述控制器向所述第一无线路由设备发送第一指令;接收所述控制器发送的第一指令,根据所述第一指令向所述电子设备发送第一数据帧,所述第一数据帧用于指示所述电子设备基于所述第一数据帧回复第一回复帧;接收所述控制器发送的第五指令,所述第五指令用于指示所述第一无线路由设备断开与所述电子设备的通信连接。In a second aspect, an embodiment of the present application provides a network switching method. The method is executed by a first wireless routing device, and includes: detecting a signal strength when an electronic device communicates with the first wireless routing device, and when the signal strength When less than a preset signal strength threshold, send first information to the controller, the electronic device is wirelessly connected to the first wireless routing device, and the first information is used to instruct the controller to send the first information to the first wireless router. The wireless routing device sends a first instruction; receives the first instruction sent by the controller, and sends a first data frame to the electronic device according to the first instruction, where the first data frame is used to instruct the electronic device based on The first data frame replies to the first reply frame; and a fifth instruction sent by the controller is received, where the fifth instruction is used to instruct the first wireless routing device to disconnect the communication connection with the electronic device.
上述网络切换方法,当电子设备与第一无线路由设备通信时的信号强度小于信号强度阈值时,第一无线路由设备根据控制器的指示向电子设备发送第一数据帧,使电子设备有数据帧发送出去,确保第二无线路由设备可以监听到电子设备的信号强度,进而控制器从至少一个第二无线路由设备中选取第三无线路由设备,以使不支持802.11k、802.11r和802.11v协议的电子设备切换至与第三无线路由设备建立通信连接,具备良好的兼容性和稳定性,提高了电子设备的通信质量。In the above network switching method, when the signal strength when the electronic device communicates with the first wireless routing device is less than the signal strength threshold, the first wireless routing device sends the first data frame to the electronic device according to the instruction of the controller, so that the electronic device has a data frame Send out to ensure that the second wireless routing device can monitor the signal strength of the electronic device, and then the controller selects a third wireless routing device from at least one second wireless routing device, so that the 802.11k, 802.11r and 802.11v protocols are not supported The electronic device is switched to establish a communication connection with the third wireless routing device, which has good compatibility and stability, and improves the communication quality of the electronic device.
在本申请实施例第二方面的一种可能的实现方式中,所述检测电子设备与所述第一无线路由设备通信时的信号强度,包括:在第一采样周期内采集所述电子设备与所述第一无线路由设备通信时的信号强度;若在所述第一采样周期内未采集到所述电子设备的信号强度,向所述电子设备发送第二数据帧;获取所述电子设备根据所述第二数据帧发送的第二回复帧的信号强度。可选地,当确定连续接收到的预设第一数量的第二回复帧的信号强度都小于第一信号强度阈值,向所述控制器发送第一信息,每个第二回复帧对应一个在第一采样周期内发送的第二数据帧。In a possible implementation manner of the second aspect of the embodiment of the present application, the detecting the signal strength when the electronic device communicates with the first wireless routing device includes: collecting, within a first sampling period, the relationship between the electronic device and the first wireless routing device. The signal strength when the first wireless routing device communicates; if the signal strength of the electronic device is not collected within the first sampling period, a second data frame is sent to the electronic device; The signal strength of the second reply frame sent by the second data frame. Optionally, when it is determined that the signal strengths of the preset first number of consecutively received second reply frames are all less than the first signal strength threshold, first information is sent to the controller, and each second reply frame corresponds to a The second data frame sent in the first sampling period.
以上实施例中,第一无线路由设备通过主动向电子设备发送第一数据帧,以确保电子设备在第一采样周期内有数据帧发送出去供第一无线路由设备检测,从而提高了电子设备的通信质量。In the above embodiment, the first wireless routing device actively sends the first data frame to the electronic device to ensure that the electronic device sends a data frame within the first sampling period for the first wireless routing device to detect, thereby improving the reliability of the electronic device. communication quality.
在本申请实施例第二方面的一种可能的实现方式中,获取所述电子设备根据所述第二数据帧发送的第二回复帧的信号强度之后,所述方法还包括:当获取到第二回复帧的信号强度小于第一信号强度阈值,在第二采样周期内采集所述电子设备的信号强度,所述第二采样周期小于所述第一采样周期;若在所述第二采样周期内未采集到所述电子设备的信号强度,向所述电子设备发送第三数据帧;获取所述电子设备根据所述第三数据帧发送的第三回复帧的信号强度。可选地,在获取到电子设备第三回复帧的信号强度后,第一无线路由设备可以确定接收到的预设第二数量的第三回复帧中,预设比例第三回复帧的信号强度是否都小于第二信号强度阈值,每个第三回复帧对应一个在第二采样周期内发送的第三数据帧;若是,向所述控制器发送第一信息。由此,通过缩短采样周期并判断多次的信号强度是否都小于第二信号强度阈值,可进一步提高判断结果的准确性。In a possible implementation manner of the second aspect of the embodiment of the present application, after acquiring the signal strength of the second reply frame sent by the electronic device according to the second data frame, the method further includes: when the first reply frame is acquired The signal strength of the second reply frame is less than the first signal strength threshold, the signal strength of the electronic device is collected in the second sampling period, and the second sampling period is smaller than the first sampling period; if the second sampling period is If the signal strength of the electronic device is not collected, a third data frame is sent to the electronic device; and the signal strength of the third reply frame sent by the electronic device according to the third data frame is acquired. Optionally, after acquiring the signal strength of the third reply frame of the electronic device, the first wireless routing device may determine that among the received third reply frames of the second preset number, the signal strength of the third reply frame in a preset proportion is Whether all of them are less than the second signal strength threshold, each third reply frame corresponds to a third data frame sent in the second sampling period; if so, send the first information to the controller. Therefore, by shortening the sampling period and judging whether the signal strengths of multiple times are all smaller than the second signal strength threshold, the accuracy of the judgment result can be further improved.
在本申请实施例第二方面的一种可能的实现方式中,所述方法还包括:接收所述控制器发送的第三指令,根据所述第三指令停止向所述电子设备发送第一数据帧。In a possible implementation manner of the second aspect of the embodiment of the present application, the method further includes: receiving a third instruction sent by the controller, and stopping sending the first data to the electronic device according to the third instruction frame.
以上实施例中,控制器在发送第一指令后的预设时长(如4秒)之后,或者接收到所有第二无线路由设备发送的信号强度结算结果之后,可以向第一无线路由设备发送停止构造第一数据帧的指令,以减少第一无线路由设备的通信功耗。In the above embodiment, after the controller sends the first instruction for a preset period of time (for example, 4 seconds), or after receiving the signal strength settlement results sent by all the second wireless routing devices, the controller can send a stop message to the first wireless routing device. The instruction to construct the first data frame is to reduce the communication power consumption of the first wireless routing device.
在本申请实施例第二方面的一种可能的实现方式中,所述第一数据帧包括源地址、目标地址和数据内容,所述数据内容为空值。采用空数据帧降低了对网络性能、电子设备及无线路由设备性能的影响,也可以减小对网络的影响,避免对网络环境造成负担。In a possible implementation manner of the second aspect of the embodiment of the present application, the first data frame includes a source address, a target address, and data content, and the data content is a null value. The use of null data frames reduces the impact on the performance of the network, electronic equipment and wireless routing equipment, and can also reduce the impact on the network and avoid burdening the network environment.
第三方面,本申请实施例提供一种网络切换方法,所述方法由控制器执行,包括:接收第一无线路由设备发送的第一信息;根据所述第一信息向第一无线路由设备发送第一指令,以及向至少一个所述第二无线路由设备发送第二指令,所述第一指令用于指示所述第一无线路由设备向所述电子设备发送第一数据帧,所述第二指令用于指示所述第二无线路由设备监听所述电子设备发送的第一回复帧并上报所述第一回复帧的信号强度,所述第一回复帧为所述电子设备基于所述第一数据帧进行回复;根据所述第一回复帧的信号强度,从所述至少一个第二无线路由设备中确定第三无线路由设备,以使所述电子设备将与所述第一无线路由设备的通信连接切换至与所述第三无线路由设备的通信连接。In a third aspect, an embodiment of the present application provides a network switching method. The method is executed by a controller, and includes: receiving first information sent by a first wireless routing device; sending to the first wireless routing device according to the first information a first instruction, and sending a second instruction to at least one of the second wireless routing devices, where the first instruction is used to instruct the first wireless routing device to send a first data frame to the electronic device, the second The instruction is used to instruct the second wireless routing device to monitor the first reply frame sent by the electronic device and report the signal strength of the first reply frame, and the first reply frame is for the electronic device based on the first reply frame. data frame to reply; according to the signal strength of the first reply frame, determine a third wireless routing device from the at least one second wireless routing device, so that the electronic device will communicate with the first wireless routing device The communication connection is switched to the communication connection with the third wireless routing device.
上述网络切换方法,当电子设备与第一无线路由设备通信时的信号强度小于信号强度阈值时,控制器指示第一无线路由设备向电子设备发送第一数据帧,使电子设备有数据帧发送出去,确保第二无线路由设备可以监听到电子设备的信号强度,进而控制器从至少一个第二无线路由设备中选取第三无线路由设备,以使不支持802.11k、802.11r和802.11v协议的电子设备切换至与第三无线路由设备建立通信连接,具备良好的兼容性和稳定性,提高了电子设备的通信质量。In the above network switching method, when the signal strength when the electronic device communicates with the first wireless routing device is less than the signal strength threshold, the controller instructs the first wireless routing device to send the first data frame to the electronic device, so that the electronic device has a data frame to send out , to ensure that the second wireless routing device can monitor the signal strength of the electronic device, and then the controller selects a third wireless routing device from at least one second wireless routing device, so that electronic devices that do not support 802.11k, 802.11r and 802.11v protocols The device switches to establish a communication connection with the third wireless routing device, which has good compatibility and stability, and improves the communication quality of the electronic device.
在本申请实施例第三方面的一种可能的实现方式中,根据所述第一回复帧的信号强度,从所述至少一个第二无线路由设备中确定第三无线路由设备,包括:获取第一回复帧的信号强度和所述第二无线路由设备的可用带宽;根据所述第一回复帧的信号强度、所述第二无线路由设备的可用带宽、以及预设的计算模型,从至少一个第二无线路由设备中确定第三无线路由设备。In a possible implementation manner of the third aspect of the embodiment of the present application, determining a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame includes: obtaining the first wireless routing device. The signal strength of a reply frame and the available bandwidth of the second wireless routing device; according to the signal strength of the first reply frame, the available bandwidth of the second wireless routing device, and a preset calculation model, from at least one A third wireless routing device is determined in the second wireless routing device.
以上实施例中,控制器通过第二无线路由设备的可用带宽及第一回复帧的信号强度共同确定第三无线路由设备(即目标接入点),可选取出较优的第三无线路由设备,在电子设备切换至与第三无线路由设备通信连接后,可提高电子设备的通信质量。In the above embodiment, the controller determines the third wireless routing device (that is, the target access point) by using the available bandwidth of the second wireless routing device and the signal strength of the first reply frame, and selects a better third wireless routing device. , after the electronic device is switched to communicate with the third wireless routing device, the communication quality of the electronic device can be improved.
在本申请实施例第三方面的一种可能的实现方式中,在所述根据所述第一回复帧的信号强度,从所述至少一个第二无线路由设备中确定第三无线路由设备之前,所述方法还包括:向所述第一无线路由设备发送第三指令,所述第三指令用于指示所述第一无线路由设备停止向所述电子设备发送第一数据帧。In a possible implementation manner of the third aspect of the embodiment of the present application, before determining a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, The method further includes: sending a third instruction to the first wireless routing device, where the third instruction is used to instruct the first wireless routing device to stop sending the first data frame to the electronic device.
以上实施例中,控制器可以向第一无线路由设备发送停止构造第一数据帧的指令,以减少第一无线路由设备的通信功耗。In the above embodiment, the controller may send an instruction to stop constructing the first data frame to the first wireless routing device, so as to reduce the communication power consumption of the first wireless routing device.
在本申请实施例第三方面的一种可能的实现方式中,在所述根据所述第一回复帧的信号强度,从所述至少一个第二无线路由设备中确定第三无线路由设备之后,所述方法还包括:向所述第二无线路由设备中除所述第三无线路由设备之外的其余无线路由设备发送第四指令,所述第四指令用于指示所述其余无线路由设备将所述电子设备加入通信黑名单。In a possible implementation manner of the third aspect of the embodiment of the present application, after the third wireless routing device is determined from the at least one second wireless routing device according to the signal strength of the first reply frame, The method further includes: sending a fourth instruction to the remaining wireless routing devices in the second wireless routing device except the third wireless routing device, where the fourth instruction is used to instruct the remaining wireless routing devices to The electronic device is added to the communication blacklist.
以上实施例中,其余无线路由设备通过设置通信黑名单的方式,使电子设备无法与其余无线路由设备建立通信连接,从而可以使电子设备准确接入第三无线路由设备,进一步提高了电子设备的通信质量。In the above embodiment, by setting the communication blacklist for the remaining wireless routing devices, the electronic devices cannot establish communication connections with the remaining wireless routing devices, so that the electronic devices can be accurately connected to the third wireless routing device, which further improves the reliability of the electronic devices. communication quality.
在本申请实施例第三方面的一种可能的实现方式中,所述使所述电子设备将与所述第一无线路由设备的通信连接切换至与所述第三无线路由设备的通信连接,包括:向所述第一无线路由设备发送第五指令,所述第五指令用于指示所述第一无线路由设备断开与所述电子设备的通信连接。In a possible implementation manner of the third aspect of the embodiment of the present application, the electronic device is caused to switch the communication connection with the first wireless routing device to the communication connection with the third wireless routing device, The method includes: sending a fifth instruction to the first wireless routing device, where the fifth instruction is used to instruct the first wireless routing device to disconnect the communication connection with the electronic device.
以上实施例中,在电子设备切换网络连接过程中,控制器主动指示第一无线路由设备断开与电子设备的通信连接,促进后续电子设备与第三无线路由设备建立通信连接的过程,也进一步提高了电子设备的通信质量。In the above embodiment, during the process of switching the network connection of the electronic device, the controller actively instructs the first wireless routing device to disconnect the communication connection with the electronic device, so as to facilitate the subsequent process of establishing a communication connection between the electronic device and the third wireless routing device, and further The communication quality of electronic equipment is improved.
在本申请实施例第三方面的一种可能的实现方式中,所述方法还包括:接收所述第三无线路由设备发送的第二信息,所述第二信息表征所述第三无线路由设备与所述电子设备的通信连接信息。In a possible implementation manner of the third aspect of the embodiment of the present application, the method further includes: receiving second information sent by the third wireless routing device, where the second information represents the third wireless routing device Communication connection information with the electronic device.
以上实施例中,第三无线路由设备将与电子设备的通信连接信息发送至控制器,以便该电子设备继续将要离开第三无线路由设备的信号范围时,重复执行上述过程,进一步提高电子设备的通信质量。In the above embodiment, the third wireless routing device sends the communication connection information with the electronic device to the controller, so that when the electronic device continues to leave the signal range of the third wireless routing device, the above process is repeated to further improve the performance of the electronic device. communication quality.
在本申请实施例第三方面的一种可能的实现方式中,所述第一数据帧包括源地址、目标地址和数据内容,所述数据内容为空值。采用空数据帧降低了对网络性能、电子设备及无线路由设备性能的影响,也可以减小对网络的影响,避免对网络环境造成负担。In a possible implementation manner of the third aspect of the embodiment of the present application, the first data frame includes a source address, a target address, and data content, and the data content is a null value. The use of null data frames reduces the impact on the performance of the network, electronic equipment and wireless routing equipment, and can also reduce the impact on the network and avoid burdening the network environment.
第四方面,本申请实施例提供一种装置,该装置包含在无线路由设备中,该装置具有实现上述第一方面及上述第一方面的可能实现方式中无线路由设备行为的功能,或者包含在控制器中,实现第二方面及上述第二方面的可能实现方式中控制器行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,接收模块或单元、处理模块或单元等。In a fourth aspect, an embodiment of the present application provides an apparatus, the apparatus is included in a wireless routing device, and the apparatus has the function of implementing the behavior of the wireless routing device in the above-mentioned first aspect and possible implementations of the above-mentioned first aspect, or is included in the wireless routing device. In the controller, the functions of the controller behavior in the second aspect and possible implementation manners of the above-mentioned second aspect are implemented. The functions can be implemented by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a receiving module or unit, a processing module or unit, and the like.
第五方面,本申请实施例提供一种无线路由设备,包括处理器及存储器;所述处理器和存储器耦合,所述存储器存储有程序指令,当所述存储器存储的程序指令被所述处理器执行时执行第一方面所述的技术方案中任意一种方法。In a fifth aspect, an embodiment of the present application provides a wireless routing device, including a processor and a memory; the processor and the memory are coupled, and the memory stores program instructions, when the program instructions stored in the memory are processed by the processor During execution, any one of the methods in the technical solutions described in the first aspect is executed.
第六方面,本申请实施例提供一种控制器,包括处理器及存储器;所述处理器和存储器耦合,所述存储器存储有程序指令,当所述存储器存储的程序指令被所述处理器执行时执行第二方面所述的技术方案中任意一种方法。In a sixth aspect, an embodiment of the present application provides a controller, including a processor and a memory; the processor and the memory are coupled, and the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor When executing any one of the technical solutions described in the second aspect.
第七方面,本申请实施例提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面及其任意可能的实现方式,或者第二方面及其任意可能的实现方式中的方法。In a seventh aspect, an embodiment of the present application provides a chip, including a processor. The processor is used to read and execute the computer program stored in the memory to perform the method in the first aspect and any possible implementations thereof, or the second aspect and any possible implementations thereof.
可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线连接。Optionally, the chip further includes a memory, and the memory is connected to the processor through a circuit or a wire.
进一步可选地,所述芯片还包括通信接口。Further optionally, the chip further includes a communication interface.
第八方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储了计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如第一方面所述的技术方案,或者第二方面所述的技术方案中任意一种方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program includes program instructions that, when executed by a processor, cause all The processor executes the technical solution described in the first aspect, or any one of the technical solutions described in the second aspect.
第九方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,所述计算机程序代码当被处理器执行时使所述处理器执行如执行第一方面所述的技术方案,或者第二方面所述的技术方案中任意一种方法。In a ninth aspect, an embodiment of the present application provides a computer program product, the computer program product comprising: computer program code, the computer program code, when executed by a processor, causes the processor to execute the execution of the first aspect The technical solution, or any one of the technical solutions described in the second aspect.
附图说明Description of drawings
图1是本申请实施例提供的一例网络切换方法的应用场景图;FIG. 1 is an application scenario diagram of an example of a network switching method provided by an embodiment of the present application;
图2是本申请实施例提供的一例网络设备的结构示意图;FIG. 2 is a schematic structural diagram of an example of a network device provided by an embodiment of the present application;
图3是本申请实施例提供的一例网络切换方法的流程示意图;3 is a schematic flowchart of an example of a network switching method provided by an embodiment of the present application;
图4是本申请实施例提供的另一例网络切换方法的流程示意图;4 is a schematic flowchart of another example of a network switching method provided by an embodiment of the present application;
图5是本申请实施例提供的又一例网络切换方法的流程示意图。FIG. 5 is a schematic flowchart of another example of a network switching method provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise stated, “/” means or means, for example, A/B can mean A or B; “and/or” in this document is only a description of the associated object The association relationship of , indicates that there can be three kinds of relationships, for example, A and/or B, can indicate that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" refers to two or more than two.
以下,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”、“第三”的特征可以明示或者隐含地包括一个或者更多个该特征。Hereinafter, the terms "first", "second" and "third" are only used for descriptive purposes, and should not be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second", "third" may expressly or implicitly include one or more of that feature.
在IEEE 802.11标准中,802.11k协议定义了无线资源管理器(radio resourcemanagement,RRM)机制,使支持802.11k的电子设备更好地了解无线客户端所在的射频环境,从而使得电子设备更好地漫游切换;对于不支持802.11k协议的电子设备来说,无法通过标准协议进行周边无线环境的测量,则对移动过程中目标接入点的选择有重要影响,导致电子设备在多个射频进行扫描,从而耗费较多的切换时间。802.11r协议着力于减少漫游时认证所需的时间,有助于支持语音等实时响应,该协议允许电子设备在进行切换之前,就建立起与新接入点之间安全且具备服务质量(quality of service,QoS)的状态,可将连接损失和通话中断减到最小,改善了电子设备在接入点之间运动时的切换过程;对于不支持802.11r协议的电子设备来说,无法通过标准协议与接入点进行交互,导致无法快速切换至新接入点。802.11v协议提供了简化网络部署和管理的重要高效率机制,该协议将规定无线基础设施控制无线终端适配器上的关键参数,如确定连接哪个接入点等;大部分对802.11v的支持可以在软件、产品以及升级已有的电子设备中实现,电子设备控制、网络选择、网络优化和统计数据获取与检测都可通过802.11协议实现。然而对于不支持802.11k、802.11r和802.11v协议的电子设备来说,如何改善网络切换效率成为亟需解决的问题。In the IEEE 802.11 standard, the 802.11k protocol defines a radio resource management (RRM) mechanism, which enables electronic devices that support 802.11k to better understand the radio frequency environment where the wireless client is located, so that the electronic devices can better roam. Handover; for electronic devices that do not support the 802.11k protocol, the measurement of the surrounding wireless environment cannot be performed through standard protocols, which has an important impact on the selection of the target access point during the movement process, resulting in the electronic device scanning at multiple radio frequencies. Therefore, more switching time is consumed. The 802.11r protocol focuses on reducing the time required for authentication while roaming and helps support real-time responses such as voice. The protocol allows electronic devices to establish a secure and quality-of-service relationship with a new access point before handoff. of service, QoS), which can minimize connection loss and call interruption, and improve the switching process of electronic devices when moving between access points; for electronic devices that do not support the 802.11r protocol, they cannot pass the standard The protocol interacts with the access point, making it impossible to quickly switch to the new access point. The 802.11v protocol provides an important and efficient mechanism to simplify network deployment and management. The protocol will specify the wireless infrastructure to control key parameters on wireless terminal adapters, such as determining which access point to connect to, etc.; most support for 802.11v can be found in It can be implemented in software, products, and upgrading existing electronic equipment. Electronic equipment control, network selection, network optimization, and statistical data acquisition and detection can all be implemented through the 802.11 protocol. However, for electronic devices that do not support 802.11k, 802.11r and 802.11v protocols, how to improve network switching efficiency has become an urgent problem to be solved.
传统技术中,当前接入点检测到电子设备的信号强度小于阈值时,认为电子设备将要离开当前接入点的信号范围,然后向当前接入点的邻居接入点发送扫描请求,在接收到所有邻居接入点的扫描响应消息后,选取一个邻居接入点作为目标接入点,进而使电子设备切换至该目标接入点上。然而,在切换过程中,若电子设备无数据发送,或者数据发送周期较长,或者发送数据量较少,将无法有效检测到电子设备的信号强度信息,可能导致网络切换失败,影响电子设备的通信质量。In the traditional technology, when the current access point detects that the signal strength of the electronic device is less than the threshold, it considers that the electronic device is about to leave the signal range of the current access point, and then sends a scan request to the neighbor access point of the current access point. After scanning response messages from all neighbor access points, select one neighbor access point as the target access point, and then make the electronic device switch to the target access point. However, during the switching process, if the electronic device has no data to send, or the data transmission period is long, or the amount of data sent is small, the signal strength information of the electronic device cannot be effectively detected, which may cause network switching failure and affect the electronic device. communication quality.
本申请实施例提供的网络切换方法可以应用于如图1所示的场景中。图1示出了一个包括多台网络设备组成的无线通信组网,其中,网络设备可以包括无线路由设备(包括接入点AP1、AP2、AP3)和控制端4,接入点用于电子设备21接入无线通信网络,控制端4作为无线通信组网的控制核心,负责管理各接入点;需要说明的是,本申请实施例对接入点的数量并不做限制,控制端4可以为从多个接入点中选取的一个接入点,也可以为除这些多个接入点之外单独设置的接入点,还可以为一种无线控制器AC或者集成在接入点中的控制装置。假设电子设备21当前通过AP1接入网络,在电子设备21的移动过程中(如从A点移动至B点),AP1通过接收到的电子设备21的信号强度判断电子设备21是否将要离开AP1的信号范围,若是则上报给控制端4;控制端4从AP1的邻居接入点中确定一个目标接入点(如AP2),进而使得电子设备21与AP2建立通信连接。为提高电子设备21是否将要离开AP1的信号范围判断结果的准确性,本申请实施例可以设置一个采样周期,若该采样周期内检测不到电子设备21的信号强度,则由AP1主动向电子设备21下发数据帧(如null data帧),触发电子设备21回复ACK响应帧,保证在采样周期内能够检测到电子设备21的信号强度,进而提高电子设备的通信质量。The network switching method provided in this embodiment of the present application may be applied to the scenario shown in FIG. 1 . Fig. 1 shows a wireless communication networking consisting of multiple network devices, wherein the network devices may include wireless routing devices (including access points AP1, AP2, AP3) and a
可选地,上述多台网络设备可以通过有线连接,也可以通过无线连接。在一种可能的实施方式中,上述无线通信网络为家庭局域网,企业局域网或其它较大户型内的无线局域网等。在一些实施例中,上述无线路由设备为用于无线通信网络的无线交换机,WiFi无线路由器、光网络终端、WiFi无线中继器或用户前置设备(customer premise equipment,CPE)终端、便携式终端热点等。上述电子设备包括通过WIFI连接到无线网络中的设备,例如无线路由器,手机、平板电脑、笔记本、大屏电视、智能家居单品、个人数字助理(personaldigital assistant,PDA)、销售终端(point of sales,POS)、车载电脑等。Optionally, the above-mentioned multiple network devices may be connected by wire or wirelessly. In a possible implementation manner, the above-mentioned wireless communication network is a home local area network, an enterprise local area network, or other wireless local area networks in larger households. In some embodiments, the above-mentioned wireless routing device is a wireless switch used in a wireless communication network, a WiFi wireless router, an optical network terminal, a WiFi wireless repeater or a customer premise equipment (CPE) terminal, a portable terminal hotspot Wait. The above electronic equipment includes equipment connected to a wireless network through WIFI, such as wireless routers, mobile phones, tablet computers, notebooks, large-screen TVs, smart home items, personal digital assistants (personal digital assistants, PDAs), point of sales terminals (point of sales) , POS), car computer, etc.
图2给出了一种网络设备的结构示例图,该网络设备包括处理器110、存储器111、通信模块112和电源管理模块113等结构。FIG. 2 shows a structural example diagram of a network device. The network device includes structures such as a
其中,处理器可以包括中央处理器、应用处理器、基带处理器等处理器中的一种或多种。处理器可以是无线路由器的神经中枢和指挥中心。处理器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。存储器可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器通过运行存储在存储器的指令,从而执行网络设备的各种功能应用以及数据处理。存储器可以包括存储程序区和存储数据区,比如存储待播放的声音信号的数据等。例如,该存储器可以是双倍速率同步动态随机存储器DDR或闪存Flash等。The processor may include one or more of processors such as a central processing unit, an application processor, and a baseband processor. The processor can be the nerve center and command center of the wireless router. The processor can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions. The memory may be used to store computer-executable program code, which includes instructions. The processor executes various functional applications and data processing of the network device by executing the instructions stored in the memory. The memory may include a storage program area and a storage data area, such as storing data of a sound signal to be played, and the like. For example, the memory may be a double-rate synchronous dynamic random access memory (DDR) or a flash memory or the like.
通信模块可以提供应用在网络设备上的包括无线局域网(如WIFI网络),蓝牙,Zigbee,移动通信网络,全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near fieldcommunication,NFC),红外技术(infrared,IR)等通信的解决方案。通信模块可以是集成至少一个通信处理模块的一个或多个器件。该通信模块可以包括天线,该天线可以只有一个阵元,也可以是包括多个阵元的天线阵列。该通信模块可以通过天线接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器。通信模块还可以从处理器接收待发送的信号,对其进行调频、放大,经天线转为电磁波辐射出去。The communication module can provide applications on network equipment including wireless local area network (such as WIFI network), Bluetooth, Zigbee, mobile communication network, global navigation satellite system (GNSS), frequency modulation (frequency modulation, FM), short distance Wireless communication technology (near fieldcommunication, NFC), infrared technology (infrared, IR) and other communication solutions. The communication module may be one or more devices integrating at least one communication processing module. The communication module may include an antenna, and the antenna may have only one array element, or may be an antenna array including multiple array elements. The communication module can receive electromagnetic waves through the antenna, frequency modulate and filter the electromagnetic wave signals, and send the processed signals to the processor. The communication module can also receive the signal to be sent from the processor, perform frequency modulation and amplification on it, and convert it into electromagnetic waves for radiation through the antenna.
电源管理模块可以接收电池和/或充电器的输入,为处理器、存储器和通信模块等供电。The power management module can receive input from the battery and/or charger to supply power to the processor, memory and communication modules, etc.
需要说明的是,上述图2并不构成对网络设备结构的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如网络设备还可以包括显示屏、指示灯、马达、控件(例如按键)、陀螺仪传感器、加速度传感器等。It should be noted that the above-mentioned FIG. 2 does not constitute a limitation on the structure of the network device, and may include more or less components than those shown in the figure, or combine some components, or different components, for example, the network device may also include a display screen , indicator lights, motors, controls (such as buttons), gyroscope sensors, acceleration sensors, etc.
图3是本申请实施例提供的一例网络切换方法的流程示意图,该方法包括:FIG. 3 is a schematic flowchart of an example of a network switching method provided by an embodiment of the present application, and the method includes:
S101,AP1对建立通信连接的电子设备进行信号强度检测,在预设的采样周期内未检测到电子设备的信号强度。S101 , the AP1 detects the signal strength of the electronic device for which the communication connection is established, and the signal strength of the electronic device is not detected within a preset sampling period.
具体地,当电子设备与一个接入点AP1建立通信连接后,AP1便与电子设备在同一信道上进行通信,该接入点(可以理解为电子设备的当前接入点)可以启动对电子设备的信号强度检测过程,例如检测电子设备所发送的数据帧的信号强度。其中,本实施例可以设置一个采样周期,检测该采样周期内电子设备数据帧的信号强度,通过检测电子设备的信号强度可推测电子设备与AP1的通信状态是否良好。可选地,AP1可以通过采集电子设备数据帧的信号强度指示(received signal strength indication,RSSI)进行检测。Specifically, after the electronic device establishes a communication connection with an access point AP1, AP1 communicates with the electronic device on the same channel, and the access point (which can be understood as the current access point of the electronic device) can start the communication to the electronic device. The signal strength detection process, such as detecting the signal strength of the data frame sent by the electronic device. In this embodiment, a sampling period may be set to detect the signal strength of the data frame of the electronic device in the sampling period, and by detecting the signal strength of the electronic device, it can be inferred whether the communication state between the electronic device and the AP1 is good. Optionally, the AP1 may perform detection by collecting signal strength indication (received signal strength indication, RSSI) of the data frame of the electronic device.
可选地,AP1还可以根据电子设备的优先级进行信号强度检测,当电子设备优先级高于预设级别时,AP1才对其进行检测,以减少AP1的工作功耗。Optionally, the AP1 can also perform signal strength detection according to the priority of the electronic device, and only when the priority of the electronic device is higher than the preset level, the AP1 detects it, so as to reduce the working power consumption of the AP1.
S102,AP1向电子设备发送空数据帧。S102, the AP1 sends a null data frame to the electronic device.
具体地,若AP1在上述采样周期内未接收到电子设备发送的数据帧,可能是由于该采样周期内电子设备自身未发送数据帧,那么AP1对电子设备的状态判断可能会存在误差。因此,对于该种情况,AP1可以主动向电子设备发送空数据帧(null data),以确保电子设备收到空数据帧后可回复响应帧,即确保电子设备在采样周期内有数据帧发送出去。可选地,上述空数据帧的结构包括源地址、目标地址及数据内容等字段,其中,数据内容部分为空值。Specifically, if AP1 does not receive a data frame sent by the electronic device within the above sampling period, it may be because the electronic device itself does not send a data frame within the sampling period, so AP1 may have errors in judging the state of the electronic device. Therefore, in this case, AP1 can actively send a null data frame (null data) to the electronic device to ensure that the electronic device can reply to a response frame after receiving the null data frame, that is, to ensure that the electronic device has a data frame to send out within the sampling period . Optionally, the structure of the above-mentioned empty data frame includes fields such as a source address, a target address, and data content, wherein the data content part is a null value.
可选地,上述采样周期可以为1秒/次、0.5秒/次或者0.2秒/次等,可根据实际需要进行设置。Optionally, the above sampling period may be 1 second/time, 0.5 second/time, or 0.2 second/time, etc., which can be set according to actual needs.
S103,电子设备根据空数据帧向AP1回复ACK帧。S103, the electronic device replies an ACK frame to the AP1 according to the empty data frame.
具体地,电子设备接收到AP1发送的空数据帧后,需要向AP1回复ACK帧。Specifically, after receiving the null data frame sent by the AP1, the electronic device needs to reply to the AP1 with an ACK frame.
S104,AP1检测ACK帧的RSSI,确定ACK帧的信号强度小于预设的信号强度阈值。S104, the AP1 detects the RSSI of the ACK frame, and determines that the signal strength of the ACK frame is less than a preset signal strength threshold.
S105,AP1向控制端发送第一信息,第一信息可以携带AP1标识(APid)、电子设备标识(staid)和信道标识(channelid);第一信息还可以包括AP1与电子设备通信的信号强度或通信状态标识,其中,所述通信状态标识可以表示电子设备与AP1通信状态不良;所述信道标识(channelid)为电子设备与AP1建立通信连接后,所进行通信的信道的标识,该信道对应于电子设备与AP1进行通信的工作频率。S105, AP1 sends first information to the control terminal, where the first information may carry the AP1 identification (APid), the electronic device identification (staid) and the channel identification (channelid); the first information may also include the signal strength of the communication between the AP1 and the electronic device or A communication state identifier, wherein the communication state identifier can indicate that the communication state between the electronic device and the AP1 is poor; the channel identifier (channelid) is the identifier of the channel that communicates after the electronic device establishes a communication connection with the AP1, and the channel corresponds to The working frequency of the electronic device communicating with AP1.
具体地,本实施例可以设置一个信号强度阈值(如-80分贝毫瓦(dBm)),若AP1判断所接收到的ACK帧的信号强度小于该信号强度阈值,则可以确定电子设备与AP1通信状态不良,AP1可以将电子设备的此状态上报至控制端,以使控制端为电子设备确定新的接入点作为目标接入点。Specifically, in this embodiment, a signal strength threshold (such as -80 decibel milliwatts (dBm)) may be set. If AP1 determines that the signal strength of the received ACK frame is less than the signal strength threshold, it can be determined that the electronic device communicates with AP1 If the state is not good, the AP1 can report the state of the electronic device to the control terminal, so that the control terminal can determine a new access point for the electronic device as the target access point.
在另一种实现方式中,若AP1在预设的采样周期内检测到了电子设备的信号强度,则无需再向电子设备发送空数据帧,可直接根据检测到的信号强度判断是否小于信号强度阈值,若小于则向控制端发送第一信息。In another implementation manner, if AP1 detects the signal strength of the electronic device within the preset sampling period, it does not need to send an empty data frame to the electronic device, and can directly determine whether it is less than the signal strength threshold according to the detected signal strength , if it is less than the value, send the first information to the control terminal.
上述网络切换方法,当前接入点主动向电子设备发送空数据帧,以确保电子设备在采样周期内有数据帧发送出去,使得当前接入点能够采集到电子设备的信号强度,提高了当前接入点所确定的电子设备与当前接入点通信状态的判断结果的准确性,从而提高了电子设备进行网络切换的效率。In the above network switching method, the current access point actively sends empty data frames to the electronic device to ensure that the electronic device sends out data frames within the sampling period, so that the current access point can collect the signal strength of the electronic device, which improves the current access point. The accuracy of the judgment result of the communication state between the electronic device determined by the access point and the current access point is improved, thereby improving the efficiency of network switching by the electronic device.
在一种可实现的实施方式中,为提高电子设备与AP1通信状态判断结果的准确性,关于AP1与电子设备通信状态进行判断的过程可以包括:AP1可以周期性的采集电子设备数据帧的RSSI,若第一采样周期(如1秒/次)内未采集到电子设备数据帧的RSSI,则向电子设备发送空数据帧;若第一采样周期内采集到了电子设备数据帧的RSSI,则直接判断该RSSI是否小于第一信号强度阈值。可选地,还可以设置一个数量阈值(比如3个),若连续接收到的3个响应帧的RSSI都小于第一信号强度阈值,则可以确定AP1与电子设备的通信状态不良。In an achievable embodiment, in order to improve the accuracy of the judgment result of the communication state between the electronic device and the AP1, the process of judging the communication state between the AP1 and the electronic device may include: the AP1 may periodically collect the RSSI of the data frame of the electronic device , if the RSSI of the data frame of the electronic device is not collected within the first sampling period (for example, 1 second/time), the empty data frame will be sent to the electronic device; if the RSSI of the data frame of the electronic device is collected within the first sampling period, the Determine whether the RSSI is less than the first signal strength threshold. Optionally, a quantity threshold (such as 3) can also be set. If the RSSIs of the 3 consecutively received response frames are all smaller than the first signal strength threshold, it can be determined that the communication state between AP1 and the electronic device is poor.
在另一实施例中,关于AP1与电子设备通信状态的判断过程,还可以参见图4所示的示意图,该过程可以包括:In another embodiment, regarding the process of judging the communication state between AP1 and the electronic device, reference may also be made to the schematic diagram shown in FIG. 4 , and the process may include:
S201,AP1在第一采样周期内采集电子设备数据帧的RSSI,具体地,第一采样周期可以为1秒/次。S201, the AP1 collects the RSSI of the data frame of the electronic device in a first sampling period, specifically, the first sampling period may be 1 second/time.
S202,判断是否采集到电子设备数据帧的RSSI,若是执行S205,若否执行S203。S202, it is judged whether the RSSI of the data frame of the electronic device is collected, and if so, S205 is executed, and if not, S203 is executed.
S203,第一采样周期内未采集到电子设备数据帧的RSSI,AP1向电子设备发送空数据帧。S203 , the RSSI of the data frame of the electronic device is not collected in the first sampling period, and the AP1 sends an empty data frame to the electronic device.
S204,当电子设备收到空数据帧后,向AP1回复ACK帧,AP1采集电子设备根据空数据帧所回复的ACK帧的RSSI。S204, when the electronic device receives the empty data frame, it returns an ACK frame to the AP1, and the AP1 collects the RSSI of the ACK frame replied by the electronic device according to the empty data frame.
S205,若第一采样周期内采集到了电子设备数据帧的RSSI,判断连续M个(如3个)RSSI是否都小于第一信号强度阈值;若是,执行S206;若否,执行S201。S205, if the RSSI of the electronic device data frame is collected in the first sampling period, determine whether M consecutive RSSIs (eg, 3) are smaller than the first signal strength threshold; if so, go to S206; if not, go to S201.
S206,AP1在第二采样周期内采集电子设备数据帧的RSSI,具体地,第二采样周期可以为0.2秒/次。S206, the AP1 collects the RSSI of the data frame of the electronic device in the second sampling period. Specifically, the second sampling period may be 0.2 seconds/time.
S207,判断是否采集到电子设备数据帧的RSSI,若是执行S210,若否执行S208。S207, it is judged whether the RSSI of the data frame of the electronic device is collected, if it is, execute S210, and if not, execute S208.
S208,第二采样周期内未采集到电子设备数据帧的RSSI,AP1向电子设备发送空数据帧。S208 , the RSSI of the data frame of the electronic device is not collected in the second sampling period, and the AP1 sends an empty data frame to the electronic device.
在一种实现方式中,AP1也可以不在第二采样周期内采集电子设备数据帧的RSSI,而直接以该采样周期的频率向电子设备发送空数据帧。In an implementation manner, the AP1 may also not collect the RSSI of the data frame of the electronic device in the second sampling period, but directly send the empty data frame to the electronic device at the frequency of the sampling period.
S209,当电子设备收到空数据帧后,会向AP1回复ACK帧,AP1采集电子设备根据空数据帧所回复的ACK帧的RSSI。S209, when the electronic device receives the empty data frame, it will reply to the AP1 with an ACK frame, and the AP1 collects the RSSI of the ACK frame replied by the electronic device according to the empty data frame.
S210,若第二采样周期内采集到了电子设备数据帧的RSSI,判断N个(如20个)RSSI中预设比例(如70%)的RSSI是否都小于第二信号强度阈值;若是,执行S211;若否,执行S206。S210, if the RSSI of the data frame of the electronic device is collected in the second sampling period, determine whether the RSSI of the preset ratio (eg 70%) of the N (eg 20) RSSIs are all smaller than the second signal strength threshold; if so, execute S211 ; if not, execute S206.
S211,确定AP1与电子设备通信状态不良。S211, it is determined that the communication state between the AP1 and the electronic device is not good.
在另一种实现方式中,若AP1在向电子设备发送空数据帧的过程中,同时电子设备有自身的通信数据帧发送出来,则AP1可以分别检测到通信数据帧的信号强度以及ACK帧的信号强度,AP1可以选取检测到的时间靠后的信号强度来进行判断。In another implementation manner, if the electronic device has its own communication data frame to send out in the process of sending the empty data frame to the electronic device, the AP1 can detect the signal strength of the communication data frame and the ACK frame respectively. Signal strength, AP1 can select the detected signal strength later in time for judgment.
在另一种实现方式中,若S210步骤中,经过多轮(如3轮)判断,AP1所接收到的RSSI中,预设比例的RSSI都不小于第二信号强度阈值,则可以重新返回执行S201,以第一采样周期继续采集电子设备数据帧的RSSI,减少AP1的工作功耗。In another implementation manner, if in step S210, after multiple rounds (such as 3 rounds) of judgment, among the RSSIs received by the AP1, the RSSIs of the preset ratio are not less than the second signal strength threshold, then the execution can be returned to the execution again. S201. Continue to collect RSSI of the data frame of the electronic device in the first sampling period, so as to reduce the working power consumption of the AP1.
在另一种实现方式中,若AP1在第一采样周期或第二采样周期内可以检测到电子设备的信号强度,则无需再向电子设备发送空数据帧,可直接根据检测到的信号强度判断是否小于信号强度阈值。In another implementation manner, if AP1 can detect the signal strength of the electronic device in the first sampling period or the second sampling period, it does not need to send an empty data frame to the electronic device, and can directly determine the signal strength based on the detected signal strength. Is it less than the signal strength threshold.
上述网络切换方法,通过动态调整采样周期以及多次判断信号强度的大小,可进一步提高当前接入点所确定的与电子设备通信状态判断结果的准确性,以实现较稳定可靠的网络切换过程。The above network switching method, by dynamically adjusting the sampling period and judging the magnitude of the signal strength multiple times, can further improve the accuracy of the judgment result of the communication state with the electronic device determined by the current access point, so as to realize a more stable and reliable network switching process.
为方便理解上述网络切换方法的整个过程,下面以一个实施例对该方法再次进行介绍。其中,如图5所示,上述方法可以包括:In order to facilitate the understanding of the entire process of the above network switching method, the method is described again with an embodiment below. Wherein, as shown in Figure 5, the above method may include:
S301,AP1对建立通信连接的电子设备进行信号强度检测,在预设的采样周期内未检测到电子设备的信号强度。S301 , the AP1 detects the signal strength of the electronic device for which the communication connection is established, and the signal strength of the electronic device is not detected within a preset sampling period.
S302,AP1向电子设备发送空数据帧。S302, the AP1 sends a null data frame to the electronic device.
S303,电子设备根据空数据帧向AP1回复ACK帧。S303, the electronic device replies an ACK frame to the AP1 according to the empty data frame.
S304,AP1检测ACK帧的RSSI,确定ACK帧的信号强度小于预设的信号强度阈值。S304, the AP1 detects the RSSI of the ACK frame, and determines that the signal strength of the ACK frame is less than a preset signal strength threshold.
S305,AP1向控制端发送第一信息。S305, the AP1 sends the first information to the control terminal.
其中,S301-S305与上述实施例中S101-S105类似,可参考上述描述,在此不再赘述。Wherein, S301-S305 are similar to S101-S105 in the foregoing embodiment, and reference may be made to the foregoing description, which will not be repeated here.
S306,控制端查找AP1的邻居接入点。S306, the control terminal searches for the neighbor access point of AP1.
当AP1将电子设备的状态上报至控制端后,控制端可以查找AP1的邻居接入点,从邻居接入点中确定目标接入点(记为AP2),以使电子设备将与AP1的通信连接切换至与AP2的通信连接。After AP1 reports the status of the electronic device to the control terminal, the control terminal can search for the neighbor access points of AP1, and determine the target access point (referred to as AP2) from the neighbor access points, so that the electronic device will communicate with AP1. The connection switches to the communication connection with AP2.
具体地,查找邻居接入点取决于AP1的网络邻居关系:若各接入点之间是有线连接的,则可以根据接入点的地理位置确定相应的邻居接入点,而接入点的地理位置在部署接入点时可以以参数方式进行记录;若各接入点之间是无线mesh组网的,则可以根据各接入点的连接关系以及信道探测,确定邻居接入点。作为示例而非限定性的,控制端可以向所有接入点发送指示指令,指示所有接入点以最大发射功率周期性的广播消息,该消息中至少包括自身的ID和位置,那么AP1所能接收到的广播消息,即为其邻居接入点发送的广播消息,由此可确定AP1的邻居接入点。Specifically, searching for a neighbor access point depends on the network neighbor relationship of AP1: if the access points are connected by wire, the corresponding neighbor access point can be determined according to the geographical location of the access point, and the access point's The geographic location can be recorded in the form of parameters when deploying access points; if the access points are wireless mesh networking, the neighbor access points can be determined according to the connection relationship of each access point and channel detection. As an example and not a limitation, the control terminal may send an instruction instruction to all access points, instructing all access points to periodically broadcast a message with the maximum transmit power, the message at least includes its own ID and location, then the AP1 can The received broadcast message is the broadcast message sent by its neighbor access point, whereby the neighbor access point of AP1 can be determined.
在一种可实现的实施方式中,上述控制端查找到AP1的邻居接入点后,可以先查询各邻居接入点的负载情况,若一个邻居接入点的负载已经满荷,则不再考虑将其作为目标接入点的可能性,即可以将其从邻居接入点中剔除。In an achievable embodiment, after finding the neighbor access points of AP1, the control terminal may first query the load status of each neighbor access point. If the load of a neighbor access point is already full, it will not Consider the possibility of it being a target access point, i.e. it can be culled from neighbor access points.
S307,控制端向AP1发送第一指令,指示AP1向电子设备发送空数据帧,第一指令携带电子设备标识(staid)。S307, the control terminal sends a first instruction to the AP1, instructing the AP1 to send an empty data frame to the electronic device, and the first instruction carries the electronic device identification (staid).
其中,控制端可以指示AP1以固定频率向电子设备发送空数据帧。The control terminal may instruct the AP1 to send a null data frame to the electronic device at a fixed frequency.
S308,控制端向各邻居接入点发送第二指令,指示邻居接入点监听电子设备数据帧的信号强度,第二指令携带电子设备标识(staid)和信道标识(channelid)。S308, the control terminal sends a second instruction to each neighbor access point, instructing the neighbor access point to monitor the signal strength of the electronic device data frame, and the second instruction carries the electronic device identifier (staid) and channel identifier (channelid).
具体地,控制端向各邻居接入点单播发送第二指令,假设电子设备与AP1进行通信时的通道为channelA,那么邻居接入点需将自身工作的信道切换至该channelA上,才能监听到电子设备的信号强度,因此第二指令还可以指示邻居接入点的工作信道切换至电子设备所在的信道上,以监听电子设备的信号强度。Specifically, the control terminal unicasts the second instruction to each neighbor access point. Assuming that the channel when the electronic device communicates with AP1 is channelA, then the neighbor access point needs to switch the channel it is working on to this channelA to monitor Therefore, the second instruction may further instruct the working channel of the neighbor access point to switch to the channel where the electronic device is located, so as to monitor the signal strength of the electronic device.
在另一种实现方式中,若与AP1在同一信道进行通信的电子设备有多个,则邻居接入点也可能监听到其他电子设备的信号强度,那么邻居接入点可以根据电子设备所发送的数据帧中的电子设备标识,来识别出所要监听的电子设备。In another implementation manner, if there are multiple electronic devices communicating with AP1 on the same channel, the neighbor access point may also monitor the signal strength of other electronic devices, then the neighbor access point can to identify the electronic device to be monitored.
S309,AP1以固定频率向电子设备发送空数据帧。S309, the AP1 sends a null data frame to the electronic device at a fixed frequency.
S310,电子设备向AP1回复ACK帧,邻居接入点监听电子设备回复ACK帧的信号强度。S310, the electronic device replies an ACK frame to the AP1, and the neighbor access point monitors the signal strength of the ACK frame returned by the electronic device.
具体地,电子设备接收到AP1发送的空数据帧后,便可以向AP1回复ACK帧,而因邻居接入点此时的通信信道也切换至了电子设备所在的通信信道上,则邻居接入点也可以监听到此ACK帧,可以获取此ACK帧的信号强度。Specifically, after receiving the null data frame sent by AP1, the electronic device can reply to AP1 with an ACK frame. Since the communication channel of the neighbor access point is also switched to the communication channel where the electronic device is located, the neighbor access point The point can also monitor the ACK frame, and can obtain the signal strength of the ACK frame.
示例性的,若各接入点AP与控制端是有线连接的,各接入点之间以及与控制端之间可通过有线信道进行通信,各AP可以在不同的无线信道上与其下挂的设备进行通信,例如,AP1与上述电子设备通信的信道可以为无线信道2,邻居接入点AP2与接入设备通信的信道可以为无线信道3;若各接入点AP与控制端是无线连接的,则控制端与各接入点AP之间进行通信的信道为相同的信道(可以为无线信道1),各AP可以在不同的无线信道上与其下挂的设备进行通信,AP1与上述电子设备通信的信道可以为无线信道2,邻居接入点与接入设备通信的信道可以为无线信道3。Exemplarily, if each access point AP is connected to the control terminal by wire, communication between the access points and the control terminal can be carried out through wired channels, and each AP can be connected to the connected terminal on different wireless channels. For example, the channel through which AP1 communicates with the electronic device may be
在本实施例中,当邻居接入点接收到控制端的第二指令后,可以采用分时工作方式,在第一时段处于信道3与接入设备进行通信,在第二时段切换至信道2监听上述电子设备的信号强度,然后在下一时段再切换至信道3与接入设备进行通信,以此类推。可选地,因在邻居接入点切换信道时,可能影响已接入邻居接入点的接入设备的网络状态,为减少这种影响,还可以借助安装于邻居接入点中的辅助芯片来监听电子设备的信号强度,即辅助芯片在信道2上进行监听,而邻居接入点自身仍在原来的信道3上工作。In this embodiment, after the neighbor access point receives the second instruction from the control terminal, it can use the time-sharing mode to communicate with the access device on
可选地,邻居接入点可以在监听到电子设备ACK帧的信号强度后停止上述分时工作方式,也可以在监听到一定数量ACK的信号强度后停止该工作方式,或者在一定时长之后停止该工作方式,恢复持续在信道3上的工作状态。Optionally, the neighbor access point can stop the above-mentioned time-sharing working mode after monitoring the signal strength of the ACK frame of the electronic device, or stop the working mode after monitoring the signal strength of a certain number of ACKs, or stop after a certain period of time. This working mode restores the continuous working state on
可选地,若AP1在向电子设备发送空数据帧的过程中,同时电子设备有自身的通信数据帧发送出来,则邻居接入点也可以分别监听到通信数据帧的信号强度以及ACK帧的信号强度,邻居接入点可以选取监听到的时间靠后的信号强度来进行计算。Optionally, if the electronic device has its own communication data frame to send out during the process of sending the empty data frame to the electronic device, the neighbor access point can also monitor the signal strength of the communication data frame and the ACK frame respectively. Signal strength, the neighbor access point can select the signal strength that is later in the monitored time for calculation.
S311,邻居接入点将可用带宽和电子设备ACK帧的信号强度发送至控制端。S311, the neighbor access point sends the available bandwidth and the signal strength of the ACK frame of the electronic device to the control terminal.
其中,邻居接入点接收到第二指令后,可以设置一个检测时长(如4秒),各邻居接入点在该检测时长内采集电子设备多个数据帧的信号强度,对采集到的信号强度进行计算并发送至控制端。作为示例而非限定的,若邻居接入点APx采集了n个ACK帧的信号强度,则上报至控制端的信号强度可以为:Among them, after the neighbor access point receives the second instruction, it can set a detection time period (for example, 4 seconds), and each neighbor access point collects the signal strength of multiple data frames of the electronic device within the detection time period. The intensity is calculated and sent to the control. As an example but not a limitation, if the neighbor access point APx collects the signal strengths of n ACK frames, the signal strengths reported to the control terminal may be:
其中,RSSIi(1≤i≤n)为APx采集到的第i个ACK帧的信号强度,RSSImin为n个ACK帧信号强度的最小值,m为可根据实际需要调整的经验值。Among them, RSSI i (1≤i≤n) is the signal strength of the i-th ACK frame collected by APx, RSSI min is the minimum signal strength of n ACK frames, and m is an empirical value that can be adjusted according to actual needs.
APx上报至控制端的可用带宽可以为:The available bandwidth reported by APx to the controller can be:
其中,BANDi(1≤i≤n)为APx采集到第i个ACK帧时的可用带宽,BANDmax为APx的最大带宽。此步骤通过当前接入点下发空数据帧,确保邻居接入点可以检测到电子设备数据帧的信号强度,并向控制端上报检测结果,进而使得控制端确定出较优的目标接入点。Wherein, BAND i (1≤i≤n) is the available bandwidth when APx collects the i-th ACK frame, and BAND max is the maximum bandwidth of APx. In this step, the current access point sends empty data frames to ensure that the neighbor access points can detect the signal strength of the data frames of the electronic equipment, and report the detection results to the control terminal, so that the control terminal can determine a better target access point .
S312,控制端向AP1发送停止构造空数据帧的第三指令,第三指令携带电子设备标识(staid)。S312, the control end sends a third instruction to stop constructing an empty data frame to the AP1, where the third instruction carries an electronic device identifier (staid).
具体地,控制器在接收到各邻居接入点上报的可用带宽和信号强度结果后,可向AP1发送第三指令,使AP1停止向电子设备发送空数据帧。Specifically, after receiving the available bandwidth and signal strength results reported by each neighbor access point, the controller may send a third instruction to AP1 to make AP1 stop sending empty data frames to the electronic device.
S313,控制端根据各邻居接入点的上报信息确定AP2。S313, the control terminal determines AP2 according to the information reported by each neighbor access point.
具体地,控制端接收到各邻居接入点上报的信号强度和可用带宽后,可通过以下公式计算各邻居接入点的权值:Specifically, after receiving the signal strength and available bandwidth reported by each neighbor access point, the control terminal can calculate the weight of each neighbor access point by the following formula:
然后,控制端可选择权值最大的接入点作为目标接入点AP2。Then, the control terminal can select the access point with the largest weight as the target access point AP2.
可选地,S312和S312的执行顺序可以替换,即控制端确定了目标接入点AP2之后,向AP1发送第三指令。Optionally, the execution order of S312 and S312 may be replaced, that is, after the control terminal determines the target access point AP2, it sends a third instruction to AP1.
S314,控制端向除AP2之外的其余邻居接入点发送将电子设备加入通信黑名单的第四指令,第四指令携带电子设备标识(staid)。S314, the control terminal sends a fourth instruction to add the electronic device to the communication blacklist to the other neighbor access points except AP2, where the fourth instruction carries the electronic device identification (staid).
S315,其余邻居接入点将电子设备加入通信黑名单。S315, the other neighbor access points add the electronic device to the communication blacklist.
其中,其余邻居接入点在将电子设备加入通信黑名单后,即使电子设备搜索到其余邻居接入点的信号,也无法与这些邻居接入点建立通信连接。Among them, after the other neighbor access points add the electronic device to the communication blacklist, even if the electronic device searches for the signals of the other neighbor access points, it cannot establish a communication connection with these neighbor access points.
S316,控制端向AP1发送与电子设备断开通信连接的第五指令,第五指令携带电子设备标识(staid)。S316, the control terminal sends a fifth instruction to the AP1 to disconnect the communication connection with the electronic device, where the fifth instruction carries the electronic device identification (staid).
S317,AP1与电子设备断开通信连接。S317, the AP1 disconnects the communication connection with the electronic device.
其中,第五指令还可以指示AP1与电子设备断开通信连接后,也将电子设备加入通信黑名单,避免后续电子设备又与AP1建立通信连接的可能。The fifth instruction may also instruct the AP1 to add the electronic device to the communication blacklist after disconnecting the communication connection with the electronic device, so as to avoid the possibility of the subsequent electronic device establishing a communication connection with the AP1.
S318,电子设备向搜索到的接入点发送接入请求,接入请求携带电子设备标识(staid)。S318, the electronic device sends an access request to the searched access point, where the access request carries an electronic device identifier (staid).
电子设备与AP1断开通信连接后,便可以继续搜索接入点信号,当搜索到某个接入点信号后,便可以向该接入点发送接入请求。其中,这些接入点可以包括AP2,也可以包括除AP2之外的其余邻居接入点,但是因其余邻居接入点已将电子设备加入了通信黑名单,那么即使电子设备发送了接入请求,也无法与这些邻居接入点建立通信连接。因此,最终电子设备只能和AP2建立起通信连接。After the electronic device is disconnected from the AP1, it can continue to search for the access point signal, and when a certain access point signal is found, it can send an access request to the access point. Among them, these access points may include AP2, and may also include other neighbor access points except AP2, but because the other neighbor access points have added the electronic device to the communication blacklist, even if the electronic device sends an access request , and cannot establish a communication connection with these neighbor access points. Therefore, the final electronic device can only establish a communication connection with AP2.
S319,AP2与电子设备建立通信连接。S319, the AP2 establishes a communication connection with the electronic device.
S320,AP2向控制端发送第二信息,第二信息表征AP2与电子设备的通信连接信息,第二信息携带接入点标识(APid)和电子设备标识(staid)。S320, AP2 sends second information to the control terminal, where the second information represents communication connection information between AP2 and the electronic device, and the second information carries an access point identifier (APid) and an electronic device identifier (staid).
可选地,控制端通知其余邻居接入点将电子设备加入通信黑名单的时长可以预先设置(如设置2秒),当超时后其余邻居接入点便可以将电子设备从通信黑名单中移除;或者,当AP2向控制端上报了与电子设备已建立连接的信息后,控制端向其余邻居接入点发送移除黑名单指令,使各其余邻居接入点将电子设备从通信黑名单中移除。本实施例中,通过设置通信黑名单的方式,可以使电子设备准确接入目标接入点,进一步提高了电子设备进行网络切换的效率。Optionally, the time period for the control terminal to notify other neighbor access points to add the electronic device to the communication blacklist can be preset (for example, set to 2 seconds), and after the timeout, the remaining neighbor access points can remove the electronic device from the communication blacklist. Or, when AP2 reports the information that the connection with the electronic device has been established to the control terminal, the control terminal sends the blacklist removal instruction to the remaining neighbor access points, so that the other neighbor access points remove the electronic device from the communication blacklist. removed in. In this embodiment, by setting the communication blacklist, the electronic device can be accurately connected to the target access point, which further improves the efficiency of network switching by the electronic device.
在另一实施例中,上述S307-S313的步骤还可以采用以下方式实现,其它步骤与上述实施例类似:控制端查找到各邻居接入点后,可以查询各邻居接入点的负载情况,直接将负载最小的邻居接入点作为目标接入点AP2。In another embodiment, the above steps of S307-S313 can also be implemented in the following manner, and other steps are similar to the above embodiment: after finding each neighbor access point, the control terminal can query the load status of each neighbor access point, The neighbor access point with the least load is directly used as the target access point AP2.
在另一实施例中,上述第一指令还可以指示AP1只发送一次空数据帧,那么S309还可以替换为:AP1向电子设备发送一次空数据帧;则S313的步骤还可以采用以下方式实现,其他步骤与上述实施例类似:控制端根据接收到的各信号强度,选择最大信号强度所对应的邻居接入点作为目标接入点AP2。In another embodiment, the above-mentioned first instruction can also instruct AP1 to send the empty data frame only once, then S309 can also be replaced with: AP1 sends the empty data frame to the electronic device once; then the step of S313 can also be implemented in the following manner: Other steps are similar to the above-mentioned embodiments: the control terminal selects the neighbor access point corresponding to the maximum signal strength as the target access point AP2 according to the received signal strengths.
在另一实施例中,上述S311-S313的步骤还可以采用以下方式实现,其它步骤与上述实施例类似:各邻居接入点在检测到电子设备的信号强度后,便可立即将信号强度及此时的可用带宽上报至控制端;控制端可以设置一个检测时长,其只接收该检测时长内邻居接入点发送的信号强度和可用带宽,若超过此检测时长则向AP1发送停止构造空数据帧的第三指令;然后控制端采用上述S311中的计算公式计算各邻居接入点的RSSIAPx和BANDAPx,再采用S313中的公式计算各邻居接入点的权值,进而选择权值最大的接入点作为目标接入点AP2。In another embodiment, the above steps S311-S313 can also be implemented in the following manner, and other steps are similar to the above embodiment: after each neighbor access point detects the signal strength of the electronic device, it can immediately calculate the signal strength and The available bandwidth at this time is reported to the control terminal; the control terminal can set a detection duration, it only receives the signal strength and available bandwidth sent by the neighbor access point within the detection duration, and if it exceeds the detection duration, it will send to AP1 to stop constructing empty data The third instruction of the frame; then the control terminal uses the calculation formula in the above S311 to calculate the RSSI APx and BAND APx of each neighbor access point, and then uses the formula in S313 to calculate the weight of each neighbor access point, and then selects the largest weight value The access point is used as the target access point AP2.
关于图5中各步骤的实现过程,可以参见上述实施例的描述,其实现原理和技术效果类似,在此不再赘述。For the implementation process of each step in FIG. 5 , reference may be made to the description of the foregoing embodiment, and the implementation principle and technical effect thereof are similar, and are not repeated here.
上文详细介绍了本申请实施例提供的网络切换方法的示例。可以理解的是,网络设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Examples of the network switching method provided by the embodiments of the present application are described in detail above. It can be understood that, in order to implement the above-mentioned functions, the network device includes corresponding hardware and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述网络切换方法示例对网络设备进行功能模块的划分,例如,可以对应各个功能划分为各个功能模块,例如存储单元、处理单元、通信单元等,也可以将两个或两个以上的功能集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the network device may be divided into functional modules according to the above example of the network switching method. For example, each function may be divided into each functional module, such as a storage unit, a processing unit, a communication unit, etc., or two or two More than one function is integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
本实施例提供的网络设备,用于执行上述网络切换方法,因此可以达到与上述实现方法相同的效果。The network device provided in this embodiment is used to execute the above-mentioned network switching method, and thus can achieve the same effect as the above-mentioned implementation method.
在采用集成的单元的情况下,网络设备还可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对网络设备的动作进行控制管理。存储模块可以用于支持网络设备执行存储程序代码和数据等。通信模块,可以用于支持网络设备与其他设备的通信。In the case of an integrated unit, the network device may also include a processing module, a storage module and a communication module. The processing module may be used to control and manage the actions of the network device. The storage module can be used to support the network device to execute stored program codes and data, and the like. The communication module can be used to support the communication between the network device and other devices.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。The processing module may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that implements computing functions, such as a combination comprising one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like. The storage module may be a memory. The communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的网络设备可以为具有图2所示结构的设备。In one embodiment, when the processing module is a processor and the storage module is a memory, the network device involved in this embodiment may be a device having the structure shown in FIG. 2 .
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得处理器执行上述任一实施例所述的网络切换方法。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor is made to execute the description in any of the foregoing embodiments. network switching method.
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的网络切换方法。Embodiments of the present application further provide a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to implement the network switching method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的网络设备方法。In addition, the embodiments of the present application also provide an apparatus, which may specifically be a chip, a component or a module, and the apparatus may include a connected processor and a memory; wherein, the memory is used for storing computer execution instructions, and when the apparatus is running, The processor can execute the computer-executed instructions stored in the memory, so that the chip executes the network device method in each of the foregoing method embodiments.
其中,本实施例提供的网络设备、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the network device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above, therefore, the beneficial effects that can be achieved may refer to the above-provided method. The beneficial effects in the corresponding method will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated by different The function module is completed, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380498.0A CN114585028B (en) | 2020-11-30 | 2020-11-30 | Network switching method and related equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380498.0A CN114585028B (en) | 2020-11-30 | 2020-11-30 | Network switching method and related equipment thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114585028A true CN114585028A (en) | 2022-06-03 |
CN114585028B CN114585028B (en) | 2024-09-10 |
Family
ID=81767972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011380498.0A Active CN114585028B (en) | 2020-11-30 | 2020-11-30 | Network switching method and related equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114585028B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014194492A1 (en) * | 2013-06-05 | 2014-12-11 | 华为技术有限公司 | Access point selection method and device |
US20150139010A1 (en) * | 2012-11-04 | 2015-05-21 | Kt Corporation | Access point selection and management |
CN105247911A (en) * | 2013-03-28 | 2016-01-13 | 英国电讯有限公司 | Access Point Selection in Wireless Networks |
CN105430699A (en) * | 2015-11-18 | 2016-03-23 | 北京华信联创科技有限公司 | Method, device and system for inter-AP high-speed switching of terminal in WLAN network |
CN108738098A (en) * | 2018-08-14 | 2018-11-02 | 重庆邮电大学 | A kind of method of seamless switching between wlan network multi-access point |
US20190082365A1 (en) * | 2017-09-12 | 2019-03-14 | Interdigital Ce Patent Holdings | Device and method for signal strength estimation in a wireless network with multiple access points |
US20200154322A1 (en) * | 2016-05-31 | 2020-05-14 | Huawei Technologies Co., Ltd. | Method for Handover Between Access Points, and Terminal Equipment |
-
2020
- 2020-11-30 CN CN202011380498.0A patent/CN114585028B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150139010A1 (en) * | 2012-11-04 | 2015-05-21 | Kt Corporation | Access point selection and management |
CN105247911A (en) * | 2013-03-28 | 2016-01-13 | 英国电讯有限公司 | Access Point Selection in Wireless Networks |
WO2014194492A1 (en) * | 2013-06-05 | 2014-12-11 | 华为技术有限公司 | Access point selection method and device |
CN105430699A (en) * | 2015-11-18 | 2016-03-23 | 北京华信联创科技有限公司 | Method, device and system for inter-AP high-speed switching of terminal in WLAN network |
US20200154322A1 (en) * | 2016-05-31 | 2020-05-14 | Huawei Technologies Co., Ltd. | Method for Handover Between Access Points, and Terminal Equipment |
US20190082365A1 (en) * | 2017-09-12 | 2019-03-14 | Interdigital Ce Patent Holdings | Device and method for signal strength estimation in a wireless network with multiple access points |
CN108738098A (en) * | 2018-08-14 | 2018-11-02 | 重庆邮电大学 | A kind of method of seamless switching between wlan network multi-access point |
Non-Patent Citations (1)
Title |
---|
徐茜亮;王维;: "基于WiFi的漫游切换无缝接入技术研究", 工矿自动化, no. 02 * |
Also Published As
Publication number | Publication date |
---|---|
CN114585028B (en) | 2024-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2672764B1 (en) | Method, apparatus, and computer program product for wireless short-range communication disconnection | |
US9042829B2 (en) | Method, apparatus, and computer program product for wireless short-range communication | |
US8611315B2 (en) | Communication device, communication method, and computer program for causing computer to execute communication method | |
CN103428818B (en) | Terminal device discovery method, device and system | |
JP4899665B2 (en) | Wireless communication system, wireless communication apparatus, wireless communication method, and wireless communication program | |
US9125124B2 (en) | Apparatus and method of handoff selection | |
US10225876B2 (en) | Information processing apparatus and control method therefor, information processing system, computer program and storage medium | |
EP2523481A1 (en) | Touch inquiry | |
US20130058310A1 (en) | Apparatus and method for setting channel in wireless network | |
EP2523482A1 (en) | Inquiry response event control | |
JP2016201840A (en) | Communication device, communication method, program, and communication system | |
JP2004023768A (en) | Radio communication system, access point, mobile terminal detecting unit, base station, mobile terminal, method of radio communication change and instruction thereof, and program | |
JP2014230110A (en) | System, program and method for radio terminal to find access point | |
US20110158212A1 (en) | Communication device and wireless communication connection method | |
US8908614B2 (en) | Management apparatus, control method, and program | |
US20100285825A1 (en) | Communication | |
JP6471690B2 (en) | Control device and communication terminal | |
JP4046705B2 (en) | Mobile communication support apparatus, mobile communication terminal, and mobile communication system | |
JP2020198517A (en) | Communication system, terminal device, control method and control program | |
CN112399505B (en) | Auxiliary base station switching method of terminal equipment and base station | |
CN114585028B (en) | Network switching method and related equipment thereof | |
JP2018121130A (en) | Communication device, control method and program | |
US20230232268A1 (en) | Measurement method, measurement apparatus, terminal, and network device | |
CN114698060A (en) | Method and device for rapidly discovering wireless access point | |
EP4557656A1 (en) | Method for establishing sensing network, and related apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |