CN105022819A - File storage method and apparatus - Google Patents

File storage method and apparatus Download PDF

Info

Publication number
CN105022819A
CN105022819A CN201510417066.5A CN201510417066A CN105022819A CN 105022819 A CN105022819 A CN 105022819A CN 201510417066 A CN201510417066 A CN 201510417066A CN 105022819 A CN105022819 A CN 105022819A
Authority
CN
China
Prior art keywords
file
filename
store path
receiving
user
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.)
Pending
Application number
CN201510417066.5A
Other languages
Chinese (zh)
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.)
Meizu Technology China Co Ltd
Original Assignee
Meizu Technology China 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 Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510417066.5A priority Critical patent/CN105022819A/en
Publication of CN105022819A publication Critical patent/CN105022819A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/185Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention discloses a file storage method and apparatus, which can save time, are simple and convenient to operate and improve user experience. The method disclosed by the embodiment of the present invention comprises: receiving a storage instruction on a first file; inquiring a second file matched with an attribute of the first file; and displaying a storage path of the inquired second file for a user, or/and opening a folder where the second file is stored.

Description

A kind of method that file is preserved and device
Technical field
The present invention relates to computer realm, particularly relate to method and the device of the preservation of a kind of file.
Background technology
User, after having downloaded picture, program or document, needs them to save.
Carrying out in the process of preserving at present, first method recommends the store path given tacit consent to, such as a system disk to user; Second method recommends the last store path preserved to user; In addition, except system recommendation store path, the files such as picture, program or document can also be preserved by self-defining method by user.
But the store path of system recommendation is not often the store path that user wants, meanwhile, then need user's locating file to press from both sides by self-defined method of carrying out storing and preserve file to be stored, lose time, troublesome poeration, Consumer's Experience is low.
Summary of the invention
Embodiments provide method and the device of the preservation of a kind of file, can save time, easy and simple to handle, improve Consumer's Experience.
In view of this, a kind of method that first aspect present invention provides file to preserve, can comprise:
Receive the storage instruction to the first file;
The second file that inquiry matches with the attribute of described first file;
The store path of described second file inquired is showed user, or/and open the file storing described second file.
In conjunction with first aspect present invention, in the first embodiment of first aspect present invention, can comprise:
The attribute of described first file comprises the first filename of the first file;
The second file that inquiry matches with the attribute of described first file, comprising:
Obtain described first filename of described first file;
Inquiry reaches the second filename of predetermined threshold value with the matching degree of described first filename;
Obtain second file corresponding with described second filename inquired.
In conjunction with first aspect present invention, the first embodiment of first aspect present invention, in the second embodiment of first aspect present invention, can comprise:
Described open the file storing described second file after, also comprise:
Receive user and confirm operation to first of described storage instruction;
After receiving described first confirmation operation, described first file is stored in the file of described second file.
In conjunction with first aspect present invention, the first embodiment of first aspect present invention, in the 3rd embodiment of first aspect present invention, can comprise:
The described store path by described second file inquired shows user to comprise:
If the number of the store path of described second file is two or more, then show at least two store paths;
The described store path by described second file inquired also comprises after showing user:
Receive user and confirm operation to second of described storage instruction;
After receiving described second confirmation operation, from each store path of described second file, determine that described second confirms to be stored in the target store path that operation is corresponding described first file in file corresponding to described target store path.
In conjunction with first aspect present invention, the first embodiment of first aspect present invention, in the 4th embodiment of first aspect present invention, can comprise:
The described file storing described second file of opening comprises:
If the number of the file of described second file is two or more, then show at least two files;
Described open the file storing described second file after, described method also comprises:
Receive user and confirm operation to the 3rd of described storage instruction the;
After receiving described 3rd confirmation operation, from each file of described second file, determine that the described 3rd confirms to be stored in the destination folder that operation is corresponding described first file in described destination folder.
In view of this, the device that second aspect present invention provides a kind of file to preserve, can comprise:
First receiving element, for receiving the storage instruction to the first file;
Query unit, for inquiring about the second file matched with the attribute of described first file;
Processing unit, for the store path of described second file inquired is showed user, or/and open the file storing described second file.
In conjunction with second aspect present invention, in the first embodiment of second aspect present invention, can comprise:
If the attribute of described first file comprises the first filename of the first file, then described query unit is specifically for obtaining described first filename of described first file; Inquiry reaches the second filename of predetermined threshold value with the matching degree of described first filename; Obtain second file corresponding with described second filename inquired.
In conjunction with second aspect present invention, the first embodiment of second aspect present invention, in the second embodiment of second aspect present invention, can comprise:
Second receiving element, confirms operation for receiving user to first of described storage instruction;
First storage unit, after receiving described first confirmation operation, is stored in described first file in the file of described second file.
In conjunction with second aspect present invention, the first embodiment of second aspect present invention, in the 3rd embodiment of second aspect present invention, can comprise:
If described processing unit is two or more specifically for the number of the store path of described second file, then show at least two store paths;
Described device also comprises:
3rd receiving element, confirms operation for receiving user to second of described storage instruction;
First determining unit, after receiving described second confirmation operation, determines that from each store path of described second file described second confirms the target store path that operation is corresponding;
Second storage unit, for being stored in described first file in file corresponding to described target store path.
In conjunction with second aspect present invention, the first embodiment of second aspect present invention, in the 4th embodiment of second aspect present invention, can comprise:
If described processing unit is two or more specifically for the number of the file of described second file, then show at least two files;
Described device also comprises:
4th receiving element, confirms operation for receiving user to the 3rd of described storage instruction the;
Second determining unit, after receiving described 3rd confirmation operation, determines that from each file of described second file the described 3rd confirms the destination folder that operation is corresponding;
3rd storage unit, for being stored in described first file in described destination folder.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: receive the storage instruction to the first file, the second file that inquiry matches with the attribute of the first file, shows user by the store path of the second file, and/or opens the file of storage second file.Due to the attributes match of the second file and the first file, user has and may be ready this first file to be kept in the file of storage second file greatly or in storage area that the store path of the second file is corresponding.Therefore, it is possible to save time, easy and simple to handle, improve Consumer's Experience.
Term " first ", " second ", " the 3rd " " 4th " etc. (if existence) in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.The embodiments described herein should be appreciated that the data used like this can be exchanged in the appropriate case, so that can be implemented with the order except the content except here diagram or description.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Refer to Fig. 1, the method that embodiment of the present invention file is preserved comprises:
101, the storage instruction to the first file is received;
In the present embodiment, the first file can be obtained by download, and also can pass through memory device (such as USB flash disk, storage card) copy and obtain, the first file comprises picture and word file.
It should be noted that, above citing should not be construed as and limits the uniqueness of the embodiment of the present invention.
102, the second file of matching of inquiry and the attribute of the first file;
After reception is to the storage instruction of the first file, obtain the attribute of the first file, and the second file that inquiry matches with the attribute of the first file.
It should be noted that, above-mentioned attribute comprises filename, if such as the first file is word file, filename can be: the first file .doc; If the first file is picture, filename can be: picture .jpg.In addition, the first file herein and picture can be named according to individual demand, also can name according to the naming method of system default.Extension name generally by Operation system setting, but when the user desires, also can change extension name.
If above-mentioned coupling refers to there is the attribute of the second file and the attribute similarity of the first file, such as: if attribute is filename, by the similarity degree of the filename of the filename and the second file that compare the first file, similarity degree is higher, matching degree is also higher, when similarity degree reaches threshold limit value, then determine that the attribute of the first file and the second file match.
103, the store path of the second file inquired is showed user, or/and open the file of storage second file.
After inquiring the second file having and match with the attribute of the first file, obtain the store path of this second file, and this store path is showed user, or/and open the file of storage second file.
It should be noted that, the storage area that the store path of this second file is corresponding can be file, local disk and cloud dish etc.
In the present embodiment, receive the storage instruction to the first file, the second file that inquiry matches with the attribute of the first file, the store path of the second file is showed user, and/or opens the file of storage second file.Due to the attributes match of the second file and the first file, user has and may be ready this first file to be kept in the file of storage second file greatly or in storage area that the store path of the second file is corresponding.Therefore, it is possible to save time, easy and simple to handle, improve Consumer's Experience.
For the ease of understanding, being described in detail below, referring to Fig. 2 to the method that the file in the embodiment of the present invention is preserved, the method that embodiment of the present invention file is preserved comprises:
201, the storage instruction to the first file is received;
In the present embodiment, step 201 is similar with step 101, repeats no more herein.
202, the first filename of the first file is obtained;
First file can be text document, picture, program, the triliteral extension name of usual tool, is used to indicate file type (such as: picture usually preserves in the jpeg-format and file extent is called .jpg).
203, the matching degree of inquiry and the first filename reaches the second filename of predetermined threshold value;
Suppose that the first file is called: a kind of method .doc measuring network performance, can pass through searching keyword (network performance, measurement .doc) and search associated documents name, now predetermined threshold value can be thought: there are at least two keywords in above-mentioned three keywords in filename.
When there are at least two keywords in above-mentioned three keywords in the second filename, then determine that the matching degree of the second filename and the first filename reaches predetermined threshold value.
204, second file corresponding with the second filename inquired is obtained;
According to the second filename, determine the second file that the second filename is corresponding.
205, the file of storage second file is opened;
After acquisition second file, open the file of storage second file.
206, receive user and confirm operation to first of above-mentioned storage instruction;
After the file opening storage second file, if user determines the first file to be stored in the file of the second file, then receive user and confirm operation to first of above-mentioned storage instruction.First confirms to be operating as the operation be stored in by the first file in the file of the second file.
207, after receiving the first confirmation operation, the first file is stored in the file of the second file.
Receive after confirming operation from user's first, the first file is stored in the file of the second file.
In the present embodiment, when the attribute of the first file is the first filename of the first file, inquiry reaches the second filename of predetermined threshold value with the matching degree of the first filename, and then determine the second file that the second filename is corresponding, provide the method for the second file that a kind of inquiry matches with the attribute of the first file.In addition, the present embodiment also add: receive user and confirm operation to store instruction first, the first file is stored in the follow-up flow process in the file of the second file, makes the present invention more specifically.
For the ease of understanding, being described in detail below, referring to Fig. 3 to the method that the file in the embodiment of the present invention is preserved, the method that embodiment of the present invention file is preserved comprises:
301, the storage instruction to the first file is received;
302, the first filename of the first file is obtained;
303, the matching degree of inquiry and the first filename reaches the second filename of predetermined threshold value;
304, second file corresponding with the second filename inquired is obtained;
In the present embodiment, step 301 ~ step 304 is similar with step 201 ~ step 204, repeats no more herein.
If the number of the store path of 305 second files is two or more, then show at least two store paths;
If the second file exists two or more, then the number of the store path of the second file also may be two or more, is shown by the store path of the second file of all existence, or device chooses wherein several store path, and shows.
306, receive user and confirm operation to store instruction second;
When there is multiple store path, user chooses one of them store path according to individual demand, and make device receive user and confirm operation to store instruction second, this second confirmation is operating as the operation that user chooses one of them store path.
307, after receiving the second confirmation operation, determine to be stored in the target store path that the second confirmation operation is corresponding the first file in file corresponding to target store path from each store path of the second file.
Confirm operation according to second, from each store path of the second file, determine target store path, the first file is stored in file corresponding to target store path.
It should be noted that, the storage area that the present embodiment hypothetical target store path is corresponding is file, should not be construed as and limits the uniqueness of the embodiment of the present invention.
Optionally, step 305 can also be: if the number of the file of the second file is two or more, then show at least two files;
Now, step 306 is: receive user and confirm operation to the store instruction the 3rd;
And step 307 is: after receiving the 3rd confirmation operation, from each file of the second file, determine that the 3rd confirms to be stored in the destination folder that operation is corresponding the first file in destination folder.
Above-mentioned 3rd confirms to be operating as the operation that user chooses one of them file.
In the present embodiment, when the number of the store path of the second file or the file of the second file is two or more, choose one of them store path or one of them file stores the first file, improve the integrity of scheme.
For the ease of understanding, with the application scenarios of a reality, the method that the file in the embodiment of the present invention is preserved is described below:
User A has downloaded a word file, the file of this word file is called: a kind of method .doc measuring network performance, after download, the device that file is preserved searches associated documents by searching keyword (network performance, measurement .doc), and at least two keywords had in three keywords are satisfactory word file, after finding satisfactory two parts of word files, the file showing these two parts of word files is called: a kind ofly improve the method .doc of network performance and conventional measuring equipment .doc; And determine the file 1 that these two filenames are corresponding and file 2 respectively, determine the file 1 at file 1 place, and determine the file 2 at file 2 place, and display file folder 1 and file 2.Receive after the word file of download is stored in the request of file 1 by user A, the word file of download is stored in file 1.
Introduce the device that the file in the embodiment of the present invention is preserved below, refer to Fig. 4, the device that embodiment of the present invention file is preserved comprises:
First receiving element 401, for receiving the storage instruction to the first file;
Query unit 402, for inquiring about the second file matched with the attribute of the first file;
Processing unit 403, for the store path of the inquire second file is showed user, or/and open the file of storage second file.
Optionally, if the attribute of the first file comprises the first filename of the first file, then query unit 402 is specifically for obtaining the first filename of the first file; Inquiry reaches the second filename of predetermined threshold value with the matching degree of the first filename; Obtain second file corresponding with the second filename inquired.
Optionally, the present embodiment can also comprise:
Second receiving element 404, confirms operation for receiving user to store instruction first;
First storage unit 405, after receiving the first confirmation operation, is stored in the first file in the file of the second file.
Optionally, if processing unit 403 is two or more specifically for the number of the store path of the second file, then at least two store paths are shown;
The present embodiment can also comprise:
3rd receiving element 406, confirms operation for receiving user to store instruction second;
First determining unit 407, after receiving the second confirmation operation, determines the target store path that the second confirmation operation is corresponding from each store path of the second file;
Second storage unit 408, for being stored in the first file in file corresponding to target store path.
Optionally, if processing unit 403 is two or more specifically for the number of the file of the second file, then at least two files are shown;
The present embodiment can also comprise:
4th receiving element 409, confirms operation for receiving user to the store instruction the 3rd;
Second determining unit 410, after receiving the 3rd confirmation operation, determines that from each file of the second file the 3rd confirms the destination folder that operation is corresponding;
3rd storage unit 411, for being stored in the first file in destination folder.
In the present embodiment, receive the storage instruction to the first file, the second file that inquiry matches with the attribute of the first file, the store path of the second file is showed user, and/or opens the file of storage second file.Due to the attributes match of the second file and the first file, user has and may be ready this first file to be kept in the file of storage second file greatly or in storage area that the store path of the second file is corresponding.Therefore, it is possible to save time, easy and simple to handle, improve Consumer's Experience.
For the ease of understanding, being described alternately between each unit of device with the application scenarios of a reality, the present embodiment file preserved below:
First receiving element 401 receives the storage instruction to the first file; Wherein the first file can be obtained by download, and also can pass through memory device (such as USB flash disk, storage card) copy and obtain, the first file comprises picture and word file.Query unit 402 obtains the first filename of the first file, and inquiry reaches the second filename of predetermined threshold value with the matching degree of the first filename; Suppose that the first file is called: a kind of method .doc measuring network performance, can pass through searching keyword (network performance, measurement .doc) and search associated documents name, now predetermined threshold value can be thought: there are at least two keywords in above-mentioned three keywords in filename.When there are at least two keywords in above-mentioned three keywords in the second filename, then determine that the matching degree of the second filename and the first filename reaches predetermined threshold value.According to the second filename, determine the second file that the second filename is corresponding.If the second file exists two or more, then the number of the store path of the second file also may be two or more, and the store path of the second file existed all shows by processing unit 403.When there is multiple store path, user chooses one of them store path according to individual demand, and make the 3rd receiving element 406 receive user to the confirmation operation storing instruction, this confirmation is operating as the operation that user chooses one of them store path.According to confirmation operation, the first determining unit 407 determines target store path from each store path of the second file, and the first file is stored in file corresponding to target store path by the second storage unit 408.
The embodiment of the present invention also provides a kind of server, refers to Fig. 5, and in the embodiment of the present invention, server comprises: receiver 501 and processor 502;
Wherein, above-mentioned processor 502, performs for controlling: receive the storage instruction to the first file; The second file that inquiry matches with the attribute of the first file; The store path of the second file inquired is showed user, or/and open the file of storage second file.
The embodiment of the present invention additionally provides the specific implementation of the second file that inquiry matches with the attribute of the first file, as follows: above-mentioned processor 502, perform specifically for controlling: if the attribute of the first file comprises the first filename of the first file, then obtain the first filename of the first file; Inquiry reaches the second filename of predetermined threshold value with the matching degree of the first filename; Obtain second file corresponding with the second filename inquired.
The embodiment of the present invention additionally provides the flow process after the file opening storage second file, as follows: above-mentioned processor 502, performs specifically for controlling: receive user and confirm operation to store instruction first; After receiving the first confirmation operation, the first file is stored in the file of the second file.
The embodiment of the present invention additionally provides the specific implementation store path of the second file inquired being showed user, and the flow process after the store path of the second file inquired showed user, as follows: above-mentioned processor 502, perform specifically for controlling: if the number of the store path of the second file is two or more, then show at least two store paths; Receive user and confirm operation to store instruction second; After receiving the second confirmation operation, determine to be stored in the target store path that the second confirmation operation is corresponding the first file in file corresponding to target store path from each store path of the second file.
The embodiment of the present invention additionally provides the specific implementation of the file opening storage second file, and the flow process after the file opening storage second file, as follows: above-mentioned processor 502, perform specifically for controlling: if the number of the file of the second file is two or more, then show at least two files; Receive user and confirm operation to the store instruction the 3rd; After receiving the 3rd confirmation operation, from each file of the second file, determine that the 3rd confirms to be stored in the destination folder that operation is corresponding the first file in destination folder.
Above-mentioned each specific implementation with reference to preceding method embodiment, can repeat no more herein.
The embodiment of the present invention also provides a kind of server, refers to Fig. 6, and in the embodiment of the present invention, server comprises:
Fig. 6 is a kind of server architecture schematic diagram that the embodiment of the present invention provides, this server 600 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 601 (such as, one or more processors) and storer 602, one or more store the storage medium 605 (such as one or more mass memory units) of application program 603 or data 604.Wherein, storer 602 and storage medium 605 can be of short duration storages or store lastingly.The program being stored in storage medium 605 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 601 can be set to communicate with storage medium 605, and server 600 performs a series of command operatings in storage medium 602.
Server 600 can also comprise one or more power supplys 606, one or more wired or wireless network interfaces 607, one or more IO interface 608, and/or, one or more operating systems 609, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Step in above-described embodiment performed by server can based on the server architecture shown in this Fig. 6.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is embodiment of the present invention method flow schematic diagram;
Fig. 2 is embodiment of the present invention method flow schematic diagram;
Fig. 3 is embodiment of the present invention method flow schematic diagram;
Fig. 4 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 5 is embodiment of the present invention server architecture schematic diagram;
Fig. 6 is embodiment of the present invention server architecture schematic diagram.
Embodiment
Embodiments provide method and the device of the preservation of a kind of file, can save time, easy and simple to handle, improve Consumer's Experience.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.

Claims (10)

1. a method for file preservation, is characterized in that, comprising:
Receive the storage instruction to the first file;
The second file that inquiry matches with the attribute of described first file;
The store path of described second file inquired is showed user, or/and open the file storing described second file.
2. method according to claim 1, is characterized in that,
The attribute of described first file comprises the first filename of the first file;
The second file that inquiry matches with the attribute of described first file, comprising:
Obtain described first filename of described first file;
Inquiry reaches the second filename of predetermined threshold value with the matching degree of described first filename;
Obtain second file corresponding with described second filename inquired.
3. method according to claim 1 and 2, is characterized in that,
Described open the file storing described second file after, also comprise:
Receive user and confirm operation to first of described storage instruction;
After receiving described first confirmation operation, described first file is stored in the file of described second file.
4. method according to claim 1 and 2, is characterized in that,
The described store path by described second file inquired shows user to comprise:
If the number of the store path of described second file is two or more, then show at least two store paths;
The described store path by described second file inquired also comprises after showing user:
Receive user and confirm operation to second of described storage instruction;
After receiving described second confirmation operation, from each store path of described second file, determine that described second confirms to be stored in the target store path that operation is corresponding described first file in file corresponding to described target store path.
5. method according to claim 1 and 2, is characterized in that,
The described file storing described second file of opening comprises:
If the number of the file of described second file is two or more, then show at least two files;
Described open the file storing described second file after, described method also comprises:
Receive user and confirm operation to the 3rd of described storage instruction the;
After receiving described 3rd confirmation operation, from each file of described second file, determine that the described 3rd confirms to be stored in the destination folder that operation is corresponding described first file in described destination folder.
6. a device for file preservation, is characterized in that, comprising:
First receiving element, for receiving the storage instruction to the first file;
Query unit, for inquiring about the second file matched with the attribute of described first file;
Processing unit, for the store path of described second file inquired is showed user, or/and open the file storing described second file.
7. method according to claim 6, is characterized in that, if the attribute of described first file comprises the first filename of the first file, then described query unit is specifically for obtaining described first filename of described first file; Inquiry reaches the second filename of predetermined threshold value with the matching degree of described first filename; Obtain second file corresponding with described second filename inquired.
8. the method according to claim 6 or 7, is characterized in that, described device also comprises:
Second receiving element, confirms operation for receiving user to first of described storage instruction;
First storage unit, after receiving described first confirmation operation, is stored in described first file in the file of described second file.
9. the method according to claim 6 or 7, is characterized in that, if described processing unit is two or more specifically for the number of the store path of described second file, then shows at least two store paths;
Described device also comprises:
3rd receiving element, confirms operation for receiving user to second of described storage instruction;
First determining unit, after receiving described second confirmation operation, determines that from each store path of described second file described second confirms the target store path that operation is corresponding;
Second storage unit, for being stored in described first file in file corresponding to described target store path.
10. the method according to claim 6 or 7, is characterized in that, if described processing unit is two or more specifically for the number of the file of described second file, then shows at least two files;
Described device also comprises:
4th receiving element, confirms operation for receiving user to the 3rd of described storage instruction the;
Second determining unit, after receiving described 3rd confirmation operation, determines that from each file of described second file the described 3rd confirms the destination folder that operation is corresponding;
3rd storage unit, for being stored in described first file in described destination folder.
CN201510417066.5A 2015-07-15 2015-07-15 File storage method and apparatus Pending CN105022819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510417066.5A CN105022819A (en) 2015-07-15 2015-07-15 File storage method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510417066.5A CN105022819A (en) 2015-07-15 2015-07-15 File storage method and apparatus

Publications (1)

Publication Number Publication Date
CN105022819A true CN105022819A (en) 2015-11-04

Family

ID=54412788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510417066.5A Pending CN105022819A (en) 2015-07-15 2015-07-15 File storage method and apparatus

Country Status (1)

Country Link
CN (1) CN105022819A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760533A (en) * 2016-03-08 2016-07-13 广东欧珀移动通信有限公司 Photo management method and photo management device
CN106168966A (en) * 2016-06-30 2016-11-30 维沃移动通信有限公司 A kind of file search method and mobile terminal
CN106294592A (en) * 2016-07-28 2017-01-04 珠海市魅族科技有限公司 A kind of file classifying method and device
CN106354804A (en) * 2016-08-26 2017-01-25 乐视控股(北京)有限公司 File download processing method and device thereof
CN107196850A (en) * 2017-05-19 2017-09-22 网易(杭州)网络有限公司 A kind of method and apparatus for preserving Email attachment
CN107291891A (en) * 2017-06-21 2017-10-24 深圳传音通讯有限公司 The picture management method and electric terminal of electric terminal
CN108009255A (en) * 2017-12-07 2018-05-08 珠海市魅族科技有限公司 A kind of file memory method and device, terminal and readable storage medium storing program for executing
CN108021591A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 File store path method and device for planning
CN108292321A (en) * 2016-04-28 2018-07-17 华为技术有限公司 A kind of file saving method and electronic equipment
CN108984557A (en) * 2017-05-31 2018-12-11 南宁富桂精密工业有限公司 File saving method, server and computer readable storage medium
CN109002554A (en) * 2018-08-09 2018-12-14 佛山长意云信息技术有限公司 A kind of file management method, device, computer equipment and storage medium
CN112131181A (en) * 2020-09-30 2020-12-25 北京字跳网络技术有限公司 Storage path display method and device and electronic equipment
CN112765104A (en) * 2021-01-28 2021-05-07 维沃移动通信有限公司 File saving method, device, equipment and storage medium
CN112765104B (en) * 2021-01-28 2024-05-24 维沃移动通信有限公司 File storage method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744085A (en) * 2004-08-31 2006-03-08 佳能株式会社 Image file management apparatus and method
CN102360353A (en) * 2011-09-27 2012-02-22 汉王科技股份有限公司 Storage method and device of scanned file as well as scanning equipment
US20120173511A1 (en) * 2009-09-18 2012-07-05 Hitachi Solutions, Ltd. File search system and program
CN102789492A (en) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 File mobility management method and device
CN103399875A (en) * 2013-07-12 2013-11-20 深圳市金立通信设备有限公司 File managing method and device
CN104765845A (en) * 2015-04-17 2015-07-08 魅族科技(中国)有限公司 Split screen display method and device for terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744085A (en) * 2004-08-31 2006-03-08 佳能株式会社 Image file management apparatus and method
US20120173511A1 (en) * 2009-09-18 2012-07-05 Hitachi Solutions, Ltd. File search system and program
CN102360353A (en) * 2011-09-27 2012-02-22 汉王科技股份有限公司 Storage method and device of scanned file as well as scanning equipment
CN102789492A (en) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 File mobility management method and device
CN103399875A (en) * 2013-07-12 2013-11-20 深圳市金立通信设备有限公司 File managing method and device
CN104765845A (en) * 2015-04-17 2015-07-08 魅族科技(中国)有限公司 Split screen display method and device for terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760533B (en) * 2016-03-08 2019-05-03 Oppo广东移动通信有限公司 A kind of photo management method and device
CN105760533A (en) * 2016-03-08 2016-07-13 广东欧珀移动通信有限公司 Photo management method and photo management device
US11308029B2 (en) 2016-04-28 2022-04-19 Huawei Technologies Co., Ltd. File saving method and electronic device
CN108292321B (en) * 2016-04-28 2021-06-15 华为技术有限公司 File saving method and electronic equipment
CN108292321A (en) * 2016-04-28 2018-07-17 华为技术有限公司 A kind of file saving method and electronic equipment
CN106168966A (en) * 2016-06-30 2016-11-30 维沃移动通信有限公司 A kind of file search method and mobile terminal
CN106294592A (en) * 2016-07-28 2017-01-04 珠海市魅族科技有限公司 A kind of file classifying method and device
CN106354804A (en) * 2016-08-26 2017-01-25 乐视控股(北京)有限公司 File download processing method and device thereof
CN108021591A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 File store path method and device for planning
CN107196850A (en) * 2017-05-19 2017-09-22 网易(杭州)网络有限公司 A kind of method and apparatus for preserving Email attachment
CN108984557A (en) * 2017-05-31 2018-12-11 南宁富桂精密工业有限公司 File saving method, server and computer readable storage medium
CN107291891A (en) * 2017-06-21 2017-10-24 深圳传音通讯有限公司 The picture management method and electric terminal of electric terminal
CN108009255A (en) * 2017-12-07 2018-05-08 珠海市魅族科技有限公司 A kind of file memory method and device, terminal and readable storage medium storing program for executing
CN109002554A (en) * 2018-08-09 2018-12-14 佛山长意云信息技术有限公司 A kind of file management method, device, computer equipment and storage medium
CN112131181A (en) * 2020-09-30 2020-12-25 北京字跳网络技术有限公司 Storage path display method and device and electronic equipment
CN112765104A (en) * 2021-01-28 2021-05-07 维沃移动通信有限公司 File saving method, device, equipment and storage medium
CN112765104B (en) * 2021-01-28 2024-05-24 维沃移动通信有限公司 File storage method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105022819A (en) File storage method and apparatus
US10230668B2 (en) Information replying method and apparatus
US20160203191A1 (en) Recommendation system with metric transformation
CN109033360B (en) Data query method, device, server and storage medium
US9116938B2 (en) Updating index information when adding or removing documents
CN109766436A (en) A kind of matched method and apparatus of data element of the field and knowledge base of tables of data
CN103518187A (en) Method and system for information modeling and applications thereof
WO2018133648A1 (en) Search method and apparatus, and non-temporary computer-readable storage medium
US11907659B2 (en) Item recall method and system, electronic device and readable storage medium
US11232153B2 (en) Providing query recommendations
CN107609106B (en) Similar article searching method, device, equipment and storage medium
CN104750872A (en) Method and device for searching service object
CN104462430A (en) Relational database data processing method and device
US20170139913A1 (en) Method and system for data assignment in a distributed system
CN105404625A (en) Application program searching method and system
CN104866985A (en) Express bill number identification method, device and system
US20170046447A1 (en) Information Category Obtaining Method and Apparatus
US20140310279A1 (en) MANAGEMENT OF FILE STORAGE Locations
US8750629B2 (en) Method for searching and ranking images clustered based upon similar content
CN109977135A (en) A kind of data query method, apparatus and server
CN105989007B (en) File path processing method and device
US20130151517A1 (en) File search apparatus and method using tag graph
CN105354342A (en) Retrieval method and mobile terminal
EP2535826A1 (en) Method and system for data synchronization including file system abstraction
CN108108379B (en) Keyword word expansion method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151104

RJ01 Rejection of invention patent application after publication