CA2894863A1 - Indoor localization using crowdsourced data - Google Patents

Indoor localization using crowdsourced data Download PDF

Info

Publication number
CA2894863A1
CA2894863A1 CA2894863A CA2894863A CA2894863A1 CA 2894863 A1 CA2894863 A1 CA 2894863A1 CA 2894863 A CA2894863 A CA 2894863A CA 2894863 A CA2894863 A CA 2894863A CA 2894863 A1 CA2894863 A1 CA 2894863A1
Authority
CA
Canada
Prior art keywords
graph
data
nodes
matching
ground truth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
CA2894863A
Other languages
French (fr)
Inventor
Shervin Shahidi
Shahrokh Valaee
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Toronto
Original Assignee
University of Toronto
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Toronto filed Critical University of Toronto
Priority to CA2894863A priority Critical patent/CA2894863A1/en
Publication of CA2894863A1 publication Critical patent/CA2894863A1/en
Abandoned legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0252Radio frequency fingerprinting
    • G01S5/02521Radio frequency fingerprinting using a radio-map
    • G01S5/02524Creating or updating the radio-map
    • G01S5/02525Gathering the radio frequency fingerprints
    • G01S5/02526Gathering the radio frequency fingerprints using non-dedicated equipment, e.g. user equipment or crowd-sourcing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings

Abstract

Methods and systems for generating a map for indoor localization. Raw data traces from a plurality of mobile devices are merged to generate a single data graph. The raw data traces represent paths traversed by the mobile devices and include received signal strength (RSS) fingerprints associated with relative points along the paths. The data graph is matched with a predefined ground truth graph defining physical coordinates of traversable paths. A radio map is generated including both the defined physical coordinates and RSS fingerprints associated with the physical coordinates.

Description

INDOOR LOCALIZATION USING CROWDSOURCED DATA
FIELD
[0001] The present disclosure is related to methods and systems for indoor localization. In particular, the present disclosure is related to methods and systems that use crowdsourced data to generate a map for indoor localization.
BACKGROUND
[0002] Although the problem of localizing wireless mobile sensor nodes has attracted attention, designing a real-time and efficient solution for an indoor area is still a challenging problem. The recent attention attracted by indoor localization may be due to the various emerging location based services (LBS) that can only be provided by knowing the user's location, specifically in indoor areas.
According to a study in the 1990s, it is reasonable to assume that more than 80% of a human's life is spent in indoor areas [11, 52].
[0003] The indoor localization problem differs from that of outdoor settings for at least two reasons: firstly, global positioning system (GPS) which is a commonly acceptable solution for outdoor environments is not available indoors due to lack of line-of-sight; secondly, the common triangulation and trilateration techniques for outdoor localization tend to perform poorly in indoor areas due to the heavy multi-path and fading-in complex structures of the buildings.
SUMMARY
[0004] In some examples, the present disclosure describes methods and systems for generating a map for indoor localization based on two general techniques: received signal strength-based localization and dead reckoning.
The system may be trained by using collected data via crowdsourcing, to generate a semantic map that is an aggregation of the raw crowdsourced data, and this R&M REF: 49698-3010 collection of data and generation of the semantic map may require little or no active human intervention.
[0005] In some examples, the present disclosure also considers the problem of translating topological indoor localization to geological localization, by modeling the floor plan and the semantic maps as graphs. The present disclosure also describes example graph matching algorithms that may be used to merge the crowdsourced data to make a unified data graph, in an unsupervised (i.e., with no human intervention) fashion.
[0006] The present disclosure also describes an example node similarity measure based on finding the minimum distance between all sets of permutations of two vectors. An example algorithm to calculate the similarity measure is described also in the present disclosure.
[0007] In some examples, the present disclosure provides a method for generating a map for indoor localization. The method may include: receiving a plurality of raw data traces from a respective plurality of mobile devices, the raw data traces representing paths traversed by the mobile devices and including received signal strength (RSS) fingerprints associated with relative points along the paths; merging the plurality of raw data traces to generate a single data graph having a first plurality of nodes connected by a first plurality of edges;
matching the data graph with a predefined ground truth graph defining physical coordinates of traversable paths, the ground truth graph having a second plurality of nodes connected by a second plurality of edges; and generating a radio map including both the defined physical coordinates and RSS fingerprints associated with the physical coordinates.
[0008] In some examples, the present disclosure provides a system for generating a map for indoor localization. The system may include a processor configured to execute instructions to cause the system to: receive a plurality of raw data traces from a respective plurality of mobile devices, the raw data traces representing paths traversed by the mobile devices and including received signal strength (RSS) fingerprints associated with relative points along the paths;
merge R&M REF: 49698-3010 the plurality of raw data traces to generate a single data graph having a first plurality of nodes connected by a first plurality of edges; match the data graph with a predefined ground truth graph defining physical coordinates of traversable paths, the ground truth graph having a second plurality of nodes connected by a second plurality of edges; and generate a radio map including both the defined physical coordinates and RSS fingerprints associated with the physical coordinates.
[0009] In some examples, the present disclosure provides a method for gathering received signal strength (RSS) fingerprint data. The method may include:
while traversing a path, detecting a RSS fingerprint; absent a predefined starting point of the path and absent information about an orientation of the system relative to the path, determining a relative position along the path associated with the RSS
fingerprint, the relative position being determined based on cumulative displacement and heading direction relative to a relative starting point;
repeating the detecting and determining until an end point is reached; generating a raw data trace including all detected RSS fingerprints associated with respective relative points along the path; and transmitting the raw data trace to a central server.
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Reference will now be made, by way of example, to the accompanying drawings which show example embodiments of the present application, and in which:
[0011] FIG. 1 illustrates an example of how a ground truth graph may be converted to a macro graph;
[0012] FIG. 2 illustrates an example of a crowdsourced data graph, with and without heading information;
[0013] FIG. 3 illustrates an example of a simulated ground truth graph and its simulated noisy data graph;
[0014] FIG. 4 shows an example histogram of the ratio of estimated scale factor to the correct scale factor for example simulated graphs;
R&M REF: 49698-3010
[0015] FIG. 5 illustrates an example of matching a crowdsourced data graph to a ground truth floor plan;
[0016] FIG. 6 schematically illustrates an example hidden Markov model graph matching algorithm;
[0017] FIG. 7 is a chart representing an example mapping table;
[0018] FIG. 8 illustrates an example simulated ground truth graph and its simulated data graph;
[0019] FIG. 9 is a chart representing an example mapping table for the graphs shown in FIG. 5;
[0020] FIG. 10 is a schematic illustrating an example system suitable for implementing examples of the present disclosure; and
[0021] FIG. 11 is a schematic illustrating a processing unit suitable for implementing examples of the present disclosure.
[0022] Similar reference numerals may have been used in different figures to denote similar components.
DESCRIPTION OF EXAMPLE EMBODIMENTS
[0023] To assist in appreciating the present disclosure, a brief discussion of conventional localization approaches is first provided.
[0024] Some conventional approaches try to address indoor localization via one or a combination of three common approaches: trilateration and triangulation, such as time-of-arrival (TOA) [13] which best suits open environments and outdoor settings; proximity sensors, such as radiofrequency identification (RFID) tags [14]
which have limited applications; and received signal strength (RSS) based fingerprinting (also known as Scene analysis [19]). These approaches tend be based on unique patterns of surrounding signal intensities in the building to locate the user [2, 16].
R&M REF: 49698-3010
[0025] Some attempts have been made to reduce the training phase efforts for RSS-based techniques. Some of these works suggest using semi-supervised learning algorithms, rather than supervised algorithms, to reduce the amount of needed labeled data for training by exploiting information of unlabeled data, i.e., RSS readings from the building with no physical location tag. Some examples are described in [8, 20].
[0026] Other approaches suggest using a combination of other localization techniques to help overcome the issues of RSS-based methods, such as reducing the costs of collecting labeled data for calibration phase, such as [31, 21, 28].
[0027] Some works have proposed to overcome the localization problem via simultaneous localization and mapping (SLAM) [26, 9]. These systems usually apply sensor fusion on inertial sensors and RSS fingerprints. SLAM may enable a reduction in the need for human intervention. It may also bring the possibility of using crowdsourced data for building a location's radio map.
[0028] Crowdsourcing is a possible approach to tackle the scalability problem of localization systems [15, 26, 33, 22]. Crowdsourcing can be beneficial to RSS-based methods, since the training phase cost for generating the radio map typically makes it unscalable. In such systems, each sensor (or user) contributes to the training dataset by collecting data from a part of the whole area, i.e., its own movement data trace. The collected data are then matched and merged, similar to pieces of a puzzle, to obtain a semantic pathway map, that represents the passable areas of a building.
[0029] However, a semantic pathway map is generally scale- and direction-free, and matching such a semantic map to the actual floor plan for obtaining physical coordinates is often not addressed well in conventional approaches, is too complex, and/or requires manual input to find a proper direction and scale to fit the map to the floor plan. For example, [26, 25] obtain such semantic maps using smartphones. [22, 21] use particle filters to limit the pathways into passable areas.
Unfortunately, particle filters are typically too complex since each particle should be updated at every step, while the process is typically done in the operation phase of R&M REF: 49698-3010 the system (in contrast with the offline calibration or training phase). In [33], multidimensional scaling (MDS) is used to convert the pathway maps to the floor plan. But since the result for the 2 or 3 dimensional space obtained from MDS
is not necessarily unique, the two relaxed maps are not necessarily similar, and hence there is a possibility of not obtaining a meaningful response.
[0030] Overall, in conventional approaches, the main concentration is usually not on the calibration or training phase, but on the operation phase of the system and its accuracy, possibly on a semantic map. However, after generating the semantic maps from sensory information, matching the floor map to the semantic map and the accuracy of such matching typically is not considered or investigated well in conventional approaches.
[0031] As micro electro-mechanical systems (MEMS) technology become more commonly available on mobile devices, such as smartphones and other multipurpose communication devices, inertial navigation systems (INS) have become more feasible. INS locate the user by finding the displacement from the starting point, often by counting the steps and estimating the heading direction of the user (also known as dead reckoning (DR)) [23, 31, 26]. Various examples of the present disclosure may make use of these technological improvements.
[0032] The present disclosure, in various examples, describes the calibration or training phase of the indoor localization method and system. In some examples, the present disclosure may aim for a practical system, with little or no need for human supervision or extra infrastructure, and making only minor assumptions about the environment or the users.
[0033] In some examples, the present disclosure provides methods and systems for indoor localization that are trained in an unsupervised manner via crowdsourcing. In some examples, each mobile device (e.g., smartphone) user can both use the disclosed system and also contribute to the training data for other users. The user may be allowed to hold the phone in various possible gestures and make occasional stops during his walk. Once enough unsupervised training data is collected in the training phase to generate a reliable radio-map, any suitable R&M REF: 49698-3010 localization technique can be employed in the operation phase of the system.
The present disclosure will not focus on operation phase accuracy, as any suitable technique may be used.
[0034] In the present disclosure, the floor plan and the collected user traces may be modeled as graphs. A graph matching problem may be defined, not only to generate the pathway map of the users via crowdsourced data, but also to automatically match the obtained pathway map to the known floor plan with acceptable accuracy. The present disclosure presents an example graph similarity measure and an example method to calculate it, along with example graph matching algorithms.
[0035] Although described in the context of graph matching for use in indoor localization techniques, the example disclosed graph similarity measure and graph matching techniques may not be limited to such application and may be applied (with suitable modification if necessary) to any two graphs with similar settings. For example, they may be applied to obtained pathway maps of related works to translate the topological localization (finding location on the semantic pathway map) to geological localization (finding the location on the indoor map), as well as improving the accuracy of the pathway map.
[0036] In some examples, the present disclosure discusses RSS
fingerprinting methods for indoor localization, for example using Wi-Fi signals, since they provide acceptable accuracy with little or no need for extra infrastructure installment in an indoor area. Conventionally, such techniques often suffer from the need for time and effort during the calibration phase (also referred to as the training phase). In this phase, a trained technician is conventionally required to gather signal fingerprints of the area of interest, and tag each fingerprint by its physical location. These points are called "labeled data". The collected labeled data is then populated in a data structure known as the radio map, which is the main ingredient for training the localization system. In some examples, the present disclosure provides an approach to reduce or remove the training phase efforts of RSS based methods using DR.
R&M REF: 49698-3010
[0037] The same or similar technique can also be used in the online phase to track the user's location, while the drift error of DR may be limited using RSS-based locationing, as in ([22, 24]).
[0038] In some examples, DR may be implemented using only accelerometers and gyroscopes embedded in a mobile device. Use of a magnetic field sensor may be avoided, due to the high disturbance of magnetic fields in indoor areas.
[0039] The challenge of indoor localization may be modeled using graph theory. More detailed definitions and properties of graphs can be found in graph theory references, e.g., [30, 4].
[0040] A graph G=(V,E) is an ordered pair of two sets, where V is a set of vertices (also called nodes) and E is a set of edges. For a directed graph, each edge is an ordered pair of vertices ev1,v2=(v1,v2), v1,v2 E V, where in an undirected graph, e1,2 c E implies ev2,vi E E.
[0041] An edge-weighted graph, or simply a "weighted graph", G=(V,E,W) is a graph with a set of values w associated to each of its edges, such that we,,, E W, c E. For simplicity, the weight we,,, may be denoted as ww.
[0042] "The shortest path" problem on a weighted graph is the problem of finding a path between a pair of vertices, such that the sum of the weights of the edges along the path is a minimum.
[0043] The problem may be formulated by modeling two graphs: the ground truth graph which is predefined (e.g., known beforehand or otherwise = created offline), based on the floor plan, and the data graph, which is built in an unsupervised fashion, based on the readings obtained from users walking in the environment.
[0044] As mentioned above, a radio map is used for RSS-based localization, which includes a dataset of RSS fingerprints, tagged with their physical coordinates (labeled points). In examples of the present disclosure, instead of manually building such a dataset, a graph is first defined, which may be called the R&M REF: 49698-3010 ground truth graph GT, that only contains the physical coordinates of specific points.
Such a graph can be built relatively easily using a graphical interface and a given floor plan. These points have physical location labels, but no RSS
fingerprints.
Therefore, a second graph may be built from crowdsourced data. The second graph, which may be called the data graph GD, is collected while the users with unknown absolute locations are walking in the building, for example while engaged in their regular daily activities. While the users walk, RSS samples with unknown physical locations are collected and merged into GD. GD has the RSS information but no absolution geological location information. Once both GT and GD are obtained, a graph matching algorithm (e.g., as described in the examples herein) may be applied to find a correspondence between the nodes of GT and GD based on their topological structure and yield a set of points with both physical coordinates and RSS samples, i.e., the radio map.
[0045] In order to model the building map as a graph, the floor plan may be discretized by considering the walkable areas as the edges of a graph. The vertices of the graph may be considered as the joints to connect the edges. In other words, the walkable areas in the floor plan may be modeled by rods and joints, considered as the edges and vertices (or nodes) of a graph. In order to reduce the complexity of the model, the angles in which the rods can join may be limited to 4 (i.e., allowing only horizontal and vertical edges). In other examples, increasing the number of angles to 8 possible angles may allow tracking of diagonal movements in the building, such as when large hallways exist and/or when the building has hallways intersecting at angles other than right angles. More or less possible angles may be used, depending on the desired complexity of the model and desired precision of the graph.
[0046] The set of labeled points, L, may be defined to be the set of vertices of a graph, representing the floor map. The set of edges e,3 c E, where i,j E
L is also defined as the ordered path (i,j) if one can walk from i to j without passing through any other graph vertex.
R&M REF: 49698-3010
[0047] The Euclidean distances between two labeled points on the floor may be defined to be the weight of edges connecting two points, such that w,,3=
-A(x,-x3)2 +(y,-y3)2), where x, and y, denote the physical coordinate of the labeled point i on the floor, according to a given coordinate origin. The resulting weighted, undirected graph may be denoted as the ground truth graph GT =(L,E,W).
[0048] The resulting graph may be used not only to build the radio map in the training phase, but also can be used for tracking (e.g., to limit the error of locationing using the movement trace of the user) and/or navigation (e.g., to show the shortest path to the destinatiol) in the operation phase of the system.
[0049] In order to build the data graph, the points need to be recognized and defined as vertices. Note that due to the unsupervised nature of the problem, the location information is not available. However, DR may be used to find the relative distance of the vertices, as well as RSS information to distinguish the loop closures and repetitive points.
[0050] The process of using unlabeled RSS data to find loop closures and repetitive points may be similar to the operation phase of localization systems with a data set of labeled data, except that in this case instead of finding the physical location of the user geologically, only matching unlabeled points (i.e., repetitive points) are found and merged. This process can be considered as topological localization on the data graph, since no physical coordinate is obtained. The details of building the data graph based on walked data traces are discussed further below.
[0051] Consider the set of merged unlabeled points U for the floor map, that is expected to cover the whole walkable floor area or a sub-region in that area.
Calling such unlabeled points as the vertices v,D, I E U, the edges eDu E ED
may be defined to exist between the vertices if there exists a direct walkable path between those points. The graph GD ={U, ED,WD} is defined to be weighted, with weights wuD equal to the relative distance Jetween i,j, i.e., the distance from i to j.
[0052] The resulting graph will form a chain in a hallway, and a grid in big rooms (where the grid estimates the paths inside the room). Also note that the relative distance between two points can either be a distance vector (having both R&M REF: 49698-3010 magnitude and angle information) or a distance scalar (having the magnitude information only). In the present disclosure, for the sake of keeping the generality of the problem, both cases have been considered, with or without angle information, since some mobile devices (or wireless mobile sensors) may not be equipped or configured to provide angle information.
[0053] As mentioned above, the edge weights of GD (the distances) and the heading directions are calculated based on a DR module, which is discussed further below. A discussion of how the two graphs GT and GD) are built will now be provided.
[0054] As mentioned earlier, GT may be generated by discretizing the floor plan and defining a graph on the floor, based on passable/impassable areas.
[0055] Note that according to this definition, the number of nodes along a hallway could vary arbitrarily and is not necessarily equal to the number of nodes on the corresponding hallway in GD, with the result that GT and GD may generally look different. Therefore, in the matching phase, in order to deal with the possibility that there may be an unequal number of nodes, GT and GD may be both filtered so that only the nodes representing turns, intersections, or leaf nodes are considered in the matching. The graph containing only such filtered nodes may be referred to as a macro graph. Note that since detecting sharp turns requires heading direction information, for the cases that such data is not available, the macro graph may only contain intersections points and leaf nodes on both GT and GD. After filtering, the matching would be more robust to the unequal number of nodes since the macro graphs for both GT and GD are expected to look very similar.
[0056] FIG. 1 (right) shows an example ground truth graph generated for a part of a building floor, and FIG. 1 (left) shows an example corresponding macro graph containing only the representative nodes of the graph. Once the graph is generated, its adjacency matrix, along with the location of all nodes may be stored for the matching phase.
[0057] In order to build GD, crowdsourced data may be used. When each user walks through the pathways of the building, the user's mobile device collects R&M REF: 49698-3010 and stores information about the status of the device and the environment. For example, a DR module, described further below, may count the steps and detect changes in the heading direction of the user. As a result, the user's walking trace can be recorded with respect to an initial point with an initial heading direction. It should be noted that this initial point and initial heading may be any point and heading, and does not need to be pre-specified or manually inputted.
[0058] In some examples, collection of trace data may be initiated automatically by the device. For example, the DR module (or other function programmed into the device) may be already active on the device, may detect the user's entrance into a building using GPS signals (since the user's location outdoors, right before entry into the building, is available via GPS) and may automatically initiate collection of trace data on the device, possibly even without the user's knowledge. Alternatively or additionally, the user may input instructions (e.g., select a soft button or invoke an application on the device) to activate collection of trace data. Similarly, collection of trace data may end automatically, such as when the device again detects GPS signals showing the user's location is out of the building. Alternatively or additionally, the user may input instructions (e.g., select a soft button or deactivate an application on the device) to end collection of trace data. It should be noted, particularly when trace data collection is initiated and/or ended by user input, that that start and end points of the trace may not be at any defined or expected point (e.g., entryway) on the floor plan.
[0059] While collecting trace data, the DR module may enter a sleep mode, where data collection and Wi-fl scanning may be paused or at longer intervals, when no user movement is detected for a predetermined length of time (e.g., user stays still for 10 min or more). This may help to conserve energy on the device. In some examples, collection of trace data may be automatically restarted after a predetermined amount of detected steps or predetermined amount of time. This means that instead of collecting a single long trace, the DR module may instead collect a series of shorter traces that cover the same path. This may be useful to help reduce or avoid accumulation of drift error, for example.
R&M REF: 49698-3010
[0060] While such a trace is being calculated, available RSS
samples may also be detected and stored, and each RSS sample may be assigned to its relative displacement with respect to the starting point of the walking trace. Once the user reaches the destination (which also does not need to be pre-specified or manually inputted) and stops walking, the data collection may end. Each obtained trace can be considered as a graph with a node at each k taken steps and edges connecting the consecutive nodes, with k indicating the density of graph nodes. In the present disclosure, the terms "traces" and "graphs" may be used interchangeably, for ease of explanation.
[0061] After collecting a sufficient number of traces, they may be merged to build a unified data graph. A sufficient number of traces may be a number that ensures most or all of the floor plan has been covered by at least one trace.
However, for higher accuracy (since some traces may have data error), a sufficient number of traces may be considered a number that ensures most or all of the floor plan has been covered by at least a predefined number of traces (e.g., at least three traces). In some examples, merging of the traces into the unified data graph may be performed as each trace is collected and transmitted to the server, rather than waiting until a sufficient number has been collected. The merging of each trace may be performed iteratively (e.g., using the method described below), and after each merging the resulting data graph may be checked to see if the floor plan has been sufficiently covered.
[0062] Note that the traces do not have any information about the actual map locations in the building, since each trace may be stored with position and heading information defined relative to a different starting point and initial heading direction.
[0063] Therefore, to merge two traces G1= (1/1,E1) and G2=(V2,E2), it is necessary to use a common coordinate system, such as by transforming one to the other one's coordinate system. All the node coordinates of G2 may be transformed to the coordinate system of G1 (or vice versa). The transformation may entail R&M REF: 49698-3010 finding a proper origin offset 0=[ct, 131T, a rotation matrix R2x2, and scale factor S =
S X 12x2, which can be described via the following relation:
1/¨ SxRxv+0 s 0 1[ cos 0 sin0 [
[ 0 [ ¨ sin 0 Cos 6 v, 13
[0064] where 0 is clockwise rotation angle between the coordinate system of the two traces.
[0065] In some examples, for simplicity and due to observations, the scale factor may be considered to be 1. Therefore, the only remaining transformation parameters to estimate are 0, a and 13.
[0066] To find the transformation parameters, the collected RSS
values in the nodes of two traces may be compared. Finding the similarity (which may be quantified as a distance) of two RSS readings may be performed using various suitable methods; for example, a suitable method may be comparing the Lp norm of the difference (with p usually 1 or 2) as in [33, 32]. For each two RSS
samples f,, fj, the union of visible access-points (AP) is determined and the norm-p distance of the two RSS vectors is calculated. For each AP that is only visible in one of the points, a penalty is added to the distance by replacing the invisible AP RSS values to be a very small received power (e.g. -110 dbm which indicates no signal in Wi-Fl standard). The distance is then normalized based on the number of common APs.
Since having more common APs indicates a higher chance of having corresponding nodes on the two traces, the normalized distance is then rewarded (decreased) with a concave function of the count of common APs, since concave functions are more distinctive among small amounts of common APs. In examples of the present disclosure, the log function may be used for the rewarding scheme. Therefore, the overall distance can be calculated via the following relation:
D(filfi = I:7 ¨ log 17,,
[0067] where n is the number of common APs and the invisible APs are set to have the RSS value -110 dbm.
R&M REF: 49698-3010
[0068] Once the distance of all RSS sample pairs of G1 and G2 are calculated, a suitable matching algorithm, such as the stable matching algorithm (described further below), may be used to assign the points of G1 to corresponding points in G2. If the distance of the two points is less than a threshold, the assigned points from the two traces are considered to be on the same physical location indicating an overlap between the two traces. Given 3 or more overlapping points, the parameters 0, CC and 13 are calculated. The traces that do not have enough overlap are kept to be compared again later, when more traces are merged. In some cases, if, at the end of the training phase, there remains one or more traces that are not merged, those traces may be discarded (e.g., to save on server memory).
[0069] Define an ordered set of overlapping points in G1 as P1 and their corresponding points in G2 as P2. The offset 0=[c, [31- is calculated by finding the minimum mean square error (MSc), as follows:
______________________________ \HP! I (7--) (f; p2(i) x) 6:3 =
=
- IP111-'4=1 (P1(z)Y P2(i)y) =
[0070] In the example described here, the rotation angle 0 is hard limited so that it can only be a multiple of 90 degree turns (for the 4 possible heading directions). It is straightforward to extend the algorithm to include turns at degree angles (e.g., where 8 possible heading directions are considered), or other desired angles. In this example, it can be calculated by trial and error over the four possible rotation matrices of 0, 90, 180, and 270 degree rotation, and picking the rotation angle that obtains the minimum MSE after removing the offset.
[0071] Once the second trace is transformed to the coordinate system of the first trace, the traces can be merged. The traces may be merged based on their distance in the physical domain. In other words, each two points from the two traces are merged if their Euclidean distance is less than a threshold. Once each two points are merged, their location, neighborhood information, and RSS
values are also merged.
R&M REF: 49698-3010
[0072] In order to merge the location coordinates and RSS values, a dynamic weighted averaging method may be used. Let a data entry (e.g., a node location or an RSS value) Dw be a weighted average of W previous samples.
Define the new data entry being merged (W+/-th entry) by dnew. The resulting average value for the data entry Dw+1 is defined to be Dvv+i = Dw dõ,w) + (1 7) (Dw ("new) 147 + 1 2 (1)
[0073] where 0 1 is a forgetting factor that keeps the data set up to date by taking a weighted sum of an averaging term that uniformly values all the W+/ merged data entries (first term) and an averaging relation term that assigns half of the weight to the most recently merged entry (second term). Note that using the averaging method in (1), at the early steps when the merged data graph and the newly found trace are both unconfident, say W=1, both of the points will have a similar weight in the averaging. As the number of merged points grows, W grows bigger and the weight goes more toward the merged data graph. On the other hand, because of the 7 factor, the old data values will be forgotten during the long run.
[0074] The result of such merge is a single data graph, with the information from both of the traces. The obtained graph is then used as the incomplete data graph for the next trace to be merged with. The merging continues until all traces are merged.
[0075] FIG. 2 represent an example built data graph from a part of a building, without heading direction information (FIG. 2, left) and with heading direction information (FIG. 2, right).
[0076] In some examples, a suitable DR module used in building the GD
may implement a step counter for finding the relative distance between two points and a turn detector, used for finding the changes in the heading direction.
[0077] In order to detect and count the steps, the mobile device's accelerometer may be used. Each acceleration sample is a 3-dimensional value a R&M REF: 49698-3010 indicating the acceleration in terms of m/s2, with respect to the device's coordinate system.
[0078] The step counter may be implemented using the acceleration magnitude (i.e., la I= lax2+ay2-Faz211/2), which is a scalar value independent of the device's orientation and has the same value, both in the device's and the world's coordinate system. Consequently, the extra complexity of finding the device orientation is avoided, without forcing the user to keep the phone in a predefined orientation.
[0079] Note that before detecting the steps, the effect of gravity should be removed from the raw accelerating samples, obtaining linear acceleration which is equal to the sensed raw acceleration subtracted by gravity. Various suitable methods may be used for such a task, such as applying a low pass filter on the sample or combining the information from gyroscope and accelerometer (e.g., using a Kalman filter) to obtain more accuracy and less delay. For example, APIs already implemented on typical AndroidTM phones may be used [1].
[0080] There are various suitable step counter algorithms, based on the readings from accelerometer and gyroscope, that use a variety of patterns to detect the steps, such as detecting the peaks on accelerometer, zero-crossings of the z-axis acceleration, or correlation of the acceleration readings with some step profiles [7, 23]. For example, a peak detector similar to the method in [12] may be used.
[0081] The peak detector should be robust to a variety of noise sources to weed out the peaks that were not introduced by actual user steps. For example, the peak detector may only consider the peaks that satisfy the following set of constraints: being the local maximum for a moderate period of time, having a magnitude within a certain range, occurring less frequently than a certain amount, and being surrounded with two valid local minima that have similar constraints. The parameters of such constraints may be tuned experimentally. Table 1 below shows example results indicating the accuracy of the example step counter for different users and device brands, along with 3 possible holding gestures: in-front, swinging, and on the ear. Rows 1 and 2 of Table 1 show example results for swinging and on R&M REF: 49698-3010 the ear gestures, while the other rows show example results for in-front holding gesture. Although not shown, other holding gestures may be possible. It may also be possible for the user to change holding gestures while walking.
[0082] Table 1:
# Phone brand Tester counted Actual Accuracy id steps steps I Sam. Si P1 39 40 97.5 2 Sam. S1 P1 85 85 100 3 Sam. 51 P1 60 60 100 4 Sam. G. Tab PI 60 60 100 Moto. HAZIi P1 79 80 98.8 6"--1111(' Des. Z 50 98 7 I,G Nex. 1 P3 98 100 98
[0083] Stride length may vary from person to person and even for the same person in different situations.
[0084] There are various suitable methods to estimate the stride length, such as manual calibration for eaL,. person [12], using heuristic functions of acceleration magnitude [28], and processing the sensor data via Kalman filtering [18].
[0085] In the examples of the present disclosure, the concentration is primarily on building the data set via a graph model using graph matching techniques. Therefore, for the sake of simplicity, the stride length of each user may be manually set. However, other suitable methods of estimating the stride length may be used.
[0086] Although setting the stride length to a constant value may not be very accurate, it has been demonstrated, as shown in the example results discussed below, that the example matching algorithms of the present disclosure are able to compensate for such inaccuracies effectively.
[0087] The gyroscope sensor of the mobile device may be used to find the relative heading direction of the user. The gyroscope measures the angular velocity R&M REF: 49698-3010 in 3 dimensions with respect to the device's reference frame. Since the user walks in a plane along the world's horizon (e.g., assuming the user remains on the same floor of the building), the only rotation angle of interest, which is the user's heading, is equivalent to yaw or rotation angle around the Z axis of the world (also known as azimuth). Therefore, the rotations of the device may be decomposed into two orthogonal components: rotation around the world's Z axis, and rotation around some axis in the Y-X plane, i.e., v = vz +vxy, where v denotes the angular velocity of the device in 3 dimensions, while vz represents the angular velocity of the device with respect to the world's Z axis.
[0088] To find vz, the angular velocity (e.g., as sensed by the gyroscope) may be projected to the world's Z axis and then integration over time may be performed to obtain the rotation angle. The world's Z axis is provided by the gravity sensor of the device (e.g., calculated from accelerometer), which always provides a 3D vector pointing to the earth's center. Therefore, for each time t Z(t) = ¨g(t)Ag(t)IL
v(t) = Z(t).0), dO = v z (t)dt, [rad] (2)
[0089] where g is the gravity vector, Z is the vector pointing to world's Z
axis, do is the amount of rotation around the world's Z axis during the interval dt.
[0090] Since the cumulative displacements of heading direction are subject to drift error, such approach may be suitable only for short durations of time. In order to eliminate the drift, instead of continuous integration and finding the heading direction, a short sliding window of time may be considered and turns may be detected when a user's relative heading direction changes above a threshold. For example, for changes in the heading direction that are between [45,135]
degrees, a 90 degree turn may be detected. This example detecting scheme for 90 degree turns was tested on several users, phone brands, different walking paths, and gestures and was found to achieve an average accuracy of 98% on a total of 180 turns in the walked paths.
R&M REF: 49698-3010
[0091] Next, the matching problem is considered, namely: given two graphs GT and GD, how to find a matching (or partial matching) between the nodes of the two graphs. Note that in this disclosure, to maintain generality, the direction information of the graph in the matching algorithms is not used. However, with suitable modifications, such information can be added to the example algorithm described below, which may help to improve accuracy.
[0092] In order to match the two graphs, a similarity (or equivalently dissimilarity) measure between the components of two graphs is required. Then, the components of the two graphs may be compared and the ones with sufficient similarity may be matched.
[0093] The notion of similarity between two graphs may be defined differently depending on the specific application. Based on the application, the definition can address a variety of topological characteristics of a graph (c.f. [5]).
[0094] In the examples of the present disclosure, the graph structures are relatively specific, since passable areas in most of the buildings are similar, for example they usually have no nodes with degrees higher than 4 (i.e., 4-way intersections) and they usually have a single connected component.
[0095] Also note that since the heading direction information is not considered in the matching, the graphs do not have a rigid shape, so that computer vision-based techniques such as template matching methods may not be suitable.
[0096] The similarity may be defined based on the vector of all pairs' shortest paths. For a graph G=(V,E) define the vector of all shortest paths from a vertex v as SPG(v) c Rri (xi, x2, = = = , xn), x, = shortest path length(v,i), i E
[0097] where n=IVI is the number of nodes of G.
[0098] Such measure represents each node of the graph with a vector of length I VI. The idea is that each point in the graph is expected to have a unique representative vector.
R&M REF: 49698-3010
[0099] Therefore, for simi:ar graphs, the corresponding nodes should have the same (or very similar) vectors. Note that the order of the elements of SPG(v) is not necessarily the same in two graphs. Therefore, the dissimilarity (e.g., measured as distance) between two nodes v,w of two graphs is defined to be the difference between the permutation of the elements of v and w that minimizes the Lp distance between them, for p 1:
dissimsp (v, w) = min HSPG, (v) ¨ 71w h, 7rõ E F(SPG2 (w)) (3)
[00100] where u(SPG2(w)) is the set of all permutations of vector SPG2(w)=
[00101] As an example, for a given p, if SPG1(v)=(1, 2, 3, 4) and SPG2(w)=(3, 1, 2, 5), then according to the definition dissimsp(,,,,)=111p=1.
For the cases where the size of two vectors x and y are not the same, the similarity is defined for a subset of x and y of size min(lx1,1y1) that minimizes the sum given in (3). Note that (3) refers to a dissimilarity measure. However, for ease of explanation, the values may be referred to as similarities rather than as dissimilarities.
[00102] In order to calculate the similarity based on all pairs shortest path, consider the following theorem:
[00103] THEOREM 1. For two vectors x, y with length n and p 1 min x ¨ 71 I
Y P sort(x) ¨ sort(y) p E I-1(Y) (4)
[00104] where sort(.), denotes a permutation of the elements of a vector, that is sorted in increasing order.
[00105] Using Theorem 1, the computational complexity for calculating the dissimilarity between two nodes via this measure, after finding the shortest path length to all pairs of nodes in the graph, requires sorting the two shortest path vectors, which is 0(1 VilogIVI).
[00106] For the cases that I x I < NI (or vise versa), it has been proven that a necessary condition for having an assignment from elements of x to a subset of y R&M REF: 49698-3010 with minimum distance, is no ties in the assignment. An assignment of the elements of two sets are defined to have ties if there exists two pair of elements x,, xl and yr,y,,, with x, < x3 and yr < y, such that x, is assigned to y3, and x, is assigned to yr. As a result, for such cases, a search algorithm, can be applied to the sorted elements of x and y to find the optimal subset of y and assign them to elements of y, one by one and in order.
[00107] Assuming lx1<lyl, an example suitable algorithm may comprise the following:
[00108] 1. Sort x and y and initialize i 1.
[00109] 2. If / < lx I, for the i-th element of x, i.e., x,, find the best match in y; otherwise, quit.
[00110] 3. If mapping x, to its best match doesn't cause a conflict, then increment i and go to 2. Otherwise:
[00111] 4. Set the total distance
[00112] 5. Temporarily map x, to its closest match that does not cause a tie.
[00113] 6. Calculate the total distance up to here. If equal to or better than previous total distance, keep the current answer as the best answer.
Otherwise, increment i and go to 2.
[00114] 7. Map x, to the element on the left of its current mapped element.
[00115] 8. If possible, map all the elements xl, x2, ..., X1-1 to the left element of their current mapped element if they are causing a tie and go to 5.
Otherwise, (shift to left is no more possible,) increment i and go to 2.
[00116] Example Algorithm 1 below illustrates pseudo code of an example implementation of this example algorithm.
R&M REF: 49698-3010 Algorithm 1: Optimal assignment of the elements of two vectors x, y for mininmm total Lip distance, with xl ___ ly1 input : Two vectors x and y with lengths nl< n2, norm parameter p output: The minimum LI, distance between the elements of x and all possible subsets of y with size ni 1 x = Sort (x) 2 y = Sort(y) 3 define the mapping array M[1 ni] = [0...0]
4 best = oo M[1]= argminqx[1] x 11x712 ¨
6 best = (x [1] ¨
7 for i = 2 to ni do 8 inx = argmin(lx[i] x 1ixn2 ¨ Y1) 9 if M[i ¨ 1] < inx then M[i] =Mx 11 best = best +lx[i] ¨
12 else 13 M = M[i ¨ 1] 1 14 best = best +lac[i] ¨
/* look for the best mapping by shifting */
= Al 16 for j = 1 to min(M[i ¨ 1] ¨ inx + 1, M[i ¨ 1] ¨ i +1) do 17 temp_M = shiftleft(temp_M) 18 if Ejx[k] ¨ y[temp_M jkf IP < best then 1.9 best = ¨ y[temp_M [k]]r Al = tem p_Al 21 else 22 break 23 end 24 end end 26 end 27 best = best 1/P
[00117] Note that when calling the shiftleft function for resolving conflicts (ties), not all of the mappings will be necessarily shifted; only the ones that are conflicting must be shifted. For example, if we have M =(2,4,5) (meaning that R&M REF: 49698-3010 and x3 are mapped to y2,y4 and y5 respectively), in order to shift the elements to left, since there is a gap between 2 and 4, the shifted mapping becomes M=(2,3,4), leaving element 2 unaltered.
[00118] To calculate the complexity of the algorithm, the most time-consuming part of the algorithm may be doing the shift left and recalculating the total distance. Since each element is only shifted left until its place in the final mapping is found, the whole assignment only consists of at most ll shift lefts. To be more exact, for each node, one extra shift left may be performed to find out that more shifts will not decrease the distance and break the loop at Line (22).
Therefore, the whole assignment requires at most 21y1= 0(ly I) shift lefts.
Since each shift left requires a constant calculation time of at most Ix' points, the computational complexity of the Algorithm is 0(1x1 ly1). Thus, the example pseudo code illustrated in Algorithm 1 optimally assigns each element of x to an element of y with minimum total Lp distance, given lx1 NI and 1
[00119] After calculating the similarities of node pairs, a similarity matrix SIM is created to match the two graphs. The problem of matching can be considered as an assignment problem, where each node from GD must be assigned to its representative node in GT based on SIM.
[00120] According to the problem formulation and the used algorithm, the mapping might be one-on-one or many-to-one.
[00121] In examples of the present disclosure, an example algorithm, referred to as K-best fits, may be used along with two other matching algorithms for comparison: stable matching [10] and Hungarian method [17]. The stable matching algorithm and the Hungarian method will be first briefly explained.
Afterward, the example K-best fits algorithm, including an example suitable pseudo code, will be discussed.
[00122] The stable marriage problem, or stable matching problem, is a problem in which a set of men and women want to marry each other. All men and women have their own list of preference for marrying the opposite gender.
R&M REF: 49698-3010
[00123] A marriage between m, w is defined to be stable, if two conditions are satisfied: w prefers m to any other man who has proposed to her; and m prefers w to any other woman to whom he could be married (i.e., who would have said yes to him if he proposed).
[00124] The problem is seeking for an assignment of men and women, where all marriages are stable.
[00125] An optimal polynomial time algorithm for such problem is given by Gale and Shapley in [10] with worst case running time 0(V3). It is also proved in there that a stable matching always exists.
[00126] However, in the matching described in the present disclosure above, the mapping may not be one-on-one (i.e., IVGDI # IVGTI). A modification of the algorithm may be made to allow one-to-K mappings, where K is the maximum allowed number of assigned members of W to the set M. As a result, for the cases where the density of the nodes of GD and GT are not the same, the algorithm can still provide meaningful answers. Letting K=1 will reduce the algorithm to the classic version.
[00127] The stable matching algorithm is optimal in the sense of providing an equilibrium. However, in the context of matching GD to GT this algorithm misses two facts: first, the nodes that are neighbors in one graph, are most likely matched to neighbor nodes in the second graph. This fact is missed since the stable matching is not aware of the neighborhood information of the nodes. Second, since the similarity matrix is prone to error, the values of similarity should be directly considered in the matching, rather than similarity rankings. Thus, even with modification, the stable matching algorithm may not be best suited for matching GT
and GD.
[00128] Another matching technique, the Hungarian method [17], is an algorithm for addressing the maximum weighted bipartite graph matching problem, also known as the assignment problem. Given a set of tasks and a set of workers with different costs for doing each task (e.g., a cost matrix), this algorithm finds R&M REF: 49698-3010 the optimal assignment of tasks to the workers in the sense of minimizing the total cost.
[00129] A common implementation of the Hungarian method that is efficient for sparse graphs (0(V2E)) is given in [6]. This method has been commonly used in different areas for matching components of two objects, e.g., in shape matching and object recognition [3].
[00130] To use this algorithm, the matching of GT and GD may be defined as an assignment of the nodes of GT to GD with a given similarity matrix SIM, and the solution is to find the assignment with maximum total weight.
[00131] Unlike the stable matching algorithm, here the similarity values (rather than the similarity rankings) are used. Therefore, as will be seen in the example results discussed further below, the Hungarian method was found to outperform the stable matching algorithm. However, the Hungarian method is more complex than the stable matching and still does not use the neighborhood information of the nodes. Thus, the Hungarian method also may not be best suited for matching GT and GD.
[00132] In order to use the similarity values between the graphs, as well as the neighborhood information of the nodes within each graph, the present disclosure provides an example algorithm, referred to as the K-best fits algorithm, that iteratively matches the nodes and incorporates the neighborhood information of the matched points as the assignment of nodes is being completed.
[00133] The algorithm traverses the graph GD in a breadth first fashion (similar to BFS graph traversal algorithm), starting with a random node.
Therefore, a sequence of visits is made, with each node having a predecessor in the visit sequence. When a node is being visited, "the best K matches" of that node is selected in GT and added to the K-best mappings. The final answer is obtained when all nodes of GD are visited. According to the example implementation, one-to-many mappings may or may not be allowed.
R&M REF: 49698-3010
[00134] A factor about this algorithm is in the way "the best K
matches" are selected. For each node v, the best K matches may be selected not only based on the similarity matrix, but also based on the distance between v and its predecessor pre(v). To be more specific, if the distance of v from pre(v) is d, the distance of matches of v to the matches of pre(v) may be expected to be also close to d.
Therefore the similarities between v and each node U E GT is decreased with a penalty kernel f(IDGD(v,pre(v))-DGT(u, M,[pre(v)]) I), where DG(a,b) is the shortest path distance between nodes a and b in a graph G and M, is the i-th best found mapping before visiting v. Since the K best matches are calculated for v based on the K best mappings for Tiõ, K2 resulting mappings will be obtained, where only the best K ones will be kept as the mappings to be used for updating the similarities for the next node being visited.
[00135] In some experiments, a linear penalty kernel f(d) = ad was used, where a is a constant factor, set to 1/10. Therefore, the similarity between v E GD
and u E GT given the i-th mapping, was updated via SiM(V, U) SiM(V, ¨ cDgD (v, pre(v)) ¨ Dc, (u, Mi[pre(v)]) .
[00136] Algorithm 2 below shows an example pseudo code that illustrates this example method in more details.
R&M REF: 49698-3010 Algorithm 2: K-hest matching input : similarity matrix Sn.:x m, adjacency matrices Dc;
D. for graphs CD, GT, all pairs shortest path matrix P for T. distance penalty kernel f (), and the K value output: K best found assignments between the rows of S
(elements of VD) and the columns of S (elements of 1 define K empty mappings ML _K- of size n 2 pick a random node v from Ci'D and Enqueue(v) /* find the most K similar nodes of (-IT with head according to S */
3 for i = I to K do 4 in Ali [head] the i-th most similar node in GT to head end 0 while Q is not empty do 7 if head has no free neighbors then 8 Dequeue (head) 9 continue;
end 11 pick a free neighbor of head, v and Enqueue (v) 12 for i = 1 to K do 13 temp = S[v, 1 . in] ¨ f (Pc,. D (head, v) ¨
Dc,r, (Ali (head), 1 ni)j) x 14 for j = 1 to K do j] = the total similarity from Afil-similarity of the j-th most similar node of QT
to v according to temp 16 end 17 end /* out of the 10 elements of matrix fit, pick the first with highest fits */
18 for = 1 to K do 19 = the mapping with the i-th best total similarity, including mapping of node v, according to fit end 21 end
[00137] If the algorithm is run N times with N random starting points, the complexity becomes 0(NK2V2). In some examples, a proper value for K was observed to be as low as 2 or 3.
R&M REF: 49698-3010
[00138] The following discussion provides example simulation results comparing the above-discussed approaches for graph matching.
[00139] One of the challenges of building the radio map using GD and GT is dealing with different sources of noise and inaccuracy. Issues that may need to be addressed to obtain a reliable result include, for example:
= The noise in distance; for example due to inaccuracy of the step counter, step length, or building GD.
= The noise in picking up wrong nodes, or repetitive nodes, or missing a node, which may also lead to adding/missing edges. This noise may happen due to imperfect step counting and also in mismatching the trace overlaps when building GD, for example = Difference between the distance unit for the two graphs (a scaling problem).
[00140] It may be noted that other than the noise in building the data graph GD, the number of nodes in GD may be generally different from the number of nodes in GT, because of the difference in the process of building the two graphs.
Therefore, as discussed above, before calculating the similarities the nodes of both graphs may be filtered to create macro graphs, and the matching may be performed on the macro graphs.
[00141] To deal with the difference in the scale of the two graphs, the graph weights may be normalized by the sum of the length of the shortest path between all pairs of nodes in each graph.
[00142] It should also be noted that GD might only cover a portion of the whole floor plan (e.g., if the users have not covered all of the building indicated in the building floor plan). To take into account this possibility, the example simulations below also consider the case of partial matching.
[00143] One example simulation considers the problem of noise being present in step count and step length. In this example experiment, GD was a noisy version of GT.
R&M REF: 49698-3010
[00144] In order to validate the performance of the example similarity measure and matching algorithm described in the present disclosure, 1000 simulations were performed on randomly generated graphs. In each round, a random graph was generated with 20 to 60 nodes, after filtering. The ground truth graphs GT were generated by simulating a random 2 dimensional (2D) walk on a plane. The obtained graphs had certain structural limits, such as having maximum node degree of 4, having a single connected component, and being planar, so that the graph could actually be in correspondence with an imaginary building floor. A
noisy copy of the graph was also generated when building GT by adding a Gaussian noise (with a E {0.05, 0.1} of step size) on each edge weights.
[00145] A sample simulated graph and its noisy copy (as data graph) is shown in FIG. 3.
[00146] Table 2 below shows the results of the example simulation, along with other real data results that will be discussed later. The example results compare the stable matching (SM), Hungarian method (HM) and example disclosed K-best matching techniques. The results indicate the accuracy (in percentage of correct assignments) of the various matching algorithms and similarity measures. a is the standard deviation of the noise added to GD.
[00147] Table 2:
-k-best SIVI H11,1 Sim. before filtering a = 0.05 95 81 88 Sim. after filtering a = 0.05 99 97 99 Sim. before filtering a = 0.1 89 69 75 Sim. after filtering a = 0.1 99 95 98 Real data (semi-supervised) after filtering 100 82 82 Real data (crowdsourced) after filtering 88 76 82
[00148] It can be seen that although all algorithms perform suitably well due to proper definition of the similarity measure, the example disclosed K-best fits algorithm is found to be more robust to noise than the comparing algorithms.
For R&M REF: 49698-3010 noise standard deviation a=0.05, the K-best fits algorithm is observed to match 95 percent of the nodes in the simulated graphs correctly.
[00149] It can also be seen that filtering the nodes before the matching, as mentioned above, makes the matching more robust in all 3 algorithms. The filtering also decreases the computational complexity of the problem by a factor, since the number of nodes in the macro graphs is generally less than the number of nodes in original graphs. Once the matching on the filtered graphs is done, the rest of the nodes of the original graphs can be matched easily, based on the matched nodes of the macro graph.
[00150] The issue of partia matching was also considered, which may occur when GE) is only a part of the ground truth graph GT (e.g., when the entire floor plan has not been traversed by users).
[00151] 1000 random graphs were again generated, as described above, but only a portion of GT was kept as GD. The example results of the matching algorithms for partial matching with randomly generated graph with 60 to 100 nodes before filtering, are shown in Table 3 below. The results are indicated in percentage of correct assignments. 6 is the standard deviation of the noise added to GD. It can be seen that the example disclosed K-best fits algorithm has a superior performance than the other two algorithms.
[00152] Table 3:
K-best S:11 HM
Sim. 75(X of nodes in go. a = 0.1 81 73 74 Shn. 50% of nodes in gn.a = 0.1 74 62 62
[00153] It was observed that in order for the similarity measure to have meaningful values, the graphs should have the same scaling, since GD and GT
generally have different scales. In the examples discussed above, the normalization factor used for unifying the scales was the sum of all the pairwise shortest path distances between the nodes of each graph. This measure worked well for complete graphs, but for the partial matching case, the performance was found in some R&M REF: 49698-3010 cases to be degraded by up to 70%. FIG. 4 shows the histogram of the ratio of estimated scale factor to the correct scale factor for the example 1000 simulated graphs. The means is 1.004, and the standard deviation is 0.019.
[00154] An example of the disclosed matching algorithm was also tested on real-life data. In this experiment, the ground truth graph GT was manually drawn based on the floor plan of the 4th floor of the Bahen Center for Information Technology in the University of Toronto. FIG. 5 (left) shows the example filtered data graph GD of the complete floor obtained from crowdsourced data, and FIG.

(right) shows the ground truth graph GT of the complete floor matched to GC,.
[00155] To have a measure of how well GD was generated, as well as the performance of the matching algorithms, the data graph GD was built using two ways: using semi-supervised DR and using unsupervised crowdsourcing. The semi-supervised DR data graph was generated by indicating the initial location and manually correcting the estimated location of the user every 50 to 100 steps, so it was expected to be more accurate than the crowdsourced version. The locations in between were estimated via the DR module. In the unsupervised method, no location information was given to the system; only walked traces data were collected via smart-phones sensors. In both cases, the obtained traces were then processed to merge the points that overlapped based on similar Wi-Fi readings.
[00156] The example data graph obtained from crowdsourced data, shown in FIG. 5 (left), was obtained from 26 completely unsupervised walked traces.
The merging algorithm was able to find the overlap of 16 traces out of the 26 traces walked in the area. It can be seen from these example results that an example implementation of the present disclosure has been able to successfully analyze and merge the traces to build a unified complete map of the building's hallways.
[00157] The average distance of the nodes of GD from their corresponding node in GT, due to noise, was found to be 1.2 meters and 2.2 meters for the semi-supervised and the unsupervised methods respectively, showing that the unsupervised method performs a! lost as well as the semi-supervised method.
The error in GD may be expected to be corrected by the matching algorithms.
R&M REF: 49698-3010
[00158] Table 2, above, shows example results of the example disclosed K-Best algorithm, compared to the stable matching and Hungarian method algorithms, for the graphs GT and GD. It can be seen that the example disclosed K-Best algorithm using all pairs shortest path vector, has obtained 100%
accuracy (matching all points correctly) for the semi-supervised graph and 88% accuracy (matching 15 out of 17 points correctly) for the unsupervised crowdsourced graph.
After fitting the GD on top of GT based on the matched nodes, the average error on the location of the nodes was found to be 1.4, 1.0, 0.6 meters.
[00159] It can be seen that the example disclosed matching algorithm not only labels the nodes of GD, it also reduces the error in the location of the nodes, as the 2.2 meters of error that occurred during the generation of GD is reduces to 0.6 meters using the K-best fits algor!thm. The performance of K-best fits using the defined similarity measure may be due to its ability to exploit the neighborhood information of the nodes in the matching.
[00160] In some examples, other matching algorithms may be used. The present disclosure also discloses an example algorithm based on hidden Markov models (HMM). In contrast to many existing approaches, the example disclosed approach works in the offline phase and has a moderate complexity (0(N3) when both graphs have 0(N) nodes). Furthermore, the example disclosed matching approach can be applied to many of the existing solutions (e.g., the ones that obtain semantic pathway maps), to contribute to their accuracy by adjusting the location tags in the radio maps.
[00161] Similarly to the example disclosed K-best fits algorithm described above, the example disclosed HMM algorithm makes use of neighborhood information. While the example disclosed HMM algorithm follows a probabilistic approach for finding an optimal matching, the example disclosed K-best fits algorithm is not probabilistic. The example disclosed HMM algorithm may not require a global similarly measurement between the node pairs of the two graphs being matched. The example disclosed HMM algorithm may use the local neighborhood information of each node by looking at the number of edges R&M REF: 49698-3010 connected to the node and the weights of the edges. If heading information is also available, the angle between the edges may also be used as information for identifying two matching nodes. The example K-best fits algorithm described above may not use heading information for matching, although other variations of the K-best fits algorithms may make use of the heading direction information. The example disclosed HMM may be more complex than the example disclosed K-best fits algorithm, but may produce a more accurate matching.
[00162] The hidden Markov model has been used for graph matching in several other contexts such as image processing, i.e., shape matching [48].
However, due to differences in the problem settings, the example disclosed approach uses an augmented variation of HMM with continuous emission distributions depending not only on the current state, but also on the previous states.
[00163] To match the graphs, a random sequence of nodes is generated to mimic a hypothetical user walking on GD: S={Sn}n=1N, Sn E {1,2,...,11./1}, where IUI
is the number of nodes in GD. The sequence S is a random traverse on GD, with a uniform random initial node.
[00164] Once such sequence is generated, a sequence of edge weights X={X,}n=1", representing walked distances in each state transition is observed.
[00165] A sequence of relative changes in the heading direction (if available,) is also observed, while transitioning between the states. Such sequence may be referred to as
[00166] The principle of the example disclosed matching algorithm is that the walk (generated sequence) on GD, can be considered as a walk on GD that was subject to an unknown deterministic noise, that caused GT be transformed into GD.
It should be noted that although the labeling order of the nodes in GT and GD
are not identical, the observed edge weights and heading directions are expected to be similar in both graphs. It may be possible to compensate that deterministic noise and find the correct mapping between the nodes of GD and GT by observing the R&M REF: 49698-3010 sequence of walked distances and relative heading directions (if available,) to find the most probable sequence of states on GT that could produce the same sequence.
[00167] Once such sequence is obtained, it can be compared to the actual sequence walked on GD to find a correspondence between the node pairs in the two graphs.
[00168] Define the set of nodes in GT as the set of possible states, represented by the latent variable Z E {1,2,...,IVI}, where I VI is the number of nodes in GT. The equivalent sequence of states in GT is represented by Z={Zn}n=1", with transition probabilities:
if AgT Zn_ 1) = 0 Pr (7,7, 12;71 - 1 ) 1/degree(z1) ) otherwise.
(5)
[00169] where zn represents the outcome of Zn, indicating the latent state at time n, AGT is the adjacency matrix for the graph GT, and degree(z) denotes the number of states from which Z, can transition to, with non-zero probability.
[00170] The sequence of emissions (walked distances) are represented by X, where unlike the conventional HMMs, Xn has a continuous probability distribution that depends on both the current state Zn and the previous state:
(N) Ar(p, (6)
[00171] where N( ,a) denotes a Gaussian distribution with mean values set to be p. =AGT(z,,zn_l) and standard deviation a set according to the observations of noise in measuring the distance. For the example experiments discussed herein, a is set at a = 0.1, since the variance of the noise grows as the walked distance grows, due to drift error. Note that in practice, the Gaussian distribution should be truncated for values less than zero, since xn represents distance. Since the distribution of emission is a function of the current, the previous state and the adjacency matrix, the equation becomes Pr(Xn I Zn, Zn-i,AGT) -N(1-1,Zn,Zn-11, cYZn, Zn-1) where 11,,J=AGT (ii).
R&M REF: 49698-3010
[00172] If the heading direction information is also available, there exists an extra observation, which comprises the relative changes in the heading direction when transitioning from one state to another. Such observation can be also considered as a second element of the emission sequence X. Here, for simplicity of notations, it may be defined as a separate sequence, denoted by the random process Y= {Yn}n=1N, Yn c {0,90,-90,180}. Note that Yn depends on the current state, as well as the previous two states, such that 1 ¨ c if Z(Zn1 Zn ¨1. Zn -2) =- Mt, Pr (y I zõ , Zn -17 zn-2) E/3 other 3 possible cases (7)
[00173] where E is the probability of false heading detection and <(a,b,c) denotes the angle that appears when moving from a to b and then to c. In the example experiments discussed herein, according to observations E is set at E=10-2.
[00174] FIG. 6 shows a schematic diagram of the example modeled HMM
approach. The arrows indicate dependence. Given the transition and emission probabilities, the probability of observing a sequence of emissions {X,Y}, caused by a sequence of occurred states {Z}, with model parameters = {AGT,TE,E}, where Tc is the prior probability of the states, can be written as Pr(X. Z, Yle) =
N
Pr(zii-iT) n x =2ii N
Pr(Xi ) H Pr(Xmi Z rn Z rn¨ L. AgT) x _m=2 N
Pr(Yi I Zi) x Pr(Y21Z2, Zi) Pr(Yt ...... ZI-2. E) _1=-3 (8) R&M REF: 49698-3010
[00175] Letting the initial states to be equiprobable, the most probable sequence of states on GT, based on the observed sequence of emissions can be formulated as:
Z = arg max Pr(Z IX, Y. 0) arg max V' log Pr(Zõ Zõ _ ) /
7/ =2 = E log Pr (X AQT) in =2 = Elog Pr(17/14, 4_1, Z1_2, E) (9)
[00176] If the direction information is unavailable, the last line of (9) will be omitted.
[00177] Using the formulation given in (9), the most probable sequence of states is calculated using the Viterbi algorithm with complexity 0(101 VIN).
If the number of the nodes of two graphs is the same order, since N is also selected to be an order of the number of nodes (so that all nodes are walked at least once,) the complexity will be 0(N3).
[00178] Once Z is calculated, a mapping table may be defined as M=[m,,,], E {1,...,IUI}, j e {1,...,IVI} by comparing the state sequences Sand Z in the following way:
= initially set mi,J=0, V i,j;
= for k=1,...,N do /no, = +1.
[00179] Note that if the mapping is unitary, after normalizing each row of M, the obtained table should be close to a unitary matrix (see FIG. 7, representing an R&M REF: 49698-3010 example mapping table for 23 nodes and unitary mapping). Since 2 may have some errors, in order to obtain the final mapping, the stable matching algorithm [49] may be applied to map each node of GD to it most stable match. If the number of nodes in GT and GD are not the same, one to many mappings may be allowed in the algorithm.
[00180] In order to validate the performance of the example modified HHM
approach, 1000 rounds of graph matching were performed on simulated graphs. In each round, a random graph was generated with 20 to 40 nodes. The graphs were generated with certain structural limits, such as maximum degree of 4, single connected component, and planar, so that the graph could actually be in correspondence with an imaginary building floor. The method to generate the graphs was by simulating a random walked trace (of 60-100 steps length,) on a plain, where intersections were repetitive points the trace passed along. As mentioned previously, only the intersections were kept, turning points and ending points of the trace as the graph nodes. This is equivalent to the "macro graphs"
obtained in [50]. A noisy copy of the graph was also simultaneously built by adding a Gaussian noise (with 6 E {0.1, 0.2}) to each taken step of the trace to simulate the variations in the step length. An example simulated graph (with fewer than nodes) is shown in FIG. 8 (right) and its noisy copy is shown in FIG. 8 (left). For assessing the robustness to heading direction noise, a possibility of detecting wrong heading direction (Pr(error)=0.05) was also added when heading direction was used for matching.
[00181] Similar to the example experiments performed for the example K-best fit algorithm, the performance of the modified HMM method was also tested for partial matching, by removing a portion of neighboring nodes in GD before the matching. These cases were used to study whether the matching can perform well, when only a portion of the complete floor plan is explored by the users, and hence the pathway map GD does not cover the whole floor plan. The weight normalization method for partial graph matching was observed not to work effectively and high errors in scale estimation (more than 50%) where also observed. Therefore, the R&M REF: 49698-3010 results shown here for partial matching use the correct scale rather than an estimated scale. Using other more effective methods for estimating the correct scale of the weights may help to improve this.
[00182] For each matching, the example modified HMM algorithm was run 4 times with N=1000 and based on that, the mapping Table M was calculated. Table 4 below shows the results of the example simulation, compared with the example K-best fits algorithm discussed above, as well as stable matching and the Hungarian method, with all pairs shortest path similarity measure. The example results are indicated in percentage of correct assignments. Repetitive values are removed. a = std. dev. of added noise to GE). p is the probability of having wrong heading direction information
[00183] Table 4:
HMM WI dir HMM K-best SM HM
p = 0.05 p = 0 w/o dir Simulation a = 0.1 100 100 96 98 97 97 Simulation a = 0.2 99 99 92 96 86 87 Sim. 715`;'(' of nodes in gD, a =0.1 84 84 79 81 73 74 Sim. 50(/ of nodes in cDa 0.1 80 80 73 74 6/ 62 Real data (dead reckoning) 94 82 88 76 82
[00184] It can be seen that when the direction information exists, the example HMM matching algorithm achieved 100% accuracy in matching the nodes correctly (for a=0.1) and when the direction information is not available, the matching still has an acceptably high accuracy (96% for a=0.1). It is also observed that the matching is robust to noise in heading directions, where for 5% of noise in heading directions, less than 1% deterioration in accuracy has occurred. The robustness of the algorithm for partial matching is also shown in Table 4.
[00185] The example HMM algorithm was also tested on real data. The ground truth graph GT was manually drawn based on the 4th floor of "Bahen Center of Information Technology", at the University of Toronto.
[00186] Reference is again made to FIG. 5, which shows an example data graph (FIG. 5, left) and the example data graph matched on the building's floor R&M REF: 49698-3010 plan (FIG. 5, right). The data graph GD was built using dead reckoning on Samsung GalaxyTM SIII smart-phone with Android operating system. As can be seen, GD is a noisy version of GT. The better performance of the example HMM method in comparison to other methods may be due to effectively using the heading direction information of the pathway map in the graph. Example results for the testing on real data are shown in Table 4 above. It can be seen that the HMM matching algorithm was found to obtain 94% accuracy in matching the node pairs.
[00187] FIG. 9 shows an example obtained mapping table for the example graphs shown in FIG. 5. Although not unitary, it can be seen that most of the nodes in GD can clearly recognize their correct corresponding node in GT since in most of the rows of the table a single point has higher value (brighter contrast) than the rest of the points in that row. The only node that was matched incorrectly was node number 14 on GD, where the two graphs look very different.
[00188] FIG. 10 is a schematic diagram of an example system 1100 that may be suitable for implementing examples of the present disclosure.
[00189] In some examples, the radio map obtained by matching the data graph to the ground truth graph may be updated as new data trace(s) become available. The updating process, which may involve repeating steps described above, including merging the new data trace(s) with the existing data graph to generate an updated data graph, and matching the updated data graph with the ground truth graph to generate the updated radio map, may take place once a predetermined number of new traces are received or a predetermined time duration has passed, for example.
[00190] The system 1100 may include multiple mobile devices 1105 (which may be used by different respective users) in wireless connection (e.g., via a wireless network, such as a WLAN) with at least one server 1110. Each of the mobile devices 1105 may be configured to perform the data gathering using a dead reckoning (DR) module 1115, for example as described above. The DR module 1115 may receive information (e.g., acceleration information) about the mobile device 1105 from one or more sensors 1120 (e.g., accelerometer, gyroscope and/or R&M REF: 49698-3010 other inertial sensor) of the mobile device 1105. The DR module 1115 may use the received information to perform step counting, for example as discussed above, in order to generate a data graph for that mobile device 1105, as the user walks inside a building.
[00191] The generated raw data traces from each mobile device 1105 may be communicated to the server(s) 1110, and the server(s) 1110 may store the raw = data traces, and the subsequently generated crowdsourced data graph, in a data graph database 1125 (which may be in local memory(ies) of the server(s) 1110 or may be in remote memory(ies) accessible by the server(s) 1110). The server(s) 1110 may also have a ground truth graph for the building of interest stored in a ground truth graph database 1130 (which may be in local memory(ies) of the server(s) 1110 or may be in remote memory(ies) accessible by the server(s) 1110). The ground truth graph may be provided to the ground truth graph database 1130 ahead of time, for example by an administrator inputting a floor plan into the server(s) 1110.
[00192] The server(s) 1110 may use a graph matching module 1135 to carrying out the example graph matching processes described above (e.g., to aggregate raw data traces from individual mobile devices with each other to generate the crowdsourced data graph, and to match the crowdsourced data graph to the ground truth graph). The graph matching module 1135 may be configured to implement any of the example graph matching algorithms disclosed herein (e.g., K-best fit algorithm or HMM algorithm), including variations thereof, and/or other suitable graph matching algorithms, for example. In some examples, the graph matching module 1135 may provide a setting to select which graph matching algorithm to use.
[00193] FIG. 11 is a schematic diagram illustrating an example processing unit 1200 that may be used to implement the server(s) 1110 and/or mobile devices 1105 discussed above (with suitable modifications where appropriate), and that may be used to carry out examples of the present disclosure.
, R&M REF: 49698-3010
[00194] In some examples, the processing unit 1200 may include one or more processors 1202 (for examp!e, a CPU and/or microprocessor), one or more memories 1204 (which may include random access memory (RAM) and/or read-only memory (ROM)), a system bus 1206, one or more input/output interfaces 1208 (such as a user interface for a user to provide various inputs), one or more communications interfaces 1210 (e.g., to communication with other server(s), mobile device(s) and/or remote data storage), and one or more internal storage devices 1212 (e.g. a hard disk drive, compact disk drive and/or internal flash memory). The processing unit 1200 may also include a power supply (not shown).
[00195] The processing unit 1200 may interface with one or more other external devices (not shown), such as external input and/or output devices which may include, for example, one or more of a display, keyboard, mouse, microphone and speaker.
[00196] Various embodiments and aspects of the present disclosure may be implemented via the processor(s) 1202 and/or memory(ies) 1204. For example, one or more of the functionalities and methods described herein may be at least partially implemented via hardware logic in the processor(s) 1202 and/or at least partially using instructions stored in the memory(ies) 1204, as one or more modules 1214. For example, where the processing unit 1200 is used to implement the server 1110, the module(s) 1214 may include the graph matching module 1135. In another example, where the processing unit 1200 is used to implement the mobile device 1105, the module(s) 1214 may include the dead reckoning module 1115. Although certain modules are described, it should be understood that modules need not be specifically defined in the instructions, a plurality of modules may work together to carry out a function, and a module may be used to implement any combination of functions.
[00197] Variations and modifications may be made as appropriate. For example, one or more components of the processing unit 1200 may be provided as R&M REF: 49698-3010 an external component or device. Although only one of each component is illustrated in FIG. 11, any number of each component can be included. For example, a computer typically contains a number of different data storage media.
Furthermore, although the bus 1206 is depicted as a single connection between all of the components, the bus 1206 may represent one or more circuits, devices or communication channels which link two or more of the components. For example, in personal computers, the bus 1206 may include or may be a motherboard.
[00198] Some embodiments or aspects of the present disclosure may be implemented using the processor(s) 1202 without additional instructions stored in the memory 1204. Some embodiments or aspects of the present disclosure may be implemented using instructions stored in the memory 1204 for execution by one or more general purpose microprocessors. In some examples, the processing unit 1200 may be, or may include, a general purpose computer or any other hardware equivalents configured for operation in space. The processing unit 1200 may also be implemented as one or more physical devices that may be coupled to the processor(s) 1202 through one or more communications channels or interfaces.
The present disclosure is not limited to a specific configuration of hardware and/or software.
[00199] In various examples, the present disclosure addresses the problem of effort-free or reduced-effort radio map generation for RSS-based indoor localization. Unlike many conventional techniques, the example disclosure method may not require any active user intervention during the training. The system may automatically collect data from sensors in the mobile device (e.g., inertial sensors) along with Wi-Fi signals and may build a radio map by merging the collected data from multiple users, who may be engaged in their daily activities. The problem may be modeled as a matching of weighted undirected graphs based on a defined similarity measure for graphs. In some examples, the present disclosure provides example algorithms to solve it. In some examples, the present disclosure also provides a technique to calculate the similarity measurement efficiently.
R&M REF: 49698-3010
[00200] The embodiments of the present disclosure described above are intended to be examples only. The present disclosure may be embodied in other specific forms. Alterations, modifications and variations to the disclosure may be made without departing from the intended scope of the present disclosure.
While the systems, devices and processes disclosed and shown herein may comprise a specific number of elements/components, the systems, devices and assemblies could be modified to include additional or fewer of such elements/components.
For example, while any of the elements/components disclosed may be referenced as being singular, the embodiments disclosed herein could be modified to include a plurality of such elements/components. Selected features from one or more of the above-described embodiments may be combined to create alternative embodiments not explicitly described. All values and sub-ranges within disclosed ranges are also disclosed. The subject matter described herein intends to cover and embrace all suitable changes in technology. All references mentioned are hereby incorporated by reference in their entirety.
REFERENCES
[00201] [1] Android documentation of motion sensors.
http://developer.android.com/guide/topics/sensors/sensors_motion.html.
Accessed: 2010-09-30.
[00202] [2] P. Bahl and V. Padmanabhan. Radar: an in-building RF-based user location and tracking system. In INFOCOM 2000. Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies. Proceedings.
IEEE, volume 2, pages 775-784 vol.2, 2000.
[00203] [3] S. Belongie, J. Malik, and J. Puzicha. Shape matching and object recognition using shape contexts. IEEE Trans. Pattern Anal. Mach. Intell., 24(4):509-522, Apr 2002.
[00204] [4] J. A. Bondy and U. S. R. Murty. Graph theory with applications, volume 290. Macmillan London, 1976.
R&M REF: 49698-3010
[00205] [5] D. Conte, P. Foggia, C. Sansone, and M. Vento. Thirty years of graph matching in pattern recognition. International journal of pattern recognition and artificial intelligence, 18(03):265-298, 2004.
[00206] [6] 3. Edmonds and R. M. Karp. Theoretical improvements in algorithmic efficiency for network flow problems. Journal of the ACM (JACM), 19(2):248-264, 1972.
[00207] [7] L. Fang, P. Antsaklis, L. Montestruque, M. McMickell, M.
Lemmon, Y. Sun, H. Fang, I. Koutroulis, M. Haenggi, M. Xie, and X. Xie. Design of a wireless assisted pedestrian dead reckoning system - the navmote experience.
IEEE
Trans. Instrum. Meas., 54(6):2342-2358, Dec 2005.
[00208] [8] C. Feng, W. Au, S. Valaee, and Z. Tan. Received-signal-strength-based indoor positioning using compressive sensing. IEEE Trans.
Mobile Comput., 11(12):1983-1993, 2012.
[00209] [9] B. Ferris, D. Fox, and N. D. Lawrence. Wifi-slam using gaussian process latent variable models. In IJCAI , volume 7, pages 2480-2485, 2007.
[00210] [10] D. Gale and L. S. Shapley. College admissions and the stability of marriage. The American Mathematical Monthly, 69(1):9-15, 1962.
[00211] [11] P. L. Jenkins, T. J. Phillips, E. J. Mulberg, and S. P.
Hui. Activity patterns of californians: use of and proximity to indoor pollutant sources.
Atmospheric Environment. Part A. General Topics, 26(12):2141-2148, 1992.
[00212] [12] Y. Jin, M. Motani, W.-S. Soh, and J. Zhang.
Sparsetrack:
Enhancing indoor pedestrian tracking with sparse infrastructure support. In INFOCOM, 2010 Proceedings IEEE , pages 1-9, 2010.
[00213] [13] M. Kanaan and K. Pahlavan. A comparison of wireless geolocation algorithms in the indoor environment. In Wireless Communications and Networking Conference, 2004. WCNC. 2004 IEEE , volume 1, pages 177-182 Vol.1, 2004.
R&M REF: 49698-3010
[00214] [14] S. Kantawong. Development of fire evacuation path selective using adaptive routing algorithms and rfid traffic cone-based observation with shadowing method. In Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), 2012 9th International Conference on, pages 1-4, 2012.
[00215] [15] Y. Kim, Y. Chon, and H. Cha. Smartphone-based collaborative and autonomous radio fingerprinting. IEEE Trans. Syst., Man, Cybern. C, 42(1):112-122, Jan 2012.
[00216] [16] M. B. Kjaergaard. A taxonomy for radio location fingerprinting.
In Location-and Context-Awareness , pages 139-156. Springer, 2007.
[00217] [17] H. W. Kuhn. The Hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83-97, 1955.
[00218] [18] Q. Ladetto. On foot navigation: continuous step calibration using both complementary recursive prediction and adaptive kalman filtering.
In Proceedings of ION GPS, volume 2000, pages 1735-1740, 2000.
[00219] [19] H. Liu, H. Darabi, P. Banerjee, and J. Liu. Survey of wireless indoor positioning techniques and systems. IEEE Trans. Syst., Man, Cybern. C, 37(6):1067-1080, 2007.
[00220] [20] R. Ouyang, A. Wong, C.-T. Lea, and M. Chiang. Indoor location estimation with reduced calibration exploiting unlabeled data via hybrid generative/discriminative learning. IEEE Trans. Mobile Comput., 11(11):1613-1626, 2012.
[00221] [21] J. Pinchin, C. Hide, and T. Moore. A particle filter approach to indoor navigation using a foot mounted inertial navigation system and heuristic heading information. In Indoor Positioning and Indoor Navigation (IPIN), 2012 International Conference on, pages 1-10, 2012.
[00222] [22] A. Rai, K. K. Chintalapudi, V. N. Padmanabhan, and R.
Sen.
Zee: Zero-effort crowdsourcing for indoor localization. In Proceedings of the 18th R&M REF: 49698-3010 annual international conference on Mobile computing and networking, pages 293-304. ACM, 2012.
[00223] [23] C. Randell, C. Djiallis, and H. Muller. Personal position measurement using dead reckoning. In Wearable Computers, 2003. Proceedings.
Seventh IEEE International Symposium on, pages 166-173, 2003.
[00224] [24] G. Shen, Z. Chen, P. Zhang, T. Moscibroda, and Y.
Zhang.
Walkie-markie: indoor pathway mapping made easy. In Proc. of USENIX NSDI, 2013.
[00225] [25] H. Shin and H. Cha. Wi-fi fingerprint-based topological map building for indoor user tracking. In Int. Conf. on Embedded and Real-Time Computing Syst. and Applicat. (RTCSA), 2010 IEEE 16th , pages 105-113, Aug 2010.
[00226] [26] H. Shin, Y. Chon, and H. Cha. Unsupervised construction of an indoor floor plan using a smartphone. IEEE Trans. Syst., Man, Cybern. C, 42(6):889-898, Nov 2012.
[00227] [27] D. Simchi-Levi, X. Chen, and 3. Bramel. Convexity and supermodularity. In The Logic of Logistics, Springer Series in Operations Research, pages 13-32. Springer New York, 2005.
[00228] [28] H. Wang, H. Lenz, A. Szabo, J. Bamberger, and U.
Hanebeck.
Wlan-based pedestrian tracking using particle filters and low-cost MEMS
sensors. In Positioning, Navigation and Communication, 2007. WPNC '07. 4th Workshop on , pages 1-7, 2007.
[00229] [29] H. Wang, S. Sen, A. Elgohary, M. Farid, M. Youssef, and R. R.
Choudhury. No need to war-drive: unsupervised indoor localization. In Proceedings of the 10th international conference on Mobile systems, applications, and services, pages 197-210. ACM, 2012.
[00230] [30] D. B. West et al. Introduction to graph theory, volume 2.
Prentice hall Englewood Cliffs, 2001.
R&M REF: 49698-3010
[00231] [31] 0. Woodman and R. Harle. RF-based initialisation for inertial pedestrian tracking. In Pervasive Computing, pages 238-255. Springer, 2009.
[00232] [32] C. Wu, Z. Yang, Y. Liu, and W. Xi. Will: Wireless indoor localization without site survey. IEEE Trans. Parallel Distrib. Syst., 24(4):839-848, April 2013.
[00233] [33] Z. Yang, C. Wu, and Y. Liu. Locating in fingerprint space:
wireless indoor localization with litJle human intervention. In Proceedings of the 18th annual international conference on Mobile computing and networking, pages 269-280. ACM, 2012.
[00234] [34] L. Zager. Graph similarity and matching. PhD thesis, Massachusetts Institute of Technology, 2005.
[00235] [35] S. Fortin, "The graph isomorphism problem," Technical Report 96-20, University of Alberta, Edomonton, Alberta, Canada, Tech. Rep., 1996.
[00236] [36] H. Bunke, X. Jiang, and A. Kandel, "On the minimum common supergraph of two graphs," Computing, vol. 65, no. 1, pp. 13-25,2000.
[00237] [37] S. Belongie, J. Malik, and 3. Puzicha, "Shape matching and object recognition using shape contexts," IEEE Trans. Pattern Anal. Mach.
Intell., vol. 24, no. 4, pp. 509-522, Apr 2002.
[00238] [38] H. Sundar, D. Silver, N. Gagvani, and S. Dickinson, "Skeleton based shape matching and retrieval," in Shape Modeling International, 2003, May 2003, pp. 130-139.
[00239] [39] V. D. Blondel, A. Gajardo, M. Heymans, P. Senellart, and P.
Van Dooren, "A measure of similarity between graph vertices: Applications to synonym extraction and web searching," SIAM review, vol. 46, no. 4, pp. 647-666, 2004.
[00240] [40] M. Heymans and A. K. Singh, "Deriving phylogenetic trees from the similarity analysis of metabolic pathways," Bioinformatics, vol. 19, no.
suppl 1, pp. i138-i146,2003.
R&M REF: 49698-3010
[00241] [41] D. Conte, P. Foggia, C. Sansone, and M. Vento, "Thirty years of graph matching in pattern recognition," International journal of pattern recognition and artificial intelligence, vol. 18, no. 03, pp. 265-298,2004.
[00242] [42] P. Bahl and V. Padmanabhan, "Radar: an in-building RE
based user location and tracking system," in INFOCOM 2000. Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies. Proceedings.
IEEE, vol. 2,2000, pp. 775-784 vol.2.
[00243] [43] H. Shin, Y. Chon, and H. Cha, "Unsupervised construction of an indoor floor plan using a smartphone," IEEE Trans. Syst., Man, Cybern. C, vol.
42, no. 6, pp. 889-898, Nov 2012.
[00244] [44] H. Shin and H. Cha, "Wi-fi fingerprint-based topological map building for indoor user tracking," in Int. Conf. on Embedded and Real-Time Computing Syst. and Applicat. (RTCSA), 2010 IEEE 16th, Aug 2010, pp. 105-113.
[00245] [45] Y. Kim, Y. Chon, and H. Cha, "Smartphone-based collaborative and autonomous radio fingerprinting," IEEE Trans. Syst., Man, Cybern. C, vol.
42, no. 1, pp. 112-122, Jan 2012.
[00246] [46] A. Rai, K. K. Chintalapudi, V. N. Padmanabhan, and R.
Sen, "Zee: Zero-effort crowdsourcing for indoor localization," in Proceedings of the 18th annual international conference on Mobile computing and networking. ACM, 2012, pp. 293-304.
[00247] [47] J. Pinchin, C. Hide, and T. Moore, "A particle filter approach to indoor navigation using a foot mounted inertial navigation system and heuristic heading information," in Indoor Positioning and Indoor Navigation (IPIN), 2012 International Conference on, 2012, pp. 1-10.
[00248] [48] X. Qian and B.-J. Yoon, "Shape matching based on graph alignment using hidden markov models," in IEEE International Conference on Acoustics Speech and Signal Processing (ICASSP), March 2010, pp. 934-937.
R&M REF: 49698-3010
[00249] [49] D. Gale and L. S. Shapley, "College admissions and the stability of marriage," The American Mathematical Monthly, vol. 69, no. 1, pp.

15, 1962.
[00250] [50] S. Shahidi and S. Valaee, "Graph matching for crowdsourced data in mobile sensor networks," in IEEE 15th International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), June 2014, pp. 414-418.
[00251] [51] H. W. Kuhn, "The hungarian method for the assignment problem," Naval research logistics quarterly, vol. 2, no. 1-2, pp. 83-97, 1955.
[00252] [52] J. A. Leech, et al., "The Canadian Human Activity Pattern Survey: report of methods and population surveyed," Chronic Diseases in Canada, 17(3-4):118-123, 1996.
R&M REF: 49698-3010

Claims (15)

- 51 -
1. A method for generating a map for indoor localization, the method comprising:
receiving a plurality of raw data traces from a respective plurality of mobile devices, the raw data traces representing paths traversed by the mobile devices and including received signal strength (RSS) fingerprints associated with relative points along the paths;
merging the plurality of raw data traces to generate a single data graph having a first plurality of nodes connected by a first plurality of edges;
matching the data graph with a predefined ground truth graph defining physical coordinates of traversable paths, the ground truth graph having a second plurality of nodes connected by a second plurality of edges; and generating a radio map including both the defined physical coordinates and RSS fingerprints associated with the physical coordinates.
2. The method of claim 1, wherein matching the data graph with the predefined ground truth graph comprises matching the first plurality of nodes of the data graph with the second plurality of nodes of the predefined ground truth graph using a graph matching algorithm that takes into account neighborhood information for the first plurality of nodes of the data graph and the second plurality of nodes of the predefined ground truth graph.
3. The method of claim 2, further comprising:
prior to matching the data graph with the predefined ground truth graph, pre-processing each of the data graph and the predefined ground truth graph to reduce the number of nodes in each graph to be matched.
4. The method of claim 1, wherein merging the plurality of raw data traces comprises:
transforming the raw data traces to share a common coordinate system; and merging the transformed data traces, wherein points of two data traces that have a distance between them that is less than a predefined threshold are merged into a single point.
5. The method of claim 1, further comprising:
receiving a new raw data trace;
merging the new raw data trace with the generated data graph to generate an updated data graph; and matching the updated data graph with the ground truth graph, to generate an updated radio map.
6. The method of claim 1, wherein the ground truth graph comprises a predefined floor plan.
7. A system for generating a map for indoor localization, the system comprising a processor configured to execute instructions to cause the system to:
receive a plurality of raw data traces from a respective plurality of mobile devices, the raw data traces representing paths traversed by the mobile devices and including received signal strength (RSS) fingerprints associated with relative points along the paths;
merge the plurality of raw data traces to generate a single data graph having a first plurality of nodes connected by a first plurality of edges;

match the data graph with a predefined ground truth graph defining physical coordinates of traversable paths, the ground truth graph having a second plurality of nodes connected by a second plurality of edges; and generate a radio map including both the defined physical coordinates and RSS fingerprints associated with the physical coordinates.
8. The system of claim 7, wherein the processor is further configured to execute instructions to further cause the system to match the data graph with the predefined ground truth graph by: matching the first plurality of nodes of the data graph with the second plurality of nodes of the predefined ground truth graph using a graph matching algorithm that takes into account neighborhood information for the first plurality of nodes of the data graph and the second plurality of nodes of the predefined ground truth graph.
9. The system of claim 8, wherein the processor is further configured to execute instructions to further cause the system to:
prior to matching the data graph with the predefined ground truth graph, pre-process each of the data graph and the predefined ground truth graph to reduce the number of nodes in each graph to be matched.
10. The system of claim 7, wherein the processor is further configured to execute instructions to further cause the system to merge the plurality of raw data traces by:
transforming the raw data traces to share a common coordinate system; and merging the transformed data traces, wherein points of two data traces that have a distance between them that is less than a predefined threshold are merged into a single point.
11. The system of claim 8, wherein the processor is further configured to execute instructions to further cause the system to:
receive a new raw data trace; and merge the new raw data trace with the generated data graph.
12. The system of claim 8, wherein the ground truth graph comprises a predefined floor plan.
13. A method for gathering received signal strength (RSS) fingerprint data, the method comprising:
while traversing a path, detecting a RSS fingerprint;
absent a predefined starting point of the path and absent information about an orientation of the system relative to the path, determining a relative position along the path associated with the RSS fingerprint, the relative position being determined based on cumulative displacement and heading direction relative to a relative starting point;
repeating the detecting and determining until an end point is reached;
generating a raw data trace including all detected RSS fingerprints associated with respective relative points along the path; and transmitting the raw data trace to a central server.
14. The method of claim 13, wherein determining the relative position along the path comprises:
determining the cumulative displacement using a count of steps since the relative starting point and an estimate of step length; and determining the heading direction using cumulative changes in heading since the relative starting point.
R&M REF: 49698-3010
15. The method of claim 13, wherein signals from at least one of an accelerometer and a gyroscope are used to determine the relative position along the path.
CA2894863A 2015-06-22 2015-06-22 Indoor localization using crowdsourced data Abandoned CA2894863A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CA2894863A CA2894863A1 (en) 2015-06-22 2015-06-22 Indoor localization using crowdsourced data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA2894863A CA2894863A1 (en) 2015-06-22 2015-06-22 Indoor localization using crowdsourced data

Publications (1)

Publication Number Publication Date
CA2894863A1 true CA2894863A1 (en) 2016-12-22

Family

ID=57575292

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2894863A Abandoned CA2894863A1 (en) 2015-06-22 2015-06-22 Indoor localization using crowdsourced data

Country Status (1)

Country Link
CA (1) CA2894863A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110186467A (en) * 2018-02-23 2019-08-30 通用汽车环球科技运作有限责任公司 Group's sensing points cloud map
CN113259837A (en) * 2021-04-29 2021-08-13 西安电子科技大学 Indoor positioning method based on angle estimation and fingerprint positioning algorithm
CN116405880A (en) * 2023-05-31 2023-07-07 湖北国际贸易集团有限公司 Radio map construction method and system based on federal learning
US11885900B2 (en) 2019-01-10 2024-01-30 Technische Universität München Method and system for tracking a mobile device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110186467A (en) * 2018-02-23 2019-08-30 通用汽车环球科技运作有限责任公司 Group's sensing points cloud map
US11885900B2 (en) 2019-01-10 2024-01-30 Technische Universität München Method and system for tracking a mobile device
CN113259837A (en) * 2021-04-29 2021-08-13 西安电子科技大学 Indoor positioning method based on angle estimation and fingerprint positioning algorithm
CN113259837B (en) * 2021-04-29 2023-02-10 西安电子科技大学 Indoor positioning method based on angle estimation and fingerprint positioning algorithm
CN116405880A (en) * 2023-05-31 2023-07-07 湖北国际贸易集团有限公司 Radio map construction method and system based on federal learning
CN116405880B (en) * 2023-05-31 2023-09-12 湖北国际贸易集团有限公司 Radio map construction method and system based on federal learning

Similar Documents

Publication Publication Date Title
US20160371394A1 (en) Indoor localization using crowdsourced data
He et al. Geomagnetism for smartphone-based indoor localization: Challenges, advances, and comparisons
Hilsenbeck et al. Graph-based data fusion of pedometer and WiFi measurements for mobile indoor positioning
Chen et al. Crowd map: Accurate reconstruction of indoor floor plans from crowdsourced sensor-rich videos
Gao et al. Jigsaw: Indoor floor plan reconstruction via mobile crowdsensing
US20240085189A1 (en) System For Determining Position Both Indoor and Outdoor
Shin et al. Unsupervised construction of an indoor floor plan using a smartphone
Gao et al. Multi-story indoor floor plan reconstruction via mobile crowdsensing
Xiao et al. Indoor tracking using undirected graphical models
Faragher et al. Towards an efficient, intelligent, opportunistic smartphone indoor positioning system
Gao et al. Semi-automated signal surveying using smartphones and floorplans
Teng et al. CloudNavi: Toward ubiquitous indoor navigation service with 3D point clouds
CA2894863A1 (en) Indoor localization using crowdsourced data
Masiero et al. Toward the use of smartphones for mobile mapping
Zhou et al. Image-based localization aided indoor pedestrian trajectory estimation using smartphones
Chow et al. Indoor tracking, mapping, and navigation: algorithms, technologies, and applications
Zhang et al. Online ground multitarget geolocation based on 3-D map construction using a UAV platform
Tan et al. Implicit multimodal crowdsourcing for joint RF and geomagnetic fingerprinting
Teng et al. SISE: Self-updating of indoor semantic floorplans for general entities
He et al. WiFi based indoor localization with adaptive motion model using smartphone motion sensors
Shang et al. GridiLoc: A backtracking grid filter for fusing the grid model with PDR using smartphone sensors
Nowicki et al. A multi-user personal indoor localization system employing graph-based optimization
Liang et al. Indoor mapping and localization for pedestrians using opportunistic sensing with smartphones
Wen et al. Efficient indoor positioning with visual experiences via lifelong learning
Gao et al. Indoor map construction via mobile crowdsensing

Legal Events

Date Code Title Description
FZDE Discontinued

Effective date: 20180622