WiFi hotspot management method, electronic device and storage medium

By acquiring and utilizing the initial network resources and target WiFi hotspots with scattered frequency bands for data transmission, the problems of high bit error rate and low speed in multiple link transmission are solved, and more efficient data transmission is achieved.

CN113543278BActive Publication Date: 2024-11-22ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010313024.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-20
Publication Date
2024-11-22
Estimated Expiration
2040-04-20

AI Technical Summary

Technical Problem

When the mobile phone transmits data through multiple links, each wireless module transmits and receives data at the same time in the same frequency band, resulting in an increase in the bit error rate and a decrease in the rate of data transmission.

Method used

By obtaining information about network resources that can be connected to the current network environment, sending hotspots to external devices, turning on target WiFi hotspots with staggered frequency bands, and using the initial network resources and target WiFi hotspots for data transmission to avoid data in different frequency bands interfering with each other.

Benefits of technology

Reduces the bit error rate of data transmission and improves the data transmission rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113543278B_ABST
    Figure CN113543278B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of communication, and discloses a WiFi hotspot management method, including: using the connectable network resources of the current network environment as the initial network resources, obtaining the network information of the initial network resources; sending a hotspot opening command to an external device, the hotspot opening command carrying the network information of the initial network resources; receiving a feedback message of the external device in response to the hotspot opening command, and connecting to the target WiFi hotspot opened by the external device according to the feedback message, the frequency band of the target WiFi hotspot staggers the frequency band of the initial network resources; using the initial network resources and the target WiFi hotspot for data transmission. The present invention also discloses an electronic device and a storage medium. The WiFi hotspot management method, electronic device and storage medium disclosed in the present invention reduce the bit error rate of data transmission and increase the rate when data is diverted to multiple links for transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular to a WiFi hotspot management method, an electronic device, and a storage medium. Background Art

[0002] Currently, all mainstream mobile phones on the market support the multi-channel data concurrent acceleration function, which means that data is diverted to multiple links for transmission. In actual application scenarios, when users turn on the multi-channel data concurrent acceleration function, the mobile phone transmits data simultaneously through the cellular wireless network and the connected WiFi hotspot, or the mobile phone transmits data simultaneously through two connected WiFi hotspots. The multi-channel data concurrent acceleration function can achieve the superposition of multiple data bandwidth rates, greatly improving the data transmission rate. Therefore, products in the entire mobile phone industry are rapidly popularizing and supporting this function.

[0003] However, the inventors discovered that when a mobile phone diverts data to multiple links for transmission, each link has uplink and downlink data at the same time. Different wireless modules of the same mobile phone send and receive data at the same time in similar or the same frequency band. The data transmitted by each wireless module interfere with each other, which increases the bit error rate of data transmission and reduces the data transmission rate. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a WiFi hotspot management method, an electronic device, and a storage medium, so that when data is diverted to multiple links for transmission, the bit error rate of data transmission is reduced and the rate is increased.

[0005] To solve the above technical problems, an embodiment of the present invention provides a WiFi hotspot management method, comprising: taking a connectable network resource in a current network environment as an initial network resource, and obtaining network information of the initial network resource; sending a hotspot activation command to an external device, wherein the hotspot activation command carries the network information of the initial network resource; receiving a feedback message from the external device in response to the hotspot activation command, and connecting to a target WiFi hotspot activated by the external device according to the feedback message, wherein the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resource; and using the initial network resource and the target WiFi hotspot for data transmission.

[0006] An embodiment of the present invention also provides a WiFi hotspot management method, comprising: receiving a hotspot activation command sent by a device to be accessed, the hotspot activation command carrying network information of the initial network resources of the device to be accessed; enabling a target WiFi hotspot, the frequency band of the target WiFi hotspot being staggered from the frequency band of the initial network resources of the device to be accessed; generating a feedback message in response to the hotspot activation command, the feedback message including the hotspot information of the target WiFi hotspot; and sending the feedback message so that the device to be accessed can connect to the target WiFi hotspot.

[0007] An embodiment of the present invention also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned WiFi hotspot management method.

[0008] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned WiFi hotspot management method when executed by a processor.

[0009] Compared with the prior art, the embodiment of the present invention uses the connectable network resources of the current network environment as the initial network resources, obtains the network information of the initial network resources, sends a hotspot opening command to the external device, the hotspot opening command carries the network information of the initial network resources, receives the feedback message of the external device in response to the hotspot opening command, and connects to the target WiFi hotspot opened by the external device according to the feedback message, the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resources, and the initial network resources and the target WiFi hotspot are used for data transmission. By controlling the external device to open the target WiFi hotspot whose frequency band is staggered from the frequency band of the initial network resources, and using the target WiFi hotspot and the initial network resources for data transmission, since the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resources, each wireless module sends and receives data in different frequency bands, and the data transmission in different frequency bands will not interfere with each other, so that the bit error rate of data transmission is reduced and the rate is increased.

[0010] In addition, when the initial network resource includes a cellular wireless network, obtaining the network information of the initial network resource includes: obtaining frequency band information of the cellular wireless network; when the initial network resource includes a connected WiFi hotspot, obtaining the network information of the initial network resource includes: obtaining hotspot information of the connected WiFi hotspot.

[0011] In addition, after obtaining the frequency band information of the cellular wireless network, the method further includes: obtaining the operator information of the cellular wireless network; the hotspot activation command also carries the operator information of the cellular wireless network. Since the frequency bands of the cellular wireless networks of different operators are different, by carrying the operator information of the cellular wireless network in the hotspot activation command, the external device can activate the WiFi hotspot of the frequency band of the cellular wireless network carried by selecting the cellular wireless network of different operators.

[0012] In addition, after obtaining the hotspot information of the connected WiFi hotspot, the method further includes: obtaining the frequency band information of the connected WiFi hotspot; and the hotspot activation command also carries the frequency band information of the connected WiFi hotspot. By carrying the frequency band information of the connected WiFi hotspot in the hotspot activation command, the external device can obtain the frequency band information of the connected WiFi hotspot when it cannot connect to the connected WiFi hotspot, and activate a WiFi hotspot whose frequency band is staggered from the frequency band of the connected WiFi hotspot.

[0013] In addition, before obtaining the network information of the initial network resource, the method further includes: detecting the network speed of the WiFi hotspot with connection authority within the connection range; determining that the WiFi hotspot with a network speed less than a preset threshold is an invalid WiFi hotspot; and the hotspot opening command also carries the hotspot information of the invalid WiFi hotspot. The hotspot opening command carries the hotspot information of the WiFi hotspot with a network speed less than the preset threshold, thereby avoiding the poor network quality provided by the WiFi hotspot opened by the external device due to the external device connecting to the WiFi hotspot with too slow a network speed.

[0014] In addition, when the hotspot opening command carries the frequency band information of the cellular wireless network of the device to be accessed and the hotspot information of the WiFi hotspot to which the device to be accessed is connected, before opening the target WiFi hotspot, it also includes: connecting to the WiFi hotspot to which the device to be accessed is connected according to the hotspot information of the WiFi hotspot to which the device to be accessed is connected. In the case that the cellular wireless network and the WiFi hotspot selectable by the device to be accessed do not have different frequency bands, by connecting to the WiFi hotspot to which the device to be accessed is connected, the WiFi hotspot of the different frequency band can be opened and provided to the device to be accessed based on the network connected to the WiFi hotspot, so that the device to be accessed can perform data transmission based on the cellular wireless network and the WiFi hotspot of the different frequency band.

[0015] In addition, when the hotspot opening command carries the hotspot information of the WiFi hotspot to which the device to be accessed is connected, but does not carry the frequency band information of the Cellular wireless network to which the device to be accessed is connected, before opening the target WiFi hotspot, it also includes: connecting to a WiFi hotspot with connection permission within the connection range other than the WiFi hotspot to which the device to be accessed is connected. In the case where the initial network resources of the device to be accessed do not include the Cellular wireless network, and the selectable WiFi hotspots do not have different frequency bands, by connecting to a WiFi hotspot other than the WiFi hotspot to which the device to be accessed is connected, it is possible to avoid the acceleration effect being poor when the device to be accessed performs multi-channel data concurrency due to the fact that the connected WiFi hotspot is the same WiFi hotspot as the WiFi hotspot to which the device to be accessed is connected.

[0016] In addition, when the hotspot opening command carries the frequency band information of the cellular wireless network of the device to be connected and the hotspot information of the invalid WiFi hotspot, before opening the target WiFi hotspot, it also includes: connecting to a WiFi hotspot with connection permission within the connection range except for the invalid WiFi hotspot. By connecting to a WiFi hotspot other than the invalid WiFi hotspot carried by the hotspot opening command, it is avoided that the network quality provided by the opened WiFi hotspot is poor due to connecting to a WiFi hotspot with too slow network speed.

[0017] In addition, when the hotspot opening command carries the operator information of the cellular wireless network of the device to be accessed, before opening the target WiFi hotspot, the method further includes: switching to a cellular wireless network whose operator is different from the operator of the cellular wireless network of the device to be accessed. Since the frequency bands of the cellular wireless networks of different operators are different, by selecting the cellular wireless networks of different operators, a WiFi hotspot with a frequency band of the cellular wireless network carried by the staggered frequency band is opened. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.

[0019] Figure 1 is a schematic flow chart of a WiFi hotspot management method according to a first embodiment of the present invention;

[0020] Figure 2 is a flow chart of a WiFi hotspot management method according to a second embodiment of the present invention;

[0021] Figure 3 is a schematic flow chart of a WiFi hotspot management method according to a third embodiment of the present invention;

[0022] Figure 4 is a schematic flow chart of a WiFi hotspot management method according to a fourth embodiment of the present invention;

[0023] Figure 5 is a schematic flow chart of a WiFi hotspot management method according to a fifth embodiment of the present invention;

[0024] Figure 6 is a flow chart of a WiFi hotspot management method according to a sixth embodiment of the present invention;

[0025] Figure 7 FIG. 4 is a schematic structural diagram of an electronic device according to a seventh embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the following will be described in detail with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the various embodiments of the present invention, many technical details are provided in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented.

[0027] The multi-channel data concurrent acceleration function refers to the function applied in mobile phones and other terminals to divert data to multiple links for transmission. From the perspective of the underlying physical device, when the mobile phone diverts data to multiple links for transmission, there is an inter-frequency interference problem between different wireless modules on the mobile phone. For example, the cellular wireless network shown in Table 1 and the 2.4G WiFi (working frequency band 2400MHz-2500MHz) will interfere with each other when working at the same time; 5G (fifth-generation mobile communication technology, 5th-Generation) TDD n79 (uplink and downlink working frequency bands are 4400MHz-5000MHz) and 5G WiFi (working frequency band 4900-5900MHz) will interfere with each other when working at the same time.

[0028]

[0029] Table 1

[0030] To solve the above problems, the first embodiment of the present invention relates to a WiFi hotspot management method, including: using the connectable network resources of the current network environment as the initial network resources, obtaining the network information of the initial network resources; sending a hotspot opening command to an external device, the hotspot opening command carrying the network information of the initial network resources; receiving a feedback message of the external device in response to the hotspot opening command, and connecting to the target WiFi hotspot opened by the external device according to the feedback message, the frequency band of the target WiFi hotspot staggered from the frequency band of the initial network resources; using the initial network resources and the target WiFi hotspot for data transmission. This embodiment reduces the bit error rate of data transmission and increases the data transmission rate when data is diverted to multiple links for transmission. The implementation details of the WiFi hotspot management method of this embodiment are described in detail below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.

[0031] The WiFi hotspot management method in this embodiment is as follows Figure 1 As shown, including:

[0032] Step 101: Using the connectable network resources in the current network environment as initial network resources, and obtaining network information of the initial network resources.

[0033] Specifically, the initial network resources may include the Cellular wireless network and the connected WiFi hotspot currently used by the device (hereinafter referred to as the device to be accessed), and the network information of the initial network resources may include the frequency band information, operator information, and network type of the Cellular wireless network, as well as the frequency band information, service set identifier (SSID) and password of the connected WiFi hotspot.

[0034] Furthermore, when the initial network resource includes a cellular wireless network, the obtaining of network information of the initial network resource at least includes: obtaining frequency band information of the cellular wireless network; when the initial network resource includes a connected WiFi hotspot, the obtaining of network information of the initial network resource at least includes: obtaining hotspot information of the connected WiFi hotspot.

[0035] Among them, the obtained frequency band information of the cellular wireless network is used to provide to an external device, so that the external device can turn on a WiFi hotspot with a frequency band that is staggered from the frequency band of the cellular wireless network; the obtained WiFi hotspot information is used to provide to an external device, and the WiFi hotspot information at least includes a service set identifier (Service Set Identifier, SSID) and a password of the WiFi hotspot, so that the external device can determine the frequency band information of the WiFi hotspot by connecting to the WiFi hotspot, and turn on a WiFi hotspot with a frequency band that is staggered from the frequency band of the WiFi hotspot.

[0036] Step 102: Send a hotspot activation command to an external device, wherein the hotspot activation command carries network information of the initial network resource.

[0037] Specifically, when the device to be accessed detects that there is no available WiFi hotspot with a different frequency band in the current network environment, it obtains information about nearby external devices through GPS location sharing, and sends a hotspot activation command to the external device through communication methods such as Bluetooth, SMS or wireless network. The hotspot activation command is used to instruct the external device to activate the WiFi hotspot of the specified frequency band, and the network information of the initial network resources obtained in the previous step is carried in the hotspot activation command.

[0038] In actual application scenarios, the connectable network resources of the current network environment of the device to be connected may include the following situations:

[0039] Case 1: There is no connectable WiFi hotspot within the connection range of the device to be connected. In this case, the hotspot opening command sent to the external device can carry the frequency band information of the Cellular wireless network of the device to be connected.

[0040] Case 2: There are connectable WiFi hotspots within the connection range of the device to be connected, but among these connectable WiFi hotspots, there is no WiFi hotspot whose frequency band is different from the frequency band of the cellular wireless network of the device to be connected. In this case, the hotspot activation command sent to the external device may carry at least one of the frequency band information of the cellular wireless network of the device to be connected and the hotspot information of the WiFi hotspot to which the device to be connected can connect.

[0041] Case 3: The device to be connected supports WiFi dual connection (or is not registered to the Cellular wireless network), but there is no connectable WiFi hotspot with different frequencies within the connection range. In this case, the hotspot enable command sent to the external device can carry the hotspot information of the connectable WiFi hotspot of the device to be connected. The hotspot enable command can also carry the frequency band information of the connectable WiFi hotspot of the device to be connected to avoid the situation where the external device cannot obtain its frequency band information because it cannot connect to these WiFi hotspots.

[0042] Case 4: The network quality of the connectable WiFi hotspot within the connection range of the device to be connected is poor, resulting in poor multi-channel data concurrency. In this case, the hotspot opening command sent to the external device can carry the frequency band information of the cellular wireless network of the device to be connected.

[0043] It is worth mentioning that when the initial network resources of the device to be accessed include the operator information of the cellular wireless network, the operator information can be obtained in the previous step, and the hotspot opening command carries the operator information of the cellular wireless network in this step. Since the frequency bands of the cellular wireless networks of different operators are different, by carrying the operator information of the cellular wireless network in the hotspot opening command, the external device can open the WiFi hotspot of the frequency band of the cellular wireless network carried by the cellular wireless network of different operators by selecting the cellular wireless network of different operators.

[0044] Step 103: receiving a feedback message from the external device in response to the hotspot activation command, and connecting to a target WiFi hotspot activated by the external device according to the feedback message, wherein a frequency band of the target WiFi hotspot is staggered from a frequency band of the initial network resource.

[0045] Specifically, after receiving the hotspot opening command sent by the device to be connected, the external device opens the WiFi hotspot of the initial network resource of the device to be connected with a frequency band staggered according to the network information of the initial network resource of the device to be connected carried in the hotspot opening command, and generates a feedback message in response to the hotspot opening command, and the feedback message carries the hotspot information of the opened WiFi hotspot. The device to be connected receives the feedback message, and connects to the WiFi hotspot opened by the external device based on the WiFi hotspot information carried in the feedback message.

[0046] For example, when the hotspot start command carries the frequency band information of the cellular wireless network of the device to be accessed, and the cellular wireless network is one of the ones in Table 1, the external device turns on the WiFi hotspot in the 5G band; when the hotspot command carries the frequency band information of the cellular wireless network of the device to be accessed, and the cellular wireless network is 5G TDD n79, the external device turns on the WiFi hotspot in the 2.4G band; when the hotspot start command carries the hotspot information of the WiFi hotspot to which the device to be accessed is connected, and it is determined that the WiFi hotspot is a WiFi hotspot in the 2.4G band (5G band) according to the hotspot information, the WiFi hotspot in the 5G band (2.4G band) is turned on.

[0047] Step 104: Utilize the initial network resources and the target WiFi hotspot to perform data transmission.

[0048] Specifically, since the frequency band of the target WiFi hotspot turned on by the external device is staggered with the frequency band of the initial network resources of the device to be accessed, after the device to be accessed is connected to the target WiFi hotspot, multiple data channels are concurrently transmitted based on the initial network resources and the target WiFi hotspot, which can avoid the problem of inter-frequency interference of data.

[0049] Compared with the prior art, this implementation uses the connectable network resources of the current network environment as the initial network resources, obtains the network information of the initial network resources, sends a hotspot opening command to the external device, the hotspot opening command carries the network information of the initial network resources, receives the feedback message of the external device in response to the hotspot opening command, and connects to the target WiFi hotspot opened by the external device according to the feedback message, the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resources, and the initial network resources and the target WiFi hotspot are used for data transmission. By controlling the external device to open the target WiFi hotspot whose frequency band is staggered from the frequency band of the initial network resources, and using the target WiFi hotspot and the initial network resources for data transmission, since the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resources, each wireless module sends and receives data in different frequency bands, and the data transmission in different frequency bands will not interfere with each other, so that the bit error rate of data transmission is reduced and the rate is increased.

[0050] The second embodiment of the present invention relates to a WiFi hotspot management method. The second embodiment is a further improvement of the first embodiment, and the improvement is that before executing one of the steps of obtaining the network information of the initial network resource, it also includes the steps of: detecting the network speed of the WiFi hotspots with connection authority within the connection range, determining that the WiFi hotspots with a network speed less than a preset threshold are invalid WiFi hotspots; and carrying the network information of the invalid WiFi hotspot in the hotspot opening command sent to the external device.

[0051] The WiFi hotspot management method in this embodiment is as follows Figure 2 As shown, specifically including:

[0052] Step 201: Detect the network speed of WiFi hotspots with connection authority within the connection range, and determine that the WiFi hotspots with a network speed less than a preset threshold are invalid WiFi hotspots.

[0053] Specifically, in order to avoid the situation where the network quality of the WiFi hotspot to which the access device is connected is poor, resulting in poor effect of concurrent transmission of multiple data channels, the access device can detect the network speed of the connectable WiFi hotspot in advance, and determine that the WiFi hotspot with a network speed less than a preset threshold is an invalid WiFi hotspot. When performing subsequent concurrent connections of multiple data channels, avoid connecting to invalid WiFi hotspots.

[0054] Step 202: Using the connectable network resources in the current network environment as initial network resources, and obtaining network information of the initial network resources.

[0055] Step 202 is substantially the same as step 101 in the first embodiment, and will not be described again here to avoid repetition.

[0056] Step 203: Send a hotspot activation command to an external device, wherein the hotspot activation command carries the network information of the initial network resource and also carries the hotspot information of the invalid WiFi hotspot.

[0057] Specifically, the hotspot opening command carries the hotspot information of the invalid WiFi hotspot (including at least the SSID of the invalid WiFi hotspot) so that the external device can avoid the poor network quality provided by the opened target WiFi hotspot due to connecting to a WiFi hotspot with too slow network speed.

[0058] Step 204: receiving a feedback message from the external device in response to the hotspot activation command, and connecting to a target WiFi hotspot activated by the external device according to the feedback message, wherein a frequency band of the target WiFi hotspot is offset from a frequency band of the initial network resource.

[0059] Step 205: Utilize the initial network resources and the target WiFi hotspot to perform data transmission.

[0060] Step 204 to step 204 are respectively substantially the same as step 103 to step 104 in the first embodiment, and will not be described one by one here to avoid repetition.

[0061] Compared with the first embodiment, in the embodiment of the present invention, before obtaining the network information of the initial network resource, the network speed of the WiFi hotspot with connection authority within the connection range is detected; the WiFi hotspot with a network speed less than a preset threshold is determined to be an invalid WiFi hotspot; the hotspot opening command also carries the hotspot information of the invalid WiFi hotspot. The hotspot opening command carries the hotspot information of the WiFi hotspot with a network speed less than the preset threshold, thereby avoiding the poor network quality provided by the WiFi hotspot opened by the external device due to the external device connecting to the WiFi hotspot with too slow a network speed.

[0062] The third embodiment of the present invention relates to a WiFi hotspot management method, which can be applied to a device (hereinafter referred to as an external device) that provides a WiFi hotspot to the device to be accessed in the aforementioned embodiment. The method includes: receiving a hotspot activation command sent by the device to be accessed, the hotspot activation command carries the network information of the initial network resources of the device to be accessed; activating a target WiFi hotspot, the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resources of the device to be accessed; generating a feedback message in response to the hotspot activation command, the feedback message includes the hotspot information of the target WiFi hotspot; sending the feedback message for the device to be accessed to connect to the target WiFi hotspot.

[0063] The WiFi hotspot management method in this embodiment is as follows Figure 3 As shown, specifically including:

[0064] Step 301: Receive a hotspot activation command sent by a device to be accessed, wherein the hotspot activation command carries network information of initial network resources of the device to be accessed.

[0065] Specifically, when the nearby access device detects that there is no available WiFi hotspot with a different frequency band in its network environment, the access device can perceive the external device through GPS location sharing. At this time, the hotspot activation command sent by the access device is received through communication methods such as Bluetooth, SMS or wireless network. The hotspot activation command is used to instruct the activation of the WiFi hotspot with a specified frequency band and carries the network information of the initial network resources of the access device.

[0066] The network information of the initial network resource may include information such as the frequency band information, operator information, and network type of the cellular wireless network, and information such as the frequency band information, SSID, and password of the connected WiFi hotspot.

[0067] Step 302: Turn on a target WiFi hotspot, wherein the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resource of the device to be accessed.

[0068] Specifically, first, the frequency band of the initial network resource of the device to be accessed is obtained according to the network information of the initial network resource of the device to be accessed carried by the hotspot opening command in the previous step. For example, the frequency band information of the Cellular wireless network of the device to be accessed carried in the hotspot opening command is directly obtained, or the frequency band information of the WiFi hotspot to which the device to be accessed is connected is determined according to the hotspot information of the WiFi hotspot to which the device to be accessed is connected carried in the hotspot opening command.

[0069] Furthermore, after the frequency band of the initial network resource of the device to be accessed is known, a WiFi hotspot whose frequency band is staggered from the frequency band of the initial network resource of the device to be accessed is turned on.

[0070] For example, when the hotspot opening command carries the frequency band information of the Cellular wireless network of the device to be accessed, and the Cellular wireless network is one of the ones in Table 1, the external device turns on the WiFi hotspot in the 5G band; when the hotspot command carries the frequency band information of the Cellular wireless network of the device to be accessed, and the Cellular wireless network is 5G TDD n79, the external device turns on the WiFi hotspot in the 2.4G band; when the hotspot opening command carries the WiFi hotspot in the 2.4G band (5G band) of the WiFi hotspot to which the device to be accessed is connected, the WiFi hotspot in the 5G band (2.4G band) is turned on.

[0071] In addition, if the hotspot opening command also carries the operator information of the cellular wireless network of the device to be accessed, then before opening the target WiFi hotspot, the currently used cellular wireless network is preferentially switched to a cellular wireless network whose operator is different from the operator of the cellular wireless network of the device to be accessed. Since the frequency bands of the cellular wireless networks of different operators are different, by selecting the cellular wireless networks of different operators, a WiFi hotspot with a frequency band of the cellular wireless network carried by the staggered frequency band is opened.

[0072] Step 303: Generate a feedback message in response to the hotspot opening command, wherein the feedback message includes hotspot information of the target WiFi hotspot.

[0073] Specifically, the generated feedback message contains at least the SSID and password of the target WiFi hotspot.

[0074] Step 304: Send the feedback message so that the device to be connected can connect to the target WiFi hotspot.

[0075] Specifically, since the frequency band of the target WiFi hotspot turned on by the external device is staggered with the frequency band of the initial network resources of the device to be accessed, after the device to be accessed is connected to the target WiFi hotspot, multiple data channels are concurrently transmitted based on the initial network resources and the target WiFi hotspot, which can avoid the problem of inter-frequency interference of data.

[0076] Compared with the prior art, in the embodiment of the present invention, a hotspot opening command sent by the device to be accessed is received, and the hotspot opening command carries the network information of the initial network resources of the device to be accessed; the target WiFi hotspot is opened, and the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resources of the device to be accessed; a feedback message in response to the hotspot opening command is generated, and the feedback message includes the hotspot information of the target WiFi hotspot; and the feedback message is sent so that the device to be accessed can connect to the target WiFi hotspot. By opening a WiFi hotspot whose frequency band is staggered from the frequency band of the initial network resources of the device to be accessed and providing it to the device to be accessed, when the device to be accessed uses the WiFi hotspot and the initial network resources for data transmission, each wireless module sends and receives data in different frequency bands respectively, and data transmission in different frequency bands will not interfere with each other, so that the bit error rate of data transmission is reduced and the rate is increased.

[0077] It is worth mentioning that before executing step 302, i.e., opening the target WiFi hotspot, the external device can detect its own available network resources, and select the network connection with the best network quality as the shared network, and then open the target WiFi hotspot. More specifically, the external device can pre-detect the signal strength of the connectable WiFi hotspots within the connection range, and determine which of the WiFi hotspots with the strongest signal and the Cellular wireless network currently used by itself has better network quality, and then select the one with the better network as the shared network, and open the target WiFi hotspot.

[0078] The fourth embodiment of the present invention relates to a WiFi hotspot management method. The fourth embodiment is substantially the same as the third embodiment, except that, in the present embodiment, the received hotspot activation command carries the frequency band information of the cellular wireless network of the device to be accessed and the hotspot information of the WiFi hotspot to which the device to be accessed is connected; and before executing the activation of the target WiFi hotspot, the method further includes the steps of: connecting to the WiFi hotspot to which the device to be accessed is connected according to the hotspot information of the WiFi hotspot to which the device to be accessed is connected.

[0079] The WiFi hotspot management method in this embodiment is as follows Figure 4 As shown, specifically including:

[0080] Step 401: receiving a hotspot activation command sent by a device to be accessed, wherein the hotspot activation command carries frequency band information of a cellular wireless network of the device to be accessed and hotspot information of a WiFi hotspot to which the device to be accessed has been connected.

[0081] Specifically, since the hotspot activation command carries the frequency band information of the cellular wireless network of the device to be accessed and the hotspot information of the connected WiFi hotspot, it means that there are connectable WiFi hotspots within the connection range of the device to be accessed, but among these connectable WiFi hotspots, there is no WiFi hotspot whose frequency band is staggered with the frequency band of the cellular wireless network of the device to be accessed.

[0082] Step 402: Connect to the WiFi hotspot to which the device to be accessed is connected according to the hotspot information of the WiFi hotspot to which the device to be accessed is connected.

[0083] Specifically, the external device connects to the WiFi hotspot according to the hotspot information of the WiFi hotspot to which the access device is connected provided in the hotspot opening command, and uses the WiFi hotspot as a shared network to open the target WiFi hotspot.

[0084] Step 403: Turn on the target WiFi hotspot, where the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resource of the device to be accessed.

[0085] For example, if the WiFi hotspot connected according to the hotspot opening command in the previous step is a WiFi hotspot in the 2.4G band, the target WiFi hotspot in the 5G band is opened; if the WiFi hotspot connected in the previous step is a WiFi hotspot in the 5G band, the target WiFi hotspot in the 2.4G band is opened.

[0086] Step 404: Generate a feedback message in response to the hotspot enable command, wherein the feedback message includes hotspot information of the target WiFi hotspot.

[0087] Step 404 is substantially the same as step 303 in the third embodiment, and will not be described again here to avoid repetition.

[0088] Step 405: Send the feedback message so that the device to be connected can connect to the target WiFi hotspot.

[0089] Specifically, after the feedback message is sent to the device to be connected, the device to be connected disconnects from the connected WiFi hotspot, and then connects to the target WiFi hotspot according to the hotspot information provided by the feedback message, and uses the Cellular wireless network and the target WiFi hotspot for data transmission.

[0090] It is worth mentioning that, in this implementation, it is not required that the external device has been registered with the cellular wireless network.

[0091] Compared with the third embodiment, in this embodiment, in response to the situation that "there is a connectable WiFi hotspot within the connection range of the device to be accessed, but among these connectable WiFi hotspots, there is no WiFi hotspot whose frequency band is staggered with the frequency band of the cellular wireless network of the device to be accessed", the device to be accessed is connected to the WiFi hotspot to which the device to be accessed is connected and the target WiFi hotspot whose frequency band is staggered with the frequency band of the cellular wireless network of the device to be accessed is turned on. By performing frequency band conversion on the WiFi hotspot to which the device to be accessed is connected, the device to be accessed can use the cellular wireless network and the WiFi hotspot after frequency band conversion for data transmission.

[0092] The fifth embodiment of the present invention relates to a WiFi hotspot management method. The fifth embodiment is substantially the same as the third embodiment, except that, in this embodiment, the received hotspot activation command carries the hotspot information of the WiFi hotspot to which the device to be accessed is connected, but does not carry the frequency band information of the Cellular wireless network of the device to be accessed; and before executing the activation of the target WiFi hotspot, it also includes the step of connecting to a WiFi hotspot with connection authority within the connection range other than the WiFi hotspot to which the device to be accessed is connected.

[0093] The WiFi hotspot management method in this embodiment is as follows Figure 5 As shown, specifically including:

[0094] Step 501: receiving a hotspot activation command sent by a device to be accessed, wherein the hotspot activation command carries hotspot information of a WiFi hotspot to which the device to be accessed has been connected, but does not carry frequency band information of a cellular wireless network of the device to be accessed.

[0095] Specifically, since the hotspot opening command carries the hotspot information of the WiFi hotspot to which the device to be accessed is connected, but does not carry the frequency band information of the Cellular wireless network of the device to be accessed, it means that the device to be accessed supports WiFi dual connection (or is not registered to the Cellular wireless network), but there is no connectable WiFi hotspot with a different frequency within the connection range.

[0096] Step 502: Connect to a WiFi hotspot with connection permission within the connection range other than the WiFi hotspot to which the access device is connected.

[0097] Specifically, in this embodiment, the external device uses the connection with the WiFi hotspot as a shared network, and when selecting the WiFi hotspot to connect to, avoids the WiFi hotspot that the device to be connected is already connected to. In a specific application scenario, the external device can also use the Cellular wireless network as a shared network.

[0098] Step 503: Turn on the target WiFi hotspot, where the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resource of the device to be accessed.

[0099] Step 504: Generate a feedback message in response to the hotspot activation command, wherein the feedback message includes hotspot information of the target WiFi hotspot.

[0100] Steps 503 to 504 are substantially the same as steps 302 to 303 in the third embodiment, and will not be described again to avoid repetition.

[0101] Step 505: Send the feedback message so that the device to be connected can connect to the target WiFi hotspot.

[0102] Specifically, after the feedback message is sent to the device to be connected, the device to be connected connects to the target WiFi hotspot according to the hotspot information provided in the feedback message, and uses the initially connected WiFi hotspot and the target WiFi hotspot for data transmission.

[0103] Compared with the third embodiment, in this embodiment, in response to the situation that "the device to be accessed supports WiFi dual connection (or is not registered to the Cellular wireless network), but there is no connectable WiFi hotspot with a different frequency within the connection range", the device to be accessed is connected to a WiFi hotspot other than the WiFi hotspot to which the device to be accessed has been connected, and the target WiFi hotspot with a frequency band that is staggered from the frequency band of the WiFi hotspot to which the device to be accessed has been connected is turned on. By connecting to a WiFi hotspot other than the WiFi hotspot to which the device to be accessed has been connected, it is possible to avoid the acceleration effect being poor when the device to be accessed performs multiple data concurrently due to the fact that the connected WiFi hotspot is the same WiFi hotspot as the WiFi hotspot to which the device to be accessed is connected.

[0104] The sixth embodiment of the present invention relates to a WiFi hotspot management method. The sixth embodiment is substantially the same as the third embodiment, except that, in this embodiment, the received hotspot activation command carries the frequency band information of the cellular wireless network of the device to be connected and the hotspot information of the invalid WiFi hotspot; and before executing the activation of the target WiFi hotspot, it also includes the step of connecting to a WiFi hotspot with connection permission within the connection range except for the invalid WiFi hotspot.

[0105] The WiFi hotspot management method in this embodiment is as follows Figure 6 As shown, specifically including:

[0106] Step 601: receiving a hotspot activation command sent by a device to be connected, wherein the hotspot activation command carries the frequency band information of the cellular wireless network of the device to be connected and the hotspot information of an invalid WiFi hotspot.

[0107] Specifically, since the hotspot opening command carries the frequency band information of the cellular wireless network of the device to be accessed and the hotspot information of invalid WiFi hotspots, it means that the network quality of the connectable WiFi hotspots within the connection range of the device to be accessed is poor, resulting in poor effect of multi-channel data concurrency.

[0108] Step 602: Connect to a WiFi hotspot with connection permission within the connection range except for the invalid WiFi hotspot.

[0109] Specifically, in this embodiment, the external device uses the connection with the WiFi hotspot as a shared network, and avoids invalid WiFi hotspots when selecting the WiFi hotspot to connect to. In a specific application scenario, the external device can also use the Cellular wireless network as a shared network.

[0110] Furthermore, in this step, the external device preferentially selects the network connection with the best network quality as the shared network among the connectable network resources, and then turns on the target WiFi hotspot. More specifically, the external device can pre-detect the signal strength of the connectable WiFi hotspots within the connection range, connect to the WiFi hotspot with the strongest signal, and turn on the target WiFi hotspot.

[0111] Step 603: Turn on the target WiFi hotspot, where the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resource of the device to be accessed.

[0112] Step 604: Generate a feedback message in response to the hotspot enable command, wherein the feedback message includes hotspot information of the target WiFi hotspot.

[0113] Steps 603 to 604 are substantially the same as steps 302 to 303 in the third embodiment, and will not be described again to avoid repetition.

[0114] Step 605: Send the feedback message so that the device to be connected can connect to the target WiFi hotspot.

[0115] Specifically, after the feedback message is sent to the device to be connected, the device to be connected connects to the target WiFi hotspot according to the hotspot information provided in the feedback message, and uses the initially connected WiFi hotspot and the target WiFi hotspot for data transmission.

[0116] Compared with the third embodiment, in this embodiment, in view of the situation that "the network quality of the connectable WiFi hotspot within the connection range of the device to be connected is poor, resulting in poor effect of multi-channel data concurrency", a WiFi hotspot other than the invalid WiFi hotspot is connected, and a target WiFi hotspot with a frequency band that is staggered from the frequency band of the connected WiFi hotspot of the device to be connected is turned on. By connecting to a WiFi hotspot other than the invalid WiFi hotspot carried by the hotspot turn-on command, the poor network quality provided by the turned-on WiFi hotspot is avoided due to connecting to a WiFi hotspot with too slow network speed.

