# US 9,438,291 B2 · System and methods for improving recovery from an out-of-service state by SIMs of a multi-SIM device based on user activity

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,438,291 B2
- Document ID: US9438291B2
- Status: Granted
- Kind: B2
- Application number: 14/546,047
- Filed: 2014-11-18
- Published: 2016-05-19
- Granted: 2016-09-06
- Earliest claimed: 2014-11-18
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Venkata Srihari Inampudi; Ankammarao Ravuvari; Manikanta Vara Prasad Pitchuka
- Web page: https://patentgrep.com/patent/US9438291B2

## CPC

- H04B 1/3816: Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
- H04W 4/90: Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
- H04W 48/16: Discovering, processing access restriction or access information
- H04W 76/19: Connection re-establishment
- H04B: TRANSMISSION
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Methods and devices for controlling recovery from an out-of-service state on a multi-SIM wireless device that has at least two subscription identification modules (SIMs), and that determines whether a voice call or an active data communication session was dropped upon losing service, and prioritizes service recovery on the modem stack associated with the dropped voice call or active communication session. If neither a voice or data call was dropped upon losing service on both SIMs, the multi-SIM wireless device may calculate a priority value for each of the first and second SIMs, calculate an RF resource allocation percentage for each of the first and second SIMs, and grant use of the RF resource to the modem stacks associated with the first and second SIMs based on the calculated RF resource allocation percentages.

## Claims

### Claim 1

A method of controlling out-of-service recovery on a multi-SIM wireless communication device having at least a first subscriber identification module (SIM) and a second SIM each respectively associated with a modem stack, comprising:
detecting that at least one of the modem stack associated with the first SIM and the modem stack associated with the second SIM is in an out-of-service state;
determining whether the modem stacks associated with the first and second SIMs are both in the out-of-service state; and
in response to determining that the modem stacks associated with the first and second SIMs are both in the out-of-service state:
determining whether a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM upon experiencing a loss of service; and
prioritizing service recovery on the modem stack corresponding to the dropped voice call or active data communication session in response to determining that a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining whether an emergency call is triggered on the modem stack associated with the first or second SIM in response to determining that the modem stacks associated with the first and second SIMs are both in the out-of-service state; and
prioritizing service recovery on the modem stack corresponding to the triggered emergency call in response to determining that an emergency call is triggered on the modem stack associated with either of the first and second SIMs.

### Claim 3 (depends on 1)

The method of claim 1, further comprising in response to determining that a voice call or an active data communication session was not dropped by the modem stack associated with the first or second SIM:
accessing information about past activities on the modem stacks associated with the first SIM and the second SIM; and
calculating a priority value for each of the first and second SIMs based upon information about past activities on the modem stacks associated with the first SIM and the second SIM.

### Claim 4 (depends on 3)

The method of claim 3, wherein calculating a priority value for each of the first and second SIMs based upon information about past activities on the modem stacks associated with the first SIM and the second SIM comprises applying a service recovery priority equation to the information about past activities on the modem stacks associated with the first SIM and the second SIM.

### Claim 5 (depends on 3)

The method of claim 3, wherein accessing information about past activities on the modem stacks associated with the first and second SIMs comprises accessing an activity history database stored on the wireless communication device, wherein the information stored in the activity history database comprises:
a weight assigned to each of a plurality of activities enabled by a connection to a network supported by at least one of the first and the second SIMs; and
for each SIM, a count totaling a number of occurrences of each activity during at least one monitored time period.

### Claim 6 (depends on 5)

The method of claim 5, wherein the plurality of activities comprises a mobile terminating call, a mobile originating call, and a data communication session.

### Claim 7 (depends on 5)

The method of claim 5, wherein the information stored in the activity history database further comprises values for:
an activity interval parameter that provides a duration of the at least one monitored time period; and
a cycle number parameter that identifies a number of past activity intervals to be used in calculating the priority value for each of the first and second SIMs.

### Claim 8 (depends on 7)

The method of claim 7, wherein calculating the priority value for each of the first and second SIMs further comprises for each of the first and second SIMs:
identifying at least one relevant monitored time period based on current time and the values stored for the activity interval parameter the cycle parameter;
calculating a weighted count for each activity corresponding to each of the at least one relevant monitored time period, wherein the weighted count is calculated as a product of the weight assigned to each activity and the count totaling the number of occurrences for each activity; and
computing a sum of the calculated weighted count for each activity corresponding to each of the at least one relevant monitored time period.

### Claim 9 (depends on 3)

The method of claim 3, wherein the modem stacks associated with the first and second SIMs share a single radio frequency (RF) resource, and wherein the method further comprises:
calculating, based on the calculated priority values, an RF resource allocation percentage for each of the first and second SIMs; and
granting use of the RF resource to the modem stacks associated with the first and second SIMs, wherein relative amounts of use granted to each modem stack correspond to the calculated RF resource allocation percentages.

### Claim 10 (depends on 9)

The method of claim 9, wherein calculating the RF resource allocation percentage for one of the first and second SIMs comprises:
calculating a sum of priority values calculated for the first and second SIMs; and
dividing the priority value for the one of the first and second SIMs by the calculated sum and multiplying the resulting fraction by 100.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
identifying the first or second SIM as an in-service SIM in response to determining that the modem stacks associated with the first and second SIMs are not both in the out-of-service state;
determining whether the modem stack associated with the in-service SIM is participating in a current voice or data communication;
accessing information about past activities on the modem stack that is the out-of-service state; and
calculating a priority value for the SIM associated with the modem stack in the out-of-service state.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
restricting service recovery by the modem stack in the out-of-service state in response to determining that the modem stack associated with the in-service SIM is participating in a current voice or data communication.

### Claim 13 (depends on 11)

The method of claim 11, wherein accessing information about past activities on the modem stack in the out-of-service state comprises accessing an activity history database stored on the wireless communication device, wherein the information accessed from the activity history database comprises:
a weight assigned to each of a plurality of activities enabled by a connection to a network supported by the SIM associated with the modem stack in the out-of-service state; and
a count totaling a number of occurrences of each activity during at least one monitored time period on the SIM associated with the modem stack in the out-of-service state.

### Claim 14 (depends on 13)

The method of claim 13, wherein the modem stacks associated with the first and second SIMs share a single radio frequency (RF) resource, and wherein the method further comprises:
identifying a substitute priority value for the in-service SIM;
calculating, based on the calculated priority value and the substitute priority value, an RF resource allocation percentage for the SIM associated with the modem stack in the out-of-service state; and
permitting tune-away of the RF resource from a network supported by the in-service SIM to a network supported by the SIM associated with the modem stack in the out-of-service state, wherein an amount of time for the tune-away corresponds to the calculated RF resource allocation percentage.

### Claim 15

A wireless communication device, comprising:
a radio frequency (RF) resource configured to connect to at least one of a first subscriber identity module (SIM) and a second SIM; and
a processor coupled to the RF resource and configured with processor-executable instructions to:
detect that at least one of a modem stack associated with the first SIM and a modem stack associated with the second SIM is in an out-of-service state;
determine whether the modem stacks associated with the first and second SIMs are both in the out-of-service state; and
in response to determining that the modem stacks associated with the first and second SIMs are both in the out-of-service state:
determine whether a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM upon experiencing a loss of service; and
prioritize service recovery on the modem stack corresponding to the dropped voice call or active data communication session in response to determining that a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM.

### Claim 16 (depends on 15)

The wireless communication device of claim 15, wherein the processor is further configured with processor-executable instructions to:
determine whether an emergency call is triggered on the modem stack associated with the first or second SIM in response to determining that the modem stacks associated with the first and second SIMs are both in the out-of-service state; and
prioritize service recovery on the modem stack corresponding to the triggered emergency call in response to determining that an emergency call is triggered on the modem stack associated with either of the first and second SIMs.

### Claim 17 (depends on 15)

The wireless communication device of claim 15, wherein the processor is further configured with processor-executable instructions to access information about past activities on the modem stacks associated with the first SIM and the second SIM and calculate a priority value for each of the first and second SIMs based upon information in response to determining that a voice call or an active data communication session was not dropped by the modem stack associated with the first or second SIM.

### Claim 18 (depends on 17)

The wireless communication device of claim 17, wherein the processor is further configured with processor-executable instructions to calculate a priority value for each of the first and second SIMs based upon information about past activities on the modem stacks associated with the first SIM and the second SIM by applying a service recovery priority equation to the information about past activities on the modem stacks associated with the first SIM and the second SIM.

### Claim 19 (depends on 17)

The wireless communication device of claim 17, wherein the processor is further configured with processor-executable instructions to access information about past activities on the modem stacks associated with the first and second SIMs by accessing an activity history database stored on the wireless communication device, wherein the information stored in the activity history database comprises:
a weight assigned to each of a plurality of activities enabled by a connection to a network supported by at least one of the first and the second SIMs; and
for each SIM, a count totaling a number of occurrences of each activity during at least one monitored time period.

### Claim 20 (depends on 19)

The wireless communication device of claim 19, wherein the plurality of activities comprises a mobile terminating call, a mobile originating call, and a data communication session.

### Claim 21 (depends on 19)

The wireless communication device of claim 19, wherein the information stored in the activity history database further comprises values for:
an activity interval parameter that provides a duration of the at least one monitored time period; and
a cycle number parameter that identifies a number of past activity intervals to be used in calculating the priority value for each of the first and second SIMs.

### Claim 22 (depends on 21)

The wireless communication device of claim 21, wherein the processor is further configured with processor-executable instructions to calculate the priority value for each of the first and second SIMs by, for each of the first and second SIMs:
identifying at least one relevant monitored time period based on current time and the values stored for the activity interval parameter the cycle parameter;
calculating a weighted count for each activity corresponding to each of the at least one relevant monitored time period, wherein the weighted count is calculated as a product of the weight assigned to each activity and the count totaling the number of occurrences for each activity; and
computing a sum of the calculated weighted count for each activity corresponding to each of the at least one relevant monitored time period.

### Claim 23 (depends on 17)

The wireless communication device of claim 17, wherein the RF resource is configured to connect to the first and second SIMs, and wherein the processor is further configured with processor-executable instructions to:
calculate, based on the calculated priority values, an RF resource allocation percentage for each of the first and second SIMs; and
grant use of the RF resource to the modem stacks associated with the first and second SIMs, wherein relative amounts of use granted to each modem stack correspond to the calculated RF resource allocation percentages.

### Claim 24 (depends on 23)

The wireless communication device of claim 23, wherein the processor is further configured with processor-executable instructions to calculate the RF resource allocation percentage for one of the first and second SIMs by:
calculating a sum of priority values calculated for the first and second SIMs; and
dividing the priority value for the one of the first and second SIMs by the calculated sum and multiplying the resulting fraction by 100.

### Claim 25 (depends on 15)

The wireless communication device of claim 15, wherein the processor is further configured with processor-executable instructions to:
identify the first or second SIM as an in-service SIM in response to determining that the modem stacks associated with the first and second SIMs are not both in the out-of-service state;
determine whether the modem stack associated with the in-service SIM is participating in a current voice or data communication;
access information about past activities on the modem stack that is the out-of-service state; and
calculate a priority value for the SIM associated with the modem stack in the out-of-service state.

### Claim 26 (depends on 25)

The wireless communication device of claim 25, wherein the processor is further configured with processor-executable instructions to restrict service recovery by the modem stack in the out-of-service state in response to determining that the modem stack associated with the in-service SIM is participating in a current voice or data communication.

### Claim 27 (depends on 25)

The wireless communication device of claim 25, wherein the processor is further configured with processor-executable instructions to access information about past activities on the modem stack in the out-of-service state by accessing an activity history database stored on the wireless communication device, wherein the information accessed from the activity history database comprises:
a weight assigned to each of a plurality of activities enabled by a connection to a network supported by the SIM associated with the modem stack in the out-of-service state; and
a count totaling a number of occurrences of each activity during at least one monitored time period on the SIM associated with the modem stack in the out-of-service state.

### Claim 28 (depends on 27)

The wireless communication device of claim 27, wherein the RF resource is configured to connect to the first and second SIMs, and wherein the processor is further configured with processor-executable instructions to:
identify a substitute priority value for the in-service SIM;
calculate, based on the calculated priority value and the substitute priority value, an RF resource allocation percentage for the SIM associated with the modem stack in the out-of-service state; and
permit tune-away of the RF resource from a network supported by the in-service SIM to a network supported by the SIM associated with the modem stack in the out-of-service state, wherein an amount of time for the tune-away corresponds to the calculated RF resource allocation percentage.

### Claim 29

A wireless communication device, comprising:
a radio frequency (RF) resource configured to connect to at least one of a first subscriber identity module (SIM) and a second SIM;
means for detecting that at least one of a modem stack associated with the first SIM and a modem stack associated with the second SIM is in an out-of-service state;
means for determining whether the modem stacks associated with the first and second SIMs are both in the out-of-service state; and
means for determining whether a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM upon experiencing a loss of service in response to determining that the modem stacks associated with the first and second SIMs are both in the out-of-service state; and
means for prioritizing service recovery on the modem stack corresponding to the dropped voice call or active data communication session in response to determining that a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM.

### Claim 30

A non-transitory processor-readable storage medium having stored thereon processor-executable instructions configured to cause a processor of a wireless communication device having a radio frequency (RF) resource associated with at least one of a first subscriber identity modules (SIM) and a second SIM to perform operations comprising:
detecting that at least one of a modem stack associated with the first SIM and a modem stack associated with the second SIM is in an out-of-service state;
determining whether the modem stacks associated with the first and second SIMs are both in the out-of-service state; and
in response to determining that the modem stacks associated with the first and second SIMs are both in the out-of-service state:
determining whether a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM upon experiencing a loss of service; and
prioritizing service recovery on the modem stack corresponding to the dropped voice call or active data communication session in response to determining that a voice call or an active data communication session was dropped by the modem stack associated with the first or second SIM.
