BUILDING FLOOR DETERMINATION FOR A LOCATION BASED SERVICE
A device stores an indication of a current floor of a multiple floor building on which a device is located. The device measures signal strengths of signals received at the device from transmitters having known locations on the floors of the building. The device selects one of the multiple floors as a candidate floor based in part on the measured signal strengths. The device increases a confidence level associated with the indication of the current floor if the candidate floor corresponds to the current floor, and decreases the confidence level if the candidate floor does not correspond to the current floor. The device replaces the indication of the current floor with the candidate floor if the confidence level is below a threshold.
A location based service (LBS) provides a service based on location. The LBS may include a server-based LBS application hosted on an Internet server that is paired with a client-based LBS application hosted on an Internet Protocol (IP)-capable client device (CD), which may be stationary or mobile. The paired LBS applications may communicate with each other over the Internet. Typically, the LBS acquires a current location of the CD, and then provides an appropriate service to a consumer of the LBS, e.g., a user of the CD, based on the current location. For example, the LBS may cause the CD to display a geographical map indicating the current location, and provide audible directions that direct the user to a point-of-interest, such as a store or a restaurant in a shopping mall, etc.
Trilateration is a technique for determining a relative or an absolute location of the CD. Trilateration relies on signals that are transmitted to the CD from transmitters associated with reference points (RPs), e.g. Wi-Fi access points (APs) and beacons, having known locations. Trilateration may be used to calculate a location of the CD in a planar direction, i.e., a plane geometric location of the CD, such as its relative x, y or absolute latitude, longitude coordinates. When the CD is in a multi-story building that hosts multiple RPs dispersed across different floors of the building, the CD typically receives RP signals that originate from the different floors, including the floor on which the CD is located. Simple trilateration is insufficient to locate the CD reliably in both a planar direction and a vertical direction, e.g., to an altitude or a floor of the building.
In the multi-story environment, conventional techniques, including trilateration, that use received RP signals to detect the floor on which the CD is located, tend to be error prone, i.e., often detect an incorrect floor. This is because such techniques may simply detect the floor that originates either a strongest one of the RP signals (as received at the CD), or the most RP signals. In either case, the CD may be located on a floor different from that originating either the strongest or the most RP signals. Incorrect floor information may translate to erroneous LBS operation. For example, a map indicating a location of a CD in a multi-story building may intermittently represent the CD on incorrect floors, and thereby “jump” back-and-forth between floors depicted in the map, thus confusing the LBS consumer.
In the drawings, the leftmost digit(s) of a reference number identifies the drawing in which the reference number first appears.
LBS EnvironmentClient device 106 may host a client-side LBS application 112 to communicate with peer LBS applications on servers 108, and provide the LBS to a user of the client device. LBS application 112 may request and use location information related to client device 102, such as a location of the client device in the building, and a floor on which the client device is located. As will be described below, client device 106 is configured to receive signals from building communication network 104 and process the received signals in accordance with embodiments described herein.
The RPs RP1-RP3 may include, without limitation, Wi-Fi access points (APs) and beacons. As such, each of RPs RP1-RP3 typically includes a transmitter-receiver (transceiver) pair to transmit and receive (i.e., transceive) wireless and/or wired communication signals S, such as radio-frequency (RE) signals. RPs among RP1-RP3 configured as beacons may include only a transmitter to transmit signals. All of the RPs depicted in
RPs RP1-RP3 may transceive communication signals with each other and with client device 102. RPs RP1-RP3, and client device 106, may also communicate with LBS servers 108 over communication network 110. As depicted in
As mentioned above, embodiments described herein determine a location of client device 104 in building 102, including a current floor of the building on which the client device is located. Such embodiments assume that certain RP-related information is known a priori and accessible as necessary to components in environment 100. Such RP-related information may include:
(i) a list of RP identifiers (IDs) and network addresses of all of the deployed RPs in the sets of RPs RP1-RP3;
(ii) for each listed ID, a real-world (deployed) i.e., geographical coordinates, of the RP associated with that ID;
(iii) for each listed ID, a floor (e.g., F1, F2, or F3) of building 102 on which the RP associated with that ID is located; and
(iv) for each listed ID, a predetermined transmit power level of the RP associated with that ID.
Example RP-related information for three RPs identified as A, B, and C among RPs RP1-RP3 is provided in Table 1 below:
In addition to the RP-related information explicitly indicated in Table 1, the RP-related information may include an associated record indicating a total number of floors in the building hosting the RPs listed in the table. The building information may indicated In Table 1, the z-coordinate of a given RP may correspond to an altitude or height of a given floor in building 102 on which the RP is located.
Each of RPs RP1-RP3 may be provisioned with its corresponding RP-related information, e.g., its RP ID, geographical location, building floor, and transmit power, and may transmit such information to client device 106 automatically and repeatedly, or, only when requested to do so. Additionally, and/or alternatively, the RP-related information may be stored as RP-information records in one or more databases residing in servers 108. Such records may be indexed according to RP ID, or any other suitable index, and may be accessed by client device 106 and/or RPs RP1-RP3 through network 110.
Method FlowchartsBy way of example, method 300 is described with reference to environment 100, as depicted in
To avoid ambiguity, it is to be understood that the floors referenced in
Method 300 employs a confidence level (as described below) that the current floor (i.e., indication of the current floor as determined in method 300) is correct. The floor confidence level (also referred to herein simply as the “confidence level”) may range in value from a predetermined minimum level (i.e., minimum level) to a predetermined maximum level (i.e., maximum level), e.g., from 1 to 10 in increments of 1. In method 300, the confidence level may be initialized to the minimum level.
In an embodiment, all of operations 302-316 of method 300 described below may be implemented in client device 106. In such an embodiment, it is assumed that white executing method 300, client device 106 has access to the necessary RP-related information, e.g., such as listed in Table 1. In an alternative embodiment, operation 302 may be implemented in the client device while some or all of the remainder of operations 304-316 may be implemented in one or more of servers 108.
At 302, a receiver of client device 106 receives signals transmitted from RPs RP1-RP3, and measures respective signal strengths of the received signals, i.e., measures received signal power levels. Each measured signal strength is also referred to herein as a received signal strength indication (RSSI). The measured signal strengths are accessible by method 300.
At 304, one of the floors F1-F3 is selected as a candidate floor on Which client device 106 may be located based at least in part on the measured signal strengths from 302. The candidate floor may be selected in accordance with Candidate Floor Selection Method 1 or Method 2 described below, or any other suitable method that uses the measured signal strengths, as would be appreciated by one of ordinary skill in the relevant art(s) having read the present description.
Note that, in a first pass through method 300, at 304, the current floor may be initially set equal to the candidate floor selected at 304.
At 306, it is determined if the candidate floor is equal to the current floor.
If at 306 it is determined that the candidate floor is equal to the current floor, then at 308, the confidence level is increased by a predetermined amount, such as 1, and flow proceeds to 316.
If at 306 it is determined that the candidate floor is not equal to the current floor, then at 310, the confidence level is decreased, as described further below in connection with
At 312 it is determined if the confidence is less than a minimum threshold. In an embodiment, the threshold is equal to the minimum confidence level, e.g., 1, but the threshold may be set to a different value.
If at 312 it is determined that the confidence is not less than the threshold, then flow proceeds to 316.
if at 312 it is determined that the confidence is less than the threshold, then flow proceeds to 314, where (i) the current floor is set equal to, i.e., replaced by, the candidate floor selected in 304, and (ii) the confidence level is set equal to the threshold. From 314, flow proceeds to 316.
At 316, the current floor may be reported to an LBS in response to an earlier request for device location and/or floor information.
Method 300 may be performed repeatedly, i.e., each time device 106 scans its environment for the presence of signals and measures their signal strengths. Each pass through method 300 determines a current floor (that may be reported at 316), which then becomes a “previously determined” current floor to be used in a next pass through the method, i.e., that is used in the compare at 306 in the next pass, and that may be replaced at 314 in the next pass with the candidate floor selected at 304 of the next pass.
Candidate Floor SelectionIn method 300, a candidate floor may be selected at 304 in a manner now described.
First, preliminary information, including path losses and distances, is determined follows.
Assume a client device (CD) scans its environment for signals from. RPs, and the scan detects RPs in the set {RPi}, i=1˜N.
The set of detected RPs {RPi} is sorted in an ascending order based on a calculated distance between the CD and each RP. The distance may be calculated using a propagation model, such as the following Free Space Path Loss (FSPL) model:
where L is the path loss in decibels (dB), λ is the wavelength, and d is the RP-CD distance in the same units as the wavelength.
The path loss L may be obtained according to the following:
L=dBt−dBr
where dBt is the transmitted power in dB (know transmitter power is available from the RP-related information in Table 1), and dBr is the received signal strength indication (RSSI) in dB (as measured in the CD).
Once the pass loss L is known, then the distance d is calculated,
Sorting the set of detected RPs {RPi} in the ascending order based on the calculated distance between the CD and each RP is equivalent to sorting in an ascending order based on the path loss L, and also RSSI.
The FSPL model requires knowledge of the transmit power of the RPs. In a case where the transmit powers are unknown, the set of {RP} may be sorted based on RSSI in a descending order, i.e., the RP corresponding to the highest RSSI is assigned a weight (N+1−1), the RP corresponding to the 2nd highest RSSI is assigned a weight (N+1−2), and so on.
Once the above described preliminary information is determined, then a candidate floor is selected using one or both of Candidate Floor Selection Method 1 and Candidate Floor Selection Method 2, described below:
Candidate Floor Selection Method 1Candidate Floor Selection Method 1 involves weighting RPs based on their corresponding RSSIs. In Method 1, each reference point RPi is assigned a weight (N+1−i). The RP-related information in Table 1 indicates the floor on which each RP is located. For each floor, a floor weight (FW) is calculated as a sum of the weights of the RPs located on that floor. The floor having the greatest floor weight is selected as the candidate floor for the current floor.
Summarizing, Method 1 includes:
assigning weights to the RPs (and thus, the received signals) based on the RSSI corresponding to each of the RPs;
computing a floor weight corresponding to each floor as a sum of the weights assigned to the RPs located on the given floor; and
selecting the floor having the greatest floor weight as the candidate floor.
Candidate Floor Selection Method 2Candidate Floor Selection Method 2 may be applied solely or in a case where two floors have similar weights (e.g. their difference is less than a predetermined weight difference, such as 2) as computed in Method 1.
Candidate Floor Selection Method 2 includes calculating floor signal compensation for RPs in each floor using a self-adaptive path loss model More specifically, Method 2 includes an adaptive method that utilizes the known locations of the RPs in the environment (e.g., building) to continuously adapt and compensate for error prone RSSIs used in a propagation model (e.g. FSPL described in connection with Method 1). A compensation (D) is calculated using the formula below, which takes into consideration a difference between GeoDist (i.e., a distance calculated based on spatial dispersion of RPs) and RSSIDist (i.e., a distance calculated based on FSPL).
where L is the path loss in decibels (dB), λ is the wavelength, and d′ is a possible RP-CD (i.e., RP-CD receiver) distance that is based on the RP's spatial dispersion (GeoDist) in the same units as the wavelength.
Accordingly, a set of {Di} is calculated for the set {RPi}, i=1˜N. The set of {Di} is divided into a series of sets {Dj}, j=1˜K for each floor, where K is the number of RPs detected on a floor through in a floor. Then for each floor, floor compensation (FD) is calculated using the formula:
if all Dj are more than or equal 0 or
FD=Minimum ({Di}), if there is one D in the set of {Dj} less than 0
The floor with a least ED (which means the signal compensation for the RPs in this floor is less than that of all of the other floors) is selected as the candidate floor.
Summarizing the foregoing, Method 2 includes:
computing a signal compensation (D) for each of the RPs based on (i) a possible maximum or minimum spatial distance (d′) between the client device and the RP, and (ii) a path loss (L) from the RP;
computing a floor signal compensation for each floor based on the signal compensation of the RPs in the floor; and
selecting the floor having the lowest floor signal compensation as the candidate floor.
At 401 a location of client device 106 on the candidate floor is determined. The location may be determined using known trilateration techniques based on (i) the signal strengths measured at 302, and (ii) the corresponding RP-related information, such as the transmitter powers (of transmitters associated with the RPs) and their known locations corresponding to the measured signal strengths. In trilateration, as an approximation, the measured signal strength may be considered to be inversely proportional to the distance between client device 106 and the RP. Using measured. signal strengths corresponding to multiple RPs improves the accuracy of the client device location. For example, using measured signal strength from a single transmitter locates the client device to a radial distance between the client device and the RP (i.e., locates the client device on any point of a circumference of a circular area surrounding the RP, where the circular area has a radius equal to a distance between the client device and the RP). Using measured signal strengths from two RPs locates the client device to one of two points where the circumferences of the two circular areas overlap. Using measured signal strengths from three or more RPs triangulates the location of the client device to a point.
At 402 it is determined whether the location determined at 401 is within a predetermined distance of any known entry/exit (i.e., access way) of the candidate floor (i.e., an entry/exit having a known location on the candidate floor). For example, with reference to
If at 402 it is determined that the determined location is within the predetermined distance of the entry/exit, then flow proceeds to 404, where the confidence level is decreased by a predetermined first amount, such as, e.g., between 2 and 5, which represents a relatively large amount. Then flow proceeds to 408. If the determined location is within the predetermined distance of the entry/exit, it is considered to be “close to” the entry/exit, and it is assumed that a possible floor change is imminent. The relatively large decreases at 404 correspondingly increases the likelihood that the current floor will change, i.e., the larger increment hastens the rate at which the current floor will change.
In an alternative embodiment, method 300 may determine a direction in which client device 106 is travelling on the candidate floor over time. If it is determined that the direction is toward a known access way, then at 404 the confidence level is decreased by the predetermined first amount.
(If at 402 it is determined that the determined location in not within the predetermined distance of the entry/exit (or, in the alternative embodiment, not travelling in a direction toward the entry/exit), then flow proceeds to 406, where the confidence level is decreased by a predetermined second amount, such as, e.g., 1, that is less than the predetermined first amount and, therefore, considered a relatively small amount. Then flow proceeds to 408.
At 408 it is determined again if the confidence level is below the threshold.
If at 408 it is determined that the confidence level is below the threshold, then at 412 the current floor is set equal to, i.e., replaced with the candidate floor, and flow proceeds to 414.
At 414 the floor confidence level is set equal to the threshold, and then method 400 ends.
If at 408 it is determined that the confidence level is not below the threshold, then flow proceeds to 410.
Whereas at 402 it was determined if the location was close to an entry/exit, at 410 it is determined if the location coincides with, i.e., is at, the entry/exit, 410 may include a distance test similar to that in 402, except that in 410 the predetermined distance within which the location must fall is less than the predetermined distance used in 402, e.g., the predetermined distance may be close to zero, such as two or three feet, instead of ten or fifteen feet. Therefore, at 410 it is determined if the location is within a predetermined distance of an entry/exit, where the predetermined distance is less than the predetermined distance in 402. In another embodiment, the entry/exit may correspond to a range or band of locations, and at 402 it is determined if the client device location is within the range or band of locations that corresponds to the entry/exit, and thereby coincides with the entry/exit.
if at 410 it is determined that the location does not coincide with the entry/exit, then method 400 ends.
If at 410 it is determined that the location coincides with the entry/exit, then at 414 the floor confidence level is set equal to the threshold, and then method 400 ends.
502 includes storing an indication of a current floor of the multiple floor building on which the device is located.
504 includes measuring signal strengths of signals received at the device (which includes a receiver to receive the signals and measure their signals strengths) from transmitters (i.e., transmitters of the RPs) having known locations on the floors of the building.
506 includes selecting one of the multiple floors as a candidate floor based in part on the measured signal strengths.
508 includes increasing a confidence level associated with the indication of the current floor if the candidate floor corresponds to, i.e., is the same as, the current floor.
510 includes decreasing the confidence level the candidate floor does not correspond to the current floor.
512 includes replacing the indication of the current floor with the candidate floor if the confidence level is below a threshold.
602 includes determining a location of the device on the candidate floor based in part on the measured signal strengths.
604 includes decreasing the confidence level by a first amount if the location is within a predetermined distance of a known access way of the candidate floor.
606 includes decreasing the confidence level by a second amount that is less than the first amount if the location is not within the predetermined distance of the known access.
702 includes assigning weights to the transmitters based on the measured signal strength corresponding to each of transmitters.
704 includes computing, for each floor, a floor weight as a sum of the weights assigned to the transmitters located on the given floor.
706 includes selecting the floor having the greatest floor weight as the candidate floor.
708 includes computing a signal compensation for each of the transmitters based on (i) a possible spatial distance between the device and the given transmitter, and (ii) a path loss between from the device and the given transmitter.
710 includes computing a floor signal compensation for each floor based on the signal compensation of the transmitters corresponding to the given floor.
712 includes selecting the floor having the lowest floor signal compensation as the candidate floor.
SystemsComputer system 800 includes one or more processors, illustrated here as a processor 802, to execute instructions of a computer program 806. Computer system 800 further includes a computer-readable medium or media (medium) 804.
Processor 802 may include one or more instruction processors and/or processor cores, and a control unit to interface between the instruction processor(s)/core(s) and medium 804. Processor 802 may include, without limitation, one or more of a microprocessor, a graphics processor, a physics processor, a digital signal processor, a network processor, a front-end communications processor, a co-processor, a management engine (ME), a controller or microcontroller, a central processing unit (CPU), a general purpose instruction processor, an application-specific processor.
Medium 804 may include a transitory or non-transitory computer-readable medium, and may include, without limitation, registers, cache, and memory. Such memory may include non-volatile and volatile memory, such as read-only memory (ROM), including programmable ROM, and random access memory (RAM).
Medium 804 includes a computer program 806 encoded therein, including instructions to be executed by processor 802. Computer-readable medium 804 further includes data 808, which may be used by processor 802 during execution of computer program 806, and/or generated by processor 802 during execution of computer program 806. Data 808 may include variables representing current floor, candidate floor, and confidence level. Data may also include RSSIs and RP-related information.
In the example of
Computer system 800 may include communications infrastructure 840 to communicate amongst devices and/or resources of computer system 800.
Computer system 800 may include one or more input/output (I/O) devices and/or controllers 842 to interface with one or more other systems, such as communication systems.
Methods and systems disclosed herein may be implemented with respect to one or more of a variety of systems, such as described below with reference to
Communication system 906 may include a wired and/or wireless communication system, and may be configured to communicate with an external communication network on behalf of processor 902 and user interface system 930. The external network may include a voice network (e.g., a wireless telephone network), and/or a data or packet-based network (e.g., a proprietary network and/or the Internet). In an embodiment, communication system 906 includes transceiver components, such as a receiver and a transmitter, to communicate with network 110 and building communication system 104, and to measure signal strengths of signals received there from.
User interface system 930 may include a monitor or display 932 and/or a human interface device (HID) 934. HID 934 may include, without limitation, a key board, a cursor device, a touch-sensitive device, a motion and/or image sensor, a physical device and/or a virtual device, such as a monitor-displayed virtual keyboard. User interface system 930 may include an audio system 936, which may include a microphone and/or a speaker.
System 900 may be configured as a stationary or portable/hand-held system, and may be configured as, for example, a mobile telephone, a set-top box, a gaming device, and/or a rack-mountable, desk-top, lap-top, notebook, net-book, note-pad, or tablet system, and/or other conventional and/or future-developed system(s). System 900 is not, however, limited to these examples,
Further Embodiments and ExamplesThe following examples pertain to further embodiments.
Example 1 includes a non-transitory computer-readable medium encoded with a computer program to determine a current floor on which a device is located in a multiple floor building, including instructions to cause a processor:
store an indication of the current floor of the building on which the device is located;
access measured signal strengths of signals received at the device from transmitters having known locations on the floors of the building;
select one of the multiple floors as a candidate floor based in part on the measured signal strengths;
increase a confidence level associated with the indication of the current floor if the candidate floor corresponds to the current floor;
decrease the confidence level if the candidate floor does not correspond to the current floor; and
replace the indication of the current floor with the candidate floor if the confidence level is below a threshold.
Example 2 includes the subject matter of example 1, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to:
determine a location of the device on the candidate floor based in part on the measured signal strengths;
decrease the confidence level by a first amount if the location is within a predetermined distance of a known access way of the candidate floor; and
decrease the confidence level by a second amount that is less than the first amount if the location is not within the predetermined distance of the known access.
Example 3 includes the subject matter of example 2, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to, after the confidence level is decreased by one of the first and second amounts:
replace the indication of the current floor with the candidate floor if the confidence level is below the threshold.
Example 4 includes the subject matter of claim 3, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to, after the confidence level is decreased by one of the first and second amounts:
set the confidence level equal to the threshold if the confidence level is below the threshold and the location coincides with the access way.
Example 5 includes the subject matter of claim 1, wherein the instructions to cause the processor to select further include instructions to cause the processor to:
assign weights to the transmitters based on the measured signal strength corresponding to each of the transmitters;
compute a floor weight corresponding to each floor as a sum of the weights assigned to the transmitters located on the given floor; and
select the floor having the greatest floor weight as the candidate floor.
Example 6 includes the subject matter of claim 1, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to:
calculate a signal compensation for each of the transmitters based on (i) a possible spatial distance between the device and the given transmitter, and (ii) a path loss between from the device and the given transmitter;
calculate a floor signal compensation for each floor based on the signal compensation of the transmitters corresponding to the given floor; and
select the floor having the lowest floor signal compensation as the candidate floor.
Example 7 includes an apparatus, comprising:
a processor and memory configured to:
store an indication of the current floor of a multiple floor building on -hic a device is located;
access measured signal strengths of signals received at the device from transmitters having known locations on the multiple floors of the building;
select one of the multiple floors as a candidate floor based in part on the measured signal strengths;
increase a confidence level associated with the indication of the current floor if the candidate floor corresponds to the current floor;
decrease the confidence level if the candidate floor does not correspond to the current floor; and
replace the indication of the current floor with the candidate floor if the confidence level is below a threshold.
Example 8 The apparatus of claim 7, wherein the processor memory configured to decrease are further configured to:
determine a location of the device on the candidate floor based in part on the measured signal strengths;
decrease the confidence level by a first amount if the location is within a predetermined distance of a known access way of the candidate floor; and
decrease the confidence level by a second amount that is less than the first amount if the location is not within the predetermined distance of the known access.
Example 9 includes the subject matter of claim 8, wherein the processor and memory configured decrease are further configured to, after the confidence level is decreased by one of the first and second amounts:
replace the indication of the current floor with the candidate floor if the confidence level is below the threshold.
Example 10 includes the subject matter of claim 9, wherein the processor and memory configured to decrease are further configured, after the confidence level is decreased by one of the first and second amounts:
set the confidence level equal to the threshold if the confidence level is below the threshold and the location coincides with the access way.
Example 11 includes the subject matter of example 7, wherein the processor and memory configured to select are further configured to:
assign weights to the transmitters based on the measured signal strength corresponding to each of the transmitters;
compute a floor weight corresponding to each floor as a sum of the weights assigned to the transmitters located on the given floor; and
select the floor having the greatest floor weight as the candidate floor.
Example 12 includes the subject matter of example 7, wherein the processor and memory configured to select are further configured to:
calculate a signal compensation for each of the transmitters based on (i) a possible spatial distance between the device and the given transmitter, and (ii) a path loss between from the device and the given transmitter;
calculate a floor signal compensation for each floor based on the signal compensation of the transmitters corresponding to the given floor; and
select the floor having the lowest floor signal compensation as the candidate floor.
Example 13 includes the subject matter of example 7, further comprising:
a user interface system; and
a communication system, including a receiver to receive the signals and measure their signal strengths, to interface with a communication network and one or more of the processor and the user interface system; and
a housing to house the processor and memory, the user interface system, and the communication system.
Example 14 includes the subject matter of example 13, wherein:
the communication system includes a wireless communication system; and
the housing includes a mobile hand-held housing to house the processor and memory, the user interface, the communication system, and a battery.
Example 15 includes a method to determine a current floor on which a client device is located in a multiple floor building, comprising:
storing an indication of the current floor of the multiple floor building on which a device is located;
measuring signal strengths of signals received at the device from transmitters having known locations on the floors of the building;
selecting one of the multiple floors as a candidate floor based in part on the measured signal strengths;
increasing a confidence level associated with the indication of the current floor if the candidate floor corresponds to the current floor;
decreasing the confidence level if the candidate floor does no correspond to the current floor; and
replacing the indication of the current floor with the candidate floor if the confidence level is below a threshold.
Example 16 includes the subject matter of example 15, wherein the decreasing includes:
determining a location of the device on the candidate floor based in part on the measured signal strengths;
decreasing the confidence level by u first amount if the location is within a predetermined distance of a known access way of the candidate floor; and
decreasing the confidence level by a second amount that is less than the first amount if the location is not within the predetermined distance of the known access.
Example 17 includes the subject matter of example 16, wherein the decreasing further includes, after decreasing the confidence level by one of the first and second amounts:
replacing the indication of the current floor with the candidate floor if the confidence level is below the threshold.
Example 18 includes the subject matter of example 17, wherein the decreasing further includes, after decreasing the confidence level by one of the first and second amounts:
setting the confidence level equal to the threshold if the confidence level is below the threshold and the location coincides with the access way.
Example 19 includes the subject matter of example 15, wherein the selecting includes:
assigning weights to the transmitters based on the measured signal strength corresponding to each of the transmitters;
computing a floor weight corresponding to each floor as a sum of the weights assigned to the transmitters located on the given floor; and
selecting the floor having the greatest floor weight as the candidate floor.
Example 20 includes the subject matter of example 15, wherein the selecting includes:
computing a signal compensation for each of the transmitters based on (i) a possible spatial distance between the device and the given transmitter, and (ii) a path loss between from the device and the given transmitter;
computing a floor signal compensation for each floor based on the signal compensation of the transmitters corresponding to the given floor; and
selecting the floor having the lowest floor signal compensation as the candidate floor.
Example 21 includes at least one machine readable medium comprising a plurality of instructions that in response to being executed on a computing device, cause the computing device to carry out a method according to any one of examples 15 to 20.
Example 22 includes a communications device arranged to perform the method of any one of examples 15 to 20.
Example 23 includes a computer system to perform the method of any of examples 15 to 20.
Example 24 includes a machine to perform the method of any of examples 15 to 20.
Example 25 includes an apparatus comprising: means for performing the method of any of examples 15 to 20.
Example 26 includes an apparatus to determine a floor of a building on which a device is located, configured to perform the method of examples 15-20.
Example 27 includes a computing device comprising a chipset according to any one of the examples 15-20 and memory to determine a floor of a building on which a device is located.
One or more features disclosed herein may be implemented in, without limitation, circuitry, a machine, a computer system, a processor and memory, a computer program encoded within a computer-readable medium, and/or combinations thereof. Circuitry may include discrete and/or integrated circuitry, application specific integrated circuitry (ASIC), a system-on-a-chip (SOC), and combinations thereof.
Methods and systems are disclosed herein with the aid of functional building blocks illustrating functions, features, and relationships thereof At least some of the boundaries of these functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternate boundaries may be defined so long as the specified functions and relationships thereof are appropriately performed. While various embodiments are disclosed herein, it should be understood that they are presented as examples. The scope of the claims should not be limited by any of the example embodiments disclosed herein.
Claims
1-27. (canceled)
28. A non-transitory computer-readable medium encoded with a computer program, including instructions to cause a processor to:
- store an indication of a current floor of a multiple floor building on which the device is located;
- access measured signal strengths of signals received at the device from transmitters having known locations on the floors of the building;
- select one of the multiple floors as a candidate floor based in part on the measured signal strengths;
- increase a confidence level associated with the indication of the current floor if the candidate floor corresponds to the current floor;
- decrease the confidence level if the candidate floor does not correspond to the current floor; and
- replace the indication of the current floor with the candidate floor if the confidence level is below a threshold.
29. The non-transitory computer-readable medium of claim 28, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to:
- determine a location of the device on the candidate floor based in part on the measured signal strengths;
- decrease the confidence level by a first amount if the location is within a predetermined distance of a known access way of the candidate floor; and
- decrease the confidence level by a second amount that is less than the first amount if the location is not within the predetermined distance of the known access.
30. The non-transitory computer-readable medium of claim 29, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to, after the confidence level is decreased by one of the first and second amounts:
- replace the indication of the current floor with the candidate floor if the confidence level is below the threshold.
31. The non-transitory computer-readable medium of claim 30, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to, after the confidence level is decreased by one of the first and second amounts:
- set the confidence level equal to the threshold if the confidence level is below the threshold and the location coincides with the access way.
32. The non-transitory computer-readable medium of claim 28, wherein the instructions to cause the processor to select further include instructions to cause the processor to:
- assign weights to the transmitters based on the measured signal strength corresponding to each of the transmitters;
- compute a floor weight corresponding to each floor as a sum of the weights assigned to the transmitters located on the given floor; and
- select the floor having the greatest floor weight as the candidate floor.
33. The non-transitory computer-readable medium of claim 28, wherein the instructions to cause the processor to decrease further include instructions to cause the processor to:
- calculate a signal compensation for each of the transmitters based on (i) a possible spatial distance between the device and the given transmitter, and (ii) a path loss between from the device and the given transmitter;
- calculate a floor signal compensation for each floor based on the signal compensation of the transmitters corresponding to the given floor; and
- select the floor having the lowest floor signal compensation as the candidate floor.
34. An apparatus, comprising:
- a processor and memory configured to:
- store an indication of a current floor of a multiple floor building on which the apparatus is located;
- access measured signal strengths of signals received at the apparatus from transmitters having known locations on the floors of the building;
- select one of the multiple floors as a candidate floor based in part on the measured signal strengths;
- increase a confidence level associated with the indication of the current floor if the candidate floor corresponds to the current floor;
- decrease the confidence level if the candidate floor does not correspond to the current floor; and
- replace the indication of the current floor with the candidate floor if the confidence level is below a threshold.
35. The apparatus of claim 34, wherein the processor memory configured to decrease are further configured to:
- determine a location of the apparatus on the candidate floor based in part on the measured signal strengths;
- decrease the confidence level by a first amount if the location is within a predetermined distance of a known access way of the candidate floor; and
- decrease the confidence level by a second amount that is less than the first amount if the location is not within the predetermined distance of the known access.
36. The apparatus of claim 35, wherein the processor and memory configured decrease are further configured to, after the confidence level is decreased by one of the first and second amounts:
- replace the indication of the current floor with the candidate floor if the confidence level is below the threshold.
37. The apparatus of claim 36, wherein the processor and memory configured to decrease are further configured, after the confidence level is decreased by one of the first and second amounts:
- set the confidence level equal to the threshold if the confidence level is below the threshold and the location coincides with the access way.
38. The apparatus of claim 34, wherein the processor and memory configured to select are further configured to:
- assign weights to the transmitters based on the measured signal strength corresponding to each of the transmitters;
- compute a floor weight corresponding to each floor as a sum of the weights assigned to the transmitters located on the given floor; and
- select the floor having the greatest floor weight as the candidate floor.
39. The apparatus of claim 34, wherein the processor and memory configured to select are further configured to:
- calculate a signal compensation for each of the transmitters based on (i) a possible spatial distance between the apparatus and the given transmitter, and (ii) a path loss between from the apparatus and the given transmitter;
- calculate a floor signal compensation for each floor based on the signal compensation of the transmitters corresponding to the given floor; and
- select the floor having the lowest floor signal compensation as the candidate floor.
40. The apparatus of claim 34, further comprising:
- a user interface system; and
- a communication system, including a receiver to receive the signals and measure their signal strengths, to interface with a communication network and one or more of the processor and the user interface system; and
- a housing to house the processor and memory, the user interface system, and the communication system.
41. The apparatus of claim 40, wherein:
- the communication system includes a wireless communication system; and
- the housing includes a mobile hand-held housing to house the processor and memory, the user interface, the communication system, and a battery.
42. A method, comprising:
- storing an indication of a current floor among multiple floors of a multiple floor building on which a device is located;
- measuring signal strengths of signals received at the device from transmitters having known locations on the floors of the building;
- selecting one of the multiple floors as a candidate floor based in part on the measured signal strengths;
- increasing a confidence level associated with the indication of the current floor if the candidate floor corresponds to the current floor;
- decreasing the confidence level if the candidate floor does not correspond to the current floor; and
- replacing the indication of the current floor with the candidate floor if the confidence level is below a threshold.
43. The method of claim 42, wherein the decreasing includes:
- determining a location of the device on the candidate floor based in part on the measured signal strengths;
- decreasing the confidence level by a first amount if the location is within a predetermined distance of a known access way of the candidate floor; and
- decreasing the confidence level by a second amount that is less than the first amount if the location is not within the predetermined distance of the known access.
44. The method of claim 43, wherein the decreasing further includes, after decreasing the confidence level by one of the first and second amounts:
- replacing the indication of the current floor with the candidate floor if the confidence level is below the threshold.
45. The method of claim 44, wherein the decreasing further includes, after decreasing the confidence level by one of the first and second amounts:
- setting the confidence level equal to the threshold if the confidence level is below the threshold and the location coincides with the access way.
46. The method of claim 42, wherein the selecting includes:
- assigning weights to the transmitters based on the measured signal strength corresponding to each of the transmitters;
- computing a floor weight corresponding to each floor as a sum of the weights assigned to the transmitters located on the given floor; and
- selecting the floor having the greatest floor weight as the candidate floor.
47. The method of claim 42, wherein the selecting includes:
- computing a signal compensation for each of the transmitters based on (i) a possible spatial distance between the device and the given transmitter, and (ii) a path loss between from the device and the given transmitter;
- computing a floor signal compensation for each floor based on the signal compensation of the transmitters corresponding to the given floor; and
- selecting the floor having the lowest floor signal compensation as the candidate floor.
Type: Application
Filed: Mar 19, 2013
Publication Date: Feb 4, 2016
Patent Grant number: 9485626
Inventors: Xiaoyong Jacky Pan (Shanghai), Justin Lipman (Shanghai, 31), Robert A. Colby (Granite Bay, CA)
Application Number: 13/997,572