CN111356209A - Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment - Google Patents

Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111356209A
CN111356209A CN202010095422.7A CN202010095422A CN111356209A CN 111356209 A CN111356209 A CN 111356209A CN 202010095422 A CN202010095422 A CN 202010095422A CN 111356209 A CN111356209 A CN 111356209A
Authority
CN
China
Prior art keywords
hotspot
frequency band
terminal
hot spot
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010095422.7A
Other languages
Chinese (zh)
Other versions
CN111356209B (en
Inventor
吴国钿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010095422.7A priority Critical patent/CN111356209B/en
Publication of CN111356209A publication Critical patent/CN111356209A/en
Application granted granted Critical
Publication of CN111356209B publication Critical patent/CN111356209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Abstract

The embodiment of the application discloses a multi-frequency WiFi hotspot opening method, a multi-frequency WiFi hotspot opening device, a storage medium and electronic equipment, wherein the method comprises the following steps: the method includes the steps of receiving a hotspot opening instruction, obtaining a plurality of hotspot frequency bands supported by the terminal, creating hotspot configuration files corresponding to the hotspot frequency bands respectively, wherein the hotspot configuration files contain hotspot configuration information, configuring frequency band ports of the hotspot frequency bands based on the hotspot configuration information corresponding to the hotspot frequency bands respectively, and opening the frequency band ports of the hotspot frequency bands.

Description

Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of computers, in particular to a multi-frequency WiFi hotspot opening method and device, a storage medium and electronic equipment.
Background
With the development of wireless communication technology and the popularization of terminals, great convenience is brought to the daily life of people. In the network functions of the terminal, the hotspot function plays a crucial role, and the terminal shares a network with other electronic devices (such as mobile phones, computers and the like) through the hotspot function. The terminal realizes hot spot network sharing with another electronic device through a network (such as a fifth generation communication system network, namely 5G) of the terminal.
At present, a network sharing module of a terminal can generally support a hot spot of a 2.4GHZ hot spot frequency band and a hot spot of a 5.0GHZ hot spot frequency band at the same time, and when a user starts a hot spot function, the user can start the hot spot network sharing between the 2.4GHZ hot spot frequency band of the terminal and one frequency band (such as 2.4GHZ) of the 5.0GHZ hot spot frequency band. In the whole process of hot spot network sharing, the hot spot network is shared by the frequency band, and if the electronic equipment of the opposite communication terminal does not support the frequency band, the hot spot network of the terminal cannot be connected, so that the utilization rate of the hot spot resource of the terminal is influenced.
Disclosure of Invention
The embodiment of the application provides a multi-frequency WiFi hotspot starting method and device, a storage medium and electronic equipment, and the utilization rate of terminal hotspot resources can be improved. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a multi-frequency WiFi hotspot opening method, where the method includes:
receiving a hotspot opening instruction, and acquiring a plurality of hotspot frequency bands supported by the terminal;
creating hotspot configuration files respectively corresponding to the plurality of hotspot frequency bands, wherein the hotspot configuration files comprise hotspot configuration information;
and configuring a frequency band port of each hot spot frequency band based on the hot spot configuration information respectively corresponding to the plurality of hot spot frequency bands, and opening the frequency band port of each hot spot frequency band.
In a second aspect, an embodiment of the present application provides a multi-frequency WiFi hotspot opening device, the device includes:
the hotspot frequency band acquisition module is used for receiving a hotspot opening instruction and acquiring a plurality of hotspot frequency bands supported by the terminal;
a configuration file creating module, configured to create a hotspot configuration file corresponding to each of the plurality of hotspot frequency bands, where the hotspot configuration file includes hotspot configuration information;
and the frequency band port opening module is used for configuring the frequency band port of each hot frequency band based on the hot configuration information respectively corresponding to the plurality of hot frequency bands and opening the frequency band port of each hot frequency band.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, a terminal receives a hotspot opening instruction, acquires a plurality of hotspot frequency bands supported by the terminal, creates a hotspot configuration file corresponding to each of the plurality of hotspot frequency bands, where the hotspot configuration file contains hotspot configuration information, configures and opens a frequency band port of each hotspot frequency band based on the hotspot configuration information corresponding to each of the plurality of hotspot frequency bands, and opens the frequency band port of each hotspot frequency band. The terminal opens the frequency band port of each hot frequency band based on the configuration information corresponding to each hot frequency band, and can open the hot points corresponding to each hot frequency band supported by the terminal, so that all the hot frequency bands supported by the electronic equipment are covered, the problem that the electronic equipment cannot be connected with a hot network due to the fact that the electronic equipment is not matched with the hot frequency bands of the electronic equipment in the whole process of terminal hot network sharing is avoided, and the utilization rate of terminal hot resources is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a multi-frequency WiFi hotspot opening method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a personal hotspot interface of a terminal related to a multi-frequency WiFi hotspot opening method provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a menu interface display of a terminal related to a multi-frequency WiFi hotspot opening method provided in an embodiment of the present application;
fig. 4 is an interface schematic diagram of a personal hotspot setting interface related to a multi-frequency WiFi hotspot opening method provided in the embodiment of the present application;
fig. 5 is an interface schematic diagram of hot spot frequency band setting related to a multi-frequency WiFi hot spot opening method provided in the embodiment of the present application;
fig. 6 is a schematic flowchart of another multi-frequency WiFi hotspot opening method provided in the embodiments of the present application;
fig. 7 is a schematic diagram of a personal hotspot setting interface of a smartphone related to a multi-frequency WiFi hotspot opening method provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a hot spot frequency band interface related to a multi-frequency WiFi hot spot opening method provided in the embodiment of the present application;
fig. 9 is a schematic view of a scene architecture for turning on a multi-frequency WiFi hotspot provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a multi-frequency WiFi hotspot opening device provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of a frequency band port opening module according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of another multi-frequency WiFi hotspot opening device provided in this application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 1, a multi-frequency WiFi hotspot opening method is proposed, which can be implemented by relying on a computer program and can run on a multi-frequency WiFi hotspot opening device based on von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application.
Specifically, the multi-frequency WiFi hotspot opening method comprises the following steps:
step 101: and receiving a hotspot opening instruction, and acquiring a plurality of hotspot frequency bands supported by the terminal.
The instructions are instructions and commands directing the operation of the terminal, and may be understood as codes specifying certain operations to be performed or certain controls to be implemented by functions. The hotspot opening instruction can be understood as a code for commanding the terminal to execute the function of opening the multi-frequency WiFi hotspot, and the terminal can open the multi-frequency WiFi hotspot by executing the code.
In this embodiment of the application, the terminal serves as a hotspot access device and can provide devices connected with a plurality of WiFi hotspots, the terminal serves as a multi-frequency WiFi router after a multi-frequency WiFi hotspot function is started, and electronic devices (such as mobile phones and tablets) in a signal coverage range of the multi-frequency WiFi hotspot of the terminal can scan hotspot signals of the terminal. Taking the terminal as a mobile phone and the supported multi-frequency WiFi hotspot as a dual-frequency WiFi hotspot as an example, after the terminal starts the multi-frequency WiFi hotspot, the mobile phone can simultaneously work at 2.4GHZ and 5GHZ dual-frequency WiFi hotspots by configuration.
The "2.4 GHZ" and "5 GHZ" are hot spot frequency bands supported by the terminal, and the terminal can support a complete wireless network including 802.11a/b/g/n, which belongs to a fifth generation Wi-Fi transmission technology. The 2.4GHz frequency band and the 5GHz frequency band have advantages and disadvantages, the 2.4GHz frequency band is long in coverage distance and good in wall penetration, but poor in interference resistance and low in speed, and the 5GHz frequency band is strong in anti-interference performance and high in speed, but short in coverage distance and poor in wall penetration.
After receiving a hotspot opening instruction input by a user, a terminal opens hotspots corresponding to a plurality of hotspot frequency bands respectively by executing the multi-frequency WiFi hotspot opening method mentioned in the embodiments of the present application, such as opening an a hotspot, a B hotspot, and a C hotspot, where the a hotspot, the B hotspot, and the C hotspot are generally 3 WiFi hotspots working in different hotspot frequency bands, the a hotspot may be a 2.4GHZ hotspot frequency band widely used in the present application, the B hotspot may be a 5GHZ frequency band, and the C hotspot may be a hotspot in other hotspot frequency bands except for 2.4GHZ and 5GHZ, it should be noted that the present application relates to a plurality of hotspot frequency bands and is not specifically limited, and in practical application, the hotspot frequency bands are not limited to the above-mentioned hotspot frequency bands of 5GHZ and 2.4 GHZ.
In a specific implementation scenario, the hotspot opening instruction received by the terminal may be received according to a selection operation input by a user. The terminal can comprise a touch screen, and the touch screen has a function of sensing touch operation of a user. The structure of the touch screen at least comprises 4 parts: the terminal comprises a screen glass layer, a sensor film, a display panel layer and a controller board, wherein the sensor film is provided with a touch sensor layer and contains various sensors such as a pressure sensor, a position sensor and the like, and when a user touches an icon of the hot spot on a current display interface of the terminal, a touch screen of the terminal can acquire touch position parameters through the sensors in the terminal. And then, the position parameters are processed, the icon of the hot spot on the display interface corresponding to the position parameters is identified by touch, and the terminal can identify and receive the hot spot opening instruction input by the user.
In a specific implementation scenario, as shown in fig. 2, fig. 2 is a schematic view of a personal hotspot interface of a terminal, and a personal hotspot opening icon, hotspot prompt information (after opening, you will share your internet connection), a personal hotspot setting option, a connection management option, and the like are displayed in a display interface of the terminal shown in fig. 2.
When a user can select a "personal hotspot" option in a setting interface of the terminal, then a "personal hotspot opening icon" on a touch screen of the terminal is selected in a "personal hotspot interface" of the terminal as shown in fig. 2; or, a user may pull down a menu interface on a desktop of a terminal, where a menu interface display diagram of the terminal is shown in fig. 3, the user may select and open a "personal hotspot" icon by means of finger touch, specifically, by touching a screen glass layer on a touch screen, the touch screen of the terminal obtains a position parameter corresponding to the "personal hotspot opening icon" touched by the touch screen through a position sensor in a sensor film, and then processes the position parameter to identify an instruction for opening the personal hotspot input by the user, and at this time, executes a next step of "obtaining multiple hotspot frequency bands supported by the terminal" by reading and executing a machine executable instruction corresponding to a control logic for opening the "personal hotspot opening icon".
Optionally, the hotspot opening instruction input by the user may be completed through an external device, for example, the user may select a hotspot opening instruction input by a personal hotspot opening icon of the current display interface through an external device such as a laser pen/mouse connected to the terminal; the user can start the personal hotspot instruction through voice input (for example, the user starts the personal hotspot through voice input); the method may be that a user collects a gesture control instruction of the user through a camera included in the terminal to complete a specific operation of starting, namely, a personal hotspot starting operation, or may be a personal hotspot starting instruction for the terminal input by pressing a physical key (a switch key, a volume key, etc.) of the terminal.
And the terminal responds to the hotspot opening instruction after receiving the hotspot opening instruction input by the user. Generally, hotspot frequency band information supported by a terminal can be stored in a local storage space, the terminal can acquire the supported hotspot frequency band information in the local storage space, and each supported hotspot frequency band can be acquired based on the hotspot frequency band information.
Step 102: and creating hotspot configuration files respectively corresponding to the plurality of hotspot frequency bands, wherein the hotspot configuration files comprise hotspot configuration information.
The hotspot configuration file contains hotspot configuration information such as a hotspot name or other identification (network ID), a wireless key or password for accessing to a hotspot network, and an encryption type, and it can be understood that the terminal creates the hotspot configuration file, so that the hardware of the terminal bottom layer related to the hotspot function obtains the configuration information in the configuration file to perform hotspot configuration based on the hotspot configuration file, for example, configure a port based on the configuration information.
Wherein the hotspot configuration file can be determined based on the type of the terminal operating system, such as when the operating system of the terminal is an IOS system developed by apple inc (including a system developed based on the IOS system depth), the created configuration file can be a mobilecomfig file; when the operating system of the terminal is an Android (Android) system (including a system developed based on the Android system), the created configuration file may be a wifi config file, an XML file created by other operating systems, or the like.
In a specific implementation scenario, when a user starts a hotspot function of a terminal, a "personal hotspot setting" option is selected in a display interface of the terminal shown in fig. 2 to input a personal hotspot setting instruction to the terminal, at this time, the terminal responds to the personal hotspot setting instruction input by the user and displays a "personal hotspot setting" interface on a current display interface, as shown in fig. 4, fig. 4 is an interface schematic diagram of a personal hotspot setting interface, and in the personal hotspot setting interface shown in fig. 4, the user may set each hotspot in a plurality of hotspot frequency bands respectively, taking the plurality of hotspot frequency bands as 2.4GHZ frequency bands and 5.0GHZ frequency bands as examples. For example, the user may sequentially set configuration information of hot spots in each hot spot frequency band, for example, first set configuration information of hot spots in the 2.4GHZ frequency band, and then set configuration information of hot spots in the 5.0GHZ frequency band. The configuration information may be configuration items such as a hotspot name, a hotspot encryption mode, and a password.
Specifically, the option of "AP frequency band" may be clicked in the interface shown in fig. 4, as shown in fig. 5, fig. 5 is an interface schematic diagram for performing hot spot configuration in an AP frequency band, and a user may select a 2.4GHZ frequency band when clicking the option of "AP frequency band", and then set configuration information of a hot spot in the 2.4GHZ frequency band, for example, set configuration items such as a hot spot name, a hot spot encryption manner, and a password in the 2.4GHZ frequency band; then, setting configuration information of hot spots of a 5.0GHZ frequency band, wherein a user can click an AP frequency band option again to select the 5.0GHZ frequency band, and then correspondingly setting the configuration information of the hot spots of the 5.0GHZ frequency band, such as setting configuration items of hot spot names, hot spot encryption modes, passwords of the 5.0GHZ frequency band and the like of the 5.0GHZ frequency band; after the setting is completed, the "save" option shown in fig. 4 may be selected to input a save instruction, and the terminal responds to the save instruction input by the user to create a hot spot configuration file corresponding to each of the multiple hot spot frequency bands, such as a 2.4GHZ hot spot configuration file and a 5.0GHZ hot spot configuration file corresponding to each of the 2.4GHZ frequency band and the 5.0GHZ frequency band.
In a specific implementation scenario, after receiving a hotspot opening instruction input by a user, a terminal may directly create a configuration file associated with a wireless network based on a default wireless access configuration document, where the wireless access configuration document may be understood as hotspot information corresponding to each hotspot frequency band in a plurality of default hotspot frequency bands of the terminal, and for example, the hotspot information of a 2.4GHZ frequency band in the plurality of default hotspot frequency bands includes, but is not limited to, configuration items such as a hotspot name, a hotspot encryption mode, and a password. Therefore, the user does not need to manually set the hotspot information corresponding to the hotspot frequency bands, and the creation of the hotspot configuration files corresponding to the hotspot frequency bands can be conveniently and quickly started.
In a specific implementation scenario, after receiving a hotspot opening instruction input by a user, a terminal may create a hotspot configuration file corresponding to each of a plurality of hotspot frequency bands based on a historical hotspot opening record. The historical hotspot opening record stores configuration information for opening a plurality of hotspot frequency bands at a historical time point of a user, for example, the terminal may use the configuration information determined when the user opens the plurality of hotspot frequency bands last time as a reference to create hotspot configuration files respectively corresponding to the plurality of hotspot frequency bands when the hotspot is opened this time.
In a specific embodiment, the terminal may further use the connection expiration time to create a profile of a plurality of hotspot bands so as to limit the amount of time that an electronic device accessing the hotspot can connect to the wireless network; the terminal can also use the identification of the fixed electronic equipment to create a configuration file of a plurality of hot spot frequency bands, so as to limit that other electronic equipment inconsistent with the identification can be connected to a wireless network; the terminal can also use the IP address of the fixed electronic equipment to create a configuration file of a plurality of hot spot frequency bands, so as to limit that other electronic equipment which is inconsistent with the IP address can be connected to a wireless network, and the like.
In a specific implementation manner, the terminal may create the hotspot configuration files corresponding to the plurality of hotspot frequency bands respectively based on reference configuration information sent by an electronic device that establishes a communication connection with the terminal, where the reference configuration information may be used as a reference for the terminal to create the hotspot configuration files corresponding to the plurality of hotspot frequency bands respectively, and the reference configuration information includes configuration items, such as hotspot names, hotspot encryption manners, passwords, and the like, corresponding to the plurality of hotspot frequency bands respectively.
Step 103: and configuring a frequency band port of each hot spot frequency band based on the hot spot configuration information respectively corresponding to the plurality of hot spot frequency bands, and opening the frequency band port of each hot spot frequency band.
The frequency band port corresponds to a hot spot frequency band, namely one frequency band port corresponds to one hot spot frequency band, and the frequency band port is used for starting a hot spot network after the configuration of the frequency band port is completed, so that electronic equipment within a hot spot signal coverage range can be connected with the hot spot network of the terminal, and network sharing of the hot spot network corresponding to the hot spot frequency band of the terminal is realized.
Specifically, the terminal may configure a frequency band port of each hotspot frequency band based on hotspot configuration information respectively corresponding to the plurality of hotspot frequency bands. For convenience of description, the following description will be given by taking, as an example, a frequency band port of a hot spot frequency band configured by hot spot configuration information corresponding to the hot spot frequency band of 5.0GHZ, where:
after the terminal acquires the 5.0GHZ hotspot configuration information, the hotspot configuration information generally includes configuration information of a plurality of configuration items, and the specific terminal performs parameter configuration on the configuration items of the hotspot frequency band according to the hotspot configuration information, which may be setting a hotspot name of a frequency band port as hotspot name information in the hotspot configuration information; setting the security item of the frequency band port as a corresponding encryption mode (such as a WPA encryption mode, a WPA2 encryption mode and the like) in the hotspot configuration information; setting a network equipment node of a frequency band port as a corresponding equipment node in hotspot configuration information; performing channel residence on a working channel configuration item of the frequency band port based on a corresponding support channel in the hotspot configuration information; setting a working wireless item of a frequency band port as a frequency band antenna (such as an antenna supporting a 5.0GHZ frequency band) in hotspot configuration information; setting the maximum hotspot connection item of the frequency band port as the maximum hotspot connection number in the hotspot configuration information; setting a wireless protocol type configuration item of a frequency band port as a target hotspot protocol in hotspot configuration information; setting the hotspot service items of the frequency band ports as hotspot services (such as IPv6, IPv4 and the like) in hotspot configuration information; setting a network address item of the frequency band port as a network address field in hotspot configuration information; and setting the IP setting item of the frequency band port as an IP item (such as a DHCP item, a static item and the like) in the hotspot configuration information, and the like.
When the terminal configures each configuration item of the frequency band port of the hot spot frequency band based on the hot spot configuration information, the configuration of each configuration item may be that the terminal creates a configuration process for each configuration type, and invokes a terminal resource pool to allocate computing resources for each configuration process, and each configuration process may be performed synchronously or asynchronously, which is not specifically limited in the embodiment of the present application.
Specifically, after the terminal configures the band port of each hotspot band based on the hotspot configuration information respectively corresponding to the plurality of hotspot bands, the band port of each hotspot band is opened.
In a specific implementation manner, the terminal may load the band port of each hotspot band by a startthermal method of ConnectivityManager, and then load the firmware under the band port by an AP mode through a network management service; meanwhile, the hardware (such as a network card chip) is abstracted through an abstraction function at a hardware abstraction layer (HAL layer). Then, a broadcast message is sent to an upper layer (application layer) of the terminal by calling a setWifiApState () function, process information of opening hotspots of current hotspot frequency bands is informed, the application layer of the terminal can monitor a kernel hot plug event through a netlink socket) class to register an Observer to monitor parameter changes of add, remove and change in the Interface, and then the hotspots of the hotspot frequency bands are started.
In the embodiment of the application, the terminal opens the frequency band port of each hot frequency band based on the configuration information corresponding to each hot frequency band, and can open the hot points corresponding to each hot frequency band supported by the terminal, so that all the hot frequency bands supported by the electronic equipment are covered, the problem that the electronic equipment cannot be connected with the hot network due to the fact that the electronic equipment is not matched with the hot frequency bands of the electronic equipment in the whole process of WiFi hot network sharing of the terminal is avoided, and the utilization rate of hot resources of the terminal is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a multi-frequency WiFi hotspot opening method according to another embodiment of the present disclosure. In the embodiment of the present application, the multi-frequency WiFi hotspot opening method is applied to a terminal, the terminal may open two frequency band WiFi hotspots or WiFi hotspots of more than two frequency bands by executing the multi-frequency WiFi hotspot opening method, the number of the multi-frequency WiFi hotspots is generally determined according to an actual application scenario of the terminal, and the method is not specifically limited herein.
For convenience of description, the following description will mostly take the example that the terminal opens the WiFi hotspots in two frequency bands by executing the multi-frequency WiFi hotspot opening method.
Specifically, the method comprises the following steps:
step 201: and receiving a hotspot opening instruction, and acquiring a plurality of hotspot frequency bands supported by the terminal.
Specifically, refer to step 101, which is not described herein again.
Step 202: and receiving hotspot configuration information input aiming at each hotspot frequency band, and respectively creating hotspot configuration files for storing the hotspot configuration information.
Specifically, after the terminal receives a hotspot opening instruction of a user for the terminal and acquires a plurality of hotspot frequency bands supported by the terminal, the user may set each hotspot frequency band of the terminal, for example, the user may set a hotspot frequency band 1, a hotspot frequency band 2, and a hotspot frequency band 3. Such as: the terminal may receive hotspot configuration information input by the user for each hotspot frequency band: the hot spot configuration information n corresponding to the hot spot frequency band n is obtained by the hot spot configuration information 1 corresponding to the hot spot frequency band 1, the hot spot configuration information 2 corresponding to the hot spot frequency band 2, and the hot spot configuration information 3 corresponding to the hot spot frequency band 3. The terminal may create a hotspot configuration file 1, which stores hotspot configuration information 1.
The following is explained in detail by using the plurality of hot spot bands including a first hot spot band and a second hot spot band:
and the terminal receives first configuration information input by a user aiming at the first hot spot frequency band, creates a first configuration file for storing the first configuration information, receives second configuration information input by the user aiming at the second hot spot frequency band, and creates a second configuration file for storing the second configuration information.
The first hot spot frequency band may be one of a 2.4GHz frequency band and a 5GHz frequency band, the second hot spot frequency band may be one of a 2.4GHz frequency band and a 5GHz frequency band, and the first hot spot frequency band is different from the second hot spot frequency band. In the embodiment of the present application, the first hot spot frequency band and the second hot spot frequency band are not specifically limited, for example, the first hot spot frequency band may be a 2.4GHz frequency band or a 5GHz frequency band.
The first configuration information refers to configuration information of the first hotspot frequency band, and the first configuration information may include a hotspot name or other identifier (network ID) of the first hotspot frequency band, a wireless key or password for accessing a hotspot network, an encryption type, and the like. In this embodiment of the application, the first configuration file is created, so that the bottom layer firmware (such as a network card chip) of the terminal reads the included first configuration information to configure the frequency band port (the first soft interface and the first network card interface) corresponding to the first hot frequency band.
The second configuration information refers to configuration information of the second hotspot frequency band, and the second configuration information may include a hotspot name or other identifier (network ID) of the second hotspot frequency band, a wireless key or password for accessing the hotspot network, an encryption type, and the like. In this embodiment of the application, a second configuration file is created, so that a bottom layer firmware (such as a network card chip) of the terminal reads second configuration information included in the second configuration file to configure a frequency band port (a second soft interface and a second network card interface) corresponding to the second hot spot frequency band.
Specifically, after the terminal receives a hotspot opening instruction for the terminal and acquires a plurality of hotspot frequency bands supported by the terminal, the user may set a first hotspot frequency band and a second hotspot frequency band of the terminal, the terminal may receive first configuration information input by the user for the first hotspot frequency band, where the first configuration information may be information such as a hotspot name, a hotspot password, a hotspot encryption mode, and a maximum hotspot connection number of the first hotspot frequency band, and create a first configuration file storing the first configuration information. The terminal may receive second configuration information input by the user for the second hotspot frequency band, and create a second configuration file storing the second configuration information. By creating the first configuration file and the second configuration file, the bottom layer firmware (such as a network card chip) of the terminal reads the included first configuration information to configure the frequency band port (the second soft interface and the second network card interface) corresponding to the first hot frequency band and reads the included second configuration information to configure the frequency band port (the second soft interface and the second network card interface) corresponding to the second hot frequency band.
In a specific implementation scenario, the terminal may be a computer, a mobile phone, a tablet, or other smart device, for convenience of description, the terminal is taken as a smart phone as an example, a user may open a personal hotspot setting interface on an interface of the smart phone, and specifically set configuration information of a first hotspot frequency band and a second hotspot frequency band, as shown in fig. 7, fig. 7 is a schematic diagram of the personal hotspot setting interface of the smart phone, the personal hotspot setting interface shown in fig. 7 includes at least one hotspot frequency band configuration option, such as a "first hotspot frequency band" configuration option, a "second hotspot frequency band" configuration option, and a "dual-frequency hotspot frequency band" configuration option, if the user needs to set configuration information of each hotspot frequency band, the user may select one hotspot frequency band configuration option to set configuration information of a corresponding hotspot frequency band in a manner of finger touch, if the user can select the configuration option of the "first hot band" in fig. 7 in a manner of finger touch, and configure the configuration information of the first hot band at the interface of the first hot band of the terminal, as shown in fig. 8, fig. 8 is a schematic diagram of the interface of the hot band, the user can set the configuration information of the first hot band on the interface shown in fig. 8, for example, set the name of the first hot band to "hot 1", set the security of the first hot band to "WPA 2 PSK" encryption manner, set the maximum connection number to "20", and so on. After the setting is completed, the user may click and store on the interface shown in fig. 8, and the terminal-smart phone may store the first configuration information corresponding to the first hot spot frequency band and create a first configuration file storing the first configuration information. As described above, the terminal may receive the second configuration information input by the user for the second hotspot frequency band, and create a second configuration file storing the second configuration information, which is not described herein again.
When the user needs to change the configuration information of a certain hot frequency band in the using process, the corresponding hot frequency band can be selected in the interface shown in fig. 7 for changing, and after the user changes, clicks and saves, the terminal can call a writeWiFiConfiguration () function to update the information changed by the user into the configuration file of the corresponding hot frequency band, for example, into the first configuration file of the first hot frequency band.
In a feasible implementation manner, the terminal may provide a function of "multi-frequency hot spot one-key configuration", and the user may click a "multi-frequency hot spot one-key configuration" option in an interface shown in fig. 7, and simultaneously configure the first hot spot frequency band and the second hot spot frequency band.
Step 203: and reading hotspot configuration information in each hotspot configuration file, wherein the hotspot configuration information comprises soft interface information and network card interface information.
Specifically, the terminal may read hotspot configuration information in each hotspot configuration file, where the hotspot configuration information includes soft interface information and network card interface information, and if first configuration information in the first configuration file and second configuration information in the second configuration file are read, the first configuration information includes first soft interface information and first network card interface information, and the second configuration information includes second soft interface information and second network card interface information.
The number of the frequency band ports of each hot spot frequency band of the terminal is usually two, and one hot spot frequency band corresponds to one soft interface (softap interface) and one network card interface (PHY interface). Wherein:
the soft interface (softap interface) is a software interface, and the interface is convenient for an application layer of the terminal to call the hotspot service to perform corresponding operations, such as calling a Netd daemon hotspot service management network equipment interface, flow control and other operations, dnsmasq hotspot service: the system is used for configuring the dns, forward, dhcp and other functions, and the iptables hotspot service: the method is used for realizing routing table management, NAT and other functions.
The network card interface is a hardware interface, which is a hardware interface on a network card chip, and generally corresponds to an antenna of the terminal, and is used for controlling the antenna of the terminal to work in a certain frequency band (such as a 2.4GHZ frequency band), a certain channel, and the like to receive and transmit signals. It can be understood that the first hot spot frequency band corresponds to a first soft interface and a first network card interface, and the second hot spot frequency band corresponds to a second soft interface and a second network card interface.
In practical application, a soft interface of a hot spot frequency band is usually created and configured correspondingly according to soft interface information in configuration information, the network card interface can be understood as a physical interface, and interaction of data and instructions with a specific network card interface circuit and a peripheral antenna through an interface register can be realized by creating and configuring the network card interface information in the hot spot configuration information, so as to realize receiving and transmitting of antenna signals.
In a specific implementation scenario, a terminal creates a first configuration file and a second configuration file for a first hot spot frequency band and a second hot spot frequency band, and then generally stores the first configuration file and the second configuration file in a register area of a bottom layer (a hardware layer) of the terminal, and when the terminal performs a step of configuring a frequency band port of each hot spot frequency band based on hot spot configuration information respectively corresponding to the plurality of hot spot frequency bands, the terminal may read first configuration information in the first configuration file and second configuration information in the second configuration file, so that first soft interface information and first network card interface information in the first configuration information, and second soft interface information and second network card interface information in the second configuration information may be obtained. In a specific implementation manner, data is read from a configuration file through a readWiFiConfiguration () function, and the data is analyzed by using a StoreData interface, where the StoreData interface is used to implement serialization and deserialization of the data to write or read hotspot configuration information into or from the configuration file, so that the analyzed hotspot configuration information can be obtained.
Step 204: and creating a soft interface corresponding to each hot spot frequency band, configuring interface parameters of the soft interface according to the soft interface information, and distributing a network card interface corresponding to the soft interface according to the network card interface information, wherein the network card interface is used for controlling an antenna of the terminal to receive and send signals.
Specifically, the terminal may respectively create a soft interface corresponding to each hot spot frequency band, configure interface parameters of the corresponding soft interface according to each soft interface information, and then allocate a network card interface corresponding to the soft interface according to the network card interface information.
The following is to explain in detail that the plurality of hot spot frequency bands include a first hot spot frequency band and a second hot spot frequency band:
specifically, the terminal may create a first soft interface corresponding to the first hot spot frequency band, configure interface parameters of the first soft interface according to the first soft interface information, and allocate a first network card interface corresponding to the first soft interface according to the first network card interface information, where the first network card interface is used to control an antenna of the terminal to receive and transmit signals.
The number of the frequency band ports of the hot spot frequency band of the terminal is usually two, the frequency band port corresponding to the first hot spot frequency band is a first soft interface and a first network card interface, and the frequency band port corresponding to the second hot spot frequency band is a second soft interface and a second network card interface.
The first soft interface (e.g., softap0 interface) and the second soft interface (e.g., softap1 interface) are software interfaces, and the application layer of the terminal via the first soft interface (e.g., softap0 interface) and the second soft interface (e.g., softap1 interface) may invoke a hotspot service to perform corresponding operations, such as invoking a Netd hotspot service of the first soft interface (e.g., softap0 interface) to manage operations such as network device interface, flow control, and the like of the first hotspot frequency band, invoking a dnsmasq hotspot service of the first soft interface (e.g., softap0 interface): the dns, forward, and dhcp functions used for configuring the first hotspot frequency band, and the iptables hotspot service calling the first soft interface (such as the softap0 interface): the method is used for realizing the routing table management of the first hot spot frequency band, realizing the functions of NAT and the like, and the like.
The first network card interface (e.g., PHYA interface) and the second network card interface (e.g., PHYB interface) are hardware interfaces, two hardware interfaces on a network card chip are used as transceivers of physical layer antenna signals, generally, the network card interface corresponds to an antenna of a terminal, and for example, the first network card interface (e.g., PHYA interface) is used for controlling the antenna of the terminal to work in a certain frequency band (e.g., 2.4GHZ frequency band), a certain channel, and the like to receive and transmit signals. It can be understood that the first hot spot frequency band corresponds to a first soft interface and a first network card interface, and the second hot spot frequency band corresponds to a second soft interface and a second network card interface.
In practical application, the first soft interface and the second soft interface of the hot spot frequency band are usually created and configured correspondingly according to the soft interface information in the configuration information, and the network card interface can be understood as a physical interface, and the network card interface is configured correspondingly according to the network card interface information in the configuration information. The interaction of data and instructions can be realized between the interface register and the specific network card interface circuit and the peripheral antenna, so that the receiving and sending of antenna signals can be realized.
The first soft interface information generally includes interface parameter information for configuring the first soft interface, such as a hotspot name, a wireless key, an encryption type, and the like. The second soft interface information generally includes interface parameter information for configuring the second soft interface, such as a hotspot name, a wireless key, an encryption type, and the like.
The first network card interface information generally includes interface parameter information configuring the first network card interface, such as an operating frequency band, a wireless protocol, a connection speed, an operating mode (duplex, half-duplex, etc.), and the like. The second network card interface information generally includes interface parameter information for configuring the second network card interface, such as an operating frequency band, a wireless protocol type, a connection speed, an operating mode (duplex, half-duplex, etc.), an interface address, operating channel configuration information, and the like.
Specifically, the terminal may call a createpapiface (sofap0) function to create a first soft interface corresponding to the first hot frequency band, and configure interface parameters of the first soft interface according to the first soft interface information, such as a hot name, a wireless key, an encryption type, and other interface parameters of the first hot frequency band. In a possible implementation manner, after the terminal creates the first soft interface, the terminal may use mconnector. execute ("softap1", "set", wlan interface, wificconfig. ssid, getSecurityType (wificconfig), wificconfig. preredkey) to instruct the hotspot name, encryption manner, and password of the first soft interface to perform interface parameter configuration. And the terminal determines a matched first network card interface in at least one network card interface in the network card chip according to the first network card interface information (such as the working frequency band (2.4GHZ or 5GHZ), the wireless protocol type and the like). The matching may be understood as being capable of operating with parameters in the first network card interface information, for example, operating in an operating frequency band in the first network card interface information. And the first network card interface is distributed to the first soft interface. And meanwhile, performing parameter configuration on the first network card interface based on the first network card interface information, for example, setting the working frequency band of the first network card interface to be a certain working frequency band (2.4GHZ or 5GHZ), setting the wireless protocol type of the first network card interface to be a wireless protocol type corresponding to the working frequency band (for example, a protocol type capable of supporting 5GHZ), determining the working mode of the first network card interface to be a duplex mode, setting the interface address of the first network card interface to be the interface address in the first network card interface information, and the like. Usually, the first network card interface and the specific network card interface circuit may perform data and instruction interaction with a peripheral antenna through an interface register, so as to control the antenna of the terminal to transmit and receive signals.
Similarly, the terminal may create a second soft interface corresponding to the second hot spot frequency band, configure interface parameters of the second soft interface according to the second soft interface information, allocate a second network card interface corresponding to the second soft interface according to the second network card interface information, and the second network card interface is used for controlling the antenna of the terminal to receive and transmit signals.
In a specific implementation scenario, the terminal may call a createpainterface (sofap1) function to create a second soft interface corresponding to the second hot frequency band, and configure interface parameters of the second soft interface according to the second soft interface information, such as interface parameters of the second hot frequency band, such as a hot name, a wireless key, and an encryption type. In a possible implementation manner, after the terminal creates the second soft interface, the terminal may use mconnector. execute ("softap1", "set", wlan interface, wificconfig. ssid, getSecurityType (wificconfig), wificconfig. preredkey) to instruct the hotspot name, encryption manner, and password of the second soft interface to perform interface parameter configuration. And the terminal determines a matched second network card interface in at least one network card interface in the network card chip according to the second network card interface information (such as the working frequency band (2.4GHZ or 5GHZ), the wireless protocol type and the like). The matching may be understood as being capable of operating with parameters in the second network card interface information, for example, operating in the operating frequency band in the second network card interface information. And distributing the second network card interface to a second soft interface. And meanwhile, performing parameter configuration on the second network card interface based on the second network card interface information, for example, setting the working frequency band of the second network card interface to be a certain working frequency band (2.4GHZ or 5GHZ), setting the wireless protocol type of the second network card interface to be the wireless protocol type corresponding to the working frequency band (for example, the protocol type capable of supporting 5GHZ), determining the working mode of the second network card interface to be a duplex mode, setting the interface address of the second network card interface to be the interface address in the second network card interface information, and the like. Usually, the second network card interface and the specific network card interface circuit may perform data and instruction interaction with a peripheral antenna through an interface register, so as to control the antenna of the terminal to transmit and receive signals.
Step 205: and determining each loading item corresponding to the frequency band port of each hot spot frequency band, and loading each loading item.
The loading item may be understood as a configuration operation file, a drive file, a related hotspot process, a drive or firmware, and the like corresponding to a frequency band port that needs to be loaded when a certain hotspot frequency band port is opened.
Specifically, the terminal may preset a loading item that may be set and determined to be loaded by a frequency band port of each hot frequency band in the process of opening the hot frequency band of the WiFi hot spot, where the setting may be usually set in advance by an operating system of the terminal, or may be set by a user through a hot frequency band loading management interface corresponding to the corresponding WiFi hot spot. After receiving each hot spot frequency band loading instruction of the terminal, determining a loading item corresponding to the hot spot frequency band preloading instruction in a configuration file storing loading item information of a corresponding hot spot frequency band, and loading the determined loading item. It can be understood that all the loading items of the hot spot frequency band to be loaded when the WiFi hot spot is opened are fixed, the loading items are drivers, processes or firmware that need to be loaded when an application or function is opened, and the drivers, processes or firmware are collectively referred to as loading items. Based on the above, the terminal determines each loading item corresponding to the frequency band port of each hot spot frequency band, and loads each loading item.
In a feasible implementation manner, in the process that the terminal opens the dual-frequency hotspot by executing the multi-frequency WiFi hotspot opening method, the terminal may determine a first loading item corresponding to the first frequency band port and a second loading item corresponding to the second frequency band port, and load the first loading item and the second loading item respectively.
The first loading item may be understood as a configuration operation file, a drive file, a related hotspot process, a drive or a firmware and the like corresponding to a frequency band port to be loaded when the first frequency band port is opened, in practical application, in a configuration process of the first frequency band port before the first frequency band port is opened, the first loading item of the first frequency band port is determined accordingly, and the terminal may open the first frequency band port only by sequentially loading the first loading items according to a preset opening flow distribution.
The second loading item may be understood as a configuration operation file, a drive file, a related hotspot process, a drive or a firmware and the like corresponding to a frequency band port to be loaded when the second frequency band port is opened, in practical application, in a configuration process of the second frequency band port before the second frequency band port is opened, the second loading item of the second frequency band port is determined accordingly, and the terminal may open the first frequency band port only by sequentially loading the second loading items according to a preset opening flow distribution.
Optionally, for all loading items that need to be loaded when the frequency band port of the hot spot frequency band is opened, a part of the loading items may be loaded in advance, and a part of the loading items are loaded at the frequency band port of the hot spot frequency band, that is, the completion of the opening of the frequency band port is identified when the loading of the part of the loading items is completed, and at this time, the WiFi hot spot of the corresponding hot spot frequency band is successfully opened.
Optionally, the determining and loading of the first loading item, the second loading item, the nth loading item and the determining and loading of the terminal according to the actual situation so as to open the frequency band port of each hot frequency band may be performed synchronously or asynchronously,
in a possible implementation manner, the terminal may asynchronously open the first frequency band port and the second frequency band port, that is, asynchronously perform the steps of "determining a first loading item corresponding to the first frequency band port and loading the first loading item" and "determining a second loading item corresponding to the second frequency band port and loading the second loading item".
In a possible implementation manner, the user can customize the opening time of the frequency band port for opening each hot spot frequency band, if the opening time of the first frequency band port of the first hot spot frequency band and the opening time of the second frequency band port of the second hot spot frequency band are customized, it can be understood that, when the user can set the opening time of the frequency band port of each hot spot frequency band on the corresponding hot spot configuration interface of the terminal, the opening times can be set separately, for example, the opening times of the frequency band ports of the hot spot frequency bands can be set at the same time, the frequency band ports of different hot spot frequency bands may be sequentially opened at different time points, for example, when configuration information is set for the first hot spot frequency band and the second hot spot frequency band, a first open port time corresponding to the first hot spot frequency band may be set as a time point T1, and a second open port time corresponding to the second hot spot frequency band may be set as a time point T2. Then, the terminal may open the first band port according to the first opening time information-time point T1, and open the second band port according to the second opening time information-time point T2, specifically, determine the first loading item corresponding to the first band port according to the time point T1, and load the first loading item to open the first band port. And determining a second loading item corresponding to the second frequency band port according to a time point T2, and loading the second loading item to open the second frequency band port.
Step 206: and acquiring the residual electric quantity of the terminal, and acquiring the equipment connection number corresponding to each hotspot frequency band when the residual electric quantity is smaller than an electric quantity threshold value.
The State of charge (SOC) is a ratio of available electric quantity in a battery, which is a power supply module of the terminal, to a nominal capacity, and is an important monitoring data of the terminal for implementing battery management, and the terminal can generally control a battery operating State according to an SOC value. The remaining capacity of the battery is also reflected by the state of charge of the battery, and the representation of the remaining capacity can be in the form of a percentage of the capacity, can be in the form of a remaining capacity, and the like.
The threshold refers to a threshold value of a certain field, state or system, and is also called a critical value. In this embodiment, the power threshold refers to a threshold or a critical value of the remaining power of the terminal, and it can be understood that, when the remaining power is less than the power threshold, the power of the terminal may not be enough to support the first frequency band hotspot and the second frequency band hotspot to be opened for a long time.
Specifically, the terminal may acquire the current remaining power by creating a process for monitoring the remaining power.
In a specific implementation scenario, taking an operating system of a terminal as an Android (Android) system as an example, a message that the terminal electric quantity changes in the Android system is realized by receiving an Intent broadcast, the terminal may create a process for receiving the remaining electric quantity to realize obtaining of the remaining electric quantity, and specifically, a getIntExtra ("level") function may be used to obtain the remaining electric quantity of the terminal.
In a specific implementation scenario, the acquiring of the current remaining power by the terminal may be sending a corresponding acquisition instruction for the state information of the power supply module, and analyzing and processing the acquired remaining power of the terminal based on the acquired state information of the power supply module. If an acquiring instruction of 'adb shell dumpsys battery' is sent, various state information (such as charging state, real-time temperature, real-time voltage, real-time current, residual electric quantity and the like) of a power supply module can be returned through the acquiring instruction, and then the residual electric quantity of the terminal can be acquired by searching a parameter corresponding to 'level (percentage)', wherein the residual electric quantity is in the form of electric quantity percentage.
Specifically, when the remaining power acquired by the terminal is less than the power threshold, the terminal may acquire the device connection number corresponding to each hotspot frequency band, such as the first device connection number of the first hotspot frequency band and the second device connection number of the second hotspot frequency band. The specific terminal may respectively obtain device connection information corresponding to each hot frequency band by calling a getnumconnectildedvices function, for example, obtain a first device connection number of a first hot frequency band and a second device connection number of a second hot frequency band, and then may respectively determine the device connection numbers in the device connection information, for example, the first device connection number and the second device connection number, based on a return value of the getnumconnectildedvices function.
Step 207: and determining the minimum equipment connection number in the equipment connection numbers, and performing current limiting processing on the target hotspot frequency band indicated by the minimum equipment connection number.
The current limiting process may be to terminate transmission of the network traffic or reduce an uplink and downlink speed of network transmission on the target hotspot frequency band, so as to achieve a current limiting purpose, so as to ensure that network communication of the hotspot frequency band indicated by the larger device connection number is in a normal state or to ensure a duration of the hotspot frequency band indicated by the larger device connection number.
Specifically, after acquiring the device connection number corresponding to each hotspot frequency band, the terminal compares the device connection numbers corresponding to the hotspot frequency bands to determine the minimum device connection number, and then performs current limiting processing on the target hotspot frequency band indicated by the smaller device connection number. If the connection number of the first device of the first hot spot frequency band is-10 and the connection number of the second device of the second hot spot frequency band is-130, comparing the connection number of the first device with the connection number of the second device, determining the connection number of the minimum device to be-10, and then executing current limiting processing on the target hot spot frequency band indicated by the connection number of the smaller device to be-10, namely the first hot spot frequency band.
In a specific implementation scenario, taking a target hotspot frequency band as a first hotspot frequency band as an example, a terminal acquires and monitors data traffic of all electronic devices connected to the first hotspot frequency band, determines whether each electronic device generates a data stream in the first hotspot frequency band or whether the data stream is within a certain predetermined time (e.g., within 3 minutes), and disconnects a hotspot connection with the electronic device when the data stream is not generated.
In a specific implementation scenario, taking a target hotspot frequency band as a first hotspot frequency band as an example, a terminal acquires and monitors data traffic of all electronic devices connected to the first hotspot frequency band, acquires total data traffic of each electronic device in the first hotspot frequency band or data traffic generated within a certain predetermined time (for example, within 3 minutes), and when the data traffic exceeds a set traffic threshold, reduces uplink and downlink transmission speeds of hotspot connection of the electronic device to perform current limiting processing on the electronic device, that is, reduces the uplink and downlink transmission speeds of the electronic device.
In a specific implementation scenario, taking a target hot spot frequency band as a first hot spot frequency band as an example, a terminal acquires and monitors data traffic of all electronic devices connected to the first hot spot frequency band, and when the data traffic of all electronic devices is 0, the terminal closes the hot spot frequency band.
In a specific implementation scenario, the terminal may further perform current limiting processing on a non-target hotspot frequency band, taking a target hotspot frequency band as a first hotspot frequency band, where the non-target hotspot frequency band is a hotspot frequency band indicated by a larger device connection number of the first device connection number and the second device connection number as an example, the terminal acquires data traffic of all electronic devices connected to the second hotspot frequency band, acquires total data traffic of each electronic device in the second hotspot frequency band or data traffic generated within a certain predetermined time (e.g., within 3 minutes), and performs current limiting processing on the electronic device exceeding a traffic threshold when the data traffic exceeds the set traffic threshold, that is, reduces uplink and downlink transmission speeds of the electronic device.
In the embodiment of the application, the terminal opens the frequency band port of each hot frequency band based on the configuration information respectively corresponding to the hot frequency bands, and can open the hot points respectively corresponding to the hot frequency bands supported by the terminal, so that all the hot frequency bands supported by the electronic equipment are covered, the problem that the electronic equipment cannot be connected with a hot network due to mismatching with the hot frequency bands of the electronic equipment in the whole process of terminal hot network sharing is avoided, and the utilization rate of terminal hot resources is improved; meanwhile, when the residual electric quantity of the terminal is low, the current limiting processing is carried out on the target hotspot frequency band with small equipment connection number in the plurality of hotspot frequency bands, so that the maximum utilization of hotspot resources can be guaranteed while the power consumption of the terminal is reduced.
Please refer to fig. 9, which is a schematic view of a multi-frequency WiFi hotspot opening system according to an embodiment of the present disclosure. As shown in fig. 9, the multi-frequency WiFi hotspot opening system may include a terminal 100 and an electronic device cluster. The electronic device cluster may include a plurality of electronic devices, as shown in fig. 1, specifically including an electronic device 1, an electronic device 2, an electronic device …, and an electronic device n, where n is an integer greater than 0; for convenience of understanding, the embodiment of the present invention is described by taking the electronic apparatus 100 and the electronic apparatus 1 in fig. 1 as an example.
The terminal device 100 may be a multi-frequency WiFi hotspot access device with a wireless network access service, and may facilitate a user to access a wireless local area network through a multi-frequency WiFi hotspot signal channel provided by the terminal device 100 without a fixed network, thereby realizing access to the internet, where the commonly used hotspot device includes a portable broadband wireless device (MIFI), a Mobile phone, a vehicle-mounted WiFi hotspot device, a personal computer with a hotspot sharing function, and the like.
Each electronic device in the electronic device cluster may be an electronic device having a positioning function and a bluetooth broadcast function, and the electronic devices include but are not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices or other processing devices connected to a wireless modem, and the like. Electronic devices in different networks may be called different names, such as: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), electronic device in a 5G network or future evolution network, and the like.
The terminal 100 receives a hotspot opening instruction input by a user, and responds to the hotspot opening instruction. Generally, the hot spot frequency band information supported by the terminal 100 may be stored in a local storage space, the terminal 100 may obtain the supported hot spot frequency band information in the local storage space, and based on the hot spot frequency band information, each supported hot spot frequency band may be obtained, for example, the hot spot frequency bands supported by the terminal 100 may be hot spot frequency bands of 5GHZ and 2.4 GHZ.
For convenience of description, hot spot frequency bands of 5GHZ and 2.4GHZ supported by the terminal 100 are taken as an example, that is, a hot spot frequency band of 5GHZ for the first hot spot frequency band and a hot spot frequency band of 2.4GHZ for the second hot spot frequency band are explained in detail.
The terminal 100 receives first configuration information input by a user for the first hot spot frequency band-5 GHZ hot spot frequency band, creates a first configuration file for storing the first configuration information, receives second configuration information input for the second hot spot frequency band-2.4 GHZ hot spot frequency band, and creates a second configuration file for storing the second configuration information.
The terminal 100 may provide a function of "dual-frequency hotspot one-key configuration", and the user may click the option of "dual-frequency hotspot one-key configuration" in the interface shown in fig. 7, and simultaneously configure the first hotspot frequency band and the second hotspot frequency band, where it is understood that multiple configuration items of the first hotspot frequency band and the second hotspot frequency band configured by the "dual-frequency hotspot one-key configuration" are the same, for example, the hotspot names are the same, the hotspot passwords are the same, the encryption modes are the same, the maximum connection numbers are the same, and thus, the user may conveniently and quickly configure the first hotspot frequency band and the second hotspot frequency band.
The terminal 100 reads the first configuration information in the first configuration file and the second configuration information in the second configuration file, which may specifically be reading data from the configuration file through a readwificconfiguration () function, and analyzing the data using a StoreData interface, where the StoreData interface is used to implement serialization and deserialization of the data to write or read the configuration information into or from the configuration file, that is, the configuration information after analysis may be obtained.
The terminal 100 configures a frequency band port of the 5GHZ hot spot frequency band based on the first hot spot configuration information corresponding to the first hot spot frequency band-5 GHZ hot spot frequency band, configures a frequency band port of the 2.4GHZ hot spot frequency band based on the first hot spot configuration information corresponding to the first hot spot frequency band-2.4 GHZ hot spot frequency band, and then opens the frequency band port of the 5GHZ hot spot frequency band and the frequency band port of the 2.4GHZ hot spot frequency band.
Wherein, the step 101-.
After the terminal 100 opens the frequency band port of the 5GHZ hot spot frequency band and the frequency band port of the 2.4GHZ hot spot frequency band, the 5GHZ hot spot and the 2.4GHZ hot spot of the terminal 100 are successfully opened, and a hot spot signal of the 5GHZ hot spot frequency band and the 2.4GHZ hot spot frequency band is emitted to the outside.
The electronic device 1 starts the communication scanning function to scan all communication access points under the current communication network. Taking the current communication network as a wifi network for example, wherein the electronic device 1 may scan a current communication access point through a scan method in a wifi manager, when at least one communication access point is scanned, a scan result of the at least one scanned communication access point is returned through a callback function of the wifi manager, the scan result is packaged into a list, and each item in the list is a device identifier (id, MAC address, IP address, digital certificate, serial number, etc.) of each scanned communication access point in the at least one scanned communication access point. When no communication access point is scanned, the result returned by the callback function is Null. The electronic device 1 may display, in a current display interface, the device identifiers corresponding to all or part of the scanned communication access points to the user in a list form, for example, the device identifiers may be 5GHZ hotspot names and/or 2.4GHZ hotspot names of the terminal 100, at this time, the user of the electronic device 1 may select the 5GHZ hotspot names and/or 2.4GHZ hotspot names of the terminal 100, input a corresponding hotspot password, and the electronic device 1 sends a communication connection request carrying the hotspot password to the terminal 100. After receiving the communication connection request, the terminal 100 performs authentication verification on the hotspot password carried by the communication connection request, and after the authentication verification is passed, the communication connection (hotspot connection) between the electronic device 1 and the terminal 100 can be established. At this time, the electronic device 1 can successfully connect the 5GHZ hotspot name or the 2.4GHZ hotspot of the terminal 100. When the electronic device 1 supports the dual-band WiFi function, the 5GHZ hotspot and the 2.4GHZ hotspot of the terminal 100 may be connected at the same time, so as to perform network access through the hotspot network of the terminal 100.
In the embodiment of the application, the terminal opens the frequency band port of each hot frequency band based on the configuration information corresponding to each hot frequency band, and can open the hot points corresponding to each hot frequency band supported by the terminal, so that all the hot frequency bands supported by the electronic equipment are covered, the problem that the electronic equipment cannot be connected with a hot network due to the fact that the electronic equipment is not matched with the hot frequency bands of the electronic equipment in the whole process of terminal hot network sharing is avoided, and the utilization rate of terminal hot resources is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 10, which shows a schematic structural diagram of a multi-frequency WiFi hotspot opening device according to an exemplary embodiment of the present application. The multi-frequency WiFi hotspot opening device may be implemented as all or part of the device by software, hardware, or a combination of both. The device 1 includes a hot spot frequency band obtaining module 11, a configuration file creating module 12, and a frequency band port opening module 13.
A hotspot frequency band acquiring module 11, configured to receive a hotspot starting instruction, and acquire a plurality of hotspot frequency bands supported by the terminal;
a configuration file creating module 12, configured to create a hotspot configuration file corresponding to each of the plurality of hotspot frequency bands, where the hotspot configuration file includes hotspot configuration information;
a frequency band port opening module 13, configured to configure a frequency band port of each hot frequency band based on the hot configuration information respectively corresponding to the plurality of hot frequency bands, and open the frequency band port of each hot frequency band.
Optionally, the configuration file creating module 12 is specifically configured to:
and receiving hotspot configuration information input aiming at each hotspot frequency band, and respectively creating hotspot configuration files for storing the hotspot configuration information.
Optionally, as shown in fig. 12, the apparatus 1 further includes:
the configuration information reading module 14 is configured to read hotspot configuration information in each hotspot configuration file, where the hotspot configuration information includes soft interface information and network card interface information.
Optionally, as shown in fig. 11, the frequency band port opening module 13 includes:
a soft interface opening unit 131, configured to create a soft interface corresponding to each hot spot frequency band, and configure interface parameters of the soft interface according to the soft interface information;
and a network card interface allocation unit 132, configured to allocate a network card interface corresponding to the soft interface according to the network card interface information, where the network card interface is used to control the antenna of the terminal to send and receive signals.
Optionally, as shown in fig. 11, the frequency band port opening module 13 includes:
a loading item loading unit 133, configured to determine each loading item corresponding to each frequency band port of each hot spot frequency band, and load each loading item.
Optionally, the hotspot configuration information further includes start time information, and the frequency band port start module 13 is specifically configured to:
and opening the frequency band port of each hot spot frequency band based on the opening time information.
Optionally, as shown in fig. 12, the apparatus 1 includes:
a remaining power acquiring module 15, configured to acquire a remaining power of the terminal;
the hot frequency band current limiting module 16 is configured to obtain the device connection number corresponding to each hot frequency band when the remaining power is less than the power threshold;
the hotspot frequency band current limiting module 16 is further configured to determine a minimum device connection number among the device connection numbers, and perform current limiting processing on a target hotspot frequency band indicated by the minimum device connection number.
Optionally, the plurality of hot spot frequency bands include a first hot spot frequency band and a second hot spot frequency band.
It should be noted that, when the multi-frequency WiFi hotspot opening apparatus provided in the foregoing embodiment executes the multi-frequency WiFi hotspot opening method, only the division of the functional modules is used for illustration, in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above. In addition, the multi-frequency WiFi hotspot opening device provided by the above embodiment and the multi-frequency WiFi hotspot opening method embodiment belong to the same concept, and details of the implementation process are found in the method embodiment, and are not described herein.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, the terminal opens the frequency band port of each hot frequency band based on the configuration information respectively corresponding to the hot frequency bands, and can open the hot points respectively corresponding to the hot frequency bands supported by the terminal, so that all the hot frequency bands supported by the electronic equipment are covered, the problem that the electronic equipment cannot be connected with a hot network due to mismatching with the hot frequency bands of the electronic equipment in the whole process of terminal hot network sharing is avoided, and the utilization rate of terminal hot resources is improved; meanwhile, when the residual electric quantity of the terminal is low, the current limiting processing is carried out on the target hotspot frequency band with small equipment connection number in the plurality of hotspot frequency bands, so that the maximum utilization of hotspot resources can be guaranteed while the power consumption of the terminal is reduced.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the multi-frequency WiFi hotspot opening method according to the embodiments shown in fig. 1 to 9, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 9, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored in the computer program product, and the at least one instruction is loaded by the processor and executes the multi-frequency WiFi hotspot opening method according to the embodiments shown in fig. 1 to 9, where a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 9, and details are not repeated here.
Please refer to fig. 13, which provides a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 13, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts throughout the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-only Memory (Read-only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 13, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, a user interface module, and a multi-frequency WiFi hotspot opening application.
In the electronic device 1000 shown in fig. 13, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the processor 1001 may be configured to invoke the multi-frequency WiFi hotspot launching application stored in the memory 1005, and specifically perform the following operations:
receiving a hotspot opening instruction, and acquiring a plurality of hotspot frequency bands supported by the terminal;
creating hotspot configuration files respectively corresponding to the plurality of hotspot frequency bands, wherein the hotspot configuration files comprise hotspot configuration information;
and configuring a frequency band port of each hot spot frequency band based on the hot spot configuration information respectively corresponding to the plurality of hot spot frequency bands, and opening the frequency band port of each hot spot frequency band.
In an embodiment, when the processor 1001 executes the creating of the hotspot configuration files respectively corresponding to the plurality of hotspot frequency bands, where the hotspot configuration files include hotspot configuration information, the following operations are specifically executed:
and receiving hotspot configuration information input aiming at each hotspot frequency band, and respectively creating hotspot configuration files for storing the hotspot configuration information.
In an embodiment, before the processor 1001 performs the configuration of the band port of each hot spot band based on the hot spot configuration information respectively corresponding to the plurality of hot spot bands, the following operations are further performed:
and reading hotspot configuration information in each hotspot configuration file, wherein the hotspot configuration information comprises soft interface information and network card interface information.
In an embodiment, when the processor 1001 configures the frequency band port of each hot frequency band based on the hot configuration information respectively corresponding to the plurality of hot frequency bands, the following steps are specifically performed:
and creating a soft interface corresponding to each hot spot frequency band, configuring interface parameters of the soft interface according to the soft interface information, and distributing a network card interface corresponding to the soft interface according to the network card interface information, wherein the network card interface is used for controlling an antenna of the terminal to receive and send signals.
In an embodiment, when the processor 1001 executes the opening of the band port, the following steps are specifically executed:
and determining each loading item corresponding to the frequency band port of each hot spot frequency band, and loading each loading item.
In an embodiment, the processor 1001, when executing the hot spot configuration information and further including opening time information, specifically executes the following steps when opening the frequency band port of each hot spot frequency band:
and opening the frequency band port of each hot spot frequency band based on the opening time information.
In one embodiment, when executing the multi-frequency WiFi hotspot opening method, the processor 1001 further performs the following steps:
acquiring the residual electric quantity of the terminal;
when the residual electric quantity is smaller than an electric quantity threshold value, acquiring the equipment connection number corresponding to each hotspot frequency band;
and determining the minimum equipment connection number in the equipment connection numbers, and performing current limiting processing on the target hotspot frequency band indicated by the minimum equipment connection number.
In an embodiment, when the processor 1001 executes the multi-frequency WiFi hotspot turning on method, the plurality of hotspot frequency bands include a first hotspot frequency band and a second hotspot frequency band.
In this embodiment, the terminal opens the frequency band port of each hotspot frequency band based on the configuration information corresponding to each of the hotspot frequency bands, and can open hotspots corresponding to each of the hotspot frequency bands supported by the terminal, so as to cover all hotspot frequency bands supported by the electronic device, thereby avoiding the problem that the electronic device cannot be connected to a hotspot network due to mismatch with the hotspot frequency band of the electronic device in the whole process of terminal hotspot network sharing, and improving the utilization rate of terminal hotspot resources; meanwhile, when the residual electric quantity of the terminal is low, the current limiting processing is carried out on the target hotspot frequency band with small equipment connection number in the plurality of hotspot frequency bands, so that the maximum utilization of hotspot resources can be guaranteed while the power consumption of the terminal is reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (11)

1. A multi-frequency WiFi hotspot opening method is applied to a terminal, and is characterized by comprising the following steps:
receiving a hotspot opening instruction, and acquiring a plurality of hotspot frequency bands supported by the terminal;
creating hotspot configuration files respectively corresponding to the plurality of hotspot frequency bands, wherein the hotspot configuration files comprise hotspot configuration information;
and configuring a frequency band port of each hot spot frequency band based on the hot spot configuration information respectively corresponding to the plurality of hot spot frequency bands, and opening the frequency band port of each hot spot frequency band.
2. The method of claim 1, wherein the creating of the hotspot configuration file corresponding to each of the plurality of hotspot frequency bands, the hotspot configuration file containing hotspot configuration information, comprises:
and receiving hotspot configuration information input aiming at each hotspot frequency band, and respectively creating hotspot configuration files for storing the hotspot configuration information.
3. The method of claim 1, wherein before configuring the band port of each hotspot band based on the hotspot configuration information corresponding to each of the plurality of hotspot bands, the method further comprises:
and reading hotspot configuration information in each hotspot configuration file, wherein the hotspot configuration information comprises soft interface information and network card interface information.
4. The method of claim 3, wherein the configuring the band port of each hotspot band based on the hotspot configuration information respectively corresponding to the plurality of hotspot bands comprises:
and creating a soft interface corresponding to each hot spot frequency band, configuring interface parameters of the soft interface according to the soft interface information, and distributing a network card interface corresponding to the soft interface according to the network card interface information, wherein the network card interface is used for controlling an antenna of the terminal to receive and send signals.
5. The method of claim 1, wherein the hotspot configuration information further includes opening time information, and the opening of the band port of each hotspot band includes:
and opening the frequency band port of each hot spot frequency band based on the opening time information.
6. The method according to claims 1 to 5, wherein the opening of the band port of each hotspot band comprises:
and determining each loading item corresponding to the frequency band port of each hot spot frequency band, and loading each loading item.
7. The method of claim 1, further comprising:
acquiring the residual electric quantity of the terminal;
when the residual electric quantity is smaller than an electric quantity threshold value, acquiring the equipment connection number corresponding to each hotspot frequency band;
and determining the minimum equipment connection number in the equipment connection numbers, and performing current limiting processing on the target hotspot frequency band indicated by the minimum equipment connection number.
8. The method of claim 1, wherein the plurality of hot spot bands comprises a first hot spot band and a second hot spot band.
9. A multi-frequency WiFi hotspot opening device, the device comprising:
the hotspot frequency band acquisition module is used for receiving a hotspot opening instruction and acquiring a plurality of hotspot frequency bands supported by the terminal;
a configuration file creating module, configured to create a hotspot configuration file corresponding to each of the plurality of hotspot frequency bands, where the hotspot configuration file includes hotspot configuration information;
and the frequency band port opening module is used for configuring the frequency band port of each hot frequency band based on the hot configuration information respectively corresponding to the plurality of hot frequency bands and opening the frequency band port of each hot frequency band.
10. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 8.
11. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 8.
CN202010095422.7A 2020-02-17 2020-02-17 Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment Active CN111356209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010095422.7A CN111356209B (en) 2020-02-17 2020-02-17 Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010095422.7A CN111356209B (en) 2020-02-17 2020-02-17 Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111356209A true CN111356209A (en) 2020-06-30
CN111356209B CN111356209B (en) 2022-04-26

Family

ID=71196980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010095422.7A Active CN111356209B (en) 2020-02-17 2020-02-17 Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111356209B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970750A (en) * 2020-08-18 2020-11-20 维沃移动通信有限公司 Multi-frequency WiFi identification method and device
CN113423116A (en) * 2021-08-25 2021-09-21 广州朗国电子科技股份有限公司 Configuration method of 5G hot spot default mode based on Android system
EP4064611A3 (en) * 2021-03-24 2022-10-05 Canon Kabushiki Kaisha Communication apparatus, communication method, program, and storage medium
WO2023124264A1 (en) * 2021-12-31 2023-07-06 中兴通讯股份有限公司 Method for establishing communication connection, terminal and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661288A (en) * 2013-11-18 2015-05-27 网件公司 Systems and methods for improving WLAN range
US20160270130A1 (en) * 2015-03-15 2016-09-15 Htc Corporation Wireless network system and method for establishing the same
CN106454975A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Hotspot network switching method and terminal equipment
CN106603526A (en) * 2016-12-07 2017-04-26 广东欧珀移动通信有限公司 WiFi/hotspot enabling method and device
CN106658623A (en) * 2016-09-14 2017-05-10 广东欧珀移动通信有限公司 Hotspot network switching method and terminal equipment
CN106714279A (en) * 2016-11-14 2017-05-24 广东欧珀移动通信有限公司 Hot spot network switching method and terminal equipment
CN106973424A (en) * 2017-03-28 2017-07-21 维沃移动通信有限公司 The creation method and terminal of a kind of WAP
CN107580359A (en) * 2017-09-29 2018-01-12 努比亚技术有限公司 Hotspot sharing method, mobile terminal and computer-readable recording medium
CN107608629A (en) * 2017-08-30 2018-01-19 努比亚技术有限公司 A kind of data migration method, terminal and computer-readable recording medium
CN108307433A (en) * 2017-09-29 2018-07-20 努比亚技术有限公司 Hotspot sharing method, mobile terminal and computer readable storage medium
CN110913450A (en) * 2019-11-28 2020-03-24 宇龙计算机通信科技(深圳)有限公司 Control method and device for mobile hotspot, mobile terminal and storage medium
CN113228819A (en) * 2018-12-20 2021-08-06 赛普拉斯半导体公司 Operation of access points and autonomous group owners

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661288A (en) * 2013-11-18 2015-05-27 网件公司 Systems and methods for improving WLAN range
US20170041028A1 (en) * 2013-11-18 2017-02-09 Netgear, Inc. Systems and methods for improving wlan range
US20160270130A1 (en) * 2015-03-15 2016-09-15 Htc Corporation Wireless network system and method for establishing the same
CN106162665A (en) * 2015-03-15 2016-11-23 宏达国际电子股份有限公司 Radio Network System and cloth construction method thereof
CN106658623A (en) * 2016-09-14 2017-05-10 广东欧珀移动通信有限公司 Hotspot network switching method and terminal equipment
CN106454975A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Hotspot network switching method and terminal equipment
WO2018049971A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Hotspot network switching method and terminals
CN106714279A (en) * 2016-11-14 2017-05-24 广东欧珀移动通信有限公司 Hot spot network switching method and terminal equipment
CN106603526A (en) * 2016-12-07 2017-04-26 广东欧珀移动通信有限公司 WiFi/hotspot enabling method and device
CN106973424A (en) * 2017-03-28 2017-07-21 维沃移动通信有限公司 The creation method and terminal of a kind of WAP
CN107608629A (en) * 2017-08-30 2018-01-19 努比亚技术有限公司 A kind of data migration method, terminal and computer-readable recording medium
CN107580359A (en) * 2017-09-29 2018-01-12 努比亚技术有限公司 Hotspot sharing method, mobile terminal and computer-readable recording medium
CN108307433A (en) * 2017-09-29 2018-07-20 努比亚技术有限公司 Hotspot sharing method, mobile terminal and computer readable storage medium
CN113228819A (en) * 2018-12-20 2021-08-06 赛普拉斯半导体公司 Operation of access points and autonomous group owners
CN110913450A (en) * 2019-11-28 2020-03-24 宇龙计算机通信科技(深圳)有限公司 Control method and device for mobile hotspot, mobile terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JUN ZHANG: "A Data-Driven Approach to Client-Transparent Access Selection of Dual-Band WiFi", 《IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT 》 *
专注互联网资讯: "双频路由器怎么设置2.4G和5G", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/5BBB5A1BCA03A313EBA179C4.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970750A (en) * 2020-08-18 2020-11-20 维沃移动通信有限公司 Multi-frequency WiFi identification method and device
EP4064611A3 (en) * 2021-03-24 2022-10-05 Canon Kabushiki Kaisha Communication apparatus, communication method, program, and storage medium
CN113423116A (en) * 2021-08-25 2021-09-21 广州朗国电子科技股份有限公司 Configuration method of 5G hot spot default mode based on Android system
WO2023124264A1 (en) * 2021-12-31 2023-07-06 中兴通讯股份有限公司 Method for establishing communication connection, terminal and storage medium

Also Published As

Publication number Publication date
CN111356209B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN111356209B (en) Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment
CN108476060B (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
US20180368058A1 (en) Method for controlling device access, and related device and system
KR101849925B1 (en) Method and apparatus for discovering device in wireless communication network
US11297666B2 (en) Electronic device and method for forming Wi-Fi direct group thereof
CN112312586B (en) WiFi direct connection establishing method, device, equipment and storage medium
JP7200312B2 (en) Method and terminal device for establishing a hotspot connection
CN110622571B (en) Network connection method, device and terminal
CN107147549B (en) Intelligent household equipment networking method and device
US20170164414A1 (en) Electronic device and method of providing information about the access point (ap)
CN111867148A (en) Method and equipment for establishing equipment connection and data transmission
CN110870353B (en) WiFi connection method and terminal
CN113055864A (en) Bluetooth connection method, device, storage medium and electronic equipment
CN111866824A (en) Method and equipment for establishing communication connection and data transmission
US9883545B2 (en) Apparatus and method for selecting channel in wireless communication system
CN112839326A (en) Network switching method, device, storage medium and gateway equipment
CN108462994B (en) Channel selection method for personal hot spot and related product
CN108601063B (en) Personal hotspot realization method and related product
CN113114798B (en) Method for acquiring Internet protocol IP address and electronic equipment
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal
CN106879046B (en) Network scanning method and terminal equipment
CN112256335A (en) Drive file loading method and device, storage medium and electronic equipment
JP7477589B2 (en) Method and terminal device for establishing a hotspot connection - Patents.com
CN108566649B (en) Network segment management method of personal hotspot and related products
CN111225374B (en) Network sharing setting method, device, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant