WO2018045783A1 - Method and system for switching between bluetooth and wi-fi, and client end and wireless access point device - Google Patents

Method and system for switching between bluetooth and wi-fi, and client end and wireless access point device Download PDF

Info

Publication number
WO2018045783A1
WO2018045783A1 PCT/CN2017/087145 CN2017087145W WO2018045783A1 WO 2018045783 A1 WO2018045783 A1 WO 2018045783A1 CN 2017087145 W CN2017087145 W CN 2017087145W WO 2018045783 A1 WO2018045783 A1 WO 2018045783A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
wireless access
network
client
connection mode
Prior art date
Application number
PCT/CN2017/087145
Other languages
French (fr)
Chinese (zh)
Inventor
高静
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018045783A1 publication Critical patent/WO2018045783A1/en

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

Definitions

  • the present application relates to the field of communication technologies, for example, to a method and system for Bluetooth and WiFi handover, and a client and a wireless access point device.
  • handheld terminal devices have a hard injury, that is, the battery capacity is limited to the relevant smart terminal battery technology and the size of the smart terminal.
  • the capacity of the battery is generally not too high, and many smart terminals have high usage rates.
  • the function consumes a lot of power, such as games, videos, and so on. Faced with this problem, how to carefully calculate the terminal power, reduce the power consumption of the terminal, and improve the standby time of the terminal are inevitable problems for the intelligent terminal products.
  • the Internet access function provided by the intelligent terminal generally needs to connect to the network, or connect to the operator's data network through a wireless network, or connect the network provided by the wireless access point device through Bluetooth and WiFi, and the related technologies are for WiFi and wireless.
  • the switching between networks is mainly based on network tariffs. Since the speed of the wireless network under 4G is not a bottleneck, mainly from the network cost, WiFi is definitely lower than the wireless network tariff. Therefore, when there is WiFi, it is generally reasonable to switch to WiFi Internet access.
  • the core technology of this handover is to switch to the WiFi network for data service when it detects that there is a WiFi network available around.
  • the power consumption of the Bluetooth connection network is higher.
  • the way to change the WiFi link hotspot of the terminal to the Bluetooth connection hotspot is only man-made operation, which increases the user operation. The complexity is reduced, reducing the user experience.
  • the embodiments of the present disclosure provide a Bluetooth and WiFi (WIreless-Fidelity) handover method, a client, and a wireless access point device, which solve the inconvenience caused by the inconvenient handover of the connection mode of the wireless access point network in the related art.
  • the client's power consumption is not effectively controlled, and the user's operation is cumbersome and the experience is poor.
  • an embodiment of the present disclosure provides a method for Bluetooth and WiFi switching, including:
  • the corresponding network load is used to indicate the data service quality of the client in the original connection mode of the wireless access point network
  • the switching threshold corresponding to the original connection mode is obtained;
  • the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
  • the original connection mode of the wireless access point network is switched.
  • an embodiment of the present disclosure further provides a method for Bluetooth and WiFi switching, including:
  • the switching threshold corresponding to the original connection mode of each client is obtained;
  • the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
  • the handover prompt information is sent to the corresponding client.
  • the first obtaining module is configured to obtain an original connection mode of the wireless access point network currently connected by the client and a corresponding network load; the corresponding network load is used to represent the data of the client in the original connection mode of the wireless access point network.
  • the quality of the service; and the switching threshold corresponding to each connection mode of the wireless access point network, and the switching threshold corresponding to the original connection mode; the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
  • the first processing module 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 handover threshold corresponding to the original connection mode satisfies the handover condition.
  • the first switching module is configured to: when the determination result is yes, the original connection party of the wireless access point network Switch.
  • an embodiment of the present disclosure further provides a wireless access point device, including:
  • a second acquiring module acquiring a current original connection mode and a corresponding network load of at least one client connected to the wireless access point network of the wireless access point device; and corresponding network load is used to indicate an original connection of the wireless access point network
  • the data quality of the client is used; and the switching threshold corresponding to each connection mode of the wireless access point network is obtained, and the switching threshold corresponding to the original connection mode of each client is obtained;
  • the connection mode of the wireless access point network includes WiFi mode and Bluetooth mode;
  • the second processing module is configured to send the handover prompt information to the corresponding client if the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition.
  • an embodiment of the present disclosure 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 device is configured to provide wireless access to the client. Point the network, and switch the connection mode between itself and the client when the client switches the original connection mode of the wireless access point network.
  • the embodiment of the present disclosure further provides a Bluetooth and WiFi switching system, including the foregoing wireless access point device and at least one client; the client and the wireless access point network connection of the wireless access point device And configured to receive switching prompt information sent by the wireless access point device connected to the wireless access point network by itself; and correspondingly respond to the switching prompt information according to the user's selection.
  • a Bluetooth and WiFi switching system including the foregoing wireless access point device and at least one client; the client and the wireless access point network connection of the wireless access point device And configured to receive switching prompt information sent by the wireless access point device connected to the wireless access point network by itself; and correspondingly respond to the switching prompt information according to the user's selection.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • An embodiment of the present disclosure further provides an electronic device, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the device can obtain the original connection mode of the wireless access point network that the client is currently connected to and the corresponding network load; and determine whether the original connection mode needs to be switched according to the corresponding network load and the logical relationship of the handover threshold corresponding to the original connection mode; Since each connection mode has a corresponding handover threshold, and the network load compared with the handover threshold indicates the data service quality of the client in the original connection mode of the wireless access point network, the embodiment of the present disclosure can accurately determine Whether the client switches the connection mode, completes the automatic switching between WiFi and Bluetooth mode, and switches the WiFi to Bluetooth, which can effectively reduce the power consumption of the client, save power, enhance the endurance of the client, and optimize the power consumption and standby function of the terminal product. To provide users with better quality and caring services.
  • FIG. 1 is a flowchart of a method for Bluetooth and WiFi switching according to Embodiment 1 of the present disclosure
  • FIG. 3 is a schematic block diagram of a Bluetooth and WiFi switching system according to Embodiment 3 of the present disclosure
  • FIG. 4 is a schematic block diagram of another Bluetooth and WiFi switching system according to Embodiment 4 of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the embodiment provides a method for switching between Bluetooth and WiFi.
  • the client side initiates the switching of the connection mode of the wireless access point network, and can seamlessly switch between Bluetooth and WiFi on the client.
  • Bluetooth mode When the demand for network speed is low, you can switch to Bluetooth mode to connect to the wireless access point network (commonly known as hotspot).
  • the low power consumption Bluetooth mode is beneficial to the client device. Power consumption, extended standby time, and a better experience for customers.
  • the client has high requirements on network speed, it can switch to WiFi mode to connect to the wireless access point network.
  • the method for Bluetooth and WiFi switching in this embodiment includes:
  • connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode.
  • the client has a WiFi module and a Bluetooth module, and respectively provides a WiFi connection mode and a Bluetooth connection mode with the wireless access point network.
  • the WiFi module and the Bluetooth module may be two modules that are separately provided, or may be a two-in-one composite module.
  • the connection manner between the client and the wireless access point network may be a WiFi mode or a Bluetooth mode.
  • the step of 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.
  • the original connection mode may be Bluetooth mode or WiFi mode, or a connection mode other than WiFi and Bluetooth that can connect to the wireless access point network.
  • the WiFi mode may be set as the default access mode.
  • the process of S101-S102 is performed at regular intervals to determine the current network traffic.
  • the network load is lower than our default switching threshold corresponding to the Bluetooth mode, and the Bluetooth-related processes and services start to start.
  • the network load corresponding to the current wireless access point network of the client in S101 is used to reflect whether the current wireless access point network satisfies the demand for the user under the current original connection mode. Find out how much the basic Internet speed resource is rich.
  • the network load may be data related to the quality of its own data service obtained by the client itself, and may reflect the requirement of the client for the real-time network rate in the original connection mode, when the client is browsing the webpage, brushing the microblog, etc.
  • the Bluetooth connection method can generally meet the needs of the client.
  • the data service of the client When the client is in the state of video playback, large games, etc., the data service of the client generally has higher requirements on the network speed.
  • the maximum network speed that can be provided by the wireless access point network in the Bluetooth connection mode is about 1 Mbps/s (the actual maximum rate can be determined according to the actual device), and the WiFi mode is more likely to meet the requirements of the client.
  • the network load may be the network rate of the wireless access point network connected by the client, because the network rate of the wireless access point network connected to the client may reflect the data service quality of the client to some extent.
  • the switching threshold corresponding to the Bluetooth mode can be set to the maximum rate in the Bluetooth mode, for example, 1 Mbps/s.
  • the network rate of the client After the network rate of the client, compare it with 1 Mbps/s. If the obtained network rate is about 1 Mbps/s, the network rate is obtained several times. If the obtained network rate is at the switching threshold of 1 Mbps/s. It indicates that the current data service may have higher requirements on the network speed. The Bluetooth mode may not meet the requirements of the current client. The judgment result should be that the connection mode of the wireless access point network of the client needs to be switched.
  • the network load in this embodiment S101 may include: a percentage delay of transmitting data packets in a network layer unit time in the original connection mode of the current wireless access point network. It can be foreseen that if the client is currently in the state of uploading data, the percentage of delay is the percentage of delay of the data packet uploaded by the client. If the client is in the state of downloading data, the percentage of delay can be understood as received by the client. The percentage of latency of packets sent by the network layer.
  • the switching threshold corresponding to each connection mode indicates the requirement that the network load needs to be met in each connection mode.
  • the switching threshold corresponding to the WiFi connection mode is used to determine whether the current network load in the WiFi mode satisfies the requirement, whether the WiFi connection mode needs to be switched to the Bluetooth connection mode, and the network load corresponding to the Bluetooth connection mode is It is used to determine whether the current network load in the Bluetooth mode meets the requirements, and whether the Bluetooth connection mode needs to be switched to the WiFi connection mode.
  • the wireless connection currently connected by the client is determined according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the WiFi mode. Whether the network load of the point network does not exceed the handover threshold corresponding to the WiFi mode. If not, the client currently needs to switch the connection mode of the wireless access point network.
  • switching WiFi to Bluetooth generally requires that the data service of the current client has a lower network speed than the wireless access point network can provide in the WiFi mode. At this time, the current network traffic is small, and the delay of the network data packet is generally low. The current network can also meet the client requirements in the low speed mode. Therefore, the switching threshold corresponding to the WiFi mode reflects the condition that the delay percentage of the data packet transmitted per unit time needs to be met when the WiFi mode is switched to the Bluetooth mode, and the general delay percentage is lower than the first threshold.
  • a threshold value can be set according to the strictness of the network quality requirement, and can be set to 1%, that is, the percentage of delay of the data packet transmitted per unit time is not more than 1% of the total number of data packets, and may also be set to other reasonable probability. This embodiment does not limit this.
  • the foregoing determining manner may also be combined with the determining manner of the network rate.
  • S103 when the delay percentage of the data packet transmitted in the unit time in the original connection mode is lower than the first threshold of the total number of data packets, Judging the network rate in the original connection mode, when the network rate is lower than the blue When the maximum rate in the tooth mode, the WiFi mode is switched to the Bluetooth mode.
  • the above combination is for illustrative purposes, and the combination of the two judgment conditions is not limited.
  • the network of the wireless access point network to which the client is currently connected is determined according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the Bluetooth mode. Whether the load is not lower than the handover threshold. If it is not lower, the client currently needs to switch the connection mode of the wireless access point network.
  • the Bluetooth connection mode switching the Bluetooth to WiFi is inevitable that the wireless network rate in the Bluetooth connection mode cannot meet the actual needs of the user. For example, the user is performing a video screen, playing online games, etc., which requires a higher network speed. In the Bluetooth connection mode, the network speed provided may not bring a good experience.
  • the probability of delay of the data packets sent by the network layer per unit time is generally large, which may cause the video or online game to be stuck, causing bad users. Experience. Therefore, for the handover threshold corresponding to the Bluetooth connection mode, the probability that the packet delay of the network per unit time is higher than the second threshold of the total number of packets, the probability of the delay of the data packet transmitted by the network layer per unit time is 50.
  • the second threshold may be freely set according to the actual situation or actual needs of the user.
  • the second threshold may be set to less than 50% of the data.
  • the second threshold may be set to be higher than 50% of data, which is not limited in this embodiment.
  • connection mode needs to be switched, considering that the area where the client is located, if there are multiple wireless access point network coverage, there may be multiple wireless access point network selections for the client.
  • the network signals of the plurality of wireless access point networks are strong and weak, and the client can also select a wireless access point network connection with a stronger network signal when switching the connection mode.
  • switching the connection mode of the wireless access point network in S103 includes the following two methods:
  • Manner 1 When there are multiple wireless access point networks accessible by the client, one of the multiple wireless access point networks is selected as the target network, and the target network is connected according to the switched connection mode.
  • the wireless access point network can be searched for, and the wireless access point network can be sorted according to the strength of the network signal, so this embodiment can be based on the client itself.
  • Obtaining the signal strength of multiple wireless access point networks from multiple In the network a network with the strongest wireless access point is selected for connection.
  • the result of the selection may be the currently connected wireless access point network, or other accessible network, and the selection result may be determined according to actual conditions.
  • the user may be using an uninterruptible operation such as online payment. If the switchover is performed, the user may experience a bad experience or a more serious economic loss. Therefore, before switching, the client may switch the prompt to the user, according to The user's choice is processed accordingly.
  • the prompting methods include, but are not limited to, a voice prompt, a prompt box displayed through a display screen, and the like.
  • the current access mode of the wireless access point network is switched to the corresponding connection mode, including switching from the WiFi mode to the Bluetooth mode, and switching from the Bluetooth mode to the WiFi mode.
  • the Bluetooth mode needs to be switched. Since the power consumption of the Bluetooth enabled is low, the Bluetooth function of the general wireless access point device is always turned on, so the client can After determining the need to change the connection mode, directly start to discover the Bluetooth device (the Bluetooth access point device is turned on). Of course, considering the unexpected situation, the client can send the current wireless access point network before discovering the Bluetooth device. Turn on the Bluetooth request. Then query the service of the communicable Bluetooth device, obtain the channel number of the related information RFCOMM, and then the client initiates the RFCOMM connection request to establish the RFCOMM connection. When the wireless access point device receives the connection request and responds, the client and the wireless The access point device establishes application docking.
  • the wireless access point routing synchronization switches the network mode from the WiFi mode to the Bluetooth mode. Thereafter, for the wireless access point device, the data of the client from the subsequent network layer is wirelessly accessed.
  • the Bluetooth module of the point device is sent out. For the client, the Internet is accessed through Bluetooth in the future.
  • the client and the wireless access point device (whether the current wireless access point device or other wireless device selected) After the establishment of the Bluetooth connection between the access point devices is completed, the network mode of the wireless access point device is switched from WiFi to Bluetooth.
  • the original connection mode of the current wireless access point is Bluetooth
  • the wireless access point device can switch the route from the Bluetooth mode to the WiFi mode after establishing a WiFi connection with the client. Thereafter, the data from the network layer goes out of the WiFi mode for the client to use. For the client, you can first establish a WiFi connection with the wireless access point device and then disconnect the Bluetooth connection.
  • the WiFi module and the Bluetooth module can only open one service at a time.
  • connection mode of the wireless access point network is switched in consideration of the power consumption problem of the client, and in S103, the network load is based on the logical relationship between the network load of the client and the preset switching threshold.
  • the percentage of delay in transmitting data packets per unit time in the network layer corresponding to the current client can be considered from other angles to determine how to switch the connection mode of the wireless access point network, for example, from the use scene of the client, accessing content, etc., for the viewing of video screens, playing games, etc., requiring high network speed.
  • the usage scenario can be divided into a usage scenario in which a WiFi mode is required, and a usage scenario in which a network speed is not required for a web page or a novel is classified into a usage scenario requiring a Bluetooth mode.
  • determining whether to switch the connection mode you only need to match the current usage scenario of the client with the used usage scenario. If the matching is successful, connect to the wireless access point network according to the corresponding connection mode (may or may not switch) .
  • connection mode For accessing content, you can use video games, games, and other data services that require a large number of pictures to be transferred. It is divided into access content that requires the WiFi method, and the access content that requires less network speed, such as a webpage without a video screen, can be divided into Bluetooth-type access content.
  • WiFi method For accessing content, you can use video games, games, and other data services that require a large number of pictures to be transferred. It is divided into access content that requires the WiFi method, and the access content that requires less network speed, such as a webpage without a video screen, can be divided into Bluetooth-type access content.
  • the remaining power of the client may be used as a criterion for switching.
  • the connection mode of the wireless access point network may be switched to the Bluetooth mode.
  • the foregoing method for determining the network load, the content to be accessed, the usage scenario, the network rate, and the remaining power of the client may be combined organically to obtain a more comprehensive and detailed judgment rule.
  • the combined manner is not limited in this embodiment.
  • the underlying layer will detect the current network rate during the interval, which is averaged over the time interval of the last three handovers. For example, the previous three times are about 5 hours to switch. Therefore, the bottom layer of the device will automatically detect the network load condition when the distance is switched for 5 hours, so as to determine whether the switching condition is met. 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 acquired according to a preset time interval; and then a subsequent judgment processing flow is performed. The preset time interval is updated according to the historical time interval.
  • the embodiment can write an application for the client, provide a selection interface of the network connection mode (WiFi mode and Bluetooth mode), and describe each connection mode, for example, support use. Scene, access content, maximum supported network speed. Therefore, the user can switch according to the usage scenario or the like, which is manually switched by the user.
  • the embodiment also supports automatic client switching, wherein the user setting switching priority is higher than the client automatic switching. It can be foreseen that the preset time interval is not fixed, but the time interval is updated in time according to the frequency and cycle of the user manual switching and the automatic switching of the client.
  • the Bluetooth and WiFi switching method of the embodiment is used to obtain the original mode of the wireless access point network currently connected by the client and the network load corresponding to the connection mode, and then combine the preset connection modes with the wireless connection point network.
  • Corresponding handover thresholds are used to determine whether the logical relationship between the network load and the corresponding handover threshold satisfies the condition for switching the original connection mode, and performs handover when it is satisfied.
  • the connection mode of the wireless access point network can be switched according to the requirements of the data service of the client, compared with related technologies. In the embodiment, only the tariff of the data network and the WiFi is switched. This embodiment can switch to the Bluetooth mode with lower power consumption when the client needs less network speed, which is conducive to saving power and enhancing the endurance of the client. Optimize the power consumption and standby function of the terminal products to provide users with better and more considerate services.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • this embodiment shows another method for Bluetooth and WiFi switching.
  • the device at the wireless access point device actively initiates the switching of the connection mode of the wireless access point network, and can be wirelessly connected by the wireless access point device. Whether the connection mode of the in-point network is switched or not is determined.
  • the client can control the seamless switching between Bluetooth and WiFi.
  • the user can switch to the Bluetooth mode for wireless access.
  • the use of low power Bluetooth mode is beneficial to the client device to reduce power consumption, extend standby time, and bring a better experience to the client, when the client When the network rate requirement is high, the WiFi mode can be switched to connect to the wireless access point network.
  • the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode.
  • the handover prompt information is sent to the corresponding client.
  • the above S201-203 can be completed by the wireless access point device, and the wireless access point device can be any device that can share the AP network through the WiFi or Bluetooth, such as a mobile phone, a tablet, a computer, etc., the client of this embodiment.
  • the end is a device that shares the network of the wireless access point device through WiFi or Bluetooth, such as a mobile phone, a tablet computer, a desktop computer, a smart watch, a smart wristband, and the like. This is private and there is no limit to this.
  • the original connection mode may be a Bluetooth mode and/or a WiFi mode, or a connection mode other than WiFi and Bluetooth that can connect to the wireless access point network.
  • the network load corresponding to the current wireless access point network of the client in S201 is used to reflect whether the current wireless access point network satisfies the demand for the user in the current original connection mode, and the Internet access speed resource is satisfied on the basis of the demand. How much is the surplus.
  • the network load can reflect the demand of the client for the real-time network rate in the original connection mode.
  • the data service has low requirements on the network speed, and the Bluetooth connection mode can generally meet the requirements.
  • Client requirements when the client is in the state of video playback, large games, etc., the client's data service generally has higher network speed requirements, in view of the maximum network speed that the wireless access point network can provide under the general Bluetooth connection mode. About 1Mbps/s (the actual maximum rate can be determined according to the actual device), and the WiFi mode is easier to meet the needs of the client.
  • the network load corresponding to each client in the original connection mode may include: a percentage of delay in transmitting data packets in the network layer unit time in the original connection mode of the current wireless access point network.
  • the switching threshold corresponding to each connection mode indicates that the network load needs to be met in each connection mode, and each client has a corresponding network load.
  • the network load corresponding to each client is generally different due to the usage status and connection mode of each client.
  • the switching threshold corresponding to each connection mode indicates the requirement that the network load needs to be met in each connection mode.
  • the judgment process is different when the original connection mode of the client is different.
  • the original connection mode is the WiFi mode
  • the WiFi is switched to Bluetooth.
  • the data service of the connected client has a lower network speed than the wireless access point network can provide in the WiFi mode.
  • the current network traffic of the client is small, and the delay of the network packet of the client is generally low, and the current network can also meet the client requirements in the low speed mode. Therefore, the switching threshold corresponding to the WiFi mode reflects the condition that the delay percentage of the data packet transmitted per unit time needs to be met when the WiFi mode is switched to the Bluetooth mode, and the general delay percentage is lower than the first threshold.
  • a threshold can be set according to the strictness of network quality requirements, and can be set to 1%, that is, the percentage of delay of the data packet transmitted (received or sent) by the network layer in a unit time is not more than 1% of the total number of packets.
  • the client currently needs to switch the original connection mode of the wireless access point network. Of course, it can be set to other reasonable chances, which is not limited in this embodiment.
  • the original connection mode is the Bluetooth mode
  • the preset switching threshold corresponding to the Bluetooth mode it is determined whether the network load of the wireless access point network currently connected by the client is not Below the handover threshold, if yes, the client currently needs to switch the connection mode of the wireless access point network.
  • the Bluetooth connection mode switching the Bluetooth to WiFi is inevitable that the wireless network rate in the Bluetooth connection mode cannot meet the actual needs of the user. For example, the user is performing a video screen, playing online games, etc., which requires a higher network speed. In the Bluetooth connection mode, there may be no way to bring a good experience to the network speed provided. The probability of delays of data packets transmitted by the network layer per unit time is generally large, which may cause the video screen or online game to be stuck, causing bad users. Experience. Therefore, for the handover threshold corresponding to the Bluetooth connection mode, the data packet delay (or retransmission) probability of the network per unit time is higher than the second threshold of the total number of data packets, because the data packet sent by the network layer occurs in a unit time.
  • the control command may be sent to the client, and the client executes the control command to complete the switching of the connection mode.
  • the client executes the control command to complete the switching of the connection mode.
  • the client of the connection mode sends a handover prompt message, prompting the user to switch the connection mode currently, and performing corresponding processing according to the response of the client.
  • the method for switching the Bluetooth and the WiFi on the client side includes: receiving the handover prompt information sent by the wireless access point device connected to the network through the wireless access point; and correspondingly switching the prompt information according to the user's selection. response.
  • the client initiates the handover process.
  • the client may not perform any feedback.
  • the wireless access point device does not receive any feedback within a certain period of time, it may consider to abandon the handover. Of course, the client may also feedback to give up the handover information to the wireless. Access point device.
  • the network load may also be defined as the network rate of the wireless access point network connected by the client, in view of the fact that the network rate of the wireless access point network connected to the client may reflect the data service quality of the client.
  • the Bluetooth mode has a great possibility to meet the data service requirements of the client, considering the power consumption of the client in the WiFi mode compared to the Bluetooth mode. Large, based on the consideration of reducing the power consumption of the client, the corresponding judgment result should be the need to switch the connection mode of the wireless access point network of the client.
  • the switching threshold corresponding to the Bluetooth mode can be set to the maximum rate in the Bluetooth mode, for example, 1 Mbps/s.
  • the network rate of the client After the network rate of the client, compare it with 1 Mbps/s. If the obtained network rate is about 1 Mbps/s, the network rate is obtained several times. If the obtained network rate is at the switching threshold of 1 Mbps/s. It indicates that the current data service may have higher requirements on the network speed.
  • the Bluetooth mode may not meet the requirements of the current client, and the connection mode of the wireless access point network of the client needs to be switched.
  • the switching of the connection mode of the wireless access point network is based on the power consumption problem of the client, and is switched according to the network load of the client and the preset switching threshold.
  • it can be considered from other angles to determine whether the original connection mode of the client needs to be switched, for example, from the use scene of the client, accessing content, etc., for the use of high-speed scenes for watching video, playing games, etc. It can be divided into usage scenarios that require the WiFi mode. For the use of the webpage, the novel, and the like, the usage speed is not high, and the usage scenario that needs the Bluetooth mode can be divided.
  • the wireless access point device When determining whether to switch the connection mode, the wireless access point device only needs to match the current usage scenario of the client with the divided usage scenario. If the matching is successful, the wireless access point network is connected according to the corresponding connection mode (possibly switching It may also not switch).
  • access content For accessing content, data services that require a large amount of video transmission, such as video screens and games, can be divided into access content that requires WiFi access. For web pages that do not contain video screens, access content that requires lower network speed can be classified into Bluetooth. Access content.
  • the wireless access point device When determining whether to switch the connection mode, the wireless access point device 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 network is connected according to the corresponding connection mode (possibly switching It may also not switch).
  • the foregoing method for determining the network load, the content of the access, the usage scenario, and the network rate may be combined organically to obtain a more comprehensive and detailed judgment rule.
  • the combined manner is not limited in this embodiment.
  • the wireless access point device can acquire the current network load of the client according to a preset time interval; and then perform a subsequent judgment processing flow.
  • the preset time interval is updated according to the historical time interval.
  • the historical time interval here may be the most recent time interval, such as the last 3 times, the last 5 times, and the like.
  • Bluetooth and WiFi switching method of the embodiment it is possible to determine whether the connection mode with the client needs to be switched on the device side of the wireless access point, and switch the WiFi mode to low power when the data service quality is not affected. Consumption of Bluetooth mode, effectively reducing the power consumption of the client, saving power, increasing Strong client's battery life, optimize the power consumption and standby function of the terminal products, and provide users with better service.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the client 32 includes a first obtaining module 321 configured to acquire an original connection mode of the wireless access point network currently connected by the client and a corresponding network load; the corresponding network load is used to indicate wireless access.
  • the quality of the data service of the client in the original connection mode of the network; and the handover threshold corresponding to each connection mode of the wireless access point network, and the handover threshold corresponding to the original connection mode; the connection of the wireless access point network The method includes WiFi mode and 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 handover threshold corresponding to the original connection mode satisfies the handover condition.
  • the first switching module is configured to switch the original connection mode of the wireless access point network when the determination result is yes.
  • the first obtaining module 321 is configured to acquire the current network load of the client according to a preset time interval; the preset time interval is updated according to the historical time interval.
  • the network load may include: a percentage delay of the client transmitting the data packet in the network layer unit time under the currently connected wireless access point network.
  • the first processing module 322 is configured to use the wireless access point currently connected by the client when the original connection mode is the WiFi mode.
  • the network load of the network and the preset switching threshold corresponding to the WiFi mode determine whether the network load of the wireless access point network currently connected by the client does not exceed the handover threshold corresponding to the WiFi mode. If not, the client currently needs to perform the handover threshold. Switching of the connection mode of the wireless access point network;
  • the client is determined according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the Bluetooth mode. Whether the network load of the wireless access point network connected before is not lower than the handover threshold corresponding to the Bluetooth mode. If not lower, the client currently needs to switch the connection mode of the wireless access point network.
  • the first switching module can switch according to actual conditions.
  • the first switching module 323 can be configured to select one of the multiple wireless access point networks as the target network when the network accessable by the client is multiple, according to the switched connection mode and the target network. Connection; when the wireless access point network accessible by the client is the current wireless access point network, the original connection mode of the current wireless access point network is switched to the corresponding connection mode.
  • the number of wireless access point devices is not less than one, and the number of wireless access point devices covering the client by the AP network is not less than one.
  • the connection is (or The wireless access point network to be connected also needs to set the connection mode with the client to the way the client needs it.
  • the wireless access point device can switch the route after the client connects to the connection mode different from the original connection mode.
  • the client can obtain the original mode of the wireless access point network that is currently connected to the network, and the network load corresponding to the connection mode, and then combine the preset network with the wireless connection point network.
  • the switching threshold corresponding to the connection mode determines whether the logical relationship between the network load and the corresponding handover threshold satisfies the handover condition. If yes, the connection mode is switched, and the corresponding wireless access point device can perform corresponding handover according to the information of the client.
  • the connection mode of the wireless access point network can be switched according to the requirements of the data service of the client. Compared with the related technology, only the tariff is used to switch between the data network and the WiFi. In this embodiment, the network speed requirement of the client can be compared. When it is low, switching to the Bluetooth mode with lower power consumption is conducive to saving power, enhancing the endurance of the client, optimizing the power consumption and standby function of the terminal products, and providing users with better and more considerate services.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 4 another Bluetooth and WiFi switching system is illustrated, including 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 acquiring module 411 and a second processing module 412.
  • the second obtaining module 411 is configured to acquire a current original connection mode of the at least one client connected to the wireless access point network of the wireless access point device and a corresponding network load; the corresponding network load is used to indicate the original of the wireless access point network.
  • Each connection mode of the wireless access point network corresponds to a handover threshold, and acquires a handover threshold corresponding to the original connection mode of each client;
  • the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
  • the second processing module 412 is configured to send the handover prompt information to the corresponding client if the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition.
  • the client 42 includes a receiving module 421 configured to receive switching prompt information transmitted by a wireless access point device that is itself connected through the wireless access point network; and a response module 422 configured to perform switching prompt information according to the user's selection The corresponding response.
  • the second obtaining module 411 may acquire, according to a preset time interval, a network load corresponding to at least one client connected to the wireless access point network of the wireless access point device; the preset time interval is updated according to the historical time interval.
  • the network load corresponding to the client includes: a percentage of delay of the network layer transmitting the data packet in a unit time under the currently connected wireless access point network, and the percentage of delay corresponds to each client. That is, each client has a percentage of delay corresponding to itself.
  • the second processing module 412 is configured to determine, according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the WiFi mode, to determine the wireless connection currently connected by the client, if the original connection mode is the WiFi mode. Whether the network load of the access point network does not exceed the handover threshold. If not, the client currently needs to switch the original connection mode of the wireless access point network; if the original connection mode is Bluetooth, according to the wireless connection currently connected by the client The network load of the access point network and the preset switching threshold corresponding to the Bluetooth mode determine whether the network load of the wireless access point network currently connected by the client is not lower than the handover threshold. If not lower, the client currently needs Switching between the original connection mode of the wireless access point network.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the embodiment of the present disclosure further provides a schematic structural diagram of an electronic device.
  • the electronic device includes:
  • At least one processor 50 exemplified by a processor 50 in FIG. 5; and a memory (memory) 51 may also include a communication interface (Communications Interface) 52 and a bus 53.
  • the processor 50, the communication interface 52, and the memory 51 can complete communication with each other through the bus 53.
  • Communication interface 52 can be used for information transmission.
  • Processor 50 can invoke logic instructions in memory 51 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 51 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
  • the memory 51 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 51 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • the wireless access point device can obtain the original mode of the currently connected wireless access point network of the client connected by itself and the corresponding network load in the connection mode, and then combine the presets.
  • the switching threshold corresponding to each connection mode of the wireless connection point network determines whether the logical relationship between the network load and the corresponding handover threshold satisfies the condition for switching the original connection mode. If it is satisfied, you can control the client to switch.
  • the connection mode of the wireless access point network can be switched according to the requirements of the data service of the client.
  • the Bluetooth and WiFi switching method and system and the client and the wireless access point device disclosed in the present application effectively reduce the power consumption of the client, save power, enhance the endurance capability of the client, optimize the power consumption and standby function of the terminal product, and serve the user Provide better service.

Landscapes

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

Abstract

Disclosed in the present application are a method and system for switching between Bluetooth and Wi-Fi, as well as a client end and a wireless access point device, capable of obtaining an original connection mode and a corresponding network load of a wireless access point network to which a client end is currently connected; acquiring a switching threshold corresponding to the original connection mode; when a logical relationship between the corresponding network load and the switching threshold corresponding to the original connection mode meets a switching condition, switching the original connection mode of the wireless access point network. Since the network load which is compared with the switching threshold indicates a data service quality of the client end under the original connection mode of the wireless access point network, the present disclosure can switch from a Wi-Fi mode to a low power consumption Bluetooth mode without affecting the data service quality, thus effectively reducing the power consumption of the client end, saving power, enhancing the endurance of the client, and optimizing the power consumption and standby function of an end product, thereby providing users with better service.

Description

蓝牙和WiFi切换的方法和***及客户端和无线接入点设备Bluetooth and WiFi switching method and system, and client and wireless access point device 技术领域Technical field
本申请涉及通信技术领域,例如涉及一种蓝牙和WiFi切换的方法和***及客户端和无线接入点设备。The present application relates to the field of communication technologies, for example, to a method and system for Bluetooth and WiFi handover, and a client and a wireless access point device.
背景技术Background technique
目前,手持类终端设备都具有一个硬伤,那就是电池容量,局限于相关的智能终端电池技术和智能终端的体积,电池的容量一般都不太高,而目前智能终端的很多使用率高的功能耗电都比较高,例如游戏,视频等。面对这一问题,如何对终端电量精打细算,降低终端的功耗,提升终端的待机时间是智能终端类产品必然要解决的问题。At present, handheld terminal devices have a hard injury, that is, the battery capacity is limited to the relevant smart terminal battery technology and the size of the smart terminal. The capacity of the battery is generally not too high, and many smart terminals have high usage rates. The function consumes a lot of power, such as games, videos, and so on. Faced with this problem, how to carefully calculate the terminal power, reduce the power consumption of the terminal, and improve the standby time of the terminal are inevitable problems for the intelligent terminal products.
目前,智能终端提供的上网功能一般需要连接网络,或者通过无线网络的方式连接运营商的数据网,或者通过蓝牙和WiFi的方式连接无线接入点设备提供的网络,相关技术中对于WiFi和无线网络之间的切换,主要是根据网络资费进行的。由于4G下无线网络的速率已经不是瓶颈,主要从网络费用来说,WiFi肯定比无线网络资费低。因此,有WiFi的场合一般是切换到WiFi上网比较合理,这种切换的核心技术就是检测到周围有可用的WiFi网络时,切换到WiFi网络进行数据业务。At present, the Internet access function provided by the intelligent terminal generally needs to connect to the network, or connect to the operator's data network through a wireless network, or connect the network provided by the wireless access point device through Bluetooth and WiFi, and the related technologies are for WiFi and wireless. The switching between networks is mainly based on network tariffs. Since the speed of the wireless network under 4G is not a bottleneck, mainly from the network cost, WiFi is definitely lower than the wireless network tariff. Therefore, when there is WiFi, it is generally reasonable to switch to WiFi Internet access. The core technology of this handover is to switch to the WiFi network for data service when it detects that there is a WiFi network available around.
对于WiFi和无线网络的方式而言,均比蓝牙连接网络的功耗高,而相关技术中,要将终端的WiFi链接热点的方式改为蓝牙连接热点的方式只有人为操作,这增加了用户操作的繁杂度,降低了用户体验。For the way of WiFi and wireless network, the power consumption of the Bluetooth connection network is higher. In the related art, the way to change the WiFi link hotspot of the terminal to the Bluetooth connection hotspot is only man-made operation, which increases the user operation. The complexity is reduced, reducing the user experience.
发明内容Summary of the invention
本公开实施例提供一种蓝牙和WiFi(WIreless-Fidelity,无线保真)切换的方法、客户端和无线接入点设备,解决相关技术中对于无线接入点网络的连接方式的切换不便导致的客户端功耗得不到有效控制,以及用户操作繁琐,体验感差的问题。 The embodiments of the present disclosure provide a Bluetooth and WiFi (WIreless-Fidelity) handover method, a client, and a wireless access point device, which solve the inconvenience caused by the inconvenient handover of the connection mode of the wireless access point network in the related art. The client's power consumption is not effectively controlled, and the user's operation is cumbersome and the experience is poor.
为解决上述技术问题,本公开实施例提供一种蓝牙和WiFi切换的方法,包括:To solve the above technical problem, an embodiment of the present disclosure provides a method for Bluetooth and WiFi switching, including:
获取客户端当前连接的无线接入点网络的原始连接方式和对应的网络负载;对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;Obtaining the original connection mode of the wireless access point network currently connected by the client and the corresponding network load; the corresponding network load is used to indicate the data service quality of the client in the original connection mode of the wireless access point network;
根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;According to a preset switching threshold corresponding to each connection mode of the wireless access point network, the switching threshold corresponding to the original connection mode is obtained; the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
若对应的网络负载和与原始连接方式对应的切换阈值的逻辑关系满足切换条件,对无线接入点网络的原始连接方式进行切换。If the logical relationship between the corresponding network load and the handover threshold corresponding to the original connection mode satisfies the handover condition, the original connection mode of the wireless access point network is switched.
为解决上述技术问题,本公开实施例还提供一种蓝牙和WiFi切换的方法,包括:To solve the above technical problem, an embodiment of the present disclosure further provides a method for Bluetooth and WiFi switching, including:
在无线接入点设备侧,获取与无线接入点设备的无线接入点网络连接的至少一个客户端当前的原始连接方式和对应的网络负载;对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;Obtaining, at a wireless access point device side, a current original connection mode and a corresponding network load of at least one client connected to the wireless access point network of the wireless access point device; and corresponding network load is used to represent the wireless access point network The quality of the data service of the client under the original connection mode;
根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与各客户端的原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;According to the preset switching threshold corresponding to each connection mode of the wireless access point network, the switching threshold corresponding to the original connection mode of each client is obtained; the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
若某客户端对应的网络负载和与客户端的原始连接方式对应的切换阈值的逻辑关系满足切换条件;则向对应的客户端发送切换提示信息。If the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition, the handover prompt information is sent to the corresponding client.
为解决上述技术问题,本公开实施例还提供一种客户端,包括:To solve the above technical problem, an embodiment of the present disclosure further provides a client, including:
第一获取模块,被配置为获取客户端当前连接的无线接入点网络的原始连接方式和对应的网络负载;对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;以及根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;The first obtaining module is configured to obtain an original connection mode of the wireless access point network currently connected by the client and a corresponding network load; the corresponding network load is used to represent the data of the client in the original connection mode of the wireless access point network. The quality of the service; and the switching threshold corresponding to each connection mode of the wireless access point network, and the switching threshold corresponding to the original connection mode; the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
第一处理模块,被配置为若对应的网络负载和与原始连接方式对应的切换阈值的逻辑关系满足切换条件,对无线接入点网络的原始连接方式进行切换。第一切换模块,被配置为在判断结果为是时,对无线接入点网络的原始连接方 式进行切换。The first processing module 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 handover threshold corresponding to the original connection mode satisfies the handover condition. The first switching module is configured to: when the determination result is yes, the original connection party of the wireless access point network Switch.
为解决上述技术问题,本公开实施例还提供一种无线接入点设备,包括:To solve the above technical problem, an embodiment of the present disclosure further provides a wireless access point device, including:
第二获取模块,获取与无线接入点设备的无线接入点网络连接的至少一个客户端当前的原始连接方式和对应的网络负载;对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;以及根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与各客户端的原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;a second acquiring module, acquiring a current original connection mode and a corresponding network load of at least one client connected to the wireless access point network of the wireless access point device; and corresponding network load is used to indicate an original connection of the wireless access point network In the mode, the data quality of the client is used; and the switching threshold corresponding to each connection mode of the wireless access point network is obtained, and the switching threshold corresponding to the original connection mode of each client is obtained; the connection mode of the wireless access point network includes WiFi mode and Bluetooth mode;
第二处理模块,被配置为若某客户端对应的网络负载和与客户端的原始连接方式对应的切换阈值的逻辑关系满足切换条件;则向对应的客户端发送切换提示信息。The second processing module is configured to send the handover prompt information to the corresponding client if the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition.
为解决上述技术问题,本公开实施例还提供一种蓝牙和WiFi的切换***,包括无线接入点设备和至少一个如上的客户端;无线接入点设备被配置为为客户端提供无线接入点网络,并在客户端对无线接入点网络的原始连接方式进行切换时对自身与客户端的连接方式进行相应的切换。To solve the above technical problem, an embodiment of the present disclosure 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 device is configured to provide wireless access to the client. Point the network, and switch the connection mode between itself and the client when the client switches the original connection mode of the wireless access point network.
为解决上述技术问题,本公开实施例还提供一种蓝牙和WiFi的切换***,包括如上的无线接入点设备以及至少一个客户端;客户端与无线接入点设备的无线接入点网络连接,被配置为接收与自身通过无线接入点网络连接的无线接入点设备发送的切换提示信息;以及根据用户的选择对切换提示信息进行相应的响应。In order to solve the above technical problem, the embodiment of the present disclosure further provides a Bluetooth and WiFi switching system, including the foregoing wireless access point device and at least one client; the client and the wireless access point network connection of the wireless access point device And configured to receive switching prompt information sent by the wireless access point device connected to the wireless access point network by itself; and correspondingly respond to the switching prompt information according to the user's selection.
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
本公开实施例还提供了一种电子设备,包括:An embodiment of the present disclosure further provides an electronic device, including:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
本公开实施例公开的蓝牙和WiFi切换的方法和***及客户端和无线接入点 设备,可以获取客户端当前连接的无线接入点网络的原始连接方式和对应的网络负载;并根据对应的网络负载以及与原始连接方式对应的切换阈值的逻辑关系确定是否需要切换原始连接方式;由于各连接方式均设有对应的切换阈值,且与切换阈值比较的网络负载表示的是无线接入点网络的原始连接方式下,客户端的数据业务质量,所以本公开实施例可以准确地判断出客户端是否切换连接方式,完成WiFi和蓝牙方式的自动切换,将WiFi切换到蓝牙,可以有效降低客户端的功耗,有利于节约电量,增强客户端的续航能力,优化终端产品的功耗、待机功能,为用户提供更优质、贴心的服务。Method and system for Bluetooth and WiFi handover disclosed by embodiments of the present disclosure, and client and wireless access point The device can obtain the original connection mode of the wireless access point network that the client is currently connected to and the corresponding network load; and determine whether the original connection mode needs to be switched according to the corresponding network load and the logical relationship of the handover threshold corresponding to the original connection mode; Since each connection mode has a corresponding handover threshold, and the network load compared with the handover threshold indicates the data service quality of the client in the original connection mode of the wireless access point network, the embodiment of the present disclosure can accurately determine Whether the client switches the connection mode, completes the automatic switching between WiFi and Bluetooth mode, and switches the WiFi to Bluetooth, which can effectively reduce the power consumption of the client, save power, enhance the endurance of the client, and optimize the power consumption and standby function of the terminal product. To provide users with better quality and caring services.
附图概述BRIEF abstract
图1为本公开实施例一提供的一种蓝牙和WiFi切换的方法的流程图;FIG. 1 is a flowchart of a method for Bluetooth and WiFi switching according to Embodiment 1 of the present disclosure;
图2为本公开实施例二提供的另一种蓝牙和WiFi切换的方法的流程图;2 is a flowchart of another Bluetooth and WiFi handover method according to Embodiment 2 of the present disclosure;
图3为本公开实施例三提供的一种蓝牙和WiFi的切换***的模块示意图;3 is a schematic block diagram of a Bluetooth and WiFi switching system according to Embodiment 3 of the present disclosure;
图4为本公开实施例四提供的另一种蓝牙和WiFi的切换***的模块示意图;以及FIG. 4 is a schematic block diagram of another Bluetooth and WiFi switching system according to Embodiment 4 of the present disclosure;
图5为本公开实施例提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
下面通过实施方式结合附图对本公开进行详细说明。The present disclosure will be described in detail below by way of embodiments with reference to the accompanying drawings.
实施例一:Embodiment 1:
参见图1,本实施例提供一种蓝牙和WiFi切换的方法,在客户端侧主动发起无线接入点网络的连接方式的切换,可以实现客户端上的蓝牙和WiFi的无缝切换,当客户端对网络速率的需求较低时,可以切换到蓝牙模式进行无线接入点网络(俗称的热点)的连接,在满足客户端网络需求时,使用功耗低的蓝牙模式有利于客户端设备降低功耗,延长待机时间,给客户带来更好的体验,当客户端对网络速率的要求较高时,可以切换到WiFi模式进行无线接入点网络的连接。本实施例的蓝牙和WiFi切换的方法,包括: Referring to FIG. 1 , the embodiment provides a method for switching between Bluetooth and WiFi. The client side initiates the switching of the connection mode of the wireless access point network, and can seamlessly switch between Bluetooth and WiFi on the client. When the demand for network speed is low, you can switch to Bluetooth mode to connect to the wireless access point network (commonly known as hotspot). When the client network needs are met, the low power consumption Bluetooth mode is beneficial to the client device. Power consumption, extended standby time, and a better experience for customers. When the client has high requirements on network speed, it can switch to WiFi mode to connect to the wireless access point network. The method for Bluetooth and WiFi switching in this embodiment includes:
S101、获取客户端当前连接的无线接入点网络的原始连接方式和对应的网络负载;其中,对应的网络负载(即客户端当前连接的无线接入点网络的网络负载)用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;S101. Obtain an original connection mode of the wireless access point network currently connected to the client and a corresponding network load. The corresponding network load (that is, the network load of the wireless access point network currently connected by the client) is used to indicate the wireless connection. The quality of the data service of the client under the original connection mode of the inbound network;
S102、根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;S102. Acquire a handover threshold according to a preset connection manner with each connection mode of the wireless access point network, and obtain a handover threshold corresponding to the original connection mode. The connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode.
S103、若对应的网络负载和与原始连接方式对应的切换阈值的逻辑关系满足切换条件,对无线接入点网络的原始连接方式进行切换。S103. If the logical relationship between the corresponding network load and the handover threshold corresponding to the original connection mode meets the handover condition, switch the original connection mode of the wireless access point network.
本实施例的方法是在客户端侧主动发起的网络连接方式的切换,切换流程的发起是由客户端自身决定的,本实施例的客户端可以是手持终端和可穿戴设备,例如智能手机、平板电脑、智能手表等电子设备,也可以是具有WiFi模块和蓝牙模块的电脑。提供无线接入点(Access Point,AP)网络的无线接入点可以是智能终端,可以是和客户端同类型的智能终端,该无线接入点设备可以同时为多个客户端提供不同的网络连接方式。The method in this embodiment is a handover of the network connection mode initiated by the client side. The initiation of the handover process is determined by the client itself. The client in this embodiment may be a handheld terminal and a wearable device, such as a smart phone. Electronic devices such as tablets and smart watches can also be computers with a WiFi module and a Bluetooth module. A wireless access point that provides a wireless access point (AP) network may be an intelligent terminal, and may be an intelligent terminal of the same type as the client. The wireless access point device can provide different networks for multiple clients at the same time. Connection method.
在本实施例中,客户端具有WiFi模块和蓝牙模块,分别可以提供与无线接入点网络的WiFi连接方式和蓝牙连接方式。自然,在本实施例中,WiFi模块和蓝牙模块可以是分开设置的两个模块,也可以是二合一的合成模块。S101中,客户端与无线接入点网络之间的连接方式可以是WiFi方式也可以是蓝牙方式。在与无线接入点网络已连接的情况下,可以进行S101的步骤,获取客户端当前的无线接入点网络的原始连接方式和对应的网络负载。可以理解,原始连接方式可以是蓝牙方式或WiFi方式,或者是除了WiFi和蓝牙之外的其他可以连接无线接入点网络的连接方式。In this embodiment, the client has a WiFi module and a Bluetooth module, and respectively provides 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 modules that are separately provided, or may be a two-in-one composite module. In S101, the connection manner between the client and the wireless access point network may be a WiFi mode or a Bluetooth mode. In the case that the network is connected to the wireless access point, the step of 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 can be understood that the original connection mode may be Bluetooth mode or WiFi mode, or a connection mode other than WiFi and Bluetooth that can connect to the wireless access point network.
在本实施例中,为了提高用户使用客户端的体验感,可以将WiFi方式设置为默认的接入方式。当用户需要使用客户端接入无线接入点网络上网时,先通过WiFi方式接入上网,WiFi接入成功后,每隔一段时间进行S101-S102的过程,来判断当前的网络流量,如果当前的网络负载低于我们预设的与蓝牙方式对应的切换阈值,就开始启动的蓝牙相关的进程和服务。In this embodiment, in order to improve the user experience of using the client, the WiFi mode may be set as the default access mode. When the user needs to use the client to access the wireless access point network, first access the Internet through WiFi. After the WiFi access is successful, the process of S101-S102 is performed at regular intervals to determine the current network traffic. The network load is lower than our default switching threshold corresponding to the Bluetooth mode, and the Bluetooth-related processes and services start to start.
S101中与客户端当前的无线接入点网络对应的网络负载是用来反映当前的原始连接方式下,当前的无线接入点网络对用户而言是否满足需求,在满足需 求的基础上网速资源富余度的多少。网络负载可以是由客户端自己获取的与自身的数据业务质量相关的数据,可以反应在原始连接方式下,客户端对于实时网络速率的需求,当客户端处于浏览网页,刷微博等使用状态时,数据业务对网络速率的要求不高,蓝牙连接方式一般可以满足客户端的需求,当客户端处于视屏播放,大型游戏等使用状态时,客户端的数据业务对网络速率的要求一般较高,鉴于一般蓝牙连接方式下的无线接入点网络可以提供的最大网络速率在1Mbps/s左右(实际最大速率可以根据实际设备来确定),此时WiFi方式更容易满足客户端的需求。The network load corresponding to the current wireless access point network of the client in S101 is used to reflect whether the current wireless access point network satisfies the demand for the user under the current original connection mode. Find out how much the basic Internet speed resource is rich. The network load may be data related to the quality of its own data service obtained by the client itself, and may reflect the requirement of the client for the real-time network rate in the original connection mode, when the client is browsing the webpage, brushing the microblog, etc. When the data service does not require high network speed, the Bluetooth connection method can generally meet the needs of the client. When the client is in the state of video playback, large games, etc., the data service of the client generally has higher requirements on the network speed. Generally, the maximum network speed that can be provided by the wireless access point network in the Bluetooth connection mode is about 1 Mbps/s (the actual maximum rate can be determined according to the actual device), and the WiFi mode is more likely to meet the requirements of the client.
鉴于客户端连接的无线接入点网络的网络速率在一定程度上可以反映客户端的数据业务质量,本实施例中,网络负载可以是客户端连接的无线接入点网络的网络速率。In this embodiment, the network load may be the network rate of the wireless access point network connected by the client, because the network rate of the wireless access point network connected to the client may reflect the data service quality of the client to some extent.
假设客户端当前连接无线接入点网络的原始连接方式是WiFi方式,则对于WiFi方式对应的切换阈值,可以将其设置为蓝牙接入方式下能提供的网络速率。其中,蓝牙接入方式下能提供的网络速率可以是蓝牙接入方式下的最大速率,为了切换到蓝牙接入方式后,网络质量得到保证,蓝牙接入方式下能提供的网络速率可以设置为低于最大网络速率的数据。假设蓝牙方式下的最大网络速率为1Mbps/s,在获取了WiFi方式下的客户端的网络速率后,将其与1Mbps/s进行比较,若超过该切换阈值,说明蓝牙方式还是无法满足当前客户端的需求,当前无需切换,若客户端的网络速率低于1Mbps/s,则说明蓝牙方式有很大的可能可以满足客户端的数据业务的需求,考虑到客户端在WiFi方式下比蓝牙方式下的功耗大,基于降低客户端功耗的考虑,判断结果应为,需要对客户端的无线接入点网络的连接方式进行切换。Assume that the original connection mode of the current wireless access point network of the client is the WiFi mode, and the switching threshold corresponding to the WiFi mode can be set to the network rate that can be provided in the Bluetooth access mode. The network rate that can be provided in the Bluetooth access mode can be the maximum rate in the Bluetooth access mode. In order to switch to the Bluetooth access mode, the network quality is guaranteed, and the network rate that can be provided in the Bluetooth access mode can be set to Data below the maximum network rate. Assume that the maximum network speed in the Bluetooth mode is 1 Mbps/s. After the network rate of the client in the WiFi mode is obtained, compare it with 1 Mbps/s. If the switching threshold is exceeded, the Bluetooth mode cannot satisfy the current client. Demand, currently no need to switch, if the network speed of the client is lower than 1Mbps/s, it means that the Bluetooth mode has a great possibility to meet the data service requirements of the client, considering the power consumption of the client in the WiFi mode compared to the Bluetooth mode. Large, based on the consideration of reducing the power consumption of the client, the judgment result should be that the connection mode of the wireless access point network of the client needs to be switched.
假设客户端当前连接无线接入点网络的原始连接方式是蓝牙方式,则对于蓝牙方式对应的切换阈值,可以将其设置为蓝牙方式下的最大速率,例如1Mbps/s,在获取了蓝牙方式下的客户端的网络速率后,将其与1Mbps/s进行比较,若获取的网络速率在切换阈值1Mbps/s左右,则再获取几次网络速率,若获取的网络速率均在切换阈值1Mbps/s左右,说明当前的数据业务可能对网络速率的要求较高,蓝牙方式可能无法满足当前客户端的需求,判断结果应为,需要对客户端的无线接入点网络的连接方式进行切换。 Assume that the original connection mode of the current wireless access point network of the client is the Bluetooth mode, and the switching threshold corresponding to the Bluetooth mode can be set to the maximum rate in the Bluetooth mode, for example, 1 Mbps/s. After the network rate of the client, compare it with 1 Mbps/s. If the obtained network rate is about 1 Mbps/s, the network rate is obtained several times. If the obtained network rate is at the switching threshold of 1 Mbps/s. It indicates that the current data service may have higher requirements on the network speed. The Bluetooth mode may not meet the requirements of the current client. The judgment result should be that the connection mode of the wireless access point network of the client needs to be switched.
当然,可以预见的是,网络速率本身受限于接入方式,将蓝牙方式下的1Mpbs/s作为条件不是太准确,需要结合其他的数据才能更精确地判断。Of course, it is foreseeable that the network rate itself is limited by the access mode. The condition of 1Mpbs/s in the Bluetooth mode is not too accurate, and it is necessary to combine other data to judge more accurately.
本实施例S101中的网络负载可以包括:在当前的无线接入点网络的原始连接方式下,在网络层单位时间内传输数据包的延时百分比。可以预见,若客户端当前处于上传数据的状态,则该时延百分比是客户端上传的数据包的时延百分比,若客户端处于下载数据的状态,则时延百分比可以理解为客户端接收的网络层发送的数据包的时延百分比。而与各连接方式对应的切换阈值则表示的是在各连接方式下,网络负载需要满足的要求。其中,与WiFi连接方式对应的切换阈值是用来判断当前的WiFi方式下的网络负载是否满足需求,是否需要将WiFi连接方式切换到蓝牙连接方式的判断依据,与蓝牙连接方式对应的网络负载是用来判断当前的蓝牙方式下的网络负载是否满足需求,是否需要将蓝牙连接方式切换到WiFi连接方式的判断依据。The network load in this embodiment S101 may include: a percentage delay of transmitting data packets in a network layer unit time in the original connection mode of the current wireless access point network. It can be foreseen that if the client is currently in the state of uploading data, the percentage of delay is the percentage of delay of the data packet uploaded by the client. If the client is in the state of downloading data, the percentage of delay can be understood as received by the client. The percentage of latency of packets sent by the network layer. The switching threshold corresponding to each connection mode indicates the requirement that the network load needs to be met in each connection mode. The switching threshold corresponding to the WiFi connection mode is used to determine whether the current network load in the WiFi mode satisfies the requirement, whether the WiFi connection mode needs to be switched to the Bluetooth connection mode, and the network load corresponding to the Bluetooth connection mode is It is used to determine whether the current network load in the Bluetooth mode meets the requirements, and whether the Bluetooth connection mode needs to be switched to the WiFi connection mode.
下面分别以客户端当前的原始连接方式为WiFi方式和蓝牙方式为例,对S103的过程进行解释说明。The following describes the process of S103 by taking the WiFi connection mode and the Bluetooth mode as the example of the original connection mode of the client.
一、当客户端当前的原始连接方式为WiFi方式时,根据客户端当前连接的无线接入点网络的网络负载和预设的与WiFi方式对应的切换阈值,判断客户端当前连接的无线接入点网络的网络负载是否不超过WiFi方式对应的切换阈值,若不超过,则客户端当前需要进行无线接入点网络的连接方式的切换。1. When the current connection mode of the client is the WiFi mode, the wireless connection currently connected by the client is determined according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the WiFi mode. Whether the network load of the point network does not exceed the handover threshold corresponding to the WiFi mode. If not, the client currently needs to switch the connection mode of the wireless access point network.
可以预见,将WiFi切换到蓝牙,一般是在当前客户端的数据业务对于网络速率的需求低于无线接入点网络在WiFi方式下可以提供的网络速率。此时当前网络流量较小,网络数据包的时延一般比较低,当前网络在低速模式下也可以满足客户端需求。所以对于与WiFi方式对应的切换阈值,反映的是WiFi方式切换到蓝牙方式时,单位时间内传输的数据包的延时百分比需满足的条件,一般时延百分比低于第一阈值,这里的第一阈值可以根据对网络质量要求的严格度设置,可以设置为1%,即单位时间内传输的数据包的时延百分比为不超过数据包总数的1%,当然也可以设置为其他合理的几率,本实施例对此不做限定。It can be foreseen that switching WiFi to Bluetooth generally requires that the data service of the current client has a lower network speed than the wireless access point network can provide in the WiFi mode. At this time, the current network traffic is small, and the delay of the network data packet is generally low. The current network can also meet the client requirements in the low speed mode. Therefore, the switching threshold corresponding to the WiFi mode reflects the condition that the delay percentage of the data packet transmitted per unit time needs to be met when the WiFi mode is switched to the Bluetooth mode, and the general delay percentage is lower than the first threshold. A threshold value can be set according to the strictness of the network quality requirement, and can be set to 1%, that is, the percentage of delay of the data packet transmitted per unit time is not more than 1% of the total number of data packets, and may also be set to other reasonable probability. This embodiment does not limit this.
当然,上述的判断方式还可以与网络速率的判断方式相结合,在S103中,当原始连接方式下的单位时间内传输的数据包的延时百分比低于数据包总数的第一阈值时,再对原始连接方式下的网络速率进行判断,当网络速率也低于蓝 牙方式下的最大速率时,将WiFi方式切换为蓝牙方式。上述的结合方式是为了举例说明,对两个判断条件的结合不做任何限定。Certainly, the foregoing determining manner may also be combined with the determining manner of the network rate. In S103, when the delay percentage of the data packet transmitted in the unit time in the original connection mode is lower than the first threshold of the total number of data packets, Judging the network rate in the original connection mode, when the network rate is lower than the blue When the maximum rate in the tooth mode, the WiFi mode is switched to the Bluetooth mode. The above combination is for illustrative purposes, and the combination of the two judgment conditions is not limited.
二、当原始连接方式为蓝牙方式时,根据客户端当前连接的无线接入点网络的网络负载和预设的与蓝牙方式对应的切换阈值,判断客户端当前连接的无线接入点网络的网络负载是否不低于切换阈值,若不低于,则客户端当前需要进行无线接入点网络的连接方式的切换。2. When the original connection mode is the Bluetooth mode, the network of the wireless access point network to which the client is currently connected is determined according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the Bluetooth mode. Whether the load is not lower than the handover threshold. If it is not lower, the client currently needs to switch the connection mode of the wireless access point network.
对于蓝牙连接方式下,将蓝牙切换到WiFi,必然是在蓝牙连接方式下的无线网络速率无法满足用户实际的需求,例如,用户在进行看视屏,打网游等对网络速率要求较高的操作,蓝牙连接方式下,提供的网速可能就没有办法带来良好的体验,单位时间内网络层发送的数据包的时延几率一般比较大,会造成视屏或网游的卡顿,给用户带来不良体验。所以对于蓝牙连接方式对应的切换阈值,可以设置为单位时间内网络的数据包时延几率高于数据包总数的第二阈值,由于单位时间内网络层传输的数据包出现时延的几率在50%以上时,就会出现比较明显的卡顿现象,所以可以将50%作为第二阈值。当单位之间内网络的数据包重传几率大于50%时,从蓝牙连接方式切换到WiFi连接方式。当然,本实施例中,第二阈值可以根据用户的实际情况或实际需要自由设置,当用户对网络速率的要求比较高时,可以将第二阈值设置为低于50%的数据,当用户对网络卡顿的容忍度较高时,可以将第二阈值设置为高于50%的数据,本实施例对此不作限定。For the Bluetooth connection mode, switching the Bluetooth to WiFi is inevitable that the wireless network rate in the Bluetooth connection mode cannot meet the actual needs of the user. For example, the user is performing a video screen, playing online games, etc., which requires a higher network speed. In the Bluetooth connection mode, the network speed provided may not bring a good experience. The probability of delay of the data packets sent by the network layer per unit time is generally large, which may cause the video or online game to be stuck, causing bad users. Experience. Therefore, for the handover threshold corresponding to the Bluetooth connection mode, the probability that the packet delay of the network per unit time is higher than the second threshold of the total number of packets, the probability of the delay of the data packet transmitted by the network layer per unit time is 50. When it is above %, a more obvious stuck phenomenon occurs, so 50% can be used as the second threshold. When the data packet retransmission probability of the intra-unit is greater than 50%, the Bluetooth connection mode is switched to the WiFi connection mode. Certainly, in this embodiment, the second threshold may be freely set according to the actual situation or actual needs of the user. When the user's requirement for the network rate is relatively high, the second threshold may be set to less than 50% of the data. When the tolerance of the network is high, the second threshold may be set to be higher than 50% of data, which is not limited in this embodiment.
在上述的判断之后,若需要切换连接方式,考虑到在客户端所处的区域,若有多个无线接入点网络覆盖,则对于客户端而言,可以有多个无线接入点网络选择,并且,多个无线接入点网络的网络信号有强有弱,客户端在切换连接方式时,还可以选择网络信号更强的无线接入点网络连接。After the above judgment, if the connection mode needs to be switched, considering that the area where the client is located, if there are multiple wireless access point network coverage, there may be multiple wireless access point network selections for the client. Moreover, the network signals of the plurality of wireless access point networks are strong and weak, and the client can also select a wireless access point network connection with a stronger network signal when switching the connection mode.
由此S103中对无线接入点网络的连接方式进行切换包括以下两种方式:Therefore, switching the connection mode of the wireless access point network in S103 includes the following two methods:
方式一:当客户端可接入的无线接入点网络为多个时,从多个无线接入点网络中选择一个作为目标网络,按照切换后的连接方式与目标网络连接。Manner 1: When there are multiple wireless access point networks accessible by the client, one of the multiple wireless access point networks is selected as the target network, and the target network is connected according to the switched connection mode.
对于一般的智能终端,例如智能手机,平板等,都可以搜索可连接的无线接入点网络,并且可以根据网络信号的强度对无线接入点网络进行排序,所以本实施例可以根据客户端自身获取的多个无线接入点网络的信号强度,从多个 网络中选择一个信号最强的无线接入点网络进行连接,选择的结果可能是当前连接的无线接入点网络,也可能是其他可接入的网络,选择结果可以根据实际情况而定。For a general intelligent terminal, such as a smart phone, a tablet, etc., the wireless access point network can be searched for, and the wireless access point network can be sorted according to the strength of the network signal, so this embodiment can be based on the client itself. Obtaining the signal strength of multiple wireless access point networks from multiple In the network, a network with the strongest wireless access point is selected for connection. The result of the selection may be the currently connected wireless access point network, or other accessible network, and the selection result may be determined according to actual conditions.
若选择的是其他可接入的网络,为了尽可能实现两种连接方式的无缝切换,降低因为网络切换带来的卡顿时间,可以先与其他可接入的网络进行连接,然后再断开当前连接的无线接入点网络,当然,先断开当前的网络再连接其他网络也是可行的。需要注意的是,切换后,连接无线接入点网络的连接方式是与原始接入方式不同的。If you choose another network that can be accessed, in order to achieve seamless switching between the two connection methods as much as possible, reduce the time of the network switching, you can connect with other accessible networks first, and then disconnect. Open the currently connected wireless access point network. Of course, it is also feasible to disconnect the current network and then connect to other networks. It should be noted that after the switchover, the connection mode of the network connected to the wireless access point is different from the original access mode.
在切换的时候,用户可能正在使用网上付款等不能中断的操作,如果切换,可能会给用户带来不良体验或者更严重的经济损失,所以在切换之前,客户端可以对用户进行切换提示,根据用户的选择进行相应的处理。提示方式包括但不限于通过语音提示,通过显示屏显示提示框等方式。At the time of switching, the user may be using an uninterruptible operation such as online payment. If the switchover is performed, the user may experience a bad experience or a more serious economic loss. Therefore, before switching, the client may switch the prompt to the user, according to The user's choice is processed accordingly. The prompting methods include, but are not limited to, a voice prompt, a prompt box displayed through a display screen, and the like.
若选择的无线接入点网络还是当前的网络,则参考下述的方式二中相关的详细切换过程。If the selected wireless access point network is still the current network, refer to the detailed detailed switching process in the second mode described below.
方式二:当客户端可接入的无线接入点网络为当前的无线接入点网络时,将当前的无线接入点网络的原始连接方式切换为对应的连接方式。Manner 2: When the wireless access point network accessible by the client is the current wireless access point network, the original connection mode of the current wireless access point network is switched to the corresponding connection mode.
当前的无线接入点网络的接入方式切换为对应的连接方式包括从WiFi方式切换到蓝牙方式,以及从蓝牙方式切换到WiFi方式。The current access mode of the wireless access point network is switched to the corresponding connection mode, including switching from the WiFi mode to the Bluetooth mode, and switching from the Bluetooth mode to the WiFi mode.
若当前的无线接入点的原始连接方式是WiFi方式,则需要切换到蓝牙方式,鉴于开启蓝牙的功耗较低,一般的无线接入点设备的蓝牙功能时一直开启的,所以客户端可以在确定需要求换连接方式后,直接开始发现蓝牙设备(开启蓝牙的无线接入点设备),当然,考虑到意外情况,在发现蓝牙设备前,客户端可以向当前的无线接入点网络发出开启蓝牙的请求。然后查询可通信的蓝牙设备的服务,从中得到相关信息RFCOMM的通道号,然后客户端发起RFCOMM连接请求建立RFCOMM的连接,当无线接入点设备接收到连接请求并响应后,客户端就与无线接入点设备建立了应用对接。在建立应用对接时,无线接入点路由同步将网络模式从WiFi方式切换到蓝牙方式,之后,对无线接入点设备而言,后续的网络层来的该客户端的数据都是经过无线接入点设备的蓝牙模块发送出去,对于客户端而言,以后就是通过蓝牙方式上网。 If the original connection mode of the current wireless access point is the WiFi mode, the Bluetooth mode needs to be switched. Since the power consumption of the Bluetooth enabled is low, the Bluetooth function of the general wireless access point device is always turned on, so the client can After determining the need to change the connection mode, directly start to discover the Bluetooth device (the Bluetooth access point device is turned on). Of course, considering the unexpected situation, the client can send the current wireless access point network before discovering the Bluetooth device. Turn on the Bluetooth request. Then query the service of the communicable Bluetooth device, obtain the channel number of the related information RFCOMM, and then the client initiates the RFCOMM connection request to establish the RFCOMM connection. When the wireless access point device receives the connection request and responds, the client and the wireless The access point device establishes application docking. When establishing application docking, the wireless access point routing synchronization switches the network mode from the WiFi mode to the Bluetooth mode. Thereafter, for the wireless access point device, the data of the client from the subsequent network layer is wirelessly accessed. The Bluetooth module of the point device is sent out. For the client, the Internet is accessed through Bluetooth in the future.
其中,考虑到在切换的过程中,会出现网络的暂时中断,为了尽量减少网络的中断时间,可以在客户端与无线接入点设备(无论是当前的无线接入点设备还是选择的其他无线接入点设备)之间的蓝牙连接建立完成之后,再将无线接入点设备的网络模式从WiFi转换到蓝牙。Among them, considering the temporary interruption of the network during the handover process, in order to minimize the network interruption time, the client and the wireless access point device (whether the current wireless access point device or other wireless device selected) After the establishment of the Bluetooth connection between the access point devices is completed, the network mode of the wireless access point device is switched from WiFi to Bluetooth.
若当前的无线接入点的原始连接方式是蓝牙方式,则需要切换到WiFi方式。在切换的时候,可以先获取无线接入点设备(无论是当前的无线接入点设备还是选择的其他无线接入点设备)的MAC地址,判断之前是否连接过该无线接入点设备,若连接过,则不需要丛客户端输入密码就可以直接连接。此时客户端可以先断开蓝牙连接,然后立刻切换到WiFi方式连接,对应的无线接入点设备只要接受客户端的WiFi连接即可。若之前没有连接过该无线接入点设备,则需要出入相应的密码(没有密码直接连接),完成WiFi连接的四次握手,才能连接上WiFi。由此,为了降低客户端的网络连接方式的切换带来的网络中断占用的时间,无线接入点设备可以在与客户端建立WiFi连接之后,再将路由从蓝牙方式切换到WiFi方式。此后,网络层来的数据就从WiFi方式出去供客户端使用。对于客户端而言,可以先建立与无线接入点设备之间的WiFi连接,然后在断开蓝牙连接。If the original connection mode of the current wireless access point is Bluetooth, you need to switch to WiFi mode. When switching, you can first obtain the MAC address of the wireless access point device (whether the current wireless access point device or another wireless access point device selected), and determine whether the wireless access point device has been connected before. Once connected, you can connect directly without the password input from the client. At this point, the client can disconnect the Bluetooth connection first, and then immediately switch to the WiFi mode connection, and the corresponding wireless access point device only needs to accept the WiFi connection of the client. If the wireless access point device has not been connected before, you need to enter the corresponding password (without the password to connect directly), and complete the four-way handshake of the WiFi connection to connect to the WiFi. Therefore, in order to reduce the time taken by the network interruption caused by the 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 a WiFi connection with the client. Thereafter, the data from the network layer goes out of the WiFi mode for the client to use. For the client, you can first establish a WiFi connection with the wireless access point device and then disconnect the Bluetooth connection.
为了降低客户端的功耗,WiFi模块和蓝牙模块可以同时只开启一个进行服务。In order to reduce the power consumption of the client, the WiFi module and the Bluetooth module can only open one service at a time.
在本实施例中,对无线接入点网络的连接方式的切换是考虑到客户端的功耗问题,S103中是以客户端的网络负载与预设的切换阈值的逻辑关系为依据进行切换,网络负载包括当前客户端对应的网络层单位时间内传输数据包的延时百分比。除了之外,还可以从别的角度考虑如何判断无线接入点网络的连接方式的切换,例如从客户端的使用场景,访问内容等方面进行考虑,对于观看视屏、玩游戏等需要高网速的使用场景,可以划分为需要WiFi方式的使用场景,对于刷网页、看小说等对网速要求不高使用场景,可以划分为需要蓝牙方式的使用场景。在进行是否切换连接方式的判断时,只需将客户端当前的使用场景与划分的使用场景进行匹配,匹配成功,则按照对应的连接方式连接无线接入点网络(可能切换也可能不切换)。In this embodiment, the connection mode of the wireless access point network is switched in consideration of the power consumption problem of the client, and in S103, the network load is based on the logical relationship between the network load of the client and the preset switching threshold. The percentage of delay in transmitting data packets per unit time in the network layer corresponding to the current client. In addition, it can be considered from other angles to determine how to switch the connection mode of the wireless access point network, for example, from the use scene of the client, accessing content, etc., for the viewing of video screens, playing games, etc., requiring high network speed. The usage scenario can be divided into a usage scenario in which a WiFi mode is required, and a usage scenario in which a network speed is not required for a web page or a novel is classified into a usage scenario requiring a Bluetooth mode. When determining whether to switch the connection mode, you only need to match the current usage scenario of the client with the used usage scenario. If the matching is successful, connect to the wireless access point network according to the corresponding connection mode (may or may not switch) .
对于访问内容而言,可以将视屏,游戏等需要大量传输图片的数据业务划 分为需要WiFi方式的访问内容,对于不含视屏的网页等对网速要求较低的访问内容可以划分为蓝牙方式的访问内容。在进行是否切换连接方式的判断时,只需将客户端当前的访问内容与划分的访问内容进行匹配,匹配成功,则按照对应的连接方式连接无线接入点网络(可能切换也可能不切换)。For accessing content, you can use video games, games, and other data services that require a large number of pictures to be transferred. It is divided into access content that requires the WiFi method, and the access content that requires less network speed, such as a webpage without a video screen, can be divided into Bluetooth-type access content. When determining whether to switch the connection mode, you only need to match the current access content of the client with the divided access content. If the matching is successful, the wireless access point network is connected according to the corresponding connection mode (may or may not switch) .
此外,还可以以客户端的剩余电量作为是否切换的标准,当客户端的剩余电量在警戒值以下时,可以将无线接入点网络的连接方式切换到蓝牙方式。In addition, the remaining power of the client may be used as a criterion for switching. When the remaining power of the client is below the alert value, the connection mode of the wireless access point network may be switched to the Bluetooth mode.
其中,上述的基于网络负载、访问内容、使用场景、网络速率以及客户端剩余电量的判断方式可以进行适当有机的结合得到更加全面、细致的判断规则,结合的方式本实施例不做任何限定。The foregoing method for determining the network load, the content to be accessed, the usage scenario, the network rate, and the remaining power of the client may be combined organically to obtain a more comprehensive and detailed judgment rule. The combined manner is not limited in this embodiment.
对于客户端而言,由于在无线接入点网络已接入的情况下,不会每时每刻都在检测当前的网络速率。因此,底层会在间隔时间内检测当前的网络速率,这个间隔时间是通过最近三次切换的时间间隔取平均值。例如前面三次大概是5个小时切换一次,因此,设备底层会在距离上一次切换5小时时自动检测网络负载情况,从而判断是否满足切换条件。所以,为了无线接入点网络的切换更加合理,在S101中,可以按照预设的时间间隔获取客户端当前的网络负载;然后进行后续的判断处理流程。其中,预设的时间间隔根据历史的时间间隔进行更新。For the client, since the wireless access point network is already connected, the current network rate is not detected every moment. Therefore, the underlying layer will detect the current network rate during the interval, which is averaged over the time interval of the last three handovers. For example, the previous three times are about 5 hours to switch. Therefore, the bottom layer of the device will automatically detect the network load condition when the distance is switched for 5 hours, so as to determine whether the switching condition is met. 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 acquired according to a preset time interval; and then a subsequent judgment processing flow is performed. The preset time interval is updated according to the historical time interval.
为了使得用户可以参与到切换流程中来,本实施例可以针对客户端编写应用程序,提供网络连接方式(WiFi方式和蓝牙方式)的选择界面,并且对每种连接方式进行说明,例如支持的使用场景、访问内容、支持的最大网速。从而使得用户可以根据使用场景等自行切换,这是用户手动切换,当然本实施例也支持客户端自动切换,其中,其中用户设置切换的优先级高于客户端自动切换。可以预见,预设的时间间隔不是固定不变的,而是根据用户手动切换和客户端自动切换的频率及周期及时更新这个时间间隔。In order to enable the user to participate in the handover process, the embodiment can write an application for the client, provide a selection interface of the network connection mode (WiFi mode and Bluetooth mode), and describe each connection mode, for example, support use. Scene, access content, maximum supported network speed. Therefore, the user can switch according to the usage scenario or the like, which is manually switched by the user. Of course, the embodiment also supports automatic client switching, wherein the user setting switching priority is higher than the client automatic switching. It can be foreseen that the preset time interval is not fixed, but the time interval is updated in time according to the frequency and cycle of the user manual switching and the automatic switching of the client.
采用本实施例的蓝牙和WiFi的切换方法,获取客户端当前连接的无线接入点网络的原始方式以及该连接方式下对应的网络负载,再结合预设的与无线连接点网络的各连接方式对应的切换阈值,确定网络负载与对应的切换阈值的逻辑关系是否满足切换原始连接方式的条件,在满足时进行切换。可以根据客户端的数据业务的需求对无线接入点网络的连接方式进行切换,相对于相关技术 中只考虑到资费进行数据网络和WiFi的切换,本实施例可以在客户端对网络速率的需求较低的时候,切换到功耗更低的蓝牙方式,有利于节约电量,增强客户端的续航能力,优化终端产品的功耗、待机功能,为用户提供更优质、贴心的服务。The Bluetooth and WiFi switching method of the embodiment is used to obtain the original mode of the wireless access point network currently connected by the client and the network load corresponding to the connection mode, and then combine the preset connection modes with the wireless connection point network. Corresponding handover thresholds are used to determine whether the logical relationship between the network load and the corresponding handover threshold satisfies the condition for switching the original connection mode, and performs handover when it is satisfied. The connection mode of the wireless access point network can be switched according to the requirements of the data service of the client, compared with related technologies. In the embodiment, only the tariff of the data network and the WiFi is switched. This embodiment can switch to the Bluetooth mode with lower power consumption when the client needs less network speed, which is conducive to saving power and enhancing the endurance of the client. Optimize the power consumption and standby function of the terminal products to provide users with better and more considerate services.
实施例二:Embodiment 2:
参见图2,本实施例示出了另一种蓝牙和WiFi切换的方法,在无线接入点设备侧主动发起了无线接入点网络的连接方式的切换,可以由无线接入点设备对无线接入点网络的连接方式是否切换进行判断,当需要切换时,可以控制客户端实现蓝牙和WiFi的无缝切换,当客户端对网络速率的需求较低时,可以切换到蓝牙模式进行无线接入点网络(俗称的热点)的连接,在满足客户端网络需求时,使用功耗低的蓝牙模式有利于客户端设备降低功耗,延长待机时间,给客户带来更好的体验,当客户端对网络速率的要求较高时,可以切换到WiFi模式进行无线接入点网络的连接。Referring to FIG. 2, this embodiment shows another method for Bluetooth and WiFi switching. The device at the wireless access point device actively initiates the switching of the connection mode of the wireless access point network, and can be wirelessly connected by the wireless access point device. Whether the connection mode of the in-point network is switched or not is determined. When the handover is required, the client can control the seamless switching between Bluetooth and WiFi. When the client has low demand for the network rate, the user can switch to the Bluetooth mode for wireless access. Point network (commonly known as hotspot) connection, when meeting the needs of the client network, the use of low power Bluetooth mode is beneficial to the client device to reduce power consumption, extend standby time, and bring a better experience to the client, when the client When the network rate requirement is high, the WiFi mode can be switched to connect to the wireless access point network.
S201、在无线接入点设备侧,获取与无线接入点设备的无线接入点网络连接的至少一个客户端当前的连接方式和对应的网络负载;其中,对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;S201. On the wireless access point device side, acquire a current connection mode and a corresponding network load of at least one client connected to the wireless access point network of the wireless access point device; wherein, the corresponding network load is used to indicate the wireless connection. The quality of the data service of the client under the original connection mode of the inbound network;
S202、根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与各客户端的原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;S202. Acquire a handover threshold corresponding to each connection manner of the wireless access point network, and obtain a handover threshold corresponding to an original connection mode of each client. The connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode.
S203、若某客户端对应的网络负载和与客户端的原始连接方式对应的切换阈值的逻辑关系满足切换条件;则向对应的客户端发送切换提示信息。S203. If the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition, the handover prompt information is sent to the corresponding client.
上述的S201-203均可由无线接入点设备完成,该无线接入点设备可以是任何可以通过WiFi方式或蓝牙方式分享AP网络的设备,例如手机、平板、电脑等等,本实施例的客户端是通过WiFi或蓝牙方式分享无线接入点设备的网络的设备,例如手机、平板电脑、台式电脑、智能手表、智能手环等等电子设备。本是私立对此没有任何限定。The above S201-203 can be completed by the wireless access point device, and the wireless access point device can be any device that can share the AP network through the WiFi or Bluetooth, such as a mobile phone, a tablet, a computer, etc., the client of this embodiment. The end is a device that shares the network of the wireless access point device through WiFi or Bluetooth, such as a mobile phone, a tablet computer, a desktop computer, a smart watch, a smart wristband, and the like. This is private and there is no limit to this.
在本实施例中,无线接入点设备具有WiFi模块和蓝牙模块,分别可以提供与WiFi方式和蓝牙方式供客户端连接自身的网络。自然,在本实施例中,WiFi模块和蓝牙模块可以是分开设置的来能个模块,也可以是二合一的合成模块。 在S201中,客户端与无线接入点网络之间的连接方式可以是WiFi方式也可以是蓝牙方式。当然,对于一个无线接入点设备而言,其可以同时为多个客户端提供无线接入点网络,且每个客户端连接无线接入点网络的连接方式可以不相同,即在同一时刻,两个客户端可以分别通过WiFi和蓝牙方式连接到同一无线接入点设备上分享该设备的网络。鉴于蓝牙方式功耗较低,一般而言,无线接入点设备上会将WiFi和蓝牙同时开启。In this embodiment, the wireless access point device has a WiFi module and a Bluetooth module, and respectively provides a network for connecting the client to the WiFi mode and the Bluetooth mode. Naturally, in this embodiment, the WiFi module and the Bluetooth module may be separately configured to be a module, or may be a two-in-one synthesis module. In S201, the connection manner between the client and the wireless access point network may be a WiFi mode or a Bluetooth mode. Of course, for a wireless access point device, it can provide a wireless access point network for multiple clients at the same time, and each client can connect to the wireless access point network in different ways, that is, at the same time, The two clients can connect to the network of the device on the same wireless access point device through WiFi and Bluetooth respectively. In view of the low power consumption of the Bluetooth mode, in general, WiFi and Bluetooth are simultaneously turned on on the wireless access point device.
所以,可以理解,S201中,原始连接方式可以是蓝牙方式和/或WiFi方式,或者是除了WiFi和蓝牙之外的其他可以连接无线接入点网络的连接方式。Therefore, it can be understood that in S201, the original connection mode may be a Bluetooth mode and/or a WiFi mode, or a connection mode other than WiFi and Bluetooth that can connect to the wireless access point network.
S201中与客户端当前的无线接入点网络对应的网络负载是用来反映当前的原始连接方式下,当前的无线接入点网络对用户而言是否满足需求,在满足需求的基础上网速资源富余度的多少。网络负载可以反应在原始连接方式下,客户端对于实时网络速率的需求,当客户端处于浏览网页,刷微博等使用状态时,数据业务对网络速率的要求不高,蓝牙连接方式一般可以满足客户端的需求,当客户端处于视屏播放,大型游戏等使用状态时,客户端的数据业务对网络速率的要求一般较高,鉴于一般蓝牙连接方式下的无线接入点网络可以提供的最大网络速率在1Mbps/s左右(实际最大速率可以根据实际设备来确定),此时WiFi方式更容易满足客户端的需求。The network load corresponding to the current wireless access point network of the client in S201 is used to reflect whether the current wireless access point network satisfies the demand for the user in the current original connection mode, and the Internet access speed resource is satisfied on the basis of the demand. How much is the surplus. The network load can reflect the demand of the client for the real-time network rate in the original connection mode. When the client is browsing the webpage and brushing the usage status of the microblog, the data service has low requirements on the network speed, and the Bluetooth connection mode can generally meet the requirements. Client requirements, when the client is in the state of video playback, large games, etc., the client's data service generally has higher network speed requirements, in view of the maximum network speed that the wireless access point network can provide under the general Bluetooth connection mode. About 1Mbps/s (the actual maximum rate can be determined according to the actual device), and the WiFi mode is easier to meet the needs of the client.
本实施例各客户端在原始连接方式下对应的网络负载可以包括:在当前的无线接入点网络的原始连接方式下,在网络层单位时间内传输数据包的延时百分比。而与各连接方式对应的切换阈值则表示的是在各连接方式下,网络负载需要满足的要求,各个客户端具有对应的网络负载。且由于各客户端的使用状态、连接方式的不同,各客户端对应的网络负载一般也不同。而与各连接方式对应的切换阈值则表示的是在各连接方式下,网络负载需要满足的要求。In this embodiment, the network load corresponding to each client in the original connection mode may include: a percentage of delay in transmitting data packets in the network layer unit time in the original connection mode of the current wireless access point network. The switching threshold corresponding to each connection mode indicates that the network load needs to be met in each connection mode, and each client has a corresponding network load. The network load corresponding to each client is generally different due to the usage status and connection mode of each client. The switching threshold corresponding to each connection mode indicates the requirement that the network load needs to be met in each connection mode.
对于无线接入点设备而言,客户端的原始连接方式不同时,判断过程也有所不同。For wireless access point devices, the judgment process is different when the original connection mode of the client is different.
若原始连接方式为WiFi方式,根据客户端当前连接的无线接入点网络的网络负载和预设的与WiFi方式对应的切换阈值,判断客户端当前连接的无线接入点网络的网络负载是否不超过切换阈值,若不超过,则客户端当前需要进行无线接入点网络的连接方式的切换。 If the original connection mode is the WiFi mode, determine whether the network load of the wireless access point network currently connected by the client is not based on the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the WiFi mode. If the switching threshold is exceeded, if not exceeded, the client currently needs to switch the connection mode of the wireless access point network.
可以预见,将WiFi切换到蓝牙,一般是在连接的客户端的数据业务对于网络速率的需求低于无线接入点网络在WiFi方式下可以提供的网络速率。此时客户端当前网络流量较小,该客户端的网络数据包的时延一般比较低,当前网络在低速模式下也可以满足客户端需求。所以对于与WiFi方式对应的切换阈值,反映的是WiFi方式切换到蓝牙方式时,单位时间内传输的数据包的延时百分比需满足的条件,一般时延百分比低于第一阈值,这里的第一阈值可以根据对网络质量要求的严格度设置,可以设置为1%,即网络层在单位时间内传输(接收或发送)的数据包的时延百分比为不超过数据包总数的1%是,客户端当前需要进行无线接入点网络的原始连接方式的切换。当然也可以设置为其他合理的几率,本实施例对此不做限定。It can be foreseen that the WiFi is switched to Bluetooth. Generally, the data service of the connected client has a lower network speed than the wireless access point network can provide in the WiFi mode. At this time, the current network traffic of the client is small, and the delay of the network packet of the client is generally low, and the current network can also meet the client requirements in the low speed mode. Therefore, the switching threshold corresponding to the WiFi mode reflects the condition that the delay percentage of the data packet transmitted per unit time needs to be met when the WiFi mode is switched to the Bluetooth mode, and the general delay percentage is lower than the first threshold. A threshold can be set according to the strictness of network quality requirements, and can be set to 1%, that is, the percentage of delay of the data packet transmitted (received or sent) by the network layer in a unit time is not more than 1% of the total number of packets. The client currently needs to switch the original connection mode of the wireless access point network. Of course, it can be set to other reasonable chances, which is not limited in this embodiment.
若原始连接方式为蓝牙方式,根据客户端当前连接的无线接入点网络的网络负载和预设的与蓝牙方式对应的切换阈值,判断客户端当前连接的无线接入点网络的网络负载是否不低于切换阈值,若是,则客户端当前需要进行无线接入点网络的连接方式的切换。If the original connection mode is the Bluetooth mode, according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the Bluetooth mode, it is determined whether the network load of the wireless access point network currently connected by the client is not Below the handover threshold, if yes, the client currently needs to switch the connection mode of the wireless access point network.
对于蓝牙连接方式下,将蓝牙切换到WiFi,必然是在蓝牙连接方式下的无线网络速率无法满足用户实际的需求,例如,用户在进行看视屏,打网游等对网络速率要求较高的操作,蓝牙连接方式下,提供的网速可能就没有办法带来良好的体验,单位时间内网络层传输的数据包的时延几率一般比较大,会造成视屏或网游的卡顿,给用户带来不良体验。所以对于蓝牙连接方式对应的切换阈值,可以设置为单位时间内网络的数据包延时(或重传)几率高于数据包总数的第二阈值,由于单位时间内网络层发送的数据包出现时延的几率在50%以上时,就会出现比较明显的卡顿现象,所以可以将50%作为第二阈值。当单位之间内网络的数据包延时几率大于50%时,从蓝牙连接方式切换到WiFi连接方式。当然,本实施例中,第二阈值可以根据用户的实际情况或实际需要自由设置,当用户对网络速率的要求比较高时,可以将第二阈值设置为低于50%的数据,当用户对网络卡顿的容忍度较高时,可以将第二阈值设置为高于50%的数据,本实施例对此不作限定。For the Bluetooth connection mode, switching the Bluetooth to WiFi is inevitable that the wireless network rate in the Bluetooth connection mode cannot meet the actual needs of the user. For example, the user is performing a video screen, playing online games, etc., which requires a higher network speed. In the Bluetooth connection mode, there may be no way to bring a good experience to the network speed provided. The probability of delays of data packets transmitted by the network layer per unit time is generally large, which may cause the video screen or online game to be stuck, causing bad users. Experience. Therefore, for the handover threshold corresponding to the Bluetooth connection mode, the data packet delay (or retransmission) probability of the network per unit time is higher than the second threshold of the total number of data packets, because the data packet sent by the network layer occurs in a unit time. When the probability of the delay is above 50%, a relatively obvious stuck phenomenon occurs, so 50% can be used as the second threshold. When the network packet delay probability of the intra-unit is greater than 50%, the Bluetooth connection mode is switched to the WiFi connection mode. Certainly, in this embodiment, the second threshold may be freely set according to the actual situation or actual needs of the user. When the user's requirement for the network rate is relatively high, the second threshold may be set to less than 50% of the data. When the tolerance of the network is high, the second threshold may be set to be higher than 50% of data, which is not limited in this embodiment.
在判断需要对客户端的原始连接方式进行切换后,可以选择发送控制命令给客户端,由客户端执行控制命令,完成自身的连接方式的切换。在判断需要对客户端的原始连接方式进行切换后,一般可以向对应的客户端(需要切换连 接方式的客户端)发送切换提示信息,提示用户当前可以对连接方式进行切换,根据客户端的响应进行相应的处理。After determining that the original connection mode of the client needs to be switched, the control command may be sent to the client, and the client executes the control command to complete the switching of the connection mode. After judging that the original connection mode of the client needs to be switched, it is generally possible to switch to the corresponding client (requires switching connection) The client of the connection mode sends a handover prompt message, prompting the user to switch the connection mode currently, and performing corresponding processing according to the response of the client.
在S203后,客户端一侧的蓝牙和WiFi切换的方法包括:接收与自身通过无线接入点网络连接的无线接入点设备发送的切换提示信息;根据用户的选择对切换提示信息进行相应的响应。用户选择了切换时,客户端就发起切换流程,切换流程可以参考实施例一的相关描述。用户选择不切换时,客户端可以不进行任何反馈,当无线接入点设备在一定时间内未收到任何反馈则可以认为放弃本次切换,当然,客户端也可以反馈放弃切换的信息给无线接入点设备。After S203, the method for switching the Bluetooth and the WiFi on the client side includes: receiving the handover prompt information sent by the wireless access point device connected to the network through the wireless access point; and correspondingly switching the prompt information according to the user's selection. response. When the user selects the handover, the client initiates the handover process. For the handover procedure, refer to the related description in the first embodiment. When the user chooses not to switch, the client may not perform any feedback. When the wireless access point device does not receive any feedback within a certain period of time, it may consider to abandon the handover. Of course, the client may also feedback to give up the handover information to the wireless. Access point device.
鉴于客户端连接的无线接入点网络的网络速率在一定程度上可以反映客户端的数据业务质量,本实施例中,网络负载也可以定义为客户端连接的无线接入点网络的网络速率。In this embodiment, the network load may also be defined as the network rate of the wireless access point network connected by the client, in view of the fact that the network rate of the wireless access point network connected to the client may reflect the data service quality of the client.
假设客户端当前连接无线接入点网络的原始连接方式是WiFi方式,则对于WiFi方式对应的切换阈值,可以将其设置为蓝牙接入方式下能提供的网络速率。其中,蓝牙接入方式下能提供的网络速率可以是蓝牙接入方式下的最大速率,为了切换到蓝牙接入方式后,网络质量得到保证,蓝牙接入方式下能提供的网络速率可以设置为低于最大网络速率的数据。假设蓝牙方式下的最大网络速率为1Mbps/s,在获取了WiFi方式下的客户端的网络速率后,将其与1Mbps/s进行比较,若超过该切换阈值,说明蓝牙方式还是无法满足当前客户端的需求,当前无需切换,若客户端的网络速率低于1Mbps/s,则说明蓝牙方式有很大的可能可以满足客户端的数据业务的需求,考虑到客户端在WiFi方式下比蓝牙方式下的功耗大,基于降低客户端功耗的考虑,对应的判断结果应为需要对客户端的无线接入点网络的连接方式进行切换。Assume that the original connection mode of the current wireless access point network of the client is the WiFi mode, and the switching threshold corresponding to the WiFi mode can be set to the network rate that can be provided in the Bluetooth access mode. The network rate that can be provided in the Bluetooth access mode can be the maximum rate in the Bluetooth access mode. In order to switch to the Bluetooth access mode, the network quality is guaranteed, and the network rate that can be provided in the Bluetooth access mode can be set to Data below the maximum network rate. Assume that the maximum network speed in the Bluetooth mode is 1 Mbps/s. After the network rate of the client in the WiFi mode is obtained, compare it with 1 Mbps/s. If the switching threshold is exceeded, the Bluetooth mode cannot satisfy the current client. Demand, currently no need to switch, if the network speed of the client is lower than 1Mbps/s, it means that the Bluetooth mode has a great possibility to meet the data service requirements of the client, considering the power consumption of the client in the WiFi mode compared to the Bluetooth mode. Large, based on the consideration of reducing the power consumption of the client, the corresponding judgment result should be the need to switch the connection mode of the wireless access point network of the client.
假设客户端当前连接无线接入点网络的原始连接方式是蓝牙方式,则对于蓝牙方式对应的切换阈值,可以将其设置为蓝牙方式下的最大速率,例如1Mbps/s,在获取了蓝牙方式下的客户端的网络速率后,将其与1Mbps/s进行比较,若获取的网络速率在切换阈值1Mbps/s左右,则再获取几次网络速率,若获取的网络速率均在切换阈值1Mbps/s左右,说明当前的数据业务可能对网络速率的要求较高,蓝牙方式可能无法满足当前客户端的需求,需要对客户端的无线接入点网络的连接方式进行切换。 Assume that the original connection mode of the current wireless access point network of the client is the Bluetooth mode, and the switching threshold corresponding to the Bluetooth mode can be set to the maximum rate in the Bluetooth mode, for example, 1 Mbps/s. After the network rate of the client, compare it with 1 Mbps/s. If the obtained network rate is about 1 Mbps/s, the network rate is obtained several times. If the obtained network rate is at the switching threshold of 1 Mbps/s. It indicates that the current data service may have higher requirements on the network speed. The Bluetooth mode may not meet the requirements of the current client, and the connection mode of the wireless access point network of the client needs to be switched.
在本实施例中,对无线接入点网络的连接方式的切换是考虑到客户端的功耗问题,以客户端的网络负载与预设的切换阈值为依据进行切换。除了之外,还可以从别的角度考虑如何判断客户端的原始连接方式是否需要切换,例如从客户端的使用场景,访问内容等方面进行考虑,对于观看视屏、玩游戏等需要高网速的使用场景,可以划分为需要WiFi方式的使用场景,对于刷网页、看小说等对网速要求不高使用场景,可以划分为需要蓝牙方式的使用场景。在进行是否切换连接方式的判断时,无线接入点设备只需将客户端当前的使用场景与划分的使用场景进行匹配,匹配成功,则按照对应的连接方式连接无线接入点网络(可能切换也可能不切换)。In this embodiment, the switching of the connection mode of the wireless access point network is based on the power consumption problem of the client, and is switched according to the network load of the client and the preset switching threshold. In addition, it can be considered from other angles to determine whether the original connection mode of the client needs to be switched, for example, from the use scene of the client, accessing content, etc., for the use of high-speed scenes for watching video, playing games, etc. It can be divided into usage scenarios that require the WiFi mode. For the use of the webpage, the novel, and the like, the usage speed is not high, and the usage scenario that needs the Bluetooth mode can be divided. When determining whether to switch the connection mode, the wireless access point device only needs to match the current usage scenario of the client with the divided usage scenario. If the matching is successful, the wireless access point network is connected according to the corresponding connection mode (possibly switching It may also not switch).
对于访问内容而言,可以将视屏,游戏等需要大量传输图片的数据业务划分为需要WiFi方式的访问内容,对于不含视屏的网页等对网速要求较低的访问内容可以划分为蓝牙方式的访问内容。在进行是否切换连接方式的判断时,无线接入点设备只需将客户端当前的访问内容与划分的访问内容进行匹配,匹配成功,则按照对应的连接方式连接无线接入点网络(可能切换也可能不切换)。For accessing content, data services that require a large amount of video transmission, such as video screens and games, can be divided into access content that requires WiFi access. For web pages that do not contain video screens, access content that requires lower network speed can be classified into Bluetooth. Access content. When determining whether to switch the connection mode, the wireless access point device 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 network is connected according to the corresponding connection mode (possibly switching It may also not switch).
其中,上述的基于网络负载、访问内容、使用场景、网络速率的判断方式可以进行适当有机的结合得到更加全面、细致的判断规则,结合的方式本实施例不做任何限定。The foregoing method for determining the network load, the content of the access, the usage scenario, and the network rate may be combined organically to obtain a more comprehensive and detailed judgment rule. The combined manner is not limited in this embodiment.
对于客户端而言,由于在无线接入点网络已接入的情况下,不会每时每刻都在检测当前的网络速率。因此,底层会在间隔时间内检测当前的网络速率,这个间隔时间是通过最近三次切换的时间间隔取平均值。例如前面三次大概是5个小时切换一次,因此,设备底层会在距离上一次切换5小时时自动检测网络负载情况,从而判断是否满足切换条件。所以,为了无线接入点网络的切换更加合理,无线接入点设备可以按照预设的时间间隔获取客户端当前的网络负载;然后进行后续的判断处理流程。其中,预设的时间间隔根据历史的时间间隔进行更新。这里的历史时间间隔可以是最近几次的时间间隔,例如最近3次,最近5次等。For the client, since the wireless access point network is already connected, the current network rate is not detected every moment. Therefore, the underlying layer will detect the current network rate during the interval, which is averaged over the time interval of the last three handovers. For example, the previous three times are about 5 hours to switch. Therefore, the bottom layer of the device will automatically detect the network load condition when the distance is switched for 5 hours, so as to determine whether the switching condition is met. Therefore, in order to make the switching of the wireless access point network more reasonable, the wireless access point device can acquire the current network load of the client according to a preset time interval; and then perform a subsequent judgment processing flow. The preset time interval is updated according to the historical time interval. The historical time interval here may be the most recent time interval, such as the last 3 times, the last 5 times, and the like.
采用本实施例的蓝牙和WiFi的切换方法,可以在无线接入点设备侧实现与客户端的连接方式是否需要切换的判断,在数据业务质量不受影响的情况下,将WiFi方式切换到低功耗的蓝牙方式,有效降低客户端的功耗,节约电量,增 强客户端的续航能力,优化终端产品的功耗、待机功能,为用户提供更优质的服务。With the Bluetooth and WiFi switching method of the embodiment, it is possible to determine whether the connection mode with the client needs to be switched on the device side of the wireless access point, and switch the WiFi mode to low power when the data service quality is not affected. Consumption of Bluetooth mode, effectively reducing the power consumption of the client, saving power, increasing Strong client's battery life, optimize the power consumption and standby function of the terminal products, and provide users with better service.
实施例三:Embodiment 3:
参见图3,本实施例提供了一种蓝牙和WiFi的切换***,包括无线接入点设备31和客户端32;客户端32与无线接入点设备31的无线接入点网络连接;无线接入点设备被配置为为客户端提供无线接入点网络,并在客户端对无线接入点网络的原始连接方式进行切换时对自身与客户端的连接方式进行相应的切换。Referring to FIG. 3, this embodiment provides a Bluetooth and WiFi switching system, including a wireless access point device 31 and a client 32. The client 32 is connected to a wireless access point network of the wireless access point device 31; The ingress device is configured to provide a wireless access point network for the client, and switch the connection mode between itself and the client when the client switches the original connection mode of the wireless access point network.
在本实施例中,客户端32包括第一获取模块321,被配置为获取客户端当前连接的无线接入点网络的原始连接方式和对应的网络负载;对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;以及根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;In this embodiment, the client 32 includes a first obtaining module 321 configured to acquire an original connection mode of the wireless access point network currently connected by the client and a corresponding network load; the corresponding network load is used to indicate wireless access. The quality of the data service of the client in the original connection mode of the network; and the handover threshold corresponding to each connection mode of the wireless access point network, and the handover threshold corresponding to the original connection mode; the connection of the wireless access point network The method includes WiFi mode and Bluetooth mode;
第一处理模块322,被配置为若对应的网络负载和与原始连接方式对应的切换阈值的逻辑关系满足切换条件,对无线接入点网络的原始连接方式进行切换。第一切换模块,被配置为在判断结果为是时,对无线接入点网络的原始连接方式进行切换。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 handover threshold corresponding to the original connection mode satisfies the handover condition. The first switching module is configured to switch the original connection mode of the wireless access point network when the determination result is yes.
其中,第一获取模块321被配置为按照预设的时间间隔获取客户端当前的网络负载;预设的时间间隔根据历史的时间间隔进行更新。The first obtaining module 321 is configured to acquire the 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, the network load may include: a percentage delay of the client transmitting the data packet in the network layer unit time under the currently connected wireless access point network.
考虑到无线接入点网络的连接方式一般是WiFi方式和蓝牙方式,本实施例中,第一处理模块322被配置为当原始连接方式为WiFi方式时,根据客户端当前连接的无线接入点网络的网络负载和预设的与WiFi方式对应的切换阈值,判断客户端当前连接的无线接入点网络的网络负载是否不超过WiFi方式对应的切换阈值,若不超过,则客户端当前需要进行无线接入点网络的连接方式的切换;Considering that the connection mode of the wireless access point network is generally the WiFi mode and the Bluetooth mode, in this embodiment, the first processing module 322 is configured to use the wireless access point currently connected by the client when the original connection mode is the WiFi mode. The network load of the network and the preset switching threshold corresponding to the WiFi mode determine whether the network load of the wireless access point network currently connected by the client does not exceed the handover threshold corresponding to the WiFi mode. If not, the client currently needs to perform the handover threshold. Switching of the connection mode of the wireless access point network;
或者,被配置为当原始连接方式为蓝牙方式时,根据客户端当前连接的无线接入点网络的网络负载和预设的与蓝牙方式对应的切换阈值,判断客户端当 前连接的无线接入点网络的网络负载是否不低于蓝牙方式对应的切换阈值,若不低于,则客户端当前需要进行无线接入点网络的连接方式的切换。Alternatively, when the original connection mode is the Bluetooth mode, the client is determined according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the Bluetooth mode. Whether the network load of the wireless access point network connected before is not lower than the handover threshold corresponding to the Bluetooth mode. If not lower, the client currently needs to switch the connection mode of the wireless access point network.
当客户端处于多个AP网络的覆盖下时,第一切换模块可以根据实际情况进行切换。第一切换模块323可以被配置为当客户端可接入的无线接入点网络为多个时,从多个无线接入点网络中选择一个作为目标网络,按照切换后的连接方式与目标网络连接;当客户端可接入的无线接入点网络为当前的无线接入点网络时,将当前的无线接入点网络的原始连接方式切换为对应的连接方式。When the client is under the coverage of multiple AP networks, the first switching module can switch according to actual conditions. The first switching module 323 can be configured to select one of the multiple wireless access point networks as the target network when the network accessable by the client is multiple, according to the switched connection mode and the target network. Connection; when the wireless access point network accessible by the client is the current wireless access point network, the original connection mode of the current wireless access point network is switched to the corresponding connection mode.
在本实施例中,无线接入点设备的数量不低于一个,AP网络覆盖客户端的无线接入点设备的数量也不低于一个,当客户端需要切换连接方式时,其连接的(或将要连接的)无线接入点网络也需要将与该客户端的连接方式设置为客户端需要的方式。无线接入点设备可以在客户端连开启了与原始连接方式不同的连接方式后,进行路由的切换。In this embodiment, the number of wireless access point devices is not less than one, and the number of wireless access point devices covering the client by the AP network is not less than one. When the client needs to switch the connection mode, the connection is (or The wireless access point network to be connected also needs to set the connection mode with the client to the way the client needs it. The wireless access point device can switch the route after the client connects to the connection mode different from the original connection mode.
采用本实施例的蓝牙和WiFi的切换***,客户端可以获取自身当前连接的无线接入点网络的原始方式以及该连接方式下对应的网络负载,再结合预设的与无线连接点网络的各连接方式对应的切换阈值,确定网络负载与对应的切换阈值的逻辑关系是否满足切换条件,若满足,则进行连接方式的切换,对应的无线接入点设备可以根据客户端的信息进行相应的切换。可以根据客户端的数据业务的需求对无线接入点网络的连接方式进行切换,相对于相关技术中只考虑到资费进行数据网络和WiFi的切换,本实施例可以在客户端对网络速率的需求较低的时候,切换到功耗更低的蓝牙方式,有利于节约电量,增强客户端的续航能力,优化终端产品的功耗、待机功能,为用户提供更优质、贴心的服务。With the Bluetooth and WiFi switching system of the embodiment, the client can obtain the original mode of the wireless access point network that is currently connected to the network, and the network load corresponding to the connection mode, and then combine the preset network with the wireless connection point network. The switching threshold corresponding to the connection mode determines whether the logical relationship between the network load and the corresponding handover threshold satisfies the handover condition. If yes, the connection mode is switched, and the corresponding wireless access point device can perform corresponding handover according to the information of the client. The connection mode of the wireless access point network can be switched according to the requirements of the data service of the client. Compared with the related technology, only the tariff is used to switch between the data network and the WiFi. In this embodiment, the network speed requirement of the client can be compared. When it is low, switching to the Bluetooth mode with lower power consumption is conducive to saving power, enhancing the endurance of the client, optimizing the power consumption and standby function of the terminal products, and providing users with better and more considerate services.
实施例四:Embodiment 4:
参见图4,示出了另一种蓝牙和WiFi的切换***,包括无线接入点设备41以及至少一个客户端42;客户端42与无线接入点设备41的无线接入点网络连接。Referring to FIG. 4, another Bluetooth and WiFi switching system is illustrated, including 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.
其中,无线接入点设备41包括第二获取模块411、第二处理模块412。The wireless access point device 41 includes a second acquiring module 411 and a second processing module 412.
第二获取模块411,获取与无线接入点设备的无线接入点网络连接的至少一个客户端当前的原始连接方式和对应的网络负载;对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;以及根据预设的与 无线接入点网络的各连接方式对应切换阈值,获取与各客户端的原始连接方式对应的切换阈值;无线接入点网络的连接方式包括WiFi方式和蓝牙方式;The second obtaining module 411 is configured to acquire a current original connection mode of the at least one client connected to the wireless access point network of the wireless access point device and a corresponding network load; the corresponding network load is used to indicate the original of the wireless access point network. The quality of the data service of the client in the connection mode; Each connection mode of the wireless access point network corresponds to a handover threshold, and acquires a handover threshold corresponding to the original connection mode of each client; the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
第二处理模块412,被配置为若某客户端对应的网络负载和与客户端的原始连接方式对应的切换阈值的逻辑关系满足切换条件;则向对应的客户端发送切换提示信息。The second processing module 412 is configured to send the handover prompt information to the corresponding client if the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition.
客户端42包括接收模块421,被配置为接收与自身通过无线接入点网络连接的无线接入点设备发送的切换提示信息;以及响应模块422,被配置为根据用户的选择对切换提示信息进行相应的响应。The client 42 includes a receiving module 421 configured to receive switching prompt information transmitted by a wireless access point device that is itself connected through the wireless access point network; and a response module 422 configured to perform switching prompt information according to the user's selection The corresponding response.
第二获取模块411可以按照预设的时间间隔获取与无线接入点设备的无线接入点网络连接的至少一个客户端对应的网络负载;预设的时间间隔根据历史的时间间隔进行更新。The second obtaining module 411 may acquire, according to a preset time interval, a network load corresponding to at least one client connected to the wireless access point network of the wireless access point device; the preset time interval is updated according to the historical time interval.
其中,与客户端对应的网络负载包括:在当前连接的无线接入点网络下,网络层在单位时间内传输数据包的延时百分比,时延百分比与各个客户端对应。即各个客户端均有与自身对应的时延百分比。The network load corresponding to the client includes: a percentage of delay of the network layer transmitting the data packet in a unit time under the currently connected wireless access point network, and the percentage of delay corresponds to each client. That is, each client has a percentage of delay corresponding to itself.
第二处理模块412,被配置为若原始连接方式为WiFi方式,根据客户端当前连接的无线接入点网络的网络负载和预设的与WiFi方式对应的切换阈值,判断客户端当前连接的无线接入点网络的网络负载是否不超过切换阈值,若不超过,则客户端当前需要进行无线接入点网络的原始连接方式的切换;若原始连接方式为蓝牙方式,根据客户端当前连接的无线接入点网络的网络负载和预设的与蓝牙方式对应的切换阈值,判断客户端当前连接的无线接入点网络的网络负载是否不低于切换阈值,若不低于,则客户端当前需要进行无线接入点网络的原始连接方式的切换。The second processing module 412 is configured to determine, according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the WiFi mode, to determine the wireless connection currently connected by the client, if the original connection mode is the WiFi mode. Whether the network load of the access point network does not exceed the handover threshold. If not, the client currently needs to switch the original connection mode of the wireless access point network; if the original connection mode is Bluetooth, according to the wireless connection currently connected by the client The network load of the access point network and the preset switching threshold corresponding to the Bluetooth mode determine whether the network load of the wireless access point network currently connected by the client is not lower than the handover threshold. If not lower, the client currently needs Switching between the original connection mode of the wireless access point network.
本公开实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
本公开实施例还提供了一种电子设备的结构示意图。参见图5,该电子设备包括:The embodiment of the present disclosure further provides a schematic structural diagram of an electronic device. Referring to FIG. 5, the electronic device includes:
至少一个处理器(processor)50,图5中以一个处理器50为例;和存储器 (memory)51,还可以包括通信接口(Communications Interface)52和总线53。其中,处理器50、通信接口52、存储器51可以通过总线53完成相互间的通信。通信接口52可以用于信息传输。处理器50可以调用存储器51中的逻辑指令,以执行上述实施例的方法。At least one processor 50, exemplified by a processor 50 in FIG. 5; and a memory (memory) 51 may also include a communication interface (Communications Interface) 52 and a bus 53. The processor 50, the communication interface 52, and the memory 51 can complete communication with each other through the bus 53. Communication interface 52 can be used for information transmission. Processor 50 can invoke logic instructions in memory 51 to perform the methods of the above-described embodiments.
此外,上述的存储器51中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。Furthermore, the logic instructions in the memory 51 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
存储器51作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器50通过运行存储在存储器51中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的蓝牙和WiFi切换的方法。The memory 51 is used as a computer readable storage medium for storing software programs, computer executable programs, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 50 executes a function application and data processing by executing software programs, instructions, and modules stored in the memory 51, that is, a method of implementing Bluetooth and WiFi switching in the above method embodiments.
存储器51可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器51可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 51 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 51 may include a high speed random access memory, and may also include a nonvolatile memory.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. A medium that can store program code, or a transitory storage medium.
采用本实施例的蓝牙和WiFi的切换***,无线接入点设备可以获取自身连接的客户端在当前连接的无线接入点网络的原始方式以及该连接方式下对应的网络负载,再结合预设的与无线连接点网络的各连接方式对应的切换阈值,判断网络负载与对应的切换阈值的逻辑关系是否满足切换原始连接方式的条件, 若满足,则可以控制客户端进行切换。在无线接入点设备侧,可以根据客户端的数据业务的需求对无线接入点网络的连接方式进行切换,相对于相关技术中只考虑到资费进行数据网络和WiFi的切换,本实施例可以在客户端对网络速率的需求较低的时候,切换到功耗更低的蓝牙方式,有利于节约电量,增强客户端的续航能力,优化终端产品的功耗、待机功能,为用户提供更优质、贴心的服务。With the Bluetooth and WiFi switching system of the embodiment, the wireless access point device can obtain the original mode of the currently connected wireless access point network of the client connected by itself and the corresponding network load in the connection mode, and then combine the presets. The switching threshold corresponding to each connection mode of the wireless connection point network determines whether the logical relationship between the network load and the corresponding handover threshold satisfies the condition for switching the original connection mode. If it is satisfied, you can control the client to switch. On the device side of the wireless access point, the connection mode of the wireless access point network can be switched according to the requirements of the data service of the client. Compared with the related technology, only the switching of the data network and the WiFi is considered, and the embodiment can be When the client's demand for network speed is low, switching to the Bluetooth mode with lower power consumption is conducive to saving power, enhancing the endurance of the client, optimizing the power consumption and standby function of the terminal product, and providing users with better quality and intimacy. Service.
显然,本领域的技术人员应该明白,上述本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储介质(ROM/RAM、磁碟、光盘)中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。所以,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present disclosure can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in a storage medium (ROM/RAM, diskette, optical disk) by a computing device, and in some cases The steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Therefore, the present disclosure is not limited to any specific combination of hardware and software.
以上内容是结合实施方式对本公开所作的详细说明,不能认定本公开的实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开实施例的范围的前提下,还可以做出若干简单推演或替换,都应当视为属于本公开的保护范围。The above is a detailed description of the present disclosure in connection with the embodiments, and the implementation of the present disclosure is not limited to the description. It is to be understood by those skilled in the art that the present invention may be construed as being limited to the scope of the present disclosure without departing from the scope of the embodiments of the present disclosure.
工业实用性Industrial applicability
本申请公开的蓝牙和WiFi切换的方法和***及客户端和无线接入点设备,有效降低客户端的功耗,节约电量,增强客户端的续航能力,优化终端产品的功耗、待机功能,为用户提供更优质的服务。 The Bluetooth and WiFi switching method and system and the client and the wireless access point device disclosed in the present application effectively reduce the power consumption of the client, save power, enhance the endurance capability of the client, optimize the power consumption and standby function of the terminal product, and serve the user Provide better service.

Claims (15)

  1. 一种蓝牙和WiFi切换的方法,包括:A method for Bluetooth and WiFi switching, comprising:
    获取客户端当前连接的无线接入点网络的原始连接方式和对应的网络负载;所述对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;Obtaining the original connection mode of the wireless access point network currently connected by the client and the corresponding network load; the corresponding network load is used to indicate the data service quality of the client in the original connection mode of the wireless access point network;
    根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与所述原始连接方式对应的切换阈值;所述无线接入点网络的连接方式包括WiFi方式和蓝牙方式;Obtaining a handover threshold corresponding to the original connection mode according to a preset handover threshold corresponding to each connection mode of the wireless access point network; the connection mode of the wireless access point network includes a WiFi mode and a Bluetooth mode;
    若所述对应的网络负载和与所述原始连接方式对应的切换阈值的逻辑关系满足切换条件,对无线接入点网络的原始连接方式进行切换。If the logical relationship between the corresponding network load and the handover threshold corresponding to the original connection mode satisfies the handover condition, the original connection mode of the wireless access point network is switched.
  2. 如权利要求1所述的方法,其中,获取客户端当前的网络负载包括:The method of claim 1 wherein obtaining the current network load of the client comprises:
    按照预设的时间间隔获取客户端当前的网络负载;所述预设的时间间隔根据历史的时间间隔进行更新。The current network load of the client is obtained according to a preset time interval; the preset time interval is updated according to the historical time interval.
  3. 如权利要求1所述的方法,其中,所述对应的网络负载和与所述原始连接方式对应的切换阈值的逻辑关系满足切换条件包括:The method of claim 1, wherein the logical relationship between the corresponding network load and the handover threshold corresponding to the original connection mode satisfies the handover condition comprises:
    当所述原始连接方式为WiFi方式时,根据客户端当前连接的无线接入点网络的网络负载和预设的与所述WiFi方式对应的切换阈值,判断所述客户端当前连接的无线接入点网络的网络负载是否不超过所述WiFi方式对应的切换阈值,若不超过,则所述客户端当前需要进行无线接入点网络的连接方式的切换;When the original connection mode is the WiFi mode, the wireless connection currently connected to the client is determined according to the network load of the wireless access point network that the client is currently connected to and the preset switching threshold corresponding to the WiFi mode. Whether the network load of the point network does not exceed the handover threshold corresponding to the WiFi mode, and if not, the client currently needs to switch the connection mode of the wireless access point network;
    或者,当所述原始连接方式为蓝牙方式时,根据客户端当前连接的无线接入点网络的网络负载和预设的与所述蓝牙方式对应的切换阈值,判断所述客户端当前连接的无线接入点网络的网络负载是否不低于所述蓝牙方式对应的切换阈值,若不低于,则所述客户端当前需要进行无线接入点网络的连接方式的切换。Or, when the original connection mode is the Bluetooth mode, determining, according to the network load of the wireless access point network that the client is currently connected, and the preset switching threshold corresponding to the Bluetooth mode, determining the wireless connection currently connected by the client Whether the network load of the access point network is not lower than the handover threshold corresponding to the Bluetooth mode. If not, the client currently needs to switch the connection mode of the wireless access point network.
  4. 如权利要求1-3任一项所述的方法,其中,所述网络负载包括:在当前连接的无线接入点网络下,客户端在网络层单位时间内传输数据包的延时百分比。 The method of any of claims 1-3, wherein the network load comprises a percentage of delays during which the client transmits data packets in the network layer unit time under the currently connected wireless access point network.
  5. 如权利要求1-3任一项所述的方法,其中,所述对无线接入点网络的原始连接方式进行切换包括:The method of any of claims 1-3, wherein the switching the original connection mode of the wireless access point network comprises:
    当所述客户端可接入的无线接入点网络为多个时,从多个无线接入点网络中选择一个作为目标网络,按照切换后的连接方式与所述目标网络连接;When the number of wireless access point networks accessible by the client is multiple, one of the multiple wireless access point networks is selected as the target network, and the target network is connected according to the switched connection manner;
    当所述客户端可接入的无线接入点网络为当前的无线接入点网络时,将当前的无线接入点网络的原始连接方式切换为对应的连接方式。When the wireless access point network accessible by the client is the current wireless access point network, the original connection mode of the current wireless access point network is switched to the corresponding connection mode.
  6. 一种蓝牙和WiFi切换的方法,包括:A method for Bluetooth and WiFi switching, comprising:
    在无线接入点设备侧,获取与所述无线接入点设备的无线接入点网络连接的至少一个客户端当前的原始连接方式和对应的网络负载;所述对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;Obtaining, at a wireless access point device side, a current original connection mode and a corresponding network load of at least one client connected to the wireless access point network of the wireless access point device; the corresponding network load is used to indicate wireless The quality of the data service of the client under the original connection mode of the access point network;
    根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与各客户端的原始连接方式对应的切换阈值;所述无线接入点网络的连接方式包括WiFi方式和蓝牙方式;And the switching threshold corresponding to the original connection mode of each client is obtained 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 includes a WiFi mode and a Bluetooth mode;
    若某客户端对应的网络负载和与所述客户端的原始连接方式对应的切换阈值的逻辑关系满足切换条件;则向对应的客户端发送切换提示信息。If the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition, the handover prompt information is sent to the corresponding client.
  7. 如权利要求6所述的方法,其中,所述若某客户端对应的网络负载和与所述客户端的原始连接方式对应的切换阈值的逻辑关系满足切换条件包括:The method of claim 6, wherein the logical relationship between the network load corresponding to a client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition:
    若所述原始连接方式为WiFi方式,根据客户端当前连接的无线接入点网络的网络负载和预设的与所述WiFi方式对应的切换阈值,判断所述客户端当前连接的无线接入点网络的网络负载是否不超过所述切换阈值,若不超过,则所述客户端当前需要进行无线接入点网络的原始连接方式的切换;If the original connection mode is the WiFi mode, determine the wireless access point currently connected by the client according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the WiFi mode. Whether the network load of the network does not exceed the handover threshold, and if not, the client currently needs to perform the handover of the original connection mode of the wireless access point network;
    若所述原始连接方式为蓝牙方式,根据客户端当前连接的无线接入点网络的网络负载和预设的与所述蓝牙方式对应的切换阈值,判断所述客户端当前连接的无线接入点网络的网络负载是否不低于所述切换阈值,若不低于,则所述客户端当前需要进行无线接入点网络的原始连接方式的切换。If the original connection mode is the Bluetooth mode, the wireless access point currently connected to the client is determined according to the network load of the wireless access point network currently connected by the client and the preset switching threshold corresponding to the Bluetooth mode. Whether the network load of the network is not lower than the handover threshold, if not lower, the client currently needs to switch the original connection mode of the wireless access point network.
  8. 如权利要求6所述的方法,其中,所述网络负载包括:在当前连接的无线接入点网络下,网络层在单位时间内传输数据包的延时百分比,所述时延百分比与各个客户端对应。 The method of claim 6, wherein the network load comprises: a percentage delay of the network layer transmitting the data packet per unit time under the currently connected wireless access point network, the delay percentage and each customer The end corresponds.
  9. 如权利要求6-8任一项所述的方法,其中,获取与所述无线接入点设备的无线接入点网络连接的至少一个客户端对应的网络负载包括:The method according to any one of claims 6-8, wherein acquiring a network load corresponding to at least one client connected to the wireless access point network of the wireless access point device comprises:
    按照预设的时间间隔获取与所述无线接入点设备的无线接入点网络连接的至少一个客户端对应的网络负载;所述预设的时间间隔根据历史的时间间隔进行更新。Acquiring a network load corresponding to at least one client connected to the wireless access point network of the wireless access point device according to a preset time interval; the preset time interval is updated according to a historical time interval.
  10. 一种客户端,包括:A client that includes:
    第一获取模块,被配置为获取客户端当前连接的无线接入点网络的原始连接方式和对应的网络负载;所述对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;以及根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与所述原始连接方式对应的切换阈值;所述无线接入点网络的连接方式包括WiFi方式和蓝牙方式;The first obtaining module is configured to obtain an original connection mode of the wireless access point network currently connected by the client and a corresponding network load; the corresponding network load is used to indicate the original connection mode of the wireless access point network, the client The data service quality of the end; and the switching threshold corresponding to each connection mode of the wireless access point network, and the switching threshold corresponding to the original connection mode; the connection mode of the wireless access point network includes a WiFi mode and Bluetooth mode;
    第一处理模块,被配置为若所述对应的网络负载和与所述原始连接方式对应的切换阈值的逻辑关系满足切换条件,对无线接入点网络的原始连接方式进行切换。第一切换模块,被配置为在判断结果为是时,对无线接入点网络的原始连接方式进行切换。The first processing module 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 handover threshold corresponding to the original connection mode satisfies the handover condition. The first switching module is configured to switch the original connection mode of the wireless access point network when the determination result is yes.
  11. 一种无线接入点设备,包括:A wireless access point device, comprising:
    第二获取模块,获取与所述无线接入点设备的无线接入点网络连接的至少一个客户端当前的原始连接方式和对应的网络负载;所述对应的网络负载用于表示无线接入点网络的原始连接方式下,客户端的数据业务质量;以及根据预设的与无线接入点网络的各连接方式对应切换阈值,获取与各客户端的原始连接方式对应的切换阈值;所述无线接入点网络的连接方式包括WiFi方式和蓝牙方式;a second acquiring module, configured to acquire a current original connection mode and a corresponding network load of at least one client connected to the wireless access point network of the wireless access point device; the corresponding network load is used to indicate a wireless access point The data quality of the client in the original connection mode of the network; and the switching threshold corresponding to each connection mode of the wireless access point network, and the switching threshold corresponding to the original connection mode of each client; the wireless access The connection mode of the point network includes a WiFi mode and a Bluetooth mode;
    第二处理模块,被配置为若某客户端对应的网络负载和与所述客户端的原始连接方式对应的切换阈值的逻辑关系满足切换条件;则向对应的客户端发送切换提示信息。The second processing module is configured to send the handover prompt information to the corresponding client if the logical relationship between the network load corresponding to the client and the handover threshold corresponding to the original connection mode of the client satisfies the handover condition.
  12. 一种蓝牙和WiFi的切换***,包括无线接入点设备和至少一个如权利要求10所述的客户端;所述无线接入点设备被配置为为所述客户端提供无线接入点网络,并在客户端对无线接入点网络的原始连接方式进行切换时对自身与 客户端的连接方式进行相应的切换。A Bluetooth and WiFi switching system comprising a wireless access point device and at least one client according to claim 10; said wireless access point device being configured to provide said client with a wireless access point network, And when the client switches the original connection mode of the wireless access point network to itself The client connection mode is switched accordingly.
  13. 一种蓝牙和WiFi的切换***,包括如权利要求11的无线接入点设备以及至少一个客户端;所述客户端与所述无线接入点设备的无线接入点网络连接,被配置为接收与自身通过无线接入点网络连接的无线接入点设备发送的切换提示信息;以及根据用户的选择对所述切换提示信息进行相应的响应。A Bluetooth and WiFi switching system comprising the wireless access point device of claim 11 and at least one client; the client being connected to a wireless access point network of the wireless access point device, configured to receive Switching prompt information sent by the wireless access point device connected to the wireless access point network by itself; and correspondingly responding to the switching prompt information according to the user's selection.
  14. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5中任一项的方法。A non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-5.
  15. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求6-9中任一项的方法。 A non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 6-9.
PCT/CN2017/087145 2016-09-06 2017-06-05 Method and system for switching between bluetooth and wi-fi, and client end and wireless access point device WO2018045783A1 (en)

Applications Claiming Priority (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
CN201610807040.6 2016-09-06

Publications (1)

Publication Number Publication Date
WO2018045783A1 true WO2018045783A1 (en) 2018-03-15

Family

ID=61530769

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (2)

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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866969A (en) * 2021-03-09 2021-05-28 浙江一通电子科技有限公司 Bluetooth connection method and connection system for multi-frequency conversion control of tower crane
CN113890905A (en) * 2021-06-16 2022-01-04 荣耀终端有限公司 Channel switching method, electronic device and storage medium
CN113993103A (en) * 2021-10-22 2022-01-28 安徽江淮汽车集团股份有限公司 Network automatic interconnection method for vehicle-mounted terminal
CN114726794A (en) * 2022-04-14 2022-07-08 深圳市优克联新技术有限公司 Method, device and equipment for providing network channel and readable storage medium
CN114931308A (en) * 2022-06-17 2022-08-23 小水怪(深圳)智能科技有限公司 Intelligent vehicle-mounted water cup and intelligent communication method thereof
CN117915376A (en) * 2024-03-18 2024-04-19 欧智通科技股份有限公司 WiFi signal testing method

Families Citing this family (10)

* 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
CN113543294A (en) * 2021-07-14 2021-10-22 东莞市小精灵教育软件有限公司 Communication control method of intelligent terminal, intelligent terminal and medium

Citations (4)

* 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
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof
CN104602311A (en) * 2014-12-29 2015-05-06 北京奇虎科技有限公司 Terminal connected with a plurality of wireless networks simultaneously and switching method for terminal
US20150271808A1 (en) * 2012-12-06 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for wireless communication

Family Cites Families (12)

* 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
CN103368611A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Method and mobile terminal for file transfer
WO2014065828A1 (en) * 2012-10-26 2014-05-01 Nokia Corporation Reversible handover
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
CN103874156B (en) * 2014-03-10 2017-06-20 宇龙计算机通信科技(深圳)有限公司 A kind of terminal and method for switching network
DE102015208547A1 (en) * 2014-05-09 2015-11-12 Apple Inc. ADVANCED BLUETOOTH COMMUNICATION MODES
CN104796956A (en) * 2015-04-23 2015-07-22 陆俊 Mobile terminal network switching method and mobile terminal
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 (4)

* 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
US20150271808A1 (en) * 2012-12-06 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for wireless communication
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof
CN104602311A (en) * 2014-12-29 2015-05-06 北京奇虎科技有限公司 Terminal connected with a plurality of wireless networks simultaneously and switching method for terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866969A (en) * 2021-03-09 2021-05-28 浙江一通电子科技有限公司 Bluetooth connection method and connection system for multi-frequency conversion control of tower crane
CN112866969B (en) * 2021-03-09 2024-05-31 浙江恒邦电气科技有限公司 Bluetooth connection method and connection system for multi-conversion control of tower crane
CN113890905A (en) * 2021-06-16 2022-01-04 荣耀终端有限公司 Channel switching method, electronic device and storage medium
CN113993103A (en) * 2021-10-22 2022-01-28 安徽江淮汽车集团股份有限公司 Network automatic interconnection method for vehicle-mounted terminal
CN113993103B (en) * 2021-10-22 2024-01-19 安徽江淮汽车集团股份有限公司 Network automatic interconnection method for vehicle-mounted terminal
CN114726794A (en) * 2022-04-14 2022-07-08 深圳市优克联新技术有限公司 Method, device and equipment for providing network channel and readable storage medium
CN114726794B (en) * 2022-04-14 2024-06-04 深圳市优克联新技术有限公司 Method, device and equipment for providing network channel and readable storage medium
CN114931308A (en) * 2022-06-17 2022-08-23 小水怪(深圳)智能科技有限公司 Intelligent vehicle-mounted water cup and intelligent communication method thereof
CN114931308B (en) * 2022-06-17 2023-08-01 小水怪(深圳)智能科技有限公司 Intelligent vehicle-mounted water cup and intelligent communication method thereof
CN117915376A (en) * 2024-03-18 2024-04-19 欧智通科技股份有限公司 WiFi signal testing method
CN117915376B (en) * 2024-03-18 2024-06-04 欧智通科技股份有限公司 WiFi signal testing method

Also Published As

Publication number Publication date
CN107801222B (en) 2022-05-13
CN107801222A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
WO2018045783A1 (en) Method and system for switching between bluetooth and wi-fi, and client end and wireless access point device
US10575359B2 (en) Service communication method, terminal and network device
CN113766559A (en) Network mode control method, terminal and storage medium
JP6375726B2 (en) Wireless communication apparatus and program
KR102374338B1 (en) An electronic device for transmitting and receiving data in a wireless communication system and a method thereof
EP3554109B1 (en) Method for establishing communication, and terminal
TWI415501B (en) Wireless network system and wireless access point device thereof
US11178624B2 (en) Method of adjusting transmission power of terminal, mobile terminal, and storage device
KR101869292B1 (en) Method for setting communication channel of device, method for setting communication channel between a plurality of devices, and device
US20150092764A1 (en) Communication apparatus, data processing apparatus, control method thereof, and recording medium
EP3783957B1 (en) Transmission path switching method, computer-readable storage medium and device
CN111542133A (en) Information transmission method, system, receiving device, transmitting device and storage medium
US20140112326A1 (en) Communication apparatus and method for controlling the same
WO2019015429A1 (en) Data transmission method, device, terminal and computer-readable storage medium
KR102424844B1 (en) Device supporting wireless p2p communication with external device and communication method thereof
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
WO2015131624A1 (en) Method and device for controlling wireless network connection
CN105407452A (en) Method and system for controlling data flow in Bluetooth sharing network
CN104917996A (en) Method and system for switching video call
US9649557B2 (en) Method and terminal for game data communication
JP6970578B2 (en) Communication equipment and its control method, program
KR101742710B1 (en) System for Providing Remote-Support Service, Apparatus and Method Thereof
JP2016149648A (en) Communication device, control method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17847956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17847956

Country of ref document: EP

Kind code of ref document: A1