Method for analyzing the storage capacity of a portable storage device
First Claim
1. A method for analyzing the storage capacity of a portable storage device, that the method utilizes a controller to scan a file allocation table to analyze the capacity of a storage medium, the steps comprising:
- dividing a file allocation table of the storage medium into several allocation information sections;
setting an updating signal to represent the allocation information section that has been changed, when the data is written into the storage medium to make the allocation information section change;
scanning the file allocation table via the controller according to the allocation information section set by the updating signal, and reading the allocation information of the allocation information section; and
not scanning the file allocation table via the controller according to the allocation information section that is not set by the updating signal, and accumulating directly the formerly stored allocation information of the allocation information section.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for analyzing the storage capacity of a portable storage device is disclosed. The volume allocation information is divided into multiple sections. The method directly accumulates pre-stored results of the sections that do not need to be updated and reads the sections of the storage medium that need to be updated to obtain the allocation information. A method for analyzing the storage capacity of a portable storage device starts a delay period to count time. During the delay period, the updating process is not executed. After the delay period is reached, the volume allocation information that has been changed during the delay period is updated in an accumulated manner. A method for analyzing the storage capacity of a portable storage device restricts the number of the scanned allocation information sections to enhance the efficiency of the normal accessing process.
-
Citations
29 Claims
-
1. A method for analyzing the storage capacity of a portable storage device, that the method utilizes a controller to scan a file allocation table to analyze the capacity of a storage medium, the steps comprising:
-
dividing a file allocation table of the storage medium into several allocation information sections;
setting an updating signal to represent the allocation information section that has been changed, when the data is written into the storage medium to make the allocation information section change;
scanning the file allocation table via the controller according to the allocation information section set by the updating signal, and reading the allocation information of the allocation information section; and
not scanning the file allocation table via the controller according to the allocation information section that is not set by the updating signal, and accumulating directly the formerly stored allocation information of the allocation information section. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for analyzing the storage capacity of a portable storage device, the steps comprising:
-
providing a limit for number of scanned allocation information sections;
loading the start address of the scanning record corresponding to the allocation information section;
checking whether the allocation information section needs to be updated;
scanning the allocation information section, if the allocation information section needs to be updated;
updating the scanning record of the allocation information section after the allocation information section is scanned;
determining whether the limit of scanned allocation information sections is reached after the scanning record of the allocation information section is updated;
interrupting the process and returning to the standby status if the limit of scanned allocation information sections is reached;
accumulating directly the allocation information of the allocation information section if the allocation information section does not need to be updated or if the limit of scanned allocation information sections is not reached; and
checking whether the whole allocation information sections have been accumulated. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 22)
-
-
17. A method for analyzing the storage capacity of a portable storage device, the steps comprising:
-
determining whether the writing instruction from a host application system to the portable storage device affects a file allocation table of a storage medium in the portable storage device;
analyzing the file allocation table that corresponds to the written data, and setting a mark signal;
triggering a counting time to count the delay period;
updating the scanned file allocation table that needs to be updated during the delay period, when the delay period is reached; and
scanning the file allocation table to update the record of the storage capacity of portable storage device. - View Dependent Claims (18, 19, 20, 21)
-
-
23. A method for analyzing the storage capacity of a portable storage device, the steps comprising:
-
setting a volume information record area in a storage medium;
loading the volume information into a controller from the volume information record area, when the portable storage device is turned on;
scanning the allocation information area via the controller and updating the volume information when the data is written into an allocation information area to change the allocation information; and
storing the updated volume information in the volume information record area after the controller scanning the allocation information area and updates the volume information. - View Dependent Claims (24, 25, 26, 27, 28, 29)
-
Specification