IP Library › Granted Patent US 11,748,305
Granted Patent B2
US 11,748,305 · App. 17/334,430 · Granted Sep 5, 2023

Suggesting a destination folder for a file to be saved

Inventors: Sunhwan Lee (Menlo Park, CA); Shun Jiang (San Jose, CA); Robert J. Moore (San Jose, CA); Guangjie Ren (Belmont, CA); Raphael I. Arar (San Jose, CA)
Assignee: International Business Machines Corporation
G06F16/156G06F16/148G06F16/16G06F40/205G06F40/284
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,748,305
App. No.
17/334,430
Granted
Sep 5, 2023
Kind
B2
Abstract

A computer-implemented method according to one embodiment includes determining a starting folder within a file system, computing, for each child folder of the starting folder, a similarity metric indicating a level of similarity to a file, selecting two child folders of the starting folder having greatest similarity metrics, comparing a difference between the greatest similarity metrics of the two child folders to a predetermined threshold, and conditionally selecting the starting folder as a recommended folder to which the file is saved, based on the comparing.

Claims (63)

1. A computer-implemented method, comprising:

determining a starting folder within a file system;

computing, for each child folder of the starting folder, a similarity metric indicating a level of similarity to a file;

selecting two child folders of the starting folder having greatest similarity metrics;

comparing a difference between the greatest similarity metrics of the two child folders to a predetermined threshold; and

conditionally selecting the starting folder as a recommended folder to which the file is saved, based on the comparing.

2. The computer-implemented method of claim 1 , comprising selecting one of the two child folders having the greatest similarity metric in response to determining that the difference between the greatest similarity metrics of the two child folders is greater than the predetermined threshold.

3. The computer-implemented method of claim 1 , wherein the starting folder is determined based on contextual information, the contextual information including:

a location associated with a saving of a file,

a time associated with the saving of the file,

an application used associated with the saving of the file,

a device associated with the saving of the file,

a network associated with the saving of the file, and

a user associated with the saving of the file.

4. The computer-implemented method of claim 1 , wherein the starting folder includes a top-most folder within a file system.

5. The computer-implemented method of claim 1 , comprising selecting the starting folder as a recommended folder to which the file is saved in response to determining that the difference between the greatest similarity metrics of the two child folders is less than the predetermined threshold; and outputting a path to the starting folder as a recommended path to save the file in response to selection of the starting folder as the recommended folder to which the file is saved.

6. The computer-implemented method of claim 1 , further comprising, in response to determining that the starting folder has only a single child folder, selecting the single child folder as an updated starting folder.

7. The computer-implemented method of claim 1 , wherein the similarity metric is computed by comparing a language model created for a file to a language model created for each child folder of the starting folder.

8. The computer-implemented method of claim 1 , wherein each child folder of the starting folder includes a language model stored as metadata for the child folder.

9. The computer-implemented method of claim 1 , wherein for each child folder of the starting folder, the similarity metric includes a numerical value indicating a level of similarity between the child folder and a file.

10. The computer-implemented method of claim 1 , wherein selecting the two child folders of the starting folder having the greatest similarity metrics includes:

comparing a value for the similarity metric for each of the child folders of the starting folder, and

identifying two child folders of the starting folder having a similarity metric greater than similarity metrics of the remaining child folders,

wherein a larger similarity metric indicates a greater level of similarity to the file.

11. The computer-implemented method of claim 1 , further comprising creating a language model for each child folder of the starting folder, including for each child folder:

identifying as tokens all words within files within the child folder, all words within any additional child folders of the child folder, and all terms within metadata associated with the child folder and any additional child folders of the child folder, and

aggregating all of the tokens to create a language model for the child folder,

where the language model includes a count for each of the tokens that is representative of a number of instances of the token within the child folder and any additional child folders of the child folder;

wherein the similarity metric is computed by comparing the language model created for the file to the language model for each child folder.

12. A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising instructions configured to cause one or more processors to perform a method comprising:

determining a starting folder within a file system, utilizing the one or more processors;

computing, for each child folder of the starting folder, a similarity metric indicating a level of similarity to a file, utilizing the one or more processors;

selecting two child folders of the starting folder having greatest similarity metrics, utilizing the one or more processors;

comparing a difference between the greatest similarity metrics of the two child folders to a predetermined threshold, utilizing the one or more processors;

conditionally selecting, utilizing the one or more processors, the starting folder as a recommended folder to which the file is saved, based on the comparing; and

outputting a path to the starting folder as a recommended path to save the file in response to selection of the starting folder as the recommended folder to which the file is saved.

13. The computer program product of claim 12 , wherein the method includes selecting one of the two child folders having the greatest similarity metric in response to determining that the difference between the greatest similarity metrics of the two child folders is greater than the predetermined threshold.

14. The computer program product of claim 12 , wherein the starting folder is determined based on contextual information, the contextual information selected from a group consisting of:

a location associated with a saving of a file,

a time associated with the saving of the file,

an application used associated with the saving of the file,

a device associated with the saving of the file,

a network associated with the saving of the file, and

a user associated with the saving of the file.

15. The computer program product of claim 12 , wherein the starting folder includes a top-most folder within a file system.

16. The computer program product of claim 12 , comprising selecting the starting folder as a recommended folder to which the file is saved in response to determining that the difference between the greatest similarity metrics of the two child folders is less than the predetermined threshold.

17. The computer program product of claim 12 , further comprising, in response to determining that the starting folder has only a single child folder, selecting the single child folder as an updated starting folder.

18. The computer program product of claim 12 , wherein the similarity metric is computed by comparing a language model created for a file to a language model created for each child folder of the starting folder.

19. The computer program product of claim 12 , wherein each child folder of the starting folder includes a language model stored as metadata for the child folder.

20. A system, comprising:

a processor; and

logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:

determine a starting folder within a file system;

compute, for each child folder of the starting folder, a similarity metric indicating a level of similarity to a file, the child folders being folders located within the starting folder within the file system and/or folders having the starting folder as a parent within a folder hierarchy of the file system;

select two child folders of the starting folder having greatest similarity metrics, including:

comparing a value for the similarity metric for each of the child folders of the starting folder, and

identifying two child folders of the starting folder having a similarity metric greater than similarity metrics of the remaining child folders,

wherein a larger similarity metric indicates a greater level of similarity to the file;

compare a difference between the greatest similarity metrics of the two child folders to a predetermined threshold; and

select one of the two child folders having the greatest similarity metric as a new starting folder in response to determining that the difference between the greatest similarity metrics of the two child folders is greater than the predetermined threshold;

repeat the computing, selecting and comparing the difference for two child folders of the new starting folder;

select the new starting folder as a recommended folder to which the file is saved in response to determining that the difference between the greatest similarity metrics of the two child folders of the new starting folder is less than the predetermined threshold; and

output a path to the new starting folder as a recommended path to save the file in response to selection of the new starting folder as the recommended folder to which the file is saved.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2021
From: LEE, SUNHWAN; JIANG, SHUN; MOORE, ROBERT J.; REN, GUANGJIE; ARAR, RAPHAEL I.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 056457/0444 →
Continuity (2)
Continuation 16206556 · Nov 30, 2018
Related Publication 20210286763A1 · Sep 16, 2021
Cited By (1)
US 12,657,165