CN111343674B - Multi-frequency band switching method and device of wireless network - Google Patents

Multi-frequency band switching method and device of wireless network Download PDF

Info

Publication number
CN111343674B
CN111343674B CN201811548996.4A CN201811548996A CN111343674B CN 111343674 B CN111343674 B CN 111343674B CN 201811548996 A CN201811548996 A CN 201811548996A CN 111343674 B CN111343674 B CN 111343674B
Authority
CN
China
Prior art keywords
wireless network
wireless networks
rssi
frequency bands
networks
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
CN201811548996.4A
Other languages
Chinese (zh)
Other versions
CN111343674A (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.)
Midea Group Co Ltd
Original Assignee
Midea Group 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 Midea Group Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201811548996.4A priority Critical patent/CN111343674B/en
Publication of CN111343674A publication Critical patent/CN111343674A/en
Application granted granted Critical
Publication of CN111343674B publication Critical patent/CN111343674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a multi-band switching method, a multi-band switching device, electronic equipment and a computer storage medium of a wireless network, wherein the method comprises the following steps: the method comprises the steps of scanning MAC addresses and Received Signal Strength Indication (RSSI) of a plurality of wireless networks in other frequency bands by acquiring a current Media Access Control (MAC) address of a current connected wireless network, and selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the current connected wireless network and the MAC addresses and RSSI of the plurality of wireless networks in other frequency bands. According to the method, MAC addresses and RSSI of other frequency bands are scanned and matched with the MAC address of the currently connected wireless network, and then the matched wireless network is selected for connection, so that the technical problems that in the prior art, when the names of multi-frequency-band wireless networks are different, the networks cannot be automatically switched, and only manual network distribution can be carried out manually are solved, and the use experience of a user is improved.

Description

Multi-frequency band switching method and device of wireless network
Technical Field
The present application relates to the field of internet technologies, and in particular, to a multi-band handover method and apparatus for a wireless network.
Background
With the development of the multi-band wireless network technology, more and more routers and internet of things equipment can support the multi-band wireless network, so that the internet of things equipment is required to realize multi-band switching of the wireless network when networking. In the prior art, the multi-band handover of the wireless network between devices is mostly realized by presetting the same Service Set Identifier (SSID), i.e., the name, password, and channel of the wireless signal.
However, most of the multi-band switching methods of the wireless network in the prior art are only suitable for the case of the same SSID, and when the SSIDs of the multi-band wireless networks are different, automatic switching cannot be achieved, and a user needs to manually re-configure the network, which results in poor user experience.
Disclosure of Invention
The application provides a multi-band switching method and device of a wireless network, terminal equipment and a computer readable storage medium, so that automatic switching of frequency bands can be achieved when SSIDs of the multi-band wireless network are different, and the technical problems that in the prior art, when names of the multi-band wireless network are different, the network cannot be automatically switched, and manual network distribution can only be carried out manually are solved.
An embodiment of a first aspect of the present application provides a multiband handover method for a wireless network, including:
acquiring a current Media Access Control (MAC) address of a currently connected wireless network;
scanning MAC addresses and Received Signal Strength Indicator (RSSI) of a plurality of wireless networks in other frequency bands;
and selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the current connected wireless network, and the MAC addresses and the RSSIs of the plurality of wireless networks in other frequency bands.
According to the multi-band switching method of the wireless network, the current Media Access Control (MAC) address of the currently connected wireless network is obtained, the MAC addresses and the Received Signal Strength Indication (RSSI) of the wireless networks in other frequency bands are scanned, and the matched wireless network is selected from the wireless networks for connection according to the current MAC address of the currently connected wireless network and the MAC addresses and the RSSI of the wireless networks in other frequency bands. According to the method, MAC addresses and RSSI of other frequency bands are scanned and matched with the MAC address of the currently connected wireless network, and then the matched wireless network is selected for connection, so that the technical problems that in the prior art, when the names of multi-frequency-band wireless networks are different, the networks cannot be automatically switched, and only manual network distribution can be carried out manually are solved, and the use experience of a user is improved.
In a second aspect of the present application, an embodiment provides a multiband handover apparatus for a wireless network, including:
the acquisition module is used for acquiring the current Media Access Control (MAC) address of the currently connected wireless network;
the scanning module is used for scanning the MAC addresses and the Received Signal Strength Indicator (RSSI) of a plurality of wireless networks of other frequency bands;
and the selection module is used for selecting a matched wireless network from the wireless networks to connect according to the current MAC address of the currently connected wireless network, and MAC addresses and RSSIs of the wireless networks in other frequency bands.
The multi-band switching device of the wireless network, provided by the embodiment of the application, is used for scanning the MAC addresses and the RSSI (received signal strength indicator) of a plurality of wireless networks in other frequency bands by acquiring the current MAC address of the currently connected wireless network, and selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the currently connected wireless network and the MAC addresses and the RSSI of the plurality of wireless networks in other frequency bands. According to the method, MAC addresses and RSSI of other frequency bands are scanned and matched with the MAC address of the currently connected wireless network, and then the matched wireless network is selected for connection, so that the technical problems that in the prior art, when the names of multi-frequency-band wireless networks are different, the networks cannot be automatically switched, and only manual network distribution can be carried out manually are solved, and the use experience of a user is improved.
An embodiment of a third aspect of the present application provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the multi-band handover method of a wireless network described in the above embodiments when executing the program.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, and when instructions in the storage medium are executed by a processor, the multi-band handover method of a wireless network described in the foregoing embodiments is implemented.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a multiband handover method for a wireless network according to an embodiment of the present disclosure;
fig. 2 is an interaction diagram of a multiband handover method of a wireless network according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a multiband switching apparatus of a wireless network according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a multiband switching apparatus of another wireless network according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
With the development of the multi-band wireless network technology, more and more routers and terminal devices can support multiple bands, so that the internet of things device can use different frequency bands to connect networks when performing wireless network connection. However, in the prior art, the multiband switching method applicable to the wireless network of the internet of things device is only applicable to the case of the same SSID. For a multi-band wireless network, when SSIDs are different, switching of the wireless network can only be performed in a manual network re-distribution mode, seamless switching of the wireless network cannot be achieved, and user experience is poor.
In order to solve the problems in the prior art, the application provides a multi-band switching method of a wireless network, which includes the steps of obtaining a current MAC address of a currently connected wireless network, scanning MAC addresses and RSSIs of a plurality of wireless networks in other frequency bands, and selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the currently connected wireless network and the MAC addresses and the RSSIs of the plurality of wireless networks in the other frequency bands. Therefore, under the condition that SSIDs of all frequency bands of the multi-band wireless network are different, automatic switching of the wireless network can be realized.
In order to better understand the above technical solutions, a multiband handover method, an apparatus, an internet of things device, and a computer-readable storage medium of a wireless network according to embodiments of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a multiband handover method of a wireless network according to an embodiment of the present disclosure.
The embodiment of the present application is exemplified by the multiband switching method of the wireless network being configured in a multiband switching apparatus of the wireless network, and the multiband switching apparatus of the wireless network can be applied to any terminal device, so that the terminal device can execute the multiband switching method of the wireless network.
The terminal device may be a Personal Computer (PC), a cloud device, a mobile device, and the like, and the mobile device may be a hardware device having various operating systems, touch screens, and/or display screens, such as a mobile phone, a tablet Computer, a Personal digital assistant, a wearable device, and an in-vehicle device, and is not limited herein.
As shown in fig. 1, the multiband handover method of the wireless network includes the following steps:
step 101, a current Media Access Control (MAC) address of a current connected wireless network is obtained.
Among them, a Media Access Control (MAC) address, also called a physical address or a hardware address, is used to define a location of a network device. The MAC address is represented by hexadecimal numbers, has six bytes (48 bits), is set when the network card leaves a factory, and is fixed. It can be understood that the MAC address is globally unique as the identification number on our identification card.
In the embodiment of the application, the current MAC address of the wireless network connected with the current Internet of things equipment can be acquired in the configuration of the Internet of things equipment through the wireless network communication module of the Internet of things equipment.
As another possible implementation manner, the current MAC address of the wireless network to which the internet of things device is currently connected may also be acquired in a router connected to the internet of things device.
As another possible implementation manner, the current MAC address of the internet of things device currently connected to the wireless network may also be obtained in an application program on the terminal device for performing network distribution on the internet of things device.
Step 102, scanning MAC addresses and Received Signal Strength Indicator (RSSI) of a plurality of wireless networks in other frequency bands.
Among them, the Received Signal Strength (RSSI) is a positioning technique that measures the distance between a Signal point and a receiving point according to the Strength of the Received Signal and then performs positioning calculation according to the corresponding data, the RSSI attenuates with the increase of the distance between the wireless network and a router, and is generally a negative value, and the closer the value is to zero, the higher the Signal Strength is.
It should be explained that the frequency band refers to the frequency range of electromagnetic waves, and has a low frequency, a medium frequency and a high frequency. In a wireless network, there are 2G, 3G, 4G and 5G operating bands, for example, the operating bands of 5G are: 3300MHz-3600MHz frequency band and 4800MHz-5000MHz frequency band. The multi-frequency wireless network refers to a wireless network that supports multiple wireless signals in different frequency bands, for example, a dual-frequency wireless network can support wireless signals in two different frequency bands, and the two network segments are 2.4G and 5G, respectively.
In the embodiment of the application, the wireless network communication module of the internet of things device can scan the wireless networks in other frequency bands to obtain basic information of the wireless networks in other frequency bands, including whether the scanned state of the wireless network is available, SSID information, the used transmitting frequency band, whether the wireless network encrypts transmission, RSSI signal strength, basic transmission speed mode of a target wireless network, MAC addresses of wireless routers or wireless networks, wireless network composition mode (point-to-point or point-to-multipoint), connection time and other basic information.
As a possible implementation manner, the router synchronizes the wireless network connection by sending Beacon broadcasts, Beacon broadcasts a data packet to the surroundings at regular intervals, and the Beacon receives the data packet broadcasted by Beacon at intervals when performing a scanning action as an independent internet of things device. The packet content may contain up to 31 bytes of content. Meanwhile, when the internet of things equipment receives the broadcast packet, the MAC address (each Beacon has a unique MAC address) of which router the broadcast packet comes from and the current RSSI of receiving and sending are indicated.
And 103, selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the currently connected wireless network, and the MAC addresses and the RSSIs of the plurality of wireless networks in other frequency bands.
In the embodiment of the application, the current MAC address of the currently connected wireless network is matched with the MAC addresses of a plurality of wireless networks of other frequency bands, the first ten bits of the MAC addresses are the same, namely MAC address matching is conducted, and then N wireless networks with matched MAC addresses are selected from the plurality of wireless networks to serve as alternative wireless networks, wherein N is a positive integer.
Further, firstly, the RSSI of the N alternative wireless networks is obtained, the multiple alternative wireless networks are screened according to the RSSI of the N alternative wireless networks, and the matched wireless networks are selected from the N alternative wireless networks for connection.
In the embodiment of the application, the frequency band of the currently connected wireless network can be compared with the frequency bands of the alternative wireless networks, and if the frequency band of the currently connected wireless network is greater than the frequency bands of the alternative wireless networks, the multi-frequency band switching of the wireless network is switched from high frequency to low frequency; if the frequency band of the current connected wireless network is smaller than the frequency bands of the plurality of alternative wireless networks, the multi-band switching of the wireless network is switched from low frequency to high frequency.
As a possible scenario, when the wireless network is switched from a low frequency to a high frequency, the RSSI of the N candidate networks is compared with a preset RSSI threshold, and a candidate network with the RSSI larger than a first preset threshold of the wireless network is selected from the N candidate networks for connection.
As another possible scenario, when the wireless network is switched from a high frequency to a low frequency, the RSSI of the N candidate networks is compared with a preset RSSI threshold, and a candidate network with the RSSI smaller than a second preset threshold of the wireless network is selected from the N candidate networks for connection.
It should be noted that the first preset threshold and the second preset threshold are both preset and are used for screening multiple candidate wireless networks, so as to select a wireless network selected to be matched for connection.
According to the multi-band switching method of the wireless network, the current Media Access Control (MAC) address of the currently connected wireless network is obtained, the MAC addresses and the Received Signal Strength Indication (RSSI) of the wireless networks in other frequency bands are scanned, and the matched wireless network is selected from the wireless networks for connection according to the current MAC address of the currently connected wireless network and the MAC addresses and the RSSI of the wireless networks in other frequency bands. According to the method, MAC addresses and RSSI of other frequency bands are scanned and matched with the MAC address of the currently connected wireless network, and then the matched wireless network is selected for connection, so that the technical problems that in the prior art, when the names of multi-frequency-band wireless networks are different, the networks cannot be automatically switched, and only manual network distribution can be carried out manually are solved, and the use experience of a user is improved.
As an example, this embodiment provides an interaction process of a multiband handover method of a wireless network, and fig. 2 is a schematic view of an interaction process of a multiband handover method of a wireless network provided in this embodiment.
As shown in fig. 2, the multiband handover method of the wireless network may include the steps of:
step 201, the terminal device detects the operation of opening the distribution network APP by the user.
In the embodiment of the application, after the terminal device for controlling the internet of things device to carry out the distribution network detects that the user opens the distribution network APP, the wireless network to be connected is displayed on the display interface of the terminal device.
In step 202, the terminal device detects the operation of selecting a wireless network of frequency band 1 and inputting a password.
And step 203, the terminal equipment sends the distribution network information selected by the user to the internet of things equipment.
Specifically, after the terminal device detects the operation of inputting the password into the wireless network with the frequency range 1 selected by the user, the terminal device sends the distribution network information such as the name and the password of the wireless network with the frequency range 1 selected by the user to the internet of things device.
And 204, connecting the Internet of things equipment to a wireless network router according to the received distribution network information sent by the terminal equipment.
Step 205, scanning the MAC address and RSSI of the wireless network of frequency band 2.
In the embodiment of the present application, the implementation process of step 205 is referred to step 102 in the above embodiment, and is not described herein again.
In step 206, the internet of things device determines whether the MAC address of the wireless network of the frequency band 2 matches the MAC address of the current wireless network according to the scanned MAC address of the wireless network of the frequency band 2.
In the embodiment of the application, the MAC address of the wireless network with the frequency band 2 is matched with the current MAC address of the wireless network with the currently connected frequency band 1, and the MAC address matching is performed when the first ten bits of the MAC address are the same.
As an example, if the MAC address of the currently connected wireless network of the frequency band 1 is AA: BB: CC: DD: EE: FF, the MAC address of the wireless network of the frequency band 2 is compared with the MAC address of the wireless network of the frequency band 1. If the MAC address of the wireless network of the frequency band 2 is the same as the first ten bits of the MAC address of the wireless network of the frequency band 1, the MAC address is matched; otherwise, the MAC addresses are not matched, and the wireless network of the frequency band 2 is not connected.
And step 207, judging whether the wireless network of the frequency band 2 is a matched wireless network according to the RSSI.
In the embodiment of the present application, when the MAC address of the wireless network of the frequency band 2 matches the MAC address of the wireless network of the frequency band 1, the RSSI obtained in step 205 is compared with the preset RSSI threshold, and if the RSSI is greater than the preset threshold, it is determined that the wireless network of the frequency band 2 is the matching wireless network, and step 208 is sequentially executed; otherwise, the wireless network of frequency band 2 is not connected.
And step 208, after the wireless network of the frequency band 2 is determined to be the matched wireless network, connecting the wireless network.
The multi-band switching method of the wireless network comprises the steps of scanning the MAC address and the received signal strength indication RSSI of the wireless network of the frequency band 2 by obtaining the MAC address of the wireless network of the frequency band 1, judging whether the wireless network of the frequency band 2 is matched with the MAC address of the current wireless network according to the scanned MAC address of the wireless network of the frequency band 2, further judging whether the wireless network of the frequency band 2 is a matched wireless network according to the RSSI when the wireless network of the frequency band 2 is matched with the MAC address of the current wireless network, and connecting the wireless network after the wireless network of the frequency band 2 is determined to be the matched wireless network. According to the method, the MAC address and the RSSI of the frequency band 2 are scanned and matched with the MAC address of the wireless network of the frequency band 1, and then connection is carried out when the wireless network of the frequency band 2 is determined to be matched, so that the technical problems that in the prior art, when the names of the multi-frequency-band wireless networks are different, the networks cannot be automatically switched, and manual network distribution can only be carried out manually are solved, and the use experience of a user is improved.
In order to implement the above embodiments, the present application further provides a multi-band switching apparatus of a wireless network.
Fig. 3 is a schematic structural diagram of a multiband switching apparatus of a wireless network according to an embodiment of the present application.
As shown in fig. 3, the multiband switching apparatus 100 of the wireless network includes: an acquisition module 110, a scanning module 120, and a selection module 130.
An obtaining module 110, configured to obtain a current MAC address of a currently connected wireless network.
The scanning module 120 is configured to scan MAC addresses and RSSI of multiple wireless networks in other frequency bands.
The selecting module 130 is configured to select a matching wireless network from the multiple wireless networks for connection according to a current MAC address of a currently connected wireless network, and MAC addresses and RSSIs of the multiple wireless networks in other frequency bands.
As a possible implementation manner, the selecting module 130 is specifically configured to:
selecting N wireless networks with matched MAC addresses from the multiple wireless networks as alternative wireless networks according to the current MAC address and the MAC addresses of the multiple wireless networks of other frequency bands, wherein N is a positive integer; and
and screening the multiple alternative wireless networks according to the RSSI of the multiple alternative wireless networks, and selecting a matched wireless network from the multiple alternative wireless networks for connection.
As another possible implementation, the first ten digits of the MAC address are the same, and the MAC address matches.
As another possible implementation manner, referring to fig. 4, the selecting module 130 further includes:
an obtaining unit 131, configured to obtain RSSI of the N candidate wireless networks;
a selecting unit 132, configured to select an alternative wireless network with an RSSI greater than a first preset threshold for connection;
or selecting an alternative wireless network with the RSSI smaller than a second preset threshold value for connection.
It should be noted that the foregoing explanation on the embodiment of the multiband handover method for a wireless network is also applicable to the multiband handover apparatus for a wireless network in this embodiment, and is not described herein again.
The multi-band switching device of the wireless network, provided by the embodiment of the application, is used for scanning the MAC addresses and the RSSI (received signal strength indicator) of a plurality of wireless networks in other frequency bands by acquiring the current MAC address of the currently connected wireless network, and selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the currently connected wireless network and the MAC addresses and the RSSI of the plurality of wireless networks in other frequency bands. According to the method, MAC addresses and RSSI of other frequency bands are scanned and matched with the MAC address of the currently connected wireless network, and then the matched wireless network is selected for connection, so that the technical problems that in the prior art, when the names of multi-frequency-band wireless networks are different, the networks cannot be automatically switched, and only manual network distribution can be carried out manually are solved, and the use experience of a user is improved.
In order to implement the foregoing embodiment, the present application further provides a terminal device 200, and fig. 5 is a schematic structural diagram of a terminal device provided in the embodiment of the present application. Referring to fig. 5, the terminal device 200 includes: a memory 210, a processor 220 and a computer program stored on the memory 210 and operable on the processor 220, wherein the processor 220 implements the multiband handover method of a wireless network described in the above embodiments when executing the program.
In order to implement the above embodiments, the present application further proposes a computer-readable storage medium, on which a computer program is stored, and when instructions in the storage medium are executed by a processor, the multi-band handover method of a wireless network described in the above embodiments is implemented.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (6)

1. A method for multiband handover of a wireless network, the method comprising the steps of:
acquiring a current Media Access Control (MAC) address of a currently connected wireless network;
scanning MAC addresses and Received Signal Strength Indication (RSSI) of a plurality of wireless networks of at least two other frequency bands;
selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the currently connected wireless network, and the MAC addresses and the RSSIs of the plurality of wireless networks of other frequency bands;
the selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the currently connected wireless network and the MAC addresses and RSSIs of the plurality of wireless networks of other frequency bands comprises:
selecting N wireless networks with matched MAC addresses from the plurality of wireless networks as alternative wireless networks according to the current MAC address and the MAC addresses of the plurality of wireless networks of other frequency bands, wherein N is a positive integer; and
screening the N alternative wireless networks according to the RSSI of the N alternative wireless networks, and selecting a matched wireless network from the N alternative wireless networks for connection;
the screening the N candidate wireless networks according to the RSSI of the N candidate wireless networks, and selecting a matched wireless network from the N candidate wireless networks for connection comprises the following steps:
acquiring the RSSI of the N alternative wireless networks;
comparing the frequency band of the currently connected wireless network with the frequency bands of the N alternative wireless networks, and if the frequency band of the currently connected wireless network is greater than the frequency bands of the N alternative wireless networks, selecting the alternative wireless network with the RSSI greater than a first preset threshold value for connection; and if the frequency band of the currently connected wireless network is smaller than the frequency bands of the N alternative wireless networks, selecting the alternative wireless network with the RSSI smaller than a second preset threshold value for connection.
2. The multiband handover method of claim 1, wherein the first ten bits of the MAC address are the same and are the MAC address match.
3. A multi-band switching apparatus for a wireless network, the apparatus comprising:
the acquisition module is used for acquiring the current Media Access Control (MAC) address of the currently connected wireless network;
the scanning module is used for scanning the MAC addresses and the Received Signal Strength Indicator (RSSI) of a plurality of wireless networks of at least two other frequency bands;
the selection module is used for selecting a matched wireless network from the plurality of wireless networks for connection according to the current MAC address of the currently connected wireless network, and the MAC addresses and the RSSIs of the plurality of wireless networks in other frequency bands;
the selection module is specifically configured to:
selecting N wireless networks with matched MAC addresses from the plurality of wireless networks as alternative wireless networks according to the current MAC address and the MAC addresses of the plurality of wireless networks of other frequency bands, wherein N is a positive integer; and
screening the N alternative wireless networks according to the RSSI of the N alternative wireless networks, and selecting a matched wireless network from the N alternative wireless networks for connection;
the selection module further comprises:
an obtaining unit, configured to obtain the RSSI of the N candidate wireless networks;
the selection unit is used for comparing the frequency band of the currently connected wireless network with the frequency bands of the N alternative wireless networks, and if the frequency band of the currently connected wireless network is larger than the frequency bands of the N alternative wireless networks, selecting the alternative wireless network with the RSSI larger than a first preset threshold value for connection; and if the frequency band of the currently connected wireless network is smaller than the frequency bands of the N alternative wireless networks, selecting the alternative wireless network with the RSSI smaller than a second preset threshold value for connection.
4. The multi-band switching apparatus of claim 3, wherein the first ten digits of said MAC address are the same and match said MAC address.
5. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the multiband handover method of a wireless network according to any of claims 1-2.
6. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out a method of multiband handover of a wireless network according to any of claims 1-2.
CN201811548996.4A 2018-12-18 2018-12-18 Multi-frequency band switching method and device of wireless network Active CN111343674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811548996.4A CN111343674B (en) 2018-12-18 2018-12-18 Multi-frequency band switching method and device of wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811548996.4A CN111343674B (en) 2018-12-18 2018-12-18 Multi-frequency band switching method and device of wireless network

Publications (2)

Publication Number Publication Date
CN111343674A CN111343674A (en) 2020-06-26
CN111343674B true CN111343674B (en) 2022-05-31

Family

ID=71184973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811548996.4A Active CN111343674B (en) 2018-12-18 2018-12-18 Multi-frequency band switching method and device of wireless network

Country Status (1)

Country Link
CN (1) CN111343674B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268955B (en) * 2021-12-23 2023-07-07 智小途(上海)数字科技有限公司 Wireless communication network node signal cognition matching method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106413051A (en) * 2016-09-21 2017-02-15 乐视控股(北京)有限公司 WiFi connection method and system
CN107046699A (en) * 2017-04-27 2017-08-15 新华三技术有限公司 A kind of wireless terminal roaming method and device
WO2017206067A1 (en) * 2016-05-31 2017-12-07 华为技术有限公司 Access point switching method and terminal device
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103619054B (en) * 2013-11-20 2017-04-19 小米科技有限责任公司 Method and device for selecting network frequency band and router
CN105407542A (en) * 2015-12-25 2016-03-16 珠海奔图电子有限公司 Wireless communication connection automatic establishment method, station apparatus and system
CN105933942A (en) * 2016-06-16 2016-09-07 北京小米移动软件有限公司 Frequency band switching method and device
CN107920354A (en) * 2017-11-21 2018-04-17 珠海奔图电子有限公司 The connection method of multiband equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017206067A1 (en) * 2016-05-31 2017-12-07 华为技术有限公司 Access point switching method and terminal device
CN106413051A (en) * 2016-09-21 2017-02-15 乐视控股(北京)有限公司 WiFi connection method and system
CN107046699A (en) * 2017-04-27 2017-08-15 新华三技术有限公司 A kind of wireless terminal roaming method and device
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN111343674A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
US11240740B2 (en) Method for processing radio frequency resources and terminal
US10499323B2 (en) Indicating network availability in dual coverage regions
JP4796151B2 (en) Method and apparatus for receiving a selected broadcast program at a mobile station
TWI791077B (en) Communication apparatus and communication method for low power fast smart scanning
JP4436930B2 (en) Apparatus and method for facilitating selection by mobile nodes of the network communicating over a network using hierarchical selection processing
JP4083744B2 (en) System and takeover mechanism in frequency multi-band environment and apparatus therefor
CN101841875B (en) Realization method and realization device for cell reselection
CN107306386B (en) Method for triggering terminal roaming by access point and access point
US20090180359A1 (en) Method of operating a cognitive radio device and cognitive radio device
US11641617B2 (en) Mechanisms for initial access to a radio access network
EP3050364A1 (en) Managing selection of wlan
CN107046699B (en) Wireless terminal roaming method and device
CN105703789A (en) Communications apparatus and method for processing multiple terrestrial radio activities
US20110086657A1 (en) Cell search for flexible spectrum use
WO2017068529A1 (en) Systems and methods of transmitting and switching embms service in a heterogeneous network
KR20020026944A (en) Protocol utilization based on mobile country code
CN111342985A (en) Network distribution method, Internet of things system and Internet of things equipment
CN111865455B (en) Communication method based on radar signal detection, access point equipment and chip
CN111343674B (en) Multi-frequency band switching method and device of wireless network
CN112333794B (en) Network connection method and device
JP6824407B2 (en) Service instruction method, base station, terminal, and system
US20210084503A1 (en) Remote management of displayed network technology symbols
CN103152801B (en) The method and apparatus being connected is set up with wireless access device
JPH11220436A (en) Radio communication system, mobile radio equipment and method for selecting radio communication system to operate in the same reception enable area
US20190306721A1 (en) A system and method for allocating a wireless channel using a plurality of access points

Legal Events

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