Generate wireless network access point models using aggregation techniques

By performing the separation and merging stages in the K-means aggregation method, adjusting the cluster center, and filtering outliers, the problem of difficulty in distinguishing large and small areas in the existing technology is solved, and the accuracy and efficiency of the wireless network access point model are improved. Suitable for large changing indoor spaces.

CN112995903BActive Publication Date: 2024-08-27GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110147207.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-06-21
Filing Date
2018-03-14
Publication Date
2024-08-27
Estimated Expiration
2038-03-14

AI Technical Summary

Technical Problem

In a building with multiple small rooms and large corridors, when using the K-means aggregation method to generate an indoor wireless network access point model, it is difficult to distinguish between larger areas and smaller areas, and the K-means algorithm easily falls into a local optimal solution. Not very efficient, especially when the size and shape of the region vary greatly.

Method used

Generate cluster sets by receiving multiple scan vectors, perform a separation phase, identify and merge clusters, adjust cluster centers until a predetermined maximum number of clusters is reached or there are no further candidate clusters, further filter outliers and merge similar clusters, generate a region for determining Internal position model.

Benefits of technology

It improves the accuracy and efficiency of the model, can effectively identify the position of the scan vector, reduces the computational complexity, and ensures the adaptability and accuracy of the model under different regional characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112995903B_ABST
    Figure CN112995903B_ABST
Patent Text Reader

Abstract

Generating a wireless network access point model using a clustering technique is disclosed. The technology relates to generating a wireless network access point model for determining a location within a region. In one example, a plurality of scan vectors are received, each scan vector representing a set of signal strengths for a set of wireless network access point identifiers and associated with a location within a region where a mobile device moved through the region where the set of signal strengths was measured. A set of clusters is generated by iterating a partitioning phase until the number of clusters in the set of clusters equals a maximum number of clusters or no bad scan vectors are identified. A bad scan vector may include a vector having a vector difference with a center of a cluster to which the vector is assigned that is less than a minimum similarity value. The set of clusters is then used to generate a model of the region.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 201810229489.8, the application date is March 14, 2018, and the name of the invention is "Generating a wireless network access point model using aggregation technology." Technical Field

[0002] The present application relates to generating wireless network access point models using aggregation techniques. Background Art

[0003] Indoor positioning models are typically generated using scans of wireless access point identifiers and associated signal strengths. These scans are then arranged into a model for determining location. One common approach utilizes fingerprinting. For example, for smaller areas, the average of the signal strengths from all scans received is a good indicator of these areas and can be used as a model or fingerprint for that area. However, for larger areas, the average of all scans can only provide a list of wireless access point identifiers for that area. If a larger area is closer to a smaller area, it may be difficult to distinguish by simply looking at the average of the scans. This is often the case in buildings with many smaller rooms and larger corridors. To address this issue, the scans can be clustered together using the K-means clustering method to create a model. To determine the location of a particular scan, it is only necessary to identify the cluster to which the scan belongs.

[0004] The K-means clustering method results in partitioning the data into K Voronoi cells. The problem is computationally difficult; however, there are efficient heuristic algorithms that are commonly used and converge quickly to a local optimum. These are generally similar to expectation-maximization algorithms. The K-means algorithm consists of two phases of iteration: (1) an update label phase, which assigns observations to the nearest center of a predetermined value of K, and (2) an update mean phase, which recalculates the center based on the assignments. The iteration ends when the update label phase stabilizes, which provides a local optimal solution.

[0005] Using a typical K-means clustering approach, K is a known value. However, in the case of highly variable indoor spaces, K will depend on the size and shape of the area and the nature of the distribution of wireless network access points in the area. In more basic K-means clustering approaches, such as those used for previous wireless network access point clustering, K is started with a small value and increased if the size of one or more clusters is too large. This approach is not efficient for larger areas, such as shopping malls (e.g., indoor or outdoor store groupings), and may not result in a solution where all clusters have similar vector differences to the vector data at the center of the cluster. Summary of the invention

[0006] Aspects of the present disclosure provide a method for generating a wireless network access point model for determining a location within an area. The method includes receiving a plurality of scan vectors, each scan vector including a set of signal strengths representing a set of wireless network access point identifiers and data associated with a location within the area where a mobile device moves through an area where the set of signal strengths is measured. The method further includes performing a separation phase to generate a set of clusters. The separation phase includes assigning each scan vector of the plurality of scan vectors to a cluster based on a vector difference between the scan vector and vector data assigned to the center of the cluster to which the scan vector is assigned, identifying one or more scan vectors of the plurality of scan vectors as candidates for initiating an additional cluster, the candidate being a scan vector having the following characteristics: a difference between the scan vector and the vector data assigned to the center of the cluster to which the scan vector is assigned is less than a predetermined minimum similarity value for the cluster, selecting from the one or more scan vectors identified as candidates for initiating an additional cluster a scan vector that is least similar to the vector data assigned to the center of the cluster to which the scan vector is assigned, creating an additional cluster in the set of clusters and assigning the selected scan vector to the additional cluster, assigning the vector data of the selected scan vector to the center of the additional cluster, recalculating the vector data assigned to the center of any cluster in the set of clusters, and iterating the separation phase until the total number of clusters in the set of clusters equals the predetermined maximum number of clusters or until no further candidates for initiating an additional cluster are identified. The method further includes generating a model for determining locations within a region based on the set of clusters.

[0007] In one example, the method further includes, before performing the separation phase, setting the number of clusters to 1 and assigning a first vector scan of the plurality of scan vectors as the center of a first cluster in the cluster set. Additionally or alternatively, when the number of clusters is equal to the maximum number of clusters, the method further includes filtering the clusters to identify outliers and removing the outliers and the assigned scan vectors, thereby reducing the total number of clusters in the cluster set. Furthermore, the method includes, after filtering to remove outliers, continuing to iterate the separation phase until the number of clusters is again equal to the maximum number of clusters or there is no number of clusters or no further candidates for initiating additional clusters are identified. Additionally or alternatively, the method further includes identifying at least two clusters in the cluster set as candidates for a cluster merging operation, and merging the at least two clusters into a merged cluster to reduce the total number of clusters in the cluster set, wherein the scan vectors previously assigned to the at least two clusters are reassigned to the merged cluster. In this example, identifying at least two clusters in the cluster set as candidates for the cluster merging operation includes identifying the clusters as including a total number of scan vectors below a threshold amount. Additionally or alternatively, identifying at least two clusters in the set of clusters as candidates for a cluster merging operation includes identifying that a difference between vector data assigned to a center of a first cluster in the clusters and vector data assigned to a center of a second cluster in the clusters is less than a predetermined threshold. Additionally or alternatively, the method further includes identifying a cluster including a highest number of scan vectors from the clusters in the set of clusters; for each other cluster in the set of clusters, determining at least one of the number of scan vectors in the cluster and at least one of the confidence indicators associated with the scan vectors in the cluster; filtering the other clusters based on at least one of the number of scan vectors in the cluster and at least one of the confidence indicators associated with the scan vectors in the cluster; based on the filtering, selecting at least one of the other clusters; and outputting a subset of the plurality of clusters for use in a position determination operation, the subset including the cluster identified as including the highest number of scan vectors and at least one of the selected other clusters. In this example, the set of clusters on which the model is generated corresponds only to the subset of clusters. Additionally or alternatively, the method further includes: for each cluster in the set of clusters, determining a center position based on a position associated with a scan vector assigned to the cluster; and for each cluster, re-centering the center position of the cluster based on a distance between the position associated with the scan vector assigned to the cluster and the center position.

[0008] Aspects of the present disclosure further provide an apparatus comprising a computing device for executing the above-mentioned example method. Aspects of the present disclosure further provide a computer program comprising computer-readable instructions, which, when executed by at least one computing device, cause at least one computing device to execute the above-mentioned example method.

[0009] Other aspects of the present disclosure provide a computer-implemented method. The method includes receiving multiple clusters of scan vectors determined based on signals received from multiple wireless access points; identifying a cluster including a highest number of scan vectors from the multiple clusters; for each cluster in the multiple clusters other than the cluster identified as including the highest number of scan vectors, determining the number of scan vectors in the cluster and at least one of at least one confidence indicator associated with the scan vectors in the cluster; filtering the other clusters based on the number of scan vectors in the cluster and at least one of the at least one confidence indicator associated with the scan vectors in the cluster; based on the filtering, selecting at least one of the other clusters; and outputting a subset of the multiple clusters for use in a position determination operation, the subset including the cluster identified as including the highest number of scan vectors and at least one selected one of the other clusters. Aspects of the present disclosure further provide an apparatus including a device for performing the aforementioned method and a computer program including computer-readable instructions, which, when executed by at least one computing device, cause at least one computing device to perform the aforementioned method.

[0010] Still other aspects of the present disclosure provide a method for generating a wireless network access point model for determining a location within an area. The method includes receiving, by one or more server computing devices having one or more processors, a plurality of scan vectors, each scan vector representing a signal strength set for a set of wireless network access point identifiers and associated with a location within an area where a mobile device moves through an area where the signal strength set is measured; setting, by one or more server computing devices, a maximum number of clusters; setting, by one or more server computing devices, a minimum similarity value; and performing, by one or more server computing devices, a separation phase to generate a set of clusters. The separation phase includes assigning each given scan vector of the plurality of scan vectors to a cluster based on a vector difference between the given scan vector and vector data of the assigned cluster, identifying one or more bad scan vectors of the plurality of scan vectors based on whether the vector difference between each of the one or more bad scan vectors and vector data assigned to the center of the cluster to which each of the one or more bad scan vectors is assigned is less than a minimum similarity value, selecting from the one or more bad scan vectors the worst scan vector having the largest vector difference between the one or more bad scan vectors and vector data of the center of the cluster assigned to the worst scan vector, using the selected worst scan vector as the center of a new cluster and thereby increasing the number of clusters in the set of clusters, recalculating vector data assigned to the center of any cluster in the set of clusters, and iterating the separation phase by one or more server computing devices until the number of clusters in the set of clusters equals the maximum number of clusters or one or more bad scan vectors are not identified. The method also includes generating a model of the region based on the set of clusters.

[0011] In one example, where the similarity between two scan vectors v1 and v2 can be defined as cosine similarity (v1, v2), the minimum similarity value is the minimum cosine similarity, and selecting the worst scan vector includes identifying a bad scan among one or more bad scans, the bad scan having a maximum value of cosine similarity between the identified bad scan and the center of the cluster assigned to the identified bad scan. In another example, the method also includes setting the number of clusters to 1 and assigning a first vector scan among the plurality of scan vectors as the center of a first cluster in the cluster set before performing the separation phase. In another example, the separation phase also includes determining whether the vector data assigned to the center of any cluster in the cluster set has changed after recalculating the vector data assigned to the center of any cluster in the cluster set, reassigning the plurality of scan vectors to clusters in the cluster set when the vector data assigned to the center of any cluster in the cluster set has changed, and continuing recalculation and reassignment until the clusters in the cluster set are stable so that the vector data assigned to the center of any cluster does not change according to the recalculation. In another example, the iteration ends when the number of clusters equals the maximum number of clusters, filtering any clusters to remove outliers. In this example, the method also includes continuing the iterative separation phase after filtering until the number of clusters again equals the maximum number of clusters or one or more bad scan vectors are not identified.

[0012] In another example, the method further includes setting a maximum similarity value by one or more server computing devices and performing a merge phase, including: identifying cluster pairs in the cluster set, the cluster pairs having vector data assigned to the corresponding centers of each cluster in the pair having a similarity value greater than the maximum similarity value, and merging the cluster pairs and any assigned scan vectors together. In this example, identifying the cluster pairs is based on the cosine similarity between the vector data assigned to the corresponding centers. Additionally or alternatively, the method further includes repeating the merge phase until there are no cluster pairs in the cluster set having a similarity value greater than the maximum similarity value. Additionally or alternatively, identifying the cluster pairs is further based on the number of scan vectors assigned to each cluster in the cluster pair. In another example, the method further includes setting a maximum similarity value, wherein the iterative separation phase and the merge phase provide a cluster set such that in each given cluster in the cluster set, the vector difference between each scan vector assigned to the given cluster and the scan vector of the center of the given cluster is greater than the minimum similarity value, and the vector difference between the scan vector of the center of the given cluster and the scan vector of the center of any other cluster in the cluster set is less than the maximum similarity value. Additionally or alternatively, the method includes determining a center location for each given cluster in the set of clusters based on a location associated with a scan vector assigned to the given cluster; and re-centering the center location for each given cluster based on a distance between the location associated with the scan vector assigned to the given cluster and the center location. In this example, the re-centering is based on whether the distance satisfies a threshold distance value. Additionally or alternatively, the method also includes filtering the set of clusters prior to generating the model by: identifying a cluster in the set of clusters having a maximum number of assigned scan vectors; and filtering one or more clusters from the set of clusters based on a comparison with the maximum number of assigned scan vectors. Additionally or alternatively, the method also includes filtering the set of clusters prior to generating the model to remove any cluster that does not satisfy a minimum number of assigned scan vectors. Additionally or alternatively, each given scan vector in the plurality of scan vectors is associated with a confidence value representing a combined accuracy measure of a signal strength measurement and an estimated location of the given scan vector, and the method also includes filtering the set of clusters prior to generating the model based on the highest confidence value associated with the scan vector assigned to each cluster in the set of clusters. In this example, filtering the set of clusters includes removing from the set of clusters a cluster having a highest confidence value that does not satisfy a threshold confidence value. Additionally or alternatively, at least a subset of the plurality of scan vectors corresponds to a single visit to an area by a particular mobile device, such that the single visit includes a plurality of scans, and the method further includes filtering the plurality of scans to remove scans at a start boundary and an end boundary of the visit, such that the filtered scans are not included in the plurality of scan vectors. In this example, filtering the plurality of scans is based on an extraction rate selected to remove noise when generating the model.Additionally or alternatively, each given scan vector in the plurality of scan vectors is associated with a confidence value representing a combined accuracy measure of the signal strength measurement and the estimated position of the given scan vector, and the method further comprises, prior to performing the separation phase, filtering the plurality of scan vectors to remove scan vectors associated with confidence values ​​that do not satisfy a threshold confidence value to remove noise from the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 is a functional diagram of an example system in accordance with aspects of the present disclosure.

[0014] Figure 2 yes Figure 1 Schematic diagram of an example system.

[0015] Figure 3 is an example of quasi-code representing aspects of the separation phase according to aspects of the present disclosure.

[0016] Figure 4 is a flow chart showing aspects of a separation phase in accordance with aspects of the present disclosure.

[0017] Figure 5 is an example of quasi-code representing aspects of the merge phase according to aspects of the present disclosure.

[0018] Figure 6 is a flow chart representing aspects of a merge phase in accordance with aspects of the present disclosure.

[0019] Figure 7 is an example of quasi-code representing aspects of a re-centering process in accordance with aspects of the present disclosure.

[0020] Figure 8 is a flow chart representing aspects of a re-centering process in accordance with aspects of the present disclosure.

[0021] Fig. 9 is an example of a quasi-code representing aspects of cross-filtering between models according to aspects of the present disclosure.

[0022] Fig.10 is an example of quasi-code representing aspects of a combined model according to aspects of the present disclosure. DETAILED DESCRIPTION

[0023] Overview

[0024] Various aspects of the present disclosure relate to creating a wireless network access point model of a location to provide, for example, location-based services. For example, a scan of a wireless network access point signature that is a wireless network access point identifier (e.g., a MAC address) and an associated signal strength (e.g., an RSSI on a scale from 0 dB to -120 dB, where the closer to zero, the stronger the signal) collected by a mobile device can be used to generate the model. For example, using the adaptive K-means clustering method described below, multiple of these scans can be clustered together to create a model. K-means clustering divides a set of vectors (v1, v2, ..., vn) into K clusters S = {S1, S2, ..., Sk}, where each set corresponds to a Voronoi cell. Each cluster includes a vector representing the center of the cluster. To determine the location of a particular scan, it is only necessary to identify the cluster to which the scan belongs.

[0025] In order to generate one or more models of an area such as a shopping mall, as described above, multiple scans can be used. At least some of these scans can be collected by a mobile device moving throughout the entire area. Therefore, the mobile device can provide information to the server computer, the information including a series of scans corresponding to visits to locations in or around the area. Each scan in the series has a timestamp, a location, a set of network access point identifiers and an associated signal strength and an associated confidence value. The confidence value can represent a combined confidence or accuracy measure of the signal strength measurement and the location. For example, some visits may be directly collected visits provided by a person who specifically moves through the area to collect data with his or her mobile device. Other visits may be inferred visits, such as inferred from information provided by users of location-based services. As discussed further below, these data can be aggregated and used to determine clusters for a single model, or can be used to generate separate models for individual use. Optionally, separate models can be combined into a single aggregated model.

[0026] In some examples, the scans may be pre-filtered in a variety of ways to reduce or remove noisy portions of the data. For example, for each visit, scans at the beginning and end of the series may be discarded based on the timestamp of the visit. The timestamps may also be used to sort the scans, e.g., in reverse chronological order, so that only the most recent set is used to generate one or more models. Additionally, some wireless network access point identifiers may be filtered to remove those that have very low occurrences or those that occur repeatedly over multiple scans.

[0027] Each scan of the plurality remaining after any filtering may be represented by a scan vector associated with a timestamp, position and confidence.Before clustering using K-means, a first minimum and maximum allowable similarity value for vectors within each cluster and a maximum value of K may be defined.

[0028] Adaptive K-means clustering can involve a separation phase and a merging phase. In the separation phase, the first scan vector of the remaining plurality can be assigned the value of the vector at the center of the first cluster. All "bad" scan vectors defined as the vector similarity value between the bad scan vector and the first scan vector v1 (or the vector data assigned center of the cluster) is less than the minimum allowable similarity value are identified. The "worst" scan of these bad scan vectors with the maximum vector difference with the center of the cluster (or the lowest similarity value with the vector data at the center) is identified.

[0029] A new cluster is then created, with the worst scan vector identified being assigned as the value of the vector at the center of the new cluster. In this regard, the value of K is increased. K-means aggregation is then used to assign each of the remaining multiple scans to one of the clusters. The iteration of K-means aggregation ends when the assignment of scans stabilizes, leaving the vector value at the center unchanged.

[0030] Again, all bad scan vectors are determined, and the worst scan vector among these bad scan vectors is identified. The worst scan vector is the scan vector among the bad scan vectors that has the largest vector difference with the scan data assigned to the center of the cluster with the largest number of scans. This worst scan vector is removed from the current cluster, and the vector data is assigned as the vector value of the center of the new cluster, and K-means aggregation is repeated. The iteration of the above process continues until K reaches the maximum value of K or there are no bad scan vectors.

[0031] In the case where the maximum value of K has been reached but there are still many bad scans, the clusters can be filtered to remove outliers. This may include identifying whether there are any clusters with very few scans, because such clusters may actually be outliers. If there are outliers, these clusters and any assigned scan vectors will be deleted, and the K-means aggregation of the separation phase will continue. Afterwards, the separation phase continues until K reaches the maximum value of K again or there are no bad scan vectors. As a result of this filtering, the resulting clusters of the separation phase can have a similar number of assigned scan vectors. In the case where the scan vector is considered to be very reliable, such as when the scan vector comes from a direct collection access rather than an inferred access, this filtering may not even be used.

[0032] The resulting clusters are then processed again in the merging stage to merge any clusters with assigned scan vectors that are too similar to each other and have a relatively small amount of assigned scans. Of course, this combination may have other requirements, such as only when the combination does not generate more bad scans or the total number of bad scans identified is within a predetermined threshold, and is performed. Once two clusters merge, the K-means aggregation iteration will continue until the clusters are stable. This is repeated until the centers of no two clusters have vector data that are too similar to each other and the number of assigned scans is relatively small, and if the combination does not result in more or too many bad scans.

[0033] The positions of these clusters can be calculated by averaging the associated positions of any assigned scan vectors. This can be calculated once the clusters are generated in the segmentation and / or merging phases. To further improve the position of the cluster centers, each cluster can be re-centered based on the physical position of the scan vectors assigned to each cluster.

[0034] Additional post-filtering may be performed to increase the usefulness of the clusters. This may include relative and absolute filtering based on the number of scans in a particular cluster and / or the confidence value of the cluster.

[0035] The result of the adaptive K-means clustering and filtering described here is a model of the area that can be used to easily identify the location of a given scan vector. For example, each cluster in S will have a center with an assigned scan vector. In order to determine the location for a new scan, the scan vector of the new scan is compared with the vector data assigned to the cluster center as described above to identify the most similar assigned scan vector. The location of the new scan vector is therefore the location of the cluster with the most similar assigned vector data. In addition, because the clusters will all be assigned a similar number of scan vectors, and the assigned scan vectors are well distributed and different from each other, the model can provide a very reliable location estimate. This information can also be used to provide all types of location-based services.

[0036] As described above, models can be generated from directly collected accesses and / or inferred accesses. Using one or the other type of data, rather than aggregated data, allows for simpler processing of scans at the filtering stage, as in the example above, where directly collected accesses may be considered more reliable than inferred accesses. Additionally, generating separate models may be faster than combining all the data and attempting to generate a single one using adaptive K-means aggregation. Thus, one may actually generate a model for one region using directly collected accesses and another model for a region using inferred accesses. These separate models may then be combined together to generate an aggregated model.

[0037] The technique is also computationally efficient because the adaptive nature of the aggregation provided by the split and merge operations described above allows the server computer to generate models for specific regions with customized values ​​of K based on the characteristics of those regions. This ensures that the server computer does not perform more computations than necessary or desired in creating a model for a specific region, while at the same time ensuring that the model is highly effective when used to determine the location of a user device.

[0038] Example System

[0039] Figure 1 and Figure 2 An example system 100 is included in which the above features may be implemented. This should not be considered to limit the scope of the disclosure or the usefulness of the features described herein. In this example, system 100 may include computing devices 110, 120, 130, and 140 and a storage system 150. Each computing device 110 may include one or more processors 112, a memory 114, and other components typically found in a general-purpose computing device. The memory 114 of each computing device in computing devices 110, 120, 130, and 140 may store information accessible by one or more processors 112, including instructions 116 that may be executed by one or more processors 112.

[0040] The memory may also include data that may be retrieved, manipulated, or stored by the processor 118. The memory may be any non-transitory storage capable of storing information accessible by the processor, such as a hard drive, memory card, ROM, RAM, DVD, CD-ROM, writeable and read-only memory.

[0041] Instructions 116 may be any set of instructions to be executed by one or more processors directly (such as machine code) or indirectly (such as a script). In this regard, the terms "instructions," "applications," "steps," and "programs" may be used interchangeably herein. Instructions may be stored in an object code format for direct processing by a processor, or in any other computing device language including scripts or collections of independent source code modules that are interpreted or precompiled as needed. The functions, methods, and routines of the instructions will be explained in more detail below.

[0042] Data 118 may be retrieved, stored, or modified by one or more processors 112 in accordance with instructions 116. For example, although the subject matter described herein is not limited to any particular data structure, the data may be stored in computer registers, in a relational database as tables and records with many different fields, or in an XML document. The data may also be formatted in any computing device readable format, such as, but not limited to, binary values, ASCII, or Unicode. In addition, the data may include any information sufficient to identify the relevant information, such as numbers, descriptive text, proprietary codes, pointers, references to data stored in other storage (such as at other network locations), or information used by functions to calculate the relevant data.

[0043] The one or more processors 112 may be any conventional processor, such as a commercially available CPU. Alternatively, the processor may be a dedicated component, such as an application specific integrated circuit ("ASIC") or other hardware-based processor. Although not required, one or more of the computing devices 110 may include dedicated hardware components to perform specific computing processes such as decoding video, matching video frames with images, warping video, encoding distorted video, etc. faster or more efficiently.

[0044] Although Figure 1 The processor, memory, and other elements of the computing device 110 are functionally illustrated as being within the same block, but the processor, computer, computing device, or memory may actually include multiple processors, computers, computing devices, or memories that may or may not be stored in the same physical housing. For example, the memory may be a hard drive or other storage medium located in a housing different from the computing device 110. Therefore, references to processors, computers, computing devices, or memories will be understood to include references to a collection of processors, computers, computing devices, or memories that may or may not operate in parallel. For example, the computing device 110 may include a server computing device that operates as a load balancing server group, a distributed system, and the like. In addition, although some of the functions described below are indicated as occurring on a single computing device with a single processor, various aspects of the subject matter described herein may be implemented by multiple computing devices that transmit information, for example, via a network 160.

[0045] Each computing device 110 may be located at a different node of the network 160 and may be able to communicate directly and indirectly with other nodes of the network 160. Figure 1-2Only a few computing devices are shown, but it should be understood that a typical system may include a large number of connected computing devices, each different computing device at a different node of the network 160. The network 160 and intermediate nodes described herein can be interconnected using various protocols and systems, so that the network can be part of the Internet, the World Wide Web, a specific intranet, a wide area network, or a local network. The network can use standard communication protocols such as Ethernet, WiFi, and HTTP, protocols dedicated to one or more companies, and various combinations of the foregoing. Although certain advantages are obtained when transmitting or receiving information as described above, other aspects of the subject matter described herein are not limited to any particular information transmission method.

[0046] For example, each of computing devices 110 may include a web server capable of communicating with storage system 150 and computing devices 120, 130, and 140 via a network. For example, one or more of server computing devices 110 may use network 160 to transmit and present information to a user, such as user 220, 230, or 240, on a display, such as display 122, 132, or 142 of computing device 120, 130, or 140. In this regard, computing devices 120, 130, and 140 may be considered client computing devices and may perform all or some of the features described herein.

[0047] Each of the client computing devices 120, 130, and 140 may be configured similarly to the server computing device 110, with one or more processors, memory, and instructions as described above. Each client computing device 120, 130, or 140 may be a personal computing device intended for use by a user 220, 230, 240, and has all components typically used in connection with a personal computing device, such as a central processing unit (CPU), memory (e.g., RAM and internal hard drive) to store data and instructions, a display such as display 122, 132, or 142 (e.g., a monitor with a screen, touch screen, projector, television, or other device operable to display information), and a user input device 124 (e.g., a mouse, keyboard, touch screen, or microphone). The client computing device may also include a camera for recording video streams and / or capturing images, speakers, a network interface device, and all components for connecting these elements to each other.

[0048] Although client computing devices 120, 130, and 140 may all comprise full-size personal computing devices, they may alternatively comprise mobile computing devices capable of wirelessly exchanging data with a server over a network such as the Internet. By way of example only, client computing device 120 may be a mobile phone or a device such as a wireless-enabled PDA, tablet PC, or netbook capable of acquiring information via the Internet. In another example, client computing device 130 may be a head-mounted computing system. For example, a user may input information using a keypad, a main keyboard, a microphone, using visual signals with a camera, or a touch screen.

[0049] As with memory 114, storage system 150 may be any type of computerized storage capable of storing information accessible to server computing device 110, such as a hard drive, memory card, ROM, RAM, DVD, CD-ROM, writeable and read-only memory. In addition, storage system 150 may include a distributed storage system in which data is stored on multiple different storage devices that may be physically located in the same or different geographic locations. Storage system 150 may be connected to computing devices via network 160, such as Figure 1 1 and / or may be directly connected to any one of computing devices 110 , 120 , 130 , and 140 (not shown).

[0050] The storage system 150 may store various information, including scan data and model data. Multiple mobile devices, such as mobile computing devices 120, 130, 140, may provide information to the server computing device 110, including a series of scans corresponding to visits to locations in or around the region. Each scan in the series has a timestamp identifying the date and time the scan was captured, an estimated location (e.g., longitude and latitude coordinates), a set of network access point identifiers and associated signal strengths, and a confidence value. The confidence value may represent a combined confidence or accuracy measure of the signal strength measurement and the location. The information may be stored by the server computing device 110 in the storage system 150 for later retrieval and processing.

[0051] For example, some visits may be directly collected visits provided by a person who specifically moves through the area to collect data with his or her mobile device. Other visits may be inferred visits, such as visits inferred from information provided by users of location-based services.

