CN114585028A - Network switching method and related equipment thereof - Google Patents

Network switching method and related equipment thereof Download PDF

Info

Publication number
CN114585028A
CN114585028A CN202011380498.0A CN202011380498A CN114585028A CN 114585028 A CN114585028 A CN 114585028A CN 202011380498 A CN202011380498 A CN 202011380498A CN 114585028 A CN114585028 A CN 114585028A
Authority
CN
China
Prior art keywords
wireless
electronic device
wireless routing
signal strength
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011380498.0A
Other languages
Chinese (zh)
Other versions
CN114585028B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011380498.0A priority Critical patent/CN114585028B/en
Publication of CN114585028A publication Critical patent/CN114585028A/en
Application granted granted Critical
Publication of CN114585028B publication Critical patent/CN114585028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context 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
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • 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

Landscapes

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

Abstract

The embodiment of the application provides a network switching method and related equipment thereof, wherein the method comprises the following steps: the first wireless equipment detects that the signal intensity of the electronic equipment is smaller than a signal intensity threshold value when the electronic equipment communicates with the first wireless equipment, and sends first information to the controller; the controller sends a first instruction to the first wireless device according to the first information, and the first wireless device sends a first data frame to the electronic device according to the first instruction; the controller sends a second instruction to at least one second wireless routing device according to the first information, and the second wireless routing device acquires the signal strength of a first reply frame of the electronic device according to the second instruction and sends the signal strength to the controller; the controller determines a third wireless routing device from the second wireless routing devices according to the signal strength, and the electronic device switches the communication connection with the first wireless routing device to the communication connection with the third wireless routing device. The method can switch the wireless router of the electronic equipment, and improves the quality of network communication.

Description

Network switching method and related equipment thereof
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network switching method and a related device.
Background
With the continuous development of wireless communication technology, Wireless Local Area Networks (WLANs) are widely used. In areas such as shopping malls and office buildings, a plurality of WLAN networks are usually deployed, and when a user carries an electronic device and moves in these areas, the user moves from a signal range of one WLAN network to a signal range of another WLAN network, and in order to keep the electronic device in a networking state, switching between different Access Points (APs) is required.
According to the IEEE 802.11 standard, the 802.11k, 802.11r, and 802.11v protocols included therein may enable an electronic device to smoothly handoff from one access point to another. However, due to the influence of cost or deployment strategy, or early products, some electronic devices do not support 802.11k, 802.11r, and 802.11v protocols, and there is a need for improving handover efficiency for roaming in WLAN networks.
Disclosure of Invention
The embodiment of the application provides a network switching method and related equipment thereof, which have good compatibility and stability and improve the communication quality of electronic equipment.
In a first aspect, an embodiment of the present application provides a network switching system, including a controller, a first wireless routing device, at least one second wireless routing device, and an electronic device, where the first wireless routing device is in wireless communication connection with the electronic device; the first wireless slave device detects the signal intensity when the electronic device communicates with the first wireless slave device, and when the signal intensity is smaller than a preset signal intensity threshold value, the first wireless slave device sends first information to the controller; the controller sends a first instruction to a first wireless device according to the first information, wherein the first instruction is used for instructing the first wireless device to send a first data frame to the electronic device; the first wireless device sends a first data frame to the electronic device according to the first instruction, and the first data frame is used for replying a first reply frame by the electronic device according to the first data frame; the controller sends a second instruction to at least one second wireless routing device according to the first information, wherein the second instruction is used for instructing the second wireless routing device to monitor the first reply frame and report the signal strength of the first reply frame; the second wireless routing equipment monitors the first reply frame replied by the electronic equipment according to the second instruction, acquires the signal intensity of the first reply frame, and sends the signal intensity of the first reply frame to the controller; the controller determines a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, so that the electronic device switches the communication connection with the first wireless routing device to the communication connection with the third wireless routing device.
The first wireless routing device may be a wireless access point AP1, such as a wireless router, that is, a current access point for establishing a communication connection with the electronic device, the second wireless routing device may be a neighbor access point of the access point AP1, and there may be a plurality of wireless routing devices, the third wireless device may be a target access point AP2 selected from the neighbor access points, that is, a target access point for the electronic device to switch a communication connection, and the controller may be a control end, which is selected from the plurality of access points, or an access point separately provided in addition to the plurality of access points, or a wireless access point controller (AC) or a control device integrated in the access point. The first information may be indication information, the first data frame may be an empty data frame, that is, a data frame with an empty data content portion, and the first reply frame replied by the electronic device according to the empty data frame may be an Acknowledgement Character (ACK).
According to the network switching system, when the signal intensity of the electronic equipment is smaller than the signal intensity threshold value when the electronic equipment is communicated with the first wireless routing equipment, the controller indicates the first wireless routing equipment to send the first data frame to the electronic equipment, so that the electronic equipment has the data frame to be sent out, the second wireless routing equipment can monitor the signal intensity of the electronic equipment, and then the controller selects the third wireless routing equipment from at least one second wireless routing equipment, so that the electronic equipment which does not support the 802.11k, 802.11r and 802.11v protocols is switched to be in communication connection with the third wireless routing equipment, good compatibility and stability are achieved, and the communication quality of the electronic equipment is improved.
In a possible implementation manner of the first aspect of the embodiment of the present application, the detecting, by the first wireless device, the signal strength when the electronic device communicates with the first wireless device by using a wireless network includes: the first wireless device collects signal strength of the electronic device when communicating with the first wireless device in a first sampling period; if the first wireless routing device does not acquire the signal strength in the first sampling period, sending a second data frame to the electronic device; and the first wireless equipment acquires the signal strength of a second reply frame sent by the electronic equipment according to the second data frame.
Optionally, the first wireless slave device may send a null data frame to the electronic device when the signal strength of the electronic device is not acquired, and may also send the null data frame to the electronic device according to a preset frequency, so as to ensure that the electronic device has the data frame to be sent out for the first wireless slave device to acquire. With reference to the first aspect and the foregoing implementation manner, the first sampling period may be 1 second/time, and if the signal intensity of the electronic device is acquired in the first sampling period, it is directly determined whether the signal intensity is smaller than an intensity threshold; if the signal intensity of the electronic equipment is not detected, the empty data frame is actively sent to the electronic equipment so as to ensure that the data frame is sent out by the electronic equipment in a first sampling period for detection of a first wireless slave device, and therefore the communication quality of the electronic equipment is improved; in addition, the first wireless slave device transmits the null data frame to the electronic device only under the condition that the signal strength of the electronic device is not detected, so that the communication power consumption of the first network device can be reduced.
In a possible implementation manner of the first aspect of the embodiment of the present application, when the signal strength is smaller than a preset signal strength threshold, the sending, by the first wireless device, first information to the controller includes: determining whether the signal intensity of second reply frames of a preset first number continuously received is smaller than a first signal intensity threshold value, wherein each second reply frame corresponds to a second data frame sent in a first sampling period; and if so, sending first information to the controller. In the foregoing implementation manner, the preset first number may be 3, and by determining whether the signal strengths of the consecutive second reply frames are all smaller than the first signal strength threshold, the accuracy of the determination result may be further improved, so as to further improve the communication quality of the electronic device.
In a possible implementation manner of the first aspect of the embodiment of the present application, after the first wireless device acquires the signal strength of the second reply frame sent by the electronic device according to the second data frame, the method includes: when the signal intensity of a second reply frame acquired by the first wireless device is smaller than a first signal intensity threshold value, acquiring the signal intensity of the electronic device in a second sampling period, wherein the second sampling period is smaller than the first sampling period; if the signal intensity of the electronic equipment is not detected in the second sampling period, sending a third data frame to the electronic equipment; and acquiring the signal intensity of a third reply frame sent by the electronic equipment according to the third data frame. Optionally, after the signal strength of third reply frames of the electronic device is obtained, the first wireless slave device may determine whether the signal strength of a preset proportion of the third reply frames in the received third reply frames of a preset second number is smaller than a second signal strength threshold, where each third reply frame corresponds to a third data frame sent in a second sampling period; and if so, sending first information to the controller.
In the above embodiment, the second sampling period may be 0.2 seconds/time, the second number may be 20, and the preset proportion may be 70%, if the signal intensity of the electronic device is acquired in the second sampling period, it is directly determined whether the signal intensity is smaller than the intensity threshold; if the signal intensity of the electronic equipment is not detected, the empty data frame is actively sent to the electronic equipment to ensure that the data frame is sent out by the electronic equipment in the second sampling period for the first wireless router to detect, so that the communication quality of the electronic equipment is improved, and the accuracy of the judgment result can be further improved by shortening the sampling period and judging whether the signal intensity for many times is smaller than the second signal intensity threshold value.
In a possible implementation manner of the first aspect of the embodiment of the present application, the obtaining, by a second wireless routing device, the signal strength of the first reply frame, and sending the signal strength of the first reply frame to the controller includes: and the second wireless routing equipment acquires the signal strength of the first return frame and sends the signal strength of the first return frame and the available bandwidth of the second wireless routing equipment to the controller.
In the above embodiment, after receiving the signal strength of the first reply frame and the available bandwidth of the second wireless routing device, the controller may determine, according to a preset calculation model, a third wireless routing device from the at least one second wireless routing device. In the foregoing implementation manner, the controller determines the third wireless routing device (i.e., the target access point) through the available bandwidth of the second wireless routing device and the signal strength of the first reply frame, selects the superior third wireless routing device, and can improve the communication quality of the electronic device after the electronic device is switched to be in communication connection with the third wireless routing device.
In a possible implementation manner of the first aspect of the embodiment of the present application, before the determining, by the controller, a third wireless routing device from among at least one second wireless routing device according to the signal strength of the first reply frame, the method further includes: the controller sends a third instruction to the first wireless slave device, where the third instruction is used to instruct the first wireless slave device to stop sending the first data frame to the electronic device. In this implementation, the controller instructs the first wireless slave device to stop sending the first data frame in time, which can reduce power consumption of communication between the first wireless slave device and the electronic device.
In a possible implementation manner of the first aspect of the embodiment of the present application, after the determining, by the controller, a third wireless routing device from among the at least one second wireless routing device according to the signal strength of the first reply frame, the method further includes: the controller sends fourth instructions to the rest of the second wireless routing devices except the third wireless routing device, wherein the fourth instructions are used for instructing the rest of the wireless routing devices to add the electronic device to a communication blacklist. On this basis, the electronic device switching the communication connection with the first wireless routing device to the communication connection with the third wireless routing device includes: the controller sending a fifth instruction to the first wireless controlled device, the fifth instruction being used to instruct the first wireless controlled device to disconnect communication with the electronic device; the electronic equipment sends a network access request to the second wireless routing equipment; and the third wireless routing equipment receives the network access request and establishes communication connection with the electronic equipment.
After the other wireless routing devices add the electronic device to the communication blacklist, even if the electronic device subsequently sends an access request to the wireless routing device, the communication connection cannot be established, so that the possibility that the electronic device successfully establishes the communication connection with a third wireless routing device is improved.
In a second aspect, an embodiment of the present application provides a network handover method, where the method is performed by a first wireless device, and includes: detecting signal strength when an electronic device communicates with the first wireless slave device, and sending first information to a controller when the signal strength is smaller than a preset signal strength threshold, wherein the electronic device is in wireless communication connection with the first wireless slave device, and the first information is used for instructing the controller to send a first instruction to the first wireless slave device; receiving a first instruction sent by the controller, and sending a first data frame to the electronic device according to the first instruction, wherein the first data frame is used for instructing the electronic device to reply a first reply frame based on the first data frame; receiving a fifth instruction sent by the controller, wherein the fifth instruction is used for instructing the first wireless device to disconnect the communication connection with the electronic device.
According to the network switching method, when the signal intensity of the electronic equipment is smaller than the signal intensity threshold value when the electronic equipment is communicated with the first wireless routing equipment, the first wireless routing equipment sends the first data frame to the electronic equipment according to the indication of the controller, so that the electronic equipment has the data frame to be sent out, the second wireless routing equipment can monitor the signal intensity of the electronic equipment, and then the controller selects the third wireless routing equipment from at least one second wireless routing equipment, so that the electronic equipment which does not support the 802.11k, 802.11r and 802.11v protocols is switched to be in communication connection with the third wireless routing equipment, good compatibility and stability are achieved, and the communication quality of the electronic equipment is improved.
In a possible implementation manner of the second aspect of the embodiment of the present application, the detecting a signal strength when the electronic device communicates with the first wireless device includes: acquiring signal strength of the electronic equipment and the first wireless device during communication within a first sampling period; if the signal intensity of the electronic equipment is not acquired in the first sampling period, sending a second data frame to the electronic equipment; and acquiring the signal intensity of a second reply frame sent by the electronic equipment according to the second data frame. Optionally, when it is determined that the signal strengths of the second reply frames of the preset first number received consecutively are all smaller than the first signal strength threshold, the first information is sent to the controller, and each second reply frame corresponds to a second data frame sent in the first sampling period.
In the above embodiment, the first wireless slave device actively sends the first data frame to the electronic device, so as to ensure that the electronic device has the data frame sent out for the first wireless slave device to detect in the first sampling period, thereby improving the communication quality of the electronic device.
In a possible implementation manner of the second aspect of the embodiment of the present application, after acquiring the signal strength of the second reply frame sent by the electronic device according to the second data frame, the method further includes: when the signal intensity of the acquired second reply frame is smaller than a first signal intensity threshold value, acquiring the signal intensity of the electronic equipment in a second sampling period, wherein the second sampling period is smaller than the first sampling period; if the signal intensity of the electronic equipment is not acquired in the second sampling period, sending a third data frame to the electronic equipment; and acquiring the signal intensity of a third reply frame sent by the electronic equipment according to the third data frame. Optionally, after the signal strength of third reply frames of the electronic device is obtained, the first wireless slave device may determine whether the signal strength of a preset proportion of the third reply frames in the received third reply frames of a preset second number is smaller than a second signal strength threshold, where each third reply frame corresponds to a third data frame sent in a second sampling period; and if so, sending first information to the controller. Therefore, the accuracy of the judgment result can be further improved by shortening the sampling period and judging whether the signal intensity of a plurality of times is smaller than the second signal intensity threshold value.
In a possible implementation manner of the second aspect of the embodiment of the present application, the method further includes: and receiving a third instruction sent by the controller, and stopping sending a first data frame to the electronic equipment according to the third instruction.
In the above embodiment, the controller may send an instruction to stop constructing the first data frame to the first wireless routing device after a preset time period (e.g. 4 seconds) after sending the first instruction, or after receiving the signal strength settlement results sent by all the second wireless routing devices, so as to reduce the communication power consumption of the first wireless routing device.
In a possible implementation manner of the second aspect of the embodiment of the present application, the first data frame includes a source address, a destination address, and data content, and the data content is a null value. The adoption of the null data frame reduces the influence on the network performance, the electronic equipment and the wireless routing equipment performance, can also reduce the influence on the network, and avoids causing burden on the network environment.
In a third aspect, an embodiment of the present application provides a network handover method, where the method is executed by a controller, and includes: receiving first information sent by a first wireless device; sending a first instruction to a first wireless routing device according to the first information, and sending a second instruction to at least one second wireless routing device, where the first instruction is used to instruct the first wireless routing device to send a first data frame to the electronic device, the second instruction is used to instruct the second wireless routing device to monitor a first reply frame sent by the electronic device and report the signal strength of the first reply frame, and the first reply frame replies to the electronic device based on the first data frame; and determining a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, so that the electronic device switches the communication connection with the first wireless routing device to the communication connection with the third wireless routing device.
According to the network switching method, when the signal intensity of the electronic equipment is smaller than the signal intensity threshold value when the electronic equipment is communicated with the first wireless routing equipment, the controller indicates the first wireless routing equipment to send the first data frame to the electronic equipment, so that the electronic equipment has the data frame to be sent out, the second wireless routing equipment can monitor the signal intensity of the electronic equipment, and then the controller selects the third wireless routing equipment from at least one second wireless routing equipment, so that the electronic equipment which does not support the 802.11k, 802.11r and 802.11v protocols is switched to be in communication connection with the third wireless routing equipment, good compatibility and stability are achieved, and the communication quality of the electronic equipment is improved.
In a possible implementation manner of the third aspect of the embodiment of the present application, determining, according to the signal strength of the first reply frame, a third wireless routing device from among the at least one second wireless routing device includes: acquiring the signal strength of a first reply frame and the available bandwidth of the second wireless routing device; and determining a third wireless routing device from at least one second wireless routing device according to the signal strength of the first reply frame, the available bandwidth of the second wireless routing device and a preset calculation model.
In the above embodiment, the controller determines the third wireless routing device (i.e., the target access point) through the available bandwidth of the second wireless routing device and the signal strength of the first reply frame, and may select the third wireless routing device that is better, so that after the electronic device switches to the communication connection with the third wireless routing device, the communication quality of the electronic device may be improved.
In a possible implementation manner of the third aspect of the embodiment of the present application, before the determining, according to the signal strength of the first reply frame, a third wireless routing device from among the at least one second wireless routing device, the method further includes: sending a third instruction to the first wireless device, the third instruction being used to instruct the first wireless device to stop sending the first data frame to the electronic device.
In the above embodiment, the controller may transmit an instruction to the first wireless slave device to stop constructing the first data frame, to reduce communication power consumption of the first wireless slave device.
In a possible implementation manner of the third aspect of the embodiment of the present application, after determining, according to the signal strength of the first reply frame, a third wireless routing device from among the at least one second wireless routing device, the method further includes: and sending fourth instructions to the rest of the second wireless routing devices except the third wireless routing device, wherein the fourth instructions are used for instructing the rest of the wireless routing devices to add the electronic device into a communication blacklist.
In the above embodiment, the other wireless routing devices make the electronic device unable to establish communication connection with the other wireless routing devices by setting the communication blacklist, so that the electronic device can accurately access the third wireless routing device, and the communication quality of the electronic device is further improved.
In a possible implementation manner of the third aspect of the embodiment of the present application, the causing the electronic device to switch the communication connection with the first wireless routing device to the communication connection with the third wireless routing device includes: sending a fifth instruction to the first wireless controlled device, the fifth instruction being for instructing the first wireless controlled device to disconnect communication with the electronic device.
In the above embodiment, in the network connection switching process of the electronic device, the controller actively instructs the first wireless routing device to disconnect the communication connection with the electronic device, so as to promote the subsequent process of establishing the communication connection between the electronic device and the third wireless routing device, and further improve the communication quality of the electronic device.
In a possible implementation manner of the third aspect of the embodiment of the present application, the method further includes: and receiving second information sent by the third wireless routing device, wherein the second information represents communication connection information between the third wireless routing device and the electronic device.
In the above embodiment, the third wireless routing device sends the communication connection information with the electronic device to the controller, so that when the electronic device continues to leave the signal range of the third wireless routing device, the above process is repeatedly executed, and the communication quality of the electronic device is further improved.
In a possible implementation manner of the third aspect of the embodiment of the present application, the first data frame includes a source address, a destination address, and data content, and the data content is a null value. The adoption of the null data frame reduces the influence on the network performance, the electronic equipment and the wireless routing equipment performance, can also reduce the influence on the network, and avoids causing burden on the network environment.
In a fourth aspect, an embodiment of the present application provides an apparatus, where the apparatus is included in a wireless routing device, and the apparatus has a function of implementing a behavior of the wireless routing device in the foregoing first aspect and possible implementations of the foregoing first aspect, or is included in a controller, and implements a function of a controller behavior in a second aspect and possible implementations of the foregoing second aspect. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a receiving module or unit, a processing module or unit, etc.
In a fifth aspect, an embodiment of the present application provides a wireless routing device, including a processor and a memory; the processor is coupled to a memory, the memory storing program instructions, and the program instructions stored in the memory when executed by the processor perform any of the methods of the first aspect.
In a sixth aspect, an embodiment of the present application provides a controller, including a processor and a memory; the processor is coupled to a memory, the memory storing program instructions, and the processor executing any of the methods of the second aspect when the program instructions stored in the memory are executed by the processor.
In a seventh aspect, an embodiment of the present application provides a chip including a processor. The processor is adapted to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof, or the second aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to perform the method according to the first aspect or any one of the methods according to the second aspect.
In a ninth aspect, an embodiment of the present application provides a computer program product, including: computer program code which, when executed by a processor, causes the processor to perform the method of any of the first aspect or the second aspect.
Drawings
Fig. 1 is an application scenario diagram of an example network handover method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an example network device according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an exemplary network handover method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another network handover method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another network handover method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" and "third" 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, features defined as "first", "second", "third" may explicitly or implicitly include one or more of the features.
In the IEEE 802.11 standard, an 802.11k protocol defines a Radio Resource Management (RRM) mechanism, so that an electronic device supporting 802.11k can better know about a radio frequency environment where a wireless client is located, and thus the electronic device can better perform roaming handover; for electronic equipment which does not support 802.11k protocol, peripheral wireless environment measurement cannot be performed through standard protocol, which has important influence on selection of target access point in moving process, resulting in scanning of electronic equipment at multiple radio frequencies, thereby consuming more switching time. The 802.11r protocol focuses on reducing the time required for authentication during roaming, and is beneficial to supporting real-time response such as voice, and the protocol allows the electronic equipment to establish a safe and quality of service (QoS) state with a new access point before switching, so that connection loss and call interruption can be minimized, and the switching process of the electronic equipment during movement between the access points is improved; for electronic devices that do not support the 802.11r protocol, the access point cannot interact with the electronic device through the standard protocol, so that the electronic device cannot be quickly switched to a new access point. The 802.11v protocol, which provides an important efficient mechanism for simplifying network deployment and management, will specify key parameters on the wireless infrastructure control wireless terminal adapter, such as determining which access point to connect to, etc.; most of the support for 802.11v can be realized in software, products and upgrading existing electronic equipment, and the control of the electronic equipment, the selection of networks, the optimization of the networks and the acquisition and detection of statistical data can be realized through 802.11 protocols. However, for electronic devices that do not support the 802.11k, 802.11r, and 802.11v protocols, how to improve the network switching efficiency becomes an urgent problem to be solved.
In the conventional technology, when a current access point detects that the signal intensity of electronic equipment is smaller than a threshold value, the electronic equipment is considered to leave the signal range of the current access point, then a scanning request is sent to neighbor access points of the current access point, and after scanning response messages of all the neighbor access points are received, one neighbor access point is selected as a target access point, so that the electronic equipment is switched to the target access point. However, in the switching process, if the electronic device has no data to send, or the data sending period is long, or the sending data amount is small, the signal strength information of the electronic device cannot be effectively detected, which may cause network switching failure and affect the communication quality of the electronic device.
The network switching method provided by the embodiment of the application can be applied to the scene shown in fig. 1. Fig. 1 shows a wireless communication networking network comprising a plurality of network devices, wherein the network devices may include a wireless routing device (including access points AP1, AP2, AP3) and a control end 4, the access points are used for the electronic device 21 to access the wireless communication network, and the control end 4 is used as a control core of the wireless communication networking network and is responsible for managing the access points; it should be noted that, in the embodiment of the present application, the number of the access points is not limited, and the control end 4 may be one access point selected from a plurality of access points, may also be an access point separately arranged besides the plurality of access points, and may also be a wireless controller AC or a control device integrated in the access point. Assuming that the electronic device 21 is currently accessed to the network through the AP1, in the moving process of the electronic device 21 (for example, moving from the point a to the point B), the AP1 determines, according to the received signal strength of the electronic device 21, whether the electronic device 21 is going to leave the signal range of the AP1, and if so, reports the signal to the control terminal 4; the control end 4 determines a target access point (for example, AP2) from the neighbor access points of the AP1, and further enables the electronic device 21 to establish a communication connection with the AP 2. In order to improve the accuracy of the result of determining whether the electronic device 21 will leave the signal range of the AP1, in the embodiment of the present application, a sampling period may be set, and if the signal strength of the electronic device 21 cannot be detected in the sampling period, the AP1 actively issues a data frame (e.g., null data frame) to the electronic device 21, and triggers the electronic device 21 to reply an ACK response frame, so as to ensure that the signal strength of the electronic device 21 can be detected in the sampling period, and further improve the communication quality of the electronic device.
Alternatively, the plurality of network devices may be connected by wire or wirelessly. In one possible embodiment, the wireless communication network is a home lan, an enterprise lan or other wireless lan within a larger dwelling size. In some embodiments, the wireless routing device is a wireless switch for a wireless communication network, a WiFi wireless router, an optical network terminal, a WiFi wireless repeater, or a Customer Premises Equipment (CPE) terminal, a portable terminal hotspot, or the like. The electronic devices include devices connected to a wireless network through WIFI, such as a wireless router, a mobile phone, a tablet computer, a notebook, a large screen television, a smart home single product, a Personal Digital Assistant (PDA), a point of sale (POS), a vehicle-mounted computer, and the like.
Fig. 2 shows an exemplary structure of a network device, which includes a processor 110, a memory 111, a communication module 112, and a power management module 113.
The processor may include one or more of a central processing unit, an application processor, a baseband processor, and the like. The processor may be a neural hub and a command center of the wireless router. The processor can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. The memory may be used to store computer-executable program code, which includes instructions. The processor executes various functional applications of the network device and data processing by executing instructions stored in the memory. The memory may include a program storage area and a data storage area, such as data storing a sound signal to be played, and the like. For example, the memory may be a double data rate synchronous dynamic random access memory DDR or a Flash memory Flash, etc.
The communication module may provide a solution including wireless local area network (e.g., WIFI network), bluetooth, Zigbee, mobile communication network, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and other communication applied to the network device. The communication module may be one or more devices integrating at least one communication processing module. The communication module may include an antenna, and the antenna may have only one array element, or may be an antenna array including a plurality of array elements. The communication module can receive electromagnetic waves through the antenna, frequency-modulate and filter electromagnetic wave signals, and send the processed signals to the processor. The communication module can also receive a signal to be sent from the processor, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves through the antenna to radiate the electromagnetic waves.
The power management module may receive input from the battery and/or charger to power the processor, memory, and communication module, etc.
It should be noted that fig. 2 does not limit the structure of the network device, and may include more or less components than those shown in the drawings, or combine some components, or different components, for example, the network device may further include a display screen, an indicator light, a motor, a control (e.g., a key), a gyroscope sensor, an acceleration sensor, and the like.
Fig. 3 is a schematic flowchart of an example of a network handover method provided in an embodiment of the present application, where the method includes:
s101, the AP1 performs signal strength detection on the electronic device that establishes the communication connection, and does not detect the signal strength of the electronic device within a preset sampling period.
Specifically, when the electronic device establishes a communication connection with an access point AP1, the AP1 communicates with the electronic device on the same channel, and the access point (which may be understood as the current access point of the electronic device) may initiate a signal strength detection process for the electronic device, for example, detect the signal strength of a data frame transmitted by the electronic device. In this embodiment, a sampling period may be set, the signal strength of the data frame of the electronic device in the sampling period is detected, and whether the communication state between the electronic device and the AP1 is good or not may be inferred by detecting the signal strength of the electronic device. Alternatively, the AP1 may detect the signal strength indication (RSSI) of the collected electronic device data frame.
Optionally, the AP1 may also perform signal strength detection according to the priority of the electronic device, and the AP1 may detect the electronic device only when the priority of the electronic device is higher than a preset level, so as to reduce the operating power consumption of the AP 1.
S102, the AP1 transmits a null data frame to the electronic device.
Specifically, if the AP1 does not receive the data frame sent by the electronic device in the sampling period, which may be because the electronic device itself does not send the data frame in the sampling period, the AP1 may have an error in determining the status of the electronic device. Therefore, for this case, the AP1 may actively send a null data frame (null data) to the electronic device to ensure that the electronic device can reply with a response frame after receiving the null data frame, i.e., ensure that the electronic device has a data frame sent out during the sampling period. Optionally, the structure of the null data frame includes fields such as a source address, a destination address, and data content, where a data content portion is a null value.
Optionally, the sampling period may be 1 second/time, 0.5 second/time, or 0.2 second/time, and the like, and may be set according to actual needs.
S103, the electronic device replies an ACK frame to the AP1 according to the null data frame.
Specifically, after receiving the null data frame sent by the AP1, the electronic device needs to reply to the AP1 with an ACK frame.
S104, the AP1 detects the RSSI of the ACK frame, and determines that the signal strength of the ACK frame is less than the preset signal strength threshold.
S105, the AP1 sends first information to the control end, wherein the first information can carry an AP1 identifier (APid), an electronic equipment identifier (state) and a channel identifier (channel); the first information may further include signal strength or communication status identification of the AP1 communicating with the electronic device, wherein the communication status identification may indicate that the electronic device is in poor communication with the AP 1; the channel identifier (channel) is an identifier of a channel for communication after the electronic device establishes a communication connection with the AP1, and the channel corresponds to an operating frequency for the electronic device to communicate with the AP 1.
Specifically, a signal strength threshold (e.g., -80 decibel-milliwatt (dBm)) may be set in this embodiment, and if the AP1 determines that the signal strength of the received ACK frame is smaller than the signal strength threshold, it may be determined that the communication state between the electronic device and the AP1 is poor, and the AP1 may report the state of the electronic device to the control end, so that the control end determines a new access point as the target access point for the electronic device.
In another implementation, if the AP1 detects the signal strength of the electronic device within the preset sampling period, it is not necessary to send an empty data frame to the electronic device, and it may directly determine whether the detected signal strength is smaller than a signal strength threshold, and if the detected signal strength is smaller than the signal strength threshold, send the first information to the control end.
According to the network switching method, the current access point actively sends the null data frame to the electronic equipment so as to ensure that the electronic equipment sends out the data frame in the sampling period, so that the current access point can acquire the signal intensity of the electronic equipment, the accuracy of the judgment result of the communication state between the electronic equipment and the current access point determined by the current access point is improved, and the network switching efficiency of the electronic equipment is improved.
In an implementable embodiment, to improve the accuracy of the determination result of the communication state between the electronic device and the AP1, the determining the communication state between the AP1 and the electronic device may include: the AP1 may periodically collect the RSSI of the data frame of the electronic device, and send a null data frame to the electronic device if the RSSI of the data frame of the electronic device is not collected in a first sampling period (e.g., 1 second/time); if the RSSI of the data frame of the electronic equipment is acquired in the first sampling period, whether the RSSI is smaller than a first signal strength threshold value or not is directly judged. Optionally, a number threshold (for example, 3) may be set, and if the RSSI of all the continuously received 3 response frames is less than the first signal strength threshold, it may be determined that the communication state of the AP1 and the electronic device is poor.
In another embodiment, the process of determining the communication status of the AP1 with the electronic device may also be referred to as a schematic diagram shown in fig. 4, and the process may include:
s201, the AP1 acquires RSSI of the electronic device data frame in a first sampling period, specifically, the first sampling period may be 1 second/time.
And S202, judging whether the RSSI of the data frame of the electronic equipment is acquired, if so, executing S205, and if not, executing S203.
S203, the AP1 sends a null data frame to the electronic device if the RSSI of the data frame of the electronic device is not collected in the first sampling period.
S204, when the electronic equipment receives the empty data frame, the electronic equipment replies an ACK frame to the AP1, and the AP1 acquires the RSSI of the ACK frame replied by the electronic equipment according to the empty data frame.
S205, if the RSSI of the data frame of the electronic equipment is acquired in the first sampling period, judging whether M (such as 3) continuous RSSIs are all smaller than a first signal strength threshold value; if yes, go to S206; if not, S201 is executed.
S206, the AP1 acquires the RSSI of the electronic device data frame in a second sampling period, specifically, the second sampling period may be 0.2 seconds/time.
And S207, judging whether the RSSI of the data frame of the electronic equipment is acquired, if so, executing S210, and if not, executing S208.
S208, the RSSI of the data frame of the electronic device is not collected in the second sampling period, and the AP1 sends a null data frame to the electronic device.
In one implementation, the AP1 may not collect the RSSI of the electronic device data frame in the second sampling period, but may directly send a null data frame to the electronic device at the frequency of the sampling period.
S209, when the electronic device receives the null data frame, it replies an ACK frame to the AP1, and the AP1 acquires the RSSI of the ACK frame replied by the electronic device according to the null data frame.
S210, if the RSSI of the data frame of the electronic device is collected in the second sampling period, determining whether all the RSSI of a preset proportion (e.g. 70%) of the N (e.g. 20) RSSI are less than a second signal strength threshold; if yes, go to S211; if not, go to S206.
And S211, determining that the communication state between the AP1 and the electronic equipment is poor.
In another implementation, if the AP1 transmits a null data frame to the electronic device and the electronic device has its own communication data frame, the AP1 may detect the signal strength of the communication data frame and the signal strength of the ACK frame, respectively, and the AP1 may select the detected signal strength later to perform the determination.
In another implementation manner, if, in step S210, after multiple rounds (for example, 3 rounds) of determinations, the RSSI in the RSSI received by the AP1 in a preset proportion is not less than the second signal strength threshold, the operation may return to step S201 again, and the RSSI of the data frame of the electronic device is continuously collected in the first sampling period, so as to reduce the operating power consumption of the AP 1.
In another implementation, if the AP1 can detect the signal strength of the electronic device in the first sampling period or the second sampling period, it is not necessary to send a null data frame to the electronic device, and it can directly determine whether the detected signal strength is smaller than the signal strength threshold.
According to the network switching method, the sampling period is dynamically adjusted and the signal strength is judged for multiple times, so that the accuracy of the judgment result of the communication state between the current access point and the electronic equipment can be further improved, and a stable and reliable network switching process is realized.
To facilitate understanding of the whole process of the above network handover method, the method will be described again with an embodiment. As shown in fig. 5, the method may include:
s301, the AP1 performs signal strength detection on the electronic device that establishes the communication connection, and does not detect the signal strength of the electronic device within a preset sampling period.
S302, the AP1 sends a null data frame to the electronic device.
S303, the electronic device replies an ACK frame to the AP1 according to the null data frame.
S304, the AP1 detects the RSSI of the ACK frame, and determines that the signal strength of the ACK frame is less than the preset signal strength threshold.
S305, the AP1 sends the first information to the control end.
S301 to S305 are similar to S101 to S105 in the above embodiments, and reference may be made to the above description, which is not repeated herein.
S306, the control end searches the neighbor access point of the AP 1.
After the AP1 reports the state of the electronic device to the control end, the control end may search for neighbor access points of the AP1, and determine a target access point (denoted as AP2) from the neighbor access points, so that the electronic device switches the communication connection with the AP1 to the communication connection with the AP 2.
Specifically, finding neighbor access points depends on the network neighbor relationship of the AP 1: if the access points are in wired connection, the corresponding neighbor access points can be determined according to the geographic positions of the access points, and the geographic positions of the access points can be recorded in a parameter mode when the access points are deployed; if the access points are in wireless mesh networking, the neighbor access points can be determined according to the connection relation and channel detection of the access points. By way of example and not limitation, the control end may send an instruction to all access points to send a broadcast message periodically indicating that all access points are at maximum transmission power, where the message includes at least their own ID and location, and then the broadcast message that the AP1 can receive, i.e., the broadcast message sent by its neighbor access points, may determine the neighbor access points of the AP 1.
In an implementation manner, after finding the neighbor access point of the AP1, the control end may first query the load conditions of the neighbor access points, and if the load of one neighbor access point is full, the control end does not consider the possibility of taking the neighbor access point as the target access point, that is, the neighbor access point may be removed.
S307, the control end sends a first instruction to the AP1 to instruct the AP1 to send a null data frame to the electronic device, wherein the first instruction carries an electronic device identifier (state).
Wherein the control end may instruct the AP1 to transmit null data frames to the electronic device at a fixed frequency.
S308, the control end sends a second instruction to each neighbor access point to indicate the neighbor access point to monitor the signal strength of the data frame of the electronic equipment, and the second instruction carries an electronic equipment identifier (state) and a channel identifier (channel).
Specifically, the control end unicast-sends the second instruction to each neighbor access point, and assuming that a channel when the electronic device communicates with the AP1 is a channelA, the neighbor access point needs to switch a working channel of the neighbor access point to the channelA to monitor the signal strength of the electronic device, so that the second instruction may also instruct the working channel of the neighbor access point to be switched to the channel where the electronic device is located to monitor the signal strength of the electronic device.
In another implementation, if there are multiple electronic devices communicating with the AP1 on the same channel, the neighboring access points may also monitor the signal strength of other electronic devices, and the neighboring access points may identify the electronic device to be monitored according to the electronic device identifier in the data frame sent by the electronic device.
S309, the AP1 transmits a null data frame to the electronic device at a fixed frequency.
S310, the electronic device replies the ACK frame to the AP1, and the neighbor access point monitors the signal strength of the ACK frame replied by the electronic device.
Specifically, after receiving the null data frame sent by the AP1, the electronic device may reply an ACK frame to the AP1, and since the communication channel of the neighbor access point at this time is also switched to the communication channel where the electronic device is located, the neighbor access point may also monitor the ACK frame, and may obtain the signal strength of the ACK frame.
For example, if each access point AP is connected to the control end by a wire, each access point AP and the control end may communicate with each other through a wire channel, and each AP may communicate with the devices under it on different wireless channels, for example, the channel through which the AP1 communicates with the electronic device may be a wireless channel 2, and the channel through which the neighbor access point AP2 communicates with the access device may be a wireless channel 3; if each access point AP is wirelessly connected to the control end, the communication channel between the control end and each access point AP is the same channel (may be a wireless channel 1), each AP may communicate with the device under it on a different wireless channel, the communication channel between the AP1 and the electronic device may be a wireless channel 2, and the communication channel between the neighboring access point and the access device may be a wireless channel 3.
In this embodiment, after receiving the second instruction from the control end, the neighboring access point may adopt a time-sharing working mode, communicate with the access device in the channel 3 at the first time period, switch to the channel 2 to monitor the signal strength of the electronic device at the second time period, then switch to the channel 3 to communicate with the access device at the next time period, and so on. Optionally, since the network state of the access device that has accessed the neighbor access point may be affected when the neighbor access point switches channels, in order to reduce such an effect, the signal strength of the electronic device may also be monitored by using an auxiliary chip installed in the neighbor access point, that is, the auxiliary chip monitors on the channel 2, while the neighbor access point itself still operates on the original channel 3.
Optionally, the neighbor access point may stop the time-sharing operation mode after monitoring the signal strength of the ACK frame of the electronic device, may also stop the operation mode after monitoring the signal strength of a certain number of ACKs, or stop the operation mode after a certain time length, and resume the operation state that continues on the channel 3.
Optionally, if the AP1 sends a null data frame to the electronic device and the electronic device sends its own communication data frame, the neighboring access point may also monitor the signal strength of the communication data frame and the signal strength of the ACK frame, respectively, and the neighboring access point may select the signal strength after the monitored time to perform the calculation.
S311, the neighbor access point sends the available bandwidth and the signal strength of the ACK frame of the electronic equipment to the control end.
After receiving the second instruction, the neighbor access points may set a detection duration (e.g., 4 seconds), and each neighbor access point collects signal strengths of a plurality of data frames of the electronic device within the detection duration, calculates the collected signal strengths, and sends the calculated signal strengths to the control end. As an example and not by way of limitation, if the neighbor access point APx collects the signal strengths of n ACK frames, the signal strength reported to the control end may be:
Figure BDA0002808350290000121
wherein the RSSIi(i is more than or equal to 1 and less than or equal to n) is the signal strength of the ith ACK frame acquired by the APx, and the RSSIminThe minimum value of the signal strength of n ACK frames is m, which is an empirical value that can be adjusted according to actual needs.
The available bandwidth reported by APx to the control terminal may be:
Figure BDA0002808350290000122
wherein, BANDi(i is more than or equal to 1 and less than or equal to n) is the available bandwidth when APx acquires the ith ACK frame, BANDmaxThe maximum bandwidth of APx. In the step, the neighbor access point can detect the signal intensity of the data frame of the electronic equipment by sending the null data frame by the current access point, and the detection result is reported to the control end, so that the control end can determine the better target access point.
S312, the control end sends a third instruction to the AP1 to stop constructing the null data frame, where the third instruction carries an electronic device identifier (state).
Specifically, after receiving the available bandwidth and signal strength results reported by each neighboring access point, the controller may send a third instruction to the AP1, so that the AP1 stops sending null data frames to the electronic device.
S313, the control end determines the AP2 according to the reported information of each neighbor access point.
Specifically, after receiving the signal strength and the available bandwidth reported by each neighbor access point, the control end may calculate the weight of each neighbor access point by the following formula:
Figure BDA0002808350290000123
then, the control end may select the access point with the largest weight as the target access point AP 2.
Alternatively, the execution sequence of S312 and S312 may be replaced, that is, after the control end determines the target access point AP2, the control end sends a third instruction to the AP 1.
S314, the control end sends a fourth instruction for adding the electronic equipment into the communication blacklist to other neighbor access points except the AP2, and the fourth instruction carries an electronic equipment identifier (state).
And S315, adding the electronic equipment into a communication blacklist by the rest neighbor access points.
After the other neighbor access points add the electronic device to the communication blacklist, even if the electronic device searches signals of the other neighbor access points, the electronic device cannot establish communication connection with the neighbor access points.
S316, the control end sends a fifth instruction to the AP1, where the fifth instruction carries an electronic device identifier (state), and the fifth instruction disconnects communication with the electronic device.
S317, the AP1 disconnects communication with the electronic device.
The fifth instruction may further instruct the AP1 to add the electronic device to the communication blacklist after the AP1 is disconnected from the electronic device, so as to avoid the possibility that the subsequent electronic device establishes a communication connection with the AP 1.
S318, the electronic equipment sends an access request to the searched access point, and the access request carries an electronic equipment identifier (steady).
After the electronic device is disconnected from the AP1, it may continue to search for access point signals, and when a certain access point signal is searched, it may send an access request to the access point. The access points may include the AP2 and may include other neighbor access points except the AP2, but since the other neighbor access points have blacklisted the electronic device, the electronic device cannot establish a communication connection with the neighbor access points even though the electronic device sends an access request. Thus, ultimately, the electronic device can only establish a communication connection with the AP 2.
S319, the AP2 establishes a communication connection with the electronic device.
S320, the AP2 sends second information to the control end, the second information represents the communication connection information between the AP2 and the electronic device, and the second information carries an access point identifier (APid) and an electronic device identifier (state).
Optionally, the time duration for the control end to notify the other neighbor access points to add the electronic device to the communication blacklist may be preset (for example, set for 2 seconds), and after timeout, the other neighbor access points may remove the electronic device from the communication blacklist; or after the AP2 reports the information that the connection with the electronic device has been established to the control end, the control end sends a blacklist removal instruction to the remaining neighboring access points, so that each of the remaining neighboring access points removes the electronic device from the communication blacklist. In this embodiment, by setting the communication blacklist, the electronic device can be accurately accessed to the target access point, and the network switching efficiency of the electronic device is further improved.
In another embodiment, the steps of S307 to S313 may be implemented in the following manner, and other steps are similar to the above embodiment: after finding out each neighbor access point, the control end can inquire the load condition of each neighbor access point, and directly take the neighbor access point with the minimum load as the target access point AP 2.
In another embodiment, the first instruction may further instruct the AP1 to send the null data frame only once, and S309 may be replaced by: the AP1 sending a null data frame to the electronic device; the step of S313 may also be implemented in the following manner, and other steps are similar to the above-described embodiment: and the control end selects the neighbor access point corresponding to the maximum signal strength as the target access point AP2 according to the received signal strengths.
In another embodiment, the steps of S311 to S313 may also be performedThe following steps are used, and the other steps are similar to the above embodiment: after detecting the signal intensity of the electronic equipment, each neighbor access point can immediately report the signal intensity and the available bandwidth to the control end; the control end can set a detection duration, only receives the signal strength and the available bandwidth sent by the neighbor access point in the detection duration, and sends a third instruction for stopping constructing the null data frame to the AP1 if the detection duration is exceeded; then the control end calculates the RSSI of each neighboring access point by using the calculation formula in the above S311APxAnd BANDAPxAnd then, the formula in S313 is adopted to calculate the weight of each neighboring access point, and the access point with the largest weight is selected as the target access point AP 2.
For the implementation process of each step in fig. 5, reference may be made to the description of the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The foregoing details an example of a network handover method provided in the embodiments of the present application. It will be appreciated that the network device, in order to implement the above-described functionality, comprises corresponding hardware and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the network device may be divided into functional modules according to the above network switching method example, for example, the functional modules may be divided into functional modules corresponding to each function, such as a storage unit, a processing unit, a communication unit, and the like, or two or more functions may be 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. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The network device provided by the embodiment is used for executing the network switching method, so that the same effect as the implementation method can be achieved.
In case of an integrated unit, the network device may further comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the network device. The memory module can be used to support the network device in executing stored program codes and data, etc. And the communication module can be used for supporting the communication between the network device and other devices.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the network device according to this embodiment may be a device having the structure shown in fig. 2.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is enabled to execute the network handover method according to any of the above embodiments.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute the above related steps, so as to implement the network switching method in the above embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the apparatus runs, the processor may execute the computer execution instructions stored in the memory, so as to make the chip execute the network device method in the above-mentioned method embodiments.
The network device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the network device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (19)

1. A network switching system is characterized by comprising a controller, a first wireless routing device, at least one second wireless routing device and an electronic device, wherein the first wireless routing device is in wireless communication connection with the electronic device;
the first wireless slave device detects the signal intensity when the electronic device communicates with the first wireless slave device, and when the signal intensity is smaller than a preset signal intensity threshold value, the first wireless slave device sends first information to the controller;
the controller sends a first instruction to a first wireless device according to the first information, wherein the first instruction is used for instructing the first wireless device to send a first data frame to the electronic device;
the first wireless device sends a first data frame to the electronic device according to the first instruction, and the first data frame is used for replying a first reply frame by the electronic device according to the first data frame;
the controller sends a second instruction to at least one second wireless routing device according to the first information, wherein the second instruction is used for instructing the second wireless routing device to monitor the first reply frame and report the signal strength of the first reply frame;
the second wireless routing equipment monitors the first reply frame replied by the electronic equipment according to the second instruction, acquires the signal intensity of the first reply frame, and sends the signal intensity of the first reply frame to the controller;
the controller determines a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, so that the electronic device switches the communication connection with the first wireless routing device to the communication connection with the third wireless routing device.
2. The system of claim 1, wherein the first wireless device detects a signal strength of the electronic device when communicating with the first wireless device, comprising:
the first wireless device collects signal strength of the electronic device when communicating with the first wireless device in a first sampling period;
if the first wireless routing device does not acquire the signal strength in the first sampling period, sending a second data frame to the electronic device;
and the first wireless equipment acquires the signal strength of a second reply frame sent by the electronic equipment according to the second data frame.
3. The system of claim 2, wherein the first wireless device, after acquiring the signal strength of the second reply frame sent by the electronic device according to the second data frame, comprises:
when the signal intensity of a second reply frame acquired by the first wireless device is smaller than a first signal intensity threshold value, acquiring the signal intensity of the electronic device in a second sampling period, wherein the second sampling period is smaller than the first sampling period;
if the signal intensity of the electronic equipment is not acquired in the second sampling period, sending a third data frame to the electronic equipment;
and acquiring the signal intensity of a third reply frame sent by the electronic equipment according to the third data frame.
4. The system according to any of claims 1-3, wherein the second wireless routing device obtaining the signal strength of the first reply frame and sending the signal strength of the first reply frame to the controller comprises:
and the second wireless routing equipment acquires the signal strength of the first return frame and sends the signal strength of the first return frame and the available bandwidth of the second wireless routing equipment to the controller.
5. The system of claim 1, wherein the electronic device switching the communication connection with the first wireless routing device to the communication connection with the third wireless routing device comprises:
the controller sends fourth instructions to the rest of the second wireless routing devices except the third wireless routing device, wherein the fourth instructions are used for instructing the rest of the wireless routing devices to add the electronic device to a communication blacklist;
the controller sends a fifth instruction to the first wireless controlled device, wherein the fifth instruction is used for instructing the first wireless controlled device to disconnect the communication connection with the electronic device;
the electronic equipment sends a network access request to the second wireless routing equipment;
and the third wireless routing equipment receives the network access request and establishes communication connection with the electronic equipment.
6. A network handover method performed by a first wireless device, comprising:
detecting signal strength when an electronic device communicates with the first wireless slave device, and sending first information to a controller when the signal strength is smaller than a preset signal strength threshold, wherein the electronic device is in wireless communication connection with the first wireless slave device, and the first information is used for instructing the controller to send a first instruction to the first wireless slave device;
receiving a first instruction sent by the controller, and sending a first data frame to the electronic device according to the first instruction, wherein the first data frame is used for instructing the electronic device to reply a first reply frame based on the first data frame;
receiving a fifth instruction sent by the controller, wherein the fifth instruction is used for instructing the first wireless device to disconnect the communication connection with the electronic device.
7. The method of claim 6, wherein detecting the signal strength of the electronic device when communicating with the first wireless device comprises:
acquiring signal strength of the electronic equipment and the first wireless device during communication within a first sampling period;
if the signal intensity of the electronic equipment is not acquired in the first sampling period, sending a second data frame to the electronic equipment;
and acquiring the signal intensity of a second reply frame sent by the electronic equipment according to the second data frame.
8. The method of claim 7, wherein after obtaining the signal strength of the second reply frame sent by the electronic device according to the second data frame, the method further comprises:
when the signal intensity of the acquired second reply frame is smaller than a first signal intensity threshold value, acquiring the signal intensity of the electronic equipment in a second sampling period, wherein the second sampling period is smaller than the first sampling period;
if the signal intensity of the electronic equipment is not acquired in the second sampling period, sending a third data frame to the electronic equipment;
and acquiring the signal intensity of a third reply frame sent by the electronic equipment according to the third data frame.
9. The method of claim 6, further comprising:
and receiving a third instruction sent by the controller, and stopping sending a first data frame to the electronic equipment according to the third instruction.
10. The method of any of claims 6-9, wherein the first data frame includes a source address, a destination address, and a data content, the data content being a null value.
11. A network handover method, performed by a controller, comprising:
receiving first information sent by a first wireless device;
sending a first instruction to the first wireless routing device according to the first information, and sending a second instruction to at least one second wireless routing device, where the first instruction is used to instruct the first wireless routing device to send a first data frame to an electronic device, the second instruction is used to instruct the second wireless routing device to monitor a first reply frame sent by the electronic device and report the signal strength of the first reply frame, and the first reply frame replies to the electronic device based on the first data frame;
and determining a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame, so that the electronic device switches the communication connection with the first wireless routing device to the communication connection with the third wireless routing device.
12. The method of claim 11, wherein determining a third wireless routing device from the at least one second wireless routing device according to the signal strength of the first reply frame comprises:
acquiring the signal strength of a first reply frame and the available bandwidth of the second wireless routing device;
and determining a third wireless routing device from at least one second wireless routing device according to the signal strength of the first reply frame, the available bandwidth of the second wireless routing device and a preset calculation model.
13. The method of claim 11 or 12, wherein prior to said determining a third wireless routing device from the at least one second wireless routing device based on the signal strength of the first reply frame, the method further comprises:
sending a third instruction to the first wireless device, the third instruction being used to instruct the first wireless device to stop sending the first data frame to the electronic device.
14. The method of claim 11 or 12, wherein after said determining a third wireless routing device from the at least one second wireless routing device based on the signal strength of the first reply frame, the method further comprises:
and sending fourth instructions to the rest of the second wireless routing devices except the third wireless routing device, wherein the fourth instructions are used for instructing the rest of the wireless routing devices to add the electronic device to a communication blacklist.
15. The method of claim 14, wherein causing the electronic device to switch the communication connection with the first wireless routing device to the communication connection with the third wireless routing device comprises:
sending a fifth instruction to the first wireless controlled device, the fifth instruction being for instructing the first wireless controlled device to disconnect communication with the electronic device.
16. The method of claim 11, wherein the first data frame comprises a source address, a destination address, and a data content, and wherein the data content is null.
17. A wireless routing device, comprising: a processor and a memory; coupled to the processor and a memory storing program instructions that, when executed by the processor, perform the method of any of claims 6 to 10.
18. A controller, comprising: a processor and a memory; coupled to the processor and a memory storing program instructions that, when executed by the processor, perform the method of any of claims 11 to 16.
19. A computer-readable storage medium, in which a computer program is stored, the computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 6 to 10, or cause the processor to carry out the method of any one of claims 11 to 16.
CN202011380498.0A 2020-11-30 2020-11-30 Network switching method and related equipment thereof Active CN114585028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011380498.0A CN114585028B (en) 2020-11-30 2020-11-30 Network switching method and related equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011380498.0A CN114585028B (en) 2020-11-30 2020-11-30 Network switching method and related equipment thereof

