Hotspot sharing method and terminal equipment

By implementing Wi-Fi hotspots that share multiple frequency bands in terminal devices, the problem that the prior art cannot meet user needs is solved, especially when the device does not support the 5GHz frequency band, a wider application range and better application are achieved user experience.

CN119497080APending Publication Date: 2025-02-21NOKIA TECHNOLOGIES OY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311044776.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-17
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The prior art cannot effectively meet user needs, especially when other devices do not support the 5GHz frequency band, and cannot access Wi-Fi hotspots in the 5GHz frequency band shared by terminal devices.

Method used

By implementing the hotspot sharing method in the terminal device, the terminal device is allowed to respond to the hotspot sharing operation input by the user to share Wi-Fi hotspots in multiple frequency bands, such as hotspots in the 2.4GHz and 5GHz bands.

Benefits of technology

The application scope of shared hotspots has been expanded, so that devices with support capabilities in different frequency bands can simultaneously access Wi-Fi hotspots shared by terminal devices, thereby better meeting user needs and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497080A_ABST
    Figure CN119497080A_ABST
Patent Text Reader

Abstract

The invention provides a hotspot sharing method and terminal equipment, and relates to the technical field of terminals.The method comprises the steps that after the terminal equipment receives a hotspot sharing operation, a first hotspot and a second hotspot are shared in response to the hotspot sharing operation, the first hotspot is a Wi-Fi hotspot of a first frequency band, and the second hotspot is a Wi-Fi hotspot of a second frequency band; the first frequency band is different from the second frequency band. According to the technical scheme provided by the invention, the application range of the shared hotspot can be expanded, so that the equipment with different frequency band support capabilities can simultaneously access the Wi-Fi hotspot shared by the terminal equipment, thereby better meeting the user demand and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a hotspot sharing method and terminal equipment. Background Art

[0002] Most of the current mobile phones, tablets and other terminal devices support hotspot sharing technology, through which the terminal devices can share the connected cellular network or wireless local area network (WLAN) in the form of wireless-fidelity (Wi-Fi) hotspot, so that other terminal devices can access the network by connecting to the Wi-Fi hotspot.

[0003] With the development of WLAN technology, in order to improve the network access rate, terminal devices have gradually evolved from supporting Wi-Fi in the 2.4GHz band to supporting Wi-Fi in higher frequency bands, such as 5GHz or 6GHz. Taking the case of a terminal device supporting Wi-Fi in the 5GHz band, the user can enable the hotspot sharing function of the terminal device to share the 5GHz band Wi-Fi hotspot and provide a high-speed Wi-Fi network for the hotspot access device.

[0004] However, this hotspot sharing method has certain limitations and cannot meet user needs well. For example, when other devices that want to access the Wi-Fi hotspot do not support the 5 GHz band, they cannot access the Wi-Fi hotspot using the 5 GHz band shared by the terminal devices. Summary of the invention

[0005] In view of this, the present application provides a hotspot sharing method and a terminal device for expanding the application scope of shared hotspots to better meet user needs and improve user experience.

[0006] In order to achieve the above-mentioned purpose, in a first aspect, an embodiment of the present application provides a hotspot sharing method, which is applied to a terminal device, and the method includes:

[0007] Receive hotspot sharing operations;

[0008] In response to the hotspot sharing operation, a first hotspot and a second hotspot are shared, wherein the first hotspot is a Wi-Fi hotspot of a first frequency band, and the second hotspot is a Wi-Fi hotspot of a second frequency band, and the first frequency band is different from the second frequency band.

[0009] The hotspot sharing method provided in the present application can enable a terminal device to respond to a hotspot sharing operation input by a user and share Wi-Fi hotspots of multiple frequency bands. This can expand the application scope of the shared hotspot, allowing devices with different frequency band support capabilities to simultaneously access the Wi-Fi hotspot shared by the terminal device, thereby better meeting user needs and improving the user experience.

[0010] In a possible implementation of the first aspect, the terminal device shares the first hotspot and the second hotspot in a concurrent manner, which can provide more network resources for the hotspot access device, thereby improving the network transmission rate of the hotspot access device.

[0011] In a possible implementation of the first aspect, the terminal device shares the first hotspot and the second hotspot in a time division multiplexing manner, so that multiple hotspots can share a baseband processor, thereby reducing hardware costs, and on the other hand, can also increase the scope of application of terminal devices sharing multiple Wi-Fi hotspots.

[0012] In a possible implementation of the first aspect, sharing the first hotspot and the second hotspot includes:

[0013] In a time division multiplexing manner, a first hot spot is shared in a first time slot of each time division multiplexing cycle, and a second hot spot is shared in a second time slot, wherein the duration of the first time slot and the second time slot are both greater than 0;

[0014] When a first hotspot access device is detected and a second hotspot access device is not detected, the first duty cycle is increased, where the first duty cycle is the duty cycle of the first time slot in the time division multiplexing cycle, the first hotspot access device is a device accessing the first hotspot, and the second hotspot access device is a device accessing the second hotspot.

[0015] In the above implementation, it is equivalent to using the network resources that are not used in the second time slot in the first time slot, so that the hotspot access device connected in the first time slot can use more network resources. In this way, while improving the utilization rate of network resources, it can also improve the network transmission rate of the hotspot access device, thereby obtaining a better user experience.

[0016] In a possible implementation of the first aspect, when a first hotspot access device is detected and a second hotspot access device is not detected within a target time period after the first hotspot access device is detected, the first duty cycle is increased. This can improve the stability of time slot adjustment.

[0017] In a possible implementation of the first aspect, after the first duty cycle is increased, the duration of the second time slot is greater than 0. This can meet the use requirements of a second hotspot that may exist later and improve user experience.

[0018] In a possible implementation manner of the first aspect, after increasing the first duty cycle, the method further includes:

[0019] If a second hotspot access device is detected, the second duty cycle is increased, where the second duty cycle is the duty cycle of the second time slot in the time division multiplexing cycle.

[0020] Through the above implementation, the network resource usage requirements of the second hotspot access device can be better met.

[0021] In a possible implementation of the first aspect, when neither the first hotspot nor the second hotspot is connected to a hotspot access device, the first time slot is equal to the second time slot in length, so that the hotspot access device can obtain relatively balanced network resources.

[0022] In a possible implementation of the first aspect, the Wi-Fi paths used by the terminal device when sharing the first hotspot and the second hotspot include multiple Wi-Fi paths, which can increase the coverage of the first hotspot and the second hotspot.

[0023] In a possible implementation of the first aspect, the hotspot sharing operation includes: an operation of selecting a target option from multiple frequency band setting options and an operation of turning on a hotspot sharing function, wherein the frequency band setting option is used to indicate a working frequency band of the Wi-Fi hotspot to be shared by the terminal device.

[0024] Through the above implementation, the user can select the working frequency band of the Wi-Fi hotspot that he wants to enable, thereby improving the flexibility of user use.

[0025] In a possible implementation of the first aspect, the SSID of the first hotspot and the second hotspot are the same. In this way, after other devices scan the Wi-Fi hotspots including the first hotspot and the second hotspot, they can intelligently select the Wi-Fi hotspot of which frequency band to access without the user making a selection, thereby improving the convenience of user use.

[0026] In a possible implementation of the first aspect, the first frequency band is a 2.4 GHz frequency band, and the second frequency band is a 5 GHz frequency band; or, the first frequency band is a 5 GHz frequency band, and the second frequency band is a 2.4 GHz frequency band.

[0027] In a second aspect, an embodiment of the present application provides a hotspot sharing device, which is applied to a terminal device, and the device includes:

[0028] An input module, used for receiving a hotspot sharing operation;

[0029] The processing module is used to share a first hotspot and a second hotspot in response to the hotspot sharing operation, wherein the first hotspot is a Wi-Fi hotspot of a first frequency band, and the second hotspot is a Wi-Fi hotspot of a second frequency band, and the first frequency band is different from the second frequency band.

[0030] In a possible implementation manner of the second aspect, the processing module is specifically configured to: share the first hotspot and the second hotspot in a concurrent manner.

[0031] In a possible implementation of the second aspect, the processing module is specifically configured to: share the first hotspot and the second hotspot in a time division multiplexing manner.

[0032] In a possible implementation manner of the second aspect, the processing module is specifically configured to:

[0033] In a time division multiplexing manner, a first hot spot is shared in a first time slot of each time division multiplexing cycle, and a second hot spot is shared in a second time slot, wherein the duration of the first time slot and the second time slot are both greater than 0;

[0034] When a first hotspot access device is detected and a second hotspot access device is not detected, the first duty cycle is increased, where the first duty cycle is the duty cycle of the first time slot in the time division multiplexing cycle, the first hotspot access device is a device accessing the first hotspot, and the second hotspot access device is a device accessing the second hotspot.

[0035] In a possible implementation of the second aspect, the processing module is specifically used to: increase the first duty cycle when a first hotspot access device is detected and a second hotspot access device is not detected within a target time period after the first hotspot access device is detected.

[0036] In a possible implementation of the second aspect, after the first duty cycle is increased, the duration of the second time slot is greater than 0.

[0037] In a possible implementation manner of the second aspect, the processing module is further used to:

[0038] After increasing the first duty cycle, if a second hotspot access device is detected, then increasing the second duty cycle, where the second duty cycle is the duty cycle of the second time slot in the time division multiplexing cycle.

[0039] In a possible implementation of the second aspect, when neither the first hotspot nor the second hotspot is connected to a hotspot access device, the first time slot is equal to the second time slot in length.

[0040] In a possible implementation manner of the second aspect, the Wi-Fi paths used by the processing module to share the first hotspot and the second hotspot include multiple Wi-Fi paths.

[0041] In a possible implementation of the second aspect, the hotspot sharing operation includes: an operation of selecting a target option from multiple frequency band setting options and an operation of turning on a hotspot sharing function, wherein the frequency band setting option is used to indicate a working frequency band of the Wi-Fi hotspot to be shared by the terminal device.

[0042] In a possible implementation manner of the second aspect, the SSID of the first hotspot and the second hotspot are the same.

[0043] In a possible implementation of the second aspect, the first frequency band is a 2.4 GHz frequency band, and the second frequency band is a 5 GHz frequency band; or, the first frequency band is a 5 GHz frequency band, and the second frequency band is a 2.4 GHz frequency band.

[0044] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a memory and a processor, the memory being used to store a computer program; the processor being used to execute the method described in the first aspect or any one of the implementations of the first aspect when calling the computer program.

[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in the first aspect or any one of the embodiments of the first aspect is implemented.

[0046] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device executes the method described in the first aspect or any implementation method of the first aspect.

[0047] In a sixth aspect, an embodiment of the present application provides a chip system, including a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method described in the first aspect or any embodiment of the first aspect. The chip system can be a single chip or a chip module composed of multiple chips.

[0048] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram of a user interface in a hotspot sharing process provided in an embodiment of the present application;

[0050] Figure 2 A user interface diagram of a hotspot sharing solution provided in an embodiment of the present application;

[0051] Figure 3 A schematic diagram of a user interface of another hotspot sharing solution provided in an embodiment of the present application;

[0052] Figures 4 to 6 A schematic diagram of a user interface for some shared dual-band hotspots provided in an embodiment of the present application;

[0053] Figure 7 A schematic diagram of an architecture of a Wi-Fi module supporting DBDC provided in an embodiment of the present application;

[0054] Figure 8 Another schematic diagram of the architecture of a Wi-Fi module supporting DBDC provided in an embodiment of the present application;

[0055] Fig. 9 A schematic diagram of a scenario of concurrently sharing Wi-Fi hotspots provided in an embodiment of the present application;

[0056] Fig.10 A schematic diagram of an architecture of a Wi-Fi module supporting DBAC provided in an embodiment of the present application;

[0057] Fig.11 A schematic diagram of a scenario of sharing a Wi-Fi hotspot in a time-division multiplexing manner provided in an embodiment of the present application;

[0058] Fig.12 A schematic diagram of another scenario of sharing a Wi-Fi hotspot in a time-division multiplexing manner provided in an embodiment of the present application;

[0059] Fig.13 Another schematic diagram of the architecture of a Wi-Fi module supporting DBAC provided in an embodiment of the present application;

[0060] Fig.14 A flowchart of a hotspot sharing method provided in an embodiment of the present application;

[0061] Fig.15 A schematic diagram of a process for sharing a Wi-Fi hotspot in a time-division multiplexing manner provided in an embodiment of the present application;

[0062] Fig.16 A schematic diagram of the software architecture of a terminal device provided in an embodiment of the present application;

[0063] Fig.17A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0064] Fig.18 A schematic diagram of the structure of a hotspot sharing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0066] In order to facilitate understanding of the technical solutions in the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are first introduced below:

[0067] Wi-Fi device: Wi-Fi is a wireless local area network technology. A Wi-Fi network includes access points (AP) and stations (STA).

[0068] The working mode of a Wi-Fi device may include AP mode and STA mode. When a Wi-Fi device works in AP mode, the Wi-Fi device is an AP device; when a Wi-Fi device works in STA mode, the Wi-Fi device is a STA device. A Wi-Fi device may only support AP mode or STA mode, or support both STA mode and AP mode; when a Wi-Fi device supports both STA mode and AP mode, the Wi-Fi device can be used as both a STA device and an AP device.

[0069] An AP device is a device that can provide wireless access services; a STA device is a device with wireless access function, which can access the wireless network (i.e., Wi-Fi network) provided by the AP device to access the Internet.

[0070] Among them, the AP device can broadcast beacon frames regularly to let the surrounding Wi-Fi devices discover themselves. The beacon frame can include wireless network information such as service set identifier (SSID), basic service set identifier (BSSID), working channel and received signal strength indication (RSSI).

[0071] STA devices can scan the surrounding wireless networks through passive scanning or active scanning, and then connect to the scanned wireless networks. In passive scanning mode, STA devices can switch between channels, listen to beacon frames, and discover surrounding wireless networks through received beacon frames; in active scanning mode, STA devices can broadcast probe request frames on each channel they support, and the AP device that receives the probe request frame can reply with a probe response frame, and the STA device discovers surrounding wireless networks through the received probe response frames.

[0072] STA devices can include mobile phones, tablets, computers, smart wearable devices, smart home devices and other terminal devices. AP devices can include network devices such as routers, wireless gateways, wireless bridges, and can also include mobile phones, tablets, computers, smart wearable devices, smart home devices and other terminal devices that support AP mode.

[0073] Wi-Fi operating frequency band: Currently, the more common operating frequency bands include 2.4 GHz and 5 GHz. For ease of understanding, the following mainly uses 2.4 GHz and 5 GHz bands as examples for illustrative explanation. It can be understood that the Wi-Fi operating frequency band described in the embodiments of the present application is not limited to this. For example, it can also include the 6 GHz band in the sixth generation Wi-Fi (Wi-Fi 6).

[0074] Wi-Fi devices can operate in the 2.4 GHz band or the 5 GHz band, or in both the 2.4 GHz band and the 5 GHz band.

[0075] Among them, Wi-Fi devices that support dual band dual concurrent (DBDC) capabilities include two complete Wi-Fi channels (2 baseband processors and 2 RF front-ends). The two channels operate in the 2.4GHz band and the 5GHz band respectively. Therefore, this type of Wi-Fi device can operate in both the 2.4GHz band and the 5GHz band at the same time.

[0076] For AP devices that support DBDC, they can provide Wi-Fi networks in the 2.4GHz band and Wi-Fi networks in the 5GHz band at the same time; for STA devices that support DBDC, they can connect to Wi-Fi networks in the 2.4GHz band and Wi-Fi networks in the 5GHz band at the same time. These two Wi-Fi networks can be provided by the same AP device or by different AP devices. Of course, Wi-Fi devices that support DBDC can also work in only one band (2.4GHz band or 5GHz band) at the same time.

[0077] A Wi-Fi device that supports dual band single concurrent (DBSC) capability includes a baseband processor and two RF front-ends, one of which supports the 2.4 GHz band and the other supports the 5 GHz band. Such Wi-Fi devices can choose to work on the 2.4 GHz band or the 5 GHz band, but cannot work on both bands at the same time.

[0078] Wi-Fi devices that support DBSC capabilities can also use time division multiplexing to quickly switch back and forth between the 2.4 GHz band and the 5 GHz band to achieve apparent DBDC. This method is dual band adaptive concurrent (DBAC).

[0079] Hotspot sharing: A technology that allows a terminal device to share the connected cellular network or WLAN network with other devices in the form of a Wi-Fi hotspot (i.e., a Wi-Fi network). The shared Wi-Fi hotspot can also be called a personal hotspot or a mobile hotspot, or simply a hotspot.

[0080] Figure 1 A schematic diagram of a user interface in a hotspot sharing process is shown, such as Figure 1 As shown in (a) in the figure, the personal hotspot interface 10 displayed on the terminal device may include: a "personal hotspot" switch option 101, a "device name" option 102 and a "password" option 103, wherein the user may turn on or off the hotspot sharing function through the "personal hotspot" switch option 101; set the device name of the shared Wi-Fi hotspot through the "device name" option 102; and set the password of the Wi-Fi hotspot through the "password" option 103.

[0081] Normally, the terminal device uses the device name set by the user as the SSID (i.e., Wi-Fi name) of the Wi-Fi hotspot. For example, if the device name of the Wi-Fi hotspot set by the user is "AAA", the Wi-Fi name of the Wi-Fi hotspot shared by the terminal device is "AAA". To facilitate user identification, the terminal device can also add an identifier based on the device name set by the user to indicate the working frequency band of the Wi-Fi hotspot. For example, when the terminal device shares a Wi-Fi hotspot in the 5GHz band (hereinafter referred to as a 5G hotspot), the "5G" suffix can be added to the device name "AAA" set by the user.

[0082] After the user clicks the "Personal Hotspot" switch option 101 to turn on the hotspot sharing function, Figure 1As shown in (b) in the figure, other devices can scan the Wi-Fi hotspot shared by the terminal device and display the Wi-Fi name of the Wi-Fi hotspot (here exemplarily "AAA") in the "Available WLAN"; if the user wants to access the Wi-Fi hotspot, he can click on the Wi-Fi name of the Wi-Fi hotspot, and then enter the password of the Wi-Fi hotspot on the password input interface that pops up to connect to the Wi-Fi hotspot.

[0083] When performing the above-mentioned hotspot sharing, for terminal devices that only support the 2.4GHz frequency band, when the user turns on the hotspot sharing function, the terminal device can share the 2.4GHz band Wi-Fi hotspot (hereinafter referred to as 2.4G hotspot) for other devices to access and use.

[0084] For terminal devices that support the 5GHz frequency band, users can enable the hotspot sharing function of the terminal device, share the 5G hotspot, and provide a high-speed Wi-Fi network for hotspot access devices. At present, most terminal devices that support higher frequency bands also support lower frequency band Wi-Fi. For example, terminal devices that support the 5GHz frequency band generally support the 2.4GHz frequency band. However, there are still some terminal devices that do not support such higher frequency bands, such as Wi-Fi that only supports low frequency bands such as 2.4GHz. In the case of terminal devices sharing Wi-Fi hotspots with higher frequency bands such as 5GHz, when other devices that want to access the Wi-Fi hotspot do not support such higher frequency bands, such as only supporting the 2.4GHz frequency band, they cannot access the Wi-Fi hotspot shared by the terminal devices. Therefore, this mode of sharing 5GHz hotspots has certain limitations and cannot meet user needs well.

[0085] In order to better meet user needs, one implementation method is that the terminal device provides Wi-Fi hotspot frequency band options for users to choose from. Figure 2 A schematic diagram of a user interface is shown, such as Figure 2 As shown in (a) of FIG. 1 , the personal hotspot interface 10 displayed by the terminal device includes the above Figure 1 In addition to the various function options shown in FIG. 1 , an “AP frequency band” option 104 is also included. After the user clicks on the option, Figure 2 As shown in (b), the terminal device can pop up a frequency band selection interface 11, which includes option 111 corresponding to the 2.4 GHz band and option 112 corresponding to the 5 GHz band, from which the user can select the working frequency band of the Wi-Fi hotspot that he wants to share; the frequency band selection interface 11 can also include a "cancel" option 1101, through which the user can cancel the frequency band selection, that is, keep the original frequency band unchanged.

[0086] Another implementation method is that the terminal device provides a compatible mode for the user to choose. Figure 3A schematic diagram of a user interface is shown, such as Figure 3 As shown, the personal hotspot interface 10 displayed by the terminal device includes the above Figure 1 In addition to the various functional options shown in the figure, it also includes a "compatible mode" switch option 105, through which the user can turn on or off the compatible mode; wherein, when the compatible mode is on, the working frequency band of the Wi-Fi hotspot shared by the terminal devices is the 2.4 GHz band; when the compatible mode is off, the working frequency band of the Wi-Fi hotspot shared by the terminal devices is the 5 GHz band.

[0087] The above two implementations allow users to select the working frequency band of the Wi-Fi hotspot they want to share. For example, by sharing a 2.4G hotspot, terminal devices that only support the 2.4GHz band can access and use the Wi-Fi hotspot. However, the above two implementations still have certain limitations in application. For example, if a user chooses to share a 2.4G hotspot, then a hotspot access device that supports the 5GHz band cannot enjoy the high-speed advantage of the 5GHz band, and thus cannot meet the user's high-speed requirements.

[0088] Based on this, an embodiment of the present application provides a hotspot sharing solution. After starting the hotspot sharing function, the terminal device can share Wi-Fi hotspots of multiple frequency bands, so that devices with different frequency band support capabilities can access and use the Wi-Fi hotspot at the same time, thereby better meeting user needs and improving user experience.

[0089] The hotspot sharing solution provided in the embodiment of the present application can be applied to terminal devices such as mobile phones, tablets, computers, smart wearable devices, smart home devices, etc. Among them, the terminal device can support two frequency bands of Wi-Fi, and can also support more frequency bands of Wi-Fi.

[0090] For terminal devices that support two frequency bands, they can share Wi-Fi hotspots of the two frequency bands based on the user's hotspot sharing operation, such as sharing Wi-Fi hotspots of two of the 2.4GHz band, 5GHz band, and 6GHz band; for terminal devices that support more frequency bands, based on the user's hotspot sharing operation, they can share Wi-Fi hotspots of any two of the supported multiple frequency bands, or they can share Wi-Fi hotspots of more of the supported multiple frequency bands.

[0091] For ease of explanation, the technical solution of the present application is mainly illustrated below by taking a mobile phone as the terminal device for sharing a hotspot, and the terminal device supports Wi-Fi in the 2.4 GHz and 5 GHz bands as an example.

[0092] Figure 4 A user interface schematic diagram of a hotspot sharing process is shown, such as Figure 4 As shown in (a) in the figure, the terminal device can display something like Figure 1 The personal hotspot interface 10 shown in (a) of FIG. 1 may include a "personal hotspot" switch option 101, a "device name" option 102, and a "password" option 103. The user can trigger the terminal device to share Wi-Fi hotspots of multiple frequency bands by clicking the "personal hotspot" switch option 101 in the personal hotspot interface 10. As mentioned above, here, the terminal device shares 2.4G hotspots and 5G hotspots by way of example. Before clicking the "personal hotspot" switch option 101 to share the Wi-Fi hotspot, the user can set the device name and password of the Wi-Fi hotspot shared by the terminal device through the "device name" option 102 and the "password" option 103.

[0093] Among them, Wi-Fi hotspots of the two frequency bands can share the same device name and password. When terminal devices share hotspots of the two frequency bands, the Wi-Fi name of the 2.4G hotspot can be consistent with the device name set by the user, and the Wi-Fi name of the 5G hotspot can add a 5G logo on the basis of the device name set by the user. For example, the device name of the Wi-Fi hotspot set by the user is "AAA", and correspondingly, the Wi-Fi name of the 2.4G hotspot is "AAA", and the Wi-Fi name of the 5G hotspot is "AAA-5G".

[0094] After the user clicks the "Personal Hotspot" switch option 101 to turn on the hotspot sharing function, other devices can scan the Wi-Fi hotspot shared by the terminal device accordingly. Among them, the device that supports the 2.4GHz frequency band and the 5GHz frequency band (hereinafter referred to as the first device) can simultaneously scan the 2.4G hotspot and 5G hotspot shared by the terminal device, and the device that only supports the 2.4GHz frequency band (hereinafter referred to as the second device) can scan the 2.4G hotspot shared by the terminal device.

[0095] like Figure 4 As shown in (b), the first device (here exemplarily a mobile phone) supports Wi-Fi in the 2.4GHz band and the 5GHz band. It can scan two Wi-Fi hotspots shared by the terminal device at the same time, and display the Wi-Fi name "AAA" of the 2.4G hotspot and the Wi-Fi name "AAA-5G" of the 5G hotspot in the available WLAN; if the user wants to access a Wi-Fi hotspot, he can click on the Wi-Fi name of the Wi-Fi hotspot, and then enter the password of the Wi-Fi hotspot on the password input interface that pops up to connect to the Wi-Fi hotspot.

[0096] like Figure 4As shown in (c), the second device (here exemplarily a tablet) only supports Wi-Fi in the 2.4GHz frequency band. It can scan the 2.4G hotspot shared by the terminal device and display the Wi-Fi name "AAA" of the 2.4G hotspot in the available WLAN; if the user wants to access the Wi-Fi hotspot, he can click on the Wi-Fi name of the Wi-Fi hotspot, and then enter the password of the Wi-Fi hotspot on the password input interface that pops up to connect to the Wi-Fi hotspot.

[0097] In order to improve the flexibility of user use, in some embodiments, the terminal device may also provide a frequency band selection function for the user to select a Wi-Fi hotspot that shares one or more frequency bands to better meet user needs.

[0098] As an optional implementation, Figure 5 As shown, the personal hotspot interface 10 displayed by the terminal device may include: "2.4G Personal Hotspot" switch option 1011 and "5G Personal Hotspot" switch option 1012. The user can turn on or off the 2.4G hotspot through the "2.4G Personal Hotspot" switch option 1011, and turn on or off the 5G hotspot through the "5G Personal Hotspot" switch option 1012.

[0099] In some embodiments, the Wi-Fi hotspots of the two frequency bands can be respectively set with corresponding device names and passwords, for example, Figure 5 As shown in (a) of FIG. 1 , the personal hotspot interface 10 may include: a “device name” option 1021 and a “password” option 1031 corresponding to the “2.4G personal hotspot” switch option 1011, and a “device name” option 1022 and a “password” option 1032 corresponding to the “5G personal hotspot” switch option 1012. The user can set the device name and password of the 2.4G hotspot through the “device name” option 1021 and the “password” option 1031; and set the device name and password of the 5G hotspot through the “device name” option 1022 and the “password” option 1032. Among them, the Wi-Fi names of the two hotspots can be consistent with the corresponding device names. For example, the Wi-Fi name and device name of the 2.4G hotspot are both "AAA1", and the Wi-Fi name and device name of the 5G hotspot are both "AAA2"; the Wi-Fi names of the two hotspots or one of the hotspots can also add an identification on the basis of the device name to indicate the working frequency band of the Wi-Fi hotspot. For example, the device name of the 2.4G hotspot is "AAA1" and the Wi-Fi name is also "AAA1"; the device name of the 5G hotspot is "AAA2" and the Wi-Fi name is "AAA2-5G".

[0100] In some embodiments, the Wi-Fi hotspots of the two frequency bands may share the same device name and password. Figure 5 As shown in (b) of FIG. 1 , the “2.4G personal hotspot” switch option 1011 and the “5G personal hotspot” switch option 1012 share the “device name” option 102 and the “password” option 103, similar to Figure 4 As described in (a) of FIG. 1 , the Wi-Fi name of the 2.4G hotspot can be consistent with the device name set by the user, and the Wi-Fi name of the 5G hotspot can add a 5G logo to the device name set by the user. For example, if the device name set by the user through the "Device Name" option 102 is "AAA", the Wi-Fi name of the 2.4G hotspot is "AAA" and the Wi-Fi name of the 5G hotspot is "AAA-5G".

[0101] As another optional implementation, Figure 6 As shown in (a) of FIG. 1 , the personal hotspot interface 10 displayed by the terminal device includes Figure 4 The "Personal Hotspot" switch option 101, the "Device Name" option 102, and the "Password" option 103 shown in (a) of FIG. 1 may also include an "AP Band" option 104. After the user clicks on the option, Figure 6 As shown in (b) of FIG. 1 , the terminal device may pop up a frequency band selection interface 11, which may include: option 111 corresponding to the 2.4 GHz frequency band, option 112 corresponding to the 5 GHz frequency band, and option 113 corresponding to the 2.4 GHz frequency band and the 5 GHz frequency band; the user may select the working frequency band of the Wi-Fi hotspot to be enabled, and here, for example, the user selects option 113, such as Figure 6 As shown in (c) in FIG. 1 , the terminal device can close the frequency band selection interface 11, and then the user can turn on the "personal hotspot" switch option 101 to trigger the terminal device to share the 2.4G hotspot and the 5G hotspot. In addition, the frequency band selection interface 11 can also include a "cancel" option 1101, through which the user can cancel the frequency band selection, that is, keep the original frequency band unchanged.

[0102] Likewise, the user may set the device name and password of the shared Wi-Fi hotspot through the “Device Name” option 102 and the “Password” option 103 , and two Wi-Fi hotspots may share the same device name and password.

[0103] In order to further improve the flexibility of user use, in some embodiments, the terminal device can also provide a dual-band integration (or multi-band integration) function for the user to choose. When the user turns on the dual-band integration function, the two Wi-Fi hotspots shared by the terminal device can be merged into one Wi-Fi hotspot, sharing the same SSID (i.e., Wi-Fi name) and password, such as sharing the Wi-Fi name and password of a 2.4G hotspot; after other devices scan the Wi-Fi hotspot, they can intelligently choose which frequency band of the Wi-Fi hotspot to connect to.

[0104] In the specific implementation, it can be Figure 4 (a) and Figure 5 As shown in FIG. 1 , a “dual-band integration” switch option 106 is provided in the personal hotspot interface 10 for the user to enable or disable the dual-band integration function; Figure 6 As shown in (b) of FIG. 1 , a “dual-band integration” option 114 is provided in the frequency band selection interface 11 for the user to select. Of course, the terminal device may not provide the “dual-band integration” option, but may adopt the dual-band integration mode to share the Wi-Fi hotspot by default.

[0105] For example, Figure 4 Taking (a) in the figure as an example, the device name of the Wi-Fi hotspot set by the user is "AAA", the SSID (i.e., the Wi-Fi name) of the 2.4G hotspot is "AAA", and the SSID of the 5G hotspot is "AAA-5G". The user turns on the "Personal Hotspot" option 101 to share the 2.4G hotspot and the 5G hotspot. When the "Dual-band integration" switch option 106 is in the off state, other devices can scan two SSIDs: "AAA" and "AAA-5G"; when the "Dual-band integration" switch option 106 is in the on state, other devices can scan one SSID: "AAA", which corresponds to Wi-Fi hotspots of two frequency bands. For the first device that supports the 2.4GHz band and the 5GHz band, it can intelligently choose to access the 2.4G hotspot or the 5G hotspot. For the second device that only supports the 2.4GHz band, it can choose to access the 2.4G hotspot.

[0106] It is understandable that the user interface shown in the embodiment of the present application is only an example and is not intended to limit the present application. In some embodiments, the user interface displayed by the electronic device may include more or fewer interface elements than shown in the figure to achieve more or fewer functions; the position of each interface element can be adjusted as needed; each function can also be implemented using other interface elements, or can also be implemented in other user interfaces, and this embodiment does not specifically limit this. For example, the above-mentioned personal hotspot interface 10 may also include other functional options, such as a "connected devices" option for indicating the number of connected hotspot access devices; a "single traffic limit" option for setting an upper limit on shared traffic. The "device name" option 102 may also not be included in the personal hotspot interface 10. Figure 6 The “AP band” option 104 and other functional options (such as the “single traffic limit” option) shown in the figure can also be used as sub-options under a certain option (such as the “more sharing settings” option) in the personal hotspot interface 10.

[0107] In addition, the operations input by the user on the terminal device are not limited to touch operations, but may also be voice control operations, air gesture operations, or remote control operations, etc.; the touch operations input by the user are not limited to click operations, but may also be gesture operations, etc. The embodiments of the present application do not make any special limitations on this. For the sake of convenience of explanation, the embodiments of the present application take touch operations as an example for illustrative explanation.

[0108] In an embodiment of the present application, when terminal devices share Wi-Fi hotspots of two frequency bands, they can share them in a concurrent manner or in a time-division multiplexing manner. These two sharing methods are described below.

[0109] Share dual-band Wi-Fi hotspots in a concurrent manner

[0110] This sharing method can be applied to terminal devices that support DBDC capabilities. Figure 7 A schematic diagram of the architecture of the Wi-Fi module in such a terminal device is shown. Figure 7 As shown, the Wi-Fi module includes: a first baseband processor, a second baseband processor, and a first radio frequency front end connected to the first baseband processor and a second radio frequency front end connected to the second baseband processor.

[0111] The various functional modules in the above-mentioned Wi-Fi module may be independent devices, or may be partially or fully integrated together. For example, the first baseband processor and the second baseband processor are integrated on the same chip, and the first RF front end and the second RF front end are two discrete devices. For another example, the first baseband processor and the first RF front end are integrated in one Wi-Fi chip, and the second baseband processor and the second RF front end may be integrated in another Wi-Fi chip; or, the first baseband processor, the second baseband processor, the first RF front end and the second RF front end are all integrated in the same Wi-Fi chip.

[0112] The first baseband processor includes a media access control (MAC) processing module and a physical layer (PHY) processing module, wherein the MAC processing module mainly implements MAC layer functions, such as channel access, data transmission and reception, encryption and decryption, etc.; the PHY processing module mainly implements physical layer functions, such as digital baseband processing, etc.

[0113] The first RF front end can be connected to one or more antennas to send and receive data. When sending Wi-Fi data, the first RF front end can modulate, power amplify, filter, and perform other operations on the baseband signal of the first baseband processor to obtain a radio frequency signal on a specified frequency band (such as the 2.4GHz frequency band), and then transmit it through the connected antenna; when receiving Wi-Fi data, the first RF front end can filter and demodulate the radio frequency signal received by the antenna, convert it into a baseband signal, and transmit it to the first baseband processor for processing.

[0114] The working principles of the second baseband processor and the second RF front end are similar to those of the first baseband processor and the first RF front end, and are not described again here.

[0115] The first baseband processor and the first RF front end form a first Wi-Fi path, and the second baseband processor and the second RF front end form a second Wi-Fi path. The first Wi-Fi path can operate in a 2.4 GHz frequency band, and the second Wi-Fi path can operate in a 5 GHz frequency band.

[0116] The first Wi-Fi channel and the second Wi-Fi channel are independent of each other and can work concurrently. Therefore, when sharing a dual-band Wi-Fi hotspot, the terminal device can use a concurrent method to share the 2.4G hotspot through the first Wi-Fi channel and share the 5G hotspot through the second Wi-Fi channel.

[0117] In some embodiments, the first baseband processor and the second baseband processor may also be respectively connected to a plurality of RF front ends operating in different frequency bands. Figure 8 Another schematic diagram of the architecture of a Wi-Fi module in a terminal device supporting DBDC capability is shown, Figure 8 As shown, the first baseband processor and the second baseband processor are both connected to a radio frequency front end operating in the 2.4 GHz frequency band (referred to as the 2.4G radio frequency front end) and a radio frequency front end operating in the 5 GHz frequency band (referred to as the 5G radio frequency front end); each baseband processor forms a Wi-Fi path in the 2.4 GHz frequency band (referred to as the 2.4G Wi-Fi path) with the connected 2.4G radio frequency front end, and forms a Wi-Fi path in the 5 GHz frequency band (referred to as the 5G Wi-Fi path) with the connected 5G radio frequency front end. Each baseband processor can select one of the 2.4G radio frequency front end and the 5G radio frequency front end for connection, that is, at the same time, the baseband processor can select one of the 2.4G Wi-Fi path and the 5G Wi-Fi path ( Figure 8 In the figure, two different connection lines are connected through the baseband processor to indicate that the two paths are not selected at the same time).

[0118] The first baseband processor and the second baseband processor can simultaneously select the 2.4G Wi-Fi path, and can also simultaneously select the 5G Wi-Fi path, or one of them can select the 2.4G Wi-Fi path and the other can select the 5G Wi-Fi path.

[0119] When the terminal device shares a dual-band Wi-Fi hotspot, one of the first baseband processor and the second baseband processor can select the 2.4G Wi-Fi path, and the other can select the 5G Wi-Fi path ( Figure 8 In the figure, two gating strategies are represented by solid lines and dotted lines respectively, and connecting lines of the same style represent concurrent operation). Therefore, the terminal device can share the 2.4G hotspot and the 5G hotspot respectively through two Wi-Fi channels in a concurrent manner.

[0120] and Figure 7 The various functional modules in the Wi-Fi module can be independent devices or partially or fully integrated together. The functions of each functional module are similar to those of the Wi-Fi module shown in FIG. Figure 7 The functions of the corresponding functional modules in the Wi-Fi module shown in FIG. 1 are similar and will not be described in detail here.

[0121] In some embodiments, the first baseband processor may be connected to an RF front end (e.g., a 2.4G RF front end), and the second baseband processor may be connected to multiple RF front ends operating in different frequency bands (e.g., a 2.4G RF front end and a 5G RF front end). When the terminal device shares a dual-band Wi-Fi hotspot, the second baseband processor may enable the 5G RF front end, i.e., enable the 5G Wi-Fi path. Thus, the terminal device shares the 2.4G hotspot through the Wi-Fi path corresponding to the first baseband processor in a concurrent manner, and shares the 5G hotspot through the Wi-Fi path enabled by the second baseband processor.

[0122] In the above architecture, the terminal device is equivalent to integrating two APs, for example, Fig. 9As shown in , the terminal device includes an AP working in the 2.4GHz band (referred to as 2.4G AP) and an AP working in the 5GHz band (referred to as 5G AP). The two APs can work in parallel, providing 2.4G hotspots and 5G hotspots respectively, and regularly broadcast their respective beacon frames to facilitate other devices to discover themselves. The first device supports Wi-Fi in the 2.4GHz band and the 5GHz band. After it scans the two Wi-Fi hotspots shared by the terminal device, the user can choose to access the 5G hotspot to obtain a high-speed network experience; the second device only supports Wi-Fi in the 2.4GHz band. It can scan the 2.4G hotspot shared by the terminal device, and the user can choose to access the 2.4G hotspot to achieve network access. At the same time, the first device and the second device can simultaneously use the Wi-Fi hotspot shared by the terminal device.

[0123] Use time division multiplexing to share dual-band Wi-Fi hotspots

[0124] This sharing method can be applied to terminal devices that support DBAC capabilities. Fig.10 A schematic diagram of the architecture of the Wi-Fi module in such a terminal device is shown. Fig.10 As shown, the Wi-Fi module includes: a baseband processor, and multiple RF front ends connected to the baseband processor (here exemplarily including a 2.4G RF front end and a 5G RF front end).

[0125] and Figure 7 The various functional modules in the Wi-Fi module can be independent devices or partially or fully integrated together. The functions of each functional module are similar to those of the Wi-Fi module shown in FIG. Figure 7 The functions of the corresponding functional modules in the Wi-Fi module shown in FIG. 1 are similar and will not be described in detail here.

[0126] Among them, the baseband processor and the connected 2.4G RF front end can form a 2.4G Wi-Fi path, and can form a 5G Wi-Fi path with the connected 5G RF front end. The baseband processor can choose one of the 2.4G RF front end and the 5G RF front end to be connected, that is, at the same time, the baseband processor can select one of the 2.4G Wi-Fi path and the 5G Wi-Fi path.

[0127] When sharing a dual-band Wi-Fi hotspot, the terminal device can use time division multiplexing to select one Wi-Fi path in the first time slot of each time division multiplexing cycle and select the other Wi-Fi path in the second time slot. Fig.10 In the second time slot (indicated by solid line), the 2.4G Wi-Fi channel is selected to share the 2.4G hotspot. Fig.10The 5G Wi-Fi channel is selected (indicated by dotted lines) to share the 5G hotspot.

[0128] In each time division multiplexing cycle, the 2.4G Wi-Fi channel and the 5G Wi-Fi channel are alternately selected once, wherein the time division multiplexing cycle can be determined according to the beacon cycle (the period of AP broadcasting beacon frames), for example, one time division multiplexing cycle may include one or more beacon cycles, or one beacon cycle may include multiple time division multiplexing cycles; one beacon cycle may be 100ms or other duration.

[0129] When the terminal device switches between two Wi-Fi paths, switching overhead will be generated. Correspondingly, a beacon period may include a first time slot, a second time slot and two switching overheads. The first time slot and the second time slot may be equal in length or unequal in length.

[0130] Continue with Fig. 9 Take the connection relationship shown in as an example. Fig.11 As shown, the terminal devices share the 2.4G hotspot and the 5G hotspot in a time-division multiplexing manner, the first device accesses the 5G hotspot, and the second device accesses the 2.4G hotspot. In a beacon cycle, the terminal device selects the 2.4G Wi-Fi channel in the T1 period (i.e., the first time slot) to share the 2.4G hotspot, and selects the 5G Wi-Fi channel in the T3 period (i.e., the second time slot) to share the 5G hotspot, wherein the T2 period is the switching overhead of the terminal device switching from the 2.4G Wi-Fi channel to the 5G Wi-Fi channel, and the T4 period is the switching overhead of the terminal device switching from the 5G Wi-Fi channel to the 2.4G Wi-Fi channel. Correspondingly, the second device uses the 2.4G hotspot shared by the terminal devices in the first time slot of each beacon cycle, and the first device uses the 5G hotspot shared by the terminal devices in the second time slot of each beacon cycle, that is, the first device and the second device alternately use the Wi-Fi hotspot shared by the terminal devices.

[0131] In this architecture, the terminal device creates two virtual access points (VAPs) based on the same baseband processor, namely, the VAP in the 2.4GHz band (2.4G VAP for short) and the VAP working in the 5GHz band (5G VAP for short). The two VAPs work in time-sharing mode, providing the above-mentioned 2.4G hotspot and 5G hotspot respectively, and broadcast their respective beacon frames in each beacon cycle to facilitate other devices to discover themselves. The BSSIDs of the two VAPs are the same, and the SSIDs can be the same or different.

[0132] In actual applications, when terminal devices are sharing dual-band Wi-Fi hotspots, there may be a situation where one Wi-Fi hotspot is connected to a hotspot access device, while the other Wi-Fi hotspot is not connected to a hotspot access device. For example, the 2.4G hotspot shared by the terminal device in the first time slot is connected to a hotspot access device (which may be called a 2.4G hotspot access device), while the 5G hotspot shared by the terminal device in the second time slot is not connected to a hotspot access device (which may be called a 5G hotspot access device).

[0133] Taking this into consideration, in order to improve the utilization of network resources, in some embodiments of the present application, Fig.12 As shown, when the terminal device detects a 2.4G hotspot access device but does not detect a 5G hotspot access device, the duty cycle of the first time slot (i.e., T1 period) in the time division multiplexing cycle (hereinafter referred to as the first duty cycle) is increased, and correspondingly, the duty cycle of the second time slot (i.e., T3 period) in the time division multiplexing cycle (hereinafter referred to as the second duty cycle) is reduced. In this way, the network resources that are not used in the second time slot are used in the first time slot, so that the hotspot access device connected in the first time slot can use more network resources. In this way, while improving the utilization rate of network resources, the network transmission rate of the hotspot access device can also be improved, thereby obtaining a better user experience.

[0134] Among them, after the terminal device turns on the dual-band Wi-Fi hotspot, once it detects a 2.4G hotspot access device, it increases the first duty cycle corresponding to the hotspot.

[0135] Taking into account that two Wi-Fi hotspots may access the hotspot access device successively in a short period of time, in order to improve the stability of time slot adjustment, in some embodiments, the terminal device may also increase the first duty cycle when a 2.4G hotspot access device is detected and no 5G hotspot access device is detected within a target time after the 2.4G hotspot access device is detected.

[0136] The target duration may be, for example, 5 minutes, and the specific duration may be set as required, which is not particularly limited in this embodiment.

[0137] When adjusting the duty cycle, as an optional implementation method, after increasing the first duty cycle, the duration of the second time slot is equal to 0, that is, the 5G hotspot is directly turned off to maximize the use of network resources.

[0138] Considering the need to use 5G hotspots in the future, as another optional implementation method, Fig.12 As shown in , after increasing the first duty cycle, the duration of the second time slot is greater than 0 to better meet user needs.

[0139] Exemplarily, assuming that the switching overhead is 5 ms, initially, the durations of the first time slot and the second time slot are both 45 ms. When specifically increasing the first duty cycle, in some embodiments, the first time slot can be adjusted to a preset duration, for example, the first time slot is adjusted to 75 ms, the second time slot is correspondingly adjusted to 15 ms, and the first duty cycle corresponding to the first time slot is increased from 45 / 100 to 75 / 100.

[0140] In other embodiments, the duration of the first time slot can be adjusted according to the number of 2.4G hotspot access devices. For example, when the number of 2.4G hotspot access devices is less than or equal to the target number (e.g., 2), the first time slot can be adjusted to 60ms; when the number of 2.4G hotspot access devices is greater than the target number, the first time slot can be adjusted to 75ms. Alternatively, more number intervals can be set, and each number interval corresponds to a different time slot duration.

[0141] It is understandable that the method of increasing the first duty cycle is not limited to this, and other implementation methods may also be used, such as adjusting the first duty cycle according to the service type / bandwidth requirement of the 2.4G hotspot access device. The specific implementation method can be selected as needed, and this embodiment does not specifically limit this.

[0142] As described above, there may be a demand for the use of a 5G hotspot in the future. In some embodiments, after the terminal device increases the first duty cycle, if a second hotspot access device is detected, the second duty cycle can be increased to better meet the network resource usage requirements of the 5G hotspot access device.

[0143] Among them, when the second duty cycle is specifically increased, the second duty cycle can be restored to the initial value. For example, initially the first duty cycle is equal to the second duty cycle, both of which are 45 / 100; after the terminal device increases the first duty cycle, if a second hotspot access device is detected, the first duty cycle and the second duty cycle are both restored to 45 / 100.

[0144] Of course, other implementation methods may also be used, such as adjusting the second duty cycle according to the number / service type / bandwidth requirements of 2.4G hotspot access devices and 5G hotspot access devices. The specific implementation method is not particularly limited in this embodiment.

[0145] In some embodiments of the present application, a terminal device supporting DBAC capability may also adopt a method similar to the above Figure 8 Correspondingly, when the terminal devices share the dual-band Wi-Fi hotspot in a time-division multiplexing manner, each Wi-Fi hotspot can be shared through multiple Wi-Fi paths.