[0052] In addition to the above description, controls may be provided to the user that allow the user to select whether and when the systems, programs, or features described herein enable the collection of user information (e.g., information about the user's social information network, social behavior or activities, occupation, the user's preferences, or the user's current location), as well as whether the user sends content or communications from a server. In addition, certain data may be processed in one or more ways before being stored or used so that personally identifiable information is removed. For example, the user's identity may be processed so that personally identifiable information cannot be determined for the user, or the user's geographic location may be generalized when location information (e.g., city, zip code, or state level) is obtained so that the user's specific location cannot be determined. Thus, the user can control what information is collected about the user, how the information is used, and what information is provided to the user.

[0053] The model data may include one or more wireless network access point models for various locations. Directly collected or inferred scan data from different sources may be aggregated and used to determine clusters for a single model, or may be used to generate a single model for individual use. Optionally, the separate models may be combined into a single aggregated model. Again, once generated by the server computing device 110, the model may be stored in the storage system 150 and retrieved as needed to determine a location, as further described below.

[0054] Example Method

[0055] In addition to the operations described above and shown in the accompanying drawings, various operations will now be described. It should be understood that the following operations do not have to be performed in the exact order described below. Instead, various steps may be processed in a different order or simultaneously, and steps may also be added or omitted.

[0056] Before determining any clusters, the scans can be pre-filtered in a variety of ways to reduce or remove the noisy portion of the data. For example, for each visit, based on the timestamp of the visit, a series of scans at the beginning and end can be discarded. The extraction rate can be used to extract a portion of the scans for a single visit. For example, for inferred scans, an extraction rate of 0.5 (or 50%) or more or less can be used so that only the middle part of the area is visited for generating one or more models. This can greatly reduce the noise in the inferred visits, because the boundaries (start and end timestamps) of the inferred visits may be very difficult to discern. Of course, for more reliable scans such as directly collected scans, the extraction rate may be closer to 1.0 (or 100%), so that all directly collected data is used, because the directly collected data may be more accurate. In addition, any scans with very low confidence values ​​or scans that do not meet the minimum threshold confidence value (such as 30 on a scale of 0 to 100) and scans with older timestamps (such as timestamps older than 60 days or longer or shorter) can also be filtered to remove noise to ensure the usefulness of the data. The timestamps may also be used to sort the scans, e.g., in reverse chronological order, so that only the most recent set (e.g., 15,000 scans or more or less) is used to generate one or more models. Additionally, some wireless network access point identifiers may be filtered to remove those that have very low occurrences or repeated occurrences for multiple scans.

[0057] Each scan of the plurality remaining after any filtering may be represented by a scan vector associated with a timestamp, a location, and a confidence level. For example, each scan vector v corresponds to a mapping from a particular wireless network access point identifier to a signal strength for a given scan acquired at a particular timestamp t and location (x, y which may represent latitude and longitude coordinates), with a particular confidence value c. For example, for a scan vector vn having a timestamp tn, a location (xvn, yvn), and having a confidence level cvn, vn may define a list of signal strengths for all wireless network access point identifiers in all the plurality of scans used to make the model.

[0058] Before using K-means clustering, the first minimum allowable similarity value and the maximum allowable similarity value of the vectors within each cluster and the maximum value of K can be defined. For example, the similarity between two vectors v1 and v2 can be defined as cos_similarity(v1, v2), where cos_similarity represents the cosine similarity between the two vectors v1 and v2. The distance or vector difference between the two vectors v1 and v2 can be defined as 1-cos_similarity(v1, v2). The minimum similarity value can be defined as the minimum value of cos_similarity (min_cos_similarity), and the maximum value can be defined as the maximum value of cos_similarity (max_cos_similarity).

[0059] In one example, the minimum and maximum values ​​may be set to the same value, e.g., a number between 0 and 1, such as 0.2, 0.5, or 0.7. The choice of these values ​​may be based on the reliability of the data and the type of location (a mall, where the values ​​may be higher, versus a small house, where the values ​​may be lower). If too high, there are too many clusters, and if too low, there may not be enough. The maximum value of K may be set to limit the amount of time the server computer performs aggregation.

[0060] The aggregation can be an adaptive K-means aggregation involving a splitting phase and a merging phase. Figure 3-4 As shown, clusters are created in the separation phase. Figure 3 is an example of a quasi-code that represents aspects of the separation phase, while Figure 4 is a flow chart showing various aspects of the separation phase. Figure 4 At the beginning of the separation phase of block 402 of , the maximum number of clusters (max_num_clusters) is set. In addition, the remaining plurality of first scan vectors (e.g., v1) may be assigned as vector data at the center of the first cluster. The selection of the first scan vector may be random or not. For efficiency, the value of K may be initially set to 1. In this regard, the vector data associated with the first scan vector v1 is assigned to the center of the first cluster, and all scan vectors are assigned to the first cluster.

[0061] Thereafter, all "bad" scan vectors, defined as those scan vectors having a vector difference between the bad scan vector and the first scan vector v1 (or the center of the cluster) greater than a minimum similarity value or 1-min_cos_similarity, are identified at box 406. At box 408, the "worst" of these bad scan vectors, or the bad scan vector having the largest vector difference with the vector data assigned to the center of the cluster, or having the largest value of 1_cos_similarity, is identified.

[0062] A new cluster is then created, where the identified worst scan vector is assigned as the value of the vector at the center of the new cluster, as shown in block 410. In this regard, the value of K is increased by 1, (or from K=1 to K=2). At this point, K-means aggregation is used to assign each of the remaining plurality of scans to one of the clusters, as shown in blocks 412, 414, and 416. First, the vector data assigned to the center of each cluster is recalculated based on the assignment at block 412. For example, new vector data may be generated for each cluster by shifting all signal strengths of any assigned vector by +120 dB (e.g., -120 dB becomes 0 dB and 0 dB becomes 120 dB), so that all strengths within each scan vector are positive, and the vector average of all assigned scan vectors is calculated. To calculate the vector average of the set of scan vectors assigned to the cluster, the average of the strengths of each network access point identifier is determined. In other words, the new vector for the center of the cluster is calculated as the average of all assigned scan vectors for the cluster. If at box 416, the vector data assigned to the centers has changed, the scan vectors are reassigned again at box 414, and the vector data assigned to each center is recalculated at box 412. These iterations end when the assignment of scans stabilizes, so that at box 416, the vector data assigned to the centers of the clusters does not change.

[0063] As shown in box 418, as long as the number of clusters K is less than the maximum number of clusters, the process returns to box 406, where all bad scan vectors are determined. Again, at box 408, the worst scan vector of these bad scan vectors is identified. The worst scan vector is the scan vector of the bad scan vector with the maximum vector difference or the maximum value 1-cos_similarity, where the vector data is assigned to the cluster center of the assigned scan vector with the maximum number. At box 410, the worst scan vector is removed from the current cluster, and the scan vector is assigned to the vector data of the center of the new cluster, and the K-means aggregation of boxes 412, 414 and 416 is repeated as described above. The iteration of the aforementioned process continues until K reaches the maximum value of K at box 418 or until there is no bad scan vector at box 408. In other words, there is no vector with a vector difference greater than 1-min_cos_similarity from the center of the assigned cluster. Afterwards, the separation stage ends at box 420.

[0064] In the case where the maximum value of K has been reached at box 418, but there are still many bad scans, these clusters can be filtered to remove outliers. This can include identifying whether there are any clusters with few scans, because such clusters may actually be outliers. For example, a threshold ratio can be used. The threshold ratio can be the number of scans assigned to a given cluster relative to the number of clusters assigned to the cluster with the maximum number of assigned scan vectors. This ratio value can therefore be in the range between 0 and 1 and can depend on the source of the data. For example, for directly collected data, the threshold ratio can be set to 0.1 or more or less, and for inferred access, the threshold ratio can be set to 0.5 to allow removal or more scan vectors (assuming that the inferred access includes more scans and noisier data). For example, assuming a threshold ratio of 0.1, if the maximum number of scan vectors assigned to any given cluster is 20, and the first cluster has 1 scan (<2, 0.1 times of 20), the first cluster will be removed for investigation scanning. But if the second cluster has 3 scans, the second cluster will remain, or will not be deleted. Similarly, where the threshold ratio is 0.5, and the cluster with the largest number of assigned scan vectors has 100 assigned scan vectors, the third cluster with 20 scans will be removed (<0.5).

[0065] If outlier clusters exist, these clusters and any assigned scan vectors are removed, and the K-means of the separation phase is clustered on Figure 4 414 and 416 of . Thereafter, the separation phase continues until K reaches the maximum value of K again, or there are no bad scan vectors, as described above. As a result of this filtering, the resulting clusters of the separation phase may have a similar number of assigned scan vectors. In cases where the scan vectors are considered very reliable, such as when the scan vectors come from directly collected accesses rather than inferred accesses, this filtering may not even be used.

[0066] The clusters resulting from the separation phase are then processed again in a merging phase to merge any clusters having assigned scan vectors that are too similar to each other and have a relatively small number of assigned scans. Figure 5 is an example of quasi-code that represents aspects of the merge phase, while Figure 65 is a flow chart representing various aspects of the merging phase. The merging phase begins at box 502, where a pair or two clusters that are too similar and each have a relatively small number of assigned scan vectors (not shown in the flow chart for simplicity) are identified. For example, if the cos_similarity between the assigned vector values ​​of the corresponding centers of the two clusters is greater than max_cos_similarity, the two clusters can be considered to be too similar. When the number of scan vectors assigned to each of the two clusters is small compared to the number of scan vectors assigned to the cluster with the largest number of assigned scan vectors, the two clusters can be considered to have a relatively small number of assigned scan vectors. A second threshold ratio greater than the first threshold ratio can be used to identify clusters with a small number of assigned scan vectors. If these two requirements are met, the two clusters can be merged at box 504. Of course, the merge can be based on other requirements, such as only when the combination does not generate any bad scan vectors or the total number of bad scan vectors identified is within a predetermined threshold number of acceptable bad scan vectors (e.g., 0, 2 or more or less) to perform.

[0067] Once the two clusters are merged at block 504, the total number of clusters K is reduced by 1. Thereafter, K-means clustering is performed as shown in blocks 506, 508, and 510. These iterations continue until the clusters are stable, as described above with respect to Figure 3 Process 600 is repeated until there are no two clusters that are too similar to each other and have relatively small numbers of assigned scans and if combining does not result in more or too many bad scan vectors, at block 502. Thereafter, at block 512, the merging phase ends.

[0068] The result of adaptive K-means clustering provides a set of clusters with specific characteristics. For example, the vector difference from each given scan vector and the vector data assigned to the center of the cluster to which the given scan vector is assigned is less than 1-min_cos_similarity, or the similarity is greater than min_cos_similarity. In addition, the vector difference between the vector data assigned to the centers of any two clusters is greater than 1-max_cos_similarity or the similarity is less than max_cos_similarity. The position (e.g., latitude and longitude coordinates) of each cluster remaining after any filtering can be calculated by averaging the associated positions (e.g., latitude and longitude coordinates) of any assigned scan vectors. Once clusters are generated in the separation and / or merging stages, calculations can be performed.

[0069] To further improve the location of the cluster centers, each cluster can be re-centered. Figure 7 is an example of a quasi-code that represents various aspects of re-centering, while Figure 8is a flow chart showing aspects of a re-centering process. The re-centering process may be performed for each individual cluster and any scan vector assigned to that cluster, and may involve generating a new set of clusters from the scan vectors assigned to a given cluster. For example, Figure 8 As shown, initially at box 802, there are no clusters, only scan vectors assigned to a given cluster. At the beginning, the assigned scan vector is now unassigned, and the new cluster set is empty. At box 804, for the first scan vector (of the unassigned scan vector), the nearest center position of the cluster is identified. The selection of the first scan vector may be random or not random. At box 806, if the distance between the position of the first scan vector and the nearest center position is less than a certain assigned threshold distance value (e.g., X meters), then at box 808, the first scan vector is assigned to the cluster with the nearest center position, and the center position of the given cluster is recalculated at box 810. For example, the threshold distance value of X can be set to 100 meters or more or less. The center position (e.g., longitude and latitude coordinates) of each cluster can be calculated by averaging the associated positions (e.g., latitude and longitude coordinates) of any assigned scan vector. Returning to box 806, if the distance is greater than the threshold distance value, a new cluster is created at box 816, wherein its center position is at the position associated with the first scan vector. Of course, initially, there are no clusters in the new cluster set, and therefore no center locations. Therefore, there are no center locations within the threshold distance value of the location of the first scan vector, and therefore at box 816 the first scan vector (for a given cluster) is used as the center location of the new cluster of the new cluster set.

[0070] The re-centering process then continues at box 812. When there is an unassigned scan vector, the nearest center position of the cluster is identified for the next scan vector at box 804. At box 806, if the distance between the position of the next scan vector and the nearest center is less than a certain threshold distance value (X meters), then at box 808, the next scan vector is assigned to the cluster with the nearest center position, and the center position of the given cluster center is recalculated at box 810. Again, the center position (e.g., latitude and longitude coordinates) of the cluster can be calculated by averaging the associated positions (e.g., latitude and longitude coordinates) of any assigned scan vectors. Returning to box 806 again, if the distance is greater than the threshold distance value, another new cluster is created at box 816 and added to the new set of clusters whose centers are at the position of the first scan vector.

[0071] Thereafter, the remaining unassigned scan vectors are assigned to new clusters of existing clusters or new cluster sets in the same manner. In other words, the iteration of the processing through boxes 806 to 812 continues until each of the scan vectors has been assigned at box 812 and the new cluster set is no longer empty. At this point, the cluster of the new cluster set with the largest number of assigned scan vectors is identified at box 818. The center position of the identified cluster is then assigned as the center position of the given cluster at box 820. Again, the process can be repeated for each cluster generated using the above-described separation and merging stages. This re-centering reduces the effects of noise in the scan vector positions (such as positions where the positions of the visited scan vectors "jump") caused by incorrect position information.

[0072] Additional post-filtering may be performed to increase the usefulness of the clusters. This may include relative and absolute filtering based on the number of scans in a particular cluster and / or the confidence value of the cluster. For relative filtering, the cluster with the largest number of assigned scan vectors is identified as the largest cluster. Any cluster with too few scan vectors relative to this largest cluster may be removed. The relative value may therefore be a ratio selected based on the access type and the reliability of the scan vectors. For example, in the case where the scan vectors come from inferred accesses, a higher ratio or a ratio closer to 1, such as 0.5 or more or less, may be used. In the case where the scan vectors come from directly collected accesses, a lower ratio or a ratio closer to zero, such as 0.1 or more or less, may be used.

[0073] Absolute filtering may require that the number of scan vectors assigned to a given cluster is at least a certain minimum value. Again, the minimum number or minimum value of the scan vectors assigned may be selected based on the access type and the reliability of the scan vectors. For example, in the case where the scan vectors come from inferred access, a higher minimum value may be used, such as 100 scans or more or less (in the example of 15,000 scan vectors in the remaining multiple scan vectors). In the case where the scan vectors come from directly collected accesses, a lower minimum value may be used, such as 10 or 15 or more or less (in the example of 15,000 scan vectors in the remaining multiple scan vectors). Therefore, the number of scan vectors from each cluster is compared with the minimum value. Any cluster that does not have enough assigned scan vectors to meet the minimum value may be discarded. Again, in the case where the scan vectors are considered to be very reliable, such as when the scan vectors come from directly collected accesses rather than inferred accesses, absolute filtering may not even be used.

[0074] Additionally or alternatively, absolute filtering may require that the confidence value for a given cluster be at least some minimum value. The confidence value for a given cluster may be set to the highest of the confidence values ​​c associated with the scan vectors assigned to the given cluster. If the highest confidence value for any cluster is less than the minimum confidence value, the cluster may be discarded. Again, in cases where the scan vectors are considered very reliable, such as when the scan vectors come from directly collected accesses rather than inferred accesses, absolute filtering may not even be used.

[0075] As mentioned above, models can be generated from directly collected visits and / or inferred visits. Using one or the other type of data, rather than aggregated data, allows for simpler processing of scans during the filtering phase, as shown in the example above, where directly collected visits can be considered more reliable than inferred visits. Additionally, generating separate models can be faster than combining all the data and attempting to generate a single one using adaptive K-means aggregation. Thus, one can actually generate a model for a region using directly collected visits and another model for a region using inferred visits. These separate models can then be combined together to generate an aggregated model.

[0076] In one scenario, the aggregate model can be generated as follows. After post-filtering the clusters of each different model, the technology can evaluate whether the cluster actually belongs to a specific place of interest, or whether it is indeed associated with a different place (such as a nearby store or other place). For example, in some examples, in addition to a timestamp, location, a set of network access point identifiers and associated signal strengths and associated confidence values, each scan can also be associated with a place tag. The place tag can specify a specific area where the scan was collected. In this regard, the place tag can be wider than a specific point or place (or a latitude and longitude point with some associated error or confidence values) and can include many different locations representing a specific point of interest, such as a store, a building, or other larger area in a mall. For collected visits, the place tag can be assigned by a user who collects the scan at or near the time of collection, for example, by a specific input or by selecting a place tag from a list of nearby options. For inferred visits, place tags can be assigned manually, or place tags can be "inferred" based on GPS or other location information based on the scan time. Therefore, the place tags of collected visits can be considered more reliable than inferred visits. Place tags can be used to identify data for a given model of a specific place. In this regard, all scans of a given model may be associated with the same or similar location tags.

[0077] Again, as described above, before combining the model generated from the collected visits with the model generated from the inferred visits, the place labels can be used to filter the data. To this end, the scan data assigned to the center of each given cluster of the model to be combined can be considered as a separate scan. These separate scans can be compared with the scan data at the center of each cluster of the model generated from the collected visits. For each separate scan, a comparison can be used to generate a ranked list of place labels based on different models generated from each collected visit with an associated confidence value. In other words, all scan data assigned to the clusters of the two models can be compared only with scan data assigned to the center of the model cluster generated from the collected visits. For example, the confidence can be on a scale of 1 to 100. The location label with the maximum confidence value (or the cluster at the top of the list) can be referred to as the "inferred to" or "inferred" location label for the given cluster. This inference can then be used to determine whether to keep a given cluster.

[0078] For example, in one example, there may be a set of place labels A, B, C, D, each of which is associated with a model created using collected visits or collected visit model A, collected visit model B, collected visit model C, and collected visit model D. In addition, another set of place labels B, C, D, and E may each be associated with a model created using inferred visits or inferred access model B, inferred access model C, inferred access model D, and inferred access model E. For a cluster of the inferred access model of B, such as B_inferred_1, the vector data assigned to the center of cluster B_inferred_1 matches the vector data assigned to the center of each cluster in collected access model A, collected access, collected access model B, collected access, collected access model C, and collected access model D. If cluster B_inferred_1 belongs to a cluster with high confidence (higher than about the following Fig. 9 If cluster B_inferred_1 belongs to a collection access model B with a low confidence (lower than the following Fig. 9Inferred_1 is a cluster inferred from the inferred access model E. For a cluster in the inferred access model E, E_inferred_1 (which is not a model generated from the collected access), E_inferred_1 can be deleted or filtered from the inferred access model E. Cluster E_inferred_1 will not be inferred as place label E because the cluster may not be inferred to exist in any of the collected access models (i.e., there is no collected access model E). However, if the cluster is inferred as collected access model A, collected access, collected access model B, collected access model C, and collected access model D with low probability, the cluster can be saved in the inferred access model E. Otherwise, E_inferred_1 can be deleted or filtered from the inferred access model E.

[0079] Fig. 9 is an example of a quasi-code that represents aspects of this cross-filtering. In other words, clusters that are inferred to have confidence levels higher than 100-Y elsewhere or that are themselves inferred to have confidence levels lower than Y can be filtered. Fig. 9 In the example of , the value of Y confidence can be set between 60 and 90, or more or less. Thus, after filtering, the clusters within the model are at least consistent with the model generated from the collected visits.

[0080] Different K-means models can then be combined by merging K-means clusters. Here, two thresholds are evaluated, one for the minimum cos_similarity (min_cos_similarity) and the other for the maximum cos_similarity (max_cos_similarity). These values ​​can be the same or different from the above values. By way of example, Fig.10is an example of quasi-code that represents various aspects of combining models. This example assumes that there are two K-means models, A and B. In general, lower-order models can be combined into higher-order models. If A is considered more reliable, then A can be considered a higher-order model than B. For example, A can be a model generated from collected visits, and B can be a model generated from inferred visits. If and only if there is a cluster (cluster 2) in A, a cluster (cluster 1) in model B can be added to model A so that the cosine similarity of the vector data of the centers of these two clusters (cluster 1 and cluster 2) is greater than or equal to min_cos_similarity. On this basis, the cluster in model A (cluster 3) with the highest cosine similarity to the cluster in model B (cluster 1) is next found. If the cosine similarity of the two clusters is greater than max_cos_similarity, the process merges the two clusters. In this regard, if the first threshold (a.) is not met, the cluster in B (cluster 1) is discarded. Otherwise, if the first threshold (a.) is met but the second threshold (b.) is not met, the cluster in model B is added to model A. In this way, models from different sources can be combined.

[0081] The technique is also computationally efficient because the adaptive nature of the aggregation provided by the split and merge operations described above allows the server computer to generate models for specific regions with customized values ​​of K based on the characteristics of those regions. This ensures that the server computer does not perform more computations than necessary or desired in creating a model for a specific region, while at the same time ensuring that the model is highly effective when used to determine the location of a user device.

[0082] Most of the aforementioned alternative examples are not mutually exclusive, but can be implemented in various combinations to achieve unique advantages. Since these and other variations and combinations of the above-mentioned features can be utilized without departing from the subject matter defined by the claims, the description of the aforementioned embodiments should be carried out in an illustrative manner rather than limiting the subject matter defined by the claims. For example, the previous operations do not have to be performed in the exact order described above. On the contrary, the various steps can be processed in different orders, such as in reverse order or simultaneously. Unless otherwise specified, steps can also be omitted. In addition, the provision of the examples described herein and the clauses expressed as "such as", "including", etc. should not be interpreted as limiting the subject matter of the claims to specific examples; on the contrary, these examples are only used to illustrate one of many possible embodiments. In addition, the same figure marks in different figures can identify the same or similar elements.

Claims

1. A computer-implemented method comprising: receiving a plurality of clusters of scan vectors determined based on signals received from a plurality of wireless access points; identifying, from the plurality of clusters, a cluster comprising a highest number of scan vectors; for each other cluster of the plurality of clusters other than the cluster identified as including a highest number of scan vectors, determining at least one of: the number of scan vectors in the cluster, and at least one confidence indicator associated with the scan vectors in the cluster, wherein a confidence value of the at least one confidence indicator represents a combined accuracy measure of a signal strength measurement and an estimated position of a given scan vector; filtering the other clusters based on at least one of: the number of scan vectors in the cluster, and the at least one confidence indicator associated with the scan vectors in the cluster; Based on the filtering, selecting at least one of the other clusters; and A subset of the plurality of clusters is output for use in a position determination operation, the subset comprising the cluster identified as comprising a highest number of scan vectors and at least one of the selected other clusters.

2. The method according to claim 1, wherein: Each scan vector includes data representing a set of signal strengths for a set of wireless network access point identifiers and associated with locations within the region at which a mobile device moving through the region measured the set of signal strengths.

3. The method according to claim 1, further comprising: Based on the subset of the plurality of clusters, a model for determining locations within a region is generated.

4. The method according to claim 1, further comprising: Prior to receiving the plurality of clusters of scan vectors, a segmentation phase of adaptive K-means clustering is performed to generate the plurality of clusters, the adaptive K-means clustering involving the segmentation phase and a merging phase.

5. The method of claim 4, wherein performing a separation phase to generate the plurality of clusters comprises: assigning each scan vector of the plurality of scan vectors to the cluster based on a vector difference between the vector data assigned to the center of the cluster to which the scan vector is assigned, identifying one or more scan vectors of the plurality of scan vectors as scan vectors for which a difference between the scan vector and the vector data assigned to the center of the cluster to which the scan vector is assigned is less than a predetermined minimum similarity value for the cluster as candidates for initiating an additional cluster, selecting, from the one or more scan vectors identified as candidates for initiating an additional cluster, a scan vector that is least similar to the vector data assigned to the center of the cluster to which the scan vector is assigned, creating an additional cluster in the set of clusters and assigning the selected scan vector to the additional cluster, assigning the vector data of the selected scan vector to the center of the additional cluster, recalculating vector data assigned to the center of any cluster in the set of clusters, and iterating the partitioning phase until the total number of clusters in the set of clusters equals a predetermined maximum number of clusters or until no further candidates for initiating additional clusters are identified; and The plurality of clusters of scan vectors are output.

6. An apparatus comprising: Memory; and one or more processors in communication with the memory, the one or more processors configured to: receiving from the memory a plurality of clusters of scan vectors determined based on signals received from a plurality of wireless access points; identifying, from the plurality of clusters, a cluster comprising a highest number of scan vectors; for each other cluster of the plurality of clusters other than the cluster identified as including a highest number of scan vectors, determining at least one of: the number of scan vectors in the cluster, and at least one confidence indicator associated with the scan vectors in the cluster, wherein a confidence value of the at least one confidence indicator represents a combined accuracy measure of a signal strength measurement and an estimated position of a given scan vector; filtering the other clusters based on at least one of: the number of scan vectors in the cluster, and the at least one confidence indicator associated with the scan vectors in the cluster; Based on the filtering, selecting at least one of the other clusters; and A subset of the plurality of clusters is output for use in a position determination operation, the subset comprising the cluster identified as comprising a highest number of scan vectors and at least one of the selected other clusters.

7. The apparatus according to claim 6, wherein: Each scan vector includes data representing a set of signal strengths for a set of wireless network access point identifiers and associated with locations within the region at which a mobile device moving through the region measured the set of signal strengths.

8. The apparatus according to claim 6, wherein: The one or more processes are further configured to generate a model for determining locations within a region based on the subset of the plurality of clusters.

9. The apparatus according to claim 6, wherein: The one or more processes are further configured to, prior to receiving the plurality of clusters of scan vectors, perform a segmentation phase of adaptive K-means clustering to generate the plurality of clusters, the adaptive K-means clustering involving the segmentation phase and a merging phase.

10. The apparatus of claim 9, wherein performing a separation phase to generate the plurality of clusters comprises: assigning each scan vector of the plurality of scan vectors to the cluster based on a vector difference between the vector data assigned to the center of the cluster to which the scan vector is assigned, identifying one or more scan vectors of the plurality of scan vectors as scan vectors for which a difference between the scan vector and the vector data assigned to the center of the cluster to which the scan vector is assigned is less than a predetermined minimum similarity value for the cluster as candidates for initiating an additional cluster, selecting, from the one or more scan vectors identified as candidates for initiating an additional cluster, a scan vector that is least similar to the vector data assigned to the center of the cluster to which the scan vector is assigned, creating an additional cluster in the set of clusters and assigning the selected scan vector to the additional cluster, assigning the vector data of the selected scan vector to the center of the additional cluster, recalculating vector data assigned to the center of any cluster in the set of clusters, and iterating the partitioning phase until the total number of clusters in the set of clusters equals a predetermined maximum number of clusters or until no further candidates for initiating additional clusters are identified; and The plurality of clusters of scan vectors are output.

11. A non-transitory computer-readable medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to: receiving a plurality of clusters of scan vectors determined based on signals received from a plurality of wireless access points; identifying, from the plurality of clusters, a cluster comprising a highest number of scan vectors; for each other cluster of the plurality of clusters other than the cluster identified as including a highest number of scan vectors, determining at least one of: the number of scan vectors in the cluster, and at least one confidence indicator associated with the scan vectors in the cluster, wherein a confidence value of the at least one confidence indicator represents a combined accuracy measure of a signal strength measurement and an estimated position of a given scan vector; filtering the other clusters based on at least one of: the number of scan vectors in the cluster, and the at least one confidence indicator associated with the scan vectors in the cluster; Based on the filtering, selecting at least one of the other clusters; and A subset of the plurality of clusters is output for use in a position determination operation, the subset comprising the cluster identified as comprising a highest number of scan vectors and the selected at least one of the other clusters.

12. The non-transitory computer readable medium of claim 11, wherein: Each scan vector includes data representing a set of signal strengths for a set of wireless network access point identifiers and associated with locations within the region at which a mobile device moving through the region measured the set of signal strengths.

13. The non-transitory computer readable medium of claim 11, wherein: The one or more processors are further configured to generate a model for determining locations within a region based on the subset of the plurality of clusters.

14. The non-transitory computer-readable medium of claim 11, further causing the one or more processors to: before receiving the plurality of clusters of scan vectors, perform a separation phase of adaptive K-means clustering to generate the plurality of clusters, the adaptive K-means clustering involving the separation phase and the merging phase.

15. The non-transitory computer-readable medium of claim 14, wherein performing a separation phase to generate the plurality of clusters comprises: assigning each scan vector of the plurality of scan vectors to the cluster based on a vector difference between the vector data assigned to the center of the cluster to which the scan vector is assigned, identifying one or more scan vectors of the plurality of scan vectors as scan vectors for which a difference between the scan vector and the vector data assigned to the center of the cluster to which the scan vector is assigned is less than a predetermined minimum similarity value for the cluster as candidates for initiating an additional cluster, selecting, from the one or more scan vectors identified as candidates for initiating an additional cluster, a scan vector that is least similar to the vector data assigned to the center of the cluster to which the scan vector is assigned, creating an additional cluster in the set of clusters and assigning the selected scan vector to the additional cluster, assigning the vector data of the selected scan vector to the center of the additional cluster, recalculating vector data assigned to the center of any cluster in the set of clusters, and iterating the partitioning phase until the total number of clusters in the set of clusters equals a predetermined maximum number of clusters or until no further candidates for initiating additional clusters are identified; and The plurality of clusters of scan vectors are output.