CN114158136B - WiFi mode configuration method and device and computer-readable storage medium - Google Patents
WiFi mode configuration method and device and computer-readable storage medium Download PDFInfo
- Publication number
- CN114158136B CN114158136B CN202010825401.6A CN202010825401A CN114158136B CN 114158136 B CN114158136 B CN 114158136B CN 202010825401 A CN202010825401 A CN 202010825401A CN 114158136 B CN114158136 B CN 114158136B
- Authority
- CN
- China
- Prior art keywords
- wifi
- mode
- target
- wifi mode
- selecting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/18—Network planning tools
- H04W16/20—Network planning tools for indoor coverage or short range network deployment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a WiFi mode configuration method, a WiFi mode configuration device and a computer-readable storage medium, wherein the WiFi mode configuration method comprises the following steps: after establishing a bluetooth connection with the associated device, selecting a target WiFi mode from the supported plurality of WiFi modes; acquiring a target WLAN interface corresponding to a target WiFi mode; and configuring a target WiFi mode through a target WLAN interface. Through implementation of the scheme, the electronic device automatically controls configuration of the target WiFi mode based on Bluetooth connection with the external equipment, and convenience and flexibility of WiFi mode configuration are effectively improved.
Description
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a WiFi mode configuration method, device, and computer readable storage medium.
Background
With the rapid development of electronic technology, electronic devices such as mobile phones, tablet computers, smart watches, etc. are becoming popular in the life of users. Currently, an electronic device is generally configured with a WiFi function, and in one aspect, the electronic device may operate in a wireless workstation mode (Station mode) to access to a wireless Access Point (AP); on the other hand, the electronic device may also operate in a wireless access point mode (SoftAP mode) to act as a wireless AP for access by other electronic devices. Because the electronic device supports multiple WiFi modes, a user usually has diversified WiFi mode configuration requirements in practical applications, however, currently, the WiFi mode required to work by the electronic device usually needs to be set manually by the user, which results in poor convenience and flexibility of WiFi mode configuration.
Disclosure of Invention
The embodiment of the application provides a WiFi mode configuration method, a WiFi mode configuration device and a computer readable storage medium, which at least can solve the problems of poor convenience and flexibility of WiFi mode configuration caused by manually configuring a WiFi mode of an electronic device in the related technology.
An embodiment of the present invention provides a WiFi mode configuration method, applied to an electronic device configured with WLAN interfaces supporting a wireless workstation mode and a wireless access point mode, including:
after establishing a bluetooth connection with the associated device, selecting a target WiFi mode from the supported plurality of WiFi modes;
acquiring a target WLAN interface corresponding to the target WiFi mode;
and configuring the target WiFi mode through the target WLAN interface.
A second aspect of the present application provides a WiFi mode configuration device applied to an electronic device configured with WLAN interfaces supporting a wireless workstation mode and a wireless access point mode, respectively, including:
the selecting module is used for selecting a target WiFi mode from a plurality of supported WiFi modes after Bluetooth connection is established with the associated equipment;
the acquisition module is used for acquiring a target WLAN interface corresponding to the target WiFi mode;
and the configuration module is used for configuring the target WiFi mode through the target WLAN interface.
A third aspect of an embodiment of the present application provides an electronic device, including: the method for configuring the WiFi mode comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the steps in the method for configuring the WiFi mode provided by the first aspect of the embodiment of the application when executing the computer program.
A fourth aspect of the present embodiment provides a computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements each step in the WiFi mode configuration method provided in the first aspect of the present embodiment.
As can be seen from the above, according to the WiFi mode configuration method, apparatus and computer readable storage medium provided in the present application, after an electronic device configured with WLAN interfaces supporting a wireless workstation mode and a wireless access point mode respectively establishes a bluetooth connection with an associated device, a target WiFi mode is selected from a plurality of supported WiFi modes; acquiring a target WLAN interface corresponding to a target WiFi mode; and configuring a target WiFi mode of the electronic device through the target WLAN interface. Through implementation of the scheme, the electronic device automatically controls configuration of the target WiFi mode based on Bluetooth connection with the external equipment, and convenience and flexibility of WiFi mode configuration are effectively improved.
Drawings
Fig. 1 is a basic flow diagram of a WiFi mode configuration method according to a first embodiment of the present application;
fig. 2 is a flow chart of a WiFi mode switching method according to a first embodiment of the present application;
fig. 3 is a flowchart of a WiFi mode selection method according to a first embodiment of the present application;
fig. 4 is a flow chart of a WiFi mode restoration method according to the first embodiment of the present application;
fig. 5 is a detailed flowchart of a WiFi mode configuration method according to a second embodiment of the present application;
fig. 6 is a schematic program module diagram of a WiFi mode configuration device according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of 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 apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In order to solve the defect of poor convenience and flexibility of WiFi mode configuration caused by manually configuring a WiFi mode of an electronic device in the related art, a first embodiment of the present application provides a WiFi mode configuration method, which is applied to an electronic device configured with WLAN interfaces that support a wireless workstation mode and a wireless access point mode respectively, where a wireless chip that supports both the wireless workstation mode and the wireless access point mode is installed on the electronic device, and the two WLAN interfaces can be bridged to implement data communication.
Fig. 1 is a basic flowchart of a WiFi mode configuration method provided in this embodiment, where the WiFi mode configuration method includes the following steps:
Specifically, in this embodiment, the association device is a device that is interconnected with the local electronic device through bluetooth, and taking the local electronic device as an example of the smart watch, the association device may be a mobile phone that the smart watch wears a user to hold. It should be noted that, the electronic device of the present embodiment supports multiple WiFi modes, and since the wireless chip supports the wireless workstation mode and the wireless access point mode, the WiFi modes in the actual use process may include: the wireless access point system comprises a single working mode, a double working mode and a WiFi-free working mode, wherein the single working mode can be divided into a wireless working station mode or a wireless access point mode, the double working mode is a combination of the wireless working station mode and the wireless access point mode, and the WiFi-free working mode is a state that both the wireless working station mode and the wireless access point mode are in a closed state.
It should also be noted that, in this embodiment, after the local electronic device completes bluetooth pairing connection with the peer-to-peer association device to establish a data path, the current usage state of the association device may be perceived, and the selection of the WiFi mode may be automatically triggered.
Specifically, unlike the prior art in which the electronic device is configured with only a single WLAN interface for supporting a single WiFi mode, the present embodiment adds WiFi dual mode logic and modifies the system WiFi service related configuration so that the system has two WLAN interfaces, one for the Station mode and one for the SoftAP mode.
Specifically, when configuring the target WiFi mode, in one implementation manner, the electronic device may not start any WiFi mode before so as to start the target WiFi mode currently; in another implementation, the electronic device may be in a specific WiFi mode before, and then currently maintains or switches the WiFi mode started before to the target WiFi mode.
It should be understood that, in this embodiment, the configuration of the WiFi mode of the electronic device is controlled by the bluetooth binding electronic device and the associated device to establish a data path. When the Bluetooth connection is paired, the Bluetooth network can control the relevant working mode of WiFi, so that the mode can be freely configured. When the electronic apparatus and the associated device are paired, a binding mode may be selected: the method comprises the steps of starting a WiFi Station mode only, starting a WiFi softAp mode only, stopping WiFi service, or starting the WiFi Station mode and the WiFi softAp mode simultaneously. Therefore, the Bluetooth connection pairing is achieved to control the double-working mode or the single-working mode or not in any WiFi working mode, and flexibility and convenience of WiFi mode configuration are improved.
In some implementations of the present embodiment, selecting the target WiFi mode from the plurality of supported WiFi modes includes: identifying a first network usage requirement of the associated device; a target WiFi mode is selected from the supported plurality of WiFi modes based on the first network usage requirement.
Specifically, in this embodiment, the target WiFi mode currently required to be configured by the electronic apparatus is associated with the network usage requirement of the association device, and whether the association device currently needs to use the WiFi network or not can be perceived through the network usage requirement of the association device, for example, when the association device is perceived to need to use the WiFi network, the target WiFi mode can be determined as the wireless access point mode or the dual operation mode.
Further, in some implementations of the present embodiment, identifying the first network usage requirement of the associated device includes: acquiring system operation data of associated equipment; a first network usage requirement corresponding to the associated device is identified based on the system operational data.
Specifically, in this embodiment, in order to improve the intelligence of the network usage requirement awareness of the associated device, the associated device may request to acquire system operation data of the associated device, and then analyze the current network usage requirement of the associated device through the system operation data. It should be noted that the system operation data of the present embodiment may include: the type of the currently running application, the current system resource occupancy rate, etc., wherein the system resource occupancy rate may include occupancy rates of the CPU and the memory.
Further, in some implementations of the present embodiment, before selecting the target WiFi mode from the supported plurality of WiFi modes based on the first network usage requirement, further includes: and acquiring the current second network use requirement of the electronic device. Correspondingly, selecting the target WiFi mode from the supported plurality of WiFi modes based on the first network usage requirement includes: and selecting a target WiFi mode from the supported multiple WiFi modes by combining the first network use requirement and the second network use requirement.
Specifically, the embodiment may further determine the target WiFi mode by combining network usage requirements of both the electronic device and the associated device, for example, when both have WiFi network usage requirements, the dual operation mode may be determined as the target WiFi mode, and when only one of the two has WiFi network usage requirements, the corresponding single operation mode may be determined as the target WiFi mode.
Further, in some implementations of the present embodiment, when the first network usage requirement and the second network usage requirement are both WiFi networks, the WiFi usage requirement levels of the first network usage requirement and the second network usage requirement may be obtained, and then the target WiFi mode is selected from the supported multiple WiFi modes by combining the WiFi usage requirement level difference amounts of the first network usage requirement and the second network usage requirement. For example, when the WiFi use requirement levels of the two are relatively close to each other, determining the double-work mode as a target WiFi mode so as to simultaneously meet the WiFi network use requirements of the two; when the difference between the WiFi use requirement levels is larger, the method further comprises two situations, wherein firstly, the WiFi use requirement level corresponding to the first network use requirement is larger than the second network use requirement, the WiFi Station mode can be determined to be the target WiFi mode, otherwise, the WiFi softAp mode is determined to be the target WiFi mode, namely, when the difference between the WiFi use requirement levels is larger, the single working mode is adopted to intensively supply WiFi network resources to the requirement end so as to improve the network service quality.
As shown in fig. 2, which is a flow chart of a WiFi mode switching method provided by this embodiment, further, in other implementations of this embodiment, after selecting a target WiFi mode from a plurality of supported WiFi modes in combination with a first network usage requirement and a second network usage requirement, the method further specifically includes the following steps:
Specifically, in this embodiment, considering that the network usage requirement of the electronic device and/or the associated equipment may change during the use process, in order to better adapt the WiFi mode to the actual usage scenario, when the network usage requirement of the electronic device and/or the associated equipment changes significantly, the target WiFi mode configured before this may not adapt to the current usage scenario any more, so as to further determine the WiFi mode to be switched according to the network usage requirement change index, and then control the electronic device to switch the target WiFi mode configured before this.
Fig. 3 is a schematic flow chart of a WiFi mode selection method provided in this embodiment, and in other implementations of this embodiment, implementation manners of selecting a target WiFi mode from multiple supported WiFi modes specifically include the following steps:
Specifically, the permission authentication information of the present embodiment may be device identification information of an associated device, in this embodiment, considering that sources of different associated devices are different, for example, the associated device may be an associated device held by the electronic apparatus, or may be an associated device held by another person, the present embodiment configures corresponding WiFi access permission levels for different associated devices, for example, the associated device held by the electronic apparatus may be set as a highest access permission, the associated device held by a friend or a parent may be set as a medium access permission, the associated device of an unknown source may be set as a low access permission, and then a target WiFi mode is selected based on the WiFi access permission level, for example, a WiFi SoftAp mode is determined as a target WiFi mode under a high access permission level, so as to ensure that WiFi resources are limited to be provided to the associated device; determining a double-station mode as a target WiFi mode under the medium access permission level, and simultaneously meeting WiFi use requirements of the electronic device and associated equipment; and the WiFi Station mode is determined to be the target WiFi mode under the low access permission level, so that equipment with unknown sources can be prevented from unnecessarily occupying WiFi resources.
Of course, in still further implementations of the present embodiment, selecting the target WiFi mode from the plurality of supported WiFi modes includes: acquiring equipment identification information of associated equipment; determining a WiFi mode adopted when the Bluetooth connection is established with the associated equipment last time based on the equipment identification information; and determining the determined WiFi mode as a target WiFi mode.
Specifically, in this embodiment, in the history use process of the electronic device, when bluetooth connection is established with the associated device, the device identification information of the associated device and the WiFi mode adopted by the electronic device correspondingly may be stored, so when subsequent WiFi mode configuration is performed, the WiFi mode adopted in the history connection process may be directly queried based on the device identification information of the connected associated device, so that the processing efficiency of WiFi mode determination may be effectively improved.
Fig. 4 is a flow chart of a WiFi mode restoration method provided in this embodiment, where in some implementations of this embodiment, after configuring a target WiFi mode through a target WLAN interface, the method further specifically includes the following steps:
Specifically, in this embodiment, the bluetooth connection state of the associated device and the electronic device is monitored, and when the associated device and the electronic device are disconnected, the electronic device is controlled to automatically restore to a default WiFi mode, so that the intelligence of the configuration of the WiFi mode is improved.
Based on the technical solution of the embodiment of the present application, after the electronic device configured with WLAN interfaces supporting the wireless workstation mode and the wireless access point mode respectively establishes bluetooth connection with the associated device, selecting a target WiFi mode from a plurality of supported WiFi modes; acquiring a target WLAN interface corresponding to a target WiFi mode; and configuring a target WiFi mode of the electronic device through the target WLAN interface. Through implementation of the scheme, the electronic device automatically controls configuration of the target WiFi mode based on Bluetooth connection with the external equipment, and convenience and flexibility of WiFi mode configuration are effectively improved.
The method in fig. 5 is a refined WiFi mode configuration method provided in a second embodiment of the present application, and is applied to an electronic device configured with WLAN interfaces supporting a wireless workstation mode and a wireless access point mode, respectively, where the WiFi mode configuration method includes:
Specifically, the association device in this embodiment is a device that is interconnected with the local electronic device through bluetooth, and taking the local electronic device as an example of the smart watch, the association device may be a mobile phone that the smart watch wears a user to hold. In addition, the network usage requirement of the present embodiment is used to characterize whether or not the WiFi network is currently required to be used.
Specifically, in this embodiment, the network usage requirements of both the electronic device and the associated device are combined to determine the target WiFi mode, for example, when both have the WiFi network usage requirements, the dual operation mode may be determined to be the target WiFi mode, and if only one of the two has the WiFi network usage requirements, the corresponding single operation mode may be determined to be the target WiFi mode.
Specifically, the embodiment adds WiFi dual mode logic and modifies the configuration related to the WiFi service of the system, so that the system is provided with two WLAN interfaces, one is used as a Station mode and the other is used as a SoftAP mode.
Specifically, the WiFi mode of this embodiment may include: the wireless access point system comprises a single working mode, a double working mode and a WiFi-free working mode, wherein the single working mode can be divided into a wireless working station mode or a wireless access point mode, the double working mode is a combination of the wireless working station mode and the wireless access point mode, and the WiFi-free working mode is a state that both the wireless working station mode and the wireless access point mode are in a closed state.
And step 506, selecting a WiFi mode to be switched from a plurality of WiFi modes when the change index exceeds a preset threshold.
Specifically, when the network usage requirement of the electronic device and/or the associated equipment is significantly changed, the target WiFi mode configured before may not be adapted to the current usage scenario any more, so that the WiFi mode to be switched is further determined according to the network usage requirement change index, and then the electronic device is controlled to switch the target WiFi mode configured before, so as to ensure the adaptability of the WiFi mode and the actual usage scenario.
It should be understood that, the sequence number of each step in this embodiment does not mean the order of execution of the steps, and the execution order of each step should be determined by its functions and internal logic, and should not be construed as a unique limitation on the implementation process of the embodiments of the present application.
The embodiment of the application discloses a WiFi mode configuration method, which combines network use requirements of associated equipment and an electronic device after Bluetooth connection is established with the associated equipment, and selects a target WiFi mode from a plurality of supported WiFi modes; acquiring a target WLAN interface corresponding to a target WiFi mode; configuring a target WiFi mode through a target WLAN interface; and when the network use requirement change exceeds a preset threshold, determining a WiFi mode to be switched according to the network use requirement change index, and configuring the WiFi mode to be switched through a corresponding WLAN interface. Through implementation of the scheme, the electronic device automatically controls configuration of the target WiFi mode based on Bluetooth connection with the external equipment, and convenience and flexibility of WiFi mode configuration are effectively improved.
Fig. 6 is a WiFi mode configuration device according to a third embodiment of the present application. The WiFi mode configuration device can be used for realizing the WiFi mode configuration method in the embodiment. As shown in fig. 6, the WiFi mode configuration device mainly includes:
a selection module 601, configured to select a target WiFi mode from a plurality of supported WiFi modes after establishing a bluetooth connection with an associated device;
an acquisition module 602, configured to acquire a target WLAN interface corresponding to a target WiFi mode;
a configuration module 603 is configured to configure the target WiFi mode through the target WLAN interface.
In some implementations of the present embodiment, the selection module 601 is specifically configured to: identifying a first network usage requirement of the associated device; a target WiFi mode is selected from the supported plurality of WiFi modes based on the first network usage requirement.
Further, in some implementations of the present embodiment, the selection module 601 is specifically configured to, when identifying a first network usage requirement of the associated device: acquiring system operation data of associated equipment; a first network usage requirement corresponding to the associated device is identified based on the system operational data.
Further, in other implementations of the present embodiment, the obtaining module 602 is further configured to: the current second network usage requirement of the electronic device itself is obtained before selecting the target WiFi mode from the supported plurality of WiFi modes based on the first network usage requirement. Correspondingly, when selecting the target WiFi mode from the supported multiple WiFi modes based on the first network usage requirement, the selection module 601 is specifically configured to: and selecting a target WiFi mode from the supported multiple WiFi modes by combining the first network use requirement and the second network use requirement.
Still further, in some implementations of the present embodiment, the WiFi mode configuration apparatus further includes: the detection module is used for detecting the change index of the first network use requirement and/or the second network use requirement in real time after selecting a target WiFi mode from a plurality of supported WiFi modes by combining the first network use requirement and the second network use requirement. Correspondingly, the selection module 601 is further configured to: when the change index exceeds a preset threshold, selecting a WiFi mode to be switched from a plurality of WiFi modes; the configuration module 603 is further configured to: and configuring the WiFi mode to be switched through the WLAN interface corresponding to the WiFi mode to be switched.
In some implementations of the present embodiment, the selection module 601 is specifically configured to: acquiring authority authentication information of associated equipment; determining a corresponding WiFi access permission level based on permission authentication information; and selecting a target WiFi mode from the supported multiple WiFi modes according to the WiFi access authority level.
In some implementations of this embodiment, the detection module is further to: and detecting the Bluetooth connection state in real time. Correspondingly, the obtaining module 602 is further configured to: when the Bluetooth connection state is in a disconnection state, acquiring a WLAN interface corresponding to a default WiFi mode; the configuration module 603 is further configured to: the default WiFi mode is configured through the WLAN interface corresponding to the default WiFi mode.
It should be noted that, the WiFi mode configuration methods in the first and second embodiments may be implemented based on the WiFi mode configuration device provided in the first embodiment, and those skilled in the art can clearly understand that, for convenience and brevity of description, the specific working process of the WiFi mode configuration device described in the present embodiment may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
According to the WiFi mode configuration device provided in this embodiment, after an electronic device configured with WLAN interfaces respectively supporting a wireless workstation mode and a wireless access point mode establishes a bluetooth connection with an associated device, a target WiFi mode is selected from a plurality of supported WiFi modes; acquiring a target WLAN interface corresponding to a target WiFi mode; and configuring a target WiFi mode of the electronic device through the target WLAN interface. Through implementation of the scheme, the electronic device automatically controls configuration of the target WiFi mode based on Bluetooth connection with the external equipment, and convenience and flexibility of WiFi mode configuration are effectively improved.
Referring to fig. 7, fig. 7 is an electronic device according to a fourth embodiment of the present application. The electronic device can be used for realizing the WiFi mode configuration method in the previous embodiment. As shown in fig. 7, the electronic device mainly includes:
The memory 701 may be a high-speed random access memory (RAM, random Access Memory) memory or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 701 is used for storing executable program codes, and the processor 702 is coupled with the memory 701.
Further, the embodiment of the present application further provides a computer readable storage medium, which may be provided in the electronic device in each of the foregoing embodiments, and the computer readable storage medium may be a memory in the foregoing embodiment shown in fig. 7.
The computer readable storage medium has stored thereon a computer program which when executed by a processor implements the WiFi mode configuration method of the foregoing embodiments. Further, the computer-readable medium may be any medium capable of storing a program code, such as a usb (universal serial bus), a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a readable storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned readable storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all necessary for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing describes a WiFi mode configuration method, apparatus and computer readable storage medium provided in the present application, and those skilled in the art, based on the concepts of the embodiments of the present application, should not be construed as limiting the present application.
Claims (8)
1. A WiFi mode configuration method applied to an electronic device configured with WLAN interfaces supporting a wireless workstation mode and a wireless access point mode, respectively, comprising:
after establishing Bluetooth connection with associated equipment and further establishing a data path, acquiring system operation data of the associated equipment based on the data path;
identifying a first network usage requirement corresponding to the associated device based on the system operational data;
selecting a target WiFi mode from a plurality of supported WiFi modes based on the first network usage requirement;
acquiring a target WLAN interface corresponding to the target WiFi mode;
and configuring the target WiFi mode through the target WLAN interface.
2. The WiFi mode configuration method according to claim 1, wherein before selecting a target WiFi mode from the supported plurality of WiFi modes based on the first network usage requirement, further comprising:
acquiring the current second network use requirement of the electronic device;
the selecting a target WiFi mode from the plurality of supported WiFi modes based on the first network usage requirements includes:
and selecting a target WiFi mode from a plurality of supported WiFi modes according to the first network use requirement and the second network use requirement.
3. The WiFi mode configuration method according to claim 2, wherein after selecting a target WiFi mode from the supported plurality of WiFi modes in combination with the first network usage requirement and the second network usage requirement, further comprising:
detecting a change index of the first network use requirement and/or the second network use requirement in real time;
when the change index exceeds a preset threshold, selecting a WiFi mode to be switched from the plurality of WiFi modes;
and configuring the WiFi mode to be switched through the WLAN interface corresponding to the WiFi mode to be switched.
4. The WiFi mode configuration method according to claim 1, wherein the selecting a target WiFi mode from the plurality of supported WiFi modes comprises:
acquiring authority authentication information of the associated equipment;
determining a corresponding WiFi access permission level based on the permission authentication information;
and selecting a target WiFi mode from a plurality of supported WiFi modes according to the WiFi access permission level.
5. The WiFi mode configuration method according to any one of claims 1 to 4, wherein after the configuring of the target WiFi mode through the target WLAN interface, further comprising:
detecting the Bluetooth connection state in real time;
when the Bluetooth connection state is in a disconnection state, acquiring a WLAN interface corresponding to a default WiFi mode;
and configuring the default WiFi mode through the WLAN interface corresponding to the default WiFi mode.
6. A WiFi mode configuration device for an electronic device configured with WLAN interfaces supporting a wireless workstation mode and a wireless access point mode, respectively, comprising:
the selection module is used for acquiring system operation data of the associated equipment based on a data path after Bluetooth connection is established with the associated equipment so as to establish the data path; identifying a first network usage requirement corresponding to the associated device based on the system operational data; selecting a target WiFi mode from a plurality of supported WiFi modes based on the first network usage requirement;
the acquisition module is used for acquiring a target WLAN interface corresponding to the target WiFi mode;
and the configuration module is used for configuring the target WiFi mode through the target WLAN interface.
7. An electronic device, comprising: memory, processor, and bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is used for executing the computer program stored on the memory;
the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 5.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010825401.6A CN114158136B (en) | 2020-08-17 | 2020-08-17 | WiFi mode configuration method and device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010825401.6A CN114158136B (en) | 2020-08-17 | 2020-08-17 | WiFi mode configuration method and device and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114158136A CN114158136A (en) | 2022-03-08 |
CN114158136B true CN114158136B (en) | 2023-06-09 |
Family
ID=80460456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010825401.6A Active CN114158136B (en) | 2020-08-17 | 2020-08-17 | WiFi mode configuration method and device and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114158136B (en) |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005024543A2 (en) * | 2003-09-05 | 2005-03-17 | Bergs Magnus H | Method and device for setting up links between communication terminals and data and communication networks comprising wireless transmission paths |
US7245913B1 (en) * | 2004-11-08 | 2007-07-17 | Sprint Communications Company L.P. | Handset mode selection based on user preferences |
WO2011069092A1 (en) * | 2009-12-04 | 2011-06-09 | Interdigital Patent Holdings, Inc. | Extended local ip access for a converged gateway in a hybrid network |
CN102811464A (en) * | 2011-05-31 | 2012-12-05 | 株式会社Ntt都科摩 | Mobile Internet access nodes (MiANs), and method and system for converging bandwidths of MiANs |
CN103716903A (en) * | 2012-09-28 | 2014-04-09 | 三星电子株式会社 | Image forming apparatus to support wi-fi direct and method of wi-fi direct connecting thereof |
CN104221456A (en) * | 2012-04-04 | 2014-12-17 | 高通股份有限公司 | Wireless channelization |
WO2016109921A1 (en) * | 2015-01-05 | 2016-07-14 | 华为技术有限公司 | Data transmission method, station, access point and access controller |
CN106506862A (en) * | 2016-12-07 | 2017-03-15 | 广东欧珀移动通信有限公司 | A kind of working mode of mobile terminal changing method and mobile terminal |
US9614919B1 (en) * | 2016-01-26 | 2017-04-04 | Ale International | Service delivery through wireless access systems |
CN107276866A (en) * | 2017-07-28 | 2017-10-20 | 美的智慧家居科技有限公司 | Home appliance match somebody with somebody network method, device and home appliance |
WO2017219673A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Vowifi network access method and system, and terminal |
CN107666726A (en) * | 2017-09-06 | 2018-02-06 | 广州艾考教育科技有限公司 | A kind of electronic building blocks control method |
CN108601066A (en) * | 2018-06-20 | 2018-09-28 | 上海连尚网络科技有限公司 | Wireless access point connection, joint efficiency computational methods, device, equipment and medium |
CN109803360A (en) * | 2019-02-13 | 2019-05-24 | Oppo广东移动通信有限公司 | WiFi dormancy control method, device, electronic equipment and storage medium |
CN110087283A (en) * | 2018-05-25 | 2019-08-02 | 东莞市骁卫物联科技有限公司 | A kind of intelligent lock system application method and device based on multi-mode wireless transmission mode |
CN110164441A (en) * | 2019-06-17 | 2019-08-23 | 上海庆科信息技术有限公司 | Intelligent sound controls equipment, method, apparatus, readable storage medium storing program for executing and system |
CN110430604A (en) * | 2019-08-02 | 2019-11-08 | 深圳市康冠商用科技有限公司 | A kind of network control method, system and electronic equipment and storage medium |
CN110730517A (en) * | 2019-10-22 | 2020-01-24 | Oppo广东移动通信有限公司 | Network connection control method and related product |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8073428B2 (en) * | 2006-09-22 | 2011-12-06 | Kineto Wireless, Inc. | Method and apparatus for securing communication between an access point and a network controller |
US20080151845A1 (en) * | 2006-12-20 | 2008-06-26 | Nokia Corporation | Co-existence management of multiple radios |
US8265017B2 (en) * | 2008-04-11 | 2012-09-11 | Apple Inc. | Methods and apparatus for network capacity enhancement for wireless device coexistence |
US9258712B2 (en) * | 2012-09-04 | 2016-02-09 | Nokia Technologies Oy | Method, apparatus, and computer program product for sharing wireless network configurations |
US20170171782A1 (en) * | 2014-07-14 | 2017-06-15 | Convida Wireless, Llc | Network-initiated handover in integrated small cell and wifi networks |
US9838957B2 (en) * | 2014-11-06 | 2017-12-05 | Intel Corporation | Apparatus, system and method of selecting a mobility mode of a user equipment (UE) |
US20160183313A1 (en) * | 2014-12-23 | 2016-06-23 | Intel Corporation | MECHANISM TO SELECT APPROPRIATE S2a CONNECTIVITY MODE FOR TRUSTED WLAN |
US10201031B2 (en) * | 2015-11-11 | 2019-02-05 | Apple Inc. | Radio resource aggregation with suspend/resume support |
US10492034B2 (en) * | 2016-03-07 | 2019-11-26 | Time Warner Cable Enterprises Llc | Apparatus and methods for dynamic open-access networks |
-
2020
- 2020-08-17 CN CN202010825401.6A patent/CN114158136B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005024543A2 (en) * | 2003-09-05 | 2005-03-17 | Bergs Magnus H | Method and device for setting up links between communication terminals and data and communication networks comprising wireless transmission paths |
US7245913B1 (en) * | 2004-11-08 | 2007-07-17 | Sprint Communications Company L.P. | Handset mode selection based on user preferences |
WO2011069092A1 (en) * | 2009-12-04 | 2011-06-09 | Interdigital Patent Holdings, Inc. | Extended local ip access for a converged gateway in a hybrid network |
CN102811464A (en) * | 2011-05-31 | 2012-12-05 | 株式会社Ntt都科摩 | Mobile Internet access nodes (MiANs), and method and system for converging bandwidths of MiANs |
CN104221456A (en) * | 2012-04-04 | 2014-12-17 | 高通股份有限公司 | Wireless channelization |
CN103716903A (en) * | 2012-09-28 | 2014-04-09 | 三星电子株式会社 | Image forming apparatus to support wi-fi direct and method of wi-fi direct connecting thereof |
WO2016109921A1 (en) * | 2015-01-05 | 2016-07-14 | 华为技术有限公司 | Data transmission method, station, access point and access controller |
US9614919B1 (en) * | 2016-01-26 | 2017-04-04 | Ale International | Service delivery through wireless access systems |
WO2017219673A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Vowifi network access method and system, and terminal |
CN106506862A (en) * | 2016-12-07 | 2017-03-15 | 广东欧珀移动通信有限公司 | A kind of working mode of mobile terminal changing method and mobile terminal |
CN107276866A (en) * | 2017-07-28 | 2017-10-20 | 美的智慧家居科技有限公司 | Home appliance match somebody with somebody network method, device and home appliance |
CN107666726A (en) * | 2017-09-06 | 2018-02-06 | 广州艾考教育科技有限公司 | A kind of electronic building blocks control method |
CN110087283A (en) * | 2018-05-25 | 2019-08-02 | 东莞市骁卫物联科技有限公司 | A kind of intelligent lock system application method and device based on multi-mode wireless transmission mode |
CN108601066A (en) * | 2018-06-20 | 2018-09-28 | 上海连尚网络科技有限公司 | Wireless access point connection, joint efficiency computational methods, device, equipment and medium |
CN109803360A (en) * | 2019-02-13 | 2019-05-24 | Oppo广东移动通信有限公司 | WiFi dormancy control method, device, electronic equipment and storage medium |
CN110164441A (en) * | 2019-06-17 | 2019-08-23 | 上海庆科信息技术有限公司 | Intelligent sound controls equipment, method, apparatus, readable storage medium storing program for executing and system |
CN110430604A (en) * | 2019-08-02 | 2019-11-08 | 深圳市康冠商用科技有限公司 | A kind of network control method, system and electronic equipment and storage medium |
CN110730517A (en) * | 2019-10-22 | 2020-01-24 | Oppo广东移动通信有限公司 | Network connection control method and related product |
Non-Patent Citations (3)
Title |
---|
An intelligent power save mode mechanism for IEEE 802.11 WLAN;H. Tabrizi, G. Farhadi and J. Cioffi;2012 IEEE Global Communications Conference (GLOBECOM);全文 * |
Receiver design for realizing on-demand WiFi wake-up using WLAN signals;H. Yomo, Y. Kondo, N. Miyamoto, S. Tang, M. Iwai and T. Ito;2012 IEEE Global Communications Conference (GLOBECOM);全文 * |
智能操作系统通讯模块的设计与实现;宋健健;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114158136A (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107509201B (en) | Multi-subscriber identity module device, chip thereof and method for receiving paging signal using the same | |
CN106102143B (en) | Application processing method and device | |
CN105493574A (en) | Method and system for optimizing power consumption in multi-sim mobile device | |
US9185648B2 (en) | Intelligent beaconing by software-enabled access point | |
US10178597B2 (en) | Method and device for calling in network congestion state | |
CN110621047A (en) | Operator network switching method and device and computer readable storage medium | |
CN109495875B (en) | SIM card selection method and device, electronic equipment and storage medium | |
CN108496403B (en) | Working mode switching method and user equipment | |
US11212666B2 (en) | Device of managing and scheduling sim card resource, communication terminal and system | |
CN112333727A (en) | Method and device for controlling equipment, storage medium, processor and terminal | |
CN109644465B (en) | Resource allocation method and device and computer storage medium | |
CN111132382A (en) | Connection mode control method, terminal and storage medium | |
JP2016195382A (en) | Technique for dynamically supporting separate authentication algorithm | |
CN110267259A (en) | Internet of things equipment and carrier network switching method | |
CN110461023B (en) | Cell residence method and device for voice service, storage medium and main base station | |
CN105511587B (en) | Method and device for controlling radio frequency link | |
CN114158136B (en) | WiFi mode configuration method and device and computer-readable storage medium | |
CN105430718A (en) | Network access method and device and communication terminal | |
CN111148171B (en) | Call switching method and server | |
EP3048858B1 (en) | Wireless customer premise equipment and accessing method therefor | |
US11012835B2 (en) | Method and terminal for acquiring transmission resource in vehicle to everything | |
CN105376842B (en) | Dialing and de-dialing method and device | |
CN109067487B (en) | Channel selection method, terminal and computer storage medium | |
EP3409045B1 (en) | Techniques for minimizing user disruption during network connection switching | |
CN112188593B (en) | Wireless configuration method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |