CN109195204B - Wireless network access method and device, computer readable medium and communication terminal - Google Patents
Wireless network access method and device, computer readable medium and communication terminal Download PDFInfo
- Publication number
- CN109195204B CN109195204B CN201811339402.9A CN201811339402A CN109195204B CN 109195204 B CN109195204 B CN 109195204B CN 201811339402 A CN201811339402 A CN 201811339402A CN 109195204 B CN109195204 B CN 109195204B
- Authority
- CN
- China
- Prior art keywords
- wireless network
- channel
- channel list
- historical
- scanning
- 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
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000004891 communication Methods 0.000 title claims abstract description 15
- 238000003860 storage Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 11
- 238000000605 extraction Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 230000009471 action Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000005457 optimization Methods 0.000 description 3
- 230000002035 prolonged effect Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- 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)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present disclosure relates to the field of wireless communication technologies, and in particular, to a wireless network access method, a wireless network access apparatus, a computer-readable medium, and a wireless communication terminal. The method comprises the following steps: judging whether a triggering operation for accessing a wireless network exists; when judging that the triggering operation for accessing the wireless network exists, extracting a historical channel list corresponding to the access history of the wireless network of the terminal; and scanning channels in the historical channel list partially or completely to access a wireless network. The method provided by the disclosure can effectively shorten the connection time and reduce the power consumption of the terminal equipment when the wireless network is stably accessed.
Description
Technical Field
The present disclosure relates to the field of wireless communication technologies, and in particular, to a wireless network access method, a wireless network access apparatus, a computer-readable medium, and a wireless communication terminal.
Background
With the rapid development of wireless network technology, people can access the internet through a wireless network in various places, such as markets, stations, hospitals, homes and the like, and great convenience is brought to the life and work of people. WiFi (Wireless Fidelity), which is one of Wireless network technologies, can be networked through radio waves, and has the advantages of high data transmission speed, no limitation of wiring, high security, and the like. For various terminals with WiFi function, such as mobile phones, notebook computers, tablet computers, desktop computers with wireless network cards and the like, the terminals can be connected with the wireless router in a WiFi connection mode within an effective range covered by electric waves of the wireless router, so that networking is realized.
As users demand more and more WiFi usage experience, the demand for WiFi access speed is also increasing. The prior art generally optimizes the WiFi access speed by optimizing the scanning interval, removing "unnecessary" scanning, and optimizing the channel residence time. For example, by optimizing the scan interval, shortening the scan interval may facilitate faster automatic reconnections; or unnecessary scanning can be reduced by prolonging the scanning interval, so as to achieve the purpose of saving power. In the prior art, no clear standard is provided for optimizing the channel residence time, and if the channel residence time is prolonged, the hot spot of the channel can be scanned as much as possible, but the scanning time is increased, and if the automatic reconnection time is prolonged, the power consumption is increased, and the user experience is influenced; otherwise, the mobile phone may not scan for the hot spot. Or, through the DBS (Direct Broadcasting Satellite access) function, 2.4G and 5G frequency bands can be scanned simultaneously, so that the scanning speed is increased, but the chip supporting the DBS function has a too high cost. Therefore, the optimization method provided by the prior art cannot achieve balanced processing of access speed, stability, power consumption and cost.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a wireless network access method, a wireless network access apparatus, a computer-readable medium, and a wireless communication terminal, which improve connection speed and reduce power consumption while ensuring WiFi connection stability, and overcome limitations and drawbacks of the related art to a certain extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a wireless network access method, including:
judging whether a triggering operation for accessing a wireless network exists;
when judging that the triggering operation for accessing the wireless network exists, extracting a historical channel list corresponding to the access history of the wireless network of the terminal;
and scanning channels in the historical channel list partially or completely to access a wireless network.
According to a second aspect of the present disclosure, there is provided a wireless network access method, including:
judging whether the current position is located in the coverage area of the stored hotspot;
when the current position is judged to be located in the coverage area of the stored hotspot, extracting a historical channel list corresponding to the access history of the terminal wireless network;
and scanning channels in the historical channel list partially or completely to access a wireless network.
According to a third aspect of the present disclosure, there is provided a wireless network access apparatus, including:
the trigger detection module is used for judging whether trigger operation for accessing the wireless network exists or not;
the first list extraction module is used for extracting a historical channel list corresponding to the access history of the wireless network of the terminal when the triggering operation for accessing the wireless network is judged to exist;
and the access execution module is used for scanning channels in the historical channel list partially or completely to access a wireless network.
According to a fourth aspect of the present disclosure, there is provided a wireless network access apparatus, including:
the position judging module is used for judging whether the current position is positioned in the coverage area of the stored hotspot;
the second list extraction module is used for extracting a historical channel list corresponding to the wireless network access history of the terminal when the current position is judged to be located in the coverage area of the stored hotspot;
and the access execution module is used for scanning channels in the historical channel list partially or completely to access a wireless network.
According to a fifth aspect of the present disclosure, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the wireless network access method described above.
According to a sixth aspect of the present disclosure, there is provided a wireless communication terminal comprising:
one or more processors;
a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the wireless network access method described above.
In the wireless network access method provided by one embodiment of the disclosure, channel data of a WiFi hotspot connected by a terminal is stored in a historical channel list in advance, and the historical channel list is stored in terminal equipment; therefore, when the access to the wireless network is triggered, the wireless network can be accessed only by scanning partial channels according to the historical channel list, so that the connection time is effectively shortened when the wireless network is successfully accessed, and the power consumption of the terminal equipment is further reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 schematically illustrates a wireless network access method in an exemplary embodiment of the disclosure;
fig. 2 schematically illustrates a wireless network access method in an exemplary embodiment of the disclosure;
fig. 3 is a schematic diagram schematically illustrating an identification method of an application scenario category in an exemplary embodiment of the present disclosure;
FIG. 4 is a diagram schematically illustrating a historical channel list update method in an exemplary embodiment of the present disclosure;
fig. 5 schematically illustrates another wireless network access method in an exemplary embodiment of the present disclosure;
fig. 6 schematically illustrates a composition diagram of a wireless network access device in an exemplary embodiment of the disclosure;
fig. 7 schematically illustrates a composition diagram of another wireless network access device in an exemplary embodiment of the disclosure;
fig. 8 schematically shows a structural diagram of a computer system of a wireless communication device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The existing wireless network optimization methods still have some problems and disadvantages, such as: by optimizing the scanning interval, the scanning interval is shortened, which is beneficial to faster automatic reconnection, or unnecessary scanning can be reduced by prolonging the scanning interval, so that the purpose of saving power is achieved, but the situation that the hot spot cannot be scanned may occur. The hot spot of the channel can be scanned as much as possible by prolonging the staying time of the channel, but the scanning time is increased, and the automatic reconnection time is prolonged, so that the power consumption is increased, and the user experience is influenced; otherwise, the mobile phone may not scan for the hot spot. The WiFi connection process cannot be optimized equally.
In view of the above drawbacks and deficiencies of the prior art, the exemplary embodiment provides a wireless network access method, which can be applied to a terminal device capable of wireless connection, such as a mobile phone, a tablet computer, a notebook computer, and a desktop computer configured with a wireless network card. Referring to fig. 1, the wireless network access method may include the steps of:
s101, judging whether a triggering operation for accessing a wireless network exists or not;
s102, when judging that the triggering operation for accessing the wireless network exists, extracting a historical channel list corresponding to the access history of the wireless network of the terminal;
s103, scanning channels in the historical channel list partially or completely to access a wireless network.
In the wireless network access method provided by the present exemplary embodiment, the channel data of the WiFi hotspot connected to the terminal is stored in the historical channel list in advance, and the historical channel list is stored in the terminal device; therefore, when the access to the wireless network is triggered, the wireless network can be accessed only by scanning partial channels according to the historical channel list, so that the connection time is effectively shortened when the wireless network is successfully accessed, and the power consumption of the terminal equipment is further reduced.
Hereinafter, the steps of the wireless network access method in the exemplary embodiment will be described in more detail with reference to the drawings and the embodiments.
Generally, as a commonly used Wireless network technology, a WiFi (Wireless Fidelity) technology may generally include the following steps: (1) scanning (Scanning), including active Scanning and passive Scanning; (2) authentication (Authentication), which generally includes open system Authentication, shared key Authentication, and pre-identity Authentication; (3) association (Association), initiated by the user end, and connecting to the internet when the Association is successful.
As for when the current state of the wireless network management control of the terminal device is off, that is, when the WiFi of the terminal device is in an off state, referring to fig. 2, the wireless network access method may include:
step S101, judging whether a triggering operation for accessing the wireless network exists.
In this example embodiment, the trigger action may be an operation on a WiFi control. Through the triggering action, the terminal equipment can be triggered to start scanning the wireless network in the environment.
For example, for a terminal device such as a mobile phone or a tablet computer, the triggering operation for accessing the wireless network may be a click triggering action on a WiFi control in a shortcut menu (a pull-down menu or a pull-up menu) on a main interface, or a click selection operation on WiFi in a setting interface of the wireless network. Or, for a notebook computer, the triggering action may be a click selection operation of the WiFi option in the network management shortcut in the taskbar through an input device, or a specific operation of the WiFi option in a dedicated network management interface.
Of course, in other exemplary embodiments disclosed, the above-mentioned trigger operation may also be an operation of a WiFi control through an input device in a virtual reality environment. The present disclosure does not specifically limit the specific form of the trigger operation.
And step S112, when judging that the triggering operation for accessing the wireless network exists, identifying the application scene of the triggering operation.
In this example embodiment, when it is determined that the trigger operation exists, the application scenario where the trigger operation is located may be first identified and determined. Specifically, referring to fig. 3, the step S112 may include:
step S1121, identifying the type of the application scene where the trigger operation is located;
step S1122, when the current application scenario is identified as the first connection category, extracting the historical channel list.
For the above-mentioned trigger operation, the specific application scenarios can be classified. For example, a first connection category, which is intended for connecting to already connected hotspots, and a second setting category, which is intended for locating, connecting to new hotspots, or other purposes.
For example, the first connection type may be a click or selection operation on a wireless network management control in a pull-down menu, a pull-up menu, or other shortcut menus displayed in a current interface, when a slide or pull-down operation is performed on a terminal device such as a mobile phone or a tablet computer on a main interface, or when the current interface is an interface of an application program. Or, the wireless network management button can be clicked or selected in the setting interface, and the purpose is only to turn on a wireless network switch and enable the wireless network switch to be automatically connected to the terminal equipment to the connected hot spot.
The second setting category may be an operation of the wireless network management control in an application program interface that requires the use of the location service. For example, operation of WiFi controls on applications of map classes, shared bicycles, shared cars, and the like. Or, the operation may be an operation generated when a new wireless network needs to be connected in the setting interface. For example, clicking or selecting an unconnected hotspot in the setup interface. Of course, in other exemplary embodiments of the present disclosure, the second setting category may also be a situation where an attempt to connect to a connected hotspot fails and jumps to the setting interface.
In an exemplary embodiment of the present disclosure, the historical channel list may be directly extracted only when the application scenario in which the trigger operation is located is identified as the first connection category.
Furthermore, in other exemplary embodiments of the present disclosure, the method may further include:
step S1123, when the current application scenario is identified as the second setting category, performing full channel scanning.
For the trigger operation in the application scene of the second setting category, for example, the trigger operation generated in the application program of the map category, the purpose is to realize the accurate positioning of the terminal device by using the wireless network, and at this time, the scanning of the full channel can be executed.
Based on the above, in this exemplary embodiment, after the identification of the application scenario where the trigger operation is located is completed, in order to determine the current access mode of the wireless network more accurately, the method may further include:
step S113, after the current application scene is identified as the first connection type, determining an area where the current position is located.
Specifically, the step S113 described above may include:
step S1131, judging whether the current position is located in the coverage area of the stored hotspot;
step S1132, when it is determined that the current position is located in the coverage area of the stored hotspot, extracting a historical channel list corresponding to the access history of the terminal wireless network.
After the application scene where the current trigger action is located is identified as the first connection type, the terminal equipment starts to scan all wireless networks related to the current position because the wireless network management control is opened at the moment, and a connectable WiFi list can be generated on the terminal equipment. Meanwhile, according to the connectable WiFi list, whether the current position is located in the coverage range of the stored hotspot can be judged. If the current position is in the coverage area of the stored hotspot, the historical channel list can be extracted.
The historical channel list may include all channel data of hotspots to which the terminal device has connected. For a single hotspot, the frequency of the hotspot channel may be kept in a historical channel list. For an ESS network (extended Service Set), frequency information for multiple channels may be kept in a historical channel list. The historical channel list may be stored in a WiFi configuration storage module (WiFi Config Store). Specifically, a frequency (frequency) member may be configured in a WiFi Configuration class (WiFi Configuration), and a channel value may be stored in the frequency member, and the WiFi Configuration class may be stored in the WiFi Configuration storage module. For example, the channel frequency corresponding to the individual hot spot stored in the historical channel list is 2412; the channel frequencies corresponding to the ESS network include: 412. 2472, 5240, and 5680, etc.
In addition, for the historical channel list, after the historical channel list is extracted, the number of channels in the channel list can be extracted, and the channel residence time of each channel can be configured according to the number of the channels and preset rules.
For example, the dwell time for scanning the channel may be set within a certain time length range. For example
When the number of channels in the historical channel list is less than 3, the configured channel residence time is 140-160 milliseconds. Or when the number of the channels in the historical channel list is 3-6, the configured channel residence time is 100-120 milliseconds. Or when the number of the channels in the historical channel list is 5-10, the configured channel residence time is 100-130 milliseconds, and the like.
The longer the dwell time, the more likely all hotspots of that channel can be scanned. Through the dynamic distribution of the channel residence time according to the number of the channels, the time consumption in the scanning process can be reasonably controlled, so that the time consumption for connecting a wireless network is accurately controlled, and the wireless network connection speed is increased.
In a complex environment, such as an airport, a railway station or a shopping mall, all hotspots of each channel can be scanned to the maximum extent by reasonably prolonging the residence time of the scanning channel, and the condition that the target hotspot cannot be scanned due to short residence time of the scanning channel, so that disconnection or automatic connection is slow is effectively improved.
And step S114, scanning partial or all channels in the historical channel list to access a wireless network.
In this exemplary embodiment, after the history channel list is extracted from the WiFi configuration storage module, the channels in the history channel list may be scanned according to their frequencies. Because the wireless network can be connected only after scanning the appointed partial channels or all the channels in the historical channel list, the connection time of the wireless network can be effectively shortened.
Based on the above, for the history channel list, tag information may also be configured for each channel in the list. For example, it may be a location tag, a signal strength tag, a historical connection duration, etc. Specifically, it may be a place tag, such as home, office, or place a, place B, etc.; specific coordinate information may be used as the label. After extracting the history channel list, the step S114 may further include:
step S1141, sorting each channel in the historical channel list according to the current position and/or the label information of the channel to generate a temporary channel list;
step S1142, scanning according to the channel arrangement order in the temporary channel list.
For example, when the tag information of each channel is coordinate data, a specific distance may be calculated according to the coordinates of the current position and the coordinates of each channel, and then sorting is performed according to the size of the distance to obtain a temporary channel list. Or, when the tag information is historical connection duration, sorting according to the size of the connection duration to obtain a temporary channel list. And the channels are scanned in sequence according to the sequence in the temporary channel list, so that the wireless network can be connected more quickly.
The channels in the historical channel list are sorted according to a certain rule, so that the terminal equipment can preferentially scan the channels with higher connection success probability, the scanning speed is effectively increased, and the time consumption in the scanning process is shortened.
Based on the above, in the present exemplary embodiment, after accessing the wireless network and/or disconnecting from the accessed wireless network, as shown in fig. 4, the method may further include:
step S201, obtaining current channel information to judge whether the current channel is in the historical channel list;
step S202, if it is determined that the current channel is not in the historical channel list, adding the current channel to the historical channel list to update the historical channel list.
For example, when a user connects to or disconnects from a wireless network, for example, a terminal device accesses a new wireless network, or accesses a new channel of an already connected wireless network, for example, after connecting a new single hotspot, the current channel frequency of the hotspot may be stored in the historical channel list. Alternatively, for an ESS hotspot, when the end device connects to a router with channel 2412, after the user successfully connects, if the hotspot of other channels can be scanned in the vicinity of the user, the hotspot is also saved, for example, after the router is scanned to find that there are channels 2472, 5240 and 5680, the above three channels can be added to the historical channel list.
Alternatively, when the terminal device is out of the coverage area of the channel 2412 due to a location change, the WiFi connection is disconnected, but when the terminal device enters the coverage area of the router channel 5560, the terminal device is connected to the 5560 channel, and at this time, the channel 5560 can be added into the historical channel class table. The historical channel list may include: 2412. 2472, 5240, 5680, 5560.
Automatic updating of the historical channel list may be achieved by adding new channel information to the historical channel list.
In addition, in an exemplary embodiment of the present disclosure, when the wireless network management control of the terminal device is in an open state, that is, when the WiFi of the terminal device is in an open state, referring to fig. 5, a wireless network access method is provided, which includes:
step S301, judging whether the current position is located in the coverage area of the stored hotspot;
step S302, when judging that the current position is located in the coverage area of the stored hotspot, extracting a historical channel list corresponding to the access history of the terminal wireless network;
step S303, scanning all or part of the channels in the history channel list to access the wireless network.
Specifically, when the terminal device is in a standby state and the WiFi state is on, the terminal device may scan at regular time according to a preset rule to determine whether the terminal device is currently located in a coverage area of the stored hotspot. And when judging that the current position of the terminal equipment is positioned in the coverage area of the stored hotspot, actively extracting a historical channel list, and partially or completely scanning channels in the historical channel list, thereby realizing the access to a wireless network.
In addition, after the terminal device extracts the historical channel list, the number of channels in the channel list can also be extracted, and the channel residence time of each channel is configured according to the number of channels and preset rules.
In addition, after the wireless network is accessed or the wireless network is accessed and disconnected, the current channel information can be extracted, and when the current channel is judged not to be in the historical channel list, the current channel is added to the historical channel list, so that the historical channel list is automatically updated.
According to the method provided by the embodiment of the disclosure, when a user turns on a WiFi switch in a system interface, or under the condition that the WiFi switch is already turned on, the terminal equipment enters the coverage area of the stored hotspot, scanning is triggered to automatically connect WiFi. The method comprises the steps that channel information of a hotspot or an ESS network connected with a terminal device is stored in a historical channel list in advance; only specific channels in the historical channel list are scanned during scanning, and appropriate channel residence time can be configured according to the number of the channels, so that a scanning result can be obtained more quickly, and network connection can be completed in shorter time. In addition, all hotspots of each channel can be scanned to the maximum extent by configuring proper channel residence time according to the number of the channels, so that the connection stability is effectively improved; and the scanning time can be shortened, so that the power consumption in the scanning process is reduced, and the further optimization of the power consumption is realized.
Specifically, for the time consumption of scanning, the conventional full channel scanning generally needs to scan twenty-three channels, and it takes at least one second or more to complete one full channel scanning according to the minimum scanning channel residence time, and the time consumed by switching between channels is calculated, so the time of channel scanning is longer. However, the hot spot to which the user terminal needs to connect is often only a few channels. Compared with the conventional full channel scanning which needs to scan twenty-three channels, the scheme of the embodiment of the disclosure can shorten the time consumption of the scanning process to be within hundreds of milliseconds. Because the automatic hot spot connection speed depends on the return of the scanning result, the automatic hot spot connection speed is effectively improved on the premise of effectively shortening the time consumption of the scanning process. The method and the device can scan the hot spot more quickly, accurately and more energy-consumptively and complete the access of the wireless network, and improve the user experience.
In addition, for the power consumption of the terminal device, when the mobile phone scans, the current is about 200mA (taking the sdm670 platform as an example), and the duration is determined by the scanning time.
In addition, in a complex environment such as an airport, a train station, and the like, the residence time of a scanning channel is short, and a target hotspot cannot be scanned frequently, so that disconnection or automatic connection is slow. According to the embodiment of the disclosure, by prolonging the residence time of the scanning channel, all hotspots of the channel can be scanned as much as possible, so that the situation of slow hotspot connection speed can be effectively improved.
It is to be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the method according to an exemplary embodiment of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Further, referring to fig. 6, in an embodiment of the present example, a wireless network access apparatus 60 is further provided, including: a trigger detection module 601, a first list extraction module 602, and an access execution module 603. Wherein:
the trigger detection module 601 may be configured to determine whether there is a trigger operation for accessing a wireless network.
The first list extracting module 602 may be configured to extract a historical channel list corresponding to a terminal wireless network access history when it is determined that a triggering operation for accessing a wireless network exists.
The access performing module 603 may be configured to scan channels in the historical channel list partially or completely to access a wireless network.
In one example of the present disclosure, the apparatus further comprises: an application scene recognition module and a first connection category execution module (not shown in the figure). Wherein,
the application scenario identification module may be configured to identify a category of an application scenario in which the trigger operation is located.
The first connection category execution module may be configured to extract the historical channel list when the current application scenario is identified as the first connection category.
In one example of the present disclosure, the apparatus further comprises: a position judgment module and an information extraction module (not shown in the figure). Wherein,
the location determination module may be configured to determine whether the current location is within a coverage area of the saved hotspot.
The information extraction module may be configured to extract the historical channel list when it is determined that the current location is within a coverage area of the stored hotspot.
In one example of the present disclosure, the channels in the historical channel list further include tag information.
In one example of the present disclosure, the apparatus further comprises: a channel ordering module and a scan execution module (not shown). Wherein,
the channel sorting module may be configured to sort the channels in the historical channel list according to the current location and/or the tag information of the channel to generate a temporary channel list.
The scanning execution module may be configured to perform scanning according to a channel arrangement order in the temporary channel list.
In one example of the present disclosure, the apparatus further comprises: a residence time configuration module (not shown).
The residence time configuration module may be configured to extract the number of channels in the channel list, and configure the channel residence time of each channel according to a preset rule according to the number of channels.
In one example of the present disclosure, the apparatus may further include: channel extraction module, list update module (not shown in the figure). Wherein,
the channel extraction module may be configured to obtain current channel information to determine whether the current channel is in the historical channel list.
The list updating module may be configured to add the current channel to the historical channel list to update the historical channel list if it is determined that the current channel is not in the historical channel list.
In an example of the present disclosure, the apparatus described above may further include: and a second setting category executing module (not shown in the figure).
The second setting category executing module may be configured to execute full channel scanning when the current application scenario is identified as the second setting category.
Further, referring to fig. 7, in an embodiment of the present example, there is also provided a wireless network access apparatus 70, including: a location determining module 701, a second list extracting module 702, and an access executing module 703. Wherein:
the location determining module 701 may be configured to determine whether the current location is located in a coverage area of the saved hotspot.
The second list extraction module 702 may be configured to, when it is determined that the current location is located in a coverage area of the stored hotspot, extract a historical channel list corresponding to a wireless network access history of the terminal.
The access performing module 73 may be configured to scan channels in the historical channel list partially or completely to access a wireless network.
In one example of the present disclosure, the apparatus further comprises: a residence time configuration module (not shown).
The residence time configuration module may be configured to extract the number of channels in the channel list, and configure the channel residence time of each channel according to a preset rule according to the number of channels.
In one example of the present disclosure, the apparatus may further include: channel extraction module, list update module (not shown in the figure). Wherein,
the channel extraction module may be configured to obtain current channel information to determine whether the current channel is in the historical channel list.
The list updating module may be configured to add the current channel to the historical channel list to update the historical channel list if it is determined that the current channel is not in the historical channel list.
The specific details of each module in the wireless network access device are already described in detail in the corresponding wireless network access method, and therefore, the details are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Fig. 8 illustrates a schematic block diagram of a computer system suitable for use with a wireless communication device to implement an embodiment of the present invention.
It should be noted that the computer system 800 of the electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiment of the present invention.
As shown in fig. 8, a computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for system operation are also stored. The CPU 801, ROM802, and RAM 803 are connected to each other via a bus 804. An Input/Output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present invention, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. When the computer program is executed by the Central Processing Unit (CPU)801, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiment of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below. For example, the electronic device may implement the steps shown in fig. 1 to 5.
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.
Claims (6)
1. A wireless network access method, comprising:
judging whether a triggering operation for accessing a wireless network exists or not, and identifying an application scene of the triggering operation when judging that the triggering operation for accessing the wireless network exists;
when the current application scene is identified as a first connection type used for connecting the connected hotspots and when the current position is judged to be located in the coverage area of the stored hotspot, extracting a historical channel list corresponding to the wireless network access history of the terminal; sorting all channels in the historical channel list according to the label information of the current position and/or the channel to generate a temporary channel list, and scanning according to the channel arrangement sequence in the temporary channel list to realize partial or total scanning of the channels to access a wireless network; wherein the tag information of the channel includes: location tags, signal strength tags, or historical connection durations;
performing a full channel scan upon identifying the current application scenario as a second connection category distinct from the first connection category.
2. The method of claim 1, wherein after extracting the historical channel list, the method further comprises:
and extracting the number of the channels in the channel list, and configuring the channel scanning residence time of each channel according to the number of the channels and a preset rule.
3. The method of claim 1, wherein after accessing a wireless network and/or disconnecting from an accessed wireless network, the method further comprises:
acquiring current channel information to judge whether a current channel is in the historical channel list or not;
and if the current channel is not in the historical channel list, adding the current channel to the historical channel list to update the historical channel list.
4. A wireless network access apparatus, comprising:
the trigger detection module is used for judging whether trigger operation for accessing the wireless network exists or not;
the application scene identification module is used for identifying the category of an application scene where triggering operation is positioned when the triggering operation for accessing the wireless network is judged to exist;
the first connection type execution module is used for extracting a historical channel list when the current application scene is identified to be a first connection type used for connecting the connected hot spots and the current position is judged to be positioned in the coverage area of the stored hot spot; sorting all channels in the historical channel list according to the label information of the current position and/or the channel to generate a temporary channel list, and scanning according to the channel arrangement sequence in the temporary channel list to realize partial or total scanning of the channels to access a wireless network; wherein the tag information of the channel includes: location tags, signal strength tags, or historical connection durations;
a second setting category executing module, configured to execute full channel scanning when the current application scenario is identified as a second connection category different from the first connection category.
5. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out a wireless network access method according to any one of claims 1 to 3.
6. A wireless communication terminal, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the wireless network access method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811339402.9A CN109195204B (en) | 2018-11-12 | 2018-11-12 | Wireless network access method and device, computer readable medium and communication terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811339402.9A CN109195204B (en) | 2018-11-12 | 2018-11-12 | Wireless network access method and device, computer readable medium and communication terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109195204A CN109195204A (en) | 2019-01-11 |
CN109195204B true CN109195204B (en) | 2021-02-12 |
Family
ID=64938940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811339402.9A Active CN109195204B (en) | 2018-11-12 | 2018-11-12 | Wireless network access method and device, computer readable medium and communication terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109195204B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225573A (en) * | 2019-06-03 | 2019-09-10 | Oppo广东移动通信有限公司 | WiFi channel scanning method and device, electronic equipment, computer readable storage medium |
CN110505675B (en) * | 2019-08-12 | 2022-02-01 | RealMe重庆移动通信有限公司 | Network connection method and device, storage medium and communication terminal |
CN110941442A (en) * | 2019-12-04 | 2020-03-31 | 上海肇观电子科技有限公司 | Automatic software upgrading method, wearable device and storage medium |
JP7424162B2 (en) * | 2020-03-27 | 2024-01-30 | セイコーエプソン株式会社 | Electronic equipment and communication systems |
CN114071653A (en) * | 2020-07-29 | 2022-02-18 | 阿里巴巴集团控股有限公司 | Gateway device, router scanning method and device, and electronic device |
CN114189798A (en) * | 2020-09-15 | 2022-03-15 | 青岛海信移动通信技术股份有限公司 | Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network |
CN113613310B (en) * | 2021-07-02 | 2023-10-13 | 深圳Tcl新技术有限公司 | WIFI connection method and device, storage medium and mobile terminal |
CN116367171A (en) * | 2023-02-17 | 2023-06-30 | 西安紫光展锐科技有限公司 | Channel control method and device for wireless access point, storage medium and terminal |
Family Cites Families (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7293088B2 (en) * | 2003-07-28 | 2007-11-06 | Cisco Technology, Inc. | Tag location, client location, and coverage hole location in a wireless network |
US20080075035A1 (en) * | 2006-09-22 | 2008-03-27 | Intermec Ip Corp. | System and method for providing fast roaming |
US8314736B2 (en) * | 2008-03-31 | 2012-11-20 | Golba Llc | Determining the position of a mobile device using the characteristics of received signals and a reference database |
US8929328B2 (en) * | 2007-02-02 | 2015-01-06 | Microsoft Corporation | Decoupling scanning from handoff for reduced delay over wireless LAN |
US20140185518A1 (en) * | 2012-12-27 | 2014-07-03 | Texas Instruments Incorporated | SYSTEM AND METHOD FOR WiFi POSITIONING |
US9357473B2 (en) * | 2013-03-12 | 2016-05-31 | Qualcomm Incorporated | Adaptive wireless access point discovery |
CN104066146A (en) * | 2013-03-18 | 2014-09-24 | 华为技术有限公司 | Wi-fi network access method and wireless access device |
US9807631B2 (en) * | 2013-11-13 | 2017-10-31 | Fluke Corporation | Wireless transmitter network analysis tool |
US9877158B2 (en) * | 2013-12-20 | 2018-01-23 | Intel Corporation | Wi-Fi scan scheduling and power adaptation for low-power indoor location |
CN104244374B (en) * | 2014-09-25 | 2019-03-29 | 联想(北京)有限公司 | A kind of connection control method, connection controller and electronic equipment |
CN105791496B (en) * | 2014-12-24 | 2019-07-05 | 高德软件有限公司 | A kind of mobile terminal state detection method and device |
CN104968027B (en) * | 2015-05-29 | 2016-10-26 | 努比亚技术有限公司 | Wi-Fi control method and device |
CN107534840A (en) * | 2015-06-29 | 2018-01-02 | 尤比库姆特有限责任公司 | Frame time in the wireless local area network synchronizes |
CN105101210A (en) * | 2015-08-26 | 2015-11-25 | 盾宇(上海)信息科技有限公司 | Wireless security based client automatic connection protecting method and system |
BE1023514B1 (en) * | 2015-10-05 | 2017-04-12 | Henri Crohas | Method and device for wireless communication |
CN105336285A (en) * | 2015-11-09 | 2016-02-17 | 合肥工业大学 | Wisdom tour guiding system based on WLAN (Wireless Local Area Network) LBS (Location-based Service) |
CN107529124A (en) * | 2016-06-21 | 2017-12-29 | 中兴通讯股份有限公司 | A kind of wireless direct-connected method for building up, device and system |
CN106488557B (en) * | 2016-10-28 | 2019-05-03 | 中国人民解放军信息工程大学 | LDCC-PDF based on WiFi signal is classified delay time estimation method |
CN106792619A (en) * | 2016-11-18 | 2017-05-31 | 广东小天才科技有限公司 | WiFi positioning method and device and mobile terminal |
CN106792507A (en) * | 2016-11-22 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of WiFi localization methods and server based on network data |
CN106792984B (en) * | 2016-11-29 | 2019-11-26 | 努比亚技术有限公司 | A kind of WIFI hot spot scanning connection control method and terminal |
CN106686692B (en) * | 2017-01-13 | 2019-08-30 | Oppo广东移动通信有限公司 | Channel scanning method, terminal device and storage medium |
CN106804055B (en) * | 2017-02-20 | 2019-05-28 | Oppo广东移动通信有限公司 | A kind of Wireless Fidelity Wi-Fi connection method and mobile terminal |
CN107360599B (en) * | 2017-06-26 | 2020-03-17 | 努比亚技术有限公司 | Intelligent wifi networking method and mobile terminal |
CN107835520B (en) * | 2017-09-26 | 2021-01-05 | 平安科技(深圳)有限公司 | Wifi hotspot connection method and device and storage medium |
CN108566666B (en) * | 2018-01-18 | 2021-11-23 | 深圳平安通信科技有限公司 | Wi-Fi hotspot recommendation method and device and storage medium |
-
2018
- 2018-11-12 CN CN201811339402.9A patent/CN109195204B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109195204A (en) | 2019-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109195204B (en) | Wireless network access method and device, computer readable medium and communication terminal | |
CN115484659B (en) | Network access control method, device, computer readable medium and electronic equipment | |
CN105139641A (en) | WiFi relay station-based vehicle scheduling method and system | |
CN105376757A (en) | Mobile device Wi-Fi channel configuration method and device | |
JP5969312B2 (en) | Service state providing apparatus and method using access class restriction list in mobile communication system | |
CN112152853A (en) | Equipment network distribution method and device, computer-readable storage medium and electronic device | |
US20200236625A1 (en) | Activation system information transmission method, apparatus, and device | |
CN104392500A (en) | Checking-in method | |
CN105306318A (en) | Intelligent scene configuration method and device and server | |
CN104346838A (en) | Terminal and system | |
CN103857017A (en) | Communication terminal, communication system and communication connection method | |
CN108235233B (en) | Method and device for searching wireless charging equipment | |
US9697396B2 (en) | Interactive processing method and device and electronic apparatus | |
AU2023222822A1 (en) | Method and apparatus for manually selecting a network | |
KR102191366B1 (en) | Handover method and apparatus of electronic deivce in a wireless communication system | |
CN107949019B (en) | Load balancing method of wireless access point | |
CN105578567A (en) | Network scanning method and terminal | |
US11516651B2 (en) | Wireless communication device that changes setting content of beacon terminal | |
CN105828290A (en) | Method and device for selecting terminal to process business event | |
CN111050380A (en) | Hotspot opening method and device, terminal equipment and storage medium | |
JP6972487B2 (en) | Power supply management server and power supply system | |
CN115412993A (en) | Relay discovery method, system, device and storage medium | |
US20240040474A1 (en) | Method for enabling a terminal to access a base station, and station, terminal and communication system | |
CN111654898B (en) | Information display method and device, storage medium and terminal | |
CN113596898B (en) | Method, device, equipment, storage medium and system for determining terminal portrait |
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 |