IP Library Patent Application 12179684
Patent Application
App. No. 12/179,684

ERROR RECOVERY AND DIAGNOSIS FOR PUSHDOWN AUTOMATA

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 None
App. No.
12/179,684
Abstract

Error recovery and diagnosis is afforded for pushdown automata. Upon detection of an error, a recovery strategy is selected and dispatched to recover from the error to place an automaton in an error free state to enable continued processing. In one instance, recovery strategies can be specified and matched with respect to automaton configuration. Errors can be diagnosed as a function of the difference between a first error configuration and a second recovered configuration.

Claims (26)

1 . An error recovery system for pushdown automata, comprising:

a detection component that identifies an error during execution of a push down automaton; and

a recovery component external to the automaton that dispatches a strategy to recover from the error as a function of a current configuration.

2 . The system of claim 1 , the strategy includes a configuration that matches the current configuration and produces an error-free recovery configuration.

3 . The system of claim 2 , the strategy is specified in an arbitrarily rich pattern matching language.

4 . The system of claim 2 , further comprising a diagnosis component external to the automaton that generates an error message as a function of a difference between current and recovery configurations to aid error location and resolution.

5 . The system of claim 2 , further comprising a selection component that chooses a strategy for dispatch from amongst a plurality of matching strategies.

6 . The system of claim 5 , further comprising a component that executes one or more candidate strategies and evaluates their performance.

7 . The system of claim 6 , further comprising a component that ranks the candidate strategies as a function of performance and/or configuration, wherein rank information is derived from an internal or external source.

8 . The system of claim 5 , further comprising a component that infers the strategy as a function of historical data and/or user input.

9 . The system of claim 1 , further comprising a component that registers a plug-in strategy for dispatch by the recovery component.

10 . The system of claim 1 , the automaton is a computer program parser.

11 . The system of claim 1 , the error corresponds to a program exception and recovery refers to exception handling.

12 . A method of error recovery and diagnosis, comprising:

dispatching a recovery strategy based on a first configuration associated with an error that produces a second configuration that recovers from the error; and

diagnosing the error as a function of a difference between the first and second configurations.

13 . The method of claim 12 , further comprising selecting the recovery strategy from a plurality of strategies.

14 . The method of claim 13 , further comprising executing one or more of the recovery strategies to facilitate selection of a most appropriate strategy.

15 . The method of claim 13 , further comprising learning programmer habits to aid selection of an applicable strategy.

16 . The method of claim 12 , further comprising registering provided recovery strategies, for use in error recovery, and/or error diagnosis functionality.

17 . The method of claim 12 , further comprising sending an error message on the diagnosed cause of the error to aid a user in fixing the error.

18 . A parser error-recovery system, comprising:

means for recovering from a parsing error by dispatching a recovery strategy based on a parser configuration including stack state and input buffer; and

means for generating a diagnosis as a function of the difference between the parser configuration upon error detection and recovery.

19 . The system of claim 18 , further comprising a means for registering recovery strategies with the system for employment in recovering from errors.

20 . The system of claim 18 , further comprising a means for selecting the dispatched recovery strategy from a plurality of recovery strategies.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 15, 2015
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 034766/0509 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 25, 2008
From: MEIJER, HENRICUS JOHANNES MARIA; DYER, JOHN WESLEY; MESCHTER, THOMAS; NAJMABADI, CYRUS
To: MICROSOFT CORPORATION
Reel/Frame 021292/0254 →