Patent ID: 11928346
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A computer program product for optimizing storage of media files on a device, the computer program product comprising:
one or more non-transitory computer readable storage media and program instructions stored on the one or more non-transitory computer readable storage media, the program instructions comprising:
program instructions to identify a media file stored on or being stored to local device storage associated with a user;
program instructions to extract metadata from the media file;
program instructions to search storage locations associated with the user for a matching media file based on the metadata;
program instructions to determine if the matching media file was located; and
responsive to the matching media file being located, program instructions to execute actions comprising:
program instructions to predict, using artificial intelligence (AI), if the local device storage should be optimized for the media file based on the matching media file; and

responsive to predicting the local device storage should be optimized, program instructions to execute actions comprising:
program instructions to create a link package comprising a link to the matching media file;
program instructions to store the link package file on the local device storage; and
program instructions to remove the media file from the local device storage: and

responsive to the matching media file not being located, program instructions to execute actions comprising:
program instructions to search alternative storage locations associated with the user;
program instructions to determine if an alternative storage location was located;
responsive to the alternative storage location being located, program instructions to predict, using AI, if the local device storage should be optimized for the media file based on the alternative storage location; and
responsive to predicting the local device storage should be optimized, program instructions to execute actions comprising:
program instructions to store the media file on the alternative storage location:
program instructions to create a link package comprising a link to the media file on the alternative storage location;
program instructions to store the link package on the local device storage; and
program instructions to remove the media file from the local device storage.