System and method for providing a watchdog timer to enable collection of crash data

US9921902B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9921902-B2
Application numberUS-201615056222-A
CountryUS
Kind codeB2
Filing dateFeb 29, 2016
Priority dateDec 9, 2013
Publication dateMar 20, 2018
Grant dateMar 20, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A system and method for providing a watchdog timer to enable collection of crash data is provided. Upon execution of certain operations, a source thread of an application initiates a watchdog thread that periodically sample state of data relating to the application. Should the operation not complete within a watchdog timeout period, the watchdog thread invokes a crash function to collect additional state data. At least a portion of the state data is stored for later analysis and debugging.

First claim

Opening claim text (preview).

What is claimed is: 1. A system comprising: a memory storing an application and a crash data structure; a computer processor executing the application having a source thread and a watchdog thread, wherein the source thread initiates a predefined operation having an operating system timeout period, and wherein the watchdog thread enables the computer processor to: determine, prior to completion of the predefined operation and prior to expiration of the operating system timeout period, that a predefined watchdog timeout period is expired, wherein the watchdog timeout period is less than the operation system timeout period; invoke a crash function to collect state information relating to the application in response to determining that the predefined watchdog timeout period is expired; and store the state information in a crash data structure. 2. The system of claim 1 wherein the predefined operation comprises initializing the application. 3. The system of claim 1 wherein the predefined operation comprises moving the application to a background status. 4. The system of claim 1 wherein the predefined operation comprises moving the application to a foreground status. 5. The system of claim 1 wherein the crash function is configured to store a set of crash data including information relating to a state of the application. 6. The system of claim 1 wherein the source thread is further configured to transmit a message to the watchdog thread signifying completion of the predefined operation. 7. The system of claim 6 wherein the message comprises a semaphore. 8. The system of claim 1 wherein the state information is transferred to analytic processing server to compute the watchdog timeout period. 9. A method comprising: initiating a source thread and a watchdog thread of an application; initiating a predefined operation of the application by the source thread, the predefined operation having an operating system timeout period; determining, by the watchdog thread executing on a computer processor, that a predefined watchdog timeout period is expired prior to expiration of the operating system timeout period, wherein the predefined watchdog timeout period is less than the operation system timeout period; invoking, by the watchdog thread executing on the computer processor, a crash function to collect state information relating to the application in response to the predefined operation not completing within the predefined watchdog timeout period; and storing the state information in a crash data structure. 10. The method of claim 9 wherein the predefined operation comprises initializing the application. 11. The method of claim 9 wherein the predefined operation comprises moving the application to a background status. 12. The method of claim 9 wherein the predefined operation comprises moving the application to a foreground status. 13. The method of claim 9 wherein the crash function stores a set of crash data including information relating to a state of the application. 14. The method of claim 9 wherein the source thread is further configured to transmit a message to the watchdog thread signifying completion of the predefined operation. 15. The method of claim 14 wherein the message comprises a semaphore. 16. The method of claim 9 wherein the state information is transferred to analytic processing server to compute the watchdog timeout period. 17. A system comprising: a computer processor; a source thread of an application configured to initiate a predefined operation having an operating system timeout period; a watchdog thread of the application and configured to execute on the computer processor to enable the computer processor to: periodically sample state information relating to the application; store at least a portion of the sampled state information; and an operating system configured to execute on the computer processor to enable the computer processor to terminate the application upon expiration of the operating system timeout period. 18. The system of claim 17 wherein the stored state information is used to calculate a watchdog timeout period. 19. The system of claim 17 wherein the stored state information is transmitted to an analytic processing server. 20. The system of claim 17 wherein the predefined operation comprises initializing the application.

Assignees

Inventors

Classifications

  • Saving, restoring, recovering or retrying · CPC title

  • the processing taking place on a specific hardware platform or in a specific software environment · CPC title

  • by exceeding a time limit, i.e. time-out, e.g. watchdogs · CPC title

  • at system level · CPC title

  • Dumping, i.e. gathering error/state information after a fault for later diagnosis · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9921902B2 cover?
A system and method for providing a watchdog timer to enable collection of crash data is provided. Upon execution of certain operations, a source thread of an application initiates a watchdog thread that periodically sample state of data relating to the application. Should the operation not complete within a watchdog timeout period, the watchdog thread invokes a crash function to collect additi…
Who is the assignee on this patent?
Google Inc, Google Llc
What technology area does this patent fall under?
Primary CPC classification G06F11/0778. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 20 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).