Movatterモバイル変換


[0]ホーム

URL:


CN106454916B - Wireless local area network connection method and device - Google Patents

Wireless local area network connection method and device
Download PDF

Info

Publication number
CN106454916B
CN106454916BCN201611104203.0ACN201611104203ACN106454916BCN 106454916 BCN106454916 BCN 106454916BCN 201611104203 ACN201611104203 ACN 201611104203ACN 106454916 BCN106454916 BCN 106454916B
Authority
CN
China
Prior art keywords
frequency band
local area
area network
wireless local
signal information
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.)
Active
Application number
CN201611104203.0A
Other languages
Chinese (zh)
Other versions
CN106454916A (en
Inventor
李钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201611104203.0ApriorityCriticalpatent/CN106454916B/en
Publication of CN106454916ApublicationCriticalpatent/CN106454916A/en
Application grantedgrantedCritical
Publication of CN106454916BpublicationCriticalpatent/CN106454916B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开是关于一种无线局域网连接方法及装置,其中,方法包括:当终端设备连接至第一无线局域网络传输目标数据时,检测目标数据的传输是否出现异常;当检测到传输出现异常时,发送数据广播至第一无线局域网络对应的第一路由设备;当接收到第一频段信号信息时,根据第一频段信号信息,从第一无线局域网络的所有频段中查找满足目标数据的数据传输要求的第一最优目标频段;当查找到第一最优目标频段时,连接至第一最优目标频段。通过该技术方案,可以在目标数据传输异常时,自动为用户选择最优的无线局域网络的频段,不需要用户手动进行选择,减少了用户的操作,提升了用户的使用体验,同时也保证了目标数据的传输质量和传输速度。

Figure 201611104203

The present disclosure relates to a wireless local area network connection method and device, wherein the method includes: when a terminal device is connected to a first wireless local area network to transmit target data, detecting whether the transmission of the target data is abnormal; when detecting that the transmission is abnormal, Send the data broadcast to the first routing device corresponding to the first wireless local area network; when receiving the first frequency band signal information, according to the first frequency band signal information, search for data transmission that satisfies the target data from all frequency bands of the first wireless local area network The required first optimal target frequency band; when the first optimal target frequency band is found, connect to the first optimal target frequency band. Through this technical solution, when the target data transmission is abnormal, the optimal frequency band of the wireless local area network can be automatically selected for the user, which does not require the user to manually select, which reduces the user's operation, improves the user's experience, and also ensures The transfer quality and transfer speed of the target data.

Figure 201611104203

Description

Wireless local area network connection method and device
Technical Field
The present disclosure relates to the field of network connection technologies, and in particular, to a method and an apparatus for connecting a wireless local area network.
Background
The intelligent device is more and more important in daily life of people, and the router bears the task of massive data interaction of the intelligent device. At present, the WIFI frequency band of the router is divided into a 2.4G frequency band and a 5G frequency band. The frequency of the 2.4G frequency band is low, the wall penetration is good, but the interference is easy to happen, and the frequency of the 5G frequency band is high, the speed is high, but the distance is limited. Therefore, due to the advantages and disadvantages of the 2.4G band and the 5G band, the transmission data cannot meet the requirements of the user, and if the user wants to connect to the band meeting the requirements, the user experience is poor.
Disclosure of Invention
The embodiment of the disclosure provides a wireless local area network connection method and a device, which comprise the following technical schemes:
according to a first aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection method, for a terminal device, including:
when a terminal device is connected to a first wireless local area network to transmit target data, detecting whether the transmission of the target data is abnormal or not;
when the target data is detected to be abnormal in transmission, sending data broadcast to first routing equipment corresponding to the first wireless local area network, so that the first routing equipment returns first frequency band signal information of the first wireless local area network to the terminal equipment according to the data broadcast;
when the first frequency band signal information is received, searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information;
and when the first optimal target frequency band is found, connecting to the first optimal target frequency band.
In one embodiment, the method further comprises:
when the first optimal target frequency band is not found, acquiring connection information of a second wireless local area network stored in the terminal equipment;
sending data broadcast to a second wireless routing device corresponding to the second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns second frequency band signal information of the second wireless local area network to the terminal device according to the data broadcast;
when the second frequency band signal information is received, searching a second optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band signal information;
and when the second optimal target frequency band is found, connecting to the second optimal target frequency band.
In one embodiment, the method further comprises:
when the second optimal target frequency band is not found, selecting a third optimal target frequency band from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the third optimal target frequency band.
In one embodiment, the method further comprises:
when the second optimal target frequency band is not found, selecting a fourth optimal target frequency band from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the fourth optimal target frequency band.
In one embodiment, the first frequency band signal information includes a frequency band corresponding to the first local area network and signal strength and transmission speed of each frequency band, and the second frequency band signal information includes a frequency band corresponding to the second local area network and signal strength and transmission speed of each frequency band.
According to a second aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection method for a routing device, including:
receiving data broadcast sent by terminal equipment;
acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and sending the frequency band signal information of the wireless local area network to the terminal equipment.
According to a third aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection apparatus, configured to a terminal device, including:
the terminal equipment comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether the transmission of target data is abnormal or not when the terminal equipment is connected to a first wireless local area network to transmit the target data;
the first sending module is used for sending data broadcast to first routing equipment corresponding to the first wireless local area network when the target data is detected to be abnormal in transmission, so that the first routing equipment returns first frequency band signal information of the first wireless local area network to the terminal equipment according to the data broadcast;
the first searching module is used for searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information when the first frequency band signal information is received;
and the first connecting module is used for connecting to the first optimal target frequency band when the first optimal target frequency band is found.
In one embodiment, the apparatus further comprises:
the first obtaining module is used for obtaining the connection information of the second wireless local area network stored in the terminal equipment when the first optimal target frequency band is not found;
a second sending module, configured to send a data broadcast to a second wireless routing device corresponding to the second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns second frequency band signal information of the second wireless local area network to the terminal device according to the data broadcast;
the second searching module is used for searching a second optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band signal information when the second frequency band signal information is received;
and the second connecting module is used for connecting to the second optimal target frequency band when the second optimal target frequency band is found.
In one embodiment, the apparatus further comprises:
the first selection module is used for selecting a third optimal target frequency band from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data when the second optimal target frequency band is not found;
and the third connecting module is used for connecting to the third optimal target frequency band.
In one embodiment, the apparatus further comprises:
a second selection module, configured to select a fourth optimal target frequency band from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data when the second optimal target frequency band is not found;
and the fourth connecting module is used for connecting to the fourth optimal target frequency band.
In one embodiment, the first frequency band signal information includes a frequency band corresponding to the first local area network and signal strength and transmission speed of each frequency band, and the second frequency band signal information includes a frequency band corresponding to the second local area network and signal strength and transmission speed of each frequency band.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection apparatus, configured to a routing device, including:
the receiving module is used for receiving data broadcast sent by the terminal equipment;
the second acquisition module is used for acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and the transmission module is used for transmitting the frequency range signal information of the wireless local area network to the terminal equipment.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection apparatus for a terminal device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a terminal device is connected to a first wireless local area network to transmit target data, detecting whether the transmission of the target data is abnormal or not;
when the target data is detected to be abnormal in transmission, sending data broadcast to first routing equipment corresponding to the first wireless local area network, so that the first routing equipment returns first frequency band signal information of the first wireless local area network to the terminal equipment according to the data broadcast;
when the first frequency band signal information is received, searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information;
and when the first optimal target frequency band is found, connecting to the first optimal target frequency band.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection apparatus, configured to a routing device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving data broadcast sent by terminal equipment;
acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and sending the frequency band signal information of the wireless local area network to the terminal equipment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the technical proposal detects whether the transmission of the target data is abnormal or not when the terminal equipment is connected to the first wireless local area network to transmit the target data, namely, whether the target data transmission is abnormal such as unsmooth and unsmooth transmission is detected, if the abnormality is detected, the data is sent to the first routing equipment corresponding to the first wireless local area network, thereby obtaining first frequency band signal information of the network of the first routing device, and selecting an optimal target frequency band which can meet the data transmission requirement of target data for the terminal device to connect according to the first frequency band signal information, thus, when the target data transmission is abnormal, the optimal frequency band of the wireless local area network can be automatically selected for the user, the user does not need to manually select the frequency band, the operation of the user is reduced, the use experience of the user is improved, and meanwhile, the transmission quality and the transmission speed of the target data are also ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of wireless local area network connection according to an example embodiment.
Fig. 2 is a flow chart illustrating another method of wireless local area network connection according to an example embodiment.
Fig. 3 is a flow chart illustrating yet another method of wireless local area network connection according to an example embodiment.
Fig. 4 is a flow chart illustrating yet another method of wireless local area network connection according to an example embodiment.
Fig. 5 is a flow chart illustrating a method of wireless local area network connection according to an example embodiment.
Fig. 6 is a block diagram illustrating a wireless local area network connection apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating another wireless local area network connection apparatus in accordance with an example embodiment.
Fig. 8 is a block diagram illustrating yet another wireless local area network connection apparatus in accordance with an example embodiment.
Fig. 9 is a block diagram illustrating yet another wlan connection apparatus according to an example embodiment.
Fig. 10 is a block diagram illustrating a wireless local area network connection apparatus according to an example embodiment.
Fig. 11 is a block diagram illustrating an apparatus for wireless local area network connection according to an example embodiment.
Fig. 12 is a block diagram illustrating an apparatus for wireless local area network connection according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The disclosed embodiment provides a wireless local area network connection method, which can be used in terminal equipment, wherein the terminal equipment can be a mobile phone, a computer, a digital broadcast terminal, a message transceiver, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant and the like.
Fig. 1 is a flow chart illustrating a method of wireless local area network connection according to an example embodiment.
As shown in fig. 1, the wlan connection method includes steps S101-S104:
in step S101, when the terminal device is connected to the first wireless local area network to transmit the target data, detecting whether the transmission of the target data is abnormal;
whether the transmission of the target data is abnormal or not is detected, namely, whether the transmission of the target data is blocked or not is detected, and the problem that the transmission is not timely is solved.
In step S102, when it is detected that the target data is abnormally transmitted, sending a data broadcast to a first routing device corresponding to a first wireless local area network, so that the first routing device returns first frequency band signal information of the first wireless local area network to a terminal device according to the data broadcast; the first frequency band signal information includes a frequency band corresponding to the first local area network, and signal strength and transmission speed of each frequency band.
After receiving the data broadcast from the terminal device, the first routing device may check information such as its frequency band, signal strength of each frequency band, and transmission speed according to the data broadcast.
In step S103, when the first frequency band signal information is received, according to the first frequency band signal information, searching a first optimal target frequency band satisfying a data transmission requirement of target data from all frequency bands of the first wireless local area network;
the terminal device can search the optimal target frequency band which can meet the data transmission requirement according to the received first frequency band signal information and the data transmission requirement of the target data, so that the transmission quality of the target data is ensured.
The data transmission requirement of the target data may include data such as required transmission bandwidth, and the terminal device compares the data transmission requirement with the frequency band signal information of each frequency band, thereby finding out a first optimal target frequency band that can meet the data transmission requirement.
In step S104, when the first optimal target frequency band is found, the first optimal target frequency band is connected to.
In the embodiment, when the terminal equipment is connected to the first wireless local area network to transmit the target data, whether the transmission of the target data is abnormal or not is detected, namely, whether the target data transmission is abnormal such as unsmooth and unsmooth transmission is detected, if the abnormality is detected, the data is sent to the first routing equipment corresponding to the first wireless local area network, thereby obtaining first frequency band signal information of the network of the first routing device, and selecting an optimal target frequency band which can meet the data transmission requirement of target data for the terminal device to connect according to the first frequency band signal information, thus, when the target data transmission is abnormal, the optimal frequency band of the wireless local area network can be automatically selected for the user, the user does not need to manually select the frequency band, the operation of the user is reduced, the use experience of the user is improved, and meanwhile, the transmission quality and the transmission speed of the target data are also ensured.
Fig. 2 is a flow chart illustrating another method of wireless local area network connection according to an example embodiment.
As shown in fig. 2, in an embodiment, the method shown in fig. 1 may further include steps S201 to S204:
in step S201, when the first optimal target frequency band is not found, acquiring connection information of the second wireless local area network stored in the terminal device;
the connection information of the second wireless local area network stored in the terminal device may be connection information of other wireless local area networks besides the first wireless local area network, such as connection passwords of other wireless local area networks. One or more second wireless local area networks may be provided.
In step S202, sending a data broadcast to a second wireless routing device corresponding to a second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns second frequency band signal information of the second wireless local area network to the terminal device according to the data broadcast; the second frequency band signal information includes a frequency band corresponding to the second local area network, and signal strength and transmission speed of each frequency band.
The terminal device sends a data broadcast to the second wireless local area network, if the second wireless local area network is within the connection range of the terminal device, that is, the terminal device can be connected, the second wireless routing device corresponding to the second wireless local area network can receive the data broadcast and return second frequency band signal information according to the data broadcast, and if the second wireless routing device is not within the connection range, the second wireless routing device cannot receive the data broadcast and certainly cannot return the second frequency band signal information.
In step S203, when the second frequency band signal information is received, according to the second frequency band signal information, a second optimal target frequency band meeting the data transmission requirement of the target data is searched from all frequency bands of the second wireless local area network;
if the terminal device receives the second frequency band signal information, it indicates that the second wireless local area network is within the range where the terminal device can be connected, and at this time, the terminal device searches a second optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band information.
In step S204, when the second optimal target frequency band is found, the second optimal target frequency band is connected to.
In this embodiment, if all frequency bands of the first wireless local area network to which the terminal device is currently connected cannot meet the data transmission requirement of the target data, the data broadcast may be sent to other second wireless local area networks, and whether an optimal target frequency band meeting the data transmission requirement exists in all frequency bands of the second wireless local area network is searched for, so that when the target data transmission is abnormal, the optimal wireless local area network and the optimal frequency band may be automatically selected for the user, and the user does not need to manually select the optimal frequency band, thereby reducing the user operation, improving the user experience, and simultaneously ensuring the transmission quality and the transmission speed of the target data.
Fig. 3 is a flow chart illustrating yet another method of wireless local area network connection according to an example embodiment.
As shown in fig. 3, in an embodiment, the method shown in fig. 2 may further include steps S301 to S302:
in step S301, when the second optimal target frequency band is not found, a third optimal target frequency band is selected from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
in step S302, a third optimal target frequency band is connected.
In this embodiment, if a target frequency band that meets the target data transmission requirement is not found in all frequency bands of the second wireless local area network, in order to not change the wireless local area network to which the terminal device is currently connected, a third optimal target frequency band that can make the transmission quality reach the best for transmitting the target data may be selected in all frequency bands of the first wireless local area network, so that the transmission of the target data may reach the best effect in the existing network environment.
Fig. 4 is a flow chart illustrating yet another method of wireless local area network connection according to an example embodiment.
As shown in fig. 4, in an embodiment, the method further includes steps S401-S402:
in step S401, when the second optimal target frequency band is not found, a fourth optimal target frequency band is selected from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
in step S402, a fourth optimal target frequency band is connected.
In this embodiment, if a target frequency band that meets the target data transmission requirement is not found in all frequency bands of the second wireless local area network, in order to not change the wireless local area network to which the terminal device is currently connected, a third optimal target frequency band that can make the transmission quality reach the best for transmitting the target data may be selected in all frequency bands of the first wireless local area network, so that the transmission of the target data may reach the best effect in the existing network environment.
The embodiment of the disclosure provides a wireless local area network connection method, which can be used in a routing device.
Fig. 5 is a flow chart illustrating a method of wireless local area network connection according to an example embodiment.
As shown in fig. 5, the wlan connection method includes steps S501 to S503:
in step S501, a data broadcast transmitted by a terminal device is received;
in step S502, frequency band signal information of the wireless local area network corresponding to the routing device is acquired according to data broadcasting;
in step S503, the frequency band signal information of the wireless lan is transmitted to the terminal device.
When the terminal device is connected to the wireless local area network to transmit the target data, detecting whether the transmission of the target data is abnormal, that is, it is detected whether the target data is abnormally transmitted, such as jammed or unsmooth transmission, and if the abnormality is detected, then sending data broadcast to the routing device corresponding to the wireless local area network, the routing device obtaining the frequency band signal information of the wireless local area network corresponding to the routing device according to the received data broadcast, thereby selecting an optimal target frequency band for the terminal device to meet the data transmission requirement of the target data according to the frequency band signal information for connection, and thus, when the target data transmission is abnormal, the optimal frequency band of the wireless local area network can be automatically selected for the user, the user does not need to manually select the frequency band, the operation of the user is reduced, the use experience of the user is improved, and meanwhile, the transmission quality and the transmission speed of the target data are also ensured.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 is a block diagram illustrating an apparatus for wireless lan connection, which may be implemented as part or all of a terminal device through software, hardware or a combination of both, according to an example embodiment. As shown in fig. 6, the wireless lan connection apparatus includes:
thedetection module 61 is configured to detect whether the transmission of the target data is abnormal when the terminal device is connected to a first wireless local area network to transmit the target data;
afirst sending module 62, configured to, when it is detected that transmission of the target data is abnormal, send a data broadcast to a first routing device corresponding to the first wireless local area network, so that the first routing device returns first frequency band signal information of the first wireless local area network to the terminal device according to the data broadcast;
afirst searching module 63, configured to, when receiving the first frequency band signal information, search for a first optimal target frequency band that meets a data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information;
and afirst connection module 64 configured to connect to the first optimal target frequency band when the first optimal target frequency band is found.
In the embodiment, when the terminal equipment is connected to the first wireless local area network to transmit the target data, whether the transmission of the target data is abnormal or not is detected, namely, whether the target data transmission is abnormal such as unsmooth and unsmooth transmission is detected, if the abnormality is detected, the data is sent to the first routing equipment corresponding to the first wireless local area network, thereby obtaining first frequency band signal information of the network of the first routing device, and selecting an optimal target frequency band which can meet the data transmission requirement of target data for the terminal device to connect according to the first frequency band signal information, thus, when the target data transmission is abnormal, the optimal frequency band of the wireless local area network can be automatically selected for the user, the user does not need to manually select the frequency band, the operation of the user is reduced, the use experience of the user is improved, and meanwhile, the transmission quality and the transmission speed of the target data are also ensured.
Fig. 7 is a block diagram illustrating another wireless local area network connection apparatus in accordance with an example embodiment.
As shown in fig. 7, in one embodiment, the apparatus shown in fig. 6 further includes:
a first obtainingmodule 71, configured to obtain connection information of a second wireless local area network stored in the terminal device when the first optimal target frequency band is not found;
asecond sending module 72, configured to send a data broadcast to a second wireless routing device corresponding to the second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns second frequency band signal information of the second wireless local area network to the terminal device according to the data broadcast;
asecond searching module 73, configured to, when receiving the second frequency band signal information, search for a second optimal target frequency band that meets the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band signal information;
and asecond connection module 74 configured to connect to the second optimal target frequency band when the second optimal target frequency band is found.
In this embodiment, if all frequency bands of the first wireless local area network to which the terminal device is currently connected cannot meet the data transmission requirement of the target data, the data broadcast may be sent to other second wireless local area networks, and whether an optimal target frequency band meeting the data transmission requirement exists in all frequency bands of the second wireless local area network is searched for, so that when the target data transmission is abnormal, the optimal wireless local area network and the optimal frequency band may be automatically selected for the user, and the user does not need to manually select the optimal frequency band, thereby reducing the user operation, improving the user experience, and simultaneously ensuring the transmission quality and the transmission speed of the target data.
Fig. 8 is a block diagram illustrating yet another wireless local area network connection apparatus in accordance with an example embodiment.
As shown in fig. 8, in one embodiment, the apparatus further comprises:
a first selectingmodule 81, configured to select a third optimal target frequency band from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data when the second optimal target frequency band is not found;
athird connection module 82 configured to connect to the third optimal target frequency band.
In this embodiment, if a target frequency band that meets the target data transmission requirement is not found in all frequency bands of the second wireless local area network, in order to not change the wireless local area network to which the terminal device is currently connected, a third optimal target frequency band that can make the transmission quality reach the best for transmitting the target data may be selected in all frequency bands of the first wireless local area network, so that the transmission of the target data may reach the best effect in the existing network environment.
Fig. 9 is a block diagram illustrating yet another wlan connection apparatus according to an example embodiment.
As shown in fig. 9, in one embodiment, the apparatus further comprises:
a second selectingmodule 91, configured to select a fourth optimal target frequency band from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data when the second optimal target frequency band is not found;
afourth connection module 92 configured to connect to the fourth optimal target frequency band.
In this embodiment, if a target frequency band that meets the target data transmission requirement is not found in all frequency bands of the second wireless local area network, in order to not change the wireless local area network to which the terminal device is currently connected, a third optimal target frequency band that can make the transmission quality reach the best for transmitting the target data may be selected in all frequency bands of the first wireless local area network, so that the transmission of the target data may reach the best effect in the existing network environment.
Fig. 10 is a block diagram illustrating an apparatus for wireless local area network connection, which may be implemented as part or all of a routing device in software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 10, the wireless lan connection apparatus includes:
areceiving module 1001 configured to receive a data broadcast transmitted by a terminal device;
a second obtainingmodule 1002, configured to obtain, according to the data broadcast, frequency band signal information of a wireless local area network corresponding to the routing device;
atransmission module 1003 configured to transmit frequency band signal information of the wireless local area network to the terminal device.
When the terminal device is connected to the wireless local area network to transmit the target data, detecting whether the transmission of the target data is abnormal, that is, it is detected whether the target data is abnormally transmitted, such as jammed or unsmooth transmission, and if the abnormality is detected, then sending data broadcast to the routing device corresponding to the wireless local area network, the routing device obtaining the frequency band signal information of the wireless local area network corresponding to the routing device according to the received data broadcast, thereby selecting an optimal target frequency band for the terminal device to meet the data transmission requirement of the target data according to the frequency band signal information for connection, and thus, when the target data transmission is abnormal, the optimal frequency band of the wireless local area network can be automatically selected for the user, the user does not need to manually select the frequency band, the operation of the user is reduced, the use experience of the user is improved, and meanwhile, the transmission quality and the transmission speed of the target data are also ensured.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection apparatus for a terminal device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a terminal device is connected to a first wireless local area network to transmit target data, detecting whether the transmission of the target data is abnormal or not;
when the target data is detected to be abnormal in transmission, sending data broadcast to first routing equipment corresponding to the first wireless local area network, so that the first routing equipment returns first frequency band signal information of the first wireless local area network to the terminal equipment according to the data broadcast;
when the first frequency band signal information is received, searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information;
and when the first optimal target frequency band is found, connecting to the first optimal target frequency band.
The processor may be further configured to:
when the first optimal target frequency band is not found, acquiring connection information of a second wireless local area network stored in the terminal equipment;
sending data broadcast to a second wireless routing device corresponding to the second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns second frequency band signal information of the second wireless local area network to the terminal device according to the data broadcast;
when the second frequency band signal information is received, searching a second optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band signal information;
and when the second optimal target frequency band is found, connecting to the second optimal target frequency band.
The processor may be further configured to:
when the second optimal target frequency band is not found, selecting a third optimal target frequency band from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the third optimal target frequency band.
The processor may be further configured to:
when the second optimal target frequency band is not found, selecting a fourth optimal target frequency band from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the fourth optimal target frequency band.
The processor may be further configured to:
the first frequency band signal information comprises a frequency band corresponding to a first local area network and the signal intensity and transmission speed of each frequency band, and the second frequency band signal information comprises a frequency band corresponding to a second local area network and the signal intensity and transmission speed of each frequency band.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a wireless local area network connection apparatus, configured to a routing device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving data broadcast sent by terminal equipment;
acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and sending the frequency band signal information of the wireless local area network to the terminal equipment.
Fig. 11 is a block diagram illustrating an apparatus for wireless local area network connection, which is suitable for a terminal device according to an exemplary embodiment. For example, theapparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Theapparatus 1100 may include one or more of the following components:processing component 1102,memory 1104,power component 1106,multimedia component 1108,audio component 1110, input/output (I/O)interface 1112,sensor component 1114, andcommunications component 1116.
Theprocessing component 1102 generally controls the overall operation of thedevice 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Theprocessing components 1102 may include one ormore processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, theprocessing component 1102 may include one or more modules that facilitate interaction between theprocessing component 1102 and other components. For example, theprocessing component 1102 may include a multimedia module to facilitate interaction between themultimedia component 1108 and theprocessing component 1102.
Thememory 1104 is configured to store various types of data to support operations at theapparatus 1100. Examples of such data include instructions for any application or method operating ondevice 1100, contact data, phonebook data, messages, pictures, videos, and so forth. Thememory 1104 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Apower component 1106 provides power to the various components of thedevice 1100. Thepower components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for theapparatus 1100.
Themultimedia component 1108 includes a screen that provides an output interface between thedevice 1100 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, themultimedia component 1108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when thedevice 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Theaudio component 1110 is configured to output and/or input audio signals. For example, theaudio component 1110 includes a Microphone (MIC) configured to receive external audio signals when theapparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in thememory 1104 or transmitted via thecommunication component 1116. In some embodiments, theaudio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between theprocessing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Thesensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for theapparatus 1100. For example, thesensor assembly 1114 may detect an open/closed state of theapparatus 1100, the relative positioning of components, such as a display and keypad of theapparatus 1100, thesensor assembly 1114 may also detect a change in position of theapparatus 1100 or a component of theapparatus 1100, the presence or absence of user contact with theapparatus 1100, orientation or acceleration/deceleration of theapparatus 1100, and a change in temperature of theapparatus 1100. Thesensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. Thesensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Thecommunication component 1116 is configured to facilitate wired or wireless communication between theapparatus 1100 and other devices. Theapparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, thecommunication component 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunications component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, theapparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as thememory 1104 comprising instructions, executable by theprocessor 1120 of theapparatus 1100 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 12 is a block diagram illustrating an apparatus for wireless local area network connection according to an example embodiment. For example, theapparatus 1200 may be provided as a routing device. Theapparatus 1200 includes aprocessing component 1222 that further includes one or more processors, and memory resources, represented bymemory 1232, for storing instructions, such as application programs, that are executable by theprocessing component 1222. The application programs stored inmemory 1232 may include one or more modules that each correspond to a set of instructions. Further, theprocessing component 1222 is configured to execute instructions to perform the above-described methods.
Theapparatus 1200 may also include apower supply component 1226 configured to perform power management of theapparatus 1200, a wired orwireless network interface 1250 configured to connect theapparatus 1200 to a network, and an input output (I/O)interface 1258. Theapparatus 1200 may operate based on an operating system stored in thememory 1232, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of anapparatus 1100, enable theapparatus 1100 to perform the above-described wireless local area network connection method, the method comprising:
when a terminal device is connected to a first wireless local area network to transmit target data, detecting whether the transmission of the target data is abnormal or not;
when the target data is detected to be abnormal in transmission, sending data broadcast to first routing equipment corresponding to the first wireless local area network, so that the first routing equipment returns first frequency band signal information of the first wireless local area network to the terminal equipment according to the data broadcast;
when the first frequency band signal information is received, searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information;
and when the first optimal target frequency band is found, connecting to the first optimal target frequency band.
In one embodiment, the method further comprises:
when the first optimal target frequency band is not found, acquiring connection information of a second wireless local area network stored in the terminal equipment;
sending data broadcast to a second wireless routing device corresponding to the second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns second frequency band signal information of the second wireless local area network to the terminal device according to the data broadcast;
when the second frequency band signal information is received, searching a second optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band signal information;
and when the second optimal target frequency band is found, connecting to the second optimal target frequency band.
In one embodiment, the method further comprises:
when the second optimal target frequency band is not found, selecting a third optimal target frequency band from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the third optimal target frequency band.
In one embodiment, the method further comprises:
when the second optimal target frequency band is not found, selecting a fourth optimal target frequency band from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the fourth optimal target frequency band.
In one embodiment, the first frequency band signal information includes a frequency band corresponding to the first local area network and signal strength and transmission speed of each frequency band, and the second frequency band signal information includes a frequency band corresponding to the second local area network and signal strength and transmission speed of each frequency band.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of anapparatus 1200, enable theapparatus 1200 to perform the above-described wireless local area network connection method, the method comprising:
receiving data broadcast sent by terminal equipment;
acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and sending the frequency band signal information of the wireless local area network to the terminal equipment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A wireless local area network connection method is used for a terminal device, and is characterized by comprising the following steps:
when a terminal device is connected to a first wireless local area network to transmit target data, detecting whether the transmission of the target data is abnormal or not;
when the target data is detected to be abnormal in transmission, sending data broadcast to first routing equipment corresponding to the first wireless local area network, so that the first routing equipment returns first frequency band signal information of the first wireless local area network to the terminal equipment according to the data broadcast, wherein the first frequency band signal information comprises frequency bands corresponding to the first local area network and signal intensity and transmission speed of each frequency band;
when the first frequency band signal information is received, searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information;
and when the first optimal target frequency band is found, connecting to the first optimal target frequency band.
2. The method of claim 1, further comprising:
when the first optimal target frequency band is not found, acquiring connection information of a second wireless local area network stored in the terminal equipment;
sending a data broadcast to a second routing device corresponding to the second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns second frequency band signal information of the second wireless local area network to the terminal device according to the data broadcast, wherein the second frequency band signal information comprises a frequency band corresponding to the second local area network and signal intensity and transmission speed of each frequency band;
when the second frequency band signal information is received, searching a second optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band signal information;
and when the second optimal target frequency band is found, connecting to the second optimal target frequency band.
3. The method of claim 2, further comprising:
when the second optimal target frequency band is not found, selecting a third optimal target frequency band from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the third optimal target frequency band.
4. The method of claim 2, further comprising:
when the second optimal target frequency band is not found, selecting a fourth optimal target frequency band from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data;
and connecting to the fourth optimal target frequency band.
5. A wlan connection method for a routing device, comprising:
receiving data broadcast sent by terminal equipment;
acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and sending the frequency band signal information of the wireless local area network to the terminal equipment.
6. A wireless lan connection apparatus for a terminal device, comprising:
the terminal equipment comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether the transmission of target data is abnormal or not when the terminal equipment is connected to a first wireless local area network to transmit the target data;
a first sending module, configured to send a data broadcast to a first routing device corresponding to the first wireless local area network when detecting that transmission of the target data is abnormal, so that the first routing device returns, according to the data broadcast, first frequency band signal information of the first wireless local area network to the terminal device, where the first frequency band signal information includes a frequency band corresponding to the first local area network and signal strength and transmission speed of each frequency band;
the first searching module is used for searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information when the first frequency band signal information is received;
and the first connecting module is used for connecting to the first optimal target frequency band when the first optimal target frequency band is found.
7. The apparatus of claim 6, further comprising:
the first obtaining module is used for obtaining the connection information of the second wireless local area network stored in the terminal equipment when the first optimal target frequency band is not found;
a second sending module, configured to send a data broadcast to a second routing device corresponding to the second wireless local area network according to the connection information of the second wireless local area network, so that the second routing device returns, according to the data broadcast, second frequency band signal information of the second wireless local area network to the terminal device, where the second frequency band signal information includes a frequency band corresponding to the second local area network and signal strength and transmission speed of each frequency band;
the second searching module is used for searching a second optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the second wireless local area network according to the second frequency band signal information when the second frequency band signal information is received;
and the second connecting module is used for connecting to the second optimal target frequency band when the second optimal target frequency band is found.
8. The apparatus of claim 7, further comprising:
the first selection module is used for selecting a third optimal target frequency band from all frequency bands of the first wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data when the second optimal target frequency band is not found;
and the third connecting module is used for connecting to the third optimal target frequency band.
9. The apparatus of claim 7, further comprising:
a second selection module, configured to select a fourth optimal target frequency band from all frequency bands of the first wireless local area network and the second wireless local area network according to the first frequency band signal information and the data transmission requirement of the target data when the second optimal target frequency band is not found;
and the fourth connecting module is used for connecting to the fourth optimal target frequency band.
10. A wireless local area network connection apparatus for a routing device, comprising:
the receiving module is used for receiving data broadcast sent by the terminal equipment;
the second acquisition module is used for acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and the transmission module is used for transmitting the frequency range signal information of the wireless local area network to the terminal equipment.
11. A wireless lan connection apparatus for a terminal device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a terminal device is connected to a first wireless local area network to transmit target data, detecting whether the transmission of the target data is abnormal or not;
when the target data is detected to be abnormal in transmission, sending data broadcast to first routing equipment corresponding to the first wireless local area network, so that the first routing equipment returns first frequency band signal information of the first wireless local area network to the terminal equipment according to the data broadcast, wherein the first frequency band signal information comprises frequency bands corresponding to the first local area network and signal intensity and transmission speed of each frequency band;
when the first frequency band signal information is received, searching a first optimal target frequency band meeting the data transmission requirement of the target data from all frequency bands of the first wireless local area network according to the first frequency band signal information;
and when the first optimal target frequency band is found, connecting to the first optimal target frequency band.
12. A wireless local area network connection apparatus for a routing device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving data broadcast sent by terminal equipment;
acquiring frequency band signal information of a wireless local area network corresponding to the routing equipment according to the data broadcast;
and sending the frequency band signal information of the wireless local area network to the terminal equipment.
CN201611104203.0A2016-12-052016-12-05Wireless local area network connection method and deviceActiveCN106454916B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611104203.0ACN106454916B (en)2016-12-052016-12-05Wireless local area network connection method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611104203.0ACN106454916B (en)2016-12-052016-12-05Wireless local area network connection method and device

Publications (2)

Publication NumberPublication Date
CN106454916A CN106454916A (en)2017-02-22
CN106454916Btrue CN106454916B (en)2020-06-02

Family

ID=58222777

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611104203.0AActiveCN106454916B (en)2016-12-052016-12-05Wireless local area network connection method and device

Country Status (1)

CountryLink
CN (1)CN106454916B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106993323A (en)*2017-05-272017-07-28上海斐讯数据通信技术有限公司A kind of wireless network frequency range connection method and radio reception device
KR102402639B1 (en)2017-11-242022-05-26삼성전자주식회사Electronic device and method for communicating thereof
CN110290545A (en)*2019-06-192019-09-27高新兴科技集团股份有限公司A kind of online keepalive method of wireless telecom equipment
CN112449363B (en)*2019-08-272024-10-29南京中兴新软件有限责任公司Communication method and system of Wireless Local Area Network (WLAN)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101860492A (en)*2010-06-282010-10-13中兴通讯股份有限公司 Method, device and system for fast switching
CN103619067A (en)*2013-11-222014-03-05北京奇虎科技有限公司Wireless channel redistributing method and device
CN105636132A (en)*2015-12-302016-06-01深圳市金立通信设备有限公司Configuration method and system of wireless access point, base station, and user terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101860492A (en)*2010-06-282010-10-13中兴通讯股份有限公司 Method, device and system for fast switching
CN103619067A (en)*2013-11-222014-03-05北京奇虎科技有限公司Wireless channel redistributing method and device
CN105636132A (en)*2015-12-302016-06-01深圳市金立通信设备有限公司Configuration method and system of wireless access point, base station, and user terminal

Also Published As

Publication numberPublication date
CN106454916A (en)2017-02-22

Similar Documents

PublicationPublication DateTitle
JP6186508B2 (en) Network connection method and terminal
CN104506410B (en)The method and apparatus of instant messaging
CN108064466B (en)Period information indication method of public control resource set of residual key system information
EP3226432B1 (en)Method and devices for sharing media data between terminals
US10009283B2 (en)Method and device for processing information
US20170034776A1 (en)Method, apparatus, and system for smart device to access router
CN107404723B (en)Method and device for accessing base station
CN107071862B (en)Account number binding method and device and intelligent equipment
US12126566B2 (en)System information reception method and apparatus, and system information transmission method and apparatus
CN106507282B (en) Wireless connection control method and device
CN106454916B (en)Wireless local area network connection method and device
CN108476479B (en) Random access method and apparatus, user equipment and computer-readable storage medium
WO2018086067A1 (en)Communication method and device
CN106604230A (en)Region configuration method and region configuration device
CN113796110A (en) A method, apparatus, device and storage medium for performing small data packet transmission and determining a random access message transmission mode
CN104853401B (en)The method and apparatus for controlling access
CN110933773B (en)Link monitoring method and device
CN106550482B (en)Communication connection establishing method and device and electronic equipment
CN109245992B (en)Request processing method and device, electronic equipment and storage medium
CN108521882B (en)Network access method and device
CN108401518B (en) Channel coordination method and device
CN108702594B (en) System information transmission method and device
US9894596B2 (en)Method and device for controlling access of smart device
CN109247078B (en)method and device for receiving and sending downlink control channel
CN105407518B (en)Equipment networking method and device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp