Patent ID: 11966364
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. A method of unstructured data management, the method comprising:
identifying a file in an unstructured data storage, wherein the file has an associated file path;
retrieving an index of datapath patterns from a metadata store, wherein an element of the index corresponds to a portion of a file path and the index is built by receiving a plurality of datapath patterns into the metadata store, identifying a pruning key to each datapath pattern of a plurality of datapath patterns, wherein the pruning key is a static portion of each datapath pattern, removing the pruning key from each datapath pattern of the plurality of datapath patterns, and in response to removing the pruning key, adding each datapath pattern to the index;
determining the plurality of datapath patterns from the index using the file path and one or more elements of the index;
resolving, from the plurality of datapath patterns, a selected datapath pattern, the resolving comprising, using an index of datapath patterns:
comparing each datapath pattern of the plurality of datapath patterns with the file path; and
determining the selected datapath pattern by matching one or more portions of the file path with one or more portions of each of the plurality of datapath patterns;

generating a set of metadata including a retention policy and the datapath pattern for the file; and
storing, in the metadata store, the set of metadata.