# US 2019/0294687 A1 · Smart versioning for files

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

- Number: US 2019/0294687 A1
- Document ID: US20190294687A1
- Status: Published application
- Kind: A1
- Application number: 15/978,787
- Filed: 2018-05-14
- Published: 2019-09-26
- Earliest claimed: 2018-03-23
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Stephen Lincoln RICE; Jonathan Alexander BOCKELMAN; Marcelo Albuquerque MAS; Joseph Arthur METZGER
- Web page: https://patentgrep.com/patent/US20190294687A1

## CPC

- G06F 16/1873: {Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files}
- G06F 16/11: File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/1727: {Details of free space management performed by the file system (saving storage space on storage systems G06F3/0608; management of blocks in storage devices G06F3/064)}
- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 40/197: Version control (for software G06F8/71)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system enabling smart versioning of files is provided. Techniques disclosed herein enable a system to snap to new versions of a file based on one or more measures of user interactions with the file. For instance, a system can create a new version number for a file based on an amount of time a user has spent editing the file, a number of saves that have occurred, and/or a quantity of data applied to edits of the file. The techniques disclosed herein can also utilize telemetry data to fine tune weightings that are applied to data measuring specific types user activity to provide results that best serve a range of use scenarios and file types. By providing version numbers of a file that are based on user interactions, a system can provide more meaningful version numbers that are aligned with the contents of a file.

## Claims

### Claim 1

A method comprising:
receiving metadata defining user activity associated with a file, the metadata defining at least one of a quantity of data applied to edits of the file, a number of saves applied to the file, or an amount of time applied to edits of the file;
determining, for one or more iterations of the file, that at least one of the quantity of data applied to the edits of the file, the number of saves applied to the file, or the amount of time applied to edits of the file reaches one or more thresholds;
in response to determining, for the one or more iterations of the file, that at least one of the quantity of data applied to the edits of the file, the number of saves applied to the file, or the amount of time applied to edits of the file reaches the one or more thresholds, determining a version number for the one or more iterations of the file; and
associating the version number with the one or more iterations of the file.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
selecting a first subset of iterations of the one or more iterations of the file for a first storage policy, wherein the first subset includes a most recently saved iteration associated with the version number; and
selecting a second subset of iterations of the one or more iterations of the file for a second storage policy, wherein the second subset of iterations is marked for deletion the purposes of freeing storage space on one or more storage devices.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
selecting a first subset of iterations of the one or more iterations of the file, wherein the first subset includes a most recently saved iteration associated with the version number;
selecting a second subset of iterations of the one or more iterations of the file; and
displaying a list of iterations that includes the first subset of iterations, wherein the second subset of iterations is displayed as graphical objects or text that is visually obscured or omitted from the list of iterations.

### Claim 4 (depends on 1)

The method of claim 1, further comprising applying weights to at least one of the quantity of data, the number of saves, or the amount of time for the purposes of emphasizing or deemphasizing a type of user activity.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more thresholds are based on a type of file.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating a number of scores based on the quantity of data, the number of saves, and the amount of time;
generating an accumulative score from the number of scores, wherein determining that at least one of the quantity of data, the number of saves, or the amount of time reaches the one or more thresholds comprises determining that the accumulative score reaches the one or more thresholds, and wherein the version number is determined in response to determining that the accumulative score reaches the one or more thresholds.

### Claim 7 (depends on 6)

The method of claim 6, further comprising applying weights to at least one of the scores of the number of scores for the purposes of emphasizing or deemphasizing a type of user activity.

### Claim 8

A system comprising:
one or more processing units; and
a computer-readable medium having encoded thereon computer-executable instructions to cause the one or more processing units to execute a method comprising
receiving metadata defining user activity associated with a file, the metadata defining at least one of a quantity of data applied to edits of the file, a number of saves applied to the file, or an amount of time applied to edits of the file;
determining, for one or more iterations of the file, that at least one of the quantity of data applied to the edits of the file, the number of saves applied to the file, or the amount of time applied to edits of the file exceeds one or more thresholds;
in response to determining that at least one of the quantity of data applied to the edits of the file, the number of saves applied to the file, or the amount of time applied to edits of the file exceeds the one or more thresholds, determining a version number for the one or more iterations of the file;
associating the version number with the one or more iterations of the file;
selecting a first subset of iterations of the one or more iterations of the file, wherein the first subset includes a most recently saved iteration; and
selecting a second subset of iterations of the one or more iterations of the file for short-term storage, wherein the second subset of iterations is marked for deletion the purposes of freeing storage space on one or more storage devices.

### Claim 9 (depends on 8)

The system of claim 8, wherein the method further comprises displaying a list of iterations that includes the first subset of iterations, wherein the second subset of iterations is displayed as visually obscured graphical elements, or the second subset of iterations is filtered from the list of iterations.

### Claim 10 (depends on 8)

The system of claim 8, wherein the method further comprises applying weights to at least one of the quantity of data, the number of saves, or the amount of time for the purposes of emphasizing or deemphasizing a type of user activity.

### Claim 11 (depends on 8)

The system of claim 8, wherein the one or more thresholds are based on a type of file.

### Claim 12 (depends on 8)

The system of claim 8, wherein the method further comprises:
generating a number of scores based on the quantity of data, the number of saves, and the amount of time;
generating an accumulative score from the number of scores, wherein determining that at least one of the quantity of data, the number of saves, or the amount of time reaches the one or more thresholds comprises determining that the accumulative score reaches the one or more thresholds, and wherein the version number is determined in response to determining that the accumulative score reaches the one or more thresholds.

### Claim 13 (depends on 8)

The system of claim 8, wherein the method further comprises applying weights to at least one of the scores of the number of scores for the purposes of emphasizing or deemphasizing a type of user activity.

### Claim 14

A computer-readable medium having encoded thereon computer-executable instructions to cause one or more processing units of a computing device to execute a method comprising
receiving metadata defining at least one measure of user activity associated with a file;
determining, for one or more iterations of the file, that the at least one measure of user activity reaches one or more thresholds;
in response to determining, for the one or more iterations of the file, that the at least one measure of user activity reaches the one or more thresholds, determining a version number for the one or more iterations of the file; and
associating the version number with the one or more iterations of the file.

### Claim 15 (depends on 14)

The computer-readable medium of claim 14, wherein the method further comprises:
selecting a first subset of iterations of the one or more iterations of the file for a first storage policy, wherein the first subset includes a most recently saved iteration associated with the version number; and
selecting a second subset of iterations of the one or more iterations of the file for a second storage policy, wherein the second subset of iterations is marked for deletion the purposes of freeing storage space on one or more storage devices.

### Claim 16 (depends on 14)

The computer-readable medium of claim 14, wherein the method further comprises:
selecting a first subset of iterations of the one or more iterations of the file, wherein the first subset includes a most recently saved iteration associated with the version number;
selecting a second subset of iterations of the one or more iterations of the file; and
displaying a list of iterations that includes the first subset of iterations, wherein the second subset of iterations is visually obscured or filtered from the list of iterations.

### Claim 17 (depends on 14)

The computer-readable medium of claim 14, wherein the method further comprises applying weights to the at least one measure of user activity for the purposes of emphasizing or deemphasizing a type of user activity.

### Claim 18 (depends on 14)

The computer-readable medium of claim 14, wherein the one or more thresholds are based on a type of the file.

### Claim 19 (depends on 14)

The computer-readable medium of claim 14, wherein the method further comprises:
generating a number of scores based on two or more measures of user activity;
generating an accumulative score from the number of scores, wherein determining that the at least one measure of user activity reaches the one or more thresholds comprises determining that the accumulative score reaches the one or more thresholds, and wherein the version number is determined in response to determining that the accumulative score reaches the one or more thresholds.

### Claim 20 (depends on 19)

The computer-readable medium of claim 19, wherein the method further comprises applying weights to at least one of the scores of the number of scores for the purposes of emphasizing or deemphasizing a type of user activity.
