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
CN106454916B CN201611104203.0A CN201611104203A CN106454916B CN 106454916 B CN106454916 B CN 106454916B CN 201611104203 A CN201611104203 A CN 201611104203A CN 106454916 B CN106454916 B CN 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 Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611104203.0A priority Critical patent/CN106454916B/en
Publication of CN106454916A publication Critical patent/CN106454916A/en
Application granted granted Critical
Publication of CN106454916B publication Critical patent/CN106454916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Landscapes

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

Abstract

The disclosure relates to a wireless local area network connection method and a device, wherein the method comprises the following steps: when the terminal equipment 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 transmission is detected to be abnormal, sending data broadcast to first routing equipment corresponding to a first wireless local area network; when first frequency band signal information is received, searching a first optimal target frequency band meeting the data transmission requirement of target data from all frequency bands of a 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. Through the technical scheme, the optimal frequency band of the wireless local area network can be automatically selected for the user when the target data is abnormally transmitted, the user does not need to manually select, 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.

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:
the detection 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;
a first 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;
a first 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 a first 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 obtaining module 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;
a second 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;
a second 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 a second 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 selecting module 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;
a third 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 selecting module 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;
a fourth 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:
a receiving module 1001 configured to receive a data broadcast transmitted by a terminal device;
a second obtaining module 1002, configured to obtain, according to the data broadcast, frequency band signal information of a wireless local area network corresponding to the routing device;
a transmission 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, the apparatus 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.
The apparatus 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, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operations at the apparatus 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 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.
A power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 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, the multimedia 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 the device 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.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 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 the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing 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.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the apparatus 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 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, the communication component 1116 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications 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, the apparatus 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 the memory 1104 comprising instructions, executable by the processor 1120 of the apparatus 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, the apparatus 1200 may be provided as a routing device. The apparatus 1200 includes a processing component 1222 that further includes one or more processors, and memory resources, represented by memory 1232, for storing instructions, such as application programs, that are executable by the processing component 1222. The application programs stored in memory 1232 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1222 is configured to execute instructions to perform the above-described methods.
The apparatus 1200 may also include a power supply component 1226 configured to perform power management of the apparatus 1200, a wired or wireless network interface 1250 configured to connect the apparatus 1200 to a network, and an input output (I/O) interface 1258. The apparatus 1200 may operate based on an operating system stored in the memory 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 an apparatus 1100, enable the apparatus 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 an apparatus 1200, enable the apparatus 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.0A 2016-12-05 2016-12-05 Wireless local area network connection method and device Active CN106454916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611104203.0A CN106454916B (en) 2016-12-05 2016-12-05 Wireless local area network connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611104203.0A CN106454916B (en) 2016-12-05 2016-12-05 Wireless local area network connection method and device

Publications (2)

Publication Number Publication Date
CN106454916A CN106454916A (en) 2017-02-22
CN106454916B true CN106454916B (en) 2020-06-02

Family

ID=58222777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611104203.0A Active CN106454916B (en) 2016-12-05 2016-12-05 Wireless local area network connection method and device

Country Status (1)

Country Link
CN (1) CN106454916B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993323A (en) * 2017-05-27 2017-07-28 上海斐讯数据通信技术有限公司 A kind of wireless network frequency range connection method and radio reception device
CN110290545A (en) * 2019-06-19 2019-09-27 高新兴科技集团股份有限公司 A kind of online keepalive method of wireless telecom equipment
CN112449363A (en) * 2019-08-27 2021-03-05 中兴通讯股份有限公司 Communication method and system of Wireless Local Area Network (WLAN)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860492A (en) * 2010-06-28 2010-10-13 中兴通讯股份有限公司 Quick switching method, device and system
CN103619067A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Wireless channel redistributing method and device
CN105636132A (en) * 2015-12-30 2016-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 number Priority date Publication date Assignee Title
CN101860492A (en) * 2010-06-28 2010-10-13 中兴通讯股份有限公司 Quick switching method, device and system
CN103619067A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Wireless channel redistributing method and device
CN105636132A (en) * 2015-12-30 2016-06-01 深圳市金立通信设备有限公司 Configuration method and system of wireless access point, base station, and user terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108064466B (en) Period information indication method of public control resource set of residual key system information
CN109121468B (en) Access method and device related to network slice
CN108496317B (en) Method and device for searching public resource set of residual key system information
CN108496390B (en) Data transmission method and device in unauthorized cell, base station and user equipment
US20220007370A1 (en) Resource determining methods and apparatuses
US20170034776A1 (en) Method, apparatus, and system for smart device to access router
US10009283B2 (en) Method and device for processing information
US10313936B2 (en) Method and apparatus for accessing base station
CN107071862B (en) Account number binding method and device and intelligent equipment
WO2018086067A1 (en) Communication method and device
US20240063980A1 (en) System information reception method and apparatus, and system information transmission method and apparatus
CN106454916B (en) Wireless local area network connection method and device
CN108476479B (en) Random access method and device, user equipment and computer readable storage medium
US20160349947A1 (en) Method and device for sending message
US11570693B2 (en) Method and apparatus for sending and receiving system information, and user equipment and base station
CN108476385B (en) Method, device, user equipment and base station for receiving and sending system messages
CN110933773B (en) Link monitoring method and device
CN108521882B (en) Network access method and device
CN108702283B (en) Method and device for configuring and analyzing synchronous broadcast block, base station and user equipment
CN108401518B (en) Channel coordination method and device
CN106550482B (en) Communication connection establishing method and device and electronic equipment
CN109644425B (en) Method and device for transmitting paging signaling
CN113796110A (en) Method, device, equipment and storage medium for executing small data packet transmission and determining random access message transmission mode
CN109451803B (en) Data transmission method and device
CN115088294A (en) Reporting method, sending method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant