# Patent

## Title
Method and apparatus for locating a wireless local area network in a wide area network

## Abstract

The disclosure is directed to a mobile communication device that measures characteristics or attributes of a first communications network that vary according to physical location within that first communications network to create a fingerprint, or signature, of a location within the first communications network. When the fingerprint of the current location of the mobile device is created it can be compared to a known fingerprint associated with a second communication network to determine the mobile device's proximity to the second communications network. For example, the first communications network may be a CDMA wide area wireless communication network and the second communications network may be a 802.11 wireless LAN.

## Background
CLAIM OF PRIORITY UNDER 35 U.S.C. §119
The present application for patent claims priority to Provisional Application No. 60/702,591 entitled, “ASSISTED WIRELESS NETWORK ACCESS POINT SEARCH IN WIRELESS COMMUNICATION NETWORKS”, filed Jul. 25, 2005, and Provisional Application No. 60/750,920 entitled, “METHOD AND APPARATUS FOR LOCATING A WIRELESS LOCAL AREA NETWORK IN A WIDE AREA NETWORK,” filed Dec. 16, 2005, and Provisional Application No. 60/750,919 entitled, “METHOD AND APPARATUS FOR MAINTAINING A FINGERPRINT FOR A WIRELESS NETWORK,” filed Dec. 16, 2005, and assigned to the assignee hereof and hereby expressly incorporated by reference herein.


BACKGROUND
1. Field
The present disclosure relates generally to telecommunications, and more particularly, to systems and methods to support a mobile communications device capable of communicating via two different types of communication networks.
2. Background
The demand for wireless information services has led to the development of an ever increasing number of wireless networks. CDMA2000 1x is just one example of a wireless network that provides wide area telephony and data services. CDMA2000 1x is a wireless standard promulgated by the Third Generation Partnership Project 2 (3GPP2) using code division multiple access (CDMA) technology. CDMA is a technology that allows multiple users to share a common communications medium using spread-spectrum processing. A competing wireless network that is commonly employed in Europe is Global System for Mobile Communications (GSM). Unlike CDMA2000 1x, GSM uses narrowband time division multiple access (TDMA) to support wireless telephony and data services. Some other wireless networks include General Packet Radio Service (GPRS) which supports high speed data services with data rates suitable for e-mail and web browsing applications, and Universal Mobile Telecommunications System (UMTS) which can deliver broadband voice and data for audio and video applications.
These wireless networks can generally be thought of as wide area networks employing cellular technology. Cellular technology is based on a topology in which the geographic coverage region is broken up into cells. Within each of these cells is a fixed base transceiver station (BTS) that communicates with mobile users. A base station controller (BSC) is typically employed in the geographic coverage region to control the BTSs and route communications to the appropriate gateways for the various packet-switched and circuit-switched networks.
As the demand for wireless information services continue to increase, mobile devices are evolving to support integrated voice, data, and streaming media while providing seamless network coverage between wide area wireless networks (WANs) and wireless local area networks (LAN). Wireless LANs generally provide telephony and data services over relatively small geographic regions using a standard protocol, such as IEEE 802.11, Bluetooth, or the like. The existence of wireless LANs provides a unique opportunity to increase user capacity in a wide area wireless network by extending wide area communications to the unlicensed spectrum using the infrastructure of the wireless LAN.
Recently, various techniques have been employed to enable mobile devices to communicate with different wireless networks. Additional techniques have been employed to allow a mobile device to search for the presence of a wireless LAN to determine if one is available to connect to. However, frequent or continuous searching for a wireless LAN unnecessarily consumes power and can quickly discharge batteries in the mobile device. Accordingly, improvements in power consumption and battery life for mobile devices may be realized by intelligently searching for available wireless LANs.
SUMMARY
One aspect of a wireless communications device is disclosed. The wireless communications device includes memory configured to store information relating to a first communications network, and a processor configured to determine whether the wireless communications device is in the vicinity of the first communications network based on the information stored in the memory and one or more reference signals from a second communications network.
Another aspect of a wireless communications device is disclosed. The communications device includes memory configured to store information relating to a plurality of wireless LANs dispersed through a WAN, and a processor configured to determine whether the wireless communications device is in the vicinity of one of the wireless LANs based on the information stored in the memory and one or more reference signals from the WAN.
Computer readable media embodying a program of instructions executable by a computer to perform a method of communications is disclosed. The method includes accessing information in memory, the information relating to a first communications network, receiving one or more reference signals from a second communications network, and determining whether a wireless communications device is in the vicinity of the first communications network based on the information accessed from the memory and the one or more reference signals from the second communications network.
A method of communications is disclosed. The method including accessing information in memory, the information relating to a first communications network, receiving one or more reference signals from a second communications network, and determining whether a wireless communications device is in the vicinity of the first communications network based on the information accessed from the memory and the one or more reference signals from the second communications network.
A further aspect of a wireless communications device is disclosed. The wireless communications device includes means for storing information relating to a first communications network, and means for determining whether the wireless communications device is in the vicinity of the first communications network based on the information and one or more reference signals from a second communications network.
It is understood that other embodiments of the present disclosure are within scope of the following detailed description, wherein it is shown and described only various embodiments of the disclosure by way of illustration. As will be realized, the disclosure is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present disclosure. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not as restrictive.



BRIEF DESCRIPTION OF THE DRAWINGS
Various aspects of a wireless communications system are illustrated by way of example, and not by way of limitation, in the accompanying drawings, wherein:
FIG. 1A is a conceptual block diagram of an embodiment of a wireless communications system;
FIG. 1B is a conceptual block diagram of another embodiment of a wireless communications system;
FIG. 2 is a functional block diagram illustrating an example of a mobile device capable of supporting both wide area wireless and wireless LAN communications; and
FIG. 3A depicts a flowchart of an exemplary method to create fingerprints on a mobile communications device;
FIG. 3B depicts a flowchart of an exemplary method to compare fingerprints of different locations; and
FIG. 4 depicts a flowchart of an exemplary method to refine an existing fingerprint for a known location.



DETAILED DESCRIPTION
The detailed description set forth below in connection with the appended drawings is intended as a description of various embodiments of the disclosure and is not intended to represent the only embodiments in which the disclosure may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of the disclosure. In some instances, well known structures and components are shown in block diagram form in order to avoid obscuring the concepts of the disclosure.
In the following detailed description, various techniques will be described in connection with the handoff of a mobile user from one network to another. A number of these techniques will be described in the context of a mobile communications device traveling through a wide area WAN with one or more wireless LANs dispersed throughout the WAN coverage region. The mobile communications device may be any suitable device capable of wireless telephony or data communications, such as a cellular phone designed for operation in a CDMA2000 1x network. The mobile communications device may be capable of employing any suitable protocol for accessing a wireless LAN, including, by way of example, IEEE 802.11. While these techniques may be described in the context of a WAN phone capable of communicating with an IEEE 802.11 network, these techniques can be extended to other mobile communication devices capable of accessing multiple networks. For instance, these techniques may be applied to a mobile communications device capable of switching between a CDMA2000 1x network and a GSM network. Accordingly, any reference to a cellular phone capable of communicating with an IEEE 802.11 network, or any other specific embodiment, is intended only to illustrate various aspects of the present disclosure, with the understanding that these aspects have a wide range of applications.
FIG. 1A is a conceptual block diagram of an embodiment of a wireless communications system. A mobile device 102 is shown moving through a WAN 104 by a series of broken lines. The WAN 104 includes a BSC 106 supporting a number of BTSs dispersed throughout the WAN coverage region. A single BTS 108 is shown in FIG. 1 for simplicity of explanation. A mobile switching center (MSC) 110 may be used to provide a gateway to a public switched telephone network (PSTN) 112. Although not shown in FIG. 1, the WAN 104 may employ numerous BSCs each supporting any number of BTSs to extend the geographic reach of the WAN 104. When multiple BSCs are employed throughout the WAN 104, the MSC 110 may also be used to coordinate communications between the BSCs.
The WAN 104 may also include one or more wireless LANs dispersed throughout the wide area wireless coverage region. A single wireless LAN 114 is shown in FIG. 1. The wireless LAN 114 may be an IEEE 802.11 network, or any other suitable network. The wireless LAN 114 includes an access point 116 for the mobile device 102 to communicate with an IP network 118. A server 120 may be used to interface the IP network 118 to the MSC 110, which provides a gateway to the PSTN 112.
When power is initially applied to the mobile device 102, it will attempt to access either the WAN 104 or the wireless LAN 114. The decision to access a particular network may depend on a variety of factors relating to the specific application and overall design constraints. By way of example, the mobile device 102 may be configured to access the wireless LAN 114 when the service quality meets a minimum threshold. To the extent the wireless LAN 114 can be used to support mobile telephony and data communications, valuable bandwidth may be freed up for other mobile users.
The mobile device 102 may be configured to continuously or periodically search for a beacon from the access point 116, or any other access point of a wireless LAN. The beacon is a periodic signal transmitted by the access point 116 with synchronization information. WLAN beacon search requires the mobile device to in turn tune to possible WLAN channels, in one or more operable bands of a WLAN system, and conduct either an active scan or a passive scan on the channel. In a passive scan the mobile device just tunes to the channel and receives for a specific period of time waiting for a beacon transmission. In an active scan, the mobile device tunes to the channel and transmits a probe request after following the access procedures to avoid colliding with existing devices on the channel. On receipt of the probe request the access point transmits a probe response to the mobile device. In the event that the mobile device 102 cannot detect a beacon or receives no probe response to a probe request, which might be the case if power is applied to the mobile device 102 at location A, then the mobile device 102 attempts to access the WAN 104. With respect to FIG. 1B, described later, the mobile device 102 does not continuously (or periodically) scan for a WLAN access point but, instead, scans for a WLAN access point only when it determines it is close to the wireless LAN 114. The mobile device 102 may access the WAN 104 by acquiring a pilot signal from the BTS 108. Once the pilot signal is acquired, a radio connection may be established between the mobile device 102 and the BTS 108 by means well known in the art. The mobile device 102 may use the radio connection with the BTS 108 to register with the MSC 110. Registration is the process by which the mobile device 102 makes its whereabouts known to the WAN 104. When the registration process is complete, the mobile device 102 may enter into an idle state until a call is initiated, either by the mobile device 102 or the PSTN 112. Either way, an air traffic link may be established between the mobile device 102 and the BTS 108 to set up and support the call.
When the mobile device 102 moves through the WAN 104 from location A to location B in the depicted embodiment, it is now able to detect a beacon from the access point 116. Once this occurs, a radio connection may be established between the two by means well known in the art. The mobile device 102 then obtains the IP address of the server 120. The mobile device 102 may use the services of a Domain Name Server (DNS) to determine the server's IP address. The domain name of the server 120 may be delivered to the mobile device 102 over the WAN 104. With the IP address, the mobile device 102 can establish a network connection with the server 120. Once the network connection is established, information from the server 120 can be used in conjunction with local measurements to determine whether the service quality of the wireless LAN 114 is sufficient to handoff the mobile device 102 to the access point 116.
It should be noted, that while FIG. 1A is generally descriptive of a cellular WAN, other WANs may be utilized. This may include those that do not utilize MSCs or other cellular structures, and those WANs utilizing other communication protocols including wideband CDMA (WCDMA), TD-CDMA, GSM, or the like.
Referring now to FIG. 1B, the wireless LAN 114 and BTS 108 are shown in the context of a larger WAN having multiple BTS 122, 124, 126 and also multiple wireless LANs 129, 131 and associated access points 128, 130. As shown in FIG. 1B, the mobile device 102 is not within the coverage area of any wireless LAN. Accordingly, searching for a beacon signal while in this location will prove fruitless and unnecessarily consume power. Even though the mobile device may frequently enter a sleep or idle mode to conserve power, searching for wireless LAN beacon signals can quickly consume power. In a typical 802.11 network configuration, the beacon signals occur at intervals measured in tens of milliseconds; thus, the mobile device must remain awake and searching for at least that period of time per channel and considering that the wireless LAN access point may be configured for different frequency ranges and channels within those ranges, the mobile device 102 must remain awake a significant amount of time to search for available wireless LAN access points. Similarly, in the case of an active scan, the mobile device must stay awake to follow the channel access procedures on the channel, then transmit a probe request and stay awake to receive a probe response. It must conduct this procedure on each channel. In this case as well, the mobile device 102 must remain awake a significant amount of time to search for available wireless LAN access points, which may result in increased power consumption and processing overhead.
However, by limiting searching for beacon signals to periods when the mobile device is within the area 140, a significant savings in power consumption may be realized. Thus, when the mobile device 102 periodically awakes to listen to the paging channel or a quick paging channel in the WAN it may also determine its location. If it determines that its location is within the area 140, then it can search for a wireless LAN beacon signal. Otherwise, it can avoid unnecessarily searching for the beacon signal.
A mobile device 102 may monitor beacon and pilot signals from the base stations of the WAN. These signals can include pilot and paging signals. The mobile device monitors these signals to measure primary and neighbor signal strengths to perform hand-offs between base stations. Also, in networks where the base stations are synchronized, the mobile device may also measure a phase of each pilot signal to assist with hand-off determination. Thus, at any location within the network 104, the mobile device 102 observes up to n base stations with measurable signal strengths which can be characterized as two vectors x1, . . . , xn, and y1, . . . , yn. Where each x value is a signal strength of a pilot signal from a base station and each y value is a phase of the pilot signal from a base station. When there are fewer than n observed signals, the remaining values are set to null. Because the pilot signals have a pilot phase offset associated with them, the signal strengths and phases may be easily identified as originating from a particular base station. In other WAN technologies like GSM, the neighbors base stations may be identified by their frequency channel or other base station identifier and a signal strength associated with each base station. In certain aspects, any signal utilized for acquisition, timing, or the like may be utilized as the signal that is utilized to obtain the measurements to form the one or more vectors described above. Further, the vectors need not be formed, stored, or utilized as two vectors as described, or include the information in the format described above. Thus, in some aspects, information that identifies a source and at least one characteristic of the reference signal, e.g. pilot or paging signal, is utilized.
As is known in the art, the mobile device 102 monitors beacon and pilot signals from the base stations of the cellular network. These signals can include pilot and paging signals. The mobile device monitors these signals to measure primary and neighbor signal strengths to perform hand-offs between base stations. Also, in networks where the base stations are synchronized, the mobile device may also measure a phase of each pilot signal to assist with hand-off determination. Thus, at any location within the network 104, the mobile device 102 observes up to n base stations with measurable signal strengths which can be characterized as two vectors x1, . . . , xn, and y1, . . . , yn. Where each x value is a signal strength of a pilot signal from a base station and each y value is a phase of the pilot signal from a base station. When there are fewer than n observed signals, the remaining values are set to null. Because the pilot signals have a pilot phase offset associated with them, the signal strengths and phases may be easily identified as originating from a particular base station. In other WAN technologies like GSM, the neighbors base stations may be identified by their frequency channel or other base station identifier and a signal strength associated with each base station.
In WCDMA, base stations may not be synchronized. As in CDMA, when the mobile camps in the idle state on the paging channel of a particular base station, it scans for neighbor base station signals. In the case of CDMA each base station uses offsets of the same pseudo-random spreading sequence. In the case of WCDMA, each base station transmits a number of signals designed to allow the mobile station to rapidly acquire synchronization with the signals transmitted by that base station and once synchronized determine the spreading code group and spreading code in use by that base station. The set of spreading codes and their signal strengths may be used to create the fingerprint to identify a location in WCDMA coverage corresponding to pilot offsets and pilot signal strengths in the CDMA system. Relative timing offsets of neighbor base stations may also be used corresponding to pilot phases in CDMA, however, if the base stations are not synchronized, their clocks may have relative drift making the timing offset an unreliable indicator.
The information may be utilized as a conceptual fingerprint, or a signature, of a location of the mobile device 102. Thus, if locations within the area 140 have a certain known fingerprint, then the mobile device can determine its current fingerprint and compare it to the known fingerprint to determine whether the mobile device is located within the area 140. While the above discussion merely mentions using two attributes of the WAN (i.e., pilot signal strength and phases). Further, as discussed above, other dynamic attributes of the WAN may be used instead of, or in combination with, these two attributes. For example, pilot offset values may be used as a fingerprint; even the number of pilot signals available is a possible attribute to be used for a fingerprint. Furthermore, the attributes that make up the fingerprint do not necessarily have to be attributes of the WAN. For example, many mobile devices have GPS receivers that can be used to determine the location of the mobile device relative to a wireless LAN. The GPS information may be used directly or even indirectly. As one example of the latter case, a base station ID along with phase measurements of GPS signals from different satellites may be used to define a fingerprint that corresponds to a location of the mobile device. Thus, in its broadest sense, a fingerprint is a collection of attributes of a first communication network that change based on location and can be used by the mobile device to determine the proximity of a second communication network. In addition, the fingerprint can also include characteristics of the transmitters of the second communication networks (e.g. MAC ID, Band, Channel, RSSI information of the WiFi access points). In such an instance, the WAN parameters may be thought of as trigger parameters such that a match of the parameters triggers a WLAN search. The WLAN parameters can be used during the search as the search parameters for the triggered search.
The attributes may be calculated in a variety of different ways without departing from the scope of the present disclosure. For example, an instantaneous measurement may be taken of such attributes as pilot signal strength and phase and used as the fingerprint. However, even when the mobile device is stationary, the values of these attributes vary because of environmental variability. Accordingly, multiple measurements may be taken and averaged together or otherwise combined in some statistically significant manner in order to generate the fingerprint.
FIG. 2 is a functional block diagram illustrating an example of a mobile device capable of supporting both WAN and wireless LAN communications. The mobile device 102 may include a WAN transceiver 202 and a wireless LAN transceiver 204. In at least one embodiment of the mobile device 102, the WAN transceiver 202 is capable of supporting CDMA2000 1x, WCDMA, GSM, TD-CDMA, or other WAN communications with a BTS (not shown), and the wireless LAN transceiver 204 is capable of supporting IEEE 802.11 communications with an access point (not shown). It should be noted, that the concepts described in connection with the mobile device 102 can be extended to other WAN and wireless LAN technologies. Each transceiver 202, 204 is shown with a separate antenna 206, 207, respectively, but the transceivers 202, 204 could share a single broadband antenna. Each antenna 206, 207 may be implemented with one or more radiating elements.
The mobile device 102 is also shown with a processor 208 coupled to both transceivers 202, 204, however, a separate processor may be used for each transceiver in alternative embodiments of the mobile device 102. The processor 208 may be implemented as hardware, firmware, software, or any combination thereof. By way of example, the processor 208 may include a microprocessor (not shown). The microprocessor may be used to support software applications that, among other things, (1) control and manage access to the wide area wireless communication network and wireless LAN, and (2) interface the processor 208 to the keypad 210, display, 212, and other user interfaces (not shown). The processor 208 may also include a digital signal processor (DSP) (not shown) with an embedded software layer that supports various signal processing functions, such as convolutional encoding, cyclic redundancy check (CRC) functions, modulation, and spread-spectrum processing. The DSP may also perform vocoder functions to support telephony applications. The manner in which the processor 208 is implemented will depend on the particular application and the design constraints imposed on the overall system. It should be noted that the hardware, firmware, and software configurations may interchangeable under these circumstances, and how best to implement the described functionality for each particular application.
The processor 208 may be configured to execute an algorithm to trigger a handoff from one network to another. The algorithm may be implemented as one or more software applications supported by the microprocessor based architecture discussed earlier. Alternatively, the algorithm may be a module separate from the processor 208. The module may be implemented in hardware, software, firmware, or any combination thereof. Depending on the specific design constraints, the algorithm could be integrated into any entity in the mobile device 102, or distributed across multiple entities in the mobile device 102.
For certain purposes known in the art, the signal strength from the access point may be measured at the mobile device 102 with a received signal strength indicator (RSSI) block 216. The RSSI is most likely a measure of strength of an existing signal that is fed back to the wireless LAN transceiver 204 for automatic gain control, and therefore, can be provided to the processor 208 without increasing the circuit complexity of the mobile device 102. Alternatively, the quality of the radio connection may be determined from the beacon. Since the beacon is a spread-spectrum signal that is known, a priori, a replica of the beacon can be stored in memory 211 at the mobile device 102. The demodulated beacon may be used with the replica beacon stored in memory to estimate the energy of the transmitted beacon by means well known in the art.
Referring back to the previously mentioned fingerprints, the mobile device 102 also includes an algorithm executable by the processor 208 for creating multiple fingerprints and comparing different fingerprints to one another. For example, using the keypad 212, a user of the mobile device 102 may select a key that causes the mobile device 102 to create a current fingerprint and store that fingerprint in memory 211. If at the time the fingerprint is created, the mobile device is connected to a wireless LAN, then the stored fingerprint may be associated with that wireless LAN access point. In addition, the fingerprint can also be recorded automatically on a periodic basis or at programmatic events such as successful access, successful access with desired quality of service, etc.
As a result of the above process, the memory 211 may contain a wireless LAN search table arranged, for example, similar to the following table:














WAN
WLAN





ID
SSID
WLAN BSS ID
Signal Strength
Phase







A
I1
A1
s1(A1) . . . sn(A1)
p1(A1) . . . pn(A1)




A2
s1(A2) . . . sn(A2)
p1(A2) . . . pn(A2)



I2
A3
s1(A3) . . . sn(A3)
p1(A3) . . . pn(A3)


B
I1
B1
S1(B1) . . . sn(B1)



I2
B2
S1(B2) . . . sn(B2)









The first column of the table refers to the WAN ID of the WAN. The WAN ID identifies the system and network for the WAN known as the SID/NID in the wide area wireless system. The particular base stations in the WAN may be identified by the pilot offsets, pilot signal strengths or other attribute which are part of the finger print as discussed below. The fingerprint identifies the location of the mobile device. The second column refers to the text identifier of the WLAN network. The third identifier refers to wireless LAN access points (also known as BSS). In the exemplary table there are three access points (A1, A2, A3) within the first coverage area of base station A. Similarly, there are two access points within the coverage area of the base station B. There may, of course, be many more wireless LANs within the areas covered by any WAN ID but the user of the mobile device may not be interested in those access points because they are associated with wireless LANs that the user may not be permitted to access. Accordingly, the table may merely include a fingerprint for those access points to which the user typically connects.
The two remaining columns include the values that comprise the fingerprint itself. In this example table the fingerprints for the access points A1, A2, and A3 include both strength and phase information. However, the fingerprints for the access points B1 and B2 comprise only signal strength information. Also note that although each fingerprint in this table is denoted by a vector of length n, there may be less than n non-null components of the vector. That is, several values may be null so that the fingerprint comparison is restricted to the vector components that are not null. In operation, a mobile device may awaken from a sleep or idle mode and calculate a fingerprint for its current location and compare it to the information in columns 4 and 5 in the table. The mobile device typically limits the fingerprint match to entries corresponding to the WAN ID with which it is currently registered. Thus, when registered with WAN ID A, only fingerprints associated with WAN ID A in the table are used for matching. The fingerprint creation and comparison may take place during ongoing calls as well. Based on the comparison, the mobile device may determine that an access point with SSID and BSSID indicated in columns 1 and 2 is near enough to search for its beacon signal; otherwise it may return to idle mode without bothering to search for a wireless LAN beacon signal.
The above table is exemplary in nature and does not describe all the possible information that may be used to characterize a fingerprint nor all the different combinations of WAN IDs versus access point IDs. or example, since most areas are covered by multiple WAN service providers each with its own WAN ID (SID/NID), a table entry for an access point may occur multiple times associated with different WAN IDs with a respective signature in each. In addition to the table depicted above, a separate table (or possibly additional entries in the original table) may be used to store information about the corresponding access point (i.e., the BSS ID). For example, a wireless LAN access point typically is configured to operate on one particular channel in a particular frequency band. Rather than requiring a mobile device to search through the different possible combinations, the table can contain that operational information for the access point so that the mobile device can use it to search for the beacon signal. Other information about the access point may include its capabilities such as security, quality of service, throughput and networking information.
The creation of the fingerprint table is described with reference to the flowchart of FIG. 3A. In step 302, the mobile device connects to a wireless LAN. Without the benefit of any pre-stored fingerprints, the mobile device scans for a WLAN access point in the typical way. Once the mobile device has connected with the access point, the user may, in step 304, signal to the device to capture the current fingerprint. This step may typically be user-initiated because the user may want only certain wireless LANs to be stored in the fingerprint database such as those wireless LANs that the user normally subscribes to or connects. However, the creating of a fingerprint may be automatically initiated by the mobile device as one of the many steps performed when connecting to the wireless LAN.
In step 306, the mobile device captures the values for those attributes that comprise the fingerprint and, in step 308, the device stores the fingerprint in a database. Along with the fingerprint, it is advantageous to store attributes of the currently connected wireless LAN as well.
The comparison of a current fingerprint to a stored fingerprint can be performed in a variety of ways without departing from the scope of the present disclosure. One particular technique is described below. However, many alternative, but functionally equivalent, techniques may be used as well.
The attributes that make up the fingerprint may have values that vary (even for the same location) or are difficult to measure with a high degree of accuracy. Thus, a comparison between fingerprints should not rely on exact duplicity as a test to determine a match. Similarly, the region 140 may reflect an operational decision to place more importance on detecting access points earlier at the expense of false alarms. In other words, if the region 140 is selected to be much larger than the region 114, then a mobile device 102 will determine that it should search for a beacon signal at time when it is not within the region 114 (i.e., a false alarm). If, however, the region 140 is selected to closely mimic the region 114, then there will be instances where the mobile device should be searching for a beacon signal but the fingerprint matching algorithm has not yet instructed it to search.
To handle such variability of the fingerprints, a “deviation” amount is defined that helps control the determination of whether a fingerprint matches a stored fingerprint.
















WLAN
Signal
Strength

Phase


WAN ID
BSS ID
Strength
Deviation
Phase
Deviation







A
A1
s1(A1) . . . sn(A1)
d1(A1) . . . dn(A1)
p1(A1) . . . pn(A1)
q1(A1) . . . qn(A1)



A2
s1(A2) . . . sn(A2)
d1(A2) . . . dn(A2)
p1(A2) . . . pn(A2)
q1(A2) . . . qn(A2)



A3
s1(A3) . . . sn(A3)
d1(A3) . . . dn(A3)
p1(A3) . . . pn(A3)
q1(A3) . . . qn(A3)









The above table includes a deviation value for the signal strength and a separate deviation value for the phase portion of the fingerprint. Use of these values is explained with respect to the flowchart of FIG. 3B. In step 320, the mobile device awakens or is otherwise controlled to capture a fingerprint of its current location. Continuing the example where the fingerprint has a vector for signal strengths and one for phases, a pair of vectors are collected x1 . . . xn and y1 . . . yn.
In step 322, the current WAN ID is checked and the table entries for access points associated with that WAN ID are determined. Further search refinements are possible by searching the database for identifiers of the observable pilots. For the CDMA network the search criterion can be PN phase offsets of the observable pilots. Next the fingerprint for each of these access points is then compared, in step 324, to the current fingerprint to determine if there is a match. Algorithmically, the comparison and determination is performed by:















For i = 1 to n:



   determine if | xi − si(·)| < di(·)



   determine if | yi − pi(·)| < qi(·)










Thus, the deviation values d and q can be used to select how closely the current finger print (x and y vectors) must match a stored finger print (s and p vectors). The larger the deviation values, the more the values can differ and there still be a match.

If there is a match at step 324, in step 326 an optional comparison may be made to determine whether the sum of all differences for a given access point (e.g. |xi−si(·)| and |y1−pi(·)|) also fall below a respective threshold (e.g., X and Y). This additional test can help catch certain scenarios where the individual differences may show a match but when the fingerprint is considered in total, it can be determined that there is no match.
If the tests of steps 324 and 326 are satisfied for a wireless LAN access point in the table, then the mobile device is controlled so as to search for the beacon signals of that access point. If there is no match at steps 324 or 326, the mobile device continues to look for a match on another fingerprint for another BSS ID. In an instance where possibly more than one access point fingerprint matches the current location fingerprint, then the sizes of the differences, or the sum of the differences, or some other determination may be made to select the access point with the fingerprint that most closely matches the current fingerprint. In this case of multiple matches, when the mobile device scans for WLAN access points it may locate one or more access points.
FIG. 4 depicts a flowchart of an exemplary method for refining a fingerprint entry. In step 402, the mobile device, after searching for and acquiring the beacon signal, connects to the access point of the wireless LAN as is known in the art. The access point has a MAC address that is used as its BSS ID. Other identifiers may be used to differentiate between different access points; however, the BSS ID is a convenient value. Thus, in step 404, the mobile device determines if the access point to which it is connected has an entry in the fingerprint table. If not, a current fingerprint can be generated (see FIG. 3A) and then stored, in step 406. If a fingerprint entry already exists for the access point, then the current fingerprint may be used to refine the stored fingerprint, in step 408. As part of the refinement process, the deviations values, if present, may be refined as well, in step 410.
The refinement process uses the current fingerprint to modify the stored fingerprint so that the stored fingerprint, instead of representing merely the first time that access point was found, actually benefits from the values measured during the multiple times the access point was found. One example of such a refinement may be described with reference to the signal strength parameter but applies equally well to the phase parameter or any other attribute that is used to create the fingerprint. According to this method, a record of the number of times the fingerprint has been updated is maintained as well. In this example, the fingerprint for access point A1 is updated for the Kth time. The fingerprint includes the vector s1(A1) . . . sn(A1) and the current fingerprint includes the vector x1, . . . , xn. Each value of the s vector is updated according to the formula:

new si=[(K−1)(old si)+xi]/K 

This type of running average refinement is merely exemplary in nature and there are many accepted mathematical techniques that could be used to refine a fingerprint value without departing from the scope of the present disclosure. A refinement to the fingerprint may also be accomplished by adding values for a new attribute (e.g., the number of measurable pilot signals) to the fingerprint instead of, or in addition to, changing existing values.

The deviation values may be refined as well. For example, the initial deviation values may be a default value. Such as, for example, 10 dB (for signal strength) or the default value for a deviation may be variable such as 5% of the fingerprint value. In this example, the measured deviation vector between the x and s vectors is a vector m1, . . . , mn. The new deviation value di is calculated by MAX[(previous di), mi, (default di/SQRT(K))].
In the above examples, the mobile device generates the fingerprints and stores a fingerprint database. However, some or all of the fingerprints may alternatively be stored somewhere further up the wide area wireless communication network such as a database 111 accessible by the MSC 110. In this instance, the processing requirements and storage requirements may be reduced for the mobile device. In operation, the mobile device would create a current fingerprint and transmit that fingerprint to the MSC (or BSC possibly if the database was there). The MSC would then perform the fingerprint comparison and instruct the mobile device whether or not to search for an access point beacon signal. In this arrangement, the MSC could receive fingerprints from multiple mobile devices and have a much larger database of available access points than would be found in a single mobile device. Alternatively, a personalized fingerprint database may be created for each user of the wide area wireless communication network and stored at their home system.
The various illustrative logical blocks, modules, circuits, elements, and/or components described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic component, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing components, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The methods or algorithms described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. A storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor.
The previous description provides certain exemplary aspects and embodiments. Various modifications to these embodiments and aspects are within the scope of the disclosure and the generic principles defined herein may be applied to other embodiments. Thus, the claims are not intended to be limited to the embodiments shown herein, but is to be accorded the full scope consistent with the language claims, wherein reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” All structural and functional equivalents to the elements of the various embodiments described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim element is to be construed under the provisions of 35 U.S.C. §112, sixth paragraph, unless the element is expressly recited using the phrase “means for” or, in the case of a method claim, the element is recited using the phrase “step for.”

## Claims

1. A wireless communications device, comprising:
memory configured to store a fingerprint for a first communications network; and
a processor configured to create the fingerprint for the first communications network by capturing a value of at least one attribute of at least two reference signals transmitted by at least two base stations in a second communications network when the wireless communications device is in the vicinity of the first communications network, the fingerprint comprising values of the at least one attribute captured from each of the at least two base stations, and to determine whether the wireless communications device is currently in the vicinity of the first communications network by comparing a current value of the at least one attribute from one or more reference signals received from the second communications network to the value of the at least one attribute in the fingerprint stored in the memory.

2. The wireless communications device of claim 1, wherein the at least one attribute includes at least one attribute selected from a group consisting of phase offset of the one or more reference signals received from the second communications network, a number of pilot signals available, and a spreading code.

3. The wireless communications device of claim 1, wherein the processor is further configured to use phase information from the one or more reference signals to determine whether the wireless communications device is in the vicinity of the first communications network.

4. The wireless communications device of claim 1, wherein the processor is further configured to use signal strength of the one or more reference signals to determine whether the wireless communications device is in the vicinity of the first communications network.

5. The wireless communications device of claim 1, wherein the one or more reference signals comprise pilot signals.

6. The wireless communications device of claim 5, wherein the at least one attribute comprises a pilot offset and/or a pilot signal strength.

7. The wireless communications device of claim 6, wherein the at least one attribute further comprises timing offsets of neighboring base stations deployed through the second communications network.

8. The wireless communication device of claim 1, wherein the memory is configured to store the fingerprint for the first communication network based on the receipt of input from a user.

9. The wireless communication device of claim 1, wherein the fingerprint further includes at least one characteristic of transmission of the second communications network.

10. The wireless communications device of claim 1, wherein the fingerprint comprises an averaged measurement of a collection of attributes of the second communications network that change based on location and that relate to a proximity of the first communications network, and wherein the fingerprint comprises a characteristic of a transmitter of the second communications network.

11. The wireless communications device of claim 1, wherein:
the fingerprint comprises a set of signal strength and phase offset values corresponding to the second communications network, and
the processor is configured to determine whether the wireless communications device is in the vicinity of the first communications network by comparing current signal strength and phase offset values of the one or more reference signals received from the second communications network with the signal strength and phase offset values of the fingerprint stored in the memory.

12. The wireless communications device of claim 1, wherein being in the vicinity of the first communications network corresponds to being within a coverage area of the first communications network.

13. The wireless communications device of claim 12, wherein the fingerprint is created automatically upon connecting to the first communications network.

14. The wireless communications device of claim 1, wherein capturing the value of the at least one attribute of the at least two reference signals transmitted by the at least two base stations in the second communications network comprises taking a physical measurement of the at least one attribute to determine the value.

15. The wireless communications device of claim 1, wherein the processor is configured to determine whether the wireless communications device is currently in the vicinity of the first communications network by comparing a current value of the at least one attribute from one or more reference signals received from each of the at least two base stations in the second communications network to the corresponding values of the at least one attribute from each of the at least two base stations in the fingerprint stored in the memory.

16. A wireless communications device, comprising:
memory configured to store a fingerprint for each of a plurality of wireless LANs dispersed through a WAN; and
a processor configured to create the fingerprint for each wireless LAN by capturing a value of at least one attribute of at least two reference signals transmitted by at least two base stations in the WAN when the wireless communications device is in the vicinity of the wireless LAN, the fingerprint comprising values of the at least one attribute captured from each of the at least two base stations, and to determine whether the wireless communications device is currently in the vicinity of one of the wireless LANs by comparing a current value of the at least one attribute from one or more reference signals received from the WAN to the value of the at least one attribute in the fingerprint stored in the memory.

