# US 2017/0289339 A1 · Validating stateful dynamic links in mobile applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0289339 A1
- Document ID: US20170289339A1
- Status: Published application
- Kind: A1
- Application number: 15/088,028
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Oriana Riva; Suman Kumar Nath; Md Tanzirul Azim; Douglas C. Burger
- Web page: https://patentgrep.com/patent/US20170289339A1

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/025: for remote control or remote monitoring of applications
- H04L 67/04: specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04M 1/72445: for supporting Internet browser applications
- H04W 12/02: Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Techniques are described for validating stateful app links. Validation can be performed when stateful app links are created, activated, shared, or at other times. Validation can be performed to determine whether a stateful app link has a dependency on a resource external to the mobile application. Validation can also be performed to detect other issues, such as security issues, privacy issues, or other issues.

## Claims

### Claim 1

A computing device comprising:
a processing unit; and
memory;
the computing device configured, via computer-executable instructions, to perform operations for validating stateful app links for mobile applications, the operations comprising:
maintaining a log of events triggered by a mobile application, the events associated with selected event handlers of the mobile application;
receiving a request to dynamically generate a stateful app link to a current page of the mobile application, wherein the stateful app link represents a saved application state of the mobile application; and
responsive to determining that the log contains an event associated with the current page that has a dependency on a resource external to the mobile application, outputting an indication of the dependency.

### Claim 2 (depends on 1)

The computing device of claim 1 the operations further comprising:
determining whether any of the events from the log that are associated with the current page are dependent on one or more of file system resources, database resources, sensor resources, or external resources accessed via a network.

### Claim 3 (depends on 1)

The computing device of claim 1 wherein outputting the indication of the dependency comprises outputting an alert indicating that the saved application state of the mobile application may not be fully recovered when the link is activated later.

### Claim 4 (depends on 1)

The computing device of claim 1 wherein outputting the indication of the dependency comprises saving the indication of the dependency in association with the stateful app link.

### Claim 5 (depends on 1)

The computing device of claim 1 wherein the stateful app link is generated for a default view of the current page.

### Claim 6 (depends on 1)

The computing device of claim 1 wherein the stateful app link is generated for a current view, other than a default view, of the current page.

### Claim 7 (depends on 1)

The computing device of claim 1 wherein the resource is a file system resource, a database resource, or an external resource accessed via a network.

### Claim 8 (depends on 1)

The computing device of claim 1 wherein the resource is a sensor resource.

### Claim 9 (depends on 1)

The computing device of claim 1 wherein the selected event handlers of the mobile application are those event handlers of the mobile application that access file system resources, database resources, sensor resources, or an external resource accessed via a network.

### Claim 10 (depends on 9)

The computing device of claim 9 wherein the selected event handlers are determined using static and dynamic analysis of the mobile application.

### Claim 11 (depends on 1)

The computing device of claim 1 the operations further comprising:
receiving a request to share the stateful app link; and
denying the request to share the stateful app link due to the dependency on the resource external to the mobile application.

### Claim 12

A method, implemented by a computing device, for validating stateful app links for mobile applications, the method comprising:
maintaining a log of events triggered by a mobile application, the events associated with selected event handlers of the mobile application, and data communicated between different runtime states of the mobile application;
receiving a request to dynamically generate a stateful app link to a current view of a current page of the mobile application, wherein the stateful app link represents a saved application state of the mobile application;
determining whether any of the events from the log that are associated with the current page are dependent on external resources, wherein the external resources are one or more of file system resources, database resources, sensor resources, or external resources accessed via a network; and
when the log contains events dependent on external resources, outputting an indication of the dependency.

### Claim 13 (depends on 12)

The method of claim 12 wherein outputting the indication of the dependency comprises presenting an alert to the user indicating that the saved application state of the mobile application may not be fully recovered when the link is activated later.

### Claim 14 (depends on 12)

The method of claim 12 wherein the current view is not a default view of the current page.

### Claim 15 (depends on 12)

The method of claim 12 wherein the selected event handlers of the mobile application are those event handlers of the mobile application that access file system resources, database resources, sensor resources, or external resources accessed via a network.

### Claim 16

A computer-readable storage medium storing computer-executable instructions for execution on a computing device to perform operations for validating stateful app links for mobile applications, the operations comprising:
receiving a request to dynamically generate a stateful app link to a current view of a current page of the mobile application, wherein the stateful app link represents a saved application state of the mobile application;
in response to the request, creating the stateful app link to the current view of the current page;
performing validation on the stateful app link in response to a request to share the stateful app link; and
upon successful validation, sharing the stateful app link.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, wherein performing the validation comprises determining whether the stateful app link will change security or privacy settings of the mobile application or computing device.

### Claim 18 (depends on 16)

The computer-readable storage medium of claim 16 wherein performing the validation comprises determining whether the stateful app link contains private information and whether sharing is permitted.

### Claim 19 (depends on 16)

The computer-readable storage medium of claim 16 wherein performing the validation comprises determining whether a mobile application version associated with the stateful app link is compatible with a target version of the mobile application.

### Claim 20 (depends on 16)

The computer-readable storage medium of claim 16 the operations further comprising:
upon unsuccessful validation, denying the request to share the stateful app link.