Publications (2)

Publication Number Publication Date
CN114585028A true CN114585028A (en) 2022-06-03
CN114585028B CN114585028B (en) 2024-09-10

Family

ID=81767972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011380498.0A Active CN114585028B (en) 2020-11-30 2020-11-30 Network switching method and related equipment thereof

Country Status (1)

Country Link
CN (1) CN114585028B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014194492A1 (en) * 2013-06-05 2014-12-11 华为技术有限公司 Access point selection method and device
US20150139010A1 (en) * 2012-11-04 2015-05-21 Kt Corporation Access point selection and management
CN105247911A (en) * 2013-03-28 2016-01-13 英国电讯有限公司 Access point selection in a wireless network
CN105430699A (en) * 2015-11-18 2016-03-23 北京华信联创科技有限公司 Method, device and system for inter-AP high-speed switching of terminal in WLAN network
CN108738098A (en) * 2018-08-14 2018-11-02 重庆邮电大学 A kind of method of seamless switching between wlan network multi-access point
US20190082365A1 (en) * 2017-09-12 2019-03-14 Interdigital Ce Patent Holdings Device and method for signal strength estimation in a wireless network with multiple access points
US20200154322A1 (en) * 2016-05-31 2020-05-14 Huawei Technologies Co., Ltd. Method for Handover Between Access Points, and Terminal Equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150139010A1 (en) * 2012-11-04 2015-05-21 Kt Corporation Access point selection and management
CN105247911A (en) * 2013-03-28 2016-01-13 英国电讯有限公司 Access point selection in a wireless network
WO2014194492A1 (en) * 2013-06-05 2014-12-11 华为技术有限公司 Access point selection method and device
CN105430699A (en) * 2015-11-18 2016-03-23 北京华信联创科技有限公司 Method, device and system for inter-AP high-speed switching of terminal in WLAN network
US20200154322A1 (en) * 2016-05-31 2020-05-14 Huawei Technologies Co., Ltd. Method for Handover Between Access Points, and Terminal Equipment
US20190082365A1 (en) * 2017-09-12 2019-03-14 Interdigital Ce Patent Holdings Device and method for signal strength estimation in a wireless network with multiple access points
CN108738098A (en) * 2018-08-14 2018-11-02 重庆邮电大学 A kind of method of seamless switching between wlan network multi-access point

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐茜亮;王维;: "基于WiFi的漫游切换无缝接入技术研究", 工矿自动化, no. 02 *

Also Published As

Publication number Publication date
CN114585028B (en) 2024-09-10

Similar Documents

Publication Publication Date Title
US10341944B2 (en) Access point, wireless terminal, storage medium, and method utilizing pointer signal to communicate in available channel
EP2672764B1 (en) Method, apparatus, and computer program product for wireless short-range communication disconnection
US9042829B2 (en) Method, apparatus, and computer program product for wireless short-range communication
US10555221B2 (en) Cell discovery method, device, and system
WO2016181547A1 (en) Wireless communication system
WO2015009453A1 (en) Mobile device tracking prevention method and system
JP2004023768A (en) Radio communication system, access point, mobile terminal detecting unit, base station, mobile terminal, method of radio communication change and instruction thereof, and program
CN104272809A (en) Active scanning method and apparatus
US10123230B1 (en) Method and apparatus for measurement information transmission at a hotspot device
US11729682B2 (en) Device and method for prediction of metrics in a wireless network with multiple access points
CN103052142A (en) Network selection method, mobile terminal and base station
CN103841624A (en) Method, equipment and system for scanning wireless network
JP2014022847A (en) Radio base station device, radio terminal device, radio communication device, communication control method, and communication control program
CN110691391A (en) Method, device and system for switching access node and sending signal parameter information
JP4046705B2 (en) Mobile communication support apparatus, mobile communication terminal, and mobile communication system
US20230232268A1 (en) Measurement method, measurement apparatus, terminal, and network device
JP2018121130A (en) Communication device, control method and program
CN114585028B (en) Network switching method and related equipment thereof
KR101892538B1 (en) Method for Frequency Band Switching In Wireless Local Access Network
CN112514419A (en) Method and device for terminal to acquire measurement information, communication equipment and storage medium
JP2019016969A (en) Communication device, communication method and program
CN114698060B (en) Method and device for quickly discovering wireless access point
WO2024093744A1 (en) Cell selection method and terminal device
CN117440452A (en) Switching method and device
CN115551040A (en) Network switching method, electronic device and storage medium

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