17. The wireless communications device of claim 16, wherein the at least one attribute includes at least one attribute selected from a group consisting of phase offset of the one or more reference signals received from the base stations associated with the WAN, a number of pilot signals available, and a spreading code.

18. The wireless communications device of claim 16, wherein the processor is further configured to use phase information from the one or more reference signals to determine whether the wireless communications device is in the vicinity of one of the wireless LANs.

19. The wireless communications device of claim 17, wherein the processor is further configured to use signal strength of the one or more reference signals to determine whether the wireless communications device is in the vicinity of one of the wireless LANs.

20. The wireless communications device of claim 16, wherein the one or more reference signals comprise pilot signals from the base stations associated with the WAN.

21. The wireless communications device of claim 16, wherein the fingerprint comprises an averaged measurement of a collection of attributes of the WAN that change based on location and that relate to a proximity of the plurality of wireless LANs, and wherein the fingerprint comprises a characteristic of a transmitter of the WAN.

22. A non-transitory computer readable medium embodying a program of instructions executable by a computer to perform a method of communications for a wireless communications device, the method comprising:
creating a fingerprint for a first communications network by capturing a value of at least one attribute of at least two reference signals transmitted by at least two base stations in a second communications network when the wireless communications device is in the vicinity of the first communications network, the fingerprint comprising values of the at least one attribute captured from each of the at least two base stations;
storing the fingerprint in memory;
processing one or more reference signals received from the second communications network; and
determining whether the wireless communications device is currently in the vicinity of the first communications network by comparing a current value of the at least one attribute from the one or more reference signals from the second communications network to the value of the at least one attribute in the fingerprint stored in memory.

23. The computer readable medium of claim 22, wherein creating the fingerprint comprises detecting the reference signals associated with the second communications network during a search.

24. The computer readable medium of claim 22, wherein the fingerprint comprises an averaged measurement of a collection of attributes of the second communications network that change based on location and that relate to a proximity of the first communications network, and wherein the fingerprint comprises a characteristic of a transmitter of the second communications network.

25. A method of communications for a wireless communications device, comprising:
creating a fingerprint for a first communications network by capturing a value of at least one attribute of at least two reference signals transmitted by at least two base stations in a second communications network when the wireless communications device is in the vicinity of the first communications network, the fingerprint comprising values of the at least one attribute captured from each of the at least two base stations;
storing the fingerprint in memory;
receiving one or more reference signals from the second communications network; and
determining whether the wireless communications device is in the vicinity of the first communications network by comparing a current value of the at least one attribute from the one or more reference signals from the second communications network to the value of the at least one attribute in the fingerprint stored in memory.

26. The method of claim 25, wherein creating the fingerprint comprises detecting the reference signals associated with the second communications network during a search.

27. The method of claim 25, wherein the one or more reference signals comprise pilot signals.

28. The method of communications of claim 25, further comprising:
receiving a user input to store the fingerprint information for the first communication network wherein creating and storing the fingerprint is based on the received user input.

29. The method of communications of claim 25, wherein the fingerprint further includes at least one characteristic of transmission of the second communications network.

30. The method of communications of claims 25, wherein the at least one attribute includes at least one attribute selected from a group consisting of phase offset of the one or more reference signals received from the second communications network, a number of pilot signals available, and a spreading code.

31. The method of claim 25, wherein the fingerprint comprises an averaged measurement of a collection of attributes of the second communications network that change based on location and that relate to a proximity of the first communications network, and wherein the fingerprint comprises a characteristic of a transmitter of the second communications network.

32. A wireless communications device, comprising:
means for creating a fingerprint for a first communications network by capturing a value of at least one attribute of at least two reference signals transmitted by at least two base stations in a second communications network when the wireless communications device is in the vicinity of the first communications network the fingerprint comprising values of the at least one attribute captured from each of the at least two base stations;
means for storing the fingerprint; and
means for determining whether the wireless communications device is currently in the vicinity of the first communications network by comparing a current value of the at least one attribute from one or more reference signals received from the second communications network to the value of the at least one attribute in the stored fingerprint.

33. The apparatus of claim 32, wherein the one or more reference signals comprise pilot signals.

34. The wireless communications device of claim 32, further comprising:
means for receiving a user input to store the fingerprint, wherein the fingerprint is stored after receipt of the user input.

35. The wireless communications device of claim 32, wherein the fingerprint further includes at least one characteristic of transmission of the second communications network.

36. The wireless communications device of claim 32, wherein the at least one attribute includes at least one attribute selected from a group consisting of phase offset of the one or more reference signals received from the second communications network, a number of pilot signals available, and a spreading code.

37. The apparatus of claim 32, wherein the fingerprint comprises an averaged measurement of a collection of attributes of the second communications network that change based on location and that relate to a proximity of the first communications network, and wherein the fingerprint comprises a characteristic of a transmitter of the second communications network.