[0146] For example, Fig.13 As shown, the first baseband processor and the second baseband processor may be in the first time slot ( Fig.13 In the second time slot (indicated by solid lines), both select the 2.4G Wi-Fi channel to share the 2.4G hotspot; Fig.13 The 5G Wi-Fi channel is selected to share the 5G hotspot.

[0147] In this architecture, the way terminal devices share Wi-Fi hotspots is similar to Fig.10 The difference between the terminal devices in the architecture shown in the figure is the number of Wi-Fi channels used when sharing the Wi-Fi hotspot. Other aspects are similar. For specific sharing methods, see Fig.10 The relevant descriptions in the corresponding embodiments are not repeated here.

[0148] In some embodiments of the present application, for Figure 8 The terminal device of the Wi-Fi architecture shown can also connect to the Wi-Fi network provided by other AP devices through a Wi-Fi path corresponding to one of the baseband processors, and share the dual-band Wi-Fi hotspot in a time-division multiplexing manner through two Wi-Fi paths corresponding to another baseband processor.

[0149] In the embodiment of the present application, the traffic sources of the two Wi-Fi hotspots shared by the terminal devices may be entirely provided by the cellular network, entirely provided by the Wi-Fi network to which the terminal devices are connected, or partially provided by the cellular network and partially provided by the Wi-Fi network to which the terminal devices are connected.

[0150] It can be understood that the above are just some exemplary explanations and are not intended to limit the present application. In some embodiments, the terminal device can also share a 5G hotspot in the first time slot and a 2.4G hotspot in the second time slot; in each time division multiplexing cycle, the first time slot can also be located after the second time slot.

[0151] In addition, the implementation scheme of terminal devices sharing other dual-band Wi-Fi hotspots is similar to the scheme of sharing the above-mentioned 2.4G hotspots and 5G hotspots, and only the corresponding dual-bands need to be replaced. For the scenario of sharing Wi-Fi hotspots of more frequency bands, the functional modules of the corresponding frequency bands can be adaptively added on the basis of the above-mentioned implementation scheme. For example, an implementation method similar to that of 2.4G hotspots and 5G hotspots is adopted, and various functional options corresponding to 6G hotspots (i.e., Wi-Fi hotspots in the 6GHz band) are added to the various user interfaces shown above. Correspondingly, the Wi-Fi module in the terminal device adds a baseband processor and an RF front end or adds an RF front end to provide a Wi-Fi channel in the 6GHz band. When time division multiplexing is adopted, a third time slot can also be added to the time division multiplexing cycle to share the 6G hotspot.

[0152] It should be noted that any one of the above examples or the solution shown in any one of the figures may be an independent solution, or a solution composed of any multiple examples or a solution composed of any multiple figures may also be an independent solution, and this application does not impose any special restrictions on this.

[0153] Based on the above examples, the steps of the hotspot sharing method provided by the present application are introduced below.

[0154] Fig.14 A flow chart of a hotspot sharing method provided in an embodiment of the present application is shown in FIG. Fig.14 As shown, the hotspot sharing method provided in this embodiment may include the following steps:

[0155] S110: Receive a hotspot sharing operation.

[0156] Users can use hotspot sharing operations to trigger terminal devices to share Wi-Fi hotspots of multiple frequency bands.

[0157] In some embodiments, the hotspot sharing operation may be performed as follows: Figure 4 As shown in , including the operation of turning on the personal hotspot switch.

[0158] In some other embodiments, the hotspot sharing operation may also include multiple sub-operations, such as Figure 5 As shown in , the hotspot sharing operation includes turning on the "2.4G personal hotspot" switch option 1011 and turning on the "5G personal hotspot" switch option 1012; for example Figure 6 As shown in , the hotspot sharing operation includes: clicking the "AP band" option 104, selecting option 113 in the opened band selection interface 11, and then turning on the "personal hotspot" switch option 101, that is, the hotspot sharing operation includes the operation of selecting a target option from multiple band setting options and the operation of turning on the hotspot sharing function.

[0159] It should be noted that the naming method for the operation input by the user in the embodiment of the present application is only an example, which should not be understood as a limitation on the embodiment of the present application. In some embodiments, the same operation can also be named by other names, such as the first operation, the second operation, etc. Similarly, the naming of various functions, interfaces and interface elements in the embodiment of the present application is only an example, which is not used to limit the present application. In other embodiments, other names can also be used.

[0160] S120: In response to the hotspot sharing operation, share the first hotspot and the second hotspot.

[0161] After receiving the hotspot sharing operation input by the user, the terminal device can share Wi-Fi hotspots of multiple frequency bands, where the Wi-Fi hotspots of multiple frequency bands can include Wi-Fi hotspots of a first frequency band (i.e., a first hotspot) and Wi-Fi hotspots of a second frequency band (i.e., a second hotspot), and the first frequency band is different from the second frequency band.

[0162] Optionally, the first frequency band and the second frequency band are a frequency band combination of 2.4 GHz and 5 GHz, and correspondingly, the first frequency band is the 2.4 GHz frequency band and the second frequency band is the 5 GHz frequency band; or, the first frequency band is the 5 GHz frequency band and the second frequency band is the 2.4 GHz frequency band.

[0163] The first frequency band and the second frequency band may also be other frequency band combinations, such as a frequency band combination of 2.4 GHz and 6 GHz, or a frequency band combination of 5 GHz and 6 GHz.

[0164] Optionally, the SSIDs of the first hotspot and the second hotspot are different, and the user can distinguish the first hotspot from the second hotspot according to the SSID.

[0165] The terminal device can also provide a dual-band integration function, so that the SSID of the shared first hotspot and the second hotspot are the same. In this way, after other devices scan the Wi-Fi hotspot containing the first hotspot and the second hotspot, they can intelligently choose which frequency band of the Wi-Fi hotspot to connect to without the user having to make a selection, thereby improving user convenience.

[0166] Among them, the terminal device can share the Wi-Fi hotspot in a dual-band integration mode by default, or provide a dual-band integration function option for the user to choose, such as Figure 4 (a) and Figure 5 As shown in , the terminal device may provide a "dual-band integration" switch option 105 for the user to enable or disable the dual-band integration function; or Figure 6 As shown in (b) of FIG. 1 , a “dual-band integration” option 114 is provided in the frequency band selection interface 11 for the user to select.

[0167] Specifically, when sharing the first hotspot and the second hotspot, in some embodiments, the terminal device may share the first hotspot and the second hotspot in a concurrent manner, for example, based on Figure 7 In the architecture shown in FIG. 1 , the terminal device uses a concurrent method to share the 2.4G hotspot through the first Wi-Fi channel and the 5G hotspot through the second Wi-Fi channel; for example, based on Figure 8 In the architecture shown, in the terminal device, one of the first baseband processor and the second baseband processor selects the 2.4G Wi-Fi path, and the other selects the 5G Wi-Fi path. The terminal device uses a concurrent method to share the 2.4G hotspot and the 5G hotspot through the two Wi-Fi paths respectively.

[0168] In other embodiments, the terminal devices may share the first hotspot and the second hotspot in a time division multiplexing manner. Specifically, the terminal devices may share the first hotspot in the first time slot of each time division multiplexing cycle and share the second hotspot in the second time slot.

[0169] The Wi-Fi paths used by the terminal devices to share the first hotspot and the second hotspot may both be one, for example, based on Fig.10 In the architecture shown, the terminal device uses time division multiplexing to select the 2.4G Wi-Fi channel in the first time slot of each time division multiplexing cycle to share the 2.4G hotspot, and select the 5G Wi-Fi channel in the second time slot to share the 5G hotspot.

[0170] The Wi-Fi paths used by the terminal device to share the first hotspot and the second hotspot may be multiple, for example, based on Fig.13 In the architecture shown, the terminal device uses time division multiplexing to select two 2.4G Wi-Fi paths corresponding to the first baseband processor and the second baseband processor in the first time slot of each time division multiplexing cycle to share the 2.4G hotspot; and select two 5G Wi-Fi paths corresponding to the first baseband processor and the second baseband processor in the second time slot to share the 5G hotspot. This can increase the coverage of the Wi-Fi hotspot.

[0171] As for the above-mentioned first time slot and second time slot, as an optional implementation method, the terminal device may adopt a fixed time slot to share the first hotspot and the second hotspot, that is, the first time slot and the second time slot are constant.

[0172] Among them, the duration of the first time slot and the second time slot can be different. For example, the terminal device shares a 2.4G hotspot in the first time slot and a 5G hotspot in the second time slot. The duration of the first time slot can be greater than the duration of the second time slot to improve the communication quality of the 2.4G hotspot access device; or, the duration of the second time slot is greater than the duration of the first time slot to better utilize the high-speed advantage of the 5GHz frequency band.

[0173] The duration of the first time slot and the second time slot may also be equal, so that the hotspot access device obtains more balanced network resources.

[0174] As another optional implementation manner, the terminal device may adjust the working time slots of the first hotspot and the second hotspot according to the connection status of the hotspot access device of the Wi-Fi hotspot.

[0175] Specifically, when adjusting the time slot, Fig.15 The method shown is implemented. Fig.15 A schematic diagram of a process for sharing a Wi-Fi hotspot in a time-division multiplexing manner provided in an embodiment of the present application, such as Fig.15 As shown, the process of the terminal device sharing the first hotspot and the second hotspot may include the following steps:

[0176] S121. Share a first hotspot in the first time slot of each time division multiplexing cycle in a time division multiplexing manner, and share a second hotspot in the second time slot.

[0177] After the terminal device starts the first hotspot and the second hotspot, initially, the durations of the first time slot and the second time slot are both greater than 0, so that other devices can access the first hotspot and the second hotspot.

[0178] The durations of the first time slot and the second time slot may be different; the durations of the first time slot and the second time slot may also be equal, so as to provide the same access opportunities for hotspot access devices of the two frequency bands.

[0179] S122. When a first hotspot access device is detected but a second hotspot access device is not detected, increase the first duty cycle.

[0180] Among them, the first hotspot access device is a device accessing the first hotspot, and the second hotspot access device is a device accessing the second hotspot.

[0181] For example, as mentioned above Fig.12 As shown, when a 2.4G hotspot access device is detected but a 5G hotspot access device is not detected, the terminal device can increase the first duty cycle (i.e., the duty cycle of the first time slot in the time division multiplexing cycle) and correspondingly reduce the second duty cycle (i.e., the duty cycle of the second time slot in the time division multiplexing cycle) to improve the utilization of network resources and the network transmission rate.

[0182] In some embodiments, when a terminal device detects a first hotspot access device and does not detect a second hotspot access device within a target time period after detecting the first hotspot access device, the terminal device may increase the first duty cycle to improve the stability of the time slot adjustment.

[0183] When adjusting the duty cycle, as an optional implementation method, after increasing the first duty cycle, the duration of the second time slot is equal to 0, that is, the second hotspot is directly closed to maximize the use of network resources.

[0184] As another optional implementation, after increasing the first duty cycle, the duration of the second time slot is greater than 0 to better meet the user's demand for using the second hotspot.

[0185] Among them, as described in the previous embodiments, the terminal device can adjust the first duty cycle based on the preset duration, the number / service type / bandwidth requirement of the first hotspot access device, etc. The specific implementation method can be found in the above embodiments and will not be repeated here.

[0186] As described above, there may be a subsequent demand for using a second hotspot. In some embodiments, after increasing the first duty cycle, the terminal device may execute the following step S123 to increase the second duty cycle when a second hotspot access device is detected to better meet the network resource usage requirements of the second hotspot access device.

[0187] S123: If a second hotspot access device is detected, increase the second duty cycle.

[0188] Among them, the specific implementation method of the terminal device increasing the second duty cycle can be found in the previous embodiment and will not be repeated here.

[0189] It can be understood that the first hotspot and the second hotspot are only for the convenience of distinguishing the two hotspots, and the two can also be interchanged. The above scheme is also applicable to the situation where the two are interchanged, that is, the terminal device can also increase the second duty cycle when the second hotspot access device is detected but the first hotspot access device is not detected. If the first hotspot access device is detected subsequently, the first duty cycle can also be increased.

[0190] In addition, when the first hotspot access device and the second hotspot access device are both disconnected, the terminal device can restore the initial time slot allocation strategy. That is, during the entire process of sharing the hotspot, the terminal device can use the initial time slot allocation strategy when the two hotspots are not connected to the hotspot access device. For example, when the two hotspots are not connected to the hotspot access device, the duration of the first time slot is equal to that of the second time slot.

[0191] In some embodiments, the terminal device responds to the hotspot sharing operation, and the shared Wi-Fi hotspots of multiple frequency bands may include Wi-Fi hotspots of other frequency bands in addition to the first hotspot and the second hotspot mentioned above. For example, the terminal device may share a 2.4G hotspot, a 5G hotspot, and a 6G hotspot in response to the hotspot sharing operation.

[0192] Taking the case where the Wi-Fi hotspot shared by the terminal devices also includes a third hotspot whose working frequency band is a third frequency band, when the Wi-Fi hotspot is shared in a time division multiplexing manner, a third time slot can be correspondingly added in the time division multiplexing cycle to share the third hotspot. The terminal device can adopt the initial time slot allocation strategy when none of the three hotspots are connected to the hotspot access device; when some hotspots are connected to the hotspot access device and some hotspots are not connected to the hotspot access device, the duty cycle of the working time slot of the hotspot connected to the hotspot access device is increased. The specific implementation method is similar to the above embodiment and will not be repeated here.

[0193] Those skilled in the art will appreciate that the above embodiments are exemplary and are not intended to limit the present application. Where possible, the execution order of one or more of the above steps may be adjusted, or may be selectively combined to obtain one or more other embodiments. Those skilled in the art may select and combine any of the above steps as needed, and all those that do not depart from the essence of the present application fall within the scope of protection of the present application.

[0194] Based on the same concept, the embodiment of the present application also provides a terminal device, wherein the software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to exemplify the software structure of the terminal device.

[0195] Fig.16 A schematic diagram of the software architecture of a terminal device provided in an embodiment of the present application is shown in FIG. Fig.16 As shown, the software system of the terminal device can be divided into several layers. In some embodiments, the Android system can be divided into an application layer, a framework layer, a hardware abstraction layer (HAL) and a kernel layer from top to bottom.

[0196] The application layer can include a series of applications. Fig.16 As shown, the application may include camera, gallery, calendar, call, WLAN, Bluetooth, music, video, short message, map, browser and other applications.

[0197] The framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The framework layer includes some predefined functions.

[0198] like Fig.16 As shown, the framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a Wi-Fi service module, and the like.

[0199] The window manager provides window management services (WMS), which can be used for window management, window animation management, surface management, and as a transfer station for the input system. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0200] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0201] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0202] The phone manager is used to provide communication functions for terminal devices, such as the management of call status (including answering, hanging up, etc.).

[0203] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0204] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.

[0205] The Wi-Fi service module provides services such as opening and closing, configuring and scanning, connecting and disconnecting Wi-Fi.

[0206] HAL is used to connect the framework layer and the kernel layer, and may include: hardware abstraction layer interface definition language (HIDL) interface, HAL interface, and HALs corresponding to various hardware, such as: audio HAL, camera HAL, and Wi-Fi HAL.

[0207] Among them, the HAL corresponding to various hardware can communicate with the upper layer through the HIDL interface, and control the kernel layer downward through the HAL interface. For example, the Wi-Fi HAL can communicate with the upper-layer Wi-Fi service module through the corresponding HIDL interface, and communicate with the Wi-Fi driver in the kernel layer through the corresponding HAL interface.

[0208] The kernel layer is a layer between hardware and software, which is used to provide core system services for the Android kernel, such as security services, network services, memory management services, detection management services, and driver models. The kernel layer can include display drivers, camera drivers, audio drivers, sensor drivers, and Wi-Fi drivers.

[0209] The structure of the terminal device is described below.

[0210] See also Fig.17 , Fig.17 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application.

[0211] The terminal device 100 may include a processor 110, a memory 120, a display screen 130, a power module 140, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, and the like.

[0212] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0213] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0214] The controller can be the nerve center and command center of the terminal device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0215] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0216] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0217] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device. In other embodiments of the present application, the terminal device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0218] The memory 120 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the terminal device by running the instructions stored in the memory 120. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, and at least one application required for a function (such as a sound playback function, an image playback function, etc.). The data storage area may store data created during the use of the terminal device (such as audio data, a phone book, etc.). In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0219] The terminal device implements the display function through a GPU, a display screen 130, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 130 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0220] The display screen 130 is used to display images, videos, etc. The display screen 130 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini LED, Micro LED, quantum dot light emitting diodes (QLED), etc. In some embodiments, the terminal device may include one or more display screens 130.

[0221] The power module 140 is used to power the terminal device, and may include a battery and a power management unit. The power management unit may receive charging input from a wired charger through a USB interface or may receive wireless charging input through a wireless charging coil to charge the battery; and may monitor parameters such as battery capacity and battery health status. The power management unit may be an independent device or may be integrated in the processor 110.

[0222] The wireless communication function of the terminal device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0223] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0224] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to terminal devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0225] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device, or displays an image or video through the display screen 130. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0226] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc. applied to the terminal device. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. Among them, the wireless communication module 160 can include the Wi-Fi module described in the aforementioned embodiment.

[0227] The terminal device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0228] Based on the same concept, as an implementation of the above method, an embodiment of the present application provides a hotspot sharing device, and the device embodiment corresponds to the above method embodiment. For ease of reading, the present device embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the above method embodiment.

[0229] Fig.18 A schematic diagram of the structure of a hotspot sharing device provided in an embodiment of the present application is shown in FIG. Fig.18 As shown, the device provided in this embodiment includes:

[0230] Display module 210 , input module 220 , processing module 230 and communication module 240 .

[0231] The display module 210 is used to support the terminal device to perform the interface display operation in the above embodiment and / or other processes for the technology described herein. The display module can be a touch screen or other hardware or a combination of hardware and software.

[0232] The input module 220 is used to receive user input on the display interface of the terminal device, such as touch input, voice input, gesture input, etc. The input module is used to support the terminal device to perform the steps of receiving user operations in the above embodiment and / or other processes for the technology described herein. The input module can be a touch screen or other hardware or a combination of hardware and software.

[0233] The processing module 230 is used to support the terminal device to execute the processing operations in the steps of the methods in the above embodiments and / or other processes used for the technology described herein.

[0234] The communication module 240 is used to support the terminal device to perform operations related to the communication process between other devices in the above embodiments and / or other processes used for the technology described herein.

[0235] The device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0236] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0237] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described in the above method embodiment is implemented.

[0238] The embodiment of the present application also provides a computer program product. When the computer program product is run on a terminal device, the terminal device implements the method described in the above method embodiment when executing the computer program product.

[0239] The present application also provides a chip system, including a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method described in the above method embodiment. The chip system can be a single chip or a chip module composed of multiple chips.

[0240] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0241] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media can include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0242] The naming or numbering of the steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The named or numbered process steps can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0243] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0244] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0245] It should be understood that in the description of the present application specification and the appended claims, the terms "include", "comprises", "have" and any variations thereof are intended to cover non-exclusive inclusions and mean "including but not limited to", unless otherwise specifically emphasized. For example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices.

[0246] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is used to describe the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0247] Furthermore, in the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0248] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0249] In addition, in the description of the present specification and the appended claims, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein; the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0250] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0251] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0252] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A hotspot sharing method, applied to a terminal device, characterized in that: The method comprises: Receive hotspot sharing operations; In response to the hotspot sharing operation, a first hotspot and a second hotspot are shared, wherein the first hotspot is a Wi-Fi hotspot of a first frequency band, and the second hotspot is a Wi-Fi hotspot of a second frequency band, and the first frequency band is different from the second frequency band.

2. The method according to claim 1, characterized in that The terminal device shares the first hotspot and the second hotspot in a concurrent manner.

3. The method according to claim 1, characterized in that The terminal device shares the first hotspot and the second hotspot in a time division multiplexing manner.

4. The method according to claim 3, characterized in that The sharing of the first hotspot and the second hotspot comprises: In a time division multiplexing manner, a first hot spot is shared in a first time slot of each time division multiplexing cycle, and a second hot spot is shared in a second time slot, wherein the duration of the first time slot and the second time slot are both greater than 0; When a first hotspot access device is detected and a second hotspot access device is not detected, the first duty cycle is increased, where the first duty cycle is the duty cycle of the first time slot in the time division multiplexing cycle, the first hotspot access device is a device accessing the first hotspot, and the second hotspot access device is a device accessing the second hotspot.

5. The method according to claim 4, characterized in that When a first hotspot access device is detected and a second hotspot access device is not detected within a target time period after the first hotspot access device is detected, the first duty cycle is increased.

6. The method according to claim 4 or 5, characterized in that: After increasing the first duty cycle, the duration of the second time slot is greater than 0.

7. The method according to claim 6, characterized in that After increasing the first duty cycle, the method further includes: If a second hotspot access device is detected, the second duty cycle is increased, where the second duty cycle is the duty cycle of the second time slot in the time division multiplexing cycle.

8. The method according to any one of claims 4 to 7, characterized in that: When neither the first hotspot nor the second hotspot is connected to a hotspot access device, the first time slot is equal to the second time slot.

9. The method according to any one of claims 3 to 8, characterized in that: The Wi-Fi paths used by the terminal devices when sharing the first hotspot and the second hotspot include multiple Wi-Fi paths.

10. The method according to any one of claims 1 to 9, characterized in that: The hotspot sharing operation includes: an operation of selecting a target option from a plurality of frequency band setting options and an operation of enabling the hotspot sharing function. The frequency band setting option is used to indicate the working frequency band of the Wi-Fi hotspot to be shared by the terminal device.

11. The method according to any one of claims 1 to 10, characterized in that: The SSID of the first hotspot and the second hotspot is the same.

12. The method according to any one of claims 1 to 11, characterized in that: The first frequency band is a 2.4 GHz frequency band, and the second frequency band is a 5 GHz frequency band; or, the first frequency band is a 5 GHz frequency band, and the second frequency band is a 2.4 GHz frequency band.

13. A terminal device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the method according to any one of claims 1 to 12 when calling the computer program.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.

15. A computer program product, characterized in that When the computer program product runs on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 12.

16. A chip system, characterized in that: The chip system includes a processor, which is coupled to a memory, and the processor executes a computer program stored in the memory to implement the method according to any one of claims 1-12.