CN115706916A - Wi-Fi connection method and device based on position information - Google Patents
Wi-Fi connection method and device based on position information Download PDFInfo
- Publication number
- CN115706916A CN115706916A CN202110904401.XA CN202110904401A CN115706916A CN 115706916 A CN115706916 A CN 115706916A CN 202110904401 A CN202110904401 A CN 202110904401A CN 115706916 A CN115706916 A CN 115706916A
- Authority
- CN
- China
- Prior art keywords
- network
- information
- target
- user
- login
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 230000006870 function Effects 0.000 claims description 39
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012795 verification Methods 0.000 abstract description 26
- 230000001976 improved effect Effects 0.000 abstract description 11
- 238000004891 communication Methods 0.000 description 31
- 230000006854 communication Effects 0.000 description 31
- 238000007726 management method Methods 0.000 description 22
- 238000012545 processing Methods 0.000 description 22
- 239000010410 layer Substances 0.000 description 21
- 230000008569 process Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 12
- 230000005236 sound signal Effects 0.000 description 12
- 238000010295 mobile communication Methods 0.000 description 11
- 210000000988 bone and bone Anatomy 0.000 description 10
- 230000000694 effects Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 6
- 238000012790 confirmation Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000007667 floating Methods 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000004020 conductor Substances 0.000 description 2
- 239000012792 core layer Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001965 increasing effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 239000010985 leather Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000010349 pulsation Effects 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/63—Location-dependent; Proximity-dependent
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/04—Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a Wi-Fi connection method and device based on position information. The method can comprise the following steps: acquiring the position information of a user, and sending the position information of the user to a cloud server; receiving at least one official Wi-Fi network information which is returned by the cloud server and corresponds to the user position information; matching at least one official Wi-Fi network information with the Wi-Fi network information searched locally to determine at least one target Wi-Fi network information; displaying first prompt information, wherein the first prompt information is used for prompting a user that at least one target Wi-Fi network can be connected; and automatically logging in any one of the at least one target Wi-Fi network, and displaying login result information. The official Wi-Fi network of the public place where the user is located is obtained through the position information of the user, the obtained official Wi-Fi network is actively recommended for the user, meanwhile, verification login of the Wi-Fi network is completed, and experience of the user in using the Wi-Fi network of the public place is improved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a Wi-Fi connection method and device based on position information.
Background
At present, people go to public places such as shopping malls, airports and the like, and have a plurality of Wi-Fi networks, but not all the Wi-Fi networks can provide network access services for the public. In public places, not all Wi-Fi networks are secure and reliable, and not all Wi-Fi networks are official Wi-Fi networks of the public places. An official, safe and reliable Wi-Fi network providing network access service to the public needs to be accurately recommended in public places. Meanwhile, the Wi-Fi connection in a public place requires that a user actively selects the corresponding Wi-Fi and also requires manual connection, including identity verification, such as mobile phone number login verification, so that more processes and interaction are required, and the user experience is poor.
Further, the prior art fails to guarantee that official, secure and reliable Wi-Fi networks providing network access services to the public are found among many Wi-Fi networks, and not every user has the ability to authenticate the security and reliability of the Wi-Fi network.
Disclosure of Invention
The embodiment of the application provides a Wi-Fi connection method and device based on position information, which are used for identifying a user scene by using the position information, actively recommending an official Wi-Fi network, and automatically completing verification login of the Wi-Fi network, so that the experience of the user in using the Wi-Fi network in a public place is improved.
In a first aspect, an embodiment of the present application provides a Wi-Fi connection method based on location information, which is applied to an electronic device with a location identification function, and the method includes: acquiring position information of a user, and sending the position information of the user to a cloud server; receiving at least one official Wi-Fi network information which is returned by the cloud server and corresponds to the user position information; matching at least one official Wi-Fi network information with the Wi-Fi network information searched locally to determine at least one target Wi-Fi network information; displaying first prompt information, wherein the first prompt information is used for prompting a user that at least one target Wi-Fi network can be connected; automatically logging in any one of at least one target Wi-Fi network and displaying login result information, wherein the login result information comprises: at least one of name information of the logged target Wi-Fi network, position information corresponding to the target Wi-Fi network, safety information of the target Wi-Fi network and second prompt information; wherein the second prompt message is used to prompt the user to disconnect from the target Wi-Fi network.
That is to say, the Wi-Fi connection method provided in the embodiment of the present application determines whether the user enters a public place or not through the acquired user location information. When the fact that the user enters the public place is determined, the official Wi-Fi network of the public place is recommended for the user according to the corresponding relation between the official Wi-Fi network of the public place where the user is located and the position range information, whether the user logs in automatically or not is prompted, and after the fact that the user logs in automatically is determined, the user logs in the network automatically. The safety of logging in the Wi-Fi network by the user in the public place is guaranteed, and the experience of using the Wi-Fi network by the user in the public place is improved.
In one possible implementation, the obtaining the location information of the user includes: and acquiring the position information of the user through a GPS.
That is, when an electronic device held by a user has a GPS positioning function, the position information of the user can be acquired by the GPS position information.
In one possible implementation, the second prompting message is also used to prompt the user to cancel the automatic login service.
That is, after logging on a recommended Wi-Fi network for a user, if the user does not want to log on the Wi-Fi network automatically the next time. The user can cancel the automatic login service through the prompt message in the login result, and the experience of the user is improved.
In one possible implementation, automatically logging in any one of the at least one target Wi-Fi network comprises: and automatically logging in the Wi-Fi network with the maximum network signal strength in at least one target Wi-Fi network.
That is, after determining the at least one target Wi-Fi network, the electronic device may select a Wi-Fi network with the highest network signal strength from the at least one target Wi-Fi network to automatically log in for the user. The complicated operation of the user is avoided, and the experience of the user is improved.
In one possible implementation, the automatically logging in includes: at least one of account login, one-touch login and short message login.
In one possible implementation, after determining at least one target Wi-Fi network information, the method further includes: and displaying the determined at least one target Wi-Fi network.
In one possible implementation, displaying the determined at least one target Wi-Fi network includes: when the determined at least one target Wi-Fi network is displayed, hiding and displaying other Wi-Fi network information, wherein the other Wi-Fi network information comprises: and the electronic equipment searches the local Wi-Fi information, wherein the Wi-Fi information does not match with at least one official Wi-Fi network returned by the cloud server.
That is, after the electronic device determines at least one target Wi-Fi network, the determined at least one target Wi-Fi network and the electronic device may also search for other local Wi-Fi networks to display. When displayed, only the target Wi-Fi network can be displayed in a notification bar of the system, and other Wi-Fi networks can be hidden. Therefore, the user can quickly and intuitively find the target Wi-Fi network, and the experience of the user is improved.
In one possible implementation, displaying the at least one target Wi-Fi network further comprises: and displaying the third prompt information, and displaying the hidden other Wi-Fi network information by clicking the third prompt information.
That is to say, when the user needs to connect to other Wi-Fi networks, the hidden information of the other Wi-Fi networks can be displayed by clicking the corresponding button, and the selectable range of the user is increased under the condition that the user preferentially selects the target Wi-Fi network.
In one possible implementation, displaying the at least one target Wi-Fi network includes: displaying a first target Wi-Fi network corresponding to a public place, wherein the first target Wi-Fi network is a Wi-Fi network with the maximum network signal intensity in at least one target Wi-Fi network corresponding to the public place; or displaying at least one target Wi-Fi network, wherein the at least one target Wi-Fi network is displayed according to the sequence of network signal intensity from large to small.
That is, when displaying at least one target Wi-Fi network, a Wi-Fi network with the highest network signal strength can be determined from the at least one target Wi-Fi network to be displayed alone or preferentially.
In one possible implementation, displaying the at least one target Wi-Fi network information includes: displaying name information and safety information of a target Wi-Fi network; and displaying second prompt information, wherein the second prompt information is used for prompting the user to select to automatically log in the target Wi-Fi network or manually log in the target Wi-Fi network.
That is, when at least one target Wi-Fi network is displayed, the user can quickly recognize the security of each Wi-Fi network by displaying the name information and the security information of the target Wi-Fi network.
In one possible implementation, displaying at least one target Wi-Fi network further includes: displaying current position information of a user; wherein, the current position information can be refreshed; when a user carries out refreshing operation on the current position information and the refreshed position information changes, sending the refreshed position information to the cloud server and receiving result information returned by the cloud server; and updating and displaying at least one piece of target Wi-Fi network information based on that the result information comprises at least one piece of target Wi-Fi network information corresponding to the current position information.
That is, when the user considers that the current location information is erroneous, the current location information may be refreshed to update the current location information. And when the position information of the user is changed, or the target Wi-Fi network corresponding to the new position information is updated and displayed to the user.
In one possible implementation manner, after automatically logging in any one of the at least one target Wi-Fi network, the method further includes: when the fact that the user leaves the public place corresponding to the currently logged-in Wi-Fi network is detected, the connected target Wi-Fi network is disconnected, prompt information is displayed, and the prompt information is used for prompting the user to re-enter the public place within a preset time period and automatically log in the target Wi-Fi network corresponding to the public place.
That is, when the user leaves the public place where the user is currently located halfway, the current Wi-Fi network connection is temporarily disconnected, but the connection information of the user is retained. When the user re-enters the public place within a preset time period, the user will be automatically connected away from the previously connected Wi-Fi network. Where automatically connecting away from a previously connected Wi-Fi network for a user is imperceptible to the user. The operation times of connecting the user with the same Wi-Fi network are reduced, and the experience of the user is improved.
In one possible implementation manner, after automatically logging in any one of the at least one target Wi-Fi network, the method further includes: acquiring login account information, login address information and login state information of a user; wherein the login state information includes: any one of automatic login and manual login; and storing the acquired login account information, login address information and login state information of the user.
That is to say, the login account information, the login address information and the login state information of the user are stored, so that when the user logs in the same Wi-Fi network next time, the current login mode can be determined for the user according to the last login operation of the user, and the user does not need to be disturbed.
In one possible implementation, automatically logging in any one of the at least one target Wi-Fi network comprises: judging whether the user logs in the target Wi-Fi network for the first time or not; and acquiring login state information of the user for logging in the target Wi-Fi network last time based on the fact that the user does not log in the target Wi-Fi network for the first time, and logging in the target Wi-Fi network according to the acquired user login state information.
That is to say, when a user needs to log in a certain Wi-Fi network, whether the user logs in the Wi-Fi network for the first time is judged. When the user logs in the Wi-Fi network for a non-first time, the user can log in the current Wi-Fi network for the user automatically according to the last login mode of logging in the Wi-Fi network, and the user does not need to be disturbed to inquire the mode of connecting the Wi-Fi network.
In a second aspect, an embodiment of the present application provides a Wi-Fi connection method based on location information, which is applied to a cloud server, and the method includes: receiving position information of a user; comparing the location information of the user with location range information of a public place stored on a cloud server; when the position range information of a public place contains the position information of the user, at least one official Wi-Fi network corresponding to the public place is obtained, and the at least one official Wi-Fi network is sent to the user, wherein the at least one official Wi-Fi network is used for the terminal to automatically log in the Wi-Fi network.
That is to say, according to the Wi-Fi connection method provided in the embodiment of the present application, a large number of public places and official Wi-Fi networks corresponding to the public places are stored in the cloud service in advance. And when the user information received by the cloud server falls within the position range of any one public place, sending the official Wi-Fi network corresponding to the public place to the user. By utilizing the corresponding relation between the official Wi-Fi network and the position range information, the Wi-Fi network is accurately recommended to the user, and the experience of the user using the official Wi-Fi network in a public place is improved.
In one possible implementation, the method further comprises: acquiring position range information of a public place and official Wi-Fi information corresponding to the public place; and storing the position range information of the public place and the official Wi-Fi information corresponding to the public place on a cloud server according to the corresponding relation.
That is, the cloud server acquires the location range information of the public place and the official Wi-Fi network information corresponding to the public place in advance.
In one possible implementation manner, the acquiring at least one official Wi-Fi network corresponding to a public place, and the sending the acquired at least one official Wi-Fi network to the user includes: and returning the Wi-Fi network with the maximum network signal strength in the at least one official Wi-Fi network to the user.
That is to say, after the cloud server acquires the official Wi-Fi network of the place where the user is located, the cloud server can screen at least one acquired official Wi-Fi network according to the acquired signal strength of the official Wi-Fi network, and then return the screened official Wi-Fi network to the user, so that the user can directly connect with the official Wi-Fi network returned by the cloud server, and the experience of the user in using the official Wi-Fi network in the public place is improved.
In a third aspect, an embodiment of the present application provides a Wi-Fi connection system based on location information, including an electronic device and a cloud server, where the electronic device is configured to obtain user location information and upload the user location information to the cloud server;
the cloud server is used for comparing the position information of the user with the position range information of the public place stored on the cloud server; when the position range information of a public place contains user position information, acquiring at least one official Wi-Fi network corresponding to the public place, and returning the information of the at least one official Wi-Fi network to the electronic equipment; the electronic equipment is also used for matching at least one official Wi-Fi network information with the Wi-Fi network information searched locally, determining at least one target Wi-Fi network information and displaying first prompt information, wherein the first prompt information is used for prompting a user that the at least one target Wi-Fi network can be connected; the electronic device is further configured to automatically log in to at least one target Wi-Fi network and display login result information, where the login result information includes: at least one of name information of the logged target Wi-Fi network, position information corresponding to the target Wi-Fi network, safety information of the target Wi-Fi network and second prompt information; and the second prompt message is used for prompting the user to disconnect from the target Wi-Fi network.
In one possible implementation, the electronic device is further configured to obtain the location information of the user through a GPS.
In one possible implementation, the second prompting message is also used to prompt the user to cancel the automatic login service.
In one possible implementation, automatically logging in any one of the at least one target Wi-Fi network comprises: and automatically logging in the Wi-Fi network with the maximum network signal strength in at least one target Wi-Fi network.
In one possible implementation, the automatically logging in includes: at least one of account login, one-touch login and short message login.
In one possible implementation, the electronic device is further configured to: and displaying at least one target Wi-Fi network.
In one possible implementation, displaying the at least one target Wi-Fi network includes: when at least one target Wi-Fi network is displayed, hiding and displaying other Wi-Fi network information, wherein the other Wi-Fi network information comprises: and the electronic equipment searches the local Wi-Fi information, wherein the Wi-Fi information does not match with at least one official Wi-Fi network returned by the cloud server.
In one possible implementation, displaying the at least one target Wi-Fi network further comprises: and displaying the third prompt information, and displaying the hidden other Wi-Fi network information by clicking the third prompt information.
In one possible implementation, displaying the at least one target Wi-Fi network includes: displaying a first target Wi-Fi network corresponding to a public place, wherein the first target Wi-Fi network is a Wi-Fi network with the maximum network signal intensity in at least one target Wi-Fi network corresponding to the public place; or displaying at least one target Wi-Fi network, wherein the at least one target Wi-Fi network is displayed according to the sequence of network signal intensity from large to small.
In one possible implementation, displaying the at least one target Wi-Fi network information includes: displaying name information and safety information of a target Wi-Fi network; and displaying second prompt information, wherein the second prompt information is used for prompting the user to select to automatically log in the target Wi-Fi network or manually log in the target Wi-Fi network.
In one possible implementation, displaying at least one target Wi-Fi network further includes:
displaying current position information of a user; wherein, the current position information can be refreshed;
when a user carries out refreshing operation on the current position information and the refreshed position information changes, sending the refreshed position information to the cloud server and receiving result information returned by the cloud server; and updating and displaying at least one piece of target Wi-Fi network information based on the result information comprising at least one piece of target Wi-Fi network information corresponding to the current position information.
In one possible implementation, the electronic device is further configured to: and when detecting that the user leaves the public place corresponding to the currently logged-in Wi-Fi network, disconnecting the connected target Wi-Fi network, and displaying prompt information, wherein the prompt information is used for prompting the user to re-enter the public place within a preset time period, and automatically logging in the target Wi-Fi network corresponding to the public place.
In one possible implementation, the electronic device is further configured to: acquiring login account information, login address information and login state information of a user; wherein, the login state information comprises: any one of automatic login and manual login; and storing the acquired login account information, login address information and login state information of the user.
In one possible implementation, automatically logging in to any one of the at least one target Wi-Fi network comprises: judging whether the user logs in the target Wi-Fi network for the first time or not; and acquiring login state information of the user for logging in the target Wi-Fi network last time based on the fact that the user does not log in the target Wi-Fi network for the first time, and logging in the target Wi-Fi network according to the acquired user login state information.
In one possible implementation, the cloud server is further configured to: when the position range information of one public place contains user position information, at least one official Wi-Fi network corresponding to the public place is obtained, and the Wi-Fi network with the maximum network signal intensity in the at least one official Wi-Fi network is used as a second Wi-Fi network to be returned to the electronic equipment; the electronic device is further to: and matching the second Wi-Fi network with the Wi-Fi network searched locally, and automatically logging in the second Wi-Fi network when the Wi-Fi network matched with the second Wi-Fi network exists in the Wi-Fi network searched locally, and displaying a login result.
In one possible implementation, the cloud server is further configured to:
acquiring position range information of a public place and official Wi-Fi information corresponding to the public place;
and storing the position range information of the public place and the official Wi-Fi information corresponding to the public place on a cloud server according to the corresponding relation.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
at least one memory for storing a program;
at least one processor for executing the memory-stored program, the processor being configured to perform the method of any one of claims 1-14 when the memory-stored program is executed.
In a fifth aspect, an embodiment of the present application provides a cloud server, including:
at least one memory for storing a program;
at least one processor configured to execute the memory-stored program, the processor configured to perform the method of any of claims 15-17 when the memory-stored program is executed.
In a sixth aspect, embodiments of the present application provide a computer storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 14 or claims 15 to 17.
In a seventh aspect, embodiments of the present application provide a computer program product comprising instructions which, when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 14 or claims 15 to 17.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating an architecture of an operating system in an electronic device according to an embodiment of the present application;
fig. 4a and 4b are schematic views of a scenario of automatically logging in a Wi-Fi network according to an embodiment of the present application;
fig. 5a and fig. 5b are schematic views of another scenario of automatically logging in to a Wi-Fi network according to an embodiment of the present application;
FIGS. 6a to 6c are schematic diagrams of various scenarios of automatically logging on a Wi-Fi network according to embodiments of the present disclosure;
FIGS. 7a and 7b are schematic diagrams of a display interface of a Wi-Fi available list according to an embodiment of the present disclosure;
FIGS. 8a and 8b are schematic diagrams of a display interface of another available Wi-Fi list provided by an embodiment of the present application;
fig. 9a to 9e are schematic views illustrating a scene for displaying and hiding a Wi-Fi network according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a display interface including a Wi-Fi network recommended to a user according to an embodiment of the present application;
fig. 11 is a schematic diagram of a notification message display interface according to an embodiment of the present application;
fig. 12 is a schematic view of another notification message display interface provided in an embodiment of the present application;
fig. 13 is a flowchart of a Wi-Fi connection method based on location information according to an embodiment of the present application;
FIG. 14 is a flowchart of another Wi-Fi connection method based on location information according to an embodiment of the present disclosure;
FIG. 15 is a flowchart of another Wi-Fi connection method based on location information according to the embodiment of the present application;
fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a cloud server according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
Any embodiment or design described herein as "exemplary," "for example," or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary," "e.g.," or "exemplary" is intended to present relevant concepts in a concrete fashion.
In the description of the embodiment of the present application, the term "and/or" is only one kind of association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time. In addition, the term "plurality" means two or more unless otherwise specified. For example, the plurality of systems refers to two or more systems, and the plurality of screen terminals refers to two or more screen terminals.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit indication of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Fig. 1 is an application scenario diagram provided in an embodiment of the present application. As shown in fig. 1, the electronic device 100 performs information interaction with a cloud server. The cloud server stores position range information of public places and official Wi-Fi network information corresponding to the position range information. When a user enters a public place, the electronic device 100 held by the user sends the acquired user position information to the cloud server, the cloud server compares the received user position information with the stored position range information of the public place, and when the position information of the user falls into the position range information of any one public place, the cloud server sends the official Wi-Fi network information corresponding to the public place to the electronic device. The electronic device matches the received official Wi-Fi network information with locally searched Wi-Fi network information. And determining at least one target Wi-Fi network therefrom. In one example, the location range information of the public place may be GPS range information of the public place, and the location information of the user may be GPS information of the user.
It is understood that, in the embodiment of the present application, the electronic device 100 may be a mobile phone, a tablet computer, a digital camera, a Personal Digital Assistant (PDA), a wearable device, a smart television, a smart screen, or the like, which has a Wi-Fi connection function. Exemplary embodiments of the electronic device include, but are not limited to, an electronic device that hosts an iOS, android, windows, dammon system (Harmony OS), or other operating system. The electronic device 100 described above may also be other electronic devices such as a laptop computer (laptop) with a touch sensitive surface (e.g., a touch panel), etc. The embodiment of the present application does not specifically limit the type of the electronic device.
Referring to fig. 2, fig. 2 shows a schematic structural diagram of an exemplary electronic device 100 provided in an embodiment of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conductor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or combine certain components or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bidirectional synchronous serial bus comprising a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of receiving a call through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to the electronic device 100, including UWB, wireless Local Area Networks (WLANs) (e.g., wireless fidelity (WiFi) network), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some embodiments of the present application, the interface content currently output by the system is displayed in the display screen 194. For example, the interface content is an interface provided by an instant messaging application.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking near the microphone 170C through the mouth. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. In some alternative embodiments of the present application, the pressure sensor 180A may be configured to capture a pressure value generated when the user's finger portion contacts the display screen and transmit the pressure value to the processor, so that the processor identifies which finger portion the user entered the user action.
The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, different touch positions may be acted on, and different operation instructions may be corresponded. In some alternative embodiments, the pressure sensor 180A may also calculate the number of touch points from the detected signals and transmit the calculated values to the processor, so that the processor recognizes the user's operation by single-finger or multi-finger input.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 about three axes (the X, Y, and Z axes of the electronic device) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C to assist in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for identifying the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and the like. In some optional embodiments of the present application, the acceleration sensor 180E may be configured to capture an acceleration value generated when a finger portion of the user touches the display screen (or when the finger of the user strikes the rear side frame of the rear case of the electronic device 100), and transmit the acceleration value to the processor, so that the processor identifies which finger portion the user inputs the user operation through.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the display screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or thereabout, which is an operation of a user's hand, elbow, stylus, or the like contacting the display screen 194. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195.
It is to be understood that the illustrated structure of the present application does not constitute a specific limitation to the electronic device 100. In other embodiments, electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Fig. 3 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The mobile terminal operating system, which is self-developed, may also refer to this structure.
1. Application layer
The application layer may include a series of application packages. As shown in fig. 3, the application packages may include life, video, map, shopping, gallery, calendar, call, navigation, music, etc. Applications (APPs).
2. Application framework layer
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include an Activity manager, a Window display manager, an application resource manager, a screen rotation module, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Window display manager is used for being responsible for the display management of windows, and the main work of the Window display manager comprises Window display levels, window display coordinates, window display dynamic effects and the like.
The Activity Activity manager is used for being responsible for managing Activity components, and the main work comprises Activity starting management, state management, life cycle management and the like.
The content provider may be used to present and retrieve data and make it accessible to applications. Such data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
3. Android Runtime and system library
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
4. Inner core layer
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The technical solutions in the following embodiments can be implemented in the electronic device 100 having the above hardware architecture and software architecture.
The following takes the electronic device 100 as a mobile phone as an example, and details the technical solution provided in the present application are described with reference to the drawings.
When a user enters any public place for the first time, the mobile phone sends the acquired user position information to the cloud server, the cloud server compares the received user position information with the stored position range information of the public place, and when the position information of the user falls into the position range information of any public place, the cloud server sends at least one official Wi-Fi network information corresponding to the public place to the mobile phone. The mobile phone matches the received at least one official Wi-Fi network information with the Wi-Fi network information searched locally, and determines at least one target Wi-Fi network information. And then selecting one Wi-Fi network from at least one target Wi-Fi network to automatically log in for the user. As shown in fig. 4a, the display on the display interface of the mobile phone after successful login includes: displaying a Wi-Fi icon on the status bar to indicate that Wi-Fi is connected, displaying a connected Wi-Fi name under the Wi-Fi icon of the notification bar, and displaying login result information through a notification message interface. The login result information includes: name information, security information and prompt information of the currently logged-in Wi-Fi network. The prompt message is used for prompting the user to disconnect the currently connected target Wi-Fi network or cancel the automatic login function by selecting a cancel button on the display interface.
In one example, as shown in fig. 4b, after the user selects the "cancel" button, a message interface as shown in fig. 4b is displayed on the display interface of the handset, through which the user can select to disconnect the currently logged-in target Wi-Fi network or select to turn off the automatic connection function or select to disconnect the currently logged-in target Wi-Fi network and turn off the automatic selection function at the same time.
It should be noted that, when the user only selects to disconnect the currently connected target Wi-Fi network, the mobile phone disconnects the currently connected target Wi-Fi network "rainboot large Free Wi-Fi 1 network", but does not turn off the automatic connection function. When the user enters the public place again, the target Wi-Fi network corresponding to the public place is still automatically connected for the user.
When the user only selects to close the automatic connection function, the mobile phone can keep the currently connected Wi-Fi network when the automatic connection function is closed. And when the user enters the public place again, the user is not automatically logged in the target Wi-Fi network of the public place. A
When the user simultaneously selects to close the current connected network and the automatic connection function, the current connected target Wi-Fi network is disconnected while the automatic connection function is closed for the user. And after the user closes the automatic login function, when the user enters the same public place again, the user does not automatically log in the target Wi-Fi network of the public place.
In the embodiment of the application, when a user enters any public place for the first time, the mobile phone automatically logs in a target Wi-Fi network of the public place where the user is located by default, and the login result is displayed to the user. The user can select whether to continue to connect with the currently connected Wi-Fi network and whether to close the automatic connection function according to the displayed login result information. The experience sense of the user logging in the target Wi-Fi network in the public place is improved.
In one possible embodiment, the cloud server sends at least one official Wi-Fi network information corresponding to the public place where the user is located to the handset. The mobile phone matches at least one received official Wi-Fi network information with the Wi-Fi network information searched locally, the local Wi-Fi network information which is successfully matched is used as target Wi-Fi network information, and then one target Wi-Fi network is selected from the target Wi-Fi networks to be used as a target Wi-Fi network which needs to be recommended to the user. Specifically, as shown in fig. 5a, a notification message including a name of a target Wi-Fi network recommended for a user and security information of the target Wi-Fi network is displayed under a notification bar. The user may select to automatically connect to the recommended target Wi-Fi network by clicking on the "ok" button in the notification message.
And when the user clicks a 'confirmation' button, automatically logging in the currently recommended target Wi-Fi network for the user, and displaying a notification result in a notification message mode.
Further, when the user clicks a 'confirmation' button to determine that the currently recommended target Wi-Fi network needs to be automatically logged in, the current automatic login program is granted the authority to read the SIM card information in the mobile phone and the authority to receive and read the short message in the mobile phone. The process of automatically logging in the currently recommended target Wi-Fi network for the user is shown in fig. 5b, and includes steps S501-S503.
Step S501, obtaining the mobile phone number of the current login mobile phone and automatically initiating login verification.
And an automatic login program in the mobile phone obtains the mobile phone number corresponding to the SIM card by reading the SIM card information of the mobile phone, and the mobile phone number is used as a target mobile phone number to initiate login verification.
In one possible embodiment, when the mobile phone used by the user has 2 SIM cards, the default mobile phone number corresponding to the SIM card which starts the default mobile data is used as the target mobile phone number. And when the mobile data is not started by 2 SIM cards in the mobile phone, the mobile phone number corresponding to the first SIM card is taken as the target mobile phone number by default.
Step S502, the verification code information in the verification short message is automatically acquired.
The method comprises the steps that after login verification is initiated, the automatic login program of the mobile phone monitors the content in a mobile phone inbox in real time, and when a new message arrives in the mobile phone inbox, the mobile phone acquisition program identifies the content of the new message and matches a corresponding verification code.
And S503, automatically logging in the currently recommended target Wi-Fi network for the user according to the acquired mobile phone number and the verification code information.
And the automatic login program of the mobile phone automatically logs in the currently recommended target Wi-Fi network for the user by adopting a login mode of a mobile phone number verification code.
In the embodiment of the present application, the login process described in steps S501 to S503 occurs in the background application of the mobile phone, and is invisible to the user.
In another possible embodiment, as shown in fig. 6a, a notification message is displayed under the notification bar, the notification message including the recommended name of the target Wi-Fi network for the user and the security information of the target Wi-Fi network. The user selects to automatically log in the recommended target Wi-Fi network by clicking on the "ok" button in the notification message.
In one example, after the user clicks the "OK" button, the login interface pops up as shown in FIG. 6 a. On the login interface as shown in fig. 6a, after the user enters the phone number, the user clicks the "get authentication code" button. Then, after the received verification code is filled in, a 'login' button is clicked, and the currently recommended target Wi-Fi network can be logged in.
In one example, the user may also select an "auto-fill verification code" option. After the user selects the option of "automatically filling the verification code", in one possible implementation, after the user inputs the mobile phone number and clicks the "acquire verification code" button, the mobile phone login program automatically fills the acquired verification information in the column of the verification code of the login interface. In another possible implementation manner, after a user inputs a mobile phone number, after clicking a "acquire verification code" button, when receiving a verification code short message, the verification code short message is displayed on a current login interface in a notification message manner, and a "copy" button is displayed on the notification message containing the verification code. The user can copy the authentication code in the notification message to the clipboard by clicking the "copy" button, and then paste the authentication code to a designated location by a paste operation.
In one possible embodiment, after clicking the "ok" button, the user pops up the login interface as shown in fig. 6b, and on the login interface as shown in fig. 6b, the user can choose to log in with the mobile phone number by one-touch.
In one possible embodiment, after clicking the "confirm" button, the user pops up the login interface as shown in fig. 6c, and on the login interface as shown in fig. 6c, the user can choose to log in through "local number authentication". After the user inputs the local number, the login program in the mobile phone judges whether the mobile phone number input by the user is consistent with the local number by calling an interface of an operator. And when the mobile phone number input by the user is consistent with the local number, logging in the target Wi-Fi network for the user. Therefore, the user can save the processes of waiting for the short message of the verification code and inputting the verification code, and the short message network can not display the verification code, thereby simplifying the login process.
In one possible embodiment, after clicking the "ok" button, the user may log in by entering an existing account number and password. When the user logs in for the first time, the user can input a mobile phone number or a mailbox in a column of an account number, and click a login button after a password set in a column of the password. When the user logs in the recommended target Wi-Fi network, the user can log in the target Wi-Fi network by using the mobile phone number or the mailbox input by the user, so that the user can directly log in the target Wi-Fi network by using the registered account number and the registered password next time.
In one possible embodiment, the handset automatically logs in directly when detecting that the target WI-FI network does not need an account password. Optionally, the mobile phone may output information that the login is successful.
In one possible embodiment, the cloud server sends at least one official Wi-Fi network information corresponding to the public place where the user is located to the handset. And the mobile phone matches at least one received official Wi-Fi network information with the Wi-Fi network information searched locally, and takes the successfully matched local Wi-Fi network information as the target Wi-Fi network information and displays the target Wi-Fi network information. As shown in fig. 7a, in the displaying, the target Wi-Fi network is preferentially displayed in the order of decreasing signal strength. Further, in the interface shown in fig. 7a, in addition to the target Wi-Fi network corresponding to the public place, other Wi-Fi networks available in the public place are also displayed. And displaying other Wi-Fi networks behind the target Wi-Fi network according to the sequence of displaying the free Wi-Fi network and displaying the paid Wi-Fi network behind the free Wi-Fi network. When the current display interface cannot display all available Wi-Fi networks, the Wi-Fi networks cannot be displayed on the interface for hiding, and a user can display other hidden Wi-Fi networks by clicking a 'more Wi-Fi' button.
Further, in the interface shown in fig. 7b, the user can click any Wi-Fi network to log in on the Wi-Fi display interface to log in. The explanation is given by the user selecting to log in the target Wi-Fi network "Rainbow large Free Wi-Fi 1". When the user clicks the 'Rainbow large Free Wi-Fi 1' in the available Wi-Fi list, a prompt message pops up on the display interface, and the user is prompted whether to select to automatically log in the 'Rainbow large Free Wi-Fi 1' network. When the user selects "yes", the user automatically logs in "rainbook well Free Wi-Fi 1", wherein the process of automatic login is the same as that of steps S501 to S503, and is not described again here, or a login interface shown in fig. 6a to 6c pops up for the user, and the process of login is the same as that described in fig. 6a to 6c, and is not described again here.
In one possible embodiment, the cloud server sends at least one official Wi-Fi network information corresponding to the public place where the user is located to the handset. After the mobile phone receives at least one official Wi-Fi network information sent by the cloud server, the received at least one official Wi-Fi network information is matched with the Wi-Fi network information searched locally, and the local Wi-Fi network information which is successfully matched is used as target Wi-Fi network information. As shown in fig. 8a, during displaying, a target Wi-Fi network may be determined from at least one target Wi-Fi network and displayed as a preselected Wi-Fi network, and then other target Wi-Fi networks except the preselected Wi-Fi network are displayed, and finally other locally searched Wi-Fi information is displayed. When other Wi-Fi networks are displayed, the free Wi-Fi networks are displayed, and then the paid Wi-Fi networks are displayed. When the current display interface cannot display all available Wi-Fi networks, the Wi-Fi networks cannot be displayed on the interface for hiding, and a user can display other hidden Wi-Fi networks in a floating window mode by clicking a 'more Wi-Fi button'.
Further, in the interface shown in fig. 8b, after the user selects the target Wi-Fi network, the user can automatically log in by clicking the "confirm" button, and prompt information is displayed after the user successfully logs in. The process of automatic login is the same as step S501-step S503, and is not described herein again. In one example, after the user selects the "confirm" button, the login interface shown in fig. 6a to 6c pops up for the user, and the login process is the same as that described in fig. 6a to 6c, and is not described herein again.
Referring to fig. 9a, in one possible embodiment, the cloud server sends at least one official Wi-Fi network information corresponding to the public place where the user is located to the handset. The mobile phone compares the received at least one official Wi-Fi network information with the Wi-Fi network information searched locally, and determines at least one target Wi-Fi network from the information. And then selecting one Wi-Fi network from the determined at least one target Wi-Fi network as the Wi-Fi network to be recommended to the user. As shown in fig. 9a, a notification message including a name of a target Wi-Fi network recommended for a user and security information of the target Wi-Fi network is displayed under a notification bar.
Further, when the target Wi-Fi network recommended by the user is displayed, other target Wi-Fi networks and other Wi-Fi networks searched locally can be hidden and displayed. As shown in FIG. 9b, when the user clicks "show more hidden Wi-Fi", the other Wi-Fi is displayed in the form of a floating window. In one possible example, as shown in FIG. 9c, the user selects "CMCC-FREE" in the floating window to log in. When the user clicks the "confirm" button, the name and security information of the "CMCC-FREE" network is displayed below the notification bar. And when the user clicks the confirmation again, automatically logging in the Wi-Fi network for the user. The process of automatic login is the same as that of steps S501 to S503, and is not described herein again, or a login interface shown in fig. 6a to 6c pops up for the user, and the login process is the same as that described in fig. 6a to 6c, and is not described herein again.
In one possible example, as shown in fig. 9 d. And when the user clicks 'more hidden Wi-Fi is displayed', displaying the Wi-Fi network currently recommended to the user and other hidden displayed Wi-Fi networks to the user in a Wi-Fi list form, wherein the Wi-Fi network currently recommended to the user is displayed at the forefront and is set as a default selected form. Further, the user can select any one of the Wi-Fi networks in the Wi-Fi list. When the user selects any one Wi-Fi network and clicks the 'confirm' button, the user is automatically logged in the Wi-Fi network. The process of automatic login is the same as steps S501 to S503, and is not described herein again, or a login interface shown in fig. 6a to 6c pops up for the user, and the login process is the same as the description of fig. 6a to 6c, and is not described herein again.
In one possible example, as shown in fig. 9 e. And when the user clicks 'display more hidden Wi-Fi', displaying the Wi-Fi network currently recommended to the user and other hidden displayed Wi-Fi networks to the user in a Wi-Fi list mode, wherein the Wi-Fi network currently recommended to the user is displayed at the forefront. The user can log in by clicking any one of the Wi-Fi networks in the Wi-Fi list. The explanation is given by the user selecting to log in "rainboot mall Free Wi-Fi 1". When the user clicks "Rainbow big Free Wi-Fi 1" in the available Wi-Fi list, the interface as shown in FIG. 7b is displayed. The login process is the same as that described for fig. 7b, and is not described again here.
In one possible embodiment, reference is made to fig. 10. The cloud server sends at least one official Wi-Fi network information corresponding to the public place where the user is located to the mobile phone. The mobile phone compares the received at least one official WI-Fi network information with the locally searched WI-Fi network information, and determines at least one target WI-Fi network from the information. And then selecting one Wi-Fi network from the determined at least one target Wi-Fi network as the Wi-Fi network needing to be recommended to the user. As shown in fig. 10, in addition to Wi-Fi network information currently recommended to the user, current location information of the user is displayed. When the user thinks that the current position information is wrong, the user can refresh the current position information by clicking a refresh button.
When the user refreshes the current position information, the mobile phone judges the refreshed position information. When the updated position information is judged to be changed, the new position information needs to be sent to the cloud server. The cloud server compares the received new user position information with the stored position range information of the public places, and when the position information of the user falls into the position range information of any one public place, the cloud server sends at least one official Wi-Fi network information corresponding to the public place to the mobile phone. The mobile phone compares the received at least one official Wi-Fi network information with the Wi-Fi network information searched locally, and determines at least one target Wi-Fi network from the information. And then selecting one Wi-Fi network from the determined at least one target Wi-Fi network as the Wi-Fi network to be recommended to the user.
In one possible embodiment, after the user enters a public place and logs on the official Wi-Fi of the public place, the signal strength of the currently connected Wi-Fi network needs to be detected in real time. And when the Wi-Fi intensity detected that the user is currently connected is smaller than a preset threshold value, the user is considered to leave the public place. At this time, the currently connected Wi-Fi network needs to be disconnected for the user, and the timing is started. If the user is detected to re-enter the public place within the preset time period, the user is automatically logged in and disconnected from the Wi-Fi network which is connected before. In one example, as shown in fig. 11, when it is detected that the user has left the public place where the user is currently located, prompt information is further included in the notification message for prompting the user to turn off the automatic login function through a "turn off" button. When the user clicks the 'close' button, the timing is stopped, and when the user enters the public place again, the user will not be automatically logged in the 'rainboot large Free Wi-Fi 1'.
It should be noted that, after a user successfully logs in a Wi-Fi network in a public place each time, the login information of the Wi-Fi network needs to be stored. Specifically, the method comprises the following steps: the name, login address and login mode of the logged-in Wi-Fi network. The login mode comprises the following steps: automatic login and manual login. When a user logs in the same Wi-Fi network for multiple times, the last stored login information of the Wi-Fi network is automatically covered when the login information of the Wi-Fi network is stored.
In one possible embodiment, the user enters a public place, and the cloud server sends at least one official Wi-Fi network message corresponding to the public place where the user is located to the mobile phone. The mobile phone compares the received at least one official WI-Fi network information with the WI-Fi network information searched locally, and determines at least one target WI-Fi network from the WI-Fi network information. And then matching at least one target Wi-Fi network with the registered Wi-Fi network stored in the mobile phone. And when a first target Wi-Fi network is matched with the registered Wi-Fi network stored in the mobile phone, determining that the user is an official Wi-Fi network which is not registered in the public place for the first time. And then logging in the first target Wi-Fi network according to the login mode in the matched logged-in Wi-Fi network.
In one example, when the user enters a certain public place for the second time and the official Wi-Fi network of the user who logged in the public place for the last time is determined to be automatically logged in, the recommended official Wi-Fi network is automatically logged in for the user, and after the login is successful, login result information is displayed for the user, as shown in fig. 12. Further, the notification message shown in fig. 12 also includes prompt information for prompting the user to turn off the automatic login function through the "off" button. After the user clicks the 'close' button, the login mode corresponding to the Wi-Fi network is saved as 'manual login', namely when the user enters the public place again, the user cannot automatically log in the 'rainblow Free Wi-Fi 1'.
In one example, matching at least one target Wi-Fi network with a registered Wi-Fi network stored in a handset includes: and comparing the Wi-Fi name and the affiliated position information of the at least one target Wi-Fi network with the stored name and login address of the logged-in Wi-Fi network. And when the name and the position information of one target Wi-Fi network in at least one target Wi-Fi network are the same as the stored name and the stored login address of any one of the logged-in Wi-Fi networks, determining the target Wi-Fi network as a first target Wi-Fi network.
In one possible embodiment, when electronic device 100 logs onto a Wi-Fi network in a public place, the distributed devices associated with the electronic device may all be made to log onto the same Wi-Fi network.
In one possible example, the electronic device 100 is a cell phone and the distributed devices associated with the electronic device include a smart watch, tablet, and the like. The mobile phone, the intelligent watch and the tablet computer all log in the same Huawei account. When a user enters a certain public place and automatically logs in an official Wi-Fi network of the public place through the mobile phone, the mobile phone stores the name and the login address of the currently logged-in Wi-Fi network into the Hua-Shi account, and sends a notification message to the intelligent watch and the tablet which log in the same Hua-Shi account, so that the intelligent watch and the tablet are triggered to perform network updating. After the intelligent watch and the tablet receive the network updating notice, the local available Wi-Fi network is searched again, and the Wi-Fi network carried in the notice message is matched with the Wi-Fi network searched locally. And when the Wi-Fi network matched with the Wi-Fi network carried in the notification message exists in the locally searched Wi-Fi network, automatically logging in the matched Wi-Fi network.
Further, in an embodiment of the present application, there is also provided a Wi-Fi connection method based on location information, as shown in fig. 13, including:
step S1301, official Wi-Fi network of the public place and public place GPS position range information are registered in a cloud server.
The method comprises the steps of obtaining position information of a plurality of public places and official Wi-Fi network information corresponding to the public places, and storing the obtained position range information of each public place and the official Wi-Fi network information corresponding to the public places on a cloud server according to a corresponding relation.
In step S1302, location information of the user is acquired.
In one example, the location information of the user may be acquired through a GPS of the device held by the user, and the acquired location information of the user may be uploaded to the cloud server.
Step S1303, judging whether the position information of the user falls within the GPS position range of the public place with the official Wi-Fi network; when the position information of the user is within the GPS position range of the public place with the official Wi-Fi network, the step S1304 is executed, otherwise, the login process is ended.
And step S1304, displaying official Wi-Fi network information corresponding to the position information in the notification bar.
And comparing the acquired position information of the user with the position range information of the public place stored in the cloud server, and when the position range information of one public place contains the position information of the cloud server, taking the public place as a target public place, namely considering that the user enters the public place.
The cloud server acquires at least one official Wi-Fi network information corresponding to the target public place and sends the at least one official Wi-Fi network information to the electronic equipment held by the user. The electronic equipment compares the received at least one official Wi-Fi network information with the locally searched Wi-Fi network information, and determines at least one target Wi-Fi network from the information. And then displaying the determined target Wi-Fi network information.
In one possible example, when displaying, a Wi-Fi network that needs to be recommended to the user may be determined from at least one target Wi-Fi network to display, and the display result is shown in fig. 5 a.
In one possible example, the determined target Wi-Fi networks may be all displayed, and the display result is shown in fig. 7a and fig. 8 a. In addition to the target Wi-Fi network, other Wi-Fi networks which are searched locally besides the target Wi-Fi network are displayed in the display interfaces shown in fig. 7a and 8 a.
In one possible example, when the display is performed, a Wi-Fi network which needs to be recommended to the user can be determined from at least one target Wi-Fi network to be displayed, and other Wi-Fi network information is hidden and displayed. As shown in fig. 9a, when the user clicks the "show more hidden Wi-Fi" button of the display interface, other hidden Wi-Fi network information is displayed. The hidden Wi-Fi network information may be displayed in a floating window manner when displayed as shown in fig. 9 b. And Wi-Fi network information needing to be recommended to the user and other hidden Wi-Fi network information can be displayed on the original display window in a Wi-Fi list mode. As shown in fig. 9d, when displaying in the Wi-Fi list, the target Wi-Fi network is preferentially displayed, and the target Wi-Fi network to be recommended to the user is selected in advance. Or as shown in fig. 9e, the target Wi-Fi network to be recommended to the user is put at the top of the Wi-Fi network list for display.
Step 1305, judging whether the user selects to automatically log in the Wi-Fi network; when the user selects to automatically log in the Wi-Fi network, step 1306 is executed, otherwise, the login process is ended.
Step 1306, automatically logging in the Wi-Fi network for the user.
In one possible example, the electronic device determines at least one target Wi-Fi network based on the official Wi-Fi network returned by the cloud server. And selecting a Wi-Fi network with the maximum signal strength from the target Wi-Fi networks, and automatically logging in the Wi-Fi network with the maximum signal strength for the user. When the login is completed, login result information as shown in fig. 4a is displayed. The login result information includes: name information, security information and prompt information of the currently logged-in Wi-Fi network. The prompt message is used for prompting the user to disconnect the currently connected target Wi-Fi network or cancel the automatic login function by selecting a cancel button on the display interface.
In one possible example, the electronic device determines a first target Wi-Fi network from at least one target Wi-Fi network as a Wi-Fi network to be recommended to the user, and displays a notification message under a notification bar, wherein the notification message comprises a name of the target Wi-Fi network recommended for the user and security information of the target Wi-Fi network. As shown in fig. 5a, 6b, 6c, the recommended target Wi-Fi network is selected to be automatically logged in by clicking the "confirm" button in the notification message.
In one possible example, the electronic device displays the obtained at least one target Wi-Fi network and other Wi-Fi networks that were searched locally but that did not match the official Wi-Fi network returned by the cloud server. As shown in fig. 8b and fig. 9b, the Wi-Fi network needing to be logged in is selected for logging in by clicking the Wi-Fi network in the notification message or a confirmation button.
In the embodiment of the application, the user scene is identified by using the position information of the user, the official Wi-Fi network is actively recommended, the verification login of the Wi-Fi network is automatically completed, and the experience of using the Wi-Fi network in a public place is improved.
In one possible embodiment, a Wi-Fi connection method based on location information is further provided when a user enters the same public place multiple times, as shown in fig. 14, including:
and step S1401, acquiring the position information of the user, and recommending the official Wi-Fi network of the public place where the user is located for the user according to the position information of the user.
Specifically, the position information of the user may be acquired by GPS position information of an electronic device held by the user.
Step S1402, judging whether the user logs in the official Wi-Fi network of the current public place for the first time; step S1403 is executed when the user logs in the official Wi-Fi network of the public place for the first time, otherwise step S1404 is executed.
And step S1403, recommending an official Wi-Fi network of the current position for the user, and determining whether to automatically log in the Wi-Fi network according to the selection of the user.
When the user logs in the Wi-Fi network of the public place for the first time, at least one target Wi-Fi network is displayed in the notification bar, and the corresponding Wi-Fi network is logged in according to the selection of the user, wherein the login process is the same as the steps S1304 to S1306, and is not repeated herein.
And step S1404, acquiring login mode information of the user at the last login, and logging in the official Wi-Fi network of the current position for the user according to the login mode at the last login.
Step S1405, determine whether the user is logged in automatically at the last time. When the last login mode of the user is automatic login, step S1406 is executed, otherwise step S1407 is executed.
And step S1406, automatically logging in the official Wi-Fi network of the current position for the user according to the position information of the user.
And comparing the acquired position information of the user with position range information of the public place stored in the cloud server, and when the position range information of one public place contains the position information of the cloud server, acquiring at least one official Wi-Fi network information corresponding to the target public place by the cloud server, and sending the at least one official Wi-Fi network information to the electronic equipment held by the user. The electronic equipment compares the received at least one official Wi-Fi network information with the Wi-Fi network information searched locally, and determines at least one target Wi-Fi network from the information. Then, matching the at least one target Wi-Fi network with the registered Wi-Fi networks stored in the mobile phone comprises: and comparing the Wi-Fi name and the affiliated position information of the at least one target Wi-Fi network with the stored name and login address of the logged-in Wi-Fi network. And when the name and the position information of one target Wi-Fi network in at least one target Wi-Fi are the same as the stored name and the login address of any one of the logged-in Wi-Fi networks, determining that the user is a Wi-Fi network which does not log in the current public place for the first time.
In one example, the target Wi-Fi network is determined as a first target Wi-Fi network, and a login mode of the user when the user logs in the first target Wi-Fi network last time is obtained. And then logs in to the first target Wi-Fi network in the same login manner as the last login. Or logging in any one of the at least one target Wi-Fi network in the same login mode as the last login.
Step S1407, the official Wi-Fi network that the current location has is recommended for the user, but the user does not log in automatically.
In the embodiment of the application, a safe, credible and automatic Wi-Fi network connection mode is provided for a user. When a user enters a public place, whether the user enters the public place for the first time is judged. And when the user is determined not to enter the public place for the first time, acquiring a login mode of logging in the official Wi-Fi network corresponding to the public place when the user enters the public place for the last time. If the user enters the public place for the last time, the user selects to automatically log in the official Wi-Fi network corresponding to the public place, the user automatically selects the official Wi-Fi network corresponding to the public place for the next time when the user enters the public place again, and the user does not need to be disturbed to inquire whether the Wi-Fi network needs to be automatically connected or not.
In one possible embodiment, there is also provided a Wi-Fi connection method based on location information, as shown in fig. 15, including:
step S1501, position range information of a public place and official Wi-Fi information corresponding to the public place are obtained.
Step S1502, storing the position range information of the public place and the official Wi-Fi information corresponding to the public place on a cloud server according to the corresponding relation.
In step S1503, the location information of the user is received.
Step S1504, comparing the position information of the user with the position range information of the public place stored on the cloud server, when the position range information of one public place contains the position information of the user, acquiring at least one official Wi-Fi network corresponding to the public place, and sending the at least one official Wi-Fi network to the user.
Based on the method in the embodiment, the embodiment of the application further provides the electronic equipment. As shown in fig. 16, the electronic apparatus 100 includes: an acquisition unit 1001, a processing unit 1002, a display unit 1003, a login unit 1004, and a storage unit 1005.
The acquisition unit 1001 is configured to acquire location information of a user and send the acquired location information of the user to the cloud server.
The processing unit 1002 is configured to match the Wi-Fi network information searched locally with at least one official Wi-Fi network information returned by the cloud server, and determine at least one target Wi-Fi network information.
The display unit 1003 is configured to display at least one target Wi-Fi network information, as shown in fig. 5a, fig. 6b, and fig. 6 c. Further, the display unit 1003 is further configured to receive an operation performed by the user on the displayed at least one target Wi-Fi network. The recommended target Wi-Fi network is automatically logged in by clicking the "ok" button in the notification message as shown in fig. 5a, 6b, 6 c.
The login unit 1004 is configured to log in the selected Wi-Fi network according to a selection of the user.
Further, after the user logs in successfully, the login information of the Wi-Fi network needs to be saved in the storage unit 1005. Specifically, the login information to be saved includes: the name, login address and login mode of the logged-in Wi-Fi network. The login method comprises the following steps: automatic login and manual login. When a user logs in the same Wi-Fi network for multiple times, the last stored login information of the Wi-Fi network is automatically covered when the login information of the Wi-Fi network is stored.
In one example, after the processing unit 1002 determines the at least one target Wi-Fi network information, a Wi-Fi network with the highest signal strength is determined as the first target Wi-Fi network from the at least one target Wi-Fi network. The user is then automatically logged in to the first target Wi-Fi network and login result information as shown in fig. 4a is displayed through the display unit 1003. Wherein, the login result information comprises: and at least one of the name information of the target Wi-Fi network, the position information corresponding to the target Wi-Fi network, the safety information of the target Wi-Fi network and the second prompt information. And the second prompt message is used for prompting the user to disconnect from the target Wi-Fi network or close the automatic login service.
In one example, the electronic device 100 further includes a timing unit, and when it is detected that the Wi-Fi intensity currently connected by the user is less than a preset threshold, the user is considered to have left the public place. At this time, the currently connected Wi-Fi network needs to be disconnected for the user, and the timing unit starts to time. If the user is detected to re-enter the public place within the preset time period, the user is automatically logged in and disconnected from the Wi-Fi network which is connected before.
Based on the method in the embodiment, the embodiment of the application further provides the cloud server. As shown in fig. 17, the cloud server 200 includes: acquisition unit 2001, processing unit 2002, memory unit 2003.
The collecting unit 2001 is configured to collect the position range information of the public place and the official Wi-Fi information corresponding to the public place, and store the collected position range information of the public place and the official Wi-Fi information corresponding to the public place in the storage unit 2002 according to the corresponding relationship.
Further, the collecting unit 2001 is further configured to receive user location information sent by the electronic device 100, and send the user location information to the processing unit 2002.
The processing unit 2002 is configured to compare the location information of the user with location range information of a public place stored on the cloud server. When the position range information of a public place contains the position information of the user, at least one official Wi-Fi network corresponding to the public place is acquired, and the at least one official Wi-Fi network is sent to the electronic device 100.
Based on the method in the foregoing embodiment, an embodiment of the present application further provides a Wi-Fi connection system based on location information, including: an electronic device 100 as shown in fig. 16 and a cloud server 200 as shown in fig. 17.
The electronic device 100 is configured to acquire the location information of the user and upload the acquired location information of the user to the cloud server 200.
After receiving the user location information transmitted by the electronic device 100, the cloud server 200 compares the user location information with the location range information of the public place stored in the cloud server 200. When the position range information of a public place contains the position information of the user, at least one official Wi-Fi network corresponding to the public place is obtained, and the at least one official Wi-Fi network is returned to the electronic device 100.
The electronic device 100 matches at least one official Wi-Fi network received from the cloud server 200 with a Wi-Fi network searched locally to determine at least one target Wi-Fi network. And then displaying the target Wi-Fi network, logging in any one target Wi-Fi network of at least one target Wi-Fi network according to the selection of the user, and displaying the login result.
In one possible example, after determining the at least one target Wi-Fi network, the electronic device 100 determines a Wi-Fi network with the highest signal strength from the at least one target Wi-Fi network as the first target Wi-Fi network. The user is then automatically logged onto the first target Wi-Fi network and login result information is displayed as shown in fig. 4 a. Wherein, the login result information comprises: and at least one of name information of the targeted Wi-Fi network, or position information corresponding to the targeted Wi-Fi network, security information of the targeted Wi-Fi network and second prompt information. And the second prompt message is used for prompting the user to disconnect from the target Wi-Fi network or close the automatic login service.
In one possible example, the electronic device determines a first target Wi-Fi network from at least one target Wi-Fi network as a Wi-Fi network to be recommended to the user, and displays a notification message under a notification bar, wherein the notification message comprises a name of the target Wi-Fi network recommended for the user and security information of the target Wi-Fi network. As shown in fig. 5a, 6b, 6c, the recommended target Wi-Fi network is selected to be automatically logged in by clicking the "ok" button in the notification message.
In one possible example, the electronic device displays the obtained at least one target Wi-Fi network and other Wi-Fi networks that were searched locally but not matched with the official Wi-Fi network returned by the cloud server. As shown in fig. 8b and fig. 9b, the Wi-Fi network needing to be logged in is selected for logging in by clicking the Wi-Fi network in the notification message or a confirmation button.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in Random Access Memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for convenience of description and distinction and are not intended to limit the scope of the embodiments of the present application.
Claims (37)
1. A Wi-Fi connection method based on position information is applied to an electronic device with a position identification function, and the method comprises the following steps:
acquiring position information of a user, and sending the position information of the user to a cloud server;
receiving at least one official Wi-Fi network information corresponding to the position information and returned by the cloud server;
matching the at least one official Wi-Fi network information with the Wi-Fi network information searched locally to determine at least one target Wi-Fi network information;
displaying first prompt information, wherein the first prompt information is used for prompting a user that the at least one target Wi-Fi network can be connected;
automatically logging in any one of the at least one target Wi-Fi network, and displaying login result information, wherein the login result information comprises: at least one of name information of the logged target Wi-Fi network, position information corresponding to the target Wi-Fi network, safety information of the target Wi-Fi network and second prompt information; wherein the second prompt message is used to prompt a user to disconnect from the target Wi-Fi network.
2. The method of claim 1, wherein the obtaining the location information of the user comprises: and acquiring the position information of the user through a GPS.
3. The method of claim 1, wherein the second prompting message is further used to prompt the user to cancel the auto-login service.
4. The method of claim 1, wherein the automatically logging into any one of the at least one target Wi-Fi network comprises:
and automatically logging in the Wi-Fi network with the maximum network signal strength in the at least one target Wi-Fi network.
5. The method according to claim 1 or 4, wherein the automatically logging comprises: at least one of account login, one-touch login and short message login.
6. The method of claim 1, wherein after determining at least one target Wi-Fi network information, further comprising:
displaying the at least one target Wi-Fi network.
7. The method of claim 6, wherein displaying the at least one target Wi-Fi network comprises:
when the at least one target Wi-Fi network is displayed, hiding and displaying other Wi-Fi network information, wherein the other Wi-Fi network information comprises: and the electronic equipment searches local Wi-Fi information which does not match with at least one official Wi-Fi network returned by the cloud server.
8. The method of claim 7, wherein displaying the at least one target Wi-Fi network further comprises: and displaying the third prompt information, and displaying the hidden other Wi-Fi network information by clicking the third prompt information.
9. The method of claim 6, wherein the displaying the at least one target Wi-Fi network comprises:
displaying a first target Wi-Fi network corresponding to the public place, wherein the first target Wi-Fi network is a Wi-Fi network with the maximum network signal intensity in at least one target Wi-Fi network corresponding to the public place; or,
and displaying at least one target Wi-Fi network, wherein the at least one target Wi-Fi network is displayed according to the sequence of network signal intensity from large to small.
10. The method of claim 9, wherein the displaying the at least one target Wi-Fi network information comprises:
displaying name information and safety information of the target Wi-Fi network;
displaying second prompt information, wherein the second prompt information is used for prompting a user to select to automatically log in the target Wi-Fi network or manually log in the target Wi-Fi network.
11. The method of any of claims 6-10, wherein the displaying the at least one target Wi-Fi network further comprises:
displaying current position information of a user; wherein, the current position information can be refreshed;
when a user carries out refreshing operation on the current position information and the refreshed position information changes, sending the refreshed position information to the cloud server and receiving result information returned by the cloud server;
and updating and displaying at least one piece of target Wi-Fi network information based on that the result information comprises at least one piece of target Wi-Fi network information corresponding to the current position information.
12. The method of claim 1, wherein after automatically logging into any of the at least one target Wi-Fi network, further comprising: when the fact that the user leaves the public place corresponding to the currently logged-in Wi-Fi network is detected, the connected target Wi-Fi network is disconnected, prompt information is displayed, and the prompt information is used for prompting the user to re-enter the public place within a preset time period and automatically log in the target Wi-Fi network corresponding to the public place.
13. The method of claim 1, wherein after automatically logging into any of the at least one target Wi-Fi network, further comprising:
acquiring login account information, login address information and login state information of a user; the login state information includes: any one of automatic login and manual login;
and storing the acquired login account information, login address information and login state information of the user.
14. The method of claim 13, wherein the automatically logging into any one of the at least one target Wi-Fi network comprises:
judging whether a user logs in the target Wi-Fi network for the first time or not;
and acquiring login state information of the user for logging in the target Wi-Fi network last time based on the fact that the user does not log in the target Wi-Fi network for the first time, and logging in the target Wi-Fi network according to the acquired user login state information.
15. A Wi-Fi connection method based on position information is applied to a cloud server, and is characterized in that the method comprises the following steps:
receiving position information of a user;
comparing the location information of the user with location range information of a public place stored on the cloud server;
when the position range information of a public place contains the position information of the user, at least one official Wi-Fi network corresponding to the public place is obtained, the at least one official Wi-Fi network is sent to the user, and the at least one official Wi-Fi network is used for the terminal to automatically log in the Wi-Fi network.
16. The method of claim 15, further comprising:
acquiring position range information of a public place and official Wi-Fi information corresponding to the public place;
and storing the position range information of the public place and the official Wi-Fi information corresponding to the public place on a cloud server according to the corresponding relation.
17. The method of claim 15, wherein obtaining at least one official Wi-Fi network corresponding to the public place and sending the at least one official Wi-Fi network to a user comprises:
and returning the Wi-Fi network with the maximum network signal strength in the at least one official Wi-Fi network to the user.
18. A Wi-Fi connection system based on position information comprises an electronic device and a cloud server, and is characterized in that,
the electronic equipment is used for acquiring user position information and uploading the user position information to the cloud server;
the cloud server is used for comparing the position information of the user with the position range information of the public place stored on the cloud server; when the position range information of a public place contains the user position information, acquiring at least one official Wi-Fi network corresponding to the public place, and returning the at least one official Wi-Fi network information to the electronic equipment;
the electronic equipment is further used for matching the at least one official Wi-Fi network information with the Wi-Fi network information searched locally, determining at least one target Wi-Fi network information and displaying first prompt information, wherein the first prompt information is used for prompting a user that the at least one target Wi-Fi network can be connected;
the electronic device is further configured to automatically log in to the at least one target Wi-Fi network and display login result information, where the login result information includes: at least one of name information of a target Wi-Fi network which is logged in, position information corresponding to the target Wi-Fi network, safety information of the target Wi-Fi network and second prompt information; the second prompt message is used for prompting the user to disconnect from the target Wi-Fi network.
19. The system of claim 18, wherein the electronic device is further configured to obtain location information of the user via GPS.
20. The system of claim 18, wherein the second prompting message is further configured to prompt the user to cancel the auto-login service.
21. The system of claim 18, wherein the automatically logging into any one of the at least one target Wi-Fi network comprises:
and automatically logging in the Wi-Fi network with the maximum network signal strength in the at least one target Wi-Fi network.
22. The system according to claim 18 or 21, wherein the automatic login comprises: at least one of account login, one-touch login and short message login.
23. The system of claim 18, wherein the electronic device is further configured to:
and displaying the at least one target Wi-Fi network.
24. The system of claim 23, wherein displaying the at least one target Wi-Fi network comprises:
when the at least one target Wi-Fi network is displayed, hiding and displaying other Wi-Fi network information, wherein the other Wi-Fi network information comprises: and the electronic equipment searches local Wi-Fi information which does not match with at least one official Wi-Fi network returned by the cloud server.
25. The system of claim 24, wherein displaying the at least one target Wi-Fi network further comprises: and displaying the third prompt information, and displaying the hidden other Wi-Fi network information by clicking the third prompt information.
26. The system of claim 23, wherein the displaying the at least one target Wi-Fi network comprises:
displaying a first target Wi-Fi network corresponding to the public place, wherein the first target Wi-Fi network is a Wi-Fi network with the maximum network signal intensity in at least one target Wi-Fi network corresponding to the public place; or,
and displaying at least one target Wi-Fi network according to the sequence of network signal intensity from large to small.
27. The system of claim 26, wherein the displaying the at least one target Wi-Fi network information comprises:
displaying name information and safety information of the target Wi-Fi network;
displaying second prompt information, wherein the second prompt information is used for prompting a user to select to automatically log in the target Wi-Fi network or manually log in the target Wi-Fi network.
28. The system according to any of claims 23-27, wherein said displaying said at least one target Wi-Fi network further comprises:
displaying current position information of a user; wherein, the current position information can be refreshed;
when a user carries out refreshing operation on the current position information and the refreshed position information changes, sending the refreshed position information to the cloud server and receiving result information returned by the cloud server;
and updating and displaying at least one piece of target Wi-Fi network information based on that the result information comprises at least one piece of target Wi-Fi network information corresponding to the current position information.
29. The system of claim 18, wherein the electronic device is further configured to:
when the fact that the user leaves the public place corresponding to the currently logged-in Wi-Fi network is detected, the connected target Wi-Fi network is disconnected, prompt information is displayed, and the prompt information is used for prompting the user to re-enter the public place within a preset time period and automatically log in the target Wi-Fi network corresponding to the public place.
30. The system of claim 18, wherein the electronic device is further configured to:
acquiring login account information, login address information and login state information of a user; the login state information includes: automatic login and manual login;
and storing the acquired login account information, login address information and login state information of the user.
31. The system of claim 30, wherein the automatically logging into any one of the at least one target Wi-Fi networks comprises:
judging whether a user logs in the target Wi-Fi network for the first time or not;
and acquiring login state information of the user for logging in the target Wi-Fi network last time based on the fact that the user does not log in the target Wi-Fi network for the first time, and logging in the target Wi-Fi network according to the acquired user login state information.
32. The system of claim 18, wherein the cloud server is further configured to:
when the position range information of a public place contains the user position information, at least one official Wi-Fi network corresponding to the public place is obtained, and the Wi-Fi network with the maximum network signal intensity in the at least one official Wi-Fi network is used as a second Wi-Fi network to be returned to the electronic equipment;
the electronic device is further configured to: and matching the second Wi-Fi network with the Wi-Fi network searched locally, and automatically logging in the second Wi-Fi network when the Wi-Fi network matched with the second Wi-Fi network exists in the Wi-Fi network searched locally, and displaying a login result.
33. The system of claim 18, wherein the cloud server is further configured to:
acquiring position range information of a public place and official Wi-Fi information corresponding to the public place;
and storing the position range information of the public place and the official Wi-Fi information corresponding to the public place on a cloud server according to the corresponding relation.
34. An electronic device, comprising:
at least one memory for storing a program;
at least one processor for executing the memory-stored program, the processor for performing the method of any one of claims 1-14 when the memory-stored program is executed.
35. A cloud server, comprising:
at least one memory for storing a program;
at least one processor for executing the memory-stored program, the processor being configured to perform the method of any of claims 15-17 when the memory-stored program is executed.
36. A computer-readable medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of any of claims 1-14 or claims 15-17.
37. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-14 or claims 15-17.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110904401.XA CN115706916A (en) | 2021-08-06 | 2021-08-06 | Wi-Fi connection method and device based on position information |
PCT/CN2022/108293 WO2023011289A1 (en) | 2021-08-06 | 2022-07-27 | Wi-fi connection method and apparatus based on location information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110904401.XA CN115706916A (en) | 2021-08-06 | 2021-08-06 | Wi-Fi connection method and device based on position information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115706916A true CN115706916A (en) | 2023-02-17 |
Family
ID=85155223
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110904401.XA Pending CN115706916A (en) | 2021-08-06 | 2021-08-06 | Wi-Fi connection method and device based on position information |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115706916A (en) |
WO (1) | WO2023011289A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117014803B (en) * | 2023-07-06 | 2024-08-27 | 荣耀终端有限公司 | Positioning method, recommending method, readable medium and electronic device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104837215A (en) * | 2015-04-14 | 2015-08-12 | 广东欧珀移动通信有限公司 | Wireless access point connecting method and device |
CN105744523A (en) * | 2016-02-29 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | WIFI connection method and mobile terminal |
US11425639B2 (en) * | 2016-10-24 | 2022-08-23 | International Business Machines Corporation | Trusted method for consuming and sharing Wi-Fi internet access |
CN106507360A (en) * | 2016-11-24 | 2017-03-15 | 奇酷互联网络科技(深圳)有限公司 | A kind of WIFI network access control method and device |
CN107294977A (en) * | 2017-06-28 | 2017-10-24 | 迈普通信技术股份有限公司 | The method and device of Wi Fi secure connections |
-
2021
- 2021-08-06 CN CN202110904401.XA patent/CN115706916A/en active Pending
-
2022
- 2022-07-27 WO PCT/CN2022/108293 patent/WO2023011289A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2023011289A1 (en) | 2023-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102470275B1 (en) | Voice control method and electronic device | |
CN113704014B (en) | Log acquisition system, method, electronic device and storage medium | |
CN113645351B (en) | Application interface interaction method, electronic device and computer-readable storage medium | |
CN110058777B (en) | Method for starting shortcut function and electronic equipment | |
CN112231025B (en) | UI component display method and electronic equipment | |
CN110381282B (en) | Video call display method applied to electronic equipment and related device | |
CN110138959B (en) | Method for displaying prompt of human-computer interaction instruction and electronic equipment | |
CN110114747B (en) | Notification processing method and electronic equipment | |
CN114173000B (en) | Method, electronic equipment and system for replying message and storage medium | |
CN110543287A (en) | Screen display method and electronic equipment | |
CN113496426A (en) | Service recommendation method, electronic device and system | |
CN112130714B (en) | Keyword search method capable of learning and electronic equipment | |
CN111602108B (en) | Application icon display method and terminal | |
CN114173204A (en) | Message prompting method, electronic equipment and system | |
CN114095599B (en) | Message display method and electronic equipment | |
CN113254409A (en) | File sharing method, system and related equipment | |
CN113452945A (en) | Method and device for sharing application interface, electronic equipment and readable storage medium | |
CN112527093A (en) | Gesture input method and electronic equipment | |
CN113641271A (en) | Application window management method, terminal device and computer readable storage medium | |
CN113141483B (en) | Screen sharing method based on video call and mobile device | |
CN114995715B (en) | Control method of floating ball and related device | |
CN114911400A (en) | Method for sharing pictures and electronic equipment | |
CN112532508B (en) | Video communication method and video communication device | |
WO2023011289A1 (en) | Wi-fi connection method and apparatus based on location information | |
CN113590346B (en) | Method and electronic equipment for processing service request |
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 |