CN107889191B - Connection method, device and equipment of wireless local area network and computer readable storage medium - Google Patents

Connection method, device and equipment of wireless local area network and computer readable storage medium Download PDF

Info

Publication number
CN107889191B
CN107889191B CN201710854193.0A CN201710854193A CN107889191B CN 107889191 B CN107889191 B CN 107889191B CN 201710854193 A CN201710854193 A CN 201710854193A CN 107889191 B CN107889191 B CN 107889191B
Authority
CN
China
Prior art keywords
access point
wireless access
terminal
point information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710854193.0A
Other languages
Chinese (zh)
Other versions
CN107889191A (en
Inventor
张华嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shangxiang Network Technology Co.,Ltd.
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Publication of CN107889191A publication Critical patent/CN107889191A/en
Application granted granted Critical
Publication of CN107889191B publication Critical patent/CN107889191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a wireless local area network connection method, a wireless local area network connection device and a computer readable storage medium. On one hand, the embodiment of the invention sends the wireless access point information of the terminal to the server by acquiring the wireless access point information of the terminal, the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal, enabling reception of access point information of at least one wireless access point in the vicinity of the terminal transmitted by the server, in this way, a specific application running on the terminal, for example, a third-party networking application or the like, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point in the vicinity of the terminal, and can avoid the increase of processing burden of the terminal operating system caused by the terminal operating system performing the access processing of the wireless local area network of the terminal in the prior art, thereby reducing the power consumption of the terminal.

Description

Connection method, device and equipment of wireless local area network and computer readable storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to network technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for connecting a wireless local area network.
[ background of the invention ]
With the development of communication technology, terminals integrate more and more functions, so that more and more corresponding Applications (APPs) are included in a system function list of the terminal. Some applications may involve internet services, such as WeChat, QQ, etc. APP. In order to increase the access speed of the internet while reducing the traffic charges of the terminal, the terminal may be connected to the internet using a Wireless local area network, for example, a Wireless Fidelity (Wi-Fi) network or the like. Generally, a user needs to operate a system page where a system native wireless access point list of a terminal is located, and trigger a terminal operating system to perform access processing of a wireless local area network of the terminal, so that the terminal accesses the wireless local area network.
However, since the access operation of the wireless local area network completely depends on the system page where the system native wireless access point list of the operation terminal is located, it is always necessary to switch to the system page where the system native wireless access point list of the terminal is located, and the terminal operation system performs the access processing of the wireless local area network of the terminal according to the operation of the user based on the system page, so that the terminal accesses the wireless local area network, which increases the processing load of the terminal operation system, thereby causing an increase in power consumption of the terminal.
[ summary of the invention ]
Aspects of the present invention provide a method, an apparatus, a device and a computer readable storage medium for connecting a wireless local area network, so as to reduce power consumption of a terminal.
In one aspect of the present invention, a method for connecting a wireless local area network is provided, including:
acquiring wireless access point information of a terminal;
sending the wireless access point information of the terminal to a server, so that the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal;
and receiving access point information of at least one wireless access point nearby the terminal, which is sent by the server.
In another aspect of the present invention, another method for connecting a wireless local area network is provided, including:
receiving wireless access point information of a terminal, which is sent by the terminal;
according to the wireless access point information of the terminal, matching processing is carried out in the access point information of at least one wireless access point group so as to match the access point information of at least one wireless access point near the terminal, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association relation;
and sending access point information of at least one wireless access point near the terminal to the terminal.
In another aspect of the present invention, a connection device for a wireless local area network is provided, including:
the terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring wireless access point information of the terminal;
a sending unit, configured to send the wireless access point information of the terminal to a server, so that the server matches access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal;
a receiving unit, configured to receive access point information of at least one wireless access point near the terminal, sent by the server.
In another aspect of the present invention, another connection device for a wireless local area network is provided, including:
the receiving unit is used for receiving wireless access point information of the terminal, which is sent by the terminal;
a recommending unit, configured to perform matching processing in the access point information of at least one wireless access point group according to the wireless access point information of the terminal, so as to match access point information of at least one wireless access point near the terminal, where each wireless access point group in the at least one wireless access point group includes multiple wireless access points having an association relationship;
a sending unit, configured to send, to the terminal, access point information of at least one wireless access point in the vicinity of the terminal.
In another aspect of the present invention, there is provided an apparatus comprising:
at least one processor;
a storage device for storing at least one program,
when the at least one program is executed by the at least one processor, the at least one program causes the at least one processor to implement a method for connecting to a wireless local area network as provided in the above aspect.
In another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements a method for connecting to a wireless local area network as provided in the above aspect.
In another aspect of the present invention, there is provided an apparatus comprising:
at least one processor;
a storage device for storing at least one program,
when the at least one program is executed by the at least one processor, the at least one program causes the at least one processor to implement another method for connecting to a wireless local area network as provided in the above-mentioned aspect.
In another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements another method for connecting to a wireless local area network as provided in the above aspect.
As can be seen from the foregoing technical solutions, on one hand, in the embodiments of the present invention, by acquiring the wireless access point information of the terminal, and further sending the wireless access point information of the terminal to the server, so that the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal, so as to be able to receive the access point information of the at least one wireless access point near the terminal, which is sent by the server, and thus, a specific application running on the terminal, for example, a third-party networking application, and the like, can perform access processing on the wireless local area network of the terminal based on the access point information of the at least one wireless access point near the terminal, and can avoid an increase in processing load of the terminal operating system due to the terminal operating system performing access processing on the wireless local area network of the terminal in the prior art, thereby reducing power consumption of the terminal.
As can be seen from the foregoing technical solutions, on the other hand, in the embodiments of the present invention, by receiving the wireless access point information of the terminal sent by the terminal, and further performing matching processing in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point in the vicinity of the terminal, so that the access point information of the at least one wireless access point in the vicinity of the terminal can be sent to the terminal, so that a specific application running on the terminal, for example, a third party networking application, and the like, can perform access processing of the wireless local area network of the terminal based on the access point information of the at least one wireless access point in the vicinity of the terminal, and increase of processing load of the terminal operating system due to the terminal operating system performing access processing of the wireless local area network of the terminal in the prior art can be, thereby reducing power consumption of the terminal.
In addition, by adopting the technical scheme provided by the invention, under the condition that the terminal operating system does not open an acquisition interface of the access point information of the system native wireless access point list to the outside, the specific application running on the terminal, such as a third-party networking application and the like, can still obtain the access point information of at least one wireless access point near the terminal, and then access processing of the wireless local area network of the terminal is carried out based on the obtained access point information of at least one wireless access point near the terminal, so that the reliability of wireless local area network connection can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the user experience can be effectively improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the embodiments or the prior art descriptions will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for connecting a wlan according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another wlan connection method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a connection device of a wireless local area network according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of another connection device for a wireless local area network according to another embodiment of the present invention;
FIG. 5 is a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terminal according to the embodiment of the present invention may include, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a Personal Computer (PC), an MP3 player, an MP4 player, a wearable device (e.g., smart glasses, smart watch, smart bracelet, etc.), and the like.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a flowchart illustrating a method for connecting a wireless local area network according to an embodiment of the present invention, as shown in fig. 1.
101. And acquiring wireless access point information of the terminal.
The wireless access point information of the terminal may include, but is not limited to, at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal, which is not particularly limited in this embodiment.
102. And sending the wireless access point information of the terminal to a server, so that the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal.
103. And receiving access point information of at least one wireless access point nearby the terminal, which is sent by the server.
It should be noted that part or all of the execution subjects 101 to 103 may be an application located in the local terminal, or may also be a functional unit such as a plug-in or Software Development Kit (SDK) provided in the application located in the local terminal, which is not particularly limited in this embodiment.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, and this embodiment is not particularly limited thereto.
Thus, by acquiring the wireless access point information of the terminal and further transmitting the wireless access point information of the terminal to the server, the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal, enabling reception of access point information of at least one wireless access point in the vicinity of the terminal transmitted by the server, in this way, a specific application running on the terminal, for example, a third-party networking application or the like, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point in the vicinity of the terminal, and can avoid the increase of processing burden of the terminal operating system caused by the terminal operating system performing the access processing of the wireless local area network of the terminal in the prior art, thereby reducing the power consumption of the terminal.
In the present invention, the terminal receives the access point information of at least one wireless access point near the terminal sent by the server, and may store the current location of the terminal and the access point information of at least one wireless access point near the terminal in a storage device of the terminal.
If the position of the terminal does not change, the terminal can perform access processing of a wireless local area network based on the stored access point information of at least one wireless access point near the terminal; if the position of the terminal changes, then 101-103 can be executed again.
In a specific implementation process, the storage device may be a slow storage device, specifically, a hard disk of a computer system, or may also be a non-operating Memory of a mobile phone, that is, a physical Memory, such as a Read-Only Memory (ROM), a Memory card, and the like, which is not limited in this embodiment.
In another specific implementation process, the storage device may also be a fast storage device, specifically a Memory of a computer system, or may also be a running Memory of a mobile phone, that is, a system Memory, for example, a Random Access Memory (RAM), and the like, which is not particularly limited in this embodiment.
If the terminal does not store the access point information of at least one wireless access point near the terminal, 101-103 can be executed.
In the invention, the wireless access point information of the terminal can be acquired according to the current network connection state of the terminal. For example, if the current network connection state of the terminal is mobile communication network connection, at least one of the location information of the terminal and the access point information of the nearby wireless access point scanned by the terminal may be acquired as the wireless access point information of the terminal; alternatively, for another example, if the current network connection state of the terminal is a wireless local area network connection, at least one of the location information of the terminal, the access point information of the wireless access point currently accessed by the terminal, and the access point information of the nearby wireless access point scanned by the terminal may be acquired as the wireless access point information of the terminal, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, in 101, the location information of the terminal included in the acquired wireless access point information of the terminal may include, but is not limited to, at least one of geographic location data of the terminal and base station data of a base station to which the terminal belongs, which is not particularly limited in this embodiment.
In a specific implementation process, the terminal may specifically adopt a Global Positioning System (GPS) Positioning technology, a Wi-Fi Positioning technology, a base station Positioning technology, a sensor Positioning technology, or other Positioning technologies to obtain the geographic position data of the terminal.
In another specific implementation process, since the terminal always needs to be connected to a base station of a certain mobile communication network when performing a communication service, the location range of the terminal, that is, the coverage range of the base station, can be reflected by the base station to which the terminal is connected. Then, the terminal may specifically obtain base station data of the base station to which the terminal is connected, for example, data such as a base station identifier of the base station, geographical location data of the base station, and the like.
Optionally, in a possible implementation manner of this embodiment, in 101, the access point information of the wireless access point currently accessed by the terminal, which is included in the obtained wireless access point information of the terminal, refers to identification data capable of uniquely identifying the wireless access point, and may be a MAC address of the wireless access point currently accessed by the terminal, such as a Basic Service Set Identifier (BSSID) in a Wi-Fi network, or may also be a MAC address of the wireless access point currently accessed by the terminal and a name of the wireless access point currently accessed by the terminal, such as a Service Set Identifier (SSID) in the Wi-Fi network, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, in 101, the access point information of the nearby wireless access point scanned by the terminal, which is included in the acquired wireless access point information of the terminal, refers to access point information of a wireless access point to which the terminal is currently connectable.
In a specific implementation process, when an access point information acquisition interface of a system native wireless access point list is opened to the outside by a terminal operating system such as an android operating system, list data of the system native wireless access point list of the terminal may be directly acquired through the opened acquisition interface to serve as access point information of a nearby wireless access point scanned by the terminal.
In another specific implementation procedure, in a case where the terminal operating system, such as the IOS operating system, does not have an interface for acquiring the access point information of the native wireless access point list of the open system, specifically, the scanning process of the wireless local area network may be performed by a specific application, for example, a third party networking application, so as to obtain the access point information of the wireless access point to which the terminal is currently connected.
In the present invention, after acquiring the wireless access point information of the terminal, the access point information of the wireless access point currently accessed by the terminal may be sent to a server, or the location information of the terminal may also be sent to the server, or the access point information of the nearby wireless access point scanned by the terminal may also be sent to the server, or the location information of the terminal and the access point information of the wireless access point currently accessed by the terminal may also be sent to the server, or the location information of the terminal and the access point information of the nearby wireless access point scanned by the terminal may also be sent to the server, or the access point information of the wireless access point currently accessed by the terminal and the access point information of the nearby wireless access point scanned by the terminal may also be sent to the server, or the location information of the terminal, the access point information of the wireless access point currently accessed by the terminal, The access point information of the wireless access point currently accessed by the terminal and the access point information of the nearby wireless access point scanned by the terminal are not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, before 102, access point information of nearby wireless access points scanned by the terminal may be further sent to the server, so that the server obtains access point information of at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by other terminals except the terminal, where each wireless access point group in the at least one wireless access point group includes multiple wireless access points having an association relationship.
The access point information of the wireless access point may include, but is not limited to, a name of the wireless access point, a location of the wireless access point, a signal strength of the wireless access point, a signal quality of the wireless access point, and the like.
Specifically, the terminal may specifically send access point information of the nearby wireless access points scanned by the terminal to the server at regular time or in real time.
In this implementation, after receiving the access point information of the nearby wireless access point scanned by the terminal, the server may perform storage processing on the access point information of the nearby wireless access point scanned by the terminal. In particular, the server may store access point information of nearby wireless access points scanned by the terminal in a storage device.
In a specific implementation process, the storage device may be a slow storage device, specifically, a hard disk of a computer system, or may also be a non-operating Memory of a mobile phone, that is, a physical Memory, such as a Read-Only Memory (ROM), a Memory card, and the like, which is not limited in this embodiment.
In another specific implementation process, the storage device may also be a fast storage device, specifically a Memory of a computer system, or may also be a running Memory of a mobile phone, that is, a system Memory, for example, a Random Access Memory (RAM), and the like, which is not particularly limited in this embodiment.
Similarly, after the server receives the access point information of the nearby wireless access point scanned by the other terminal sent by the other terminal except the terminal, the access point information of the nearby wireless access point scanned by the other terminal may also be stored, which may be referred to for details about the access point information of the nearby wireless access point scanned by the terminal, and is not described herein again.
In this implementation manner, the server may specifically obtain access point information of at least one wireless access point group according to access point information of nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by the other terminal, where each wireless access point group in the at least one wireless access point group includes multiple wireless access points having an association relationship.
Specifically, the server may perform sorting and analysis processing according to access point information of nearby wireless access points scanned by the terminal and access point information of nearby wireless access points scanned by the other terminal, and obtain access point information of at least one wireless access point group by using a preset analysis policy, where each wireless access point group in the at least one wireless access point group includes a plurality of wireless access points having an association relationship.
For example, at least two wireless access points that can simultaneously appear in a specified number of nearby wireless access points scanned by, for example, 10 terminals may be set as a group of wireless access points having an association relationship.
Or, for another example, at least two wireless access points among nearby wireless access points that can simultaneously appear a specified number of times, for example, 10 times, of the same terminal may be set as a group of wireless access points having an association relationship.
In this implementation manner, the server may further perform filtering processing on each group of obtained wireless access points having an association relationship by using the positions of the wireless access points included in the access point information, and filter out wireless access points farther from other wireless access points.
Optionally, in a possible implementation manner of this embodiment, after 102, after the server receives the wireless access point information of the terminal sent by the terminal, the server may specifically execute corresponding matching processing according to different data.
In a specific implementation process, the wireless access point information of the terminal includes location information of the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the location information of the terminal to obtain one or more wireless access points in the vicinity of the location information of the terminal, and then may use the wireless access point group to which the one or more wireless access points belong as the at least one wireless access point in the vicinity of the terminal.
In another specific implementation process, the wireless access point information of the terminal includes access point information of a wireless access point to which the terminal is currently accessed; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the wireless access point to which the terminal is currently accessed, so as to obtain a matching result of the wireless access point to which the terminal is currently accessed, and if the matching result is a successful matching, the wireless access point group to which the wireless access point to which the terminal is currently accessed belongs may be used as the at least one wireless access point near the terminal.
In another specific implementation procedure, the wireless access point information of the terminal includes access point information of nearby wireless access points scanned by the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal to obtain a matching result of each nearby wireless access point scanned by the terminal, and further, may use a wireless access point included in the wireless access point group to which the nearby wireless access point belongs, the matching result of which is successful, as the at least one wireless access point nearby the terminal.
In another specific implementation process, the wireless access point information of the terminal includes location information of the terminal and access point information of a wireless access point to which the terminal is currently accessed; the server may perform matching processing in the access point information of the at least one wireless access point group according to the location information of the terminal to obtain one or more wireless access points in the vicinity of the location information of the terminal, further, according to the access point information of the wireless access point currently accessed by the terminal, matching processing is carried out in the access point information of at least one wireless access point group to obtain the matching result of the wireless access point accessed by the terminal at present, if the matching result is successful, based on access point information of one or more wireless access points in the vicinity of the location information of the terminal, then, matching processing may be performed in a wireless access point group to which the wireless access point currently accessed by the terminal belongs, and the wireless access point successfully matched is taken as at least one wireless access point near the terminal.
In another specific implementation procedure, the wireless access point information of the terminal includes location information of the terminal and access point information of nearby wireless access points scanned by the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the location information of the terminal to obtain one or more wireless access points near the location information of the terminal, further perform matching processing in the access point information of the wireless access point group to which the one or more wireless access points near the location information of the terminal belong according to the access point information of the nearby wireless access points scanned by the terminal to obtain a matching result of each nearby wireless access point scanned by the terminal, and then may use, as the at least one wireless access point near the terminal, a wireless access point included in the wireless access point group to which the nearby wireless access point belongs whose matching result is successful.
In another specific implementation process, the wireless access point information of the terminal includes access point information of a wireless access point to which the terminal currently accesses and access point information of a nearby wireless access point scanned by the terminal; then, the server may perform matching processing in the access point information of the nearby wireless access point scanned by the terminal according to the access point information of the wireless access point currently accessed by the terminal to obtain a matching result of the wireless access point currently accessed by the terminal, and if the matching result is a matching success, may use a wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point nearby the terminal.
In another specific implementation process, the wireless access point information of the terminal includes location information of the terminal, access point information of a wireless access point to which the terminal currently accesses, and access point information of a nearby wireless access point scanned by the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the wireless access point to which the terminal is currently accessed, so as to obtain a matching result of the wireless access point to which the terminal is currently accessed, and if the matching result is successful, perform matching processing in the wireless access point group to which the wireless access point to which the terminal is currently accessed belongs according to the access point information of one or more wireless access points near the location information of the terminal and the access point information of the nearby wireless access points scanned by the terminal, so as to use the wireless access point that is successfully matched as the at least one wireless access point near the terminal.
After matching the access point information of at least one wireless access point in the vicinity of the terminal, the server may perform sorting processing on the wireless access points to which the terminal can connect according to at least one of the number of times of reception of each wireless access point, that is, the number of scans, the signal quality of each wireless access point, and the number of terminals scanning each wireless access point, and return the access point information of all the wireless access points or part of the wireless access points subjected to the sorting processing to the terminal for a specific application running on the terminal, for example, a third party networking application, to output the access point information to a user of the terminal.
In a specific implementation process, multiple visualization manners may be specifically adopted to output the access point information of the wireless access points subjected to the sorting processing, which is not particularly limited in this embodiment.
After a specific application running on the terminal, for example, a third-party networking application or the like, outputs the access point information of the ordered wireless access points to the user of the terminal, the user may then operate the access point information of one of the wireless access points based on the access point information of the ordered wireless access points, so that the specific application performs an access operation of the wireless access point.
Based on the technical scheme provided by the invention, the method can be applied to any existing APP of Wi-Fi management class, such as third-party networking application and the like, and because the specific application running on the terminal, such as the third-party networking application and the like, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point near the terminal, the increase of the processing burden of the terminal operating system caused by the fact that the terminal operating system performs the access processing of the wireless local area network of the terminal in the prior art can be avoided, so that the power consumption of the terminal is reduced.
In the embodiment, by acquiring the wireless access point information of the terminal and further sending the wireless access point information of the terminal to the server, the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal, enabling reception of access point information of at least one wireless access point in the vicinity of the terminal transmitted by the server, in this way, a specific application running on the terminal, for example, a third-party networking application or the like, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point in the vicinity of the terminal, and can avoid the increase of processing burden of the terminal operating system caused by the terminal operating system performing the access processing of the wireless local area network of the terminal in the prior art, thereby reducing the power consumption of the terminal.
In addition, by adopting the technical scheme provided by the invention, under the condition that the terminal operating system does not open an acquisition interface of the access point information of the system native wireless access point list to the outside, the specific application running on the terminal, such as a third-party networking application and the like, can still obtain the access point information of at least one wireless access point near the terminal, and then access processing of the wireless local area network of the terminal is carried out based on the obtained access point information of at least one wireless access point near the terminal, so that the reliability of wireless local area network connection can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the user experience can be effectively improved.
Fig. 2 is a flowchart illustrating another wlan connection method according to another embodiment of the present invention, as shown in fig. 2.
201. And receiving wireless access point information of the terminal, which is sent by the terminal.
The wireless access point information of the terminal may include, but is not limited to, at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal, which is not particularly limited in this embodiment.
202. And performing matching processing in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association relation.
203. And sending access point information of at least one wireless access point near the terminal to the terminal.
In this way, a specific application running on the terminal, for example, a third-party networking application, can obtain access point information of at least one wireless access point in the vicinity of the terminal, and then perform access processing of the wireless local area network of the terminal based on the obtained access point information of the at least one wireless access point in the vicinity of the terminal.
It should be noted that all or part of the execution subjects of 201 to 203 may be processing engines located in a network side server, or may also be distributed systems located on a network side, which is not particularly limited in this embodiment.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, and this embodiment is not particularly limited thereto.
Thus, by receiving the wireless access point information of the terminal transmitted by the terminal, and further according to the wireless access point information of the terminal, performing matching processing in the access point information of at least one wireless access point group to match out the access point information of at least one wireless access point near the terminal, enabling transmission of access point information of at least one wireless access point in the vicinity of the terminal to the terminal, in this way, a specific application running on the terminal, for example, a third-party networking application or the like, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point in the vicinity of the terminal, and can avoid the increase of processing burden of the terminal operating system caused by the terminal operating system performing the access processing of the wireless local area network of the terminal in the prior art, thereby reducing the power consumption of the terminal.
In the present invention, access point information of a wireless access point currently accessed by a terminal, which is sent by the terminal, may be received, or location information of the terminal, which is sent by the terminal, may be received, or access point information of a nearby wireless access point scanned by the terminal, which is sent by the terminal, may be received, or location information of the terminal, which is sent by the terminal, and access point information of a nearby wireless access point currently accessed by the terminal, may be received, or location information of the terminal, which is sent by the terminal, and access point information of a nearby wireless access point scanned by the terminal, may be received, or access point information of a wireless access point currently accessed by the terminal, which is sent by the terminal, and access point information of a nearby wireless access point scanned by the terminal, may be received, or location information of the terminal, which is sent by the terminal, may be, The access point information of the wireless access point currently accessed by the terminal and the access point information of the nearby wireless access point scanned by the terminal are not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, in 201, the location information of the terminal included in the received wireless access point information of the terminal may include, but is not limited to, at least one of geographic location data of the terminal and base station data of a base station to which the terminal belongs, which is not particularly limited in this embodiment.
In a specific implementation process, the terminal may specifically adopt a Global Positioning System (GPS) Positioning technology, a Wi-Fi Positioning technology, a base station Positioning technology, a sensor Positioning technology, or other Positioning technologies to obtain the geographic position data of the terminal.
In another specific implementation process, since the terminal always needs to be connected to a base station of a certain mobile communication network when performing a communication service, the location range of the terminal, that is, the coverage range of the base station, can be reflected by the base station to which the terminal is connected. Then, the terminal may specifically obtain base station data of the base station to which the terminal is connected, for example, data such as a base station identifier of the base station, geographical location data of the base station, and the like.
Optionally, in a possible implementation manner of this embodiment, in 201, the access point information of the wireless access point currently accessed by the terminal, which is included in the received wireless access point information of the terminal, refers to identification data capable of uniquely identifying the wireless access point, and may be a MAC address of the wireless access point currently accessed by the terminal, such as a Basic Service Set Identifier (BSSID) in a Wi-Fi network, or may also be a MAC address of the wireless access point currently accessed by the terminal and a name of the wireless access point currently accessed by the terminal, such as a Service Set Identifier (SSID) in the Wi-Fi network, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, in 201, the access point information of the nearby wireless access point scanned by the terminal, which is included in the received wireless access point information of the terminal, refers to access point information of a wireless access point to which the terminal is currently connectable.
In a specific implementation process, when an access point information acquisition interface of a system native wireless access point list is opened to the outside by a terminal operating system such as an android operating system, list data of the system native wireless access point list of the terminal may be directly acquired through the opened acquisition interface to serve as access point information of a nearby wireless access point scanned by the terminal.
In another specific implementation procedure, in a case where the terminal operating system, such as the IOS operating system, does not have an interface for acquiring the access point information of the native wireless access point list of the open system, specifically, the scanning process of the wireless local area network may be performed by a specific application, for example, a third party networking application, so as to obtain the access point information of the wireless access point to which the terminal is currently connected.
Optionally, in a possible implementation manner of this embodiment, before 202, access point information of nearby wireless access points scanned by the terminal and access point information of nearby wireless access points scanned by other terminals sent by other terminals except the terminal may be further received, and further, access point information of at least one wireless access point group may be obtained according to the access point information of nearby wireless access points scanned by the terminal and/or the access point information of nearby wireless access points scanned by other terminals, where each wireless access point group in the at least one wireless access point group includes a plurality of wireless access points having an association relationship.
The access point information of the wireless access point may include, but is not limited to, a name of the wireless access point, a location of the wireless access point, a signal strength of the wireless access point, a signal quality of the wireless access point, and the like.
Specifically, the server may specifically receive the access point information of the nearby wireless access points scanned by the terminal at the timing or in real time of the terminal, and receive the access point information of the nearby wireless access points scanned by the other terminal at the timing or in real time of the other terminal.
In this implementation, after receiving the access point information of the nearby wireless access point scanned by the terminal, the server may perform storage processing on the access point information of the nearby wireless access point scanned by the terminal. In particular, the server may store access point information of nearby wireless access points scanned by the terminal in a storage device.
In a specific implementation process, the storage device may be a slow storage device, specifically, a hard disk of a computer system, or may also be a non-operating Memory of a mobile phone, that is, a physical Memory, such as a Read-Only Memory (ROM), a Memory card, and the like, which is not limited in this embodiment.
In another specific implementation process, the storage device may also be a fast storage device, specifically a Memory of a computer system, or may also be a running Memory of a mobile phone, that is, a system Memory, for example, a Random Access Memory (RAM), and the like, which is not particularly limited in this embodiment.
Similarly, after the server receives the access point information of the nearby wireless access point scanned by the other terminal sent by the other terminal except the terminal, the access point information of the nearby wireless access point scanned by the other terminal may also be stored, which may be referred to for details about the access point information of the nearby wireless access point scanned by the terminal, and is not described herein again.
In this implementation manner, the server may specifically obtain access point information of at least one wireless access point group according to access point information of nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by the other terminal, where each wireless access point group in the at least one wireless access point group includes multiple wireless access points having an association relationship.
Specifically, the server may perform sorting and analysis processing according to access point information of nearby wireless access points scanned by the terminal and access point information of nearby wireless access points scanned by the other terminal, and obtain access point information of at least one wireless access point group by using a preset analysis policy, where each wireless access point group in the at least one wireless access point group includes a plurality of wireless access points having an association relationship.
For example, at least two wireless access points that can simultaneously appear in a specified number of nearby wireless access points scanned by, for example, 10 terminals may be set as a group of wireless access points having an association relationship.
Or, for another example, at least two wireless access points among nearby wireless access points that can simultaneously appear a specified number of times, for example, 10 times, of the same terminal may be set as a group of wireless access points having an association relationship.
In this implementation manner, the server may further perform filtering processing on each group of obtained wireless access points having an association relationship by using the positions of the wireless access points included in the access point information, and filter out wireless access points farther from other wireless access points.
Optionally, in a possible implementation manner of this embodiment, in 202, after receiving the wireless access point information of the terminal sent by the terminal, the server may specifically execute corresponding matching processing according to different data.
In a specific implementation process, the wireless access point information of the terminal includes location information of the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the location information of the terminal to obtain one or more wireless access points in the vicinity of the location information of the terminal, and then may use the wireless access point group to which the one or more wireless access points belong as the at least one wireless access point in the vicinity of the terminal.
In another specific implementation process, the wireless access point information of the terminal includes access point information of a wireless access point to which the terminal is currently accessed; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the wireless access point to which the terminal is currently accessed, so as to obtain a matching result of the wireless access point to which the terminal is currently accessed, and if the matching result is a successful matching, the wireless access point group to which the wireless access point to which the terminal is currently accessed belongs may be used as the at least one wireless access point near the terminal.
In another specific implementation procedure, the wireless access point information of the terminal includes access point information of nearby wireless access points scanned by the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal to obtain a matching result of each nearby wireless access point scanned by the terminal, and further, may use a wireless access point included in the wireless access point group to which the nearby wireless access point belongs, the matching result of which is successful, as the at least one wireless access point nearby the terminal.
In another specific implementation process, the wireless access point information of the terminal includes location information of the terminal and access point information of a wireless access point to which the terminal is currently accessed; the server may perform matching processing in the access point information of the at least one wireless access point group according to the location information of the terminal to obtain one or more wireless access points in the vicinity of the location information of the terminal, further, according to the access point information of the wireless access point currently accessed by the terminal, matching processing is carried out in the access point information of at least one wireless access point group to obtain the matching result of the wireless access point accessed by the terminal at present, if the matching result is successful, based on access point information of one or more wireless access points in the vicinity of the location information of the terminal, then, matching processing may be performed in a wireless access point group to which the wireless access point currently accessed by the terminal belongs, and the wireless access point successfully matched is taken as at least one wireless access point near the terminal.
In another specific implementation procedure, the wireless access point information of the terminal includes location information of the terminal and access point information of nearby wireless access points scanned by the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the location information of the terminal to obtain one or more wireless access points near the location information of the terminal, further perform matching processing in the access point information of the wireless access point group to which the one or more wireless access points near the location information of the terminal belong according to the access point information of the nearby wireless access points scanned by the terminal to obtain a matching result of each nearby wireless access point scanned by the terminal, and then may use, as the at least one wireless access point near the terminal, a wireless access point included in the wireless access point group to which the nearby wireless access point belongs whose matching result is successful.
In another specific implementation process, the wireless access point information of the terminal includes access point information of a wireless access point to which the terminal currently accesses and access point information of a nearby wireless access point scanned by the terminal; then, the server may perform matching processing in the access point information of the nearby wireless access point scanned by the terminal according to the access point information of the wireless access point currently accessed by the terminal to obtain a matching result of the wireless access point currently accessed by the terminal, and if the matching result is a matching success, may use a wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point nearby the terminal.
In another specific implementation process, the wireless access point information of the terminal includes location information of the terminal, access point information of a wireless access point to which the terminal currently accesses, and access point information of a nearby wireless access point scanned by the terminal; then, the server may perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the wireless access point to which the terminal is currently accessed, so as to obtain a matching result of the wireless access point to which the terminal is currently accessed, and if the matching result is successful, perform matching processing in the wireless access point group to which the wireless access point to which the terminal is currently accessed belongs according to the access point information of one or more wireless access points near the location information of the terminal and the access point information of the nearby wireless access points scanned by the terminal, so as to use the wireless access point that is successfully matched as the at least one wireless access point near the terminal.
Optionally, in a possible implementation manner of this embodiment, in 203, after matching the access point information of at least one wireless access point in the vicinity of the terminal, the server may perform sorting processing on the wireless access points to which the terminal is connectable according to at least one of the receiving times of each wireless access point, that is, the scanning times, the signal quality of each wireless access point, and the number of terminals scanning each wireless access point, and return the access point information of all the wireless access points or part of the wireless access points subjected to the sorting processing to the terminal, so that a specific application running on the terminal, for example, a third party networking application, outputs the access point information to a user of the terminal.
In a specific implementation process, multiple visualization manners may be specifically adopted to output the access point information of the wireless access points subjected to the sorting processing, which is not particularly limited in this embodiment.
After a specific application running on the terminal, for example, a third-party networking application or the like, outputs the access point information of the ordered wireless access points to the user of the terminal, the user may then operate the access point information of one of the wireless access points based on the access point information of the ordered wireless access points, so that the specific application performs an access operation of the wireless access point.
Based on the technical scheme provided by the invention, the method can be applied to any existing APP of Wi-Fi management class, such as third-party networking application and the like, and because the specific application running on the terminal, such as the third-party networking application and the like, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point near the terminal, the increase of the processing burden of the terminal operating system caused by the fact that the terminal operating system performs the access processing of the wireless local area network of the terminal in the prior art can be avoided, so that the power consumption of the terminal is reduced.
In this embodiment, by receiving the wireless access point information of the terminal sent by the terminal, and further according to the wireless access point information of the terminal, performing matching processing in the access point information of at least one wireless access point group to match out the access point information of at least one wireless access point near the terminal, enabling transmission of access point information of at least one wireless access point in the vicinity of the terminal to the terminal, in this way, a specific application running on the terminal, for example, a third-party networking application or the like, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point in the vicinity of the terminal, and can avoid the increase of processing burden of the terminal operating system caused by the terminal operating system performing the access processing of the wireless local area network of the terminal in the prior art, thereby reducing the power consumption of the terminal.
In addition, by adopting the technical scheme provided by the invention, under the condition that the terminal operating system does not open an acquisition interface of the access point information of the system native wireless access point list to the outside, the specific application running on the terminal, such as a third-party networking application and the like, can still obtain the access point information of at least one wireless access point near the terminal, and then access processing of the wireless local area network of the terminal is carried out based on the obtained access point information of at least one wireless access point near the terminal, so that the reliability of wireless local area network connection can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the user experience can be effectively improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Fig. 3 is a schematic structural diagram of a connection device of a wireless local area network according to another embodiment of the present invention, as shown in fig. 3. The connection device of the wireless local area network of the present embodiment may include an acquisition unit 31, a transmission unit 32, and a reception unit 33. The acquiring unit 31 is configured to acquire wireless access point information of a terminal; a sending unit 32, configured to send the wireless access point information of the terminal to a server, so that the server matches access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal; a receiving unit 33, configured to receive access point information of at least one wireless access point near the terminal, sent by the server.
It should be noted that, part or all of the connection device of the wireless local area network provided in this embodiment may be an application located in the local terminal, or may also be a functional unit such as a plug-in or Software Development Kit (SDK) provided in the application located in the local terminal, which is not particularly limited in this embodiment.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, and this embodiment is not particularly limited thereto.
The wireless access point information of the terminal may include, but is not limited to, at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal, which is not particularly limited in this embodiment.
Accordingly, the sending unit 32 may be specifically configured to send, to the server, at least one of the location information of the terminal, the access point information of the wireless access point currently accessed by the terminal, and the access point information of the nearby wireless access point scanned by the terminal, so that the server matches the access point information of at least one wireless access point nearby the terminal according to at least one of the location information of the terminal, the access point information of the wireless access point currently accessed by the terminal, and the access point information of the nearby wireless access point scanned by the terminal.
Optionally, in a possible implementation manner of this embodiment, the location information of the terminal may include, but is not limited to, at least one of geographic location data of the terminal and base station data of a base station to which the terminal belongs, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the wireless access point information of the terminal includes access point information of nearby wireless access points scanned by the terminal; accordingly, the obtaining unit 31 may be specifically configured to obtain list data of a system-native wireless access point list of the terminal as access point information of nearby wireless access points scanned by the terminal.
Optionally, in a possible implementation manner of this embodiment, the sending unit 32 may be further configured to send access point information of nearby wireless access points scanned by the terminal to the server, so that the server obtains the access point information of at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by other terminals except the terminal, where each wireless access point group in the at least one wireless access point group includes a plurality of wireless access points having an association relationship.
It should be noted that the method in the embodiment corresponding to fig. 1 may be implemented by the connection device of the wireless local area network provided in this embodiment. For a detailed description, reference may be made to relevant contents in the embodiment corresponding to fig. 1, and details are not described here.
In this embodiment, the obtaining unit obtains the wireless access point information of the terminal, and the transmitting unit transmits the wireless access point information of the terminal to the server, so that the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal, so that the receiving unit can receive the access point information of at least one wireless access point near the terminal, which is transmitted by the server, and thus, a specific application running on the terminal, for example, a third party networking application, and the like, can perform access processing of a wireless local area network of the terminal based on the access point information of at least one wireless access point near the terminal, and increase of processing load of the terminal operating system due to the terminal operating system performing the access processing of the wireless local area network of the terminal in the prior art can be avoided, thereby reducing power consumption of the terminal.
In addition, by adopting the technical scheme provided by the invention, under the condition that the terminal operating system does not open an acquisition interface of the access point information of the system native wireless access point list to the outside, the specific application running on the terminal, such as a third-party networking application and the like, can still obtain the access point information of at least one wireless access point near the terminal, and then access processing of the wireless local area network of the terminal is carried out based on the obtained access point information of at least one wireless access point near the terminal, so that the reliability of wireless local area network connection can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the user experience can be effectively improved.
Fig. 4 is a schematic structural diagram of another connection device for a wireless local area network according to another embodiment of the present invention, as shown in fig. 4. The connection device of the wireless local area network of the present embodiment may include a receiving unit 41, a recommending unit 42, and a transmitting unit 43. The receiving unit 41 is configured to receive wireless access point information of a terminal sent by the terminal; a recommending unit 42, configured to perform matching processing on access point information of at least one wireless access point group according to the wireless access point information of the terminal, so as to match access point information of at least one wireless access point near the terminal, where each wireless access point group in the at least one wireless access point group includes multiple wireless access points having an association relationship; a sending unit 43, configured to send access point information of at least one wireless access point in the vicinity of the terminal to the terminal.
It should be noted that, part or all of the connection device of the wireless local area network provided in this embodiment may be a processing engine located in a network side server, or may also be a distributed system located at a network side, which is not particularly limited in this embodiment.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, and this embodiment is not particularly limited thereto.
The wireless access point information of the terminal may include, but is not limited to, at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the location information of the terminal may include, but is not limited to, at least one of geographic location data of the terminal and base station data of a base station to which the terminal belongs, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the recommending unit 42 may be further configured to receive access point information of nearby wireless access points scanned by the terminal and sent by the terminal, and access point information of nearby wireless access points scanned by other terminals and sent by other terminals except the terminal; and obtaining access point information of at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal and/or the access point information of the nearby wireless access points scanned by the other terminals, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association relationship.
For example, the recommending unit 42 may be specifically configured to regard at least two wireless access points simultaneously appearing in the nearby wireless access points scanned by the multiple terminals as a group of wireless access points having an association relationship.
Or, for another example, the recommending unit 42 may be specifically configured to regard at least two wireless access points of nearby wireless access points scanned by the same terminal multiple times at the same time as a group of wireless access points having an association relationship.
Further, the recommending unit 42 may be further configured to perform filtering processing on each group of obtained wireless access points having an association relationship by using the location of the wireless access point included in the access point information, so as to filter the wireless access points that are farther from other wireless access points.
In a specific implementation process, the wireless access point information of the terminal includes location information of the terminal; the recommending unit 42 may be specifically configured to perform matching processing on the access point information of the at least one wireless access point group according to the location information of the terminal, so as to obtain one or more wireless access points near the location information of the terminal; and taking the wireless access point group to which the one or more wireless access points belong as at least one wireless access point near the terminal.
In another specific implementation process, the wireless access point information of the terminal includes access point information of a wireless access point to which the terminal is currently accessed; the recommending unit 42 may be specifically configured to perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the wireless access point to which the terminal is currently accessed, so as to obtain a matching result of the wireless access point to which the terminal is currently accessed; and if the matching result is successful, taking the wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point near the terminal.
In another specific implementation procedure, the wireless access point information of the terminal includes access point information of nearby wireless access points scanned by the terminal; the recommending unit 42 may be specifically configured to perform matching processing in the access point information of the at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal, so as to obtain a matching result of each nearby wireless access point scanned by the terminal; and taking the wireless access point which is commonly included in the wireless access point group to which the nearby wireless access point which is successfully matched belongs as at least one wireless access point nearby the terminal.
In another specific implementation process, the wireless access point information of the terminal includes location information of the terminal and access point information of a wireless access point to which the terminal is currently accessed; the recommending unit 42 may be specifically configured to perform matching processing on the access point information of the at least one wireless access point group according to the location information of the terminal, so as to obtain one or more wireless access points near the location information of the terminal; according to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed; and if the matching result is successful, performing matching processing in a wireless access point group to which the wireless access point currently accessed by the terminal belongs according to the access point information of one or more wireless access points near the position information of the terminal, and taking the wireless access point successfully matched as at least one wireless access point near the terminal.
In another specific implementation procedure, the wireless access point information of the terminal includes location information of the terminal and access point information of nearby wireless access points scanned by the terminal; the recommending unit 42 may be specifically configured to perform matching processing on the access point information of the at least one wireless access point group according to the location information of the terminal, so as to obtain one or more wireless access points near the location information of the terminal; according to the access point information of the nearby wireless access points scanned by the terminal, matching processing is carried out in the access point information of a wireless access point group to which one or more wireless access points nearby the position information of the terminal belong, so that a matching result of each nearby wireless access point scanned by the terminal is obtained; and taking the wireless access point which is commonly included in the wireless access point group to which the nearby wireless access point which is successfully matched belongs as at least one wireless access point nearby the terminal.
In another specific implementation process, the wireless access point information of the terminal includes access point information of a wireless access point to which the terminal currently accesses and access point information of a nearby wireless access point scanned by the terminal; the recommending unit 42 may be specifically configured to perform matching processing in the access point information of the nearby wireless access point scanned by the terminal according to the access point information of the wireless access point currently accessed by the terminal, so as to obtain a matching result of the wireless access point currently accessed by the terminal; and if the matching result is successful, taking the wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point near the terminal.
In another specific implementation process, the wireless access point information of the terminal includes location information of the terminal, access point information of a wireless access point to which the terminal currently accesses, and access point information of a nearby wireless access point scanned by the terminal; the recommending unit 42 may be specifically configured to perform matching processing on the access point information of the at least one wireless access point group according to the location information of the terminal, so as to obtain one or more wireless access points near the location information of the terminal; according to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed; and if the matching result is successful, performing matching processing in a wireless access point group to which the wireless access point currently accessed by the terminal belongs according to the access point information of one or more wireless access points near the position information of the terminal and the access point information of the nearby wireless access points scanned by the terminal, and taking the successfully matched wireless access point as at least one wireless access point near the terminal.
In another specific implementation process, the sending unit 43 may be specifically configured to perform a sorting process on the at least one wireless access point according to at least one of the number of scans of each wireless access point in the at least one wireless access point, the signal quality of each wireless access point, and the number of terminals scanning each wireless access point; and sending the access point information of part of the at least one wireless access point or the access point information of all the wireless access points which are subjected to the sequencing processing to the terminal.
It should be noted that the method in the embodiment corresponding to fig. 2 may be implemented by the connection device of the wireless local area network provided in this embodiment. For a detailed description, reference may be made to relevant contents in the embodiment corresponding to fig. 2, which is not described herein again.
In this embodiment, the receiving unit receives the wireless access point information of the terminal sent by the terminal, and the recommending unit performs matching processing in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, so that the sending unit can send the access point information of at least one wireless access point near the terminal to the terminal, so that a specific application running on the terminal, for example, a third-party networking application, can perform access processing of the wireless local area network of the terminal based on the access point information of at least one wireless access point near the terminal, and can avoid the increase of processing burden of the terminal operating system due to the access processing of the wireless local area network of the terminal by the terminal operating system in the prior art, thereby reducing power consumption of the terminal.
In addition, by adopting the technical scheme provided by the invention, under the condition that the terminal operating system does not open an acquisition interface of the access point information of the system native wireless access point list to the outside, the specific application running on the terminal, such as a third-party networking application and the like, can still obtain the access point information of at least one wireless access point near the terminal, and then access processing of the wireless local area network of the terminal is carried out based on the obtained access point information of at least one wireless access point near the terminal, so that the reliability of wireless local area network connection can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the user experience can be effectively improved.
FIG. 5 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention. The computer system/server 12 shown in FIG. 5 is only one example and should not be taken to limit the scope of use or functionality of embodiments of the present invention.
As shown in FIG. 5, computer system/server 12 is in the form of a general purpose computing device. The components of computer system/server 12 may include, but are not limited to: one or more processors or processing units 16, a storage device or system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 36. The computer system/server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program/utility 40 having a set (at least one) of program modules 46 may be stored, for example, in system memory 28, such program modules 46 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 46 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The computer system/server 12 may also communicate with at least one external device 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the computer system/server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the computer system/server 12 to communicate with at least one other computing device. Such communication may be through an input/output (I/O) interface 48. Also, the computer system/server 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 20. As shown, network adapter 20 communicates with the other modules of computer system/server 12 via bus 18. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, to implement the connection method of the wireless local area network provided by the embodiment corresponding to fig. 1 or fig. 2.
Another embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for connecting a wireless local area network provided in the embodiment corresponding to fig. 1 or fig. 2.
In particular, any combination of at least one computer readable medium may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having at least one wire, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or page components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (36)

1. A method for connecting to a wireless local area network, comprising:
acquiring wireless access point information of a terminal;
sending the wireless access point information of the terminal to a server, so that the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal;
receiving access point information of at least one wireless access point near the terminal, which is sent by the server;
storing the current position of the terminal and access point information of at least one wireless access point near the terminal;
if the position of the terminal is not changed, performing access processing of a wireless local area network of the terminal based on the stored access point information of at least one wireless access point near the terminal; wherein the content of the first and second substances,
before the sending the wireless access point information of the terminal to the server for the server to match the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal, the method further includes:
sending access point information of nearby wireless access points scanned by the terminal to the server, so that the server obtains access point information of at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by other terminals except the terminal, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association; wherein the content of the first and second substances,
the plurality of wireless access points having an association relationship include: at least two wireless access points simultaneously present in the nearby wireless access points scanned by the plurality of terminals; or at least two wireless access points in the nearby wireless access points scanned by the same terminal for multiple times appear at the same time.
2. The method of claim 1, wherein the obtaining the wireless access point information of the terminal comprises:
if the access point information of at least one wireless access point near the terminal is not stored in the terminal, acquiring the wireless access point information of the terminal;
if the access point information of at least one wireless access point near the terminal is stored in the terminal and the position of the terminal changes, acquiring the wireless access point information of the terminal;
and if the access point information of at least one wireless access point near the terminal is stored in the terminal and the position of the terminal is not changed, the operation of acquiring the wireless access point information of the terminal is not executed.
3. The method according to claim 1, wherein the wireless access point information of the terminal comprises at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal; the sending the wireless access point information of the terminal to a server so that the server matches the access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal includes:
and sending at least one of the position information of the terminal, the access point information of the wireless access point currently accessed by the terminal and the access point information of the nearby wireless access points scanned by the terminal to the server, so that the server matches the access point information of at least one wireless access point nearby the terminal according to at least one of the position information of the terminal, the access point information of the wireless access point currently accessed by the terminal and the access point information of the nearby wireless access points scanned by the terminal.
4. The method according to claim 1, wherein the wireless access point information of the terminal comprises access point information of nearby wireless access points scanned by the terminal; the acquiring the wireless access point information of the terminal includes:
and acquiring list data of a system-native wireless access point list of the terminal to serve as access point information of nearby wireless access points scanned by the terminal.
5. A method for connecting to a wireless local area network, comprising:
receiving wireless access point information of a terminal, which is sent by the terminal;
according to the wireless access point information of the terminal, matching processing is carried out in the access point information of at least one wireless access point group so as to match the access point information of at least one wireless access point near the terminal, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association relation;
sending access point information of at least one wireless access point near the terminal to the terminal, so that the terminal can store and process the current position of the terminal and the access point information of at least one wireless access point near the terminal; if the position of the terminal is not changed, the terminal performs access processing of a wireless local area network of the terminal based on the stored access point information of at least one wireless access point near the terminal; wherein the content of the first and second substances,
before performing matching processing in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, the method further includes:
receiving access point information of nearby wireless access points scanned by the terminal and sent by the terminal, and access point information of nearby wireless access points scanned by other terminals except the terminal and sent by other terminals;
acquiring access point information of at least one wireless access point group according to access point information of nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by the other terminals, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association; wherein the content of the first and second substances,
the plurality of wireless access points having an association relationship include: at least two wireless access points simultaneously present in the nearby wireless access points scanned by the plurality of terminals; or at least two wireless access points in the nearby wireless access points scanned by the same terminal for multiple times appear at the same time.
6. The method according to claim 5, wherein the wireless access point information of the terminal comprises at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal.
7. The method according to claim 5, wherein the obtaining access point information of at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal and/or the access point information of the nearby wireless access points scanned by other terminals except the terminal, each of the at least one wireless access point group comprising a plurality of wireless access points having association relationship comprises:
at least two wireless access points which are simultaneously present in the nearby wireless access points scanned by the plurality of terminals are taken as a group of wireless access points with association; or
And taking at least two wireless access points in the nearby wireless access points which are scanned by the same terminal for multiple times at the same time as a group of wireless access points with association relationship.
8. The method according to claim 5, wherein the obtaining access point information of at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal and/or the access point information of the nearby wireless access points scanned by other terminals except the terminal, each of the at least one wireless access point group comprising a plurality of wireless access points having association relationship, further comprises:
and filtering each group of obtained wireless access points with association relation by using the positions of the wireless access points included in the access point information so as to filter the wireless access points which are far away from other wireless access points.
9. The method according to any of claims 5 to 8, wherein the wireless access point information of the terminal comprises location information of the terminal; the matching processing is performed in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, and the matching processing includes:
according to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
and taking the wireless access point group to which the one or more wireless access points belong as at least one wireless access point near the terminal.
10. The method according to any one of claims 5 to 8, wherein the wireless access point information of the terminal comprises access point information of a wireless access point to which the terminal is currently accessed; the matching processing is performed in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, and the matching processing includes:
according to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed;
and if the matching result is successful, taking the wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point near the terminal.
11. The method according to any one of claims 5 to 8, wherein the wireless access point information of the terminal comprises access point information of nearby wireless access points scanned by the terminal; the matching processing is performed in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, and the matching processing includes:
matching processing is carried out in the access point information of the at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal so as to obtain a matching result of each nearby wireless access point scanned by the terminal;
and taking the wireless access point which is commonly included in the wireless access point group to which the nearby wireless access point which is successfully matched belongs as at least one wireless access point nearby the terminal.
12. The method according to any one of claims 5 to 8, wherein the wireless access point information of the terminal comprises location information of the terminal and access point information of a wireless access point to which the terminal is currently accessed; the matching processing is performed in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, and the matching processing includes:
according to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
according to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed;
and if the matching result is successful, performing matching processing in a wireless access point group to which the wireless access point currently accessed by the terminal belongs according to the access point information of one or more wireless access points near the position information of the terminal, and taking the wireless access point successfully matched as at least one wireless access point near the terminal.
13. The method according to any one of claims 5 to 8, wherein the wireless access point information of the terminal comprises the position information of the terminal and the access point information of the nearby wireless access points scanned by the terminal; the matching processing is performed in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, and the matching processing includes:
according to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
according to the access point information of the nearby wireless access points scanned by the terminal, matching processing is carried out in the access point information of a wireless access point group to which one or more wireless access points nearby the position information of the terminal belong, so that a matching result of each nearby wireless access point scanned by the terminal is obtained;
and taking the wireless access point which is commonly included in the wireless access point group to which the nearby wireless access point which is successfully matched belongs as at least one wireless access point nearby the terminal.
14. The method according to any one of claims 5 to 8, wherein the wireless access point information of the terminal comprises access point information of a wireless access point currently accessed by the terminal and access point information of nearby wireless access points scanned by the terminal; the matching processing is performed in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, and the matching processing includes:
according to the access point information of the wireless access point which is currently accessed by the terminal, matching processing is carried out in the access point information of the nearby wireless access points which are scanned by the terminal so as to obtain the matching result of the wireless access point which is currently accessed by the terminal;
and if the matching result is successful, taking the wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point near the terminal.
15. The method according to any one of claims 5 to 8, wherein the wireless access point information of the terminal comprises location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal; the matching processing is performed in the access point information of at least one wireless access point group according to the wireless access point information of the terminal to match the access point information of at least one wireless access point near the terminal, and the matching processing includes:
according to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
according to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed;
and if the matching result is successful, performing matching processing in a wireless access point group to which the wireless access point currently accessed by the terminal belongs according to the access point information of one or more wireless access points near the position information of the terminal and the access point information of the nearby wireless access points scanned by the terminal, and taking the successfully matched wireless access point as at least one wireless access point near the terminal.
16. The method according to any of claims 5 to 8, wherein the sending access point information of at least one wireless access point in the vicinity of the terminal to the terminal comprises:
sequencing at least one wireless access point according to at least one of the scanning times of each wireless access point, the signal quality of each wireless access point and the number of terminals scanning each wireless access point;
and sending the access point information of part of the at least one wireless access point or the access point information of all the wireless access points which are subjected to the sequencing processing to the terminal.
17. An apparatus for connecting a wireless local area network, comprising:
the terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring wireless access point information of the terminal;
a sending unit, configured to send the wireless access point information of the terminal to a server, so that the server matches access point information of at least one wireless access point near the terminal according to the wireless access point information of the terminal;
a receiving unit, configured to receive access point information of at least one wireless access point near the terminal, sent by the server; storing the current position of the terminal and access point information of at least one wireless access point near the terminal; if the position of the terminal is not changed, performing access processing of a wireless local area network of the terminal based on the stored access point information of at least one wireless access point near the terminal; wherein the content of the first and second substances,
the sending unit is also used for
Sending access point information of nearby wireless access points scanned by the terminal to the server, so that the server obtains access point information of at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by other terminals except the terminal, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association; wherein the content of the first and second substances,
the plurality of wireless access points having an association relationship include: at least two wireless access points simultaneously present in the nearby wireless access points scanned by the plurality of terminals; or at least two wireless access points in the nearby wireless access points scanned by the same terminal for multiple times appear at the same time.
18. Device according to claim 17, characterized in that the acquisition unit is specifically configured to
If the access point information of at least one wireless access point near the terminal is not stored in the terminal, acquiring the wireless access point information of the terminal;
if the access point information of at least one wireless access point near the terminal is stored in the terminal and the position of the terminal changes, acquiring the wireless access point information of the terminal;
and if the access point information of at least one wireless access point near the terminal is stored in the terminal and the position of the terminal is not changed, the operation of acquiring the wireless access point information of the terminal is not executed.
19. The apparatus according to claim 17, wherein the wireless access point information of the terminal comprises at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal; the transmitting unit is particularly used for
And sending at least one of the position information of the terminal, the access point information of the wireless access point currently accessed by the terminal and the access point information of the nearby wireless access points scanned by the terminal to the server, so that the server matches the access point information of at least one wireless access point nearby the terminal according to at least one of the position information of the terminal, the access point information of the wireless access point currently accessed by the terminal and the access point information of the nearby wireless access points scanned by the terminal.
20. The apparatus according to claim 17, wherein the wireless access point information of the terminal comprises access point information of nearby wireless access points scanned by the terminal; the acquisition unit is particularly used for
And acquiring list data of a system-native wireless access point list of the terminal to serve as access point information of nearby wireless access points scanned by the terminal.
21. An apparatus for connecting a wireless local area network, comprising:
the receiving unit is used for receiving wireless access point information of the terminal, which is sent by the terminal;
a recommending unit, configured to perform matching processing in the access point information of at least one wireless access point group according to the wireless access point information of the terminal, so as to match access point information of at least one wireless access point near the terminal, where each wireless access point group in the at least one wireless access point group includes multiple wireless access points having an association relationship;
a sending unit, configured to send, to the terminal, access point information of at least one wireless access point in the vicinity of the terminal, so that the terminal stores a current location of the terminal and the access point information of the at least one wireless access point in the vicinity of the terminal; if the position of the terminal is not changed, the terminal performs access processing of a wireless local area network of the terminal based on the stored access point information of at least one wireless access point near the terminal; wherein the content of the first and second substances,
the recommendation unit is also used for
Receiving access point information of nearby wireless access points scanned by the terminal and sent by the terminal, and access point information of nearby wireless access points scanned by other terminals except the terminal and sent by other terminals; and
acquiring access point information of at least one wireless access point group according to access point information of nearby wireless access points scanned by the terminal and/or access point information of nearby wireless access points scanned by the other terminals, wherein each wireless access point group in the at least one wireless access point group comprises a plurality of wireless access points with association; wherein the content of the first and second substances,
the plurality of wireless access points having an association relationship include: at least two wireless access points simultaneously present in the nearby wireless access points scanned by the plurality of terminals; or at least two wireless access points in the nearby wireless access points scanned by the same terminal for multiple times appear at the same time.
22. The apparatus of claim 21, wherein the wireless access point information of the terminal comprises at least one of location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of nearby wireless access points scanned by the terminal.
23. The device according to claim 21, wherein the recommendation unit is specifically configured to recommend the device
At least two wireless access points which are simultaneously present in the nearby wireless access points scanned by the plurality of terminals are taken as a group of wireless access points with association; or
And taking at least two wireless access points in the nearby wireless access points which are scanned by the same terminal for multiple times at the same time as a group of wireless access points with association relationship.
24. The apparatus of claim 21, wherein the recommending unit is further configured to perform filtering processing on each obtained group of wireless access points having association relationship by using the location of the wireless access point included in the access point information, so as to filter wireless access points farther away from other wireless access points.
25. The apparatus according to any of claims 21 to 24, wherein the wireless access point information of the terminal comprises location information of the terminal; the recommendation unit is particularly for
According to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
and taking the wireless access point group to which the one or more wireless access points belong as at least one wireless access point near the terminal.
26. The apparatus according to any one of claims 21 to 24, wherein the wireless access point information of the terminal comprises access point information of a wireless access point to which the terminal is currently accessing; the recommendation unit is particularly for
According to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed;
and if the matching result is successful, taking the wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point near the terminal.
27. The apparatus according to any one of claims 21 to 24, wherein the wireless access point information of the terminal comprises access point information of nearby wireless access points scanned by the terminal; the recommendation unit is particularly for
Matching processing is carried out in the access point information of the at least one wireless access point group according to the access point information of the nearby wireless access points scanned by the terminal so as to obtain a matching result of each nearby wireless access point scanned by the terminal;
and taking the wireless access point which is commonly included in the wireless access point group to which the nearby wireless access point which is successfully matched belongs as at least one wireless access point nearby the terminal.
28. The apparatus according to any one of claims 21 to 24, wherein the wireless access point information of the terminal comprises location information of the terminal and access point information of a wireless access point to which the terminal is currently accessed; the recommendation unit is particularly for
According to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
according to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed;
and if the matching result is successful, performing matching processing in a wireless access point group to which the wireless access point currently accessed by the terminal belongs according to the access point information of one or more wireless access points near the position information of the terminal, and taking the wireless access point successfully matched as at least one wireless access point near the terminal.
29. The apparatus according to any one of claims 21 to 24, wherein the wireless access point information of the terminal comprises location information of the terminal and access point information of nearby wireless access points scanned by the terminal; the recommendation unit is particularly for
According to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
according to the access point information of the nearby wireless access points scanned by the terminal, matching processing is carried out in the access point information of a wireless access point group to which one or more wireless access points nearby the position information of the terminal belong, so that a matching result of each nearby wireless access point scanned by the terminal is obtained;
and taking the wireless access point which is commonly included in the wireless access point group to which the nearby wireless access point which is successfully matched belongs as at least one wireless access point nearby the terminal.
30. The apparatus according to any one of claims 21 to 24, wherein the wireless access point information of the terminal comprises access point information of a wireless access point currently accessed by the terminal and access point information of a nearby wireless access point scanned by the terminal; the recommendation unit is particularly for
According to the access point information of the wireless access point which is currently accessed by the terminal, matching processing is carried out in the access point information of the nearby wireless access points which are scanned by the terminal so as to obtain the matching result of the wireless access point which is currently accessed by the terminal;
and if the matching result is successful, taking the wireless access point group to which the wireless access point currently accessed by the terminal belongs as at least one wireless access point near the terminal.
31. The apparatus according to any one of claims 21 to 24, wherein the wireless access point information of the terminal comprises location information of the terminal, access point information of a wireless access point currently accessed by the terminal, and access point information of a nearby wireless access point scanned by the terminal; the recommendation unit is particularly for
According to the position information of the terminal, matching processing is carried out in the access point information of the at least one wireless access point group, so that one or more wireless access points nearby the position information of the terminal are obtained;
according to the access point information of the wireless access point to which the terminal is currently accessed, matching processing is carried out in the access point information of the at least one wireless access point group to obtain a matching result of the wireless access point to which the terminal is currently accessed;
and if the matching result is successful, performing matching processing in a wireless access point group to which the wireless access point currently accessed by the terminal belongs according to the access point information of one or more wireless access points near the position information of the terminal and the access point information of the nearby wireless access points scanned by the terminal, and taking the successfully matched wireless access point as at least one wireless access point near the terminal.
32. The device according to any of claims 21 to 24, wherein the sending unit is specifically configured to send the data to the receiver
Sequencing at least one wireless access point according to at least one of the scanning times of each wireless access point, the signal quality of each wireless access point and the number of terminals scanning each wireless access point;
and sending the access point information of part of the at least one wireless access point or the access point information of all the wireless access points which are subjected to the sequencing processing to the terminal.
33. An electronic device, characterized in that the electronic device comprises:
at least one processor;
a storage device for storing at least one program,
when executed by the at least one processor, cause the at least one processor to implement the method of any one of claims 1-4.
34. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
35. An electronic device, characterized in that the electronic device comprises:
at least one processor;
a storage device for storing at least one program,
when executed by the at least one processor, cause the at least one processor to implement the method of any one of claims 5-16.
36. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 5 to 16.
CN201710854193.0A 2017-09-13 2017-09-20 Connection method, device and equipment of wireless local area network and computer readable storage medium Active CN107889191B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710821653X 2017-09-13
CN201710821653 2017-09-13

Publications (2)

Publication Number Publication Date
CN107889191A CN107889191A (en) 2018-04-06
CN107889191B true CN107889191B (en) 2021-01-19

Family

ID=61780771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710854193.0A Active CN107889191B (en) 2017-09-13 2017-09-20 Connection method, device and equipment of wireless local area network and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107889191B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151952A (en) * 2018-09-26 2019-01-04 连尚(新昌)网络科技有限公司 Processing method, equipment and the computer storage medium of WiFi information
CN109413759B (en) * 2018-11-19 2021-06-18 上海尚往网络科技有限公司 Method and equipment for wireless connection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104350802A (en) * 2014-04-16 2015-02-11 华为技术有限公司 Wireless local area network WLAN access method, terminal and server
CN107172685A (en) * 2017-07-26 2017-09-15 上海连尚网络科技有限公司 The method and apparatus that the information of WAP is shown in mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856966B (en) * 2012-11-28 2017-06-09 华为技术有限公司 The localization method and device of remote wireless network failure
CN105357742B (en) * 2015-11-12 2019-06-14 小米科技有限责任公司 Wireless local area network access method, apparatus and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104350802A (en) * 2014-04-16 2015-02-11 华为技术有限公司 Wireless local area network WLAN access method, terminal and server
CN107172685A (en) * 2017-07-26 2017-09-15 上海连尚网络科技有限公司 The method and apparatus that the information of WAP is shown in mobile terminal

Also Published As

Publication number Publication date
CN107889191A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN103970825B (en) The method and electronic device of information are provided in information providing system
CN107391592B (en) Method, device and equipment for processing geo-fences and computer-readable storage medium
CN112232801B (en) Electronic transaction method and terminal
CN103903310A (en) Attendance checking method based on mobile communication terminal and device
CN108132850B (en) Code positioning method and device and electronic equipment
CN107315729B (en) Data processing method, medium, device and computing equipment for chart
EP3197213A1 (en) Network access method and mobile communication terminal
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN112990400B (en) NFC tag-based scene service method, device and system
WO2018121266A1 (en) Method and device for obtaining application and terminal device
CN104301199A (en) Information processing method, device and system
CN107969003B (en) Wireless access authentication method
CN107889191B (en) Connection method, device and equipment of wireless local area network and computer readable storage medium
CN108235237B (en) Data reporting method and device, mobile terminal and computer readable medium
CN107103565A (en) Network meal-ordering method and system based on positioning
CN109829526B (en) Bar code management method and device and electronic equipment
CN109741099B (en) Method and device for acquiring equipment characteristic information
CN107743151B (en) Content pushing method and device, mobile terminal and server
KR20150020398A (en) Apparatas and method for unified search of application in an electronic device
CN107864501B (en) Method and equipment for acquiring and providing wireless access point connection information
CN106973112B (en) Data processing method and system, terminal and server thereof
CN110708657A (en) Wireless access point connection method and device for mobile terminal
KR20110136084A (en) Apparatus and method for searching of content in a portable terminal
CN109640314B (en) Method and device for processing attribution data and computer readable storage medium
EP3114573B1 (en) Apparatus and method for improving loading time in electronic device

Legal Events

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

Effective date of registration: 20210415

Address after: 200131 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: Shanghai Shangxiang Network Technology Co.,Ltd.

Address before: 200120 2, building 979, Yun Han Road, mud town, Pudong New Area, Shanghai

Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.