IP Library Patent Application 14586108
Patent Application
App. No. 14/586,108

ANDROID SYSTEM-BASED FOLDER MANAGEMENT AND DISPLAY METHOD AND MOBILE TERMINAL

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 None
App. No.
14/586,108
Abstract

The present application discloses an ANDROID system-based folder management and display method and mobile terminal. The folder management method includes: acquiring a selected instruction that is generated after a to-be-processed folder is selected from a folder displayed on a display interface; generating, according to the selected instruction, a display attribute file for hiding the to-be-processed folder; and storing the display attribute file in the to-be-processed folder, so as to hide the to-be-processed folder, which stores the display attribute file, from the display interface when the to-be-processed folder is read and recorded and it is further determined that the to-be-processed folder stores a corresponding display attribute file. The present application can effectively solve a technical problem, in the prior art, that it is hard to simply, rapidly and effectively hide a folder.

Claims (61)

1 . An ANDROID system-based folder management method, wherein the folder management method comprises:

acquiring a selected instruction that is generated after a to-be-processed folder is selected from a folder displayed on a display interface;

generating, according to the selected instruction, a display attribute file for hiding the to-be-processed folder; and

storing the display attribute file in the to-be-processed folder, so as to hide the to-be-processed folder, which stores the display attribute file, from the display interface when the to-be-processed folder is read and recorded and it is further determined that the to-be-processed folder stores a corresponding display attribute file.

2 . The folder management method according to claim 1 , wherein:

the step of acquiring a selected instruction that is generated after a to-be-processed folder is selected from a folder displayed on a display interface specifically comprises:

acquiring a selected instruction that is generated after a to-be-processed album is selected from an album displayed on a gallery interface, wherein the album is used to store a picture, audio and/or a video;

the step of generating, according to the selected instruction, a display attribute file for hiding the to-be-processed folder specifically comprises:

generating, according to the selected instruction, a display attribute file for hiding the to-be-processed album; and

the step of storing the display attribute file in the to-be-processed folder specifically comprises:

storing the display attribute file in the to-be-processed album, so as to hide the to-be-processed album, which stores the display attribute file, from the gallery interface when the to-be-processed album is read and recorded and it is further determined that the to-be-processed album stores a corresponding display attribute file.

3 . The folder management method according to claim 1 wherein the step of storing the display attribute file in the to-be-processed folder specifically comprises:

after the display attribute file is generated, acquiring a storage path corresponding to the to-be-processed folder;

forming a write path of the display attribute file according to the storage path, and naming the display attribute file according to a predetermined naming rule; and

writing the display attribute file which has been named into the to-be-processed folder according to the write path.

4 . The folder management method according to claim 3 , wherein the step of naming the display attribute file according to a predetermined naming rule specifically comprises:

naming the display attribute file a “.hidden” file, wherein a size of the display attribute file is 0 bytes.

5 . The folder management method according to claim 2 , wherein the folder management method further comprises:

acquiring a selection instruction that is generated after a to-be-displayed album is selected from an album displayed on the gallery interface;

searching for, based on a storage path of the to-be-displayed album and according to the selection instruction, a display attribute file for hiding the to-be-displayed album; and

when the corresponding display attribute file is found by searching, deleting the corresponding display attribute file from the to-be-displayed album, so as to display, when the to-be-displayed album with the display attribute file deleted is read and recorded and it is further determined that the to-be-displayed album is displayed on the gallery interface, the to-be-displayed album with the display attribute file deleted, wherein

the album displayed on the gallery interface comprise an album configured with no display attribute file in a corresponding storage path, and an album configured with a display attribute file in a corresponding storage path but displayed because “display all albums” set by a user is acquired.

6 . An ANDROID system-based mobile terminal, wherein the mobile terminal comprises a folder management apparatus, and the folder management apparatus comprises:

an acquiring module, configured to acquire a selected instruction that is generated after a to-be-processed folder is selected from a folder displayed on a display interface;

a file generating module, configured to generate, according to the selected instruction acquired by the acquiring module, a display attribute file for hiding the to-be-processed folder; and

a storage module, configured to store, in the to-be-processed folder, the display attribute file generated by the file generating module, so as to hide the to-be-processed folder, which stores the display attribute file, from the display interface when a folder display apparatus reads and records the to-be-processed folder and further determines that the to-be-processed folder stores a corresponding display attribute file.

7 . The mobile terminal according to claim 6 , wherein:

the acquiring module is specifically configured to acquire a selected instruction that is generated after a to-be-processed album is selected from an album displayed on a gallery interface, wherein the gallery interface comprises an ANDROID native gallery interface, and the album is used to store a picture, audio and/or a video;

the file generating module is specifically configured to generate, according to the selected instruction acquired by the acquiring module, a display attribute file for hiding the to-be-processed album; and

the storage module is specifically configured to store, in the to-be-processed album, the display attribute file generated by the file generating module, so as to hide the to-be-processed album, which stores the display attribute file, from the display interface when the folder display apparatus reads and records the to-be-processed album and further determines that the to-be-processed album stores a corresponding display attribute file.

8 . The mobile terminal according to claim 6 , wherein the storage module specifically comprises:

a path acquiring unit, configured to: after the file generating module generates the display attribute file, acquire a storage path corresponding to the to-be-processed folder; and

a processing unit, configured to form a write path of the display attribute file according to the storage path acquired by the path acquiring unit, name the display attribute file according to a predetermined naming rule, and write the display attribute file which has been named into the to-be-processed folder according to the write path.

9 . The mobile terminal according to claim 8 , wherein the processing unit specifically names the display attribute file a “.hidden” file, and a size of the display attribute file is 0 bytes.

10 . The mobile terminal according to claim 7 , wherein the acquiring module is further specifically configured to acquire a selection instruction that is generated after a to-be-displayed album is selected from an album displayed on the gallery interface, and the folder management apparatus further comprises:

a searching module, configured to search for, based on a storage path of the to-be-displayed album and according to the selection instruction acquired by the acquiring module, a display attribute file for hiding the to-be-displayed album; and

a deleting module, configured to: when the searching module finds the corresponding display attribute file by searching, delete the corresponding display attribute file from the to-be-displayed album, so as to display, when the to-be-displayed album with the display attribute file deleted is read and recorded and it is further determined that the to-be-displayed album is displayed on the gallery interface, the to-be-displayed album with the display attribute file deleted, wherein

the album displayed on the gallery interface comprise an album configured with no display attribute file in a corresponding storage path, and an album configured with a display attribute file in a corresponding storage path but displayed because “display all albums” set by a user is acquired.

11 . An ANDROID system-based folder display method, wherein the folder display method comprises:

determining, when a to-be-processed folder is read and recorded, whether the to-be-processed folder stores a corresponding display attribute file; and

hiding the to-be-processed folder from a display interface when it is determined that the to-be-processed folder stores a corresponding display attribute file.

12 . The folder display method according to claim 11 , wherein:

the step of determining, when a to-be-processed folder is read and recorded, whether the to-be-processed folder stores a corresponding display attribute file specifically comprises:

when a to-be-processed album is read and recorded, determining whether the to-be-processed album stores a corresponding display attribute file, wherein the album is used to store a picture, audio and/or a video; and

the step of hiding the to-be-processed folder from a display interface when it is determined that the to-be-processed folder stores a corresponding display attribute file specifically comprises:

when it is determined that the to-be-processed album stores a corresponding display attribute file, hiding the to-be-processed album from a gallery interface.

13 . The folder display method according to claim 11 , wherein the display attribute file is named “.hidden”, and the step of hiding the to-be-processed folder from a display interface when it is determined that the to-be-processed folder stores a corresponding display attribute file further comprises:

when it is determined that the to-be-processed folder stores a corresponding display attribute file, further determining whether “display all folders” is set;

when it is determined that the to-be-processed folder stores a corresponding display attribute file and “display all folders” is not set, hiding, from the display interface, the to-be-processed folder storing the corresponding display attribute file; when it is determined that the to-be-processed folder stores a corresponding display attribute file but “display all folders” is set, displaying, on the display interface, the to-be-processed folder storing the corresponding display attribute file; and when it is determined that the to-be-processed folder does not store a corresponding display attribute file, displaying, on the display interface, the to-be-processed folder not storing the corresponding display attribute file.

14 . The folder display method according to claim 13 , wherein the step of, when it is determined that the to-be-processed folder stores a corresponding display attribute file but “display all folders” is set, displaying, on the display interface, the to-be-processed folder storing the corresponding display attribute file specifically comprises:

when it is determined that the to-be-processed folder stores a corresponding display attribute file but “display all folders” is set, displaying, on the display interface in a predetermined manner, the to-be-processed folder storing the corresponding display attribute file, so that the to-be-processed folder is distinguished from a to-be-processed folder that is displayed on the display interface and does not store a corresponding display attribute file.

15 . An ANDROID system-based mobile terminal, wherein the mobile terminal comprises a folder display apparatus, and the folder display apparatus comprises:

an attribute determining module, configured to: when a to-be-processed folder is read and recorded, determine whether the to-be-processed folder stores a corresponding display attribute file; and

a display processing module, configured to: when the attribute determining module determines that the to-be-processed folder stores a corresponding display attribute file, hide the to-be-processed folder from a display interface.

16 . The mobile terminal according to claim 15 , wherein:

the attribute determining module is specifically configured to: when a to-be-processed album is read and recorded, determine whether the to-be-processed album stores a corresponding display attribute file; and

the display processing module is specifically configured to: when the attribute determining module determines that the to-be-processed album stores a corresponding display attribute file, hide the to-be-processed album from an ANDROID-based native gallery interface, wherein the album is used to store a picture, audio and/or a video.

17 . The mobile terminal according to claim 15 , wherein the display attribute file is named “.hidden”, and the display processing module specifically comprises:

a setting determining unit, configured to: when the attribute determining module determines that the to-be-processed folder stores a corresponding display attribute file, further determine whether “display all folders” is set; and

a display processing unit, configured to: when the attribute determining module determines that the to-be-processed folder stores a corresponding display attribute file and the setting determining unit determines that “display all folders” is not set, hide, from the display interface, the to-be-processed folder storing the corresponding display attribute file; when the attribute determining module determines that the to-be-processed folder stores a corresponding display attribute file but the setting determining unit determines that “display all folders” is set, display, on the display interface, the to-be-processed folder storing the corresponding display attribute file; and when the attribute determining module determines that the to-be-processed folder does not store a corresponding display attribute file, display, on the display interface, the to-be-processed folder not storing the corresponding display attribute file.

18 . The mobile terminal according to claim 17 , wherein the display processing module further comprises: a distinguishing unit, configured to: when the attribute determining module determines that the to-be-processed folder stores a corresponding display attribute file but the setting determining unit determines that “display all folders” is set, display, on the display interface in a predetermined manner, the to-be-processed folder storing the corresponding display attribute file, so that the to-be-processed folder is distinguished from a to-be-processed folder that is displayed on the display interface and does not store a corresponding display attribute file.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 31, 2014
From: SUN, YUANLEI
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 034606/0280 →