CN102722543A - Method for storing files - Google Patents
Method for storing files Download PDFInfo
- Publication number
- CN102722543A CN102722543A CN2012101648690A CN201210164869A CN102722543A CN 102722543 A CN102722543 A CN 102722543A CN 2012101648690 A CN2012101648690 A CN 2012101648690A CN 201210164869 A CN201210164869 A CN 201210164869A CN 102722543 A CN102722543 A CN 102722543A
- Authority
- CN
- China
- Prior art keywords
- user
- classification
- file
- storage
- client
- 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method for storing files. The method comprises the following steps of: supplying a base class for storing to a user, and allowing the user to establish classes; recording class paths, and writing the files into a storage medium; when the user has a non-first storage behavior, comparing the class selected by the user with the last class; repeatedly recording and comparing; periodically transmitting the recorded results to a server; performing comparison statistics on the sent results by the server; and returning the highest statistical result serving as the base class to a client. By using the method, the problem that the original storage efficiency is limited by the size of a screen of handheld equipment can be solved, the file storage flow can be simplified, the using efficiency is improved, overall traversing steps are reduced, consumption of performance is reduced at the same time, and the corresponding speed and the running efficiency of software can be effectively improved.
Description
Technical field
The present invention relates to the storage of mobile device file, relate in particular to a kind of method that is used for the file storage of handheld mobile device.
Background technology
Along with the generally production of handheld devices such as smart mobile phone, panel computer and popular, and the development of technology such as chip, storing media, touch screen, the storage area in the handheld device is increasing, makes the user can be with a large amount of file storage in handheld device.But because the change of user's input pattern and the limitation of small screen size make that the user can not look like on PC equipment, to use original storage method glibly, that is: original storage method is not very suitable for handheld device.
Generally speaking, traditional storage flow process and method: be to receive file from the outside, or move the unloading file internally; Can be during the boundary according to the rule of file system; The path that provides user's whole magnetic disk supplies the user to select the position that stores, and the structure in this path is generally extensible tree structure, on the equipment of large scale display screens such as PC; Such expansion mode can let the user choose the destination folder that need store at an easy rate; The localizing objects storage location after the user chooses destination folder, carries out actual file storage address again and shifts and write; And take place above-mentionedly (needs to store and selects to store the path) need carry out write operation to storing media the time at every turn; Capital prompting user can't be according to similarity in logic, the same property of reality, reduce the prompting to the user, makes the mechanical repetition of whole flow process and step.But he has benefited from system mechanism, screen size and the mode of operation (entity mouse-keyboard) of conventional P C, and the user can rely on multiwindow to alleviate the puzzlement that this mechanical step is brought.On handheld device,, be difficult to show that detailed supplying stores the path because receive the restriction of screen size and control mode; In addition, because under limited screen size, show detailed tree-like storage path, the physical size that can let each node in the path on screen, show is little of not seen clearly by the user, can not click equally to obtain; Simultaneously, because above-mentioned restriction, and handheld device shows and only shows the characteristic of a window on existing system, on handheld device during to repeated selection path, and can be more loaded down with trivial details.When general storage method and routing, if want to solve this situation, need the user that gem-pure document classification logic is arranged, and optimize the path of file on one's own initiative, change filename etc., can reduce the complexity of use.
Summary of the invention
The object of the present invention is to provide a kind of method that file stores that is used for; Its purpose is to solve prior art problems; Provide a kind of and can under the situation of not using complete tree path, also can accomplish the storage and the management of file, and reach the method that the file of the effect the same with using complete tree path stores.
The technical scheme that the present invention adopts is:
A kind of method that is used for the file storage comprises:
Step 1: when using for the first time, offer the user according to the basic classification of the attribute of file (picture, software, recreation, audio frequency, video, text) default categories as initial file system;
Step 2: when the user carries out the file storage, be shown to the user base classification and supply the user to select, and the option of newly-built classification is provided;
Step 3: write file, and the storage path of recording user and corresponding classification;
Step 4:, compare with initial file system default categories with the storage path and the classification of record in the step 3;
Step 5: record comparison back result;
Step 6: when the user stores behavior once more, inquire the destination path that the user selects once more according to the result who writes down in the step 5.
Said step 6 comprises two kinds of situation:
A: if the record result in the step 5 is whether the user has used and the identical classification of basis classification that provides, then point out the user to make and continue to use identical storage path last time;
B: if the result of record does in the step 5, the user is newly-built, and a classification comes storage file separately, then is shown to the newly-built classification options of user base classification and user as the storage path.
Said a kind of method that is used for the file storage also comprises:
Step 7: in the process of execution in step 6 repeatedly, be the cycle with the week, client regularly stores the result of comparison in classification and the step 5 to the file that server transmits the user;
Step 8: at server end; With the week is the cycle; The regular data with collecting in the step 6 are added up, and with using the highest a kind of pair relationhip of classification to carry out record in the file of associated user's storage, up to setting up All Files the unique classification coupling are arranged all; And regularly data are returned to client, upgrade the basis classification of client.
Beneficial effect of the present invention: the invention provides the mode in the new storage path that can select for the user, do not re-use the storage route method that provides complete, the step of select target has reduced the requirement of screen display size accordingly in the storage process like this; Make that application is more suitable on the handheld device of small screen size, and can reach the same effect of fullpath, simultaneously because introduced the contrast of storage path (classification); The number of steps of the whole process that minimizing user that can be gradually stores has promoted the service efficiency of software, has strengthened user experience; Make the user can easier in option, do selection, and the complete logic that has comprised selection when the user stores, strengthened user experience; Further promoted the service efficiency of software; Saved the time, because reduced actual step, software does not need to obtain complete tree-like storage path again; Read only need and writing down from own definition; Reduced the step of overall traversal, reduced consumption simultaneously, can effectively improve the corresponding speed and the operational efficiency of software performance.
Description of drawings
The method synoptic diagram that Fig. 1 stores for file of the present invention;
Fig. 2 is for realizing schematic flow sheet of the present invention;
Schematic flow sheet when Fig. 3 is the server cooperating.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.But those of ordinary skills should be realized that each embodiment can do further combination and arrangement.Therefore, the embodiment that describes herein is intended to contain all such changes, modification and the modification in the protection domain that falls into appended claims.In addition, " comprise " with regard to the term that uses in instructions or claims, the mode that contains of this speech is similar to term and " comprises ", just in claim, is used as that kind that link word is explained as " comprising, ".In addition, using any one term " perhaps " in the instructions of claims is to represent " non-exclusionism perhaps ".
As shown in Figure 1, method provided by the present invention may further comprise the steps:
When step 103. user stores behavior once more, be prompted to the new classification of user according to comparison result.
102 ~ 103 steps, Optimization result are carried out in step 104. circulation.
Result and corresponding relation after step 106. server will be added up regularly return to client, with the basis classification of new client.
As shown in Figure 2, realize that this method needs following steps:
When step 201. user in the software that uses for the first time this storage method the storage behavior takes place, provide the classification of user base and store path (recreation, software, audio frequency, video, text);
Step 202. is added user's selection record to available storage path list, simultaneously the file of this storage and the corresponding relation of classification is stored in the corresponding lists, simultaneously file is write the corresponding storing media in corresponding classification and path;
When step 203. user stores behavior once more, with the optional tabulation contrast of the result and the last storage of record;
Step 204. is according to comparing result, and whether the branch class.path that judges is selected has existed in the branch the classpath list that can supply store, and is execution in step 205 then, otherwise execution in step 207;
Step 205. is according to 204 comparing result; Further relatively whether the file type of user's storage exists corresponding relation with the source in corresponding lists; If the file that the user stores; There has been corresponding relation in the types and sources; (corresponding relation of saying here is meant; The relation in file type and source and classification and path; Can be understood as; The types and sources attribute with file; Classification when storing with this document and path deposit relation list or database in as one group of data); Then execution in step 206, otherwise execution in step 207;
Whether step 206. inquiry user uses last classification and path; If the user has selected be; Then the user is selected to add to available storage class through tabulation; Simultaneously there are corresponding lists in the file of this storage and the corresponding relation of classification; And file write storing media. otherwise, execution in step 207;
Step 207. shows that with tabulation a user selects with the branch class.path that new supplied user stores, and initiate is placed above the other things;
If the classification during the type of step 208. file is tabulated with the basis has corresponding relation in logic, then only show the new option that adds the classification of tabulating and corresponding relation is arranged in logic.(logical relation that refers to here is, the non-computer classification of file, but according to the normal logic of things, for example, the file of storage is a MP3 format, and MP3 is the form of audio frequency, so the classification of corresponding relation in logic and path are exactly audio frequency)
The step that file stores under server cooperates as shown in Figure 3:
After step 301. from the user storage behavior took place for the first time, weekly the time of agreement, client declared at client part whether produced new corresponding relation, if then carry out 302, if otherwise carry out 303.
After step 304. server was received the class table of client, the corresponding relation that all clients are transmitted up took statistics.
After step 306. client is received the synchrodata of server, when the user has stored the file that satisfies 85% corresponding relation, then in the displaying tabulation that offers the user, add the pairing classification of this document.
Embodiment one:
When the user need store, the user had stored file A by name, the file of MP3 format, and when the user stored behavior for the first time, the software of use this method should offer the option of user base; These options should comprise at least, software, recreation, music; Video, text, at this moment the user need to select the position of storage, if the user has selected audio frequency; Then write down A, type MP3, originating is network address B, stores the data that are categorized as audio frequency.If the user does not use the classification of acquiescence, and has selected newly-built classification, and, then write down A for classification is named as new song, type MP3, originating is network address B, stores to be categorized as new song.The format name that stores a MP3 once more as the user is during the file of X, if last user selects is audio frequency, then whether the direct access inquiry user uses last classification to store; If the last selection of user is newly-built new song classification, then continue to check the source of X, if the source of X equally also is B; Then whether prompting uses last storage classification, if not, then show to the user; The option that can supply, the option that can supply here then are the option of audio frequency and new song.After the user used this software that the storage behavior took place, if the time in time in enough weeks, then user end to server was submitted the relation list of client records to.After receiving tabulation; Server can compare the tabulation of all submissions; If file A derives from B, be exceeded 80% user and all existed in the new song classification; Then server and client during communication, can be done one of basis classification to the client of using for the first time this storage method with this minute homochronousness once more.So far, through above-mentioned description, the tabulation on basis; Concern the process that continuous evolution is all arranged with user's in the client file; And progressively reach, each file all has comparatively accurate classification, makes to store the displaying be sorted on the small-size equipment and the problem of complex operation is able to solve.
Embodiment two:
When the user need store, the user had stored file D by name, and the file of video format when the user stores behavior for the first time, uses the software of this method should offer the most basic option of user; These options should comprise at least, software, recreation, music; Video, text, at this moment the user need to select the position of storage, if the user has selected video; Then write down D, type video, originating is network address E, stores the data that are categorized as video.If the user does not use the classification of acquiescence, and has selected newly-built classification, and, then write down D for classification is named as F, type video, originating is network address E, stores to be categorized as F.When the user stored a video format title once more the file of T, if last user selects is video, then whether the direct access inquiry user used last classification to store; If that the last selection of user is newly-built F, then continue to check the source of T, if the source of T equally also is E; Then whether prompting uses last storage classification, if not, then show the option that can supply to the user; The option that can supply here then is the option of video and F.After the user used this software that the storage behavior took place, if the time in time in enough weeks, then user end to server was submitted the relation list of client records to.After receiving tabulation; Server can compare the tabulation of all submissions; If file D derives from E, be exceeded 80% user and all existed in the F classification; Then server and client during communication, can be done one of basis classification to the client of using for the first time this storage method with this minute homochronousness once more.So far, through above-mentioned description, the tabulation on basis; Concern the process that continuous evolution is all arranged with user's in the client file; And progressively reach, each file all has comparatively accurate classification, makes to store the displaying be sorted on the small-size equipment and the problem of complex operation is able to solve.
Embodiment three:
When the user need store, the user had stored file C by name, the file of game format, and when the user stored behavior for the first time, the software of use this method should offer the option of user base; These options should comprise at least, software, recreation, music; Video, text, at this moment the user need to select the position of storage, if the user has selected recreation; Then write down C, type game, originating is network address G, stores the data that are categorized as recreation.If the user does not use the classification of acquiescence, and has selected newly-built classification, and, then write down C for classification is named as new game, type game, originating is network address J, stores to be categorized as new game.When the user stored a game format title once more the file of Z, if last user selects is recreation, then whether the direct access inquiry user used last classification to store; If the last selection of user is newly-built new game, then continue to check the source of Z, if the source of Z equally also is J; Then whether prompting uses last storage classification, if not, then show the option that can supply to the user; The option that can supply here then is the option of recreation and new game.After the user used this software that the storage behavior took place, if the time in time in enough weeks, then user end to server was submitted the relation list of client records to.After receiving tabulation; Server can compare the tabulation of all submissions; If file C derives from G, be exceeded 80% user and all existed in the new game classification; Then server and client during communication, can be done one of basis classification to the client of using for the first time this storage method with this minute homochronousness once more.So far, through above-mentioned description, the tabulation on basis; Concern the process that continuous evolution is all arranged with user's in the client file; And progressively reach, each file all has comparatively accurate classification, makes to store the displaying be sorted on the small-size equipment and the problem of complex operation is able to solve.
Claims (4)
1. one kind is used for the method that file stores, and it is characterized in that, comprising:
Step 1: when using for the first time, offer the attribute basis classification of user, as the default categories of initial file system according to file;
Step 2: when the user carries out the file storage, be shown to the user base classification and supply the user to select, and the option of newly-built classification is provided;
Step 3: write file, and the storage path of recording user and corresponding classification;
Step 4:, compare with initial file system default categories with the storage path and the classification of record in the step 3;
Step 5: record comparison back result;
Step 6: when the user stores behavior once more, inquire the destination path that the user selects once more according to the result who writes down in the step 5.
2. a kind of according to claim 1 method that is used for the file storage, it is characterized in that: step 6 comprises two kinds of situation:
A: if the record result in the step 5 is whether the user has used and the identical classification of basis classification that provides, then point out the user to make and continue to use identical storage path last time;
B: if the result of record does in the step 5, the user is newly-built, and a classification comes storage file separately, then is shown to the newly-built classification options of user base classification and user as the storage path.
3. a kind of according to claim 1 method that is used for the file storage is characterized in that: also comprise:
Step 7: in the process of carrying out f repeatedly, be the cycle with the week, client regularly stores the result of comparison in classification and the step 5 to server transmission user's file.
Step 8: at server end; With the week is the cycle; The regular data with collecting in the step 6 are added up, and with using the highest a kind of pair relationhip of classification to carry out record in the file of associated user's storage, up to setting up All Files the unique classification coupling are arranged all; And regularly data are returned to client, upgrade the basis classification of client.
4. like each described method of claim 1 to 3, it is characterized in that the basis classification of said file attribute comprises: picture, software, recreation, audio frequency, video and text.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210164869.0A CN102722543B (en) | 2012-05-24 | 2012-05-24 | Method for storing files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210164869.0A CN102722543B (en) | 2012-05-24 | 2012-05-24 | Method for storing files |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102722543A true CN102722543A (en) | 2012-10-10 |
CN102722543B CN102722543B (en) | 2014-12-24 |
Family
ID=46948304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210164869.0A Expired - Fee Related CN102722543B (en) | 2012-05-24 | 2012-05-24 | Method for storing files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102722543B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658153A (en) * | 2015-11-02 | 2017-05-10 | 腾讯科技(北京)有限公司 | Data processing method and equipment |
CN102929963B (en) * | 2012-10-11 | 2019-03-29 | 北京百度网讯科技有限公司 | A kind of setting method and system of website type |
CN109589609A (en) * | 2018-12-14 | 2019-04-09 | 北京智明星通科技股份有限公司 | A kind of storage method, device and the terminal of user's game data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501243A (en) * | 2002-11-18 | 2004-06-02 | 英保达股份有限公司 | Automatic categorizing and storing system and method for electronic file |
CN1996283A (en) * | 2005-12-31 | 2007-07-11 | 英保达股份有限公司 | File sorting-save management method and system therefor |
CN101751437A (en) * | 2008-12-17 | 2010-06-23 | 中国科学院自动化研究所 | Web active retrieval system based on reinforcement learning |
CN101788904A (en) * | 2009-01-22 | 2010-07-28 | 珠海金山软件股份有限公司 | Method and system for intelligent display of interactive behaviors |
-
2012
- 2012-05-24 CN CN201210164869.0A patent/CN102722543B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501243A (en) * | 2002-11-18 | 2004-06-02 | 英保达股份有限公司 | Automatic categorizing and storing system and method for electronic file |
CN1996283A (en) * | 2005-12-31 | 2007-07-11 | 英保达股份有限公司 | File sorting-save management method and system therefor |
CN101751437A (en) * | 2008-12-17 | 2010-06-23 | 中国科学院自动化研究所 | Web active retrieval system based on reinforcement learning |
CN101788904A (en) * | 2009-01-22 | 2010-07-28 | 珠海金山软件股份有限公司 | Method and system for intelligent display of interactive behaviors |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929963B (en) * | 2012-10-11 | 2019-03-29 | 北京百度网讯科技有限公司 | A kind of setting method and system of website type |
CN106658153A (en) * | 2015-11-02 | 2017-05-10 | 腾讯科技(北京)有限公司 | Data processing method and equipment |
CN106658153B (en) * | 2015-11-02 | 2019-09-20 | 腾讯科技(北京)有限公司 | A kind of data processing method and equipment |
CN109589609A (en) * | 2018-12-14 | 2019-04-09 | 北京智明星通科技股份有限公司 | A kind of storage method, device and the terminal of user's game data |
Also Published As
Publication number | Publication date |
---|---|
CN102722543B (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10255108B2 (en) | Parallel execution of blockchain transactions | |
US10061849B2 (en) | Override of automatically shared meta-data of media | |
RU2701124C2 (en) | Composite functions of partition | |
US7793268B2 (en) | Method, system, and program product for composing a virtualized computing environment | |
JP2015513713A5 (en) | ||
CN104881466B (en) | The processing of data fragmentation and the delet method of garbage files and device | |
CN108491333A (en) | Method for writing data, device, equipment and the medium of buffer circle | |
CN103020025A (en) | Techniques for the automatic animation of document content | |
CN107977396B (en) | Method and device for updating data table of KeyValue database | |
CN102272751B (en) | Data integrity in a database environment through background synchronization | |
CN101840400A (en) | Multilevel classification retrieval method and system | |
CN104182252A (en) | App version incremental updating method | |
US20120290916A1 (en) | Unified file arrangements | |
CN110737682A (en) | cache operation method, device, storage medium and electronic equipment | |
CN102708197A (en) | Multimedia file management method and device | |
CN105530272A (en) | Method and device for application data synchronization | |
CN110083579A (en) | Incremental data synchronous method, apparatus, computer equipment and computer storage medium | |
EP3374858B1 (en) | Creating and modifying applications from a mobile device | |
CN110019111A (en) | Data processing method, device, storage medium and processor | |
KR102251276B1 (en) | Bind-based integrated content processing apparatus | |
CN103150145A (en) | Parallel processing of semantically grouped data in data warehouse environments | |
CN102722543B (en) | Method for storing files | |
CN104158899A (en) | Mobile terminal information pushing method, device and system based on service-oriented architecture (SOA) | |
CN103513984A (en) | Techniques for accessing graphical processing unit memory by application | |
US8244728B2 (en) | Method and apparatus for data exploration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141224 Termination date: 20190524 |
|
CF01 | Termination of patent right due to non-payment of annual fee |