CN1838118B - File management method - Google Patents

File management method Download PDF

Info

Publication number
CN1838118B
CN1838118B CN2005100569691A CN200510056969A CN1838118B CN 1838118 B CN1838118 B CN 1838118B CN 2005100569691 A CN2005100569691 A CN 2005100569691A CN 200510056969 A CN200510056969 A CN 200510056969A CN 1838118 B CN1838118 B CN 1838118B
Authority
CN
China
Prior art keywords
file
information
visit
information record
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2005100569691A
Other languages
Chinese (zh)
Other versions
CN1838118A (en
Inventor
郭涛
袁学文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netac Technology Co Ltd
Original Assignee
Netac Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netac Technology Co Ltd filed Critical Netac Technology Co Ltd
Priority to CN2005100569691A priority Critical patent/CN1838118B/en
Publication of CN1838118A publication Critical patent/CN1838118A/en
Priority to HK07103125.5A priority patent/HK1097619A1/en
Application granted granted Critical
Publication of CN1838118B publication Critical patent/CN1838118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This invention relates to a file management method. Wherein, it comprises the steps: when displaying document, reading file visit information record and look up whether there is label for current file; if yes, adding its visit number, recording current visit time, and closing the information record; or else, adding the file label into the visit information record with visit number and time, and closing the record. This invention can realize multi-entities management to file, update and maintain the file visited record.

Description

A kind of file management method
Technical field
The present invention relates to data statistics and treatment technology, especially relate to a kind of file management method.
Background technology
At present, along with the development of infotech, the memory capacity of data processing equipments such as computing machine, hard disk MP3 trends towards maximizing day by day, generally all near 40G even bigger.
In daily life, music file is very popular, for people bring high-quality amenities of life.Usually, the quantity of music file that is stored in hard disc of computer is bigger, and particularly on hard disk MP3, music file is in occupation of most of storage space, and it is the order of magnitude of unit that file quantitatively reaches with thousand especially.
In the face of numerous music file like this, the user needs the way to manage of diversification in time to understand the use information of the music file on the hard disk of oneself: such as which file often visited, those files are often not accessed, which file user never visited, and which file which section time user often visits in the past; The user wishes to specify to visit which music file simultaneously, such as the music file of visit (broadcast) visit capacity preceding ten, and the music file that visit was not also visited, the music file of the new storage of visit these last few days; And the ff function can be provided, and the file name that input will be searched in player just obtains the file that the user needs then in the hard disk music file of player scanning, can provide functions such as file renames, deletion etc. simultaneously.
In current technical field, present most of player software (comprising player software on the computing machine and the playing program on the hard disk MP3 etc.) only provide file playing function, functions such as simple file renames though some player software can provide, file delete, multistage file directory management, but do not provide file management facilities, the relevant information of statistics file visit not yet.
The user can adopt the mode of oneself to come management document, comes the Classification Management file such as setting up files at different levels.But a lot of the time, the user may become to the document architecture system of oneself and be not very clear for file.And many times along with new ancient deed alternately, and the problem of time and user's memory, the user may be just more unclear oneself file access situation.
In view of this, need provide a kind of file management method, realize the statistics of the visit information of file automatically, and can realize visit according to the information that comprises in the file to file.
Summary of the invention
The technical matters that the present invention solves is to provide a kind of file management method, can realize the diversification management of file, upgrades in time and the accessed information of maintenance documentation.
On this basis, can be further according to the accessed information of file specify will be accessed file.
On this basis, can be further realize visit to file according to the information that comprises in the file.
For this reason, the technical scheme of technical solution problem of the present invention is: a kind of file management method is provided, comprises step:
1) when the player plays file, read file access information record, wherein, employing file access information writes down sign and the corresponding visit information of preserving music file, and described visit information comprises access times and access time;
2) check the sign that whether has the file of current broadcast in this document visit information record; If then enter step 3); If not, then enter step 4);
3) increase the access times of the file of described current broadcast, and put down in writing the current access time; Enter step 5);
4) sign with the file of described current broadcast is added in the file access information record, and record access times and access time; Enter step 5);
5) close described file access information record, when receiving user's request, based on described file access information record, according to the visit information demonstration and/or the playing music of appointment.
Preferably, this method also comprises step:
21) when receiving user's request, the visit information record opens file;
22) read described file access information record, obtain the number of the file of accessed mistake;
23) according to the number assignment memory headroom of described file;
24) data in the aforementioned document visit information record are copied in this memory headroom;
25) read the access times of the file in the described data of duplicating; Size according to access times sorts to the data in the file access information record;
26), show the file of accessed mistake in regular turn according to the data after the ordering.
Preferably, this method also comprises step: obtain file according to the rank scope of user's request type correspondence and show or play.
Preferably, this method also comprises step: when receiving user's request, open and read file access information record; Whether the access time of judging each file in this document visit information record meets the time conditions that the user asks appointment; And allocation space is preserved the record of qualified file; Subsequently, show qualified file according to the result who preserves.
Preferably, this method also comprises step: when receiving user's request, enumerate all files, open and read file access information record; Judge whether the file that lists is present in the file access information record; And the file that allocation space will not be documented in the file access information record is preserved; Subsequently, show qualified file according to the result who preserves.
Preferably, this method also comprises step:
31) the inquiry root directory obtains files all under the root directory and catalogue;
32) judge current to as if file or catalogue; If file then enters step 33); If catalogue then enters step 37);
33) judge whether comprise classified information in the current file; If then enter step 34); If not, then enter step 38);
34) upgrade corresponding file classified information record according to described classified information;
35) judge the file that whether is still waiting to classify in the catalogue at current file place; If then return step 32); If not, then enter step 36);
36) judge whether current directory is root directory; If not, then enter step 39); If, process ends then;
37) the inquiry current directory obtains files all under the current directory and catalogue; Enter step 32);
38) described current file is belonged in the file of unknown classification; Enter step 35);
39) return the upper level catalogue of current directory; Enter step 35).
Preferably, this method also comprises step: when receiving the request of user according to the classified information viewing files, search the identification document that all have set up classified information; Information according to the identification document correspondence of setting up classified information shows the classified information corresponding with described identification document.
Preferably, this method also comprises step: when receiving the user when specifying the request of concrete classified information, read this concrete classified information corresponding identification file; The file of putting down in writing in this concrete classified information corresponding identification file is shown.
Preferably, this method also comprises step: according to user's request deleted file; According to the classified information of this deleted file correspondence, search respective classified information record, it is invalid that the data of this deleted file correspondence are set to.
The visit information record with respect to prior art, the invention has the beneficial effects as follows: owing to can be safeguarded and upgrade to method of the present invention automatically when played file; The correlated identities of recording document and visit information therein, thus realize the diversification management of file, make things convenient for the user to understand the statistical conditions of own played file.
In the preferred version of the present invention, can also carry out the ordering and the demonstration of file, make things convenient for the user to search the file of oneself, make the management science more of file according to the information of preserving in the visit information record.
In the preferred version of the present invention, can also set up the classified information record, further strengthen diversification scientific management file according to the classified information that comprises in the file.
In the embodiments of the invention, at music file, particularly the MP3 music file on the hard disk MP3 player manages, and makes things convenient for the user to understand the situation of song on own statistical conditions of listening song and the hard disk, if any what singer's song, what special edition, what school or the like.These statistical informations will make things convenient for the user to search oneself to want song and the more management of listening of science of song files.
Description of drawings
Fig. 1 is a process flow diagram of setting up visit information in the method for the present invention;
Fig. 2 arranges the process flow diagram of the file of accessed mistake by playing visit capacity in the method for the present invention;
Fig. 3 is the process flow diagram of setting up the music file classified information of the inventive method;
Fig. 4 is the synoptic diagram of graphical user interface in the method for the present invention;
Fig. 5 is the option synoptic diagram of file associative operation in the method for the present invention;
Fig. 6 is the synoptic diagram of statistical information in the method for the present invention;
Fig. 7 is the synoptic diagram of classified information document storage in the embodiments of the invention.
Embodiment
The invention provides a kind of file management method, in existing player, additional functional options is set, realization makes things convenient for the user in time to understand the accessed situation of file to the diversification management of music file, realizes the file management facilities that present player does not have.
File management method of the present invention comprises: visit information and the classified information of setting up music file; Visit information according to appointment shows and/or playing music; Classified information according to music file is managed music file.
Seeing also Fig. 1, is the process flow diagram of setting up visit information in the method for the present invention.Wherein, employing music file visit information writes down sign and the corresponding visit information of preserving music file; Described sign can be the filename of music file; Described visit information comprises access times and access time etc.
Step S11 when the player plays music file, reads music file visit information record;
Step S12 checks the sign that whether has the music file of current broadcast in this visit information record; If then enter step S13; If not, then enter step S14;
Step S13 increases the access times of the music file of described current broadcast, and writes down the current access time; Enter step S15;
Step S14 is added into the sign of the music file of described current broadcast in the music file visit information record, and record access number of times and access time; Enter step S15;
Step S15 closes described music file visit information record.
Based on described music file visit information record, method of the present invention can show and/or playing music according to the visit information of appointment.For example, can realize functions such as " arranging the file of accessed mistake ", " playing the file of visit capacity top ten list ", " ten file after the broadcast visit capacity ", " showing the file of visiting this week ", " showing the file that this month visited ", " file of enumerating not visit " by playing visit capacity.
Seeing also Fig. 2, is to arrange the process flow diagram of the file of accessed mistake by playing visit capacity in the method for the present invention.
Step S21 when receiving user's request, opens music file visit information record;
Step S22 reads described music file visit information record, obtains the number of the music file of accessed mistake;
Step S23 is according to the number assignment memory headroom of described music file;
Step S24 copies to the data in the music file visit information record in the aforementioned memory headroom;
Step S25 reads the access times of the music file in the described data of duplicating; Size according to access times sorts to the data in the music file Visitor Logs;
Step S26 according to the data after the ordering, shows the file of accessed mistake in regular turn.
The realization flow of the function of the file of top ten list " play visit capacity " and " ten file after the broadcast visit capacity " is: on the basis of flow process shown in Figure 2, further obtain qualified music file according to user's request type (" top ten list " or " back ten ") and show and play.
The function realization flow of " show this week visit file " and " demonstration this month visited file " is:
When receiving user's request, open and read music file visit information record; Whether the access time of judging each music file in this visit information record is eligible; And allocation space is preserved the record of qualified music file; Subsequently, show qualified music file according to the result who preserves.
The realization flow of the function of " enumerating the file of not visiting " is: when receiving user's request, enumerate all music files, open and read music file visit information record; Judge whether music file is present in the visit information record; And allocation space is preserved qualified music file; Subsequently, show qualified music file according to the result who preserves.
Method of the present invention can also be managed music file according to the classified information of music file, comprises the foundation of music file classified information; Show and/or playing music according to classified information.
Seeing also Fig. 3, is the process flow diagram of setting up the music file classified information of the inventive method.Wherein, adopt a plurality of music file classified informations to write down the classified information of preserving music file; Described classified information comprises singer, special edition, school etc.For example, adopt singer's identification document to write down the information of all music files of this singer's correspondence; The corresponding singer's identification document of each singer.Similarly, the corresponding special edition identification document of every special edition writes down the information of music files all in this special edition; The corresponding school identification document of each school, record belongs to the information of all music files of this school.
Step S31, the inquiry root directory obtains files all under the root directory and catalogue;
Step S32, judge current to as if music file or catalogue; If music file then enters step S33, if catalogue then enters step S37;
Step S33 judges whether comprise classified information in the current file; If then enter step S34; If not, then enter step S38;
Step S34; Upgrade corresponding music file classified information record according to classifications such as the singer in the described classified information, special edition, schools; Described renewal can be: if there is the corresponding identification file, then current file is added in the file; If there is no, then set up new respective file;
Step S35; Judge the music file that whether is still waiting to classify in the catalogue at current file place; If then return step S32; If not, then enter step S36;
Step S36 judges whether root directory of current directory; If not, then enter step S39; If, process ends then.
Step S37 inquires about this catalogue, obtains files all under this catalogue and catalogue; Enter step S32;
Step S38 belongs to described current file in the file of classifications such as unknown singer, special edition, school; Described belonging to, can be: if there is no this document, and then newly-built; If exist, then add current file to unknown category file;
Step S39 returns the upper level catalogue of this catalogue; Enter step S35.
After a plurality of music file classified information records are set up, just can come to show and/or playing music based on described record according to classified information.
For example, when receiving the user, then can search singer's identification document that all have been set up according to the request that the singer checks music file; Singer with all music file correspondences shows according to the singer informations of singer's identification document correspondence.
On this basis, when receiving the user when specifying concrete singer, then read singer's identification document of this singer's correspondence; The music file of putting down in writing in this singer's identification document is shown.
Show the flow process of music file and show that according to the singer flow process of music file is similar that according to special edition or school this does not give unnecessary details.
In addition, can also be according to user's request deletion music file; At this moment, need search corresponding music file classified information record according to the classified information of this music file correspondence, the data of this music file correspondence are set to invalid getting final product.
For the ease of further understanding the present invention, method of the present invention is described in detail below in conjunction with specific embodiment.
Method of the present invention can realize by computer program, for example, add document management module and get final product on the basis of existing player, this document administration module is realized the function of above-mentioned diversification file management, mainly comprises: the visit information of setting up music file; Visit information according to appointment shows and/or playing music; Set up the music file classified information; Show and/or playing music according to classified information.
The music file of present embodiment can be the MP3 song.See also Fig. 4, described document management module provides friendly graphical user interface (GUI).On the main interface menu hurdle of player software, increase the menu of the accessed information of reflection file.
Increase " statistics " options menu and give the user, when the user selects " statistics " options menu, in this menu ejection pull-down menu as shown in Figure 4.
When the user selects " arranging the file of visit by playing visit capacity ", then by the sort file of visiting and listing of broadcast visit capacity.
When the user selects " playing the file of visit capacity preceding ten ", then list the file of playing visit capacity preceding ten.
When the user selects " ten file after playing visit capacity ", then list and play after the visit capacity ten file.
When the user selects " visiting nearest file ", then list nearest music file of visiting.
When the user selects visit " file of not visiting ", then list the music file of not visiting.
When the user selects visit " file of visiting this week ", then list the music file of visiting this week.
When the user selects visit " file that this month visited ", then list the music file that this month visited.
When the user selects " checking song according to the singer ", then eject the singer that drop-down menu shows all song correspondences on the hard disk, if the user selects wherein singer again, then show all songs that he sang on the hard disk.
When the user selects " checking song according to school ", then eject the school that drop-down menu shows all song correspondences on the hard disk, if the user selects wherein a kind of school again, then show all songs of this school on the hard disk.
When the user selects " checking song according to special edition ", then eject the special edition that drop-down menu shows all song correspondences on the hard disk, if the user selects one of them special edition again, then show the song that this special edition comprises on the hard disk.
For guaranteeing described auxiliary tools option " statistics " but and the smooth realization of next stage selection operation, embodiments of the invention provide relevant information feedback in the associative operation to music file.Please refer to Fig. 5, existing two operations " played file " and, on the basis of " being added into playlist ", increase one " statistical information ", in its next stage operation, provide following relevant information: the singer of a up-to-date access time of the creation-time of this music file, this music file, the accessed number of times of this document, this music file, special edition, genre information etc., as shown in Figure 6.
The area of considering the general display interface of hard disk MP3 player is smaller and more exquisite, so its INTERFACE DESIGN generally can be different from the pull-down menu pattern of computing machine, is designed to the hierarchical menu pattern that current display screen only shows current operation level.
File management method of the present invention mainly is the maintenance of statistics, renewal synchronously and data query operation.We can adopt database to manage on computers, and on hard disk formula MP3 player because hardware resource is limited, general supporting database not, therefore, we adopt file to deposit statistical information, realize the polynary management of file.
Visit capacity and access time information that present embodiment adopts the structure (structure is exactly a set of each attribute of research object) of a file access statistic to add up the music song file.The information that comprises in this structure has time of recording valid flag position, file comspec, file access number of times and the last visit etc.
In the described document management module, have a plurality of processing functions, comprising:
Check function, be used to check whether music file write down; If the music file of playing write down, then this function returns very, and recorded information address pointer content is effective simultaneously, for this reason the measuring point of recorded information in log file.This recording address is used by the record renewal of back.
Upgrade the Visitor Logs function, be used for upgrading the Visitor Logs of music file according to the recorded information address pointer.
Add the Visitor Logs function, be used for adding the Visitor Logs of a new music file to log file.
Deletion Visitor Logs function is used for the corresponding Visitor Logs of deletion when certain music file is deleted.
The visit capacity ranking functions, this function sorts to the file of the visiting size by visit capacity, and a pointer of arranging good two-dimensional array is pointed in output, and the two-dimensional array form is as shown in table 1.
Table 1
Figure GSB00000197849600091
Obtain the function of the corresponding music file that requires, this function returns the pointer of the two-dimensional array of a specified type, and the rreturn value of it and visit capacity ranking functions is similar.The type of appointment can be: Top10Music (visit capacity rank preceding ten), After10Music (after the visit capacity rank ten).
Obtain the function of the music file of corresponding access time, this function returns the pointer that a type is pointed to the file chained list.The type of appointment can be: WeekMusic (file type of visiting this week) and MonthMusic (file type that this month visited).
The function of the music file that acquisition was not visited, this function return the pointer that a type is pointed to the file chained list.
Why above-mentioned two functions adopt chained list to deposit operation result, are because before handling, the order of can't knowledge of result fixing a number really, and the access mode that can only use Dram to distribute is carried out.
Explicit function, this function are used for the result of display process, according to different display type parameters, show different process informations.
In the present embodiment, the visit capacity of music file and the statistical information of access time use file Musicvisitinfo.dat binary file by name to store, and its actual information is exactly the set of the structure of the player file structure of visit.
Please consult Fig. 1 once more, when the first song of player plays, call the Open function simultaneously and open the Musicvisitinfo.dat file, call the Read function and read the music file record of having visited in this document, call again and check that function checks just now whether the song of playing write down, if write down, then call and upgrade Visitor Logs and this visit time that the Visitor Logs function upgrades this music file, if this song did not write down in the past, then set up a new visit record, call interpolation Visitor Logs function it is added in the Musicvisitinfo.dat log file, call the Close function at last and close log file.
Please consult Fig. 2 once more, when the user selects " arranging the file of visiting by playing visit capacity ", master routine calls the output of visit capacity ranking functions and points to a pointer of arranging good two-dimensional array, the inside of this function realizes that principle is: begin to call the Open function and open file, calling the Seek function obtains file size and then obtains writing down number, the invoke memory partition function comes the storage allocation space, recycle is called the Read function and is copied record data to internal memory, according to the access times in the structure variable, the utilization quick sort amount of conducting interviews sorts again.Finally obtain an array of arranging of pointed, call explicit function again and be shown to the user and check by visit capacity by Memory Allocation.
When the user selected " playing the file of visit capacity preceding ten ", " ten file after playing visit capacity ", routine call obtained the function of the corresponding music file that requires, and type is corresponding Top10Music and After10Music respectively.The inside of this function realizes that principle is in fact: call the visit capacity ranking functions earlier, then, according to the type of appointment, get its preceding ten first song or the 11 head to the 20 first songs.Calling explicit function again is shown to the user and checks.
When the user selected " file of visiting this week ", " file that this month visited ", routine call obtained the function of the music file of corresponding access time, and type is corresponding WeekMusic and MonthMusic respectively.The principle that this function is realized is, reading and recording information from the Musicvisitinfo.dat log file at first, again according to the value of the last access time variable in the structure variable, judge whether (or visiting last month) for visiting last week, if, then calling the allocation of space function distributes a storage unit and with this qualified recording storage, simultaneously it is connected on the corresponding types data link table.Finish when all record traversals, this function is also just finished, and it returns a corresponding types pointer, points to count on qualified result.Calling explicit function again is shown to the user and checks.
When the user selects " enumerating the file of not visiting ", the function of the music file that the routine call acquisition was not visited, the realization principle of this function is, enumerate all music files on the hard disk earlier, compare with the record in the Musicvisitinfo.dat log file again, if record is arranged then be what to visit, otherwise, then do not visit, so just can list the music file that all were not visited, be stored on the corresponding types data link table.Calling explicit function again is shown to the user and checks.
In the present embodiment, adopt the form of structure to come recording musical document classification information, the information that this structure comprises records valid flag position (being used in music file deletion back marked invalid) and music file name etc.
The song classified information adopts the multifile recording mode to realize that promptly when singer's classified information, each singer sets up the log file of a * .cid with its name.Just create the log file of " Liu De China .cid " as the song of Liu Dehua.The form of this document is exactly the data of classified information structure.Press special edition classification and recording mode of pressing genre classification and the same processing of singer's classification.
Because mp3 file to be classified is numerous, classification can the cost regular hour.Present embodiment adopts a background process to select song to divide time-like to carry out the song classification the user.
The ID3-tag information of song The classification basis information source in mp3 file, so-called ID3-tag information adds information such as song title, singer, monograph, days, school, note exactly in mp3 file, be convenient to collect song, it leaves in the consecutive bytes at the beginning of mp3 file or end.
Please refer again to Fig. 3, define a categorical variable ID3-tag, at first call the Scandir function and obtain music file on the hard disk, call the Open function again and open music file, and call the Seek function and the Read function obtains ID3 information.Whether the head of judging ID3-tag again is " TAG " character string, if then this file has ID3 information, such mp3 file just can be classified, otherwise can't classify.After obtaining ID3 information, just can classify, generate the file of various statistical classification information, be used for user inquiring according to Artist (singer), Album (special edition), Genre (school) and Year (year) etc. wherein.
Please refer to Fig. 7, in the present embodiment, song statistic of classification information all leaves under the classification catalogue, and it sets up three catalogues respectively by singer, special edition, school classification down again, i.e. Artist, Album, Genre.Deposit the song information file (* .cid) of each singer's correspondence under the Artist; The Album catalogue is deposited the album information file; Genre deposits genre information.
When user's selection is checked music file according to the singer, read/ all cid files under the classification/Artist catalogue, getting its filename obtains the singer of song correspondence in the current hard disk and shows, if the user has selected certain concrete singer once more, then read the cid file of this singer's correspondence, show its song.When the user selects to check song and to check song by school according to special edition, its processing mode and check that according to the singer song is similar.
When the user deleted certain mp3 file, program was judged its classified information, found its log file and the correspondence position in the file.Record the valid flag bit field again in the structure type variable and be set to invalidly, write back in the log file.
Be understandable that,, have more than the management that is defined in music file, can reflect that the visit information of other types file is given the user simultaneously though present embodiment only describes the management of music file.This method broad covered area, technical difficulty is higher.In realization can be according to actual conditions, choose wherein partial function and realized.
In addition, understand the time of occurrence efficiency technically in hard disk MP3, the user may need to wait for certain hour when operation.
Need to prove that present embodiment has only been described as the mode of computer program how and realized method of the present invention; But those skilled in the art knows, and can also implement the flow process of the inventive method by the form of hardware; For example, adopt the discrete device or the forms such as chip of inside solidification software module.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. a file management method is characterized in that, comprises step:
1) when the player plays file, read file access information record, wherein, employing file access information writes down sign and the corresponding visit information of preserving music file, and described visit information comprises access times and access time;
2) check the sign that whether has the file of current broadcast in this document visit information record; If then enter step 3); If not, then enter step 4);
3) increase the access times of the file of described current broadcast, and put down in writing the current access time; Enter step 5);
4) sign with the file of described current broadcast is added in the file access information record, and record access times and access time; Enter step 5);
5) close described file access information record, when receiving user's request, based on described file access information record, according to the visit information demonstration and/or the playing music of appointment.
2. file management method according to claim 1 is characterized in that, also comprises step:
21) when receiving user's request, the visit information record opens file;
22) read described file access information record, obtain the number of the file of accessed mistake;
23) according to the number assignment memory headroom of described file;
24) data in the aforementioned document visit information record are copied in this memory headroom;
25) read the access times of the file in the described data of duplicating; Size according to access times sorts to the data in the file access information record;
26), show the file of accessed mistake in regular turn according to the data after the ordering.
3. file management method according to claim 2 is characterized in that, also comprises step: obtain file according to the rank scope of user's request type correspondence and show or play.
4. file management method according to claim 1 is characterized in that, also comprises step: when receiving user's request, open and read file access information record; Whether the access time of judging each file in this document visit information record meets the time conditions that the user asks appointment; And allocation space is preserved the record of qualified file; Subsequently, show qualified file according to the result who preserves.
5. file management method according to claim 1 is characterized in that, also comprises step: when receiving user's request, enumerate all files, open and read file access information record; Judge whether the file that lists is present in the file access information record; And the file that allocation space will not be documented in the file access information record is preserved; Subsequently, show qualified file according to the result who preserves.
6. according to each described file management method of claim 1 to 5, it is characterized in that, also comprise step:
31) the inquiry root directory obtains files all under the root directory and catalogue;
32) judge current to as if file or catalogue; If file then enters step 33); If catalogue then enters step 37);
33) judge whether comprise classified information in the current file; If then enter step 34); If not, then enter step 38);
34) upgrade corresponding file classified information record according to described classified information;
35) judge the file that whether is still waiting to classify in the catalogue at current file place; If then return step 32); If not, then enter step 36);
36) judge whether current directory is root directory; If not, then enter step 39); If, process ends then;
37) the inquiry current directory obtains files all under the current directory and catalogue; Enter step 32);
38) described current file is belonged in the file of unknown classification; Enter step 35);
39) return the upper level catalogue of current directory; Enter step 35).
7. file management method according to claim 6 is characterized in that, also comprises step: when receiving the request of user according to the classified information viewing files, search the identification document that all have set up classified information; Information according to the identification document correspondence of setting up classified information shows the classified information corresponding with described identification document.
8. file management method according to claim 7 is characterized in that, also comprises step: when receiving the user when specifying the request of concrete classified information, read this concrete classified information corresponding identification file; The file of putting down in writing in this concrete classified information corresponding identification file is shown.
9. file management method according to claim 6 is characterized in that, also comprises step: according to user's request deleted file; According to the classified information of this deleted file correspondence, search respective classified information record, it is invalid that the data of this deleted file correspondence are set to.
CN2005100569691A 2005-03-24 2005-03-24 File management method Active CN1838118B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2005100569691A CN1838118B (en) 2005-03-24 2005-03-24 File management method
HK07103125.5A HK1097619A1 (en) 2005-03-24 2007-03-23 A method for files management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005100569691A CN1838118B (en) 2005-03-24 2005-03-24 File management method

Publications (2)

Publication Number Publication Date
CN1838118A CN1838118A (en) 2006-09-27
CN1838118B true CN1838118B (en) 2011-01-12

Family

ID=37015516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005100569691A Active CN1838118B (en) 2005-03-24 2005-03-24 File management method

Country Status (2)

Country Link
CN (1) CN1838118B (en)
HK (1) HK1097619A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5402375B2 (en) * 2009-08-07 2014-01-29 ソニー株式会社 Information processing apparatus, reference value determination method, and program
CN102111680A (en) * 2009-12-25 2011-06-29 康佳集团股份有限公司 Song classification management method of STB
CN101969447A (en) * 2010-11-05 2011-02-09 北京云快线软件服务有限公司 Method and system for supplying stream media service
CN102722505A (en) * 2011-05-17 2012-10-10 新奥特(北京)视频技术有限公司 Method capable of quickly finding caption stunts
CN105049952A (en) * 2015-07-21 2015-11-11 Tcl海外电子(惠州)有限公司 File push list generation method and file push list generation device
CN107391696A (en) * 2017-07-27 2017-11-24 合肥泓泉档案信息科技有限公司 A kind of Archival Informationization management system
CN107451042A (en) * 2017-07-31 2017-12-08 郑州云海信息技术有限公司 A kind of local cache method and device based on lease lock mechanism
CN113645310A (en) * 2021-08-20 2021-11-12 北京高途云集教育科技有限公司 Data current limiting method and device, electronic equipment and readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543614A (en) * 2001-06-15 2004-11-03 �ֹ��� Media content creating and publishing system and process

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543614A (en) * 2001-06-15 2004-11-03 �ֹ��� Media content creating and publishing system and process

