Automatic repairs of scripts

US9430356B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9430356-B2
Application numberUS-201313934278-A
CountryUS
Kind codeB2
Filing dateJul 3, 2013
Priority dateJul 31, 2012
Publication dateAug 30, 2016
Grant dateAug 30, 2016

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 method and associated system for repairing a script. A missed object is detected among one or more objects of the running script, the missed object being unrecognized from an original object of a previous running of the script. A change type of the detected missed object is determined. The script is repaired based on the change type.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for repairing a script, comprising: running a script, said running the script performed by a processor of a computer system; said processor detecting a missed object among one or more objects of the running script, said missed object being unrecognized from an original object of a previous running of the script; said processor determining a change type of the detected missed object; and said processor repairing the script based on the change type, wherein said determining the change type of the missed object comprises: determining whether a height of a new hierarchical structure including the missed object has changed as compared with a height of an original hierarchical structure including the original object, said original hierarchical structure and the new hierarchical structure being hierarchical structures formed by the one or more objects of the running script together with the missed object before and after said detecting respectively; if it is determined that the height of the new hierarchical structure has changed then marking the change type of the missed object as a hierarchy change; if it is determined that the height of the new hierarchical structure has not changed then determining whether a value of an object at a lowest hierarchy in the new hierarchical structure has changed; if it is determined that the height of the new hierarchical structure has not changed and that the value of the object at the lowest hierarchy in the new hierarchical structure has changed, then determining whether a class of the object at the lowest hierarchy in the new hierarchical structure has changed and if so then marking the change type of the missed object as a class change and if not then marking the change type of the missed object as a recognition property change; if it is determined that the height of the new hierarchical structure has not changed and that the value of the object at the lowest hierarchy in the new hierarchical structure has not changed, then determining whether at least one object upwards along the new hierarchical structure starting from a parent object at the lowest hierarchy has changed and if so then marking the change type of the missed object as said hierarchy change and if not then marking the change type of the missed object as no change. 2. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as no change, and wherein said repairing the script based on the change type comprises: in response to said marking the change type of the missed object as no change, fetching a plurality of objects with a same class and recognition property as the missed object, from a plurality of child objects of a parent object of the missed object; and causing the plurality of objects with the same class and recognition property to perform a same action, determining as the missed object an object obtaining a result that is the same as a result to be obtained from the missed object performing the same action, and continuing said running the script. 3. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the recognition property change, and wherein said repairing the script based on the change type comprises: in response to said marking the change type of the missed object as the recognition property change, fetching one or more child objects of a parent object of the missed object; and in response to determining that among the one or more child objects there is only one unique object with a same class and a different recognition property as the missed object and determining that other objects have not changed, determining the unique object as the missed object and continuing said running the script. 4. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the recognition property change, and wherein said repairing the script based on the change type comprises: in response to said marking the change type of the missed object as the recognition property change, fetching one or more child objects of a parent object of the missed object; in response to determining that among the one or more child objects there are a plurality of objects with a same class and different recognition properties as the missed object, specifying, in turn, as a new recognition property each of one or more properties of each object of the plurality of objects with the same class and different recognition properties as the missed object until at least one object is recognized according to the new recognition property; if an object is uniquely recognized, then determining the uniquely recognized object as the missed object and continuing said running the script; and if a plurality of objects is recognized, then causing the objects of the recognized plurality of objects to perform a same action, determining as the missed object an object obtaining a result that is the same as a result that would be obtained from the missed object performing the same action, and continuing said running the script. 5. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the class change, and wherein said repairing the script based on the change type comprises: in response to determining that the change type of the object is the class change, fetching one or more child objects of a parent object of the missed object; and in response to determining that among the one or more child objects there is only one unique object with the same class as the missed object and the same class is operable and determining that other objects have not changed, determining the unique object as the missed object and continuing said running the script. 6. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the class change, and wherein said repairing the script based on the change type comprises: in response to determining that the change type of the object is the class change, fetching one or more child objects of a parent object of the missed object; in response to that among the one or more child objects there are a plurality of objects with different classes from the missed object and the plurality of objects are all operable, specifying, in turn, as a new recognition property each of one or more properties of each of the plurality of objects until one or more objects are recognized; if an object is uniquely recognized, then determining the uniquely recognized object as the missed object and continuing said running the script; and if a plurality of objects is recognized, then causing the objects of the recognized plurality of objects to perform a same action, determining as the missed object an object obtaining a result that is the same as a result that would be obtained from the missed object performing the same action, and continuing said running the script. 7. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the hierarchy change, and wherein said repairing the script based on the change type comprises: in response to determining that the change type of the missed object is the hierarchy change, fetching one or more child objects of a parent object of the missed object; looking up in the one or more child objects in an attempt to find an object with a same class as the missed object; in response to determining that the lookup fails to find the object with the same class as the missed object, traversing one or more child objects of each level of a parent object upwards along the original hierarchical structure until the object with the same class is found or the traversing fails; if it is de

Assignees

Inventors

Classifications

  • by runtime analysis (performance monitoring G06F11/3466) · 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 US9430356B2 cover?
A method and associated system for repairing a script. A missed object is detected among one or more objects of the running script, the missed object being unrecognized from an original object of a previous running of the script. A change type of the detected missed object is determined. The script is repaired based on the change type.
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3612. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 30 2016 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).