CN102722543B - Method for storing files - Google Patents

Method for storing files Download PDF

Info

Publication number
CN102722543B
CN102722543B CN201210164869.0A CN201210164869A CN102722543B CN 102722543 B CN102722543 B CN 102722543B CN 201210164869 A CN201210164869 A CN 201210164869A CN 102722543 B CN102722543 B CN 102722543B
Authority
CN
China
Prior art keywords
user
classification
file
storage
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.)
Expired - Fee Related
Application number
CN201210164869.0A
Other languages
Chinese (zh)
Other versions
CN102722543A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210164869.0A priority Critical patent/CN102722543B/en
Publication of CN102722543A publication Critical patent/CN102722543A/en
Application granted granted Critical
Publication of CN102722543B publication Critical patent/CN102722543B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

A kind of method stored for file
Technical field
The present invention relates to the storage of mobile device file, particularly relate to a kind of method stored for file of handheld mobile device.
Background technology
Along with the generally production of the handheld device such as smart mobile phone, panel computer and popular, and the development of the technology such as chip, storing media, touch screen, the storage area in handheld device is increasing, and a large amount of files can be stored in the handheld device by user.But, due to the change of input mode, and the limitation of small screen size, make user can not use original storage method glibly as on PC equipment, that is: original storage method is not very suitable for handheld device.
Generally, traditional storage flow process and method: be from external reception file, or from inside mobile unloading file, can according to the rule of file system during boundary, the position of storage is selected in the path providing the whole disk of user for user, the structure in this path is generally extensible tree structure, on the equipment of the large scale display screens such as PC, such expansion mode can allow user choose the destination folder needing storage easily, localizing objects storage location, after user chooses destination folder, carry out actual file again and store address transfer and write, and each occur above-mentioned when needing to carry out write operation to storing media (needs store and select storage path), capital prompting user, can't according to the similarity in logic of reality, same property, reduce the prompting to user, make the repetition of whole flow process and step machinery.But he has benefited from the system mechanism of conventional P C, screen size and mode of operation (entity mouse-keyboard), the puzzlement that user can rely on multiwindow to bring to alleviate this mechanical step.On a handheld device, because be subject to the restriction of screen size and control mode, Gong the storage path that display is detailed is difficult to; In addition, due under limited screen size, show detailed tree-like storage path, the physical size that each node in path can be allowed to show on screen little to can not see by user clearly, can not click equally and obtain; Meanwhile, because above-mentioned restriction, and handheld device shows and only shows the characteristic of a window on existing system, on a handheld device when repeated selecting paths, and can be more loaded down with trivial details.When general storage method and routing, if want to solve this situation, need user to have gem-pure document classification logic, 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 stored for file, its object is to the problem solving prior art, a kind of storage and the management that also can complete file when not using complete tree path are provided, and the method that the file reaching the effect the same with using complete tree path stores.
The technical solution used in the present invention is:
For the method that file stores, comprising:
Step 1: when first time uses, is supplied to the attribute base categories (picture, software, game, audio frequency, video, text) of user according to file as the default categories of initial file system;
Step 2: when user carries out file storage, is shown to user base classification and selects for user, and provide the option of newly-built classification;
Step 3: writing in files, and the storage path of recording user and corresponding classification;
Step 4: by the storage path of record in step 3 and classification, compare with initial file system default categories;
Step 5: result after record comparison;
Step 6: when storage behavior occurs user again, inquires according to the result of record in step 5 destination path that user selects again.
Described step 6 comprises two kinds of situations:
A: if the record result in step 5 is that user employs the classification identical with the base categories provided, then whether prompting user makes the storage path that continuation uses last time identical;
B: if the result of record is that user is newly-built, and a classification carrys out storage file separately in step 5, be then shown to user base classification and the newly-built classification options of user as storing path.
Step 7: repeatedly performing in the process of step 6 take week as the cycle, and the file that client regularly transmits user to server stores the result of classifying with comparison in step 5;
Step 8: at server end, take week as the cycle, regular adds up the data of collecting in step 6, the highest a kind of pair relationhip of classification is used to carry out record in file associated user stored, unique classification is all had to mate until set up All Files, and regularly data are returned to client, upgrade the base categories of client.
The base categories of described file attribute comprises: picture, software, game, audio frequency, video and text.
Beneficial effect of the present invention: the mode that the invention provides the new storage path that can be used for user to select, do not re-use the method in the storage path providing complete, in such storage process, the requirement of step to screen display size of select target reduces accordingly, it is more suitable to make to apply in the handheld device of small screen size, and the effect that fullpath is the same can be reached, simultaneously because introduce the contrast storing path (classification), can the number of steps of whole process that stores of minimizing user gradually, improve the service efficiency of software, enhance Consumer's Experience, user can easier be selected in option, and the complete logic containing selection when user stores, strengthen Consumer's Experience, improve the service efficiency of software further, save the time, because decrease actual step, software does not need to obtain complete tree-like storage path again, only need the definition from oneself and reading recording, decrease the step of traversal totally, decrease the consumption to performance simultaneously, effectively can improve corresponding speed and the operational efficiency of software.
Accompanying drawing explanation
Fig. 1 is the method schematic diagram that file of the present invention stores;
Fig. 2 is for realizing schematic flow sheet of the present invention;
Schematic flow sheet when Fig. 3 is server cooperating.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.But those of ordinary skill in the art should be realized that, each embodiment can do further combinations and permutations.Therefore, embodiment described herein is intended to contain all such changes, modifications and variations fallen in the protection domain of appended claims.In addition, " comprise " with regard to the term used in instructions or claims, the mode that contains of this word is similar to term and " comprises ", just as " comprising, " be in the claims used as link word explain such.In addition, be used in any one term in the instructions of claims " or " be to represent " non-exclusionism or ".
As shown in Figure 1, method provided by the present invention comprises the following steps:
Step 101. provides the classification on basis to select when storing for user to user
Step 102. compares according to the selection of user and last classification (classification contrasted after first time is base categories)
When storage behavior occurs step 103. user again, be prompted to the new classification of user according to comparison result
Step 104. circulates execution 102 ~ 103 step, optimum results.
Step 105. sends the result optimized to server, add up for server
Step 106. server, by the result after statistics and corresponding relation, regularly returns to client, with the base categories of new client.
As shown in Figure 2, realize this method and need following steps:
Step 201. user first time use in the software of this storage method there is storage behavior time, provide the classification of user base and store path (game, software, audio frequency, video, text);
Step 202. adds the selection record of user to available storage path list, is stored in corresponding lists simultaneously, file is write the corresponding storing media in corresponding classification and path simultaneously by the corresponding relation of this file stored and classification;
When storage behavior occurs step 203. user again, the result of record and the last optional list of storage are contrasted;
Step 204., according to comparing result, judges whether point class.path that user selects has existed and in point the classpath list stored, can be perform step 205, otherwise perform step 207;
Step 205, according to the comparing result of 204, whether file type and the source of comparing user's storage further exist corresponding relation in corresponding lists, if the file that user stores, there is corresponding relation in the types and sources, (corresponding relation said here refers to, the relation in file type and source and classification and path, can be understood as, by the types and sources attribute of file, classification when storing with this file and path as one group of data stored in relation list or database), then perform step 206, otherwise perform step 207;
Step 206. inquires whether user uses last classification and path, if user have selected be, then user is selected to add available storage class to through list, be there is corresponding lists in the corresponding relation of this file stored and classification simultaneously, and file is write storing media. otherwise, perform step 207;
Point class.path that new Gong user stores by step 207. and a list display user select, and are placed above the other things by the item newly added;
If the classification in the type of step 208. file and basic list has corresponding relation in logic, then only display newly adds the classification of list and has the option of corresponding relation in logic.(logical relation referred to here is, the classification of the non-computer of file, but according to the normal logic of things, such as, 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 coordinates as shown in Figure 3:
After step 301. first time storage behavior occurs from user, the time of arranging weekly, client sentences whether create new corresponding relation at client part, if it is performs 302, if otherwise perform 303.
Mapping table is also sent to server by step 302. client-requested server.
Step 303. client waits for the arrival of designated time next time.
After step 304. server receives the class table of client, the corresponding relation that all client transmission come up is taken statistics.
Step 305. is according to statistics, if there is document source, type, the corresponding relation of point class.path reaches 85%, then by this book of final entry, be synchronized to client simultaneously.
After step 306. client receives the synchrodata of server, when user stores the file of the corresponding relation of satisfied 85%, then in the displaying list being supplied to user, add the classification corresponding to this file.
Embodiment one:
When user needs to store time, user stores a file and is called A, the file of MP3 format, when user storage behavior occurs at first time, use the software of this method should be supplied to the option of user base, these options should at least comprise, software, game, music, video, text, at this moment user selects the position needing storage, if user have selected audio frequency, then record A, type MP3, source is network address B, stores the data being categorized as audio frequency.If user does not use the classification of acquiescence, and have selected newly-built classification, and be named as new song for classification, then record A, type MP3, originate as network address B, store and be categorized as new song.When the file of the format name that user stores a MP3 again X, if last user's selection is audio frequency, then whether direct access inquiry user uses last classified storage, if user's last time selection is newly-built new song classification, then continue the source checking X, if the source of X is equally also B, then points out and whether use last storage classification, if not, then show to user, the option that can supply, the option that can supply here then, the option of audio frequency and new song.After user uses this software that storage behavior occurred, if the time of enough one week of time, then user end to server submits the relation list of client records to.After receiving list, the list of all submissions can compare by server, if file A, derive from B, the user being exceeded 80% is present in new song classification, then server and client again communication time, this classification can be synchronized to first time use the client of this storage method to make one of base categories.So far, through above-mentioned description, the tabulation on basis, the process of constantly evolving is had with the document relationship of user in client, and progressively reach, each file has classifies comparatively accurately, and the problem making storage be sorted in displaying on small-size equipment and complex operation is solved.
Embodiment two:
When user needs to store time, user stores a file and is called D, the file of video format, when user storage behavior occurs at first time, use the software of this method should be supplied to the most basic option of user, these options should at least comprise, software, game, music, video, text, at this moment user selects the position needing storage, if user have selected video, then record D, type video, source is network address E, stores the data being categorized as video.If user does not use the classification of acquiescence, and have selected newly-built classification, and be named as F for classification, then record D, type video, originate as network address E, store and be categorized as F.When user stores the file of a video format title T again, if what last user selected is video, then whether direct access inquiry user uses last classified storage, if that user's last time selection is newly-built F, then continues the source checking T, if the source of T is equally also E, then point out and whether use last storage classification, if not, then the option that can supply is shown to user, the option that can supply here then, the option of video and F.After user uses this software that storage behavior occurred, if the time of enough one week of time, then user end to server submits the relation list of client records to.After receiving list, the list of all submissions can compare by server, if file D, derive from E, the user being exceeded 80% is present in F classification, then server and client again communication time, this classification can be synchronized to first time use the client of this storage method to make one of base categories.So far, through above-mentioned description, the tabulation on basis, the process of constantly evolving is had with the document relationship of user in client, and progressively reach, each file has classifies comparatively accurately, and the problem making storage be sorted in displaying on small-size equipment and complex operation is solved.
Embodiment three:
When user needs to store time, user stores a file and is called C, the file of game format, when user storage behavior occurs at first time, use the software of this method should be supplied to the option of user base, these options should at least comprise, software, game, music, video, text, at this moment user selects the position needing storage, if user have selected game, then record C, type game, source is network address G, stores the data being categorized as game.If user does not use the classification of acquiescence, and have selected newly-built classification, and be named as new game for classification, then record C, type game, originate as network address J, store and be categorized as new game.When user stores the file of a game format title Z again, if what last user selected is game, then whether direct access inquiry user uses last classified storage, if user's last time selection is newly-built new game, then continues the source checking Z, if the source of Z is equally also J, then point out and whether use last storage classification, if not, then the option that can supply is shown to user, the option that can supply here then, game and the option of new game.After user uses this software that storage behavior occurred, if the time of enough one week of time, then user end to server submits the relation list of client records to.After receiving list, the list of all submissions can compare by server, if file C, derive from G, the user being exceeded 80% is present in new game classification, then server and client again communication time, this classification can be synchronized to first time use the client of this storage method to make one of base categories.So far, through above-mentioned description, the tabulation on basis, the process of constantly evolving is had with the document relationship of user in client, and progressively reach, each file has classifies comparatively accurately, and the problem making storage be sorted in displaying on small-size equipment and complex operation is solved.

Claims (2)

1., for the method that file stores, it is characterized in that, comprising:
Step 1: when first time uses, be supplied to the attribute base categories of user according to file, as the default categories of initial file system;
Step 2: when user carries out file storage, is shown to user base classification and selects for user, and provide the option of newly-built classification;
Step 3: writing in files, and the storage path of recording user and corresponding classification;
Step 4: by the storage path of record in step 3 and classification, compare with initial file system default categories;
Step 5: result after record comparison;
Step 6: when storage behavior occurs user again, inquires according to the result of record in step 5 destination path that user selects again;
Step 6 comprises two kinds of situations:
A: if the record result in step 5 is that user employs the classification identical with the base categories provided, then whether prompting user makes the storage path that continuation uses last time identical;
B: if the result of record is that user is newly-built, and a classification carrys out storage file separately in step 5, be then shown to user base classification and the newly-built classification options of user as storing path;
Step 7: repeatedly performing in the process of 6 take week as the cycle, and the file that client regularly transmits user to server stores the result of classifying with comparison in step 5;
Step 8: at server end, take week as the cycle, regular adds up the data of collecting in step 6, the highest a kind of pair relationhip of classification is used to carry out record in file associated user stored, unique classification is all had to mate until set up All Files, and regularly data are returned to client, upgrade the base categories of client.
2. as claimed in claim 1 a kind of for file store method, it is characterized in that, the base categories of described file attribute comprises: picture, software, game, audio frequency, video and text.
CN201210164869.0A 2012-05-24 2012-05-24 Method for storing files Expired - Fee Related CN102722543B (en)

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 CN102722543A (en) 2012-10-10
CN102722543B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
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

Citations (3)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788904A (en) * 2009-01-22 2010-07-28 珠海金山软件股份有限公司 Method and system for intelligent display of interactive behaviors

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN102722543A (en) 2012-10-10

Similar Documents

Publication Publication Date Title
US11853354B2 (en) Override of automatically shared meta-data of media
CN102521416B (en) Data correlation query method and data correlation query device
RU2701124C2 (en) Composite functions of partition
TWI420328B (en) Device specific content indexing for optimized device operation
CN104731896B (en) A kind of data processing method and system
CN104881466B (en) The processing of data fragmentation and the delet method of garbage files and device
CN103020025A (en) Techniques for the automatic animation of document content
CN105094707A (en) Method and device for storing and reading data
CN103164525B (en) WEB application dissemination method and device
US10909086B2 (en) File lookup in a distributed file system
CN105373608A (en) Input method based scene-mode content pushing method and system
CN110083579A (en) Incremental data synchronous method, apparatus, computer equipment and computer storage medium
CN104111994A (en) Label data screening method and device based on mixed data source
CN103049444A (en) Storing method and system of data information classification structure
CN103257987A (en) Rule-based distributed log service implementation method
CN105138649A (en) Data search method and device and terminal
CN110019111A (en) Data processing method, device, storage medium and processor
CN109726295A (en) Brand knowledge map display methods, device, figure server and storage medium
CN102722543B (en) Method for storing files
CN103123651A (en) Method of rapidly searching multiple same-kind paper, device and mobile equipment
US11157456B2 (en) Replication of data in a distributed file system using an arbiter
CN102932416A (en) Intermediate data storage method, processing method and device in information flow task
CN107408239B (en) Architecture for managing mass data in communication application through multiple mailboxes
CN104391947A (en) Real-time processing method and system of mass GIS (geographic information system) data
US20080033948A1 (en) Storage apparatus and method therefor

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