CN107801222B - Bluetooth and WiFi switching method and system, client and wireless access point equipment - Google Patents

Bluetooth and WiFi switching method and system, client and wireless access point equipment Download PDF

Info

Publication number
CN107801222B
CN107801222B CN201610807040.6A CN201610807040A CN107801222B CN 107801222 B CN107801222 B CN 107801222B CN 201610807040 A CN201610807040 A CN 201610807040A CN 107801222 B CN107801222 B CN 107801222B
Authority
CN
China
Prior art keywords
access point
wireless access
client
network
connection mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610807040.6A
Other languages
Chinese (zh)
Other versions
CN107801222A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610807040.6A priority Critical patent/CN107801222B/en
Priority to PCT/CN2017/087145 priority patent/WO2018045783A1/en
Publication of CN107801222A publication Critical patent/CN107801222A/en
Application granted granted Critical
Publication of CN107801222B publication Critical patent/CN107801222B/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/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1446Reselecting a network or an air interface over a different radio air interface technology wherein at least one of the networks is unlicensed
    • 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 invention discloses a method and a system for switching between Bluetooth and WiFi, a client and wireless access point equipment, which can acquire the original connection mode and the corresponding network load of a wireless access point network currently connected with the client; and acquiring a switching threshold corresponding to the original connection mode, and switching the original connection mode of the wireless access point network when the logical relationship between the corresponding network load and the switching threshold corresponding to the original connection mode meets the switching condition, wherein the network load compared with the switching threshold represents the data service quality of the client under the original connection mode of the wireless access point network.

Description

Bluetooth and WiFi switching method and system, client and wireless access point equipment
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for switching between Bluetooth and WiFi, a client and wireless access point equipment.
Background
At present, handheld terminal equipment has a hard damage, namely battery capacity, which is limited to the existing intelligent terminal battery technology and the size of an intelligent terminal, the battery capacity is generally not too high, and many functions with high utilization rate of the existing intelligent terminal have higher power consumption, such as games, videos and the like. In the face of the problem, how to accurately calculate the electric quantity of the terminal, reduce the power consumption of the terminal and improve the standby time of the terminal is a problem that intelligent terminal products need to solve inevitably.
At present, the internet access function provided by the intelligent terminal generally needs to be connected with a network, or is connected with a data network of an operator in a wireless network mode, or is connected with a network provided by a wireless access point device in a Bluetooth and WiFi mode, and in the prior art, switching between WiFi and a wireless network is mainly performed according to network charges. Since the rate of the wireless network under 4G is not a bottleneck, wifi is definitely lower than the wireless network tariff, mainly in terms of network charges. Therefore, the wifi network is switched to the wifi network reasonably on occasions with wifi, and the core technology of the switching is to switch to the wifi network for data service when detecting that an available wifi network exists around.
For the WiFi and wireless network modes, the power consumption is higher than that of the Bluetooth connection network, and in the prior art, the mode of changing the WiFi connection hotspot of the terminal into the mode of connecting the hotspot by the Bluetooth is only manually operated, so that the complexity of user operation is increased, and the user experience is reduced.
Disclosure of Invention
The embodiments of the present invention provide a method, a client and a WIreless access point device for switching between bluetooth and WiFi (WIreless Fidelity), so as to solve the problems in the prior art that power consumption of the client cannot be effectively controlled due to inconvenience in switching between connection modes of a WIreless access point network, operation of a user is complicated, and experience is poor.
To solve the foregoing technical problem, an embodiment of the present invention provides a method for switching between bluetooth and WiFi, including:
acquiring an original connection mode and a corresponding network load of a wireless access point network currently connected with a client; the corresponding network load is used for representing the data service quality of the client under the original connection mode of the wireless access point network;
acquiring a switching threshold corresponding to an original connection mode according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
and if the logic relation between the corresponding network load and the switching threshold value corresponding to the original connection mode meets the switching condition, switching the original connection mode of the wireless access point network.
In order to solve the above technical problem, an embodiment of the present invention further provides a method for switching between bluetooth and WiFi, including:
at a wireless access point device side, acquiring a current original connection mode and a corresponding network load of at least one client connected with a wireless access point network of the wireless access point device; the corresponding network load is used for representing the data service quality of the client under the original connection mode of the wireless access point network;
acquiring a switching threshold corresponding to the original connection mode of each client according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
if the logic relation between the network load corresponding to a certain client and the switching threshold corresponding to the original connection mode of the client meets the switching condition; and sending a switching prompt message to the corresponding client.
In order to solve the foregoing technical problem, an embodiment of the present invention further provides a client, including:
the first acquisition module is used for acquiring the original connection mode and the corresponding network load of the wireless access point network currently connected with the client; the corresponding network load is used for representing the data service quality of the client under the original connection mode of the wireless access point network; acquiring a switching threshold corresponding to the original connection mode according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
and the first processing module is used for switching the original connection mode of the wireless access point network if the logical relationship between the corresponding network load and the switching threshold value corresponding to the original connection mode meets the switching condition. And the first switching module is used for switching the original connection mode of the wireless access point network when the judgment result is yes.
To solve the foregoing technical problem, an embodiment of the present invention further provides a wireless access point device, including:
the second acquisition module is used for acquiring the current original connection mode and the corresponding network load of at least one client connected with the wireless access point network of the wireless access point equipment; the corresponding network load is used for representing the data service quality of the client under the original connection mode of the wireless access point network; acquiring a switching threshold corresponding to the original connection mode of each client according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
the second processing module is used for judging whether the logic relation between the network load corresponding to a certain client and the switching threshold corresponding to the original connection mode of the client meets the switching condition; and sending a switching prompt message to the corresponding client.
In order to solve the above technical problem, an embodiment of the present invention further provides a bluetooth and WiFi switching system, including a wireless access point device and at least one client as above; the wireless access point equipment is used for providing a wireless access point network for the client and correspondingly switching the connection mode between the wireless access point equipment and the client when the client switches the original connection mode of the wireless access point network.
In order to solve the above technical problem, an embodiment of the present invention further provides a bluetooth and WiFi switching system, including the above wireless access point device and at least one client; the client is connected with a wireless access point network of the wireless access point equipment and is used for receiving switching prompt information sent by the wireless access point equipment which is connected with the client through the wireless access point network; and responding to the switching prompt message according to the selection of the user.
The embodiment of the invention discloses a method and a system for switching between Bluetooth and WiFi, a client and wireless access point equipment, which can acquire the original connection mode and the corresponding network load of a wireless access point network currently connected with the client; determining whether the original connection mode needs to be switched or not according to the corresponding network load and the logical relation of the switching threshold value corresponding to the original connection mode; because each connection mode is provided with a corresponding switching threshold value, and the network load compared with the switching threshold value indicates the data service quality of the client side in the original connection mode of the wireless access point network, the embodiment of the invention can accurately judge whether the client side switches the connection mode, completes the automatic switching of the WiFi and Bluetooth modes, and switches the WiFi to the Bluetooth, thereby effectively reducing the power consumption of the client side, being beneficial to saving electric quantity, enhancing the cruising ability of the client side, optimizing the power consumption and the standby function of a terminal product, and providing better and more careful service for the user.
Drawings
Fig. 1 is a flowchart of a method for switching between bluetooth and WiFi according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for bluetooth and WiFi handover according to a second embodiment of the present invention;
fig. 3 is a schematic block diagram of a bluetooth and WiFi switching system according to a third embodiment of the present invention;
fig. 4 is a schematic block diagram of another bluetooth and WiFi switching system according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, the present embodiment provides a method for switching between bluetooth and WiFi, where a client side actively initiates switching between connection modes of a wireless access point network, so as to implement seamless switching between bluetooth and WiFi on the client side, and when a requirement of the client on a network rate is low, the client side can switch to a bluetooth mode to connect to the wireless access point network (commonly called a hotspot). The method for switching between bluetooth and WiFi in this embodiment includes:
s101, acquiring an original connection mode and a corresponding network load of a wireless access point network currently connected with a client; wherein, the corresponding network load (i.e. the network load of the wireless access point network to which the client is currently connected) is used for representing the data service quality of the client in the original connection mode of the wireless access point network;
s102, acquiring a switching threshold corresponding to an original connection mode according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
s103, if the logic relation between the corresponding network load and the switching threshold value corresponding to the original connection mode meets the switching condition, switching the original connection mode of the wireless access point network.
The method of this embodiment is to actively initiate switching of network connection modes at a client side, where initiation of a switching process is determined by the client itself, and the client of this embodiment may be a handheld terminal and a wearable device, such as an electronic device like a smart phone, a tablet computer, a smart watch, or a computer with a WiFi module and a bluetooth module. The wireless Access Point (AP) providing a wireless Access Point (AP) network may be an intelligent terminal, and further may be an intelligent terminal of the same type as the client, and further, the wireless Access Point device may provide different network connection modes for a plurality of clients at the same time.
In this embodiment, the client has a WiFi module and a bluetooth module, which can respectively provide a WiFi connection mode and a bluetooth connection mode with the wireless access point network. Naturally, in this embodiment, the WiFi module and the bluetooth module may be two separately configured modules, or may be a two-in-one synthesis module. In S101, the connection mode between the client and the wireless access point network may be a WiFi mode or a bluetooth mode. When the wireless access point network is connected, the step S101 may be performed to obtain the original connection mode of the current wireless access point network of the client and the corresponding network load. It is understood that the original connection mode may be a bluetooth mode or a WiFi mode, or other connection modes other than WiFi and bluetooth that can connect to the wireless access point network.
In this embodiment, in order to improve the experience of the user using the client, the WiFi mode may be set as a default access mode. When a user needs to use a client to access the wireless access point network for surfing the internet, the user firstly accesses the wireless access point network for surfing the internet in a wifi mode, after the wifi access is successful, the process of S101-S102 is carried out at intervals to judge the current network flow, and if the current network load is lower than a preset switching threshold value corresponding to the Bluetooth mode, the started Bluetooth related process and service are started.
In S101, the network load corresponding to the current wireless access point network of the client is used to reflect whether the current wireless access point network meets the requirement for the user in the current original connection mode, and how much the network speed resource is redundant on the basis of meeting the requirement. Further, the network load is data which is acquired by the client and is related to the data service quality of the client, the network load can reflect the requirement of the client on the real-time network rate in the original connection mode, when the client is in the use states of browsing a webpage, swiping a microblog and the like, the requirement of the data service on the network rate is not high, the Bluetooth connection mode can generally meet the requirement of the client, when the client is in the use states of video playing, large-scale games and the like, the requirement of the data service of the client on the network rate is generally high, in view of the fact that the maximum network rate which can be provided by a wireless access point network in the common Bluetooth connection mode is about 1Mbps (the actual maximum rate can be determined according to specific equipment), and at the moment, the WiFi mode can more easily meet the requirement of the client.
In view of that the network rate of the wireless access point network to which the client is connected may reflect the data service quality of the client to some extent, in this embodiment, the network load may be the network rate of the wireless access point network to which the client is connected.
Assuming that the original connection mode of the client currently connecting to the wireless access point network is the WiFi mode, the handover threshold corresponding to the WiFi mode may be set as the network rate that can be provided in the bluetooth access mode. The network rate that can be provided in the bluetooth access mode may be a maximum rate in the bluetooth access mode, and in order to ensure network quality after switching to the bluetooth access mode, the network rate that can be provided in the bluetooth access mode may be set to data that is lower than the maximum network rate. Supposing that the maximum network rate in the bluetooth mode is 1Mbps, after the network rate of the client in the WiFi mode is obtained, comparing the maximum network rate with 1Mbps, if the maximum network rate exceeds the switching threshold, the bluetooth mode still cannot meet the requirements of the current client, switching is not needed currently, if the network rate of the client is lower than 1Mbps, the bluetooth mode is very likely to meet the requirements of data services of the client, and considering that the power consumption of the client in the WiFi mode is higher than that in the Bluetooth mode, on the basis of the consideration of reducing the power consumption of the client, the judgment result is that the connection mode of the wireless access point network of the client needs to be switched.
Assuming that the original connection mode of the current wireless access point network connected by the client is the bluetooth mode, the switching threshold corresponding to the bluetooth mode may be set to the maximum rate in the bluetooth mode, for example, 1Mbps/s, after the network rate of the client in the bluetooth mode is obtained, the switching threshold is compared with 1Mbps/s, if the obtained network rate is about 1Mbps/s, the network rate is obtained for several times, if the obtained network rates are all about 1Mbps/s, it is indicated that the requirement of the current data service on the network rate may be high, the bluetooth mode may not meet the requirement of the current client, and the determination result is that the connection mode of the wireless access point network of the client needs to be switched.
Of course, it is expected that the network rate itself is limited by the access mode, and it is not very accurate to use 1mbps/s in the bluetooth mode as a condition, and it needs to be combined with other data to judge more accurately.
Preferably, the network load in S101 of this embodiment includes: and under the original connection mode of the current wireless access point network, the delay percentage of the data packet transmitted in the unit time of the network layer. It is foreseen that, if the client is currently in a data uploading state, the delay percentage is a delay percentage of a data packet uploaded by the client, and if the client is in a data downloading state, the delay percentage may be understood as a delay percentage of a data packet sent by a network layer received by the client. The handover threshold corresponding to each connection mode indicates a requirement that the network load needs to meet in each connection mode. The switching threshold corresponding to the WiFi connection mode is a judgment basis for judging whether the network load in the current WiFi mode meets the requirement or not and whether the WiFi connection mode needs to be switched to the bluetooth connection mode or not, and the network load corresponding to the bluetooth connection mode is a judgment basis for judging whether the network load in the current bluetooth mode meets the requirement or not and whether the bluetooth connection mode needs to be switched to the WiFi connection mode or not.
The following explains the process of S103, taking the current original connection mode of the client as WiFi mode and bluetooth mode as examples.
When the current original connection mode of the client is the WiFi mode, judging whether the network load of the wireless access point network currently connected with the client does not exceed a switching threshold corresponding to the WiFi mode or not according to the network load of the wireless access point network currently connected with the client and a preset switching threshold corresponding to the WiFi mode, and if so, switching the connection mode of the wireless access point network currently required by the client.
It is envisioned that switching WiFi to bluetooth, typically at the current client's data traffic, will require lower network rates than the wireless access point network can provide in a WiFi mode. At this time, the current network flow is small, the delay of the network data packet is generally low, and the current network can also meet the client requirements in a low-speed mode. Therefore, as for the switching threshold corresponding to the WiFi mode, what is reflected is a condition that the delay percentage of the data packet transmitted in unit time needs to meet when the WiFi mode is switched to the bluetooth mode, generally, the delay percentage is lower than the first threshold, where the first threshold may be set according to the strict degree of the requirement on the network quality, and may be set to 1%, that is, the delay percentage of the data packet transmitted in unit time is not more than 1% of the total number of the data packet, and certainly, other reasonable probabilities may also be set, which is not limited in this embodiment.
Of course, the above-mentioned determination method may also be combined with the determination method of the network rate, in S103, when the delay percentage of the data packets transmitted in the unit time in the original connection mode is lower than the first threshold of the total number of the data packets, the network rate in the original connection mode is determined again, and when the network rate is also lower than the maximum rate in the bluetooth mode, the WiFi mode is switched to the bluetooth mode. The above combination is for illustration, and the combination of the two determination conditions is not limited at all.
And secondly, when the original connection mode is a Bluetooth mode, judging whether the network load of the wireless access point network currently connected with the client is not lower than a switching threshold value according to the network load of the wireless access point network currently connected with the client and a preset switching threshold value corresponding to the Bluetooth mode, if so, switching the connection mode of the wireless access point network currently required by the client.
For example, when a user is watching a screen, playing a network tour, and the like, the network speed provided by the bluetooth connection mode may not bring good experience, the delay probability of a data packet sent by a network layer in unit time is generally high, and the screen or the network tour may be blocked, which may cause poor experience for the user. Therefore, for the switching threshold corresponding to the bluetooth connection mode, the probability of the time delay of the data packet of the network in unit time is set to be higher than the second threshold of the total number of the data packets, and since the probability of the time delay of the data packet transmitted by the network layer in unit time is more than 50%, a relatively obvious pause phenomenon occurs, 50% can be used as the second threshold. And when the retransmission probability of the data packets of the internal network among the units is more than 50%, switching from the Bluetooth connection mode to the WiFi connection mode. Of course, in this embodiment, the second threshold may be freely set according to the actual situation or the actual need of the user, when the requirement of the user on the network rate is higher, the second threshold may be set to be lower than 50% of data, and when the tolerance of the user on the network congestion is higher, the second threshold may be set to be higher than 50% of data, which is not limited in this embodiment.
After the above determination, if it is necessary to switch the connection mode, considering that in an area where the client is located, if there is coverage of multiple wireless access point networks, there may be multiple wireless access point networks for the client to select, and network signals of the multiple wireless access point networks have strong or weak, and the client may also select a wireless access point network connection with a stronger network signal when switching the connection mode.
Therefore, the switching of the connection mode of the wireless access point network in S103 includes the following two modes:
the first method is as follows: and when the number of the wireless access point networks which can be accessed by the client is multiple, selecting one wireless access point network from the multiple wireless access point networks as a target network, and connecting the target network according to the switched connection mode.
For a general intelligent terminal, such as a smart phone, a tablet, etc., connectable wireless access point networks can be searched, and the wireless access point networks can be ranked according to the strength of network signals, so this embodiment may select a wireless access point network with the strongest signal from a plurality of networks for connection according to the signal strength of the plurality of wireless access point networks acquired by the client itself, the selected result may be the currently connected wireless access point network or other accessible networks, and the specific selection result may be determined according to actual situations.
If other accessible networks are selected, in order to realize seamless switching of the two connection modes as much as possible and reduce the downtime caused by network switching, the wireless access point network can be connected with the other accessible networks first and then disconnected, and certainly, it is also feasible to disconnect the current network and then connect the other networks. It should be noted that after the handover, the connection mode for connecting the wireless access point network is different from the original access mode.
During switching, the user may be using operations that cannot be interrupted, such as online payment, and if switching is performed, poor experience or more serious economic loss may be brought to the user. The prompting mode includes, but is not limited to, a voice prompt, a prompt box displayed on a display screen, and the like.
If the selected wireless access point network is the current network, refer to the detailed handover procedure related in the following second method.
The second method comprises the following steps: and when the wireless access point network which can be accessed by the client is the current wireless access point network, switching the original connection mode of the current wireless access point network into the corresponding connection mode.
The switching of the access mode of the current wireless access point network to the corresponding connection mode comprises switching from a WiFi mode to a Bluetooth mode and switching from the Bluetooth mode to the WiFi mode.
If the original connection mode of the current wireless access point is the WiFi mode, the current wireless access point needs to be switched to the bluetooth mode, and in view of low power consumption for starting the bluetooth, the bluetooth function of a general wireless access point device is always started, so the client can directly start to discover the bluetooth device (the wireless access point device for starting the bluetooth) after determining that the connection mode needs to be changed. Then, the service of the communicable Bluetooth device is inquired, the channel number of the related information RFCOMM is obtained, then the client initiates an RFCOMM connection request to establish connection of the RFCOMM, and after the wireless access point device receives the connection request and responds, the client establishes application docking with the wireless access point device. When application docking is established, the wireless access point routes synchronously switch the network mode from the WiFi mode to the Bluetooth mode, and then for the wireless access point equipment, data of the client from a subsequent network layer are sent out through a Bluetooth module of the wireless access point equipment, and for the client, the internet is accessed through the Bluetooth mode.
In order to minimize the network interruption time, the network mode of the wireless access point device may be switched from WiFi to bluetooth after the bluetooth connection between the client and the wireless access point device (whether the current wireless access point device or the selected other wireless access point device) is established.
If the original connection mode of the current wireless access point is the Bluetooth mode, switching to the WiFi mode is needed. During switching, the MAC address of the wireless access point device (whether the current wireless access point device or the selected other wireless access point device) may be obtained first, and whether the wireless access point device is connected before is determined, if so, the wireless access point device may be directly connected without inputting a password from the client. At this time, the client can disconnect the Bluetooth connection first and then switch to the WiFi mode immediately, and the corresponding wireless access point equipment only needs to accept the WiFi connection of the client. If the wireless access point device is not connected before, the corresponding password needs to be accessed (no password is directly connected), and the four-way handshake of the WiFi connection is completed, so that the WiFi can be connected. Therefore, in order to reduce the time occupied by network interruption caused by switching of the network connection mode of the client, the wireless access point device can switch the route from the Bluetooth mode to the WiFi mode after establishing WiFi connection with the client. Thereafter, data from the network layer is passed out of the WiFi for use by the client. For the client, a WiFi connection may be established with the wireless access point device and then a bluetooth connection may be disconnected.
Further, in order to reduce the power consumption of the client, only one of the WiFi module and the bluetooth module may be turned on for service at the same time.
In this embodiment, the switching of the connection mode of the wireless access point network is performed based on the power consumption of the client, and in S103, the switching is performed based on a logical relationship between a network load of the client and a preset switching threshold, where the network load includes a delay percentage of a transmission packet in a unit time of a network layer corresponding to the current client. In addition, how to judge the switching of the connection mode of the wireless access point network can be considered from other points of view, for example, considering from the aspects of the use scene of the client, the access content and the like, for the use scene needing high network speed such as watching a video screen, playing a game and the like, the use scene needing a WiFi mode can be divided, for the use scene needing low network speed such as swiping a web page, watching a novel and the like, the use scene needing a bluetooth mode can be divided. When the connection mode is switched, the current use scene of the client is matched with the divided use scenes, and if the matching is successful, the wireless access point network is connected according to the corresponding connection mode (the switching may be carried out or not).
For the access content, data services such as video and games which need a large number of pictures can be divided into access content which needs a WiFi mode, and for web pages which do not contain video and have low requirements for network speed, access content which needs a bluetooth mode can be divided. When judging whether to switch the connection mode, the current access content of the client is matched with the divided access content, and if the matching is successful, the wireless access point network is connected according to the corresponding connection mode (possibly switching or not).
In addition, the remaining power of the client can be used as a standard for switching, and when the remaining power of the client is below a warning value, the connection mode of the wireless access point network can be switched to a Bluetooth mode.
The above-mentioned determination method based on network load, access content, usage scenario, network rate and remaining power of the client may be appropriately and organically combined to obtain a more comprehensive and detailed determination rule, and the combination method is not limited in this embodiment.
For the client, the current network rate cannot be detected every moment under the condition that the wireless access point network is accessed. Therefore, the bottom layer will detect the current network rate in the interval time, which is specifically the average value of the time intervals of the last three handovers. For example, the first three times are approximately switched once in 5 hours, so the device bottom layer automatically detects the network load situation 5 hours away from the last switching, and determines whether the switching condition is satisfied. Therefore, in order to make the switching of the wireless access point network more reasonable, in S101, the current network load of the client may be obtained according to a preset time interval; and then the subsequent judgment processing flow is carried out. Wherein the preset time interval is updated according to the historical time interval.
In order to enable the user to further participate in the handover process, the present embodiment may write an application program for the client, provide a selection interface of network connection modes (WiFi mode and bluetooth mode), and specifically describe each connection mode, for example, a supported use scenario, access content, and a supported maximum network speed. Therefore, the user can switch automatically according to the use scene and the like, which is manual switching of the user, and of course, the embodiment also supports automatic switching of the client, wherein the priority of switching set by the user is higher than that of automatic switching of the client. It is foreseen that the preset time interval is not fixed, but is updated in time according to the frequency and period of the user manual switching and the client automatic switching.
By adopting the switching method of bluetooth and WiFi in this embodiment, the original mode of the wireless access point network currently connected to the client and the corresponding network load in the connection mode are obtained, and then, in combination with the preset switching threshold corresponding to each connection mode of the wireless access point network, whether the logical relationship between the network load and the corresponding switching threshold meets the condition for switching the original connection mode is determined, and switching is performed when the logical relationship meets the condition. Compared with the prior art in which the switching between the data network and the WiFi is performed only in consideration of the charge, the switching to the Bluetooth mode with lower power consumption can be performed when the requirement of the client on the network rate is low, so that the electric quantity is saved, the cruising ability of the client is enhanced, the power consumption and the standby function of a terminal product are optimized, and a high-quality and careful service is provided for a user.
Example two:
referring to fig. 2, this embodiment shows another method for switching between bluetooth and WiFi, where a wireless access point device actively initiates switching of a connection mode of a wireless access point network, and the wireless access point device may determine whether the connection mode of the wireless access point network is switched, when the switching is required, a client may be controlled to implement seamless switching between bluetooth and WiFi, when a client has a low requirement on a network rate, the client may be switched to a bluetooth mode to connect the wireless access point network (commonly called a hotspot), when the client meets the requirement on the network rate, the use of a bluetooth mode with low power consumption is beneficial to reducing power consumption of the client, and extends standby time, so as to bring better experience to the client, and when the client has a high requirement on the network rate, the client may be switched to a WiFi mode to connect the wireless access point network.
S201, acquiring a current connection mode and a corresponding network load of at least one client connected with a wireless access point network of the wireless access point equipment at the wireless access point equipment side; the corresponding network load is used for representing the data service quality of the client under the original connection mode of the wireless access point network;
s202, acquiring a switching threshold corresponding to an original connection mode of each client according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
s203, if the logic relation between the network load corresponding to a certain client and the switching threshold corresponding to the original connection mode of the client meets the switching condition; and sending a switching prompt message to the corresponding client.
The above-mentioned S201 to 203 may be all performed by a wireless access point device, where the wireless access point device may be any device that can share the AP network in a WiFi manner or a bluetooth manner, such as a mobile phone, a tablet, a computer, and the like, and the client in this embodiment is a device that shares the AP network in a WiFi manner or a bluetooth manner, such as an electronic device that is a mobile phone, a tablet, a desktop computer, a smart watch, a smart bracelet, and the like. This is not intended to be limiting in any way.
In this embodiment, the wireless access point device has a WiFi module and a bluetooth module, which can respectively provide a network for the client to connect to itself in a WiFi mode and a bluetooth mode. Naturally, in this embodiment, the WiFi module and the bluetooth module may be separate modules, or may be a two-in-one synthesis module. In S201, the connection mode between the client and the wireless access point network may be a WiFi mode or a bluetooth mode. Certainly, for a wireless access point device, it may provide a wireless access point network for multiple clients at the same time, and the connection mode of each client to the wireless access point network may be different, that is, at the same time, two clients may be connected to the same wireless access point device through WiFi and bluetooth modes respectively to share the network of the device. In view of the low power consumption of the bluetooth mode, generally, both WiFi and bluetooth are turned on simultaneously on the wireless access point device.
Therefore, it can be understood that in S201, the original connection mode may be a bluetooth mode and/or a WiFi mode, or other connection modes besides WiFi and bluetooth that can connect to the wireless access point network.
In S201, the network load corresponding to the current wireless access point network of the client is used to reflect whether the current wireless access point network meets the requirement for the user in the current original connection mode, and how much the network speed resource is redundant on the basis of meeting the requirement. The network load can reflect the requirement of a client on the real-time network rate in an original connection mode, when the client is in a use state of browsing a webpage, swiping a microblog and the like, the requirement of a data service on the network rate is not high, the Bluetooth connection mode can generally meet the requirement of the client, when the client is in a use state of video playing, large-scale games and the like, the requirement of the data service of the client on the network rate is generally higher, and in view of the fact that the maximum network rate which can be provided by a wireless access point network in the common Bluetooth connection mode is about 1Mbps (the actual maximum rate can be determined according to specific equipment), the WiFi mode can more easily meet the requirement of the client at the moment.
Preferably, the network load corresponding to each client in the original connection mode in this embodiment includes: and in the original connection mode of the current wireless access point network, the delay percentage of the data packet transmitted in the unit time of the network layer is reduced. The switching threshold corresponding to each connection mode indicates that the network load needs to meet the requirement under each connection mode, and each client has a corresponding network load. And the network load corresponding to each client is generally different due to the difference of the use state and the connection mode of each client. The handover threshold corresponding to each connection mode indicates a requirement that the network load needs to meet in each connection mode.
For the wireless access point device, the determination process is different when the original connection mode of the client is different.
If the original connection mode is a WiFi mode, judging whether the network load of the wireless access point network currently connected with the client does not exceed a switching threshold value according to the network load of the wireless access point network currently connected with the client and a preset switching threshold value corresponding to the WiFi mode, and if so, switching the connection mode of the wireless access point network currently required by the client.
It is envisioned that switching WiFi to bluetooth, typically the data traffic at the connected client, will require a lower network rate than the wireless access point network can provide in the WiFi mode. At this time, the current network flow of the client is small, the time delay of the network data packet of the client is generally low, and the current network can meet the requirements of the client in a low-speed mode. Therefore, as for the switching threshold corresponding to the WiFi mode, what is reflected is a condition that the delay percentage of the data packet transmitted in unit time needs to be satisfied when the WiFi mode is switched to the bluetooth mode, generally, the delay percentage is lower than the first threshold, where the first threshold may be set according to the strict degree of the requirement on the network quality, and may be set to 1%, that is, the delay percentage of the data packet transmitted (received or transmitted) in unit time by the network layer is not more than 1% of the total number of the data packet, and the client currently needs to perform the switching of the original connection mode of the wireless access point network. Of course, other reasonable probabilities may be set, and this embodiment does not limit this.
If the original connection mode is a Bluetooth mode, judging whether the network load of the wireless access point network currently connected with the client is not lower than a switching threshold value according to the network load of the wireless access point network currently connected with the client and a preset switching threshold value corresponding to the Bluetooth mode, and if so, switching the connection mode of the wireless access point network currently required by the client.
For example, when a user is watching a screen, playing a network tour and the like, the network speed provided by the bluetooth connection mode may not bring good experience, the delay probability of a data packet transmitted by a network layer in unit time is generally high, the screen or the network tour may be blocked, and bad experience is brought to the user. Therefore, for the switching threshold corresponding to the bluetooth connection mode, the delay (or retransmission) probability of the network packet in unit time may be set to be higher than the second threshold of the total number of the data packets, and since the delay probability of the data packet sent by the network layer in unit time is more than 50%, a relatively obvious pause phenomenon occurs, so 50% may be used as the second threshold. And when the probability of the data packet delay of the network in the units is more than 50%, switching from the Bluetooth connection mode to the WiFi connection mode. Of course, in this embodiment, the second threshold may be freely set according to the actual situation or the actual need of the user, when the requirement of the user on the network rate is higher, the second threshold may be set to be lower than 50% of data, and when the tolerance of the user on the network congestion is higher, the second threshold may be set to be higher than 50% of data, which is not limited in this embodiment.
After the original connection mode of the client needs to be switched, the control command can be selected to be sent to the client, and the client executes the control command to complete the switching of the connection mode of the client. Preferably, after it is determined that the original connection mode of the client needs to be switched, a switching prompt message is generally sent to the corresponding client (the client that needs to switch the connection mode), so as to prompt the user that the connection mode can be switched currently, and corresponding processing is performed according to a response of the client.
After S203, the method for switching between bluetooth and WiFi at the client side includes: receiving switching prompt information sent by wireless access point equipment which is connected with the wireless access point equipment through a wireless access point network; and responding to the switching prompt message according to the selection of the user. When the user selects the handover, the client initiates a handover procedure, and the specific handover procedure may refer to the related description of the first embodiment. When the user chooses not to switch, the client side does not need to perform any feedback, and when the wireless access point equipment does not receive any feedback within a certain time, the wireless access point equipment can be considered to abandon the switching.
In view that the network rate of the wireless access point network to which the client is connected may reflect the data service quality of the client to a certain extent, in this embodiment, the network load may also be defined as the network rate of the wireless access point network to which the client is connected.
Assuming that the original connection mode of the client currently connecting to the wireless access point network is the WiFi mode, the handover threshold corresponding to the WiFi mode may be set as the network rate that can be provided in the bluetooth access mode. The network rate that can be provided in the bluetooth access mode may be a maximum rate in the bluetooth access mode, and in order to ensure network quality after switching to the bluetooth access mode, the network rate that can be provided in the bluetooth access mode may be set to data that is lower than the maximum network rate. Supposing that the maximum network rate in the bluetooth mode is 1Mbps/s, after the network rate of the client in the WiFi mode is obtained, comparing the maximum network rate with 1Mbps/s, if the maximum network rate exceeds the switching threshold value, the bluetooth mode still cannot meet the requirements of the current client, the switching is not needed at present, if the network rate of the client is lower than 1Mbps/s, the bluetooth mode is very likely to meet the requirements of data services of the client, and considering that the power consumption of the client in the WiFi mode is higher than that in the Bluetooth mode, the corresponding judgment result is to switch the connection mode of the wireless access point network of the client based on the consideration of reducing the power consumption of the client.
Assuming that the original connection mode of the current wireless access point network connected by the client is the bluetooth mode, the switching threshold corresponding to the bluetooth mode may be set to the maximum rate in the bluetooth mode, for example, 1Mbps/s, after the network rate of the client in the bluetooth mode is obtained, the switching threshold is compared with 1Mbps/s, if the obtained network rate is about 1Mbps/s, the network rate is obtained for several times, if the obtained network rates are all about 1Mbps/s, it is indicated that the requirement of the current data service on the network rate may be high, the bluetooth mode may not meet the requirement of the current client, and the connection mode of the wireless access point network of the client needs to be switched.
In this embodiment, the switching of the connection mode of the wireless access point network is performed based on the network load of the client and a preset switching threshold in consideration of the power consumption of the client. In addition, how to judge whether the original connection mode of the client needs to be switched or not can be considered from other points of view, for example, the use scenes of the client, the access content and the like are considered, the use scenes which need high network speed such as watching a video screen, playing a game and the like can be divided into the use scenes which need a WiFi mode, and the use scenes which do not need high network speed such as swiping a webpage, watching a novel and the like can be divided into the use scenes which need a bluetooth mode. When the connection mode is judged to be switched, the wireless access point equipment only needs to match the current use scene of the client with the divided use scenes, and if the matching is successful, the wireless access point equipment is connected with the wireless access point network according to the corresponding connection mode (the switching may be carried out or not).
For the access content, data services such as video and games which need a large number of pictures can be divided into access content which needs a WiFi mode, and for web pages which do not contain video and have low requirements for network speed, access content which needs a bluetooth mode can be divided. When judging whether to switch the connection mode, the wireless access point equipment only needs to match the current access content of the client with the divided access content, and if the matching is successful, the wireless access point equipment is connected with the wireless access point network according to the corresponding connection mode (possibly switching or not switching).
The above-mentioned determination method based on network load, access content, usage scenario, and network rate may be combined appropriately and organically to obtain a more comprehensive and detailed determination rule, and the combination method is not limited in this embodiment.
For the client, the current network rate cannot be detected every moment under the condition that the wireless access point network is accessed. Therefore, the bottom layer will detect the current network rate in the interval time, which is specifically the average value of the time intervals of the last three handovers. For example, the first three times are approximately switched once in 5 hours, so the device bottom layer automatically detects the network load situation 5 hours away from the last switching, and determines whether the switching condition is satisfied. Therefore, in order to make the switching of the wireless access point network more reasonable, the wireless access point device can obtain the current network load of the client according to the preset time interval; and then the subsequent judgment processing flow is carried out. Wherein the preset time interval is updated according to the historical time interval. The historical time interval here may be a time interval of the last few times, such as the last 3 times, the last 5 times, etc.
By adopting the switching method of the Bluetooth and the WiFi, whether the connection mode with the client needs to be switched or not can be judged on the wireless access point equipment side, and the WiFi mode is switched to the low-power-consumption Bluetooth mode under the condition that the data service quality is not influenced, so that the power consumption of the client is effectively reduced, the electric quantity is saved, the cruising ability of the client is enhanced, the power consumption and the standby function of a terminal product are optimized, and higher-quality service is provided for users.
Example three:
referring to fig. 3, the present embodiment provides a bluetooth and WiFi switching system, which includes a wireless access point device 31 and a client 32; the client 32 is connected to the wireless access point network of the wireless access point device 31; the wireless access point equipment is used for providing a wireless access point network for the client and correspondingly switching the connection mode between the wireless access point equipment and the client when the client switches the original connection mode of the wireless access point network.
In this embodiment, the client 32 includes a first obtaining module 321, configured to obtain an original connection mode and a corresponding network load of a wireless access point network to which the client is currently connected; the corresponding network load is used for representing the data service quality of the client under the original connection mode of the wireless access point network; acquiring a switching threshold corresponding to the original connection mode according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
the first processing module 322 is configured to switch the original connection mode of the wireless access point network if the logical relationship between the corresponding network load and the switching threshold corresponding to the original connection mode satisfies the switching condition. And the first switching module is used for switching the original connection mode of the wireless access point network when the judgment result is yes.
The first obtaining module 321 is configured to obtain a current network load of the client according to a preset time interval; the preset time interval is updated according to the historical time interval.
In this embodiment, preferably, the network load includes: and under the currently connected wireless access point network, the client transmits the delay percentage of the data packet in unit time of the network layer.
Considering that the connection mode of the wireless access point network is generally a WiFi mode and a bluetooth mode, in this embodiment, the first processing module 322 is configured to, when the original connection mode is the WiFi mode, determine whether the network load of the wireless access point network currently connected to the client does not exceed a handover threshold corresponding to the WiFi mode according to the network load of the wireless access point network currently connected to the client and a preset handover threshold corresponding to the WiFi mode, if so, the client currently needs to perform handover of the connection mode of the wireless access point network;
or, when the original connection mode is the bluetooth mode, judging whether the network load of the wireless access point network currently connected to the client is not lower than the switching threshold corresponding to the bluetooth mode according to the network load of the wireless access point network currently connected to the client and a preset switching threshold corresponding to the bluetooth mode, if so, switching the connection mode of the wireless access point network currently required by the client.
When the client is under the coverage of a plurality of AP networks, the first switching module can switch according to the actual situation. Further, the first switching module 323 is configured to, when there are multiple wireless access point networks accessible to the client, select one of the multiple wireless access point networks as a target network, and connect to the target network according to a switched connection manner; and when the wireless access point network which can be accessed by the client is the current wireless access point network, switching the original connection mode of the current wireless access point network into the corresponding connection mode.
In this embodiment, the number of the wireless access point devices is not less than one, and the number of the wireless access point devices of the AP network coverage client is not less than one, and when the client needs to switch the connection mode, the wireless access point network connected (or to be connected) to the client also needs to set the connection mode with the client as the mode required by the client. The wireless access point device can switch the route after the client side opens the connection mode different from the original connection mode.
By adopting the bluetooth and WiFi switching system of this embodiment, the client can obtain the original mode of the wireless access point network currently connected to the client and the corresponding network load in the connection mode, and then determine whether the logical relationship between the network load and the corresponding switching threshold satisfies the switching condition in combination with the preset switching threshold corresponding to each connection mode of the wireless access point network, if so, perform the switching of the connection mode, and the corresponding wireless access point device can perform corresponding switching according to the information of the client. Compared with the prior art in which the switching between the data network and the WiFi is performed only in consideration of the charge, the method and the device for switching between the data network and the WiFi realize the switching between the connection mode of the wireless access point network according to the data service requirement of the client, can switch to the Bluetooth mode with lower power consumption when the requirement of the client on the network rate is lower, are favorable for saving electric quantity, enhance the cruising ability of the client, optimize the power consumption and the standby function of a terminal product, and provide a better and more careful service for a user.
Example four:
referring to fig. 4, another bluetooth and WiFi handoff system is shown, comprising a wireless access point device 41 and at least one client 42; the client 42 is connected to the wireless access point network of the wireless access point device 41.
The wireless access point device 41 includes a second obtaining module 411 and a second processing module 412.
A second obtaining module 411, configured to obtain a current original connection mode and a corresponding network load of at least one client connected to a wireless access point network of the wireless access point device; the corresponding network load is used for representing the data service quality of the client under the original connection mode of the wireless access point network; acquiring a switching threshold corresponding to the original connection mode of each client according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
a second processing module 412, configured to, if a logical relationship between a network load corresponding to a certain client and a handover threshold corresponding to an original connection manner of the client meets a handover condition; and sending a switching prompt message to the corresponding client.
The client 42 includes a receiving module 421, configured to receive a switching prompt message sent by a wireless access point device connected to the client through a wireless access point network; and a response module 422, configured to perform a corresponding response to the switching prompt message according to the selection of the user.
Further, the second obtaining module 411 may obtain, according to a preset time interval, a network load corresponding to at least one client connected to a wireless access point network of the wireless access point device; the preset time interval is updated according to the historical time interval.
Wherein, the network load corresponding to the client comprises: and under the currently connected wireless access point network, the network layer transmits the delay percentage of the data packet in unit time, wherein the delay percentage corresponds to each client. I.e. each client has a delay percentage corresponding to itself.
The second processing module 412 is configured to, if the original connection mode is the WiFi mode, determine whether the network load of the wireless access point network currently connected to the client does not exceed a handover threshold according to the network load of the wireless access point network currently connected to the client and a preset handover threshold corresponding to the WiFi mode, and if so, switch the original connection mode of the wireless access point network currently required by the client; if the original connection mode is a Bluetooth mode, judging whether the network load of the wireless access point network currently connected with the client is not lower than a switching threshold value according to the network load of the wireless access point network currently connected with the client and a preset switching threshold value corresponding to the Bluetooth mode, and if so, switching the original connection mode of the wireless access point network currently required by the client.
By adopting the switching system of bluetooth and WiFi in this embodiment, the wireless access point device can obtain the original mode of the client connected to itself in the currently connected wireless access point network and the corresponding network load in the connection mode, and then determine whether the logical relationship between the network load and the corresponding switching threshold satisfies the condition for switching the original connection mode by combining the preset switching threshold corresponding to each connection mode of the wireless access point network, and if so, can control the client to switch. Compared with the prior art in which the switching between the data network and the WiFi is performed only in consideration of the charge, the embodiment can switch to the Bluetooth mode with lower power consumption when the requirement of the client on the network rate is low, thereby being beneficial to saving electric quantity, enhancing the cruising ability of the client, optimizing the power consumption and the standby function of a terminal product, and providing better and more intimate service for a user.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented in program code executable by a computing device, such that they may be stored on a storage medium (ROM/RAM, magnetic disk, optical disk) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (11)

1. A method of Bluetooth and WiFi handover, comprising:
acquiring an original connection mode and a corresponding network load of a wireless access point network currently connected with a client; the corresponding network load is used for representing whether the current wireless access point network meets the requirement for the user in the original connection mode of the wireless access point network and the amount of the network speed resource redundancy on the basis of meeting the requirement;
acquiring a switching threshold corresponding to the original connection mode according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
if the logic relation between the corresponding network load and the switching threshold value corresponding to the original connection mode meets the switching condition, switching the original connection mode of the wireless access point network; the logic relationship between the corresponding network load and the switching threshold corresponding to the original connection mode meeting the switching condition includes:
when the original connection mode is a WiFi mode, judging whether the network load of the wireless access point network currently connected with the client does not exceed a switching threshold corresponding to the WiFi mode or not according to the network load of the wireless access point network currently connected with the client and a preset switching threshold corresponding to the WiFi mode, and if so, switching the connection mode of the wireless access point network currently required by the client;
or when the original connection mode is a bluetooth mode, judging whether the network load of the wireless access point network currently connected with the client is not lower than a switching threshold corresponding to the bluetooth mode according to the network load of the wireless access point network currently connected with the client and a preset switching threshold corresponding to the bluetooth mode, and if so, switching the connection mode of the wireless access point network currently required by the client.
2. The method of bluetooth and WiFi handoff of claim 1 wherein obtaining a current network load of a client comprises:
acquiring the current network load of a client according to a preset time interval; the preset time interval is updated according to historical time intervals.
3. The method of bluetooth and WiFi handover of any of claims 1-2, wherein the network load comprises: and under the currently connected wireless access point network, the client transmits the delay percentage of the data packet in unit time of the network layer.
4. The method of bluetooth and WiFi switching according to any of claims 1-2 wherein switching the original connection mode of the wireless access point network comprises:
when the number of the wireless access point networks which can be accessed by the client is multiple, selecting one wireless access point network from the multiple wireless access point networks as a target network, and connecting the target network according to the switched connection mode;
and when the wireless access point network which can be accessed by the client is the current wireless access point network, switching the original connection mode of the current wireless access point network into a corresponding connection mode.
5. A method of Bluetooth and WiFi handover, comprising:
at a wireless access point device side, acquiring a current original connection mode and a corresponding network load of at least one client connected with a wireless access point network of the wireless access point device; the corresponding network load is used for representing whether the current wireless access point network meets the requirement for the user in the original connection mode of the wireless access point network and the amount of the network speed resource redundancy on the basis of meeting the requirement;
acquiring a switching threshold corresponding to the original connection mode of each client according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
if the logic relation between the network load corresponding to a certain client and the switching threshold corresponding to the original connection mode of the client meets the switching condition; sending a switching prompt message to the corresponding client; the step of, if the logical relationship between the network load corresponding to a certain client and the switching threshold corresponding to the original connection mode of the client satisfies the switching condition, including:
if the original connection mode is a WiFi mode, judging whether the network load of the wireless access point network currently connected with the client does not exceed a switching threshold value according to the network load of the wireless access point network currently connected with the client and a preset switching threshold value corresponding to the WiFi mode, and if so, switching the original connection mode of the wireless access point network currently required by the client;
if the original connection mode is a Bluetooth mode, judging whether the network load of the wireless access point network currently connected with the client is not lower than a switching threshold value according to the network load of the wireless access point network currently connected with the client and a preset switching threshold value corresponding to the Bluetooth mode, and if so, switching the original connection mode of the wireless access point network currently required by the client.
6. The method of bluetooth and WiFi handover of claim 5, wherein the network load comprises: and under the currently connected wireless access point network, the network layer transmits the delay percentage of the data packet in unit time, wherein the delay percentage corresponds to each client.
7. The method of bluetooth and WiFi handover of any of claims 5-6, wherein obtaining a network load corresponding to at least one client connected to a wireless access point network of the wireless access point device comprises:
acquiring a network load corresponding to at least one client connected with a wireless access point network of the wireless access point equipment according to a preset time interval; the preset time interval is updated according to historical time intervals.
8. A client, comprising:
the first acquisition module is used for acquiring the original connection mode and the corresponding network load of the wireless access point network currently connected with the client; the corresponding network load is used for representing whether the current wireless access point network meets the requirement for the user in the original connection mode of the wireless access point network and the amount of the network speed resource redundancy on the basis of meeting the requirement; acquiring a switching threshold corresponding to the original connection mode according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
the first processing module is used for switching the original connection mode of the wireless access point network if the logical relationship between the corresponding network load and the switching threshold value corresponding to the original connection mode meets the switching condition; the logic relationship between the corresponding network load and the switching threshold corresponding to the original connection mode meeting the switching condition includes:
when the original connection mode is a WiFi mode, judging whether the network load of the wireless access point network currently connected with the client does not exceed a switching threshold corresponding to the WiFi mode or not according to the network load of the wireless access point network currently connected with the client and a preset switching threshold corresponding to the WiFi mode, and if so, switching the connection mode of the wireless access point network currently required by the client;
or when the original connection mode is a bluetooth mode, judging whether the network load of the wireless access point network currently connected with the client is not lower than a switching threshold corresponding to the bluetooth mode according to the network load of the wireless access point network currently connected with the client and a preset switching threshold corresponding to the bluetooth mode, if so, switching the connection mode of the wireless access point network currently required by the client;
and the first switching module is used for switching the original connection mode of the wireless access point network when the judgment result is yes.
9. A wireless access point device, comprising:
the second acquisition module is used for acquiring the current original connection mode and the corresponding network load of at least one client connected with the wireless access point network of the wireless access point equipment; the corresponding network load is used for representing whether the current wireless access point network meets the requirement for the user in the original connection mode of the wireless access point network and the amount of the network speed resource redundancy on the basis of meeting the requirement; acquiring a switching threshold corresponding to the original connection mode of each client according to a preset switching threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network comprises a WiFi mode and a Bluetooth mode;
the second processing module is used for judging whether the logic relation between the network load corresponding to a certain client and the switching threshold corresponding to the original connection mode of the client meets the switching condition; sending a switching prompt message to the corresponding client; the logic relationship between the corresponding network load and the switching threshold corresponding to the original connection mode meeting the switching condition includes:
when the original connection mode is a WiFi mode, judging whether the network load of the wireless access point network currently connected with the client does not exceed a switching threshold corresponding to the WiFi mode or not according to the network load of the wireless access point network currently connected with the client and a preset switching threshold corresponding to the WiFi mode, and if so, switching the connection mode of the wireless access point network currently required by the client;
or when the original connection mode is a bluetooth mode, judging whether the network load of the wireless access point network currently connected with the client is not lower than a switching threshold corresponding to the bluetooth mode according to the network load of the wireless access point network currently connected with the client and a preset switching threshold corresponding to the bluetooth mode, and if so, switching the connection mode of the wireless access point network currently required by the client.
10. A bluetooth and WiFi handoff system comprising a wireless access point device and at least one client according to claim 8; the wireless access point equipment is used for providing a wireless access point network for the client and correspondingly switching the connection mode of the wireless access point equipment and the client when the client switches the original connection mode of the wireless access point network.
11. A bluetooth and WiFi handoff system comprising the wireless access point device of claim 9 and at least one client; the client is connected with a wireless access point network of the wireless access point equipment and is used for receiving switching prompt information sent by the wireless access point equipment which is connected with the client through the wireless access point network; and responding to the switching prompt message according to the selection of the user.
CN201610807040.6A 2016-09-06 2016-09-06 Bluetooth and WiFi switching method and system, client and wireless access point equipment Active CN107801222B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610807040.6A CN107801222B (en) 2016-09-06 2016-09-06 Bluetooth and WiFi switching method and system, client and wireless access point equipment
PCT/CN2017/087145 WO2018045783A1 (en) 2016-09-06 2017-06-05 Method and system for switching between bluetooth and wi-fi, and client end and wireless access point device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610807040.6A CN107801222B (en) 2016-09-06 2016-09-06 Bluetooth and WiFi switching method and system, client and wireless access point equipment

