For ease of illustration, the various techniques disclosed in this document are discussed in the context of IEEE 802.11-based wireless network. This context is described in the IEEE 802.11 specifications for wireless local area network (WLAN) media access control (MAC) and physical layer (PHY). However, those of ordinary skill in the art, using the teachings provided in this document, may implement the disclosed techniques in other wireless networks. Accordingly, references to techniques and components specific to IEEE 802.11 apply also to the equivalent techniques or components in other wireless network standards unless otherwise noted.
A mobile station may store in its memory one or more connection profiles. Each connection profile includes a network name, which in IEEE 802.11 is known as a service-set identifier (SSID). The network name uniquely identifies the connection profile in the mobile station, so that no two connection profiles stored in the same mobile station include the same network name. If the mobile station is capable of operating in more than one mode/frequency band, a connection profile may include an indication of the mode in which the network operates. For example, in IEEE 802.11, the mode may be IEEE 802.11a, which operates in the 5 GHz band, or IEEE 802.11b/g, which operates in the 2.4 GHz band.
A connection profile is optionally labeled with a profile label. A connection profile may include indications of other network details, for example, one or more of the following: a security type, a security subtype, an authentication method, and an encryption type. A connection profile may also include credentials for use with the implemented security type or with the authentication method or with both. A non-exhaustive list of examples of credentials includes a passphrase, a username, a password, an IMSI (International Mobile Subscriber Identity), a certificate, and a certificate having an expiry date.
A connection profile may be created using user-interface components of the mobile station or using Wi-Fi Protection Setup™ (WPS) techniques, and such a connection profile is referred to in this document as a user-created connection profile. For example, it may be sufficient to provide via the user-interface components a network name, an indication of security type, and, if applicable, a set of credentials for the indicated security type, in order to create a user-created connection profile stored in the mobile station.
Alternatively, a connection profile may be provisioned to the mobile station, and such a connection profile is referred to in this document as a provisioned connection profile. For example, a connection profile may be provisioned to the mobile station in native storage space to provide an out-of-the-box experience, or transmitted to the mobile station either over an existing WLAN connection or through an out-of-band channel, for example, a Universal Serial Bus (USB) connection or a wireless cellular network connection. The source of a provisioned connection profile may be, for example, a manufacturer of the mobile station, an Information Technology (IT) administrator of an enterprise that has purchased the mobile station, or a carrier who controls the sale of the mobile station.
As a further alternative, a connection profile may be installed in the mobile station as part of installation of a third-party application on the mobile station, and such a connection profile is referred to in this document as a third-party connection profile. For example, the source of the third-party connection profile may be the provider of the third-party application, or the third-party connection profile may have been created for the provider of the third-party application by the manufacturer or carrier of the mobile station. A connection profile may include an indication, or one or more indications that collectively indicate, whether the connection profile is a user-created connection profile or a provisioned connection profile or a third-party connection profile.
Connection profiles may be assigned priority relative to each other. The relative priority assigned to a connection profile may be determined by a user of the mobile station or by the source of a provisioned connection profile. The relative priority of connection profiles may affect the order in which those connection profiles are compared to scan results and therefore may also affect the order in which the mobile station attempts to connect to wireless networks having a network name included in those connection profiles. Connection profiles may be created with the lowest relative priority, by default.
A connection profile may be in an enabled state or in a disabled state, and a connection profile may include an indication of whether it is in the enabled state or in the disabled state. A connection profile in the enabled state, referred to in this document as an enabled connection profile, is a candidate for automatic connection attempts by the mobile station if a wireless network having the same network name as the enabled connection profile has been detected in the band indicated in the enabled connection profile with sufficient received signal strength by the mobile station. A connection profile in the disabled state, referred to in this document as a disabled connection profile, is not a candidate for automatic connection attempts by the mobile station.
Regardless of any limit on the number of connection profiles that a mobile station can store, there may be an upper limit on how many of the connection profiles stored in the mobile station can be enabled at the same time. For example, a mobile station may limit the number of enabled connection profiles to 32 or 64.
Embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like reference numerals indicate corresponding, analogous or similar elements, and in which:
It will be appreciated that for simplicity and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity.
In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of embodiments. However it will be understood by those of ordinary skill in the art that the embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the embodiments.
To reduce automatically a number of enabled connection profiles in a mobile station, for example, while the number of enabled connection profiles is at its maximum, a mobile station automatically selects one of the existing enabled connection profiles to disable and automatically disables the auto-selected connection profile. Enabled provisioned connection profiles are considered as candidates for disablement only if there are no enabled user-created connection profiles, and enabled third-party connection profiles are considered as candidates for disablement only if there are no enabled provisioned connection profiles and no enabled user-created connection profiles. Other factors, for example, timing of use, security type and relative priority, may be considered by the mobile station in order to automatically select which of the existing enabled connection profiles to disable.
The mobile station may automatically select one of the existing enabled connection profiles and automatically disable the auto-selected connection profile in response to a request to create a new connection profile. In other words, at the time the request is made, none of the connection profiles stored in the mobile station includes the network name that is to be included in the new connection profile, and the number of enabled connection profiles in the mobile station is at its maximum. Once the auto-selected connection profile has been automatically disabled by the mobile station, thus reducing the number of enabled connection profiles in the mobile station by one, the mobile station may proceed to create the new connection profile as an enabled connection profile.
There are various scenarios in which a request to create a new connection profile may be generated in the mobile station. For example, the request may be generated in response to the user providing input via user-interface components of the mobile station as part of a connection profile creation process and indicating that the input should be saved in a new connection profile. In another example, the request may be generated in response to the user providing input via user-interface components of the mobile station, the input indicative of selection of a result from a list of available networks as a target for connection, where the result includes a network name that is not included in any of the connection profiles stored in the mobile station.
The mobile station may automatically select one of the existing enabled connection profiles and automatically disable the selected connection profile in response to a request to enable a particular disabled connection profile. In other words, at the time the request is made, the number of enabled connection profiles in the mobile station is at its maximum and the request is to enable a particular one of the disabled connection profiles. Once the auto-selected connection profile has been automatically disabled by the mobile station, thus reducing the number of enabled connection profiles in the mobile station by one, the mobile station may proceed to enable the particular disabled connection profile.
There are various scenarios in which a request to enable a particular disabled connection profile may be generated in the mobile station. For example, the request may be generated in response to the user providing input via user-interface components of the mobile station indicative of instructions to enable the particular disabled connection profile. In save-then-connect scenarios, the request may be generated in response to the user providing input via user-interface components of the mobile station, for example, the input indicative of instructions to connect to the wireless network described in the particular disabled connection profile or, in another example, the input indicative of selection of a result from a list of available networks as a target for connection, the result including the network name that is included in the particular disabled connection profile. In these save-then-connect scenarios, the particular disabled connection profile will be enabled even if the mobile station is unable to connect to the wireless network described in the particular disabled connection profile. In connect-then-save scenarios, the request may be generated in response to a successful attempt to connect to the wireless network described in the particular disabled connection profile, the attempt having been made in response to the user providing input via user-interface components of the mobile station, for example, the input indicative of instructions to connect to the wireless network described in the particular disabled connection profile or, in another example, the input indicative of selection of a result from a list of available networks as a target for connection, the result including the network name that is included in the particular disabled connection profile. In these connect-then-save scenarios, the particular disabled connection profile will be enabled only if the mobile station is able to connect to the wireless network described in the particular disabled connection profile.
A power pack 220 supplies power to the components of mobile station 200. Power pack 220 may be removable from mobile station 200. Mobile station 200 also comprises a power interface 222, for example, a universal serial bus (USB) interface connection or an AC/DC adapter, which enables power pack 220 to be recharged from an external power source.
Mobile station 200 may comprise additional components, circuitry and functionality which, for clarity, have not been illustrated in
Memory 204 is coupled to processor 202 and comprises volatile memory and non-volatile memory. Portions of memory 204 may be internal to processor 202. Memory 204 stores applications executable by processor 202, including, for example, a system management application 230, a wireless connection setup and connection profile management application 232, and a wireless network communication interface driver 236. Memory 204 also stores data files used by the applications, including, for example, one or more connection profiles 238. Memory 204 also stores an indication 240, which may be configurable or which may have a fixed value, of a maximum number of enabled connection profiles. In other words, the number of enabled connection profiles is limited in the mobile station to no more than the maximum number indicated by indication 240. For example, the maximum number may be 32 or 64. The upper limit on the number of enabled connection profiles may be due to limitations in wireless network communication interface driver 236.
Memory 204 may optionally store a configurable indication 242 whether, when selecting an existing enabled connection profile to disable and taking into account the security type, to prefer disabling connection profiles of lower security type or to prefer disabling connection profiles of higher security type. This is explained in further detail in connection with
Methods described in this document may be implemented by way of computer instructions to be executed by processor 202 or processor 212. For example, scanning is implemented by processor 212 under the control of wireless network communication interface driver 236. Wireless connection setup and connection profile management application 232 may be used to enable the creation and editing of connection profiles 238 and to guide a user of mobile station through the process of scanning and connecting to a wireless network, including, for example, generating a list of available wireless networks to be displayed via display 206.
As mentioned earlier in this document, connection profiles may be assigned priority relative to each other. Connection profile 300 includes an indication 302 of its relative priority. For example, the relative priority assigned to a connection profile may be 3, meaning that there are two connection profiles stored in the mobile station of higher priority than this connection profile. Connection profile 300 further includes an indication 304 of whether the connection profile is enabled or disabled, an indication 306 of whether the connection profile is a user-created connection profile or a provisioned connection profile or a third-party connection profile. Although not illustrated as such in
A connection profile describes a wireless network. Connection profile 300 includes an indication 310 of the name of the wireless network, which in IEEE 802.11 is known as the SSID. The network name uniquely identifies the connection profile in the mobile station, so that no two connection profiles stored in the same mobile station include the same network name.
Connection profile 300 includes a timestamp 312 indicative of a most recent use of the connection profile. In this context, use of a connection profile may include an attempt to connect to a wireless network described in the connection profile. In other words, an automatic attempt or an attempt in response to input received via user-interface components of the mobile station, will cause the mobile station to update the value of the timestamp. Resetting the mobile station to default settings will reinitialize the timestamp to an initial value, for example, zero or a current clock value. Restoring the data in the mobile station from backup may also reinitialize the timestamp to an initial value, for example, zero or a current clock value.
Connection profile 300 includes an indication 314 of the security type implemented in the wireless network, an indication 316 of the security subtype, if applicable, an indication 318 of the authentication method implemented in the wireless network, and an indication 320 of the encryption type implemented in the wireless network. Connection profile 300 also includes an indication 322 of credentials for use with the implemented security type or with the authentication method or with both. A non-exhaustive list of examples of credentials includes a passphrase, a username, a password, an IMSI (International Mobile Subscriber Identity), a certificate, and a certificate having an expiry date.
Security types fall into one of two categories: 1) Shared Key Authentication, which uses a shared Wired Equivalent Privacy (WEP) key to authenticate a mobile station to an AP, and 2) Open Authentication. Open Authentication security types include, for example, “Open System”, Wi-Fi Protected Access® (WPA)/WPA2™-Personal, which involves Temporal Key Integrity Protocol (TKIP) or Advanced Encryption Standard (AES) encryption, WPA/WPA2-Enterprise, which involves Counter-Mode/CBC-Mac Protocol (CCMP) encryption, and all flavors of the Extensible Authentication Protocol (EAP) security type. An “Open System” security type means no encryption and no authentication. The EAP security type has several flavors, for example, Lightweight EAP (LEAP), Protected EAP (PEAP), EAP Transport Layer Security (EAP-TLS), EAP Tunneled Transport Layer Security (EAP-TLS), EAP—Flexible Authentication via Secured Tunneling (EAP-FAST), EAP for GSM Subscriber Identity Modules (EAP-SIM), and EAP—Authentication and Key Agreement (EAP-AKA).
If the mobile station is capable of operating in more than one mode/frequency band, connection profile 300 may include an indication 324 of the mode in which the network operates.
Connection profile 300 may include an indication 326 of an optional label for the connection profile. Connection profile 300 may include indications 328 of other network details, for example, whether the network name is broadcasted in the wireless network or hidden, whether roaming is permitted, Internet Protocol (IP) network parameters or whether to automatically obtain an Internet Protocol (IP) address and DNS.
It will be appreciated by persons of ordinary skill in the art that there is a distinction between what information is stored in a connection profile and how that information is presented or not presented to a user of the mobile station, and that many different options for presentation are possible.
The mobile station automatically selects at 402 which one of the enabled connection profiles to automatically disable. The mobile station automatically disables the selected enabled connection profile at 404, thus reducing the number of enabled connection profiles stored in the mobile station by one. Optionally, the mobile station outputs via one or more of its user-interface components 406 a notification identifying which connection profile was automatically disabled at 404. An example screenshot of an example notification is described below with respect to
When the method begins, the candidates for disablement can be expressed as the set {enabled connection profiles}. Enabled provisioned connection profiles are considered as candidates for disablement only if there are no enabled user-created connection profiles, and enabled third-party connection profiles are considered as candidates for disablement only if there are no enabled provisioned connection profiles and no enabled user-created connection profiles. The method automatically disables an enabled third-party connection profile only as a last resort, because disabling a third-party connection profile may adversely affect the functionality or operation of the third-party application that is installed in the mobile station. Determining whether an enabled connection profile is a user-created connection profile or a provisioned connection profile or a third-party connection profile may be accomplished, for example, by checking indication 306 of the connection profile.
At 410, the mobile station checks how many of the enabled connection profiles currently stored in the mobile station are user-created connection profiles. If there is only one enabled user-created connection profile, then the mobile station selects at 412 the single enabled user-created connection profile for automatic disablement, and the method ends. If there are two or more enabled user-created connection profiles, then the candidates for disablement can be expressed as the set {enabled user-created connection profiles} and the mobile station selects at 414 one of the enabled user-created connection profiles. Example methods for selection of an enabled user-created connection profile are described below with respect to
If, as checked at 410, there are no enabled user-created connection profiles, the mobile station checks at 420 how many of the enabled connection profiles currently stored in the mobile station are provisioned connection profiles. If there is only one enabled provisioned connection profile, then the mobile station selects at 422 the single enabled provisioned connection profile for automatic disablement, and the method ends. If there are two or more enabled provisioned connection profiles, then the candidates for disablement can be expressed as the set {enabled provisioned connection profiles} and the mobile station selects at 424 one of the enabled provisioned connection profiles. Example methods for selection of an enabled provisioned connection profile are described below with respect to
If, as checked at 420, there are no enabled provisioned connection profiles, then the candidates for disablement can be expressed as the set {enabled third-party connection profiles} and the mobile station selects at 426 one of the enabled third-party connection profiles. An example method for selection of an enabled third-party connection profile is described below with respect to
There are various scenarios in which the request to create a new connection profile may be generated by wireless connection setup and connection profile management application 232. For example, the request may be generated in response to receiving input via user-interface components of the mobile station as part of a connection profile creation process and indicating that the input should be saved in a new connection profile. In another example, the request may be generated in response to receiving input via user-interface components of the mobile station, the input indicative of selection of a result from a list of available networks as a target for connection, where the result includes a network name that is not included in any of the connection profiles stored in the mobile station.
At 502, a request to create a new connection profile is generated in the mobile station.
At 504, the mobile station checks whether the number of enabled connection profiles—not including the new requested connection profile—is at its maximum. If the current number of enabled connection profiles stored in the mobile station is less than the maximum number indicated by indication 240, then the mobile station saves at 506 the input received via the user-interface components as part of a connection profile creation process in a new enabled connection profile, thus increasing the total number of enabled connection profiles stored in the mobile station by 1.
If the current number of enabled connection profiles stored in the mobile station is equal to the maximum number indicated by indication 240, then the mobile station does not immediately save the input received via the user-interface components as part of a connection profile creation process in a new enabled connection profile, because to do so would violate the limit on the number of enabled connection profiles. Rather, the mobile station performs the following actions:
a) the mobile station automatically selects at 508 which one of the enabled connection profiles to automatically disable;
b) the mobile station automatically disables the selected enabled connection profile at 510, thus decreasing the total number of enabled connection profiles stored in the mobile station by 1;
c) the mobile station saves at 512 the input received via the user-interface components as part of a connection profile creation process in a new enabled connection profile, thus increasing the total number of enabled connection profiles stored in the mobile station by 1; and
d) optionally, the mobile station outputs via one or more of its user-interface components at 514 a notification identifying which connection profile was automatically disabled at 510.
There are various scenarios in which a request to enable a particular disabled connection profile may be generated by wireless connection setup and connection profile management application 232. For example, the request may be generated in response to receiving input via user-interface components of the mobile station, the input indicative of instructions to enable the particular disabled connection profile. In save-then-connect scenarios, the request may be generated in response to receiving input via user-interface components of the mobile station, for example, the input indicative of instructions to connect to the wireless network described in the particular disabled connection profile or, in another example, the input indicative of selection of a result from a list of available networks as a target for connection, the result including the network name that is included in the particular disabled connection profile. In these save-then-connect scenarios, the particular disabled connection profile will be enabled even if the mobile station is unable to connect to the wireless network described in the particular disabled connection profile. In connect-then-save scenarios, the request may be generated in response to a successful attempt to connect to a the wireless network described in the particular disabled connection profile, the attempt having been made in response to receiving input via user-interface components of the mobile station, for example, the input indicative of instructions to connect to the wireless network described in the particular disabled connection profile or, in another example, the input indicative of selection of a result from a list of available networks as target for connection, the result including the network name that is included in the particular disabled connection profile. In these connect-then-save scenarios, the particular disabled connection profile will be enabled only if the mobile station is able to connect to the wireless network described in the particular disabled connection profile.
At 602, a request to enable a particular disabled connection profile is generated in the mobile station.
At 604, the mobile station checks whether the number of enabled connection profiles is at its maximum. If the current number of enabled connection profiles stored in the mobile station is less than the maximum number indicated by indication 240, then the mobile station enables at 606 the particular disabled connection profile, thus increasing the total number of enabled connection profiles stored in the mobile station by 1.
If the current number of enabled connection profiles stored in the mobile station is equal to the maximum number indicated by indication 240, then the mobile station does not immediately enable the particular disabled connection profile, because to do so would violate the limit on the number of enabled connection profiles. Rather, the mobile station performs the following actions:
a) the mobile station automatically selects at 608 which one of the enabled connection profiles to automatically disable;
b) the mobile station automatically disables the selected enabled connection profile at 610, thus decreasing the total number of enabled connection profiles stored in the mobile station by 1;
c) the mobile station enables at 612 the particular disabled connection profile, thus increasing the total number of enabled connection profiles stored in the mobile station by 1; and
d) optionally, the mobile station outputs via one or more of its user-interface components at 614 a notification identifying which connection profile was automatically disabled at 610.
When the method begins, the candidates for disablement can be expressed as the set {enabled user-created connection profiles}, and the set has at least two candidates.
Starting with
If, as checked at 704, there is only one enabled user-created connection profile used least recently, then the mobile station selects at 706 the enabled user-created connection profile used least recently as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 704, there are two or more enabled user-created connection profiles used least recently, then the mobile station considers at 708 the security types of the enabled user-created connection profiles used least recently.
The mobile station may optionally be configurable to prefer disabling connection profiles of higher security type or to prefer disabling connection profiles of lower security type, and indication 242 of the preference may be stored in memory 204. Alternatively, wireless connection setup and connection profile management application 232 may be designed to prefer disabling connection profiles of lower security type. Alternatively, wireless connection setup and connection profile management application 232 may be designed to prefer disabling connection profiles of higher security type. In the description that follows, the phrase “designated security type” means the highest security type from among the remaining candidates if that is the configuration or design of the mobile station, and means the lowest security type from among the remaining candidates if that is the configuration or design of the mobile station.
At this point, the remaining candidates for disablement can be expressed as the following intersection: {enabled user-created connection profiles}∩{least recently used connection profiles}∩{designated security type}.
If, as checked at 710, there is only one enabled user-created connection profile used least recently of the designated security type, then the mobile station selects at 712 the enabled user-created connection profile used least recently of the designated security type as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 710, there are two or more enabled user-created connection profiles used least recently of the designated security type, then the mobile station considers at 714 the priority of the remaining candidates. As mentioned above, all connection profiles are assigned a relative priority. Thus the mobile station selects at 716 as the enabled connection profile to be automatically disabled the enabled user-created connection profile used least recently of the designated security type that is of the lowest priority, and the method ends.
Turning now to
As mentioned above, the mobile station may optionally be configurable to prefer disabling connection profiles of higher security type or to prefer disabling connection profiles of lower security type, and indication 242 of the preference may be stored in memory 204. Alternatively, wireless connection setup and connection profile management application 232 may be designed to prefer disabling connection profiles of lower security type. Alternatively, wireless connection setup and connection profile management application 232 may be designed to prefer disabling connection profiles of higher security type. In the description that follows, the phrase “designated security type” means the highest security type from among the remaining candidates if that is the configuration or design of the mobile station, and means the lowest security type from among the remaining candidates if that is the configuration or design of the mobile station.
At this point, the remaining candidates for disablement can be expressed as the following intersection: {enabled user-created connection profiles}∩{designated security type}.
If, as checked at 754, there is only one enabled user-created connection profile of the designated security type, then the mobile station selects at 756 the enabled user-created connection profile of the designated security type as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 754, there are two or more enabled user-created connection profiles of the designated security type, then the mobile station considers at 758 the timing of use of the enabled user-created connection profiles of the designated security type. For example, the mobile station may identify, by comparing timestamps, which of the enabled user-created connection profiles of the designated security type was used least recently. It is contemplated that, due to re-initialization of the timestamps when the mobile station is restored from backup or is reset to default settings, that two or more connection profiles may have identical timestamps. At this point, the remaining candidates for disablement can be expressed as the following intersection: {enabled user-created connection profiles}∩{designated security type}∩{least recently used connection profiles}.
If, as checked at 760, there is only one enabled user-created connection profile of the designated security type used least recently, then the mobile station selects at 762 the enabled user-created connection profile of the designated security type used least recently as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 760, there are two or more enabled user-created connection profiles of the designated security type used least recently, then the mobile station considers at 764 the priority of the remaining candidates. As mentioned above, all connection profiles are assigned a relative priority. Thus the mobile station selects at 766 as the enabled connection profile to be automatically disabled the enabled user-created connection profile of the designated security used least recently that is of the lowest priority, and the method ends.
When the method begins, the candidates for disablement can be expressed as the set {enabled provisioned connection profiles}, and the set has at least two candidates.
Starting with
If, as checked at 804, there is only one enabled provisioned connection profile used least recently, then the mobile station selects at 806 the enabled provisioned connection profile used least recently as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 804, there are two or more enabled provisioned connection profiles used least recently, then the mobile station considers at 808 the security types of the enabled provisioned connection profiles used least recently.
At this point, the remaining candidates for disablement can be expressed as the following intersection: {enabled provisioned connection profiles}∩{least recently used connection profiles}∩{designated security type}.
If, as checked at 810, there is only one enabled provisioned connection profile used least recently of the designated security type, then the mobile station selects at 812 the enabled provisioned connection profile used least recently of the designated security type as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 810, there are two or more enabled provisioned connection profiles used least recently of the designated security type, then the mobile station considers at 814 the priority of the remaining candidates. Thus the mobile station selects at 816 as the enabled connection profile to be automatically disabled the enabled provisioned connection profile used least recently of the designated security type that is of the lowest priority, and the method ends.
Turning now to
As mentioned above, the mobile station may optionally be configurable to prefer disabling connection profiles of higher security type or to prefer disabling connection profiles of lower security type, and indication 242 of the preference may be stored in memory 204. Alternatively, wireless connection setup and connection profile management application 232 may be designed to prefer disabling connection profiles of lower security type. Alternatively, wireless connection setup and connection profile management application 232 may be designed to prefer disabling connection profiles of higher security type. In the description that follows, the phrase “designated security type” means the highest security type from among the remaining candidates if that is the configuration or design of the mobile station, and means the lowest security type from among the remaining candidates if that is the configuration or design of the mobile station.
At this point, the remaining candidates for disablement can be expressed as the following intersection: {enabled provisioned connection profiles}∩{designated security type}.
If, as checked at 854, there is only one enabled provisioned connection profile of the designated security type, then the mobile station selects at 856 the enabled provisioned connection profile of the designated security type as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 854, there are two or more enabled provisioned connection profiles of the designated security type, then the mobile station considers at 858 the timing of use of the enabled provisioned connection profiles of the designated security type. For example, the mobile station may identify, by comparing timestamps, which of the enabled provisioned connection profiles of the designated security type was used least recently. It is contemplated that, due to re-initialization of the timestamps when the mobile station is restored from backup or is reset to default settings, that two or more connection profiles may have identical timestamps. At this point, the remaining candidates for disablement can be expressed as the following intersection: {enabled provisioned connection profiles}∩{designated security type}∩{least recently used connection profiles}.
If, as checked at 860, there is only one enabled provisioned connection profile of the designated security type used least recently, then the mobile station selects at 862 the enabled provisioned connection profile of the designated security type used least recently as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 860, there are two or more enabled provisioned connection profiles of the designated security type used least recently, then the mobile station considers at 864 the priority of the remaining candidates. As mentioned above, all connection profiles are assigned a relative priority. Thus the mobile station selects at 866 as the enabled connection profile to be automatically disabled the enabled provisioned connection profile of the designated security used least recently that is of the lowest priority, and the method ends.
When the method begins, the candidates for disablement can be expressed as the set: {enabled third-party connection profiles}, and the set has many candidates, possibly equal to the maximum number of enabled connection profiles. The mobile station considers at 902 timing of use of the enabled third-party connection profiles. For example, the mobile station may identify, by comparing timestamps, which of the enabled third-party connection profiles was used least recently. It is contemplated that, due to re-initialization of the timestamps when the mobile station is restored from backup or is reset to default settings, that two or more connection profiles may have identical timestamps. At this point, the remaining candidates for disablement can be expressed as the following intersection: {enabled third-party connection profiles}∩{least recently used connection profiles}.
If, as checked at 904, there is only one enabled third-party connection profile used least recently, then the mobile station selects at 906 the enabled third-party connection profile used least recently as the enabled connection profile to be automatically disabled, and the method ends.
If, as checked at 904, there are two or more enabled third-party connection profiles used least recently, then the mobile station considers at 908 the priority of the remaining candidates. Thus the mobile station selects at 910 the enabled third-party connection profile used least recently that is of the lowest priority, and the method ends.
General Remarks Relating to Flowchart Illustrations and Block Diagrams
Some of these techniques are described in this document with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products. It will be understood that each block of the flowchart illustration and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented or supported by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a particular machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions or actions specified in the flowchart illustration and/or block diagram block or blocks.
These computer program instructions may also be stored in a physical computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the functions or actions specified in the flowchart illustration and/or block diagram block or blocks. Computer programs implementing the techniques described in this document can be distributed to users on a distribution medium such as a floppy disk, CD-ROM, or DVD, or may be downloaded over a network such as the Internet using FTP, HTTP, or other suitable protocols. From there, they will often be copied to a hard disk or a similar intermediate storage medium. When the programs are to be run, they will be loaded either from their distribution medium or their intermediate storage medium into the execution memory of the computer, configuring the computing to act in accordance with the methods described in this document. All these operations are well-known to those skilled in the art of computer systems.
Each block of the flowchart illustrations and/or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending on the functionality involved. Each block of the flowchart illustration and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by special purpose hardware-based systems that perform the specified functions or actions, or by combinations of special purpose hardware and computer instructions.
Although the subject matter has been described in language specific to structural features, methodological acts or both, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.