KR20090024575A - Apparatus and method for file management of a portable electric device - Google Patents
Apparatus and method for file management of a portable electric device Download PDFInfo
- Publication number
- KR20090024575A KR20090024575A KR1020070089659A KR20070089659A KR20090024575A KR 20090024575 A KR20090024575 A KR 20090024575A KR 1020070089659 A KR1020070089659 A KR 1020070089659A KR 20070089659 A KR20070089659 A KR 20070089659A KR 20090024575 A KR20090024575 A KR 20090024575A
- Authority
- KR
- South Korea
- Prior art keywords
- file
- portable electronic
- compressed
- electronic device
- reproduction
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a portable electronic device, and more particularly, to a file management apparatus and method of the portable electronic device. According to the present invention, a storage unit (10) for storing the reproduction record of the original file, a determination unit (20) for determining whether to compress the file according to the reproduction record of the original file, and compression according to the command of the determination unit (20) Including a compressed file generation unit 30 for generating a file, and a restore file generation unit 40 for decompressing the compressed file generated by the compressed file generation unit 30 in accordance with a user input to generate a restore file It is composed. According to the present invention, the files stored in the portable electronic device are classified according to the reproduction record, and the compressed files with low reproduction frequency are compressed to store the available space of the storage memory, and the memory of the limited capacity can be more efficiently. By utilizing it has the advantage of preventing overload of portable electronic devices.
Description
The present invention relates to a portable electronic device, and more particularly, to a file management apparatus and method of the portable electronic device.
With the recent development of technology, the spread of portable electronic devices has been spreading, and multimedia contents for playing using the portable electronic devices have been diversified. In addition, the portable electronic device has a tendency to be smaller in size and lighter in weight in order to make it convenient to carry.
Conventional portable electronic devices have a method of downloading and storing a corresponding file through a computer or the like for playing multimedia contents such as music and movies, and outputting music or video by playing the file when a user desires. Accordingly, after playing the music, movie file, and the like stored in the memory of the portable electronic device, the file is deleted, and a new file is downloaded and stored.
However, the prior art as described above has the following problems.
That is, when a user does not directly find a file that is not played among the files stored in the memory and does not delete it, it takes a long time to search for a file to be played among the stored files, and the management efficiency of the storage memory is inferior. .
Accordingly, the present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to classify a file stored in a portable electronic device according to a reproduction record, and to efficiently compress a storage memory by compressing and storing a file having a low reproduction frequency. It is to provide a file management device and a method of a portable electronic device that can be managed by.
According to a feature of the present invention for achieving the above object, the present invention provides a storage unit for storing the reproduction record of the original file, a determination unit for determining whether to compress the file according to the reproduction record of the original file, and And a decompression file generation unit for generating a compressed file according to a command of the determination unit, and a decompression file generation unit for decompressing the compressed file generated by the compressed file generation unit according to a user input to generate a decompression file.
At this time, the determination unit may determine to compress the original file having no playback record within the set period.
The determination unit may determine whether the file is compressed according to the reproduction frequency by calculating a frequency at which the original file is reproduced within a set period.
In addition, the determination unit may calculate the ratio of the reproduction frequency of the original file to the reproduction frequency of the entire file to determine whether to compress the file according to the ratio.
The file management apparatus of the portable electronic device may further include a capacity recognition unit for recognizing the remaining capacity of the storage memory, and the determination unit may designate a setting value for the period according to the remaining capacity of the storage memory.
The set value may be set to be proportional to the remaining capacity of the storage memory.
In this case, the compressed file generation unit may store the compressed file generated according to the command of the determination unit in a nonvolatile memory and delete the original file.
The compressed file generation unit may classify and store the compressed file according to a file format of the original file.
The restore file generator may store the generated restore file in a nonvolatile memory and store the compressed file in a volatile memory.
In this case, the determination unit may determine whether the file is compressed every time the power of the portable electronic device is terminated.
The determination unit may determine whether the file is compressed every time the file is played by the portable electronic device.
In the present invention, (a) storing the reproduction record of the original file, (b) determining whether to compress the file according to the reproduction record of the original file, and (c) the compressed file according to the file compression determination Generating a restored file by decompressing according to a user input for playing the original file.
In this case, step (b) may be performed by determining to compress the original file having no playback record within the set period.
Step (b) may be performed by calculating the frequency at which the original file is reproduced within a set period and determining whether the file is compressed according to the reproduction frequency.
In addition, the step (b) may be performed by calculating the ratio of the reproduction frequency of the original file to the reproduction frequency of the entire file to determine whether to compress the file according to the ratio.
In this case, step (b) may include (b1) recognizing the remaining capacity of the storage memory, and (b2) extracting and compressing an original file having no playback record within a set period.
The step (b2) may be performed by designating a setting value for the period according to the remaining capacity of the storage memory.
The set value may be set longer as the remaining capacity of the storage memory increases.
In this case, step (c) may include (c1) generating a compressed file according to the file compression determination, and (c2) storing the generated compressed file in a nonvolatile memory and deleting the original file. Can be.
In the step (c2), the generated compressed file may be classified and stored according to the file format of the original file.
In addition, the step (d) comprises the steps of (d1) generating a decompressed restore file according to a user input for file playback, (d2) storing the generated restore file in a nonvolatile memory and storing the compressed file Can be stored in volatile memory.
In this case, steps (a) to (c) may be performed every time the power of the portable electronic device is terminated.
Steps (a) to (c) may be performed every time a file is played by the portable electronic device.
As described in detail above, according to the file management apparatus and method of the portable electronic device according to the present invention, the following effects can be expected.
In other words, by classifying files stored in portable electronic devices according to playback records and compressing and storing files with low playback frequency, it is possible to secure usable space of the storage memory. There is an advantage to prevent the overload of the device.
According to the present invention, a file having a low reproduction frequency can be selectively deleted from a file stored in a portable electronic device, thereby facilitating management of a file according to a reproduction record.
Hereinafter, with reference to the accompanying drawings, preferred embodiments of the file management apparatus and method of the portable electronic device according to the present invention as described above will be described in detail.
1 is a block diagram illustrating a file management apparatus of a portable electronic device constituting a specific embodiment of the present invention.
As shown in FIG. 1, the file management apparatus of the portable electronic device according to the present invention includes a
On the other hand, the file management apparatus of the portable electronic device according to the present invention comprises a
At this time, the
The
In addition, the
In addition, the
On the other hand, the file management apparatus of the portable electronic device according to the present invention comprises a compressed file generation unit (30). The compressed
In addition, the compressed
On the other hand, the file management apparatus of the portable electronic device according to the present invention is configured to include a restore
On the other hand, the file management apparatus of the portable electronic device constituting another embodiment of the present invention may further comprise a
Hereinafter, with reference to the accompanying drawings, preferred embodiments of a file management method of a portable electronic device according to the present invention as described above will be described in detail.
2 is a flowchart illustrating a file management method of a portable electronic device according to a specific embodiment of the present invention in detail.
As shown in Fig. 2, the file management method of the portable electronic device according to the present invention starts from the step of storing the reproduction record of the original file (S100). At this time, the reproduction record of the original file is based on the frequency of the reproduction of the file within the set period, the frequency of reproduction of all the files and the frequency of reproduction of each file, the frequency of reproduction of the entire file after the file is stored in the portable electronic device. A ratio of the reproduction frequency of each of the files, and the like.
Next, the remaining capacity of the portable electronic device storage memory is recognized (S110). Recognition of the remaining capacity of the storage memory is for setting a criterion for determining whether the file is compressed. That is, whether or not the file is compressed is determined according to the reproduction record including the reproduction frequency of the original file within the set period from the last reproduction time of the portable electronic device or the last power supply termination.
Subsequently, a set value for a period which becomes a reference for determining the file compression is designated according to the remaining capacity of the storage memory (S120). At this time, the setting value for the period which is the reference for the file compression determination is set longer as the remaining capacity of the storage memory becomes larger. This is because, when the storage capacity of the storage memory is large, it is less necessary to compress a file having a low playback frequency in order to efficiently manage the storage memory. On the other hand, if the remaining capacity of the storage memory is small, it is possible to manage the storage memory efficiently by setting a short period of time for compressing a file having a low playback frequency, leaving only the file having a high playback frequency recently and compressing the remaining files. To do this.
Next, it is determined whether or not an original file having no playback record exists within the set period (S130). In this case, if there is no original file without playback record within the set period, step 140 is performed. If there is no original file without playback record within the set period, file management of the portable electronic device according to the present invention is performed. Terminate the method.
Subsequently, if it is determined in step 130 that there is an original file having no playback record within the set period, a compressed file is generated (S140).
Next, the generated compressed file is classified according to the file format of the original file, stored in the nonvolatile memory, and the original file is deleted (S150). This classifies and stores the compressed file according to the file format of the original file, so that the user can easily search or play the compressed file when the user wants to search or play the compressed file. In order to secure the space of the storage memory by deleting the original file.
Next, it is determined whether there is a user input for playing a file (S160). In this case, if there is a user input for file reproduction, step 170 is performed. If there is no user input for file reproduction, the file management method of the portable electronic device according to the present invention is terminated.
Subsequently, when there is a user input for file reproduction in operation 160, the decompressed file is stored in the nonvolatile memory and the compressed file is stored in the volatile memory (S170). This is to use the stored compressed file without having to perform the compression process again if the user wants to delete the restored file and save the restored file again in the state of the compressed file before powering off the portable electronic device. In addition, when a user stores the restored file and deletes the compressed file, the compressed file may be deleted by shutting down the power of the portable electronic device.
3 is a flowchart illustrating a file management method of a portable electronic device according to another embodiment of the present invention in detail.
As shown in Fig. 3, the file management method of the portable electronic device according to the present invention starts from the step of storing the reproduction record of the original file (S200). At this time, the reproduction record of the original file is based on the frequency of the reproduction of the file within the set period, the frequency of reproduction of all the files and the frequency of reproduction of each file, the frequency of reproduction of the entire file after the file is stored in the portable electronic device. A ratio of the reproduction frequency of each of the files, and the like.
Next, the latest playback frequency of the original file is calculated (S210). In this case, the latest playback frequency of the original file is calculated by calculating the frequency at which the original file is played back within a set period from the last playback time or the last power-off time of the portable electronic device. This is to determine to compress the file.
Subsequently, it is determined whether there is an original file having a recent reproduction frequency lower than the set standard (S220). At this time, if there is an original file having a recent reproduction frequency less than the set standard, step 230 is performed. On the other hand, if there is no original file having a recent reproduction frequency less than the set standard, the file management method of the portable electronic device according to the present invention is terminated.
Next, as a result of the determination in step 220, if there is an original file having a recent reproduction frequency less than the set standard, a compressed file is generated (S230).
Subsequently, the generated compressed file is classified according to the file format of the original file, stored in the nonvolatile memory, and the original file is deleted (S240). This classifies and stores the compressed file according to the file format of the original file, so that a user can easily search or play the compressed file, and deletes the original file after the compressed file is created to save space in the storage memory. To secure.
Next, it is determined whether there is a user input for playing a file (S250). In this case, if there is a user input for file reproduction, step 260 is performed. If there is no user input for file reproduction, the file management method of the portable electronic device according to the present invention is terminated.
Subsequently, when there is a user input for file reproduction in step 250, the decompressed file is stored in the nonvolatile memory and the compressed file is stored in the volatile memory (S260). This is to use the stored compressed file without having to perform the compression process again if the user wants to delete the restored file and save the restored file again in the state of the compressed file before powering off the portable electronic device. In addition, when a user stores the restored file and deletes the compressed file, the compressed file may be deleted by shutting down the power of the portable electronic device.
4 is a flowchart illustrating a file management method of a portable electronic device according to another embodiment of the present invention in detail.
As shown in Fig. 4, the file management method of the portable electronic device according to the present invention starts from the step of storing the reproduction record of the original file (S300). At this time, the reproduction record of the original file is based on the frequency of the reproduction of the file within the set period, the frequency of reproduction of all the files and the frequency of reproduction of each file, the frequency of reproduction of the entire file after the file is stored in the portable electronic device. A ratio of the reproduction frequency of each of the files, and the like.
Next, the ratio of the reproduction frequency of the original file to the reproduction frequency of the entire file is calculated (S310). That is, the ratio of the sum of the reproduction frequencies of each of the files stored in the portable electronic device to the reproduction frequency value of the specific file may be calculated to determine that the original file is compressed when the calculated ratio is less than the set criterion.
Subsequently, it is determined whether there is an original file whose calculated ratio is less than a set criterion (S320). In this case, if there is an original file whose calculated ratio is less than a setting criterion, step 330 is performed. On the other hand, if there is no original file whose calculated ratio is less than a setting criterion, the file management method of the portable electronic device according to the present invention is terminated.
Next, as a result of the determination in step 320, if there is an original file whose calculated ratio is less than a setting criterion, a compressed file is generated (S330).
Subsequently, the generated compressed file is classified according to the file format of the original file, stored in the nonvolatile memory, and the original file is deleted (S340). This classifies and stores the compressed file according to the file format of the original file, so that a user can easily search or play the compressed file, and deletes the original file after the compressed file is created to save space in the storage memory. To secure.
Next, it is determined whether there is a user input for playing a file (S350). In this case, if there is a user input for file reproduction, step 360 is performed. If there is no user input for file reproduction, the file management method of the portable electronic device according to the present invention is terminated.
Subsequently, when there is a user input for file reproduction in operation 350, the decompressed file is stored in the nonvolatile memory and the compressed file is stored in the volatile memory (S360). This is to use the stored compressed file without having to perform the compression process again if the user wants to delete the restored file and save it again in the state of the compressed file before powering off the portable electronic device. In addition, when a user stores the restored file and deletes the compressed file, the compressed file may be deleted by shutting down the power of the portable electronic device.
The rights of the present invention are not limited to the embodiments described above, but are defined by the claims, and those skilled in the art can make various modifications and adaptations within the scope of the claims. It is self-evident.
1 is a block diagram showing a file management apparatus of a portable electronic device constituting a specific embodiment of the present invention.
Figure 2 is a detailed flowchart showing a file management method of a portable electronic device according to a specific embodiment of the present invention in detail.
Figure 3 is a detailed flowchart showing the file management method of the portable electronic device constituting another embodiment of the present invention in detail.
4 is a detailed flowchart illustrating a file management method of a portable electronic device constituting still another embodiment of the present invention;
Explanation of symbols on the main parts of the drawings
10: memory 20: judgment
30: compressed file generation unit 40: restore file generation unit
50: capacity recognition unit
Claims (23)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070089659A KR20090024575A (en) | 2007-09-04 | 2007-09-04 | Apparatus and method for file management of a portable electric device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070089659A KR20090024575A (en) | 2007-09-04 | 2007-09-04 | Apparatus and method for file management of a portable electric device |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090024575A true KR20090024575A (en) | 2009-03-09 |
Family
ID=40693411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070089659A KR20090024575A (en) | 2007-09-04 | 2007-09-04 | Apparatus and method for file management of a portable electric device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090024575A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200060315A (en) * | 2012-11-12 | 2020-05-29 | 삼성전자주식회사 | Method and apparatus for managing storage space in an electronic device using context data and user profile data |
US11086820B2 (en) | 2012-11-12 | 2021-08-10 | Samsung Electronics Co., Ltd. | Method and apparatus for managing storage space on storage device in an electronic apparatus by using context data and user profile data |
-
2007
- 2007-09-04 KR KR1020070089659A patent/KR20090024575A/en not_active Application Discontinuation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200060315A (en) * | 2012-11-12 | 2020-05-29 | 삼성전자주식회사 | Method and apparatus for managing storage space in an electronic device using context data and user profile data |
US11086820B2 (en) | 2012-11-12 | 2021-08-10 | Samsung Electronics Co., Ltd. | Method and apparatus for managing storage space on storage device in an electronic apparatus by using context data and user profile data |
US11669492B2 (en) | 2012-11-12 | 2023-06-06 | Samsung Electronics Co., Ltd. | Method and apparatus for managing storage space on storage device in an electronic apparatus by using context data and user profile data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8171251B2 (en) | Data storage management method and device | |
CN101180616B (en) | Mechanism and method for managing data storage | |
KR100736480B1 (en) | Apparatus and method for media synchronize of portable device | |
US20070299884A1 (en) | File management device and electronic equipment | |
CN105474200A (en) | Hydration and dehydration with placeholders | |
TWI702837B (en) | System and method for intelligent data/frame compression in a system on a chip | |
JP5316205B2 (en) | Electronic device, content reproduction method and program | |
KR101059653B1 (en) | Information processing apparatus, information processing method, and recording medium | |
US8423704B2 (en) | Dynamic optimization of memory use in a digital recording device | |
JP5634057B2 (en) | Recording apparatus and recording method | |
CN104123309A (en) | Method and system used for data management | |
KR20090024575A (en) | Apparatus and method for file management of a portable electric device | |
US20080058973A1 (en) | Music playback system and music playback machine | |
JP3236152B2 (en) | File compression processor | |
US6467016B1 (en) | Apparatus to record digital data on non-volatile memory card for recording in units of blocks of digital data and method thereof | |
JP4193863B2 (en) | Portable device with index creation function, control method thereof, and program thereof | |
US20130024633A1 (en) | Method for outputting audio-visual media contents on a mobile electronic device, and mobile electronic device | |
KR20090128195A (en) | Apparatus and method for converting data format of media files | |
JP2006065424A (en) | Data storage system, data storage device, similar file recording method to be used for the same and program therefor | |
JP2002049512A (en) | File compression processor | |
US8423743B2 (en) | Method to divide a file or merge files using file allocation table (FAT) | |
US20070091736A1 (en) | System and method for storing and managing digital content | |
KR100775535B1 (en) | Multimedia data playback device for having random play function of music based record of selection | |
JP2007329846A (en) | Content reproducing device and method | |
KR20070084065A (en) | Method and circuit for saving power |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |