Extraction and restoration of option selections in a user interface
Abstract
A first interface having a control object that is associated with a first option and a second option is launched. The control object is engaged at a first time to select the first option. A first set of differences between a first current state of the interface and a preconfigured state of the first interface is determined. The control object is engaged at a second time to select the second option. A second set of differences between a second current state of the interface and the preconfigured state of the first interface is determined. Integration code that, upon execution by a client device, causes the client device to modify a second user interface is generated based on the first set of differences or the second set of differences. The integration code is provided to the client device to cause the client device to modify the second user interface.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A computer-implemented method, comprising:
obtaining a preconfigured state of a first interface having a preconfigured interface element, the first interface provided by an entity; launching the first interface in an un-preconfigured state, the first interface including a first configurable interface element corresponding to the preconfigured interface element, the first configurable interface element associated with a first option and a second option; producing a first configured interface by simulating human interaction with the first configurable interface element to cause the first option of the first configurable interface element to be selected; determining a first set of differences between a current state of the first configured interface and the first preconfigured state; producing a second configured interface by simulating the human interaction with the first configurable interface element to cause the second option of the first configurable interface element to be selected; determining a second set of differences between a current state of the second configured interface and the first preconfigured state; determining which of the first set of differences or the second set of differences indicates a closest match to the preconfigured state; generating integration code based on the closest match; storing the integration code in association with the entity; providing, in response to a first request from a client device for an application, the application to the client device; obtaining, as a result of execution of the application, a request from a client device for the integration code associated with the entity; and causing, by providing the integration code to the client device, the client device to modify a second interface to cause a second configurable element in the second interface to be selected, the second interface associated with the entity.
2 . The computer-implemented method of claim 1 , wherein the first interface is a webpage.
3 . The computer-implemented method of claim 1 , wherein simulating the human interaction includes emulating a click event or a touch event directed to the first configurable interface element.
4 . The computer-implemented method of claim 1 , wherein the request indicates a selection from a collection of stored configurations associated with a plurality of entities that includes the entity.
5 . A system, comprising:
one or more processors; and memory including executable instructions that, if executed by the one or more processors, cause the system to:
launch a first interface having a control object that is associated with a first option and a second option;
engage, at a first time, the control object to select the first option;
determine a first set of differences between a first current state of the interface and a preconfigured state of the first interface;
engage, at a second time, the control object to select the second option;
determine a second set of differences between a second current state of the interface and the preconfigured state of the first interface;
generate, based on the first set of differences or the second set of differences, integration code that, upon execution by a client device, causes the client device to modify a second user interface; and
provide the integration code to the client device to cause the client device to modify the second user interface.
6 . The system of claim 5 , wherein the first user interface and the second user interface are different user interfaces provided by a same entity.
7 . The system of claim 5 , wherein the executable instructions further include instructions that cause the system to:
obtain an indication of a change to information in the second user interface; and provide the client device with a notification of the change to the information.
8 . The system of claim 5 , wherein the integration code is JavaScript code.
9 . The system of claim 5 , wherein the executable instructions that cause the system to generate the integration code further include instructions that further cause the system to:
determine that the first set of differences indicates that the first current state deviates least from the preconfigured state; and generate the integration code based on the first set of differences.
10 . The system of claim 9 , wherein the executable instructions further include instructions that cause the system to:
determine a third set of differences that deviates least from an additional preconfigured state, the additional preconfigured state corresponding to a third interface having a different control object associated with different options from the first option and the second option; determine a set of commonalities between the first set of differences and the third set of differences; and generate the integration code based on the set of commonalities.
11 . The system of claim 5 , wherein the integration code that causes the client device to modify the second user interface includes code that causes the client device to detect at least one control object in the second interface.
12 . The system of claim 11 , wherein the integration code that causes the client device to modify the second user interface includes code that causes the client device to select at least one option of the at least one control object in the second interface.
13 . A non-transitory computer-readable storage medium having stored thereon executable instructions that, if executed by one or more processors of a computer system, cause the computer system to at least:
execute a set of modified source code of a first user interface to launch the first user interface in an un-configured state, the modified source code being source code of the first user interface modified to include executable code that, as a result of being executed, causes the computer system to obtain a selection state of a configurable control object of the first user interface, the first user interface provided by an entity, the configurable control object being associated with a plurality of options; determine sets of differences by, for each option of the plurality of options, causing the computer system to:
engage the configurable control object to cause the option to be selected;
obtain, at least in part as a result of execution of the executable code, a configured state of the first user interface; and
determine a set of differences between the configured state and the preconfigured state;
determine, based on the sets of differences, a closest match to the preconfigured state; generate, based on the closest match, integration code usable by a client device to cause the client device to modify a second user interface provided by the entity; obtain a request from a client device for the integration code; and cause, by providing the integration code to the client device, the client device to modify the second user interface.
14 . The non-transitory computer-readable storage medium of claim 13 , wherein the source code is in Hypertext Markup Language.
15 . The non-transitory computer-readable storage medium of claim 13 , wherein the executable instructions further include instructions that cause the computer system to:
obtain the set of source code of a first user interface that includes the configurable control object; produce the set of modified source code by insertion, into the source code, of the executable code; execute the modified source code to launch the first user interface in an un-configured state; receive input causing selection of one of the plurality of options of the configurable control object; and obtain, at least in part as a result of execution of the executable code, the preconfigured state of the first user interface based on the modified source code and the selection state.
16 . The non-transitory computer-readable storage medium of claim 13 , wherein:
the executable instructions further include executable instructions that cause further the computer system to:
obtain a request from the client device for the particular application; and
provide the particular application to the client device; and
the request from the client device for the integration code is obtained as a result of execution of the particular application by the client device.
17 . The non-transitory computer-readable storage medium of claim 13 , wherein the integration code that causes the client device to modify the second user interface includes code that further causes the client device to modify a different configurable control object in the second user interface from the configurable control object in the first user interface.
18 . The non-transitory computer-readable storage medium of claim 13 , wherein the configurable control is a drop-down list or a radio button group.
19 . The non-transitory computer-readable storage medium of claim 13 , wherein a difference in the set of differences between the configured state and the preconfigured state includes a change to a class attribute value of the configurable control object.
20 . The non-transitory computer-readable storage medium of claim 13 , wherein the executable instructions that cause the computer system to determine the closest match further include instructions that cause the computer system to determine which of the sets of differences indicates the fewest difference between a respective configured state and the preconfigured state.Join the waitlist — get patent alerts
Track US2022050560A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.