Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
To further illustrate the technical means and effects adopted by the present application, the following description clearly and completely describes the technical solution of the present application with reference to the accompanying drawings and preferred embodiments.
Fig. 1 illustrates a method for identifying a wireless access point according to an aspect of the present application, where the method includes:
s1, acquiring a first wireless access point to be identified;
s2 determines, according to the first wireless access point and one or more corresponding first nearby access points, that the first wireless access point is a target wireless access point, where the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access points corresponding to the target wireless access point include at least one first nearby access point.
In this embodiment, in the step S1, the device 1 acquires the first wireless access point to be identified. Here, the device 1 includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud of a plurality of servers; wherein, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), wherein the Cloud Computing is one of distributed Computing, and is a virtual super computer composed of a group of loosely coupled computer sets. Specifically, the device 1 may obtain the first wireless access point to be identified through the related information of the first wireless access point sent by the user equipment.
Continuing in this embodiment, in step S2, the device 1 determines, according to the first wireless access point and one or more corresponding first nearby access points, that the first wireless access point is a target wireless access point, where the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access points corresponding to the target wireless access point include at least one of the first nearby access points. Here, the access point identification information includes, but is not limited to, SSID and BSSID, and preferably, the first wireless access point and the one or more first nearby access points are scanned by corresponding user equipment at the same location. Specifically, for example, the scanning device of the user equipment may scan an access point list including a plurality of wireless access points including the first wireless access point and the one or more first nearby access points at the same location. Specifically, the device 1 may search, according to the first wireless access point and one or more corresponding first nearby access points sent by the user equipment, a target wireless access point having the same access point identification information as the first wireless access point and a nearby access point corresponding to the target wireless access point in a database, and determine that the first wireless access point is the target wireless access point if the nearby access point corresponding to the target wireless access point includes at least one first nearby access point. For example, the first wireless access point is a hotspot 1, the first nearby access points of the first wireless access point are a hotspot 2, a hotspot 3, a hotspot 4, a hotspot 5, and a hotspot 6, and if the device 1 finds a hotspot 7 having the same access point identification information as the hotspot 1 in the database, and the nearby access points corresponding to the hotspot 7 include the hotspot 2, the hotspot 3, the hotspot 4, the hotspot 8, and the hotspot 9, it may be determined that the hotspot 1 is the hotspot 7.
Preferably, wherein the method further comprises: s3 (not shown), the device 1 acquires one or more second wireless access points and a nearby access point corresponding to each second wireless access point; wherein the step S2 includes: determining that the first wireless access point is a target wireless access point by performing matching query in the one or more second wireless access points according to the first wireless access point and the corresponding one or more first nearby access points, wherein the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access points corresponding to the target wireless access point include at least one first nearby access point. Here, the second wireless access points and the nearby access points corresponding to each second wireless access point include all wireless access points that are successfully connected with the second wireless access point and sent to the device 1 by the user equipment that is successfully located, for example, the second wireless access point is a hotspot 1, and when the user equipment is successfully connected with the hotspot 1, the access point identification information of the hotspot 1, the location information of the hotspot 1, and a hotspot list around the hotspot 1, that is, the nearby access points of the hotspot 1, are sent to the device 1 to serve as a data base. Preferably, the nearby access point corresponding to each second wireless access point comprises one or more wireless access points scanned by the corresponding user equipment at the same position as the second wireless access point. Here, similar to the first nearby access point, the nearby access point corresponding to each second wireless access point and the second wireless access point are also scanned by the corresponding user equipment at the same position.
More preferably, wherein the step S3 includes: s31 (not shown), the device 1 obtains one or more third wireless access points and one or more third nearby access points obtained by scanning each third wireless access point at the same position by the corresponding user equipment; s32 (not shown), the device 1 merges the multiple third wireless access points with the same access point identification information and the scanning position spacing satisfying the predetermined position precision information, to obtain one or more second wireless access points, wherein the nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the merged third wireless access point. Here, the third wireless access point is similar to the second wireless access point, and includes all wireless access points that are successfully connected with the third wireless access point and that the user equipment that has successfully located transmits to the device 1. Specifically, in step S31, the device 1 queries the corresponding database for the third wireless access point, where the storage manner of the third wireless access point in the database may be stored in units of a group, where the group includes the third wireless access point and a third nearby access point, and for example, the third wireless access point and the third nearby access point may be queried in the corresponding database according to the access point identification information of the third wireless access point. Further, in the step S32, the device 1 merges the multiple third wireless access points with the same access point identification information and the scanning location distance satisfying the predetermined location precision information in the one or more third wireless access points to obtain one or more second wireless access points, where those skilled in the art should understand that the location information of the same wireless access point uploaded by each successfully located user device may be different, and actually they are the same hotspot, so they may be merged. For example, the plurality of third wireless access points are a hotspot 1, a hotspot 2, and a hotspot 3, and if the access point identification information of the three hotspots is the same and the scanning position interval satisfies the predetermined position accuracy information, for example, all data after the decimal point and before the first or second position are the same are referred to as satisfying the predetermined position accuracy information, we can determine that the hotspot 1, the hotspot 2, and the hotspot 3 are the same hotspot, so the three hotspots can be merged to obtain a second wireless access point, and also the nearby access points around them also need to be merged to obtain a nearby access point corresponding to the second wireless access point.
More preferably, wherein the step S32 includes: s321 (not shown), the device 1 classifies the one or more third wireless access points according to the access point identification information of the third wireless access points, wherein each classification includes one or more of the third wireless access points having the same access point identification information; s322 (not shown), the device 1 merges the plurality of third wireless access points whose scanning position intervals satisfy the predetermined position accuracy information in each classification to obtain one or more second wireless access points, where the nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the merged third wireless access point. In this embodiment, in step S321, the device 1 first finds a wireless access point in the database according to the access point identification information of the third wireless access point, and further, in step S322, the device 1 combines the plurality of third wireless access points whose scanning position intervals satisfy the predetermined position accuracy information in each classification to obtain one or more second wireless access points, for example, the third wireless access points are a hotspot 1, a hotspot 2 and a hotspot 3, if the access point identification information of the three wireless access points is the same, and the scanning position interval between the hotspot 1 and the hotspot 2 meets the predetermined position precision information, and if the distance between the two scanning positions is too large, the hot spot 1 and the hot spot 2 can be combined to be used as a second wireless access point, and the hot spot 3 is used as another second wireless access point.
More preferably, wherein the step S32 includes: s323 (not shown) the device 1 determines a scanning area corresponding to the third wireless access point according to the scanning position and the predetermined position precision information corresponding to the third wireless access point; s324 (not shown) the device 1 merges a plurality of third wireless access points with the same access point identification information and overlapping scanning areas in the one or more third wireless access points to obtain one or more second wireless access points, wherein the nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the merged third wireless access point. In this embodiment, in step S323, the device 1 first determines a scanning area corresponding to the third wireless access point, where the scanning area may be determined according to a scanning position and predetermined position accuracy information, for example, the scanning position may be represented in a coordinate system, the scanning position corresponding to the third wireless access point is (121, 31), where the predetermined position accuracy is the first position after decimal point, and the scanning area may be an area determined by abscissa of 120.5 to 121.4 and ordinate of 29.5 to 31.4. Further, in step S324, the device 1 merges a plurality of third wireless access points with the same access point identification information and overlapping scanning areas among the one or more third wireless access points, for example, the access point identification information of the hot spot 1 is the same as that of the hot spot 2, the scanning area of the hot spot 1 is an area determined by the abscissa of 120.5 to 121.4 and the ordinate of 29.5 to 31.4, and the scanning area of the hot spot 2 overlaps with the area, and then the hot spot 1 and the hot spot 2 may be merged.
In a preferred embodiment, refer to fig. 2, wherein step S1' in fig. 2 is the same as or substantially the same as step S1 in the embodiment in fig. 1, and therefore is not repeated herein, and is included herein only by way of reference. Preferably, wherein the step S2' includes: s21', the device 1 determines a plurality of candidate wireless access points having the same access point identification information as the first wireless access point according to the first wireless access point and one or more corresponding first nearby access points; s22', the device 1 determines that the first wireless access point is a target wireless access point among the candidate wireless access points, where the number of the first nearby access points included in the nearby access points corresponding to the target wireless access point is equal to or greater than that of the other candidate wireless access points. In this embodiment, in step S21', the device 1 may first search in a database according to the access point identification information of the first wireless access point, so as to determine a plurality of candidate wireless access points that are the same as the access point identification information of the first wireless access point, and further, in step S22', the device 1 determines, as the target wireless access point, a candidate wireless access point that includes the most first nearby access points among the plurality of candidate wireless access points. For example, the first wireless access point is a hot spot 1, the corresponding first nearby access points are a hot spot 2, a hot spot 3, a hot spot 4, a hot spot 5, and a hot spot 6, and the hot spots 7 and 8 are candidate wireless access points having the same access point identification information as the hot spot 1, where the nearby access points of the hot spot 7 are a hot spot 2, a hot spot 3, a hot spot 4, a hot spot 9, and a hot spot 10, and the nearby access points of the hot spot 8 are a hot spot 10, a hot spot 11, a hot spot 12, a hot spot 13, and a hot spot 14, so that it can be determined that the hot spot 7 is.
Preferably, wherein the step S1' includes: the method comprises the steps that the device 1 acquires a position query request about a wireless access point, wherein the position query request comprises a first wireless access point to be identified; wherein the method further comprises: s3' (not shown), the device 1 provides the location information of the target wireless access point as the location information of the first wireless access point to the application corresponding to the location query request. In this embodiment, in the step S1', the device 1 obtains a location query request of a first wireless access point of the first wireless access points to be identified, and specifically, the device 1 may receive the location query request sent by the user equipment through a corresponding location query application. Further, in the step S3', according to the target wireless access point corresponding to the first wireless access point to be identified, which is determined in the step S2', the location information of the target wireless access point is provided to the application corresponding to the location query request.
Preferably, wherein the step S1' includes: the device 1 acquires a connection request about a wireless access point, wherein the connection request comprises a first wireless access point to be identified; wherein the method further comprises: s4' (not shown), the device 1 provides the access information of the target wireless access point as the access information of the first wireless access point to the application corresponding to the connection request. In this embodiment, in the step S1', specifically, the device 1 may receive a connection request sent by the user equipment through a corresponding access point connection application, and further, in the step S4', the device 1 provides, according to a target wireless access point corresponding to the first wireless access point to be identified, which is determined in the step S2', access information of the target wireless access point, to the application corresponding to the connection request, where the access information is used to connect to the target wireless access point, for example, password information of the target wireless access point.
Compared with the prior art, the method and the device have the advantages that the first wireless access point to be identified is obtained, and then the first wireless access point is determined to be the target wireless access point according to the first wireless access point and one or more corresponding first nearby access points, wherein the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access points corresponding to the target wireless access point comprise at least one first nearby access point. In this way, the wireless access point can be effectively identified through the mapping relation between the wireless access point and the access points nearby the wireless access point, so that the problem of identifying a plurality of wireless access points with the same access point identification information is solved.
Moreover, the present application may further combine a plurality of third wireless access points with the same access point identification information and overlapping scanning areas in the one or more third wireless access points to obtain one or more second wireless access points, where the nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the combined third wireless access point. By the method, the wireless access points which are adjacent to the same wireless access point and are scanned by a plurality of devices and have overlapping can be combined, so that the wireless access points adjacent to the same wireless access point can be obtained more accurately, and the wireless access points can be identified more accurately.
In addition, the method can also obtain a location query request about a wireless access point, wherein the location query request includes a first wireless access point to be identified, and then provide location information of the target wireless access point as location information of the first wireless access point to an application corresponding to the location query request. By the method, the position information of the first wireless access point to be identified can be acquired, and the positioning of the user equipment can be further realized.
Fig. 3 illustrates an apparatus for identifying a wireless access point according to another aspect of the present application, where the apparatus includes:
the device comprises a first device, a second device and a third device, wherein the first device is used for acquiring a first wireless access point to be identified;
a second device, configured to determine, according to the first wireless access point and one or more corresponding first nearby access points, that the first wireless access point is a target wireless access point, where the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access point corresponding to the target wireless access point includes at least one first nearby access point.
In this embodiment, the first device of the apparatus 1 acquires a first wireless access point to be identified. Here, the device 1 includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud of a plurality of servers; wherein, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), wherein the Cloud Computing is one of distributed Computing, and is a virtual super computer composed of a group of loosely coupled computer sets. Specifically, the first device of the apparatus 1 may obtain the first wireless access point to be identified through the related information of the first wireless access point sent by the user equipment.
Continuing in this embodiment, the second device of the apparatus 1 determines, according to the first wireless access point and one or more corresponding first nearby access points, that the first wireless access point is a target wireless access point, where the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access points corresponding to the target wireless access point include at least one of the first nearby access points. Here, the access point identification information includes, but is not limited to, SSID and BSSID, and preferably, the first wireless access point and the one or more first nearby access points are scanned by corresponding user equipment at the same location. Specifically, for example, the scanning device of the user equipment may scan an access point list including a plurality of wireless access points including the first wireless access point and the one or more first nearby access points at the same location. Specifically, the device 1 may search, according to the first wireless access point and one or more corresponding first nearby access points sent by the user equipment, a target wireless access point having the same access point identification information as the first wireless access point and a nearby access point corresponding to the target wireless access point in a database, and determine that the first wireless access point is the target wireless access point if the nearby access point corresponding to the target wireless access point includes at least one first nearby access point. For example, the first wireless access point is a hotspot 1, the first nearby access points of the first wireless access point are a hotspot 2, a hotspot 3, a hotspot 4, a hotspot 5, and a hotspot 6, and if the device 1 finds a hotspot 7 having the same access point identification information as the hotspot 1 in the database, and the nearby access points corresponding to the hotspot 7 include the hotspot 2, the hotspot 3, the hotspot 4, the hotspot 8, and the hotspot 9, it may be determined that the hotspot 1 is the hotspot 7.
Preferably, wherein the apparatus further comprises: third means (not shown) for acquiring one or more second wireless access points and a nearby access point corresponding to each second wireless access point; wherein the second means is for: determining that the first wireless access point is a target wireless access point by performing matching query in the one or more second wireless access points according to the first wireless access point and the corresponding one or more first nearby access points, wherein the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access points corresponding to the target wireless access point include at least one first nearby access point. Here, the second wireless access points and the nearby access points corresponding to each second wireless access point include all wireless access points that are successfully connected with the second wireless access point and sent to the device 1 by the user equipment that is successfully located, for example, the second wireless access point is a hotspot 1, and when the user equipment is successfully connected with the hotspot 1, the access point identification information of the hotspot 1, the location information of the hotspot 1, and a hotspot list around the hotspot 1, that is, the nearby access points of the hotspot 1, are sent to the device 1 to serve as a data base. Preferably, the nearby access point corresponding to each second wireless access point comprises one or more wireless access points scanned by the corresponding user equipment at the same position as the second wireless access point. Here, similar to the first nearby access point, the nearby access point corresponding to each second wireless access point and the second wireless access point are also scanned by the corresponding user equipment at the same position.
More preferably, wherein the third means comprises: a third unit (not shown) configured to acquire one or more third wireless access points and one or more third nearby access points, which are obtained by scanning each third wireless access point by the corresponding user equipment at the same location; a fourth unit (not shown) configured to merge multiple third wireless access points, of the one or more third wireless access points, of which the access point identification information is the same and the scanning position intervals satisfy the predetermined position accuracy information, to obtain one or more second wireless access points, where a nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the merged third wireless access point. Here, the third wireless access point is similar to the second wireless access point, and includes all wireless access points that are successfully connected with the third wireless access point and that the user equipment that has successfully located transmits to the device 1. Specifically, the third unit of the device 1 queries the third wireless access point in the corresponding database, and here, the storage manner of the third wireless access point in the database may be stored in units of a group, where the group includes the third wireless access point and a third nearby access point, and for example, the third wireless access point and the third nearby access point may be queried in the corresponding database according to the access point identification information of the third wireless access point. Further, the fourth unit of the device 1 merges the multiple third wireless access points with the same access point identification information and scanning location distance satisfying the predetermined location accuracy information in the one or more third wireless access points to obtain one or more second wireless access points, where it should be understood by those skilled in the art that the location information of the same wireless access point uploaded by each successfully located user equipment may be different, and actually they are the same hotspot, and therefore, they may be merged. For example, the plurality of third wireless access points are a hotspot 1, a hotspot 2, and a hotspot 3, and if the access point identification information of the three hotspots is the same and the scanning position interval satisfies the predetermined position accuracy information, for example, all data after the decimal point and before the first or second position are the same are referred to as satisfying the predetermined position accuracy information, we can determine that the hotspot 1, the hotspot 2, and the hotspot 3 are the same hotspot, so the three hotspots can be merged to obtain a second wireless access point, and also the nearby access points around them also need to be merged to obtain a nearby access point corresponding to the second wireless access point.
More preferably, wherein the fourth unit comprises: a first subunit (not shown) configured to classify the one or more third wireless access points according to access point identification information of the third wireless access points, wherein each classification includes one or more of the third wireless access points having the same access point identification information; and a second subunit (not shown) configured to combine the plurality of third wireless access points whose scanning position distances satisfy the predetermined position accuracy information in each classification to obtain one or more second wireless access points, where the nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the combined third wireless access point. In this embodiment, the first subunit of the device 1 first finds, according to the access point identification information of the third wireless access point, a wireless access point in the database that is the same as the access point identification information, and further, the second subunit of the device 1 combines the plurality of third wireless access points in each category whose scanning position spacing satisfies the predetermined position accuracy information to obtain one or more second wireless access points, for example, the third wireless access points are a hotspot 1, a hotspot 2 and a hotspot 3, if the access point identification information of the three wireless access points is the same, and the scanning position interval between the hotspot 1 and the hotspot 2 meets the predetermined position precision information, and if the distance between the two scanning positions is too large, the hot spot 1 and the hot spot 2 can be combined to be used as a second wireless access point, and the hot spot 3 is used as another second wireless access point.
More preferably, wherein the fourth unit comprises: a third subunit (not shown) configured to determine a scanning area corresponding to the third wireless access point according to the scanning position corresponding to the third wireless access point and the predetermined position accuracy information; a fourth subunit (not shown), configured to combine multiple third wireless access points with the same access point identification information and overlapping scanning areas in the one or more third wireless access points to obtain one or more second wireless access points, where a nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the combined third wireless access point. In this embodiment, the third subunit of the device 1 determines a scanning area corresponding to the third wireless access point, where the scanning area may be determined according to a scanning position and predetermined position accuracy information, for example, the scanning position may be represented in a coordinate system, the scanning position corresponding to the third wireless access point is (121, 31), where the predetermined position accuracy is the first position after a decimal point, and the scanning area may be an area determined by an abscissa of 120.5 to 121.4 and an ordinate of 29.5 to 31.4. Further, the fourth subunit of the device 1 merges multiple third wireless access points with the same access point identification information and overlapping scanning areas among the one or more third wireless access points, for example, the access point identification information of the hotspot 1 is the same as that of the hotspot 2, the scanning area of the hotspot 1 is an area determined by an abscissa of 120.5 to 121.4 and an ordinate of 29.5 to 31.4, and the scanning area of the hotspot 2 overlaps with the area, so that the hotspot 1 and the hotspot 2 can be merged.
In a preferred embodiment, refer to fig. 4, wherein the first apparatus in fig. 4 is the same as or substantially the same as the first apparatus in the embodiment in fig. 3, and therefore, the description is not repeated herein, and the first apparatus is only included by way of reference. Preferably, wherein the second means comprises: a first unit, configured to determine, according to the first wireless access point and one or more corresponding first nearby access points, multiple candidate wireless access points having the same access point identification information as the first wireless access point; a second unit, configured to determine that the first wireless access point is a target wireless access point in the multiple candidate wireless access points, where the number of the first nearby access points included in a nearby access point corresponding to the target wireless access point is equal to or greater than that of the other candidate wireless access points. In this embodiment, the first unit of the device 1 may first search in a database according to the access point identification information of the first wireless access point, so as to determine a plurality of candidate wireless access points that are the same as the access point identification information of the first wireless access point, and further, the second unit of the device 1 determines, as the target wireless access point, a candidate wireless access point that includes the most first nearby access points among the plurality of candidate wireless access points. For example, the first wireless access point is a hot spot 1, the corresponding first nearby access points are a hot spot 2, a hot spot 3, a hot spot 4, a hot spot 5, and a hot spot 6, and the hot spots 7 and 8 are candidate wireless access points having the same access point identification information as the hot spot 1, where the nearby access points of the hot spot 7 are a hot spot 2, a hot spot 3, a hot spot 4, a hot spot 9, and a hot spot 10, and the nearby access points of the hot spot 8 are a hot spot 10, a hot spot 11, a hot spot 12, a hot spot 13, and a hot spot 14, so that it can be determined that the hot spot 7 is.
Preferably, wherein the first means is for: obtaining a position query request about a wireless access point, wherein the position query request comprises a first wireless access point to be identified; wherein the apparatus further comprises: fourth means (not shown) for providing the location information of the target wireless access point as the location information of the first wireless access point to an application corresponding to the location query request. In this embodiment, the first device of the apparatus 1 obtains a location query request of a first wireless access point of the first wireless access points to be identified, and specifically, the apparatus 1 may receive a location query request sent by a user equipment through a corresponding location query application. Further, the fourth device of the apparatus 1 provides, according to the target wireless access point corresponding to the first wireless access point to be identified, determined in the second device, the location information of the target wireless access point to the application corresponding to the location query request.
Preferably, wherein the first means is for: obtaining a connection request about a wireless access point, wherein the connection request comprises a first wireless access point to be identified; wherein the apparatus further comprises: fifth means (not shown) for providing the access information of the target wireless access point as the access information of the first wireless access point to an application corresponding to the connection request. In this embodiment, specifically, the first apparatus of the device 1 may receive a connection request sent by the user equipment through a corresponding access point connection application, and further, the fifth apparatus of the device 1 provides, according to a target wireless access point corresponding to the first wireless access point to be identified, which is determined in the second apparatus, access information of the target wireless access point to the application corresponding to the connection request, where the access information is used to connect to the target wireless access point, for example, password information of the target wireless access point.
Compared with the prior art, the method and the device have the advantages that the first wireless access point to be identified is obtained, and then the first wireless access point is determined to be the target wireless access point according to the first wireless access point and one or more corresponding first nearby access points, wherein the target wireless access point and the first wireless access point have the same access point identification information, and the nearby access points corresponding to the target wireless access point comprise at least one first nearby access point. In this way, the wireless access point can be effectively identified through the mapping relation between the wireless access point and the access points nearby the wireless access point, so that the problem of identifying a plurality of wireless access points with the same access point identification information is solved.
Moreover, the present application may further combine a plurality of third wireless access points with the same access point identification information and overlapping scanning areas in the one or more third wireless access points to obtain one or more second wireless access points, where the nearby access point corresponding to each second wireless access point includes the one or more third nearby access points corresponding to the combined third wireless access point. By the method, the wireless access points which are adjacent to the same wireless access point and are scanned by a plurality of devices and have overlapping can be combined, so that the wireless access points adjacent to the same wireless access point can be obtained more accurately, and the wireless access points can be identified more accurately.
In addition, the method can also obtain a location query request about a wireless access point, wherein the location query request includes a first wireless access point to be identified, and then provide location information of the target wireless access point as location information of the first wireless access point to an application corresponding to the location query request. By the method, the position information of the first wireless access point to be identified can be acquired, and the positioning of the user equipment can be further realized.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.