Publications (2)

Publication Number Publication Date
CN107801222A CN107801222A (en) 2018-03-13
CN107801222B true CN107801222B (en) 2022-05-13

Family

ID=61530769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610807040.6A Active CN107801222B (en) 2016-09-06 2016-09-06 Bluetooth and WiFi switching method and system, client and wireless access point equipment

Country Status (2)

Country Link
CN (1) CN107801222B (en)
WO (1) WO2018045783A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809777B (en) * 2018-06-15 2021-12-21 广东美的制冷设备有限公司 Operation control method, Wi-Fi communication module, home appliance device, system, and storage medium
CN108810177A (en) * 2018-08-27 2018-11-13 优视科技新加坡有限公司 Data transmission method and its device
CN109819458B (en) * 2019-02-19 2022-11-01 维沃移动通信有限公司 Network connection method, terminal device and computer readable storage medium
CN110191449B (en) * 2019-05-29 2022-02-18 上海庆科信息技术有限公司 Communication mode switching method, device, storage medium, processor and system
CN110517473A (en) * 2019-07-26 2019-11-29 安徽浩达电子科技有限公司 A kind of portable intelligent communication system and its working method
CN110831112B (en) * 2019-11-07 2022-05-03 深圳市欧瑞博科技股份有限公司 Network connection method, intelligent household equipment, intelligent gateway and electronic equipment
CN112887022B (en) * 2019-11-29 2022-11-25 无锡祥生医疗科技股份有限公司 Ultrasonic image data transmission method and terminal ultrasonic equipment
CN114071434A (en) * 2020-08-03 2022-02-18 华为技术有限公司 Networking method, networking system and electronic equipment
CN112738187B (en) * 2020-12-24 2022-07-05 合安科技技术有限公司 Safe connection method and device of equipment, electronic equipment and storage medium
CN113890905B (en) * 2021-06-16 2022-11-22 荣耀终端有限公司 Channel switching method, electronic device and storage medium
CN113993103B (en) * 2021-10-22 2024-01-19 安徽江淮汽车集团股份有限公司 Network automatic interconnection method for vehicle-mounted terminal
CN114931308B (en) * 2022-06-17 2023-08-01 小水怪(深圳)智能科技有限公司 Intelligent vehicle-mounted water cup and intelligent communication method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510866A (en) * 2002-12-23 2004-07-07 联想(北京)有限公司 Self-adaption network choosing method
CN103368611A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Method and mobile terminal for file transfer
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof
CN103874156A (en) * 2014-03-10 2014-06-18 宇龙计算机通信科技(深圳)有限公司 Terminal and network switching method
CN104602311A (en) * 2014-12-29 2015-05-06 北京奇虎科技有限公司 Terminal connected with a plurality of wireless networks simultaneously and switching method for terminal
CN104796956A (en) * 2015-04-23 2015-07-22 陆俊 Mobile terminal network switching method and mobile terminal
CN105898672A (en) * 2014-05-09 2016-08-24 苹果公司 Extended bluetooth communication modes

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8358596B2 (en) * 2010-09-20 2013-01-22 Research In Motion Limited Communications system providing mobile wireless communications device application module associations for respective wireless communications formats and related methods
CN105027619A (en) * 2012-10-26 2015-11-04 诺基亚技术有限公司 Reversible handover
CN103856993B (en) * 2012-12-06 2016-08-31 腾讯科技(深圳)有限公司 A kind of wireless communications method and device
CN104080128A (en) * 2013-03-28 2014-10-01 上海晨兴希姆通电子科技有限公司 Wireless communication device and wireless communication system
US9294903B2 (en) * 2013-04-04 2016-03-22 Nokia Technologies Oy Method and apparatus for facilitating handover utilizing a predefined attribute protocol
US20150017985A1 (en) * 2013-07-10 2015-01-15 Samsung Electronics Co., Ltd. Systems and methods for handoff in heterogeneous networks
CN105101317A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Network switching device and method
CN105163355A (en) * 2015-09-29 2015-12-16 努比亚技术有限公司 Method and device for switching networks of mobile terminal
CN105848235A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Communication control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510866A (en) * 2002-12-23 2004-07-07 联想(北京)有限公司 Self-adaption network choosing method
CN103368611A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Method and mobile terminal for file transfer
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof
CN103874156A (en) * 2014-03-10 2014-06-18 宇龙计算机通信科技(深圳)有限公司 Terminal and network switching method
CN105898672A (en) * 2014-05-09 2016-08-24 苹果公司 Extended bluetooth communication modes
CN104602311A (en) * 2014-12-29 2015-05-06 北京奇虎科技有限公司 Terminal connected with a plurality of wireless networks simultaneously and switching method for terminal
CN104796956A (en) * 2015-04-23 2015-07-22 陆俊 Mobile terminal network switching method and mobile terminal

Also Published As

Publication number Publication date
CN107801222A (en) 2018-03-13
WO2018045783A1 (en) 2018-03-15

Similar Documents

Publication Publication Date Title
CN107801222B (en) Bluetooth and WiFi switching method and system, client and wireless access point equipment
US10575359B2 (en) Service communication method, terminal and network device
CN106464303B (en) Data transmission method and terminal
CN113766559A (en) Network mode control method, terminal and storage medium
CN109743783B (en) Data transmission control method and related product
CN106604403B (en) Miracast protocol-based channel selection method and system
CN103916622B (en) Call mode switching method and device
US8406197B2 (en) Wireless network system and wireless access point device and wireless terminal device thereof
CN102083136B (en) Wireless network control method and wireless controller
CN106332201A (en) Wireless hotspot switching method and mobile terminal
CN104936240A (en) Network switching method and terminal
CN110267315B (en) Network connection control method, system, intelligent terminal and computer readable storage medium
CN111800892B (en) Connection method, system, equipment and storage medium of wireless double-frequency network
EP3783957B1 (en) Transmission path switching method, computer-readable storage medium and device
CN107222937B (en) Data transmission method, device and terminal
US9113335B2 (en) Distributed load balancing in wireless networks
CN113660653B (en) Transmission method and device and electronic equipment
JP5619045B2 (en) Wireless communication apparatus and wireless communication method
CN112492618A (en) Network sharing method and device, electronic equipment and storage medium
WO2018019058A1 (en) Wireless access point switching method and apparatus, and terminal
KR101203310B1 (en) MOBILE WiMAX CONTACTING DEVICE OF WIRELESS LAN
CN109963312A (en) A kind of method for switching network, system, link switch equipment and storage medium
CN103781138B (en) Method, apparatus and system for connecting WiMo sending terminal to WLAN
CN103686942A (en) Data transmission method and multimode user terminal
CN102984158B (en) VOIP method for switching network, system and device

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