Also Published As

Publication number Publication date
HK1097619A1 (en) 2007-06-29
CN1838118A (en) 2006-09-27

Similar Documents

Publication Publication Date Title
CN1838118B (en) File management method
CN100468402C (en) Sort data storage and split catalog inquiry method based on catalog tree
US7689574B2 (en) Index and method for extending and querying index
US9141627B2 (en) Providing a user access to data files distributed in a plurality of different types of user devices
CA2662170C (en) Automatic music management methods and systems
US7930329B2 (en) System, method and medium browsing media content using meta data
CN101057294B (en) Reproducing apparatus for reproducing the audio-visual data stored in the storage medium
CN104054104B (en) Show the fact relevant with music libraries automatically generating
US7680827B2 (en) Method of automatically selecting multimedia files for transfer between two storage mediums
CN101819599A (en) Memory device and recording medium
CN100419764C (en) Hierarchical storage management apparatus, method, and program
CN102157168A (en) Intelligent play device and play method for personalized music
TW392113B (en) File management method
CN116257523A (en) Column type storage indexing method and device based on nonvolatile memory
US20060004893A1 (en) Content storage device
US20070217767A1 (en) Method of managing media files and media playback apparatus
CN101860458A (en) Data configuration method, equipment and system
US20230409536A1 (en) File system metadata layout for append-only storage
CN110874360A (en) Ordered queue caching method and device based on fixed capacity
CN1979464A (en) Method for realizing playing according to request of user in digital media player
CN106874498A (en) The access method and access device of a kind of finance data
CN106649462A (en) Implementation method for mass data full-text retrieval scene
CN101751390B (en) Disk configuration method of object orientation storage device
CN100444166C (en) Position-based interface access method and device for FAT file system
US7797300B2 (en) Systems and methods for conducting searches of multiple music libraries

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1097619

Country of ref document: HK

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1097619

Country of ref document: HK