System and methods for optimal error detection in programmatic environments

US10509694B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10509694-B2
Application numberUS-201715632118-A
CountryUS
Kind codeB2
Filing dateJun 23, 2017
Priority dateJun 23, 2017
Publication dateDec 17, 2019
Grant dateDec 17, 2019

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.

System and methods are provided for optimal error detection in programmatic environments through the utilization of at least one user-defined condition. Illustratively, the conditions can include one or more triggers initiating the collection of log data for methods associated with the provided at least one condition. Operatively, the disclosed systems and methods observe the run-time of the programmatic environment and initiate the collection of log data based on the occurrence of a condition trigger. A rank score can also be calculated to rank the methods associated with the defined condition to isolate those methods that have higher probability of causing the defined condition. Dynamic instrumentation of the methods associated with the user defined conditions during run time are used to calculate the rank score, which is used for ranking the methods.

First claim

Opening claim text (preview).

What is claimed is: 1. A system for error detection in a programmatic environment, comprising: at least one processor; and at least one memory in communication with the at least one processor, the at least one memory having computer-readable instructions stored thereupon that, when executed by the at least one processor, cause the at least one processor to: receive data representative of at least one error condition for the programmatic environment; determine one or more methods utilized by the programmatic environment specific to the received at least one error condition; receive data representative of one or more triggers for the at least one error condition, the triggers comprising data representative of one or more parameters associated with the one or more methods, the parameters operative to comprise one or more error logging characteristics for the one or more methods; monitor the programmatic environment for occurrence of the at least one error condition; generate error log data comprising data representative of one or more observed errors associated with the one or more methods upon the occurrence of the one or more triggers of the at least one error condition, the error log data identifying the one or more methods. 2. The system of claim 1 , wherein the computer-readable instructions further cause the at least one processor to execute the one or more methods to generate error log data representative of the execution of the one or more methods during run-time execution. 3. The system of claim 2 , wherein the computer-readable instructions further cause the at least one processor to calculate a rank score for the one or more methods, the rank score comprising data representative of one or more runtime characteristics of the programmatic environment. 4. The system of claim 3 , wherein the rank score indicates a probability of the one or more methods as being the root cause of the at least one error condition. 5. The system of claim 3 , wherein the computer-readable instructions further cause the at least one processor to execute the one or more methods using the one or more parameters, wherein the one or more parameters comprise at least one instruction to generate the error log data for the one or more methods being executed. 6. The system of claim 5 , wherein the computer-readable instructions further cause the at least one processor to generate the error log data for the executed one or more methods having a rank score, the generated error log data having data representative of execution results of the executed one or more methods. 7. A computer-implemented method, comprising: receiving data representative of at least one error condition for a programmatic environment; monitoring the programmatic environment for occurrence of the at least one error condition; determining one or more methods utilized by the programmatic environment specific to the at least one error condition; receiving data comprising one or more triggers for the at least one error condition, the triggers comprising data representative of one or more parameters associated with the one or more methods, the parameters operative to comprise one or more error logging characteristics for the one or more methods; and generating error log data comprising data representative of any errors associated with the one or more methods upon the occurrence of the one or more triggers of the at least one error condition, the error log data identifying the one or more methods. 8. The computer-implemented method of claim 7 , further comprising: collecting data representative of execution of the one or more methods; selecting one or more method execution parameters associated with the collected data; and executing the one or more methods according to the selected one or more method execution parameters. 9. The computer-implemented method of claim 8 , further comprising calculating a rank score for the one or more methods, the rank score calculated based on the collected data representative of the execution of the one or more methods. 10. The computer-implemented method of claim 9 , wherein the rank score indicates a probability of the one or more methods as being the root cause of the at least one error condition. 11. The computer-implemented method of claim 9 , further comprising generating the error log data for selected ones of the one or more methods based on the rank score. 12. The computer-implemented method of claim 7 , further comprising determining a type of error for which to generate the error log data from the at least one error condition. 13. The computer-implemented method of claim 12 , further comprising constructing a run-time call chain of the programmatic environment for exception type errors, the constructed run-time call chain comprising data representative of the associations of one or more calls between the one or more methods. 14. The computer-implemented method of claim 13 , further comprising analyzing the one or more calls of the run-time call chain to identify when an exception type error occurs. 15. A computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by one or more processors of a programmatic environment, cause one or more processors of the programmatic environment to: receive data representative of at least one error condition for the programmatic environment; determine one or more methods utilized by the programmatic environment specific to the received at least one error condition; receive data representative of one or more triggers for the at least one error condition, the triggers comprising data representative of one or more parameters associated with the one or more methods, the parameters operative to comprise one or more error logging characteristics for the one or more methods; monitor the programmatic environment for occurrence of the at least one error condition; generate error log data comprising data representative of one or more observed errors associated with the one or more methods upon the occurrence of the one or more triggers of the at least one error condition, the error log data identifying the one or more methods. 16. The computer-readable storage medium of claim 15 , wherein the instructions further cause the one or more processors of the programmatic environment to: collect data representative of the execution of the one or more methods; select one or more method execution parameters associated with the collected data; and execute the one or more methods according to the selected one or more method execution parameters. 17. The computer-readable storage medium of claim 16 , wherein the executed instructions further cause the one or more processors of the programmatic environment to: calculate a rank score for the one or more methods, the rank score being calculated based on the collected data representative of the execution of the one or more methods, wherein the rank score indicates a probability of the one or more methods as being the root cause of the at least one error condition; and generate the error log data for the selected one of the one or more methods based on the calculated rank score. 18. The computer-readable storage medium of claim 15 , wherein the instructions further cause the one or more processors of the programmatic environment to communicate the error log data to one or more cooperating computing environments. 19. The computer-readable storage medium of claim 15 , wherein the instructions further cause the one or more pro

Assignees

Inventors

Classifications

  • Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36) · CPC title

  • in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems · CPC title

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

  • Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06) · 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 US10509694B2 cover?
System and methods are provided for optimal error detection in programmatic environments through the utilization of at least one user-defined condition. Illustratively, the conditions can include one or more triggers initiating the collection of log data for methods associated with the provided at least one condition. Operatively, the disclosed systems and methods observe the run-time of the pr…
Who is the assignee on this patent?
Microsoft Technology Licensing 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 Dec 17 2019 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).