IP Library Granted Patent US 11,113,147
Granted Patent B2
US 11,113,147 · App. 17/060,462 · Granted Sep 7, 2021

System and method for detection of, prevention of, and recovery from software execution failure

Inventors: Todd Kulick (Mountain View, CA); Igor Pichkov (Mountain View, CA)
Assignee: Rovi Guides, Inc.
G06F11/1417G06F8/65G06F11/366
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,113,147
App. No.
17/060,462
Granted
Sep 7, 2021
Kind
B2
Abstract

Systems and methods are disclosed herein for monitoring, detecting, and mitigating hardware and software failures. An error detection module monitors the execution of software processes and detects failures of the monitored processes. The error detection module may monitor reboot events and correlate reboot events with failures of the monitored software processes. If a monitored process fails, the error detection module may log the failure and its cause. If the same process has failed numerous times, causing the user device to experience a reboot loop, remedial action may be taken based on the cause of the failure.

Claims (58)

1. A method for handling software execution failures on a user device, the method comprising:

monitoring execution of a software process on the user device;

detecting a reboot of the user device;

determining whether the reboot was caused by a prerequisite process not having been completed; and

in response to determining that the cause of the reboot is a prerequisite process not having been completed, slowing a speed at which the software process is executed to allow the prerequisite process to complete prior to execution of the software process.

2. The method of claim 1 , further comprising:

incrementing a counter; and

determining whether the value of the counter exceeds a failure threshold;

wherein slowing the speed at which the software process is executed occurs further in response to determining that the value of the counter exceeds the failure threshold.

3. The method of claim 2 , wherein the counter is a reboot counter.

4. The method of claim 2 , wherein the counter is one of a plurality of counters, each counter being associated with a respective cause of a reboot, and wherein incrementing the counter further comprises identifying a respective counter of the plurality of counters associated with the prerequisite process.

5. The method of claim 1 , further comprising:

detecting, within a threshold period of time after the reboot, a second reboot of the user device;

determining whether the second reboot was also caused by the prerequisite process not having been completed.

6. The method of claim 5 , further comprising:

executing a limited boot process; and

transmitting, to a server, a request for a software update.

7. The method of claim 1 , wherein the software process comprises a plurality of steps, and wherein slowing the speed at which the software process is executed comprises pausing execution of the software process for a period of time after each step.

8. The method of claim 1 , wherein the software process comprises a plurality of steps, the method further comprising:

identifying a step of the plurality of steps at which the reboot occurred; and

monitoring execution of the prerequisite process;

wherein slowing the speed at which the software process is executed comprises preventing execution of the identified step until the prerequisite process has been completed.

9. The method of claim 1 , wherein the software process stores status information related to the execution and failure of the software process in a data structure.

10. The method of claim 9 , wherein determining the cause of the reboot further comprises:

determining a time at which the reboot occurred;

accessing the data structure;

determining status information having a timestamp at or near the determined time at which the reboot occurred;

and determining, based on the status information, the cause of the reboot.

11. A system for handling software execution failures on a user device, the system comprising:

memory; and

control circuitry configured to:

monitor execution of a software process on the user device;

detect a reboot of the user device;

determine whether the reboot was caused by a prerequisite process not having been completed; and

in response to determining that the cause of the reboot is a prerequisite process not having been completed, slow a speed at which the software process is executed to allow the prerequisite process to complete prior to execution of the software process.

12. The system of claim 11 , wherein the control circuitry is further configured to:

increment a counter; and

determine whether the value of the counter exceeds a failure threshold;

slow the speed at which the software process in response to determining that the value of the counter exceeds the failure threshold.

13. The system of claim 12 , wherein the counter is a reboot counter.

14. The system of claim 12 , wherein the counter is one of a plurality of counters, each counter being associated with a respective cause of a reboot, and wherein the control circuitry configured to increment the counter is further configured to identify a respective counter of the plurality of counters associated with the prerequisite process.

15. The system of claim 11 , wherein the control circuitry is further configured to:

detect, within a threshold period of time after the reboot, a second reboot of the user device;

determine whether the second reboot was also caused by the prerequisite process not having been completed.

16. The system of claim 15 , wherein the control circuitry is further configured to:

execute a limited boot process; and

transmit, to a server, a request for a software update.

17. The system of claim 15 , wherein the software process comprises a plurality of steps, and wherein the control circuitry configured to slow the speed at which the software process is executed is further configured to pause execution of the software process for a period of time after each step.

18. The system of claim 15 , wherein the software process comprises a plurality of steps, and wherein the control circuitry is further configured to:

identify a step of the plurality of steps at which the reboot occurred;

monitor execution of the prerequisite process; and

slow the speed at which the software process is executed by preventing execution of the identified step until the prerequisite process has been completed.

19. The system of claim 15 , wherein the software process stores, in the memory, status information related to the execution and failure of the software process in a data structure.

20. The system of claim 19 , wherein the control circuitry configured to determine the cause of the reboot is further configured to:

determine a time at which the reboot occurred;

access, from the memory, the data structure;

determine status information having a timestamp at or near the determined time at which the reboot occurred;

and determine, based on the status information, the cause of the reboot.

Assignments (3)
CHANGE OF NAME Recorded Oct 3, 2024
From: ROVI GUIDES, INC.
To: ADEIA GUIDES INC.
Reel/Frame 069106/0164 →
SECURITY INTEREST Recorded May 3, 2023
From: ADEIA GUIDES INC.; ADEIA IMAGING LLC; ADEIA MEDIA HOLDINGS LLC; ADEIA MEDIA SOLUTIONS INC.; ADEIA SEMICONDUCTOR ADVANCED TECHNOLOGIES INC.; ADEIA SEMICONDUCTOR BONDING TECHNOLOGIES INC.; ADEIA SEMICONDUCTOR INC.; ADEIA SEMICONDUCTOR SOLUTIONS LLC; ADEIA SEMICONDUCTOR TECHNOLOGIES LLC; ADEIA SOLUTIONS LLC
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 063529/0272 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 1, 2020
From: KULICK, TODD; PICHKOV, IGOR
To: ROVI GUIDES, INC.
Reel/Frame 053947/0970 →
Continuity (3)
Continuation 16019234 · Jun 26, 2018
Provisional Application 62663762 · Apr 27, 2018
Related Publication 20210117273A1 · Apr 22, 2021
Cited By (1)
US 12,430,191