[0117] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0118] A seventh embodiment of the present invention relates to an electronic device, such as Figure 7 As shown, it includes at least one processor 701; and a memory 702 that is communicatively connected to the at least one processor 701; wherein the memory 702 stores instructions that can be executed by the at least one processor 701, and the instructions are executed by the at least one processor 701 so that the at least one processor 701 can execute the WiFi hotspot management method in any of the above-mentioned method embodiments.

[0119] The memory 702 and the processor 701 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 701 and the memory 702 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 701 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 701.

[0120] The processor 701 is responsible for managing the bus and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 702 may be used to store data used by the processor 701 when performing operations.

[0121] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the WiFi hotspot management method in any of the above method embodiments is implemented.

[0122] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0123] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A WiFi hotspot management method, It is characterized in that include: Using the connectable network resources of the current network environment as the initial network resources, and obtaining network information of the initial network resources, wherein the network information of the initial network resources includes one or more of the frequency band information of the cellular wireless network, the operator information, the network type information, the frequency band information of the connected WiFi hotspot, the service set identifier, and the password information; Sending a hotspot opening command to an external device, wherein the hotspot opening command carries network information of the initial network resource; Receiving a feedback message from the external device in response to the hotspot opening command, and connecting to a target WiFi hotspot opened by the external device according to the feedback message, wherein a frequency band of the target WiFi hotspot is staggered from a frequency band of the initial network resource; The initial network resources and the target WiFi hotspot are used for data transmission.

2. The Wifi hotspot management method according to claim 1, It is characterized in that When the initial network resource includes a cellular wireless network, the acquiring network information of the initial network resource includes: Acquire frequency band information of the cellular wireless network; When the initial network resource includes a connected WiFi hotspot, obtaining network information of the initial network resource includes: Get the hotspot information of the connected WiFi hotspot.

3. The Wifi hotspot management method according to claim 2, It is characterized in that After the frequency band information of the cellular wireless network is acquired, the method further includes: Obtaining operator information of the Cellular wireless network; The hotspot activation command also carries the operator information of the cellular wireless network.

4. The Wifi hotspot management method according to claim 2, It is characterized in that After obtaining the hotspot information of the connected WiFi hotspot, the method further includes: Obtain the frequency band information of the connected WiFi hotspot; The hotspot activation command also carries the frequency band information of the connected WiFi hotspot.

5. The Wifi hotspot management method according to claim 1, It is characterized in that Before obtaining the network information of the initial network resource, it also includes: Detect the network speed of WiFi hotspots with connection permissions within the connection range; Determine that a WiFi hotspot whose network speed is less than a preset threshold is an invalid WiFi hotspot; The hotspot activation command also carries the hotspot information of the invalid WiFi hotspot.

6. A Wifi hotspot management method, It is characterized in that include: Receive a hotspot activation command sent by a device to be accessed, wherein the hotspot activation command carries network information of an initial network resource of the device to be accessed, wherein the network information of the initial network resource includes one or more of frequency band information of a cellular wireless network, operator information, network type information, frequency band information of a connected WiFi hotspot, a service set identifier, and password information; Turning on a target WiFi hotspot, wherein the frequency band of the target WiFi hotspot is staggered from the frequency band of the initial network resource of the device to be accessed; Generate a feedback message in response to the hotspot opening command, wherein the feedback message includes hotspot information of the target WiFi hotspot; The feedback message is sent so that the device to be connected can connect to the target WiFi hotspot.

7. The Wifi hotspot management method according to claim 6, It is characterized in that When the hotspot opening command carries the frequency band information of the cellular wireless network of the device to be connected and the hotspot information of the WiFi hotspot to which the device to be connected has been connected, Before opening the target WiFi hotspot, the method further includes: According to the hotspot information of the WiFi hotspot to which the device to be accessed is connected, connect to the WiFi hotspot to which the device to be accessed is connected.

8. The Wifi hotspot management method according to claim 6, It is characterized in that When the hotspot opening command carries the hotspot information of the WiFi hotspot to which the device to be connected is connected, but does not carry the frequency band information of the Cellular wireless network of the device to be connected, Connect to a WiFi hotspot with connection permission within the connection range other than the WiFi hotspot to which the device to be connected is connected.

9. The Wifi hotspot management method according to claim 6, It is characterized in that When the hotspot opening command carries the frequency band information of the Cellular wireless network of the device to be connected and the hotspot information of the invalid WiFi hotspot, Connect to a WiFi hotspot with connection permission within the connection range except for the invalid WiFi hotspot.

10. The Wifi hotspot management method according to claim 6, It is characterized in that When the hotspot opening command carries the operator information of the Cellular wireless network of the device to be accessed, The cellular wireless network is switched to a cellular wireless network whose operator is different from the operator of the cellular wireless network of the device to be accessed.

11. An electronic device, It is characterized in that include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the Wifi hotspot management method according to any one of claims 1 to 5 or the Wifi hotspot management method according to any one of claims 6 to 10.

12. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the Wifi hotspot management method described in any one of claims 1 to 5 or the Wifi hotspot management method described in any one of claims 6 to 10 is implemented.