CN102870115A - Storage method for network disk files, and server - Google Patents

Storage method for network disk files, and server Download PDF

Info

Publication number
CN102870115A
CN102870115A CN201280000563XA CN201280000563A CN102870115A CN 102870115 A CN102870115 A CN 102870115A CN 201280000563X A CN201280000563X A CN 201280000563XA CN 201280000563 A CN201280000563 A CN 201280000563A CN 102870115 A CN102870115 A CN 102870115A
Authority
CN
China
Prior art keywords
file
catalogue
directory
storage
classification
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
CN201280000563XA
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102870115A publication Critical patent/CN102870115A/en
Pending legal-status Critical Current

Links

Images

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

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

A storage method for network disk files, includes: obtaining the file name of an file a user requires to upload; segmenting the file name, for obtaining words corresponding to the file; determining the category of the file associated with, based on the words; determining to-be-selected directories associated with the category; storing the file to at least one storage directory of the to-be-selected directories. The network disk server corresponding to the storage method of network disk files is also disclosed. By using the present invention, network disk storage file, it is possible to reduce the time for the user to select the storage directory.

Description

Net dish file memory method and server
Technical field
The present invention relates to infotech, be specifically related to net dish file memory method and server.
Background technology
The net dish claims again Network U plate, network hard disc, is the online storage service that some network companies release.To the user provide file storage, access, backup, the file management facilities such as share, very convenient to use.Flourish along with Internet services such as community, blog, ecommerce uses the user of net dish more and more, and certainly, the file that the user stores in the net dish is also more and more.
Because it is more and more to store the file of net dish into, in order better the file of storing to be managed, the user generally can adopt the mode of catalogue to come storage file.Like this, when the user uploads a file to net dish server, can select a storage directory or a newly-built storage directory to store this document in all catalogues from the net dish.
But when the level more or catalogue of the catalogue quantity in user's the net dish was more, the file that suitable storage directory storage is uploaded may need to spend many time of user in order to select.
Summary of the invention
The embodiment of the invention provides net dish file memory method and server, during storage file, can reduce the time of user selection storage directory in the net dish.
According to a first aspect of the present invention, a kind of net dish file memory method is provided, comprising:
Obtain the file name of the file that the user need to upload;
Described file name is carried out participle, obtain the word corresponding with described file;
Determine the classification of described file association according to institute's predicate;
Determine to be associated with the catalogue to be selected of described classification;
Store described file in the described catalogue to be selected at least one storage directory.
Optionally, described file being stored at least one storage directory in the described catalogue to be selected takes a step forward and comprises:
Calculate the file directory matching degree of described file and described catalogue to be selected;
Described at least one storage directory that described file is stored in the described catalogue to be selected is specially:
From described catalogue to be selected, determine at least one storage directory according to calculating the file directory matching degree that obtains, store described file into described at least one definite storage directory.
Optionally, the file directory matching degree of the described file of described calculating and described catalogue to be selected is specially:
Use weight corresponding to each classification, calculate the classification of the described file association classification related with described catalogue to be selected common factor weight and, with described weight with as the file directory matching degree.
According to a first aspect of the invention or the third implementation of the second implementation of the first implementation of first aspect or first aspect, described catalogue to be selected comprises the catalogue that catalogue that catalogue that catalogue that the user creates or system recommendation create or user create and system recommendation create.
Optionally, it is characterized in that, the quantity of described storage directory is at least two;
Described at least one storage directory that described file is stored in the described catalogue to be selected is specially:
Calculate the metadata of described file, the described file of storage in a storage directory of described at least two storage directories, the metadata of the described file of storage in other storage directories of described at least two storage directories.
Optionally, after the newly-built catalogue of user, calculate file that described user stores and the file directory matching degree of described newly-built catalogue in the net dish;
The file directory matching degree is satisfied pre-conditioned file store newly-built catalogue into.
According to a second aspect of the present invention, a kind of net dish server is provided, comprising:
Acquiring unit is used for obtaining the file name of the file that the user need to upload;
The participle unit is used for the file name that described acquiring unit obtains is carried out participle, obtains the word corresponding with described file;
Determining unit is for the classification of determining described file association according to the word of described participle unit acquisition; Determine to be associated with the catalogue to be selected of described classification;
Storer is at least one storage directory that described file is stored into the definite catalogue to be selected of described determining unit.
Optionally, also comprise:
Counter is for the file directory matching degree of calculating the definite catalogue to be selected of described file and described determining unit;
Described storer specifically is used for: determine at least one storage directory according to calculating the file directory matching degree that obtains from described catalogue to be selected, store described file into described at least one definite storage directory.
Optionally, described calculating appliance body is used for: use weight corresponding to each classification, calculate the classification of the described file association classification related with described catalogue to be selected common factor weight and, with described weight with as the file directory matching degree.
Optionally, the quantity of described storage directory is at least two;
Described storer specifically is used for: calculate the metadata of described file, the described file of storage in a storage directory of described at least two storage directories, the metadata of the described file of storage in other storage directories of described at least two storage directories.
Optionally, described counter also is used for after the newly-built catalogue of user, calculates file that described user stores in the net dish and the file directory matching degree of newly-built catalogue;
Described storer is used for that also the file directory matching degree is satisfied pre-conditioned file and stores described newly-built catalogue into.
Can find out from the above technical scheme that the embodiment of the invention provides, because net dish server can obtain the word corresponding with file according to the file name of file in the embodiment of the invention, and then the classification of acquisition file association, also can determine to be associated with the catalogue to be selected of the classification of file association, thereby file can be stored at least one storage directory in the catalogue to be selected, so that the user is when upload file, the storage directory that does not need select File, and file can be stored to the storage directory that net dish server is determined, so that the user is in the net dish during storage file, can reduce the time of user selection storage directory, improve user's experience.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of the net dish file memory method that Fig. 1 provides for one embodiment of the invention;
The process flow diagram of the net dish file memory method that Fig. 2 provides for another embodiment of the present invention;
The structural drawing of the net dish server that Fig. 3 provides for one embodiment of the invention;
The structural drawing of the net dish server that Fig. 4 provides for another embodiment of the present invention;
The structural drawing of the net dish server that Fig. 5 provides for another embodiment of the present invention;
The structural drawing of the net dish server that Fig. 6 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Elder generation's net dish file memory method of providing of the embodiment of the invention, Fig. 1 have been described the flow process of the net dish file memory method that one embodiment of the invention provides, and what this embodiment described is the treatment scheme of net dish server, and this embodiment comprises:
101, obtain the file name of the file that the user need to upload.
In one embodiment, net dish server can after having obtained the file that the user need to upload, obtain the file name of this document.
In another embodiment, the user is before arriving net dish server with File Upload, need first the relevant information with file, send to net dish server such as information such as file name, file sizes, whether allow uploading of this document by the decision-making of net dish server, this moment, net dish server also can obtain the file name of file; Wherein, the effect of file size is: net dish server can judge determine whether this document has exceeded the size of the Single document that net dish server allows according to file size, and whether definite user's net dish also have enough space storage this document, thereby determine whether to allow uploading of this document.
Wherein, file name comprises primary filename and file extension.
102, file name is carried out participle, obtain the word corresponding with file.
Wherein, when file name was carried out participle, file extension was separately as a word, primary filename can be divided into one or more words according to the difference of primary filename.
For example, the file name of a file is " Liu Xiang hurdle .jpg ", then can obtain 3 words behind the participle: Liu Xiang, hurdle, jpg, wherein primary filename is divided into Liu Xiang and hurdles, file extent is called jpg; The file name of another file is " Great Wall .jpg ", then can obtain 2 words behind the participle: Great Wall and jpg, and wherein primary filename is Great Wall, file extent is called jpg.
103, the classification of file association determined in the word that obtains according to participle.
Dictionary of net dish server maintenance, each word has corresponding one or more classifications in this dictionary, therefore after to the file name participle, just can determine the classification corresponding to each word of participle acquisition, the set of the classification that each word is corresponding is the classification of file association.
For example, the classification of Liu Xiang's association is the famous person, and the related classification of hurdling is physical culture, and the classification of jpg association is picture.
104, determine to be associated with the catalogue to be selected of the classification of file association.
Because each catalogue has corresponding directory name, also can be to the directory name participle, so each directory name also can related classification.For example, the catalogue that the user creates in the net dish has directory of photos, star's catalogue, movie list, file catalogue etc., wherein star's catalogue is associated with famous person's classification, and directory of photos is associated with the picture classification, because file name has famous person, physical culture and picture for the classification of the file association of " Liu Xiang hurdle .jpg ", the catalogue to be selected that therefore can determine to be associated with the classification of this document association is exactly star's catalogue and directory of photos.
In another embodiment, if the catalogue that the user creates in the net dish has multistage catalogue, then when determining catalogue to be selected, determine that first first class catalogue can be associated with the classification of file association, only when some first class catalogues can be associated with the classification of file association, just continue in the subprime directory of this first class catalogue, to continue definite catalogue to be selected that can be associated with the classification of file association.For example, the first class catalogue that the user creates in the net dish has directory of photos, and movie list and file catalogue wherein have second-level directory star catalogue under the movie list; As seen, the first class catalogue that is associated with the classification of file association only has directory of photos, although and the star's catalogue under the movie list can be associated with the classification of file association, but movie list is not associated with the classification of file association, therefore the star's catalogue under the movie list be can not determine and is catalogue to be selected, like this, the catalogue to be selected of determining only has directory of photos.
Wherein, catalogue to be selected can comprise the catalogue that catalogue that catalogue that catalogue that the user creates or system recommendation create or user create and system recommendation create.Wherein, whether catalogue to be selected can comprise that the catalogue that system recommendation creates can be by the needs setting of user according to oneself.The catalogue that system recommendation creates refers to the catalogue that the user does not create in the net dish, but net dish server is after the classification of file association determined in the word that obtains according to participle, the catalogue to be selected that is not fit to storage this document in the catalogue that the discovery user creates, this moment, net dish server can recommend the user to create one or more catalogues according to the classification of file association, the catalogue of using system recommendation to create can reduce the user and create directory time of required cost.For example, the catalogue that the user creates in the net dish only has movie list and music catalog, and then for the file of file name for " Liu Xiang hurdle .jpg ", picture directory can be recommended to create by system.
For example, for the file of file name for " Liu Xiang hurdle .jpg ", the first class catalogue that the user creates in the net dish has directory of photos, movie list and file catalogue, second-level directory star catalogue is wherein arranged under the movie list, and then the first class catalogue of system recommendation establishment can be star's catalogue, and/or the physical culture catalogue, the second-level directory that system recommendation creates can be the star's catalogue under the directory of photos, and/or the physical culture catalogue under the directory of photos etc.Wherein, the catalogue that system recommendation creates is first class catalogue, or second-level directory, or first class catalogue and second-level directory can be by the needs setting of user according to oneself.Be understandable that, the present embodiment uses second-level directory to be described as example, can relate to three grades of catalogues in the practical application, level Four catalogue even the catalogue of deep layer level more.
105, file is stored at least one storage directory in the catalogue to be selected.
Particularly, net dish server can directly store file at least one storage directory in the catalogue to be selected; Net dish server also can be prompted to the user with catalogue to be selected, and as storage directory, net dish server stores file into the storage directory of user selection again by the one or more catalogues in the user selection catalogue to be selected.Wherein, whether net dish server can directly store file into storage directory and can be arranged according to the needs of oneself by the user.
When catalogue to be selected only had one, then storage directory also only had one, and can directly store file into this storage directory this moment.
When catalogue to be selected had at least two, different according to the quantity of storage directory, the mode that file is stored into storage directory also had difference.
For example, when storage directory only has one, can directly file be stored into this storage directory.
During at least two, this document can be stored respectively into this at least two storage directories in the quantity of storage directory.If a file only is stored in a catalogue, if the user has forgotten this document and specifically has been stored in which catalogue, then need in the catalogue that might store, search this document, and store respectively file into a plurality of catalogues, then exist, the user is uncertain when storing file into which catalogue, and the user can find this document in any one catalogue that may store, thereby reduce the time of user's locating file, improved user's experience.
In another embodiment, in the quantity of storage directory during at least two, net dish server can calculation document metadata, the described file of storage in a storage directory of at least two storage directories, and at least two storage directories the metadata of storage file in other storage directories except the storage directory of having stored file, wherein, the metadata of file comprises the absolute store path of file at least, so that net dish server can obtain file by the metadata of file; Thereby when at least two storage directories, storing a file, net dish server only need to be stored a file, reduced taking storage space, the user that also can be simultaneously can find this document in any one catalogue that may store, thereby reduce the time of user's locating file, improved user's experience.
From the above, net dish server can obtain the word corresponding with file according to the file name of file in the present embodiment, and then the classification of acquisition file association, also can determine to be associated with the catalogue to be selected of the classification of file association, thereby file can be stored at least one storage directory in the catalogue to be selected, so that the user is when upload file, the storage directory that does not need select File, and file can be stored to the storage directory that net dish server is determined, so that the user is in the net dish during storage file, can reduce the time of user selection storage directory, improve user's experience.
Fig. 2 has described the flow process of the net dish file memory method that another embodiment of the present invention provides, and what this embodiment described is the treatment scheme of net dish server, and this embodiment comprises:
201, obtain the file name of the file that the user need to upload.
In one embodiment, net dish server can after having obtained the file that the user need to upload, obtain the file name of this document.
In another embodiment, the user is before arriving net dish server with File Upload, need first the relevant information with file, send to net dish server such as information such as file name, file sizes, whether allow uploading of this document by the decision-making of net dish server, this moment, net dish server also can obtain the file name of file; Wherein, the effect of file size is: net dish server can judge determine whether this document has exceeded the size of the Single document that net dish server allows according to file size, and whether definite user's net dish also have enough space storage this document, thereby determine whether to allow uploading of this document.
Wherein, file name comprises primary filename and file extension.
202, file name is carried out participle, obtain the word corresponding with file.
Wherein, when file name was carried out participle, file extension was separately as a word, primary filename can be divided into one or more words according to the difference of primary filename.
For example, the file name of a file is " Liu Xiang hurdle .jpg ", then can obtain 3 words behind the participle: Liu Xiang, hurdle, jpg, wherein primary filename is divided into Liu Xiang and hurdles, file extent is called jpg; The file name of another file is " Great Wall .jpg ", then can obtain 2 words behind the participle: Great Wall and jpg, and wherein primary filename is Great Wall, file extent is called jpg.
203, the classification of file association determined in the word that obtains according to participle.
Dictionary of net dish server maintenance, each word has corresponding one or more classifications in this dictionary, therefore after to the file name participle, just can determine the classification corresponding to each word of participle acquisition, the set of the classification that each word is corresponding is the classification of file association.
For example, the classification of Liu Xiang's association is the famous person, and the related classification of hurdling is physical culture, and the classification of jpg association is picture.
204, determine to be associated with the catalogue to be selected of the classification of file association.
Because each catalogue has corresponding directory name, also can be to the directory name participle, so each directory name also can related classification.For example, the catalogue that the user creates in the net dish has directory of photos, star's catalogue, movie list, file catalogue etc., wherein star's catalogue is associated with famous person's classification, and directory of photos is associated with the picture classification, because file name has famous person, physical culture and picture for the classification of the file association of " Liu Xiang hurdle .jpg ", the catalogue to be selected that therefore can determine to be associated with the classification of this document association is exactly star's catalogue and directory of photos.
In another embodiment, if the catalogue that the user creates in the net dish has multistage catalogue, then when determining catalogue to be selected, determine that first first class catalogue can be associated with the classification of file association, only when some first class catalogues can be associated with the classification of file association, just continue in the subprime directory of this first class catalogue, to continue definite catalogue to be selected that can be associated with the classification of file association.For example, the first class catalogue that the user creates in the net dish has directory of photos, and movie list and file catalogue wherein have second-level directory star catalogue under the movie list; As seen, the first class catalogue that is associated with the classification of file association only has directory of photos, although and the star's catalogue under the movie list can be associated with the classification of file association, but movie list is not associated with the classification of file association, therefore the star's catalogue under the movie list be can not determine and is catalogue to be selected, like this, the catalogue to be selected of determining only has directory of photos.
Wherein, catalogue to be selected can comprise the catalogue that catalogue that catalogue that catalogue that the user creates or system recommendation create or user create and system recommendation create.Wherein, whether catalogue to be selected can comprise that the catalogue that system recommendation creates can be by the needs setting of user according to oneself.The catalogue that system recommendation creates refers to the catalogue that the user does not create in the net dish, but net dish server is after the classification of file association determined in the word that obtains according to participle, the catalogue to be selected that is not fit to storage this document in the catalogue that the discovery user creates, this moment, net dish server can recommend the user to create one or more catalogues according to the classification of file association, the catalogue of using system recommendation to create can reduce the user and create directory time of required cost.For example, the catalogue that the user creates in the net dish only has movie list and music catalog, and then for the file of file name for " Liu Xiang hurdle .jpg ", picture directory can be recommended to create by system.
For example, for the file of file name for " Liu Xiang hurdle .jpg ", the first class catalogue that the user creates in the net dish has directory of photos, movie list and file catalogue, second-level directory star catalogue is wherein arranged under the movie list, and then the first class catalogue of system recommendation establishment can be star's catalogue, and/or the physical culture catalogue, the second-level directory that system recommendation creates can be the star's catalogue under the directory of photos, and/or the physical culture catalogue under the directory of photos etc.Wherein, the catalogue that system recommendation creates is first class catalogue, or second-level directory, or first class catalogue and second-level directory can be by the needs setting of user according to oneself.Be understandable that, the present embodiment uses second-level directory to be described as example, can relate to three grades of catalogues in the practical application, level Four catalogue even the catalogue of deep layer level more.
205, the file directory matching degree of calculation document and catalogue to be selected.
The weighted value of each classification of net dish server maintenance, the weighted value of each classification can be identical, also can improve as required or reduce the weighted value of some classification, weighted value such as can suitably improving the classifications such as picture, video, document perhaps reduces the weighted value of the classifications such as star, amusement, physical culture etc.
When the file directory matching degree of calculation document and catalogue to be selected, specifically can use weight corresponding to each classification, the weight of the common factor of the classification that the classification of calculation document association is related with catalogue to be selected and, with weight with as the file directory matching degree, thereby obtain the file directory matching degree of this document and each catalogue, what the file directory matching degree was described is the matching relationship of file and catalogue, the file directory matching degree of a file and a catalogue is higher, and more suitable this catalogue that is stored in of this file is described.For example, the weight of supposing each classification all is 1, the catalogue that the user creates in the net dish is directory of photos, physical culture catalogue and movie list, wherein, the classification of directory of photos association is picture, the classification of physical culture catalogue association is physical culture, and the classification of movie list association is video, so the set that the classification of directory of photos association consists of is { picture }, the set that the classification of physical culture catalogue association consists of is { physical culture }, and the set that the classification of movie list association consists of is { video }; File name comprises the famous person for the classification of the file association of " Liu Xiang hurdle .jpg ", physical culture and picture, and then the set that consists of of the classification of this document association is { famous person, physical culture, picture }; Therefore, set { famous person, physical culture, picture } is { picture } with the common factor of set { picture }, weight and be 1; Set { famous person, physical culture, picture } is { physical culture } with the common factor of set { physical culture }, weight and be 1; Common factor and the sky of set { famous person, physical culture, picture } and set { video }, weight and be 0.If it is famous person's physical culture picture directory that a catalogue is arranged, then the classification of this catalogue association is famous person, physical culture and picture, then the set of the classification of this catalogue association formation is { famous person, physical culture, picture }, the set that the classification of this catalogue association consists of and file name are { famous person, physical culture for the intersection of sets collection that the classification of the file association of " Liu Xiang hurdle .jpg " consists of, picture }, weight and be 3 then.
Wherein, if the catalogue that the user creates in the net dish has multistage catalogue, then can the weight of the common factor of the classification of the calculation document association classification related with catalogue to be selected and the time, the common factor of the classification that the classification of elder generation's calculation document association is related with first class catalogue in the catalogue to be selected, and then calculating and the classification of file association have the common factor of the classification of the related classification of the subprime directory of first class catalogue of common factor and file association.For example, the weight of supposing each classification all is 1, the first class catalogue that the user creates in the net dish is directory of photos, physical culture catalogue and movie list, second-level directory star catalogue is arranged under the directory of photos, second-level directory star catalogue is arranged under the physical culture catalogue, second-level directory physical culture catalogue is arranged under the movie list, the set that the classification of each first class catalogue association consists of is respectively { picture }, { physical culture } and { video }, and the set that the classification of each second-level directory association consists of is respectively { famous person }, { famous person } and { physical culture }; File name is { famous person, physical culture, picture } for the set that the classification of the file association of " Liu Xiang hurdle .jpg " consists of; The intersection of sets collection that the set that the classification of elder generation's calculation document association the consists of classification related with each first class catalogue consists of, set { famous person, physical culture, picture } is { picture } with the common factor of gathering { picture }, weight and be 1; Set { famous person, physical culture, picture } is { physical culture } with the common factor of set { physical culture }, weight and be 1; Set { famous person, physical culture, picture } be sky with the common factor of set { video }, weight and be 0; Further calculate the common factor that the classification of the related classification of the subprime directory of first class catalogue of common factor and file association is arranged with the classification of file association, set { famous person, physical culture, picture } common factor of the set { famous person } that consists of of the classification related with the second-level directory star under the directory of photos is { famous person }, weight and be 1; The common factor of the set { famous person } of set { famous person, physical culture, picture } classification related with the second-level directory star under physical culture catalogue formation is { famous person }, weight and be 1; Calculate again weight corresponding to each second-level directory and with weight corresponding to corresponding first class catalogue and and, obtain the file directory matching value of file and each second-level directory, then file name is 1+1=2 for the file directory matching value of second-level directory star under the file of " Liu Xiang hurdle .jpg " and the directory of photos, and second-level directory star's file directory matching value also is 1+1=2 under this document and the physical culture catalogue.
206, from catalogue to be selected, determine at least one storage directory according to the file directory matching degree that calculate to obtain, store file in the catalogue to be selected at least one storage directory.
Concrete, when catalogue quantity to be selected is more, can sort from big to small according to the numerical value of file directory matching degree, the higher one or more catalogues of select File catalogue matching degree are as storage directory, wherein, specifically select several catalogues can be determined according to the needs of oneself by the user as storage directory.
From the above, net dish server can obtain the word corresponding with file according to the file name of file in the present embodiment, and then the classification of acquisition file association, also can determine to be associated with the catalogue to be selected of the classification of file association, thereby file can be stored at least one storage directory in the catalogue to be selected, so that the user is when upload file, the storage directory that does not need select File, and file can be stored to the storage directory that net dish server is determined, so that the user is in the net dish during storage file, can reduce the time of user selection storage directory, improve user's experience; And, can calculation document catalogue matching degree, thus from catalogue to be selected, determine the storage directory of suitable current file according to the file directory matching degree, so that the catalogue to be selected that the use system that the user can be relieved provides further improves the user and experiences.
In another embodiment of the present invention, after the newly-built catalogue of user, the file that the calculating user stores in the net dish and the file directory matching degree of newly-built catalogue; The file directory matching degree is satisfied pre-conditioned file store newly-built catalogue into, wherein pre-conditioned can be that the user arranges or system's setting, for example can be that the value of file directory matching degree is more than or equal to 2.Wherein, storing file into newly-built catalogue can be to preserve the copy of a this document in newly-built catalogue, also can be the metadata of preserving this document in newly-built catalogue.For example, the catalogue that the user creates in the net dish comprises film and picture, has all preserved a lot of files relevant with physical culture under these two catalogues; When the user newly-built during a catalogue physical culture, net dish server just can store the file relevant with physical culture under film and the picture directory into this newly-built catalogue physical culture.Need the file jump operation carried out after the newly-built catalogue of user thereby reduced, saved user's time, improved user's experience.
Introduce the net dish server that the embodiment of the invention provides, Fig. 3 has described the structure of the net dish server that one embodiment of the invention provides, and comprising again:
Acquiring unit 301 is used for obtaining the file name of the file that the user need to upload.
In one embodiment, acquiring unit 301 can after having obtained the file that the user need to upload, obtain the file name of this document.
In another embodiment, the user is before arriving net dish server with File Upload, need first the relevant information with file, send to net dish server such as information such as file name, file sizes, whether allow uploading of this document by the decision-making of net dish server, this moment, acquiring unit 301 also can obtain the file name of file; Wherein, the effect of file size is: net dish server can judge determine whether this document has exceeded the size of the Single document that net dish server allows according to file size, and whether definite user's net dish also have enough space storage this document, thereby determine whether to allow uploading of this document.
Wherein, file name comprises primary filename and file extension.
Participle unit 302 is used for the file name that acquiring unit 301 obtains is carried out participle, obtains the word corresponding with file.
Wherein, when file name was carried out participle, file extension was separately as a word, primary filename can be divided into one or more words according to the difference of primary filename.
For example, the file name of a file is " Liu Xiang hurdle .jpg ", then can obtain 3 words behind the participle: Liu Xiang, hurdle, jpg, wherein primary filename is divided into Liu Xiang and hurdles, file extent is called jpg; The file name of another file is " Great Wall .jpg ", then can obtain 2 words behind the participle: Great Wall and jpg, and wherein primary filename is Great Wall, file extent is called jpg.
Determining unit 303 is for the classification of determining file association according to the word of participle unit 302 acquisitions; Determine to be associated with the catalogue to be selected of the classification of file association.
Determining unit 303 is safeguarded a dictionary, each word has corresponding one or more classifications in this dictionary, therefore after to the file name participle, just can determine the classification corresponding to each word of participle acquisition, the set of the classification that each word is corresponding is the classification of file association.
For example, the classification of Liu Xiang's association is the famous person, and the related classification of hurdling is physical culture, and the classification of jpg association is picture.
Because each catalogue has corresponding directory name, also can be to the directory name participle, so each directory name also can related classification.For example, the catalogue that the user creates in the net dish has directory of photos, star's catalogue, movie list, file catalogue etc., wherein star's catalogue is associated with famous person's classification, and directory of photos is associated with the picture classification, because file name has famous person, physical culture and picture for the classification of the file association of " Liu Xiang hurdle .jpg ", the catalogue to be selected that therefore can determine to be associated with the classification of this document association is exactly star's catalogue and directory of photos.
In another embodiment, if the catalogue that the user creates in the net dish has multistage catalogue, then when determining catalogue to be selected, determine that first first class catalogue can be associated with the classification of file association, only when some first class catalogues can be associated with the classification of file association, just continue in the subprime directory of this first class catalogue, to continue definite catalogue to be selected that can be associated with the classification of file association.For example, the first class catalogue that the user creates in the net dish has directory of photos, and movie list and file catalogue wherein have second-level directory star catalogue under the movie list; As seen, the first class catalogue that is associated with the classification of file association only has directory of photos, although and the star's catalogue under the movie list can be associated with the classification of file association, but movie list is not associated with the classification of file association, therefore the star's catalogue under the movie list be can not determine and is catalogue to be selected, like this, the catalogue to be selected of determining only has directory of photos.
Wherein, catalogue to be selected can comprise the catalogue that catalogue that catalogue that catalogue that the user creates or system recommendation create or user create and system recommendation create.Wherein, whether catalogue to be selected can comprise that the catalogue that system recommendation creates can be by the needs setting of user according to oneself.The catalogue that system recommendation creates refers to the catalogue that the user does not create in the net dish, but determining unit 303 is after the classification of file association determined in the word that obtains according to participle, the catalogue to be selected that is not fit to storage this document in the catalogue that the discovery user creates, this moment, net dish server can recommend the user to create one or more catalogues according to the classification of file association, the catalogue of using system recommendation to create can reduce the user and create directory time of required cost.For example, the catalogue that the user creates in the net dish only has movie list and music catalog, and then for the file of file name for " Liu Xiang hurdle .jpg ", picture directory can be recommended to create by system.
For example, for the file of file name for " Liu Xiang hurdle .jpg ", the first class catalogue that the user creates in the net dish has directory of photos, movie list and file catalogue, second-level directory star catalogue is wherein arranged under the movie list, and then the first class catalogue of system recommendation establishment can be star's catalogue, and/or the physical culture catalogue, the second-level directory that system recommendation creates can be the star's catalogue under the directory of photos, and/or the physical culture catalogue under the directory of photos etc.Wherein, the catalogue that system recommendation creates is first class catalogue, or second-level directory, or first class catalogue and second-level directory can be by the needs setting of user according to oneself.Be understandable that, the present embodiment uses second-level directory to be described as example, can relate to three grades of catalogues in the practical application, level Four catalogue or even the catalogue of deep layer level more.
Storer 304 is used for file is stored at least one storage directory of the catalogue to be selected that determining unit 303 determines.
Particularly, storer 304 can directly store file at least one storage directory in the catalogue to be selected; Storer 304 also can be prompted to the user with catalogue to be selected, and as storage directory, storer 304 stores file into the storage directory of user selection again by the one or more catalogues in the user selection catalogue to be selected.Wherein, whether storer 304 can directly store file into storage directory and can be arranged according to the needs of oneself by the user.
When catalogue to be selected only had one, then storage directory also only had one, and can directly store file into this storage directory this moment.
When catalogue to be selected had at least two, different according to the quantity of storage directory, the mode that file is stored into storage directory also had difference.
For example, when storage directory only has one, can directly file be stored into this storage directory.
During at least two, this document can be stored respectively into this at least two storage directories in the quantity of storage directory.If a file only is stored in a catalogue, if the user has forgotten this document and specifically has been stored in which catalogue, then need in the catalogue that might store, search this document, and store respectively file into a plurality of catalogues, then exist, the user is uncertain when storing file into which catalogue, and the user can find this document in any one catalogue that may store, thereby reduce the time of user's locating file, improved user's experience.
In another embodiment, in the quantity of storage directory during at least two, storer 304 can calculation document metadata, the described file of storage in a storage directory of at least two storage directories, and at least two storage directories the metadata of storage file in other storage directories except the storage directory of having stored file, wherein, the metadata of file comprises the absolute store path of file at least, so that storer 304 can obtain file by the metadata of file; Thereby when at least two storage directories, storing a file, 304 a files of needs storage of storer, reduced taking storage space, the user that also can be simultaneously can find this document in any one catalogue that may store, thereby reduce the time of user's locating file, improved user's experience.
From the above, net dish server can obtain the word corresponding with file according to the file name of file in the present embodiment, and then the classification of acquisition file association, also can determine to be associated with the catalogue to be selected of the classification of file association, thereby file can be stored at least one storage directory in the catalogue to be selected, so that the user is when upload file, the storage directory that does not need select File, and file can be stored to the storage directory that net dish server is determined, so that the user is in the net dish during storage file, can reduce the time of user selection storage directory, improve user's experience.
Fig. 4 has described the structure of the net dish server that another embodiment of the present invention provides, and comprising:
Acquiring unit 401 is used for obtaining the file name of the file that the user need to upload.
In one embodiment, acquiring unit 301 can after having obtained the file that the user need to upload, obtain the file name of this document.
In another embodiment, the user is before arriving net dish server with File Upload, need first the relevant information with file, send to net dish server such as information such as file name, file sizes, whether allow uploading of this document by the decision-making of net dish server, this moment, acquiring unit 301 also can obtain the file name of file; Wherein, the effect of file size is: net dish server can judge determine whether this document has exceeded the size of the Single document that net dish server allows according to file size, and whether definite user's net dish also have enough space storage this document, thereby determine whether to allow uploading of this document.
Wherein, file name comprises primary filename and file extension.
Participle unit 402 is used for the file name that acquiring unit 401 obtains is carried out participle, obtains the word corresponding with file;
Wherein, when file name was carried out participle, file extension was separately as a word, primary filename can be divided into one or more words according to the difference of primary filename.
For example, the file name of a file is " Liu Xiang hurdle .jpg ", then can obtain 3 words behind the participle: Liu Xiang, hurdle, jpg, wherein primary filename is divided into Liu Xiang and hurdles, file extent is called jpg; The file name of another file is " Great Wall .jpg ", then can obtain 2 words behind the participle: Great Wall and jpg, and wherein primary filename is Great Wall, file extent is called jpg.
Determining unit 403 is for the classification of determining file association according to the word of participle unit 402 acquisitions; Determine to be associated with the catalogue to be selected of the classification of file association;
Determining unit 303 is safeguarded a dictionary, each word has corresponding one or more classifications in this dictionary, therefore after to the file name participle, just can determine the classification corresponding to each word of participle acquisition, the set of the classification that each word is corresponding is the classification of file association.
For example, the classification of Liu Xiang's association is the famous person, and the related classification of hurdling is physical culture, and the classification of jpg association is picture.
Because each catalogue has corresponding directory name, also can be to the directory name participle, so each directory name also can related classification.For example, the catalogue that the user creates in the net dish has directory of photos, star's catalogue, movie list, file catalogue etc., wherein star's catalogue is associated with famous person's classification, and directory of photos is associated with the picture classification, because file name has famous person, physical culture and picture for the classification of the file association of " Liu Xiang hurdle .jpg ", the catalogue to be selected that therefore can determine to be associated with the classification of this document association is exactly star's catalogue and directory of photos.
In another embodiment, if the catalogue that the user creates in the net dish has multistage catalogue, then when determining catalogue to be selected, determine that first first class catalogue can be associated with the classification of file association, only when some first class catalogues can be associated with the classification of file association, just continue in the subprime directory of this first class catalogue, to continue definite catalogue to be selected that can be associated with the classification of file association.For example, the first class catalogue that the user creates in the net dish has directory of photos, and movie list and file catalogue wherein have second-level directory star catalogue under the movie list; As seen, the first class catalogue that is associated with the classification of file association only has directory of photos, although and the star's catalogue under the movie list can be associated with the classification of file association, but movie list is not associated with the classification of file association, therefore the star's catalogue under the movie list be can not determine and is catalogue to be selected, like this, the catalogue to be selected of determining only has directory of photos.
Wherein, catalogue to be selected can comprise the catalogue that catalogue that catalogue that catalogue that the user creates or system recommendation create or user create and system recommendation create.Wherein, whether catalogue to be selected can comprise that the catalogue that system recommendation creates can be by the needs setting of user according to oneself.The catalogue that system recommendation creates refers to the catalogue that the user does not create in the net dish, but determining unit 303 is after the classification of file association determined in the word that obtains according to participle, the catalogue to be selected that is not fit to storage this document in the catalogue that the discovery user creates, this moment, net dish server can recommend the user to create one or more catalogues according to the classification of file association, the catalogue of using system recommendation to create can reduce the user and create directory time of required cost.For example, the catalogue that the user creates in the net dish only has movie list and music catalog, and then for the file of file name for " Liu Xiang hurdle .jpg ", picture directory can be recommended to create by system.
For example, for the file of file name for " Liu Xiang hurdle .jpg ", the first class catalogue that the user creates in the net dish has directory of photos, movie list and file catalogue, second-level directory star catalogue is wherein arranged under the movie list, and then the first class catalogue of system recommendation establishment can be star's catalogue, and/or the physical culture catalogue, the second-level directory that system recommendation creates can be the star's catalogue under the directory of photos, and/or the physical culture catalogue under the directory of photos etc.Wherein, the catalogue that system recommendation creates is first class catalogue, or second-level directory, or first class catalogue and second-level directory can be by the needs setting of user according to oneself.Be understandable that, the present embodiment uses second-level directory to be described as example, can relate to three grades of catalogues in the practical application, level Four catalogue or even the catalogue of deep layer level more.
Counter 404 is for the file directory matching degree of calculating the definite catalogue to be selected of described file and described determining unit.
Counter 404 can be safeguarded the weighted value of each classification, the weighted value of each classification can be identical, also can improve as required or reduce the weighted value of some classification, weighted value such as can suitably improving the classifications such as picture, video, document perhaps reduces the weighted value of the classifications such as star, amusement, physical culture etc.
Counter 404 can specifically be used for: use weight corresponding to each classification, the weight of the common factor of the classification that the classification of calculation document association is related with catalogue to be selected and, with weight with as the file directory matching degree, thereby obtain the file directory matching degree of this document and each catalogue, what the file directory matching degree was described is the matching relationship of file and catalogue, the file directory matching degree of a file and a catalogue is higher, and more suitable this catalogue that is stored in of this file is described.For example, the weight of supposing each classification all is 1, the first class catalogue that the user creates in the net dish is directory of photos, physical culture catalogue and movie list, second-level directory star catalogue is arranged under the directory of photos, second-level directory star catalogue is arranged under the physical culture catalogue, second-level directory physical culture catalogue is arranged under the movie list, the set that the classification of each first class catalogue association consists of is respectively { picture }, { physical culture } and { video }, and the set that the classification of each second-level directory association consists of is respectively { famous person }, { famous person } and { physical culture }; File name is { famous person, physical culture, picture } for the set that the classification of the file association of " Liu Xiang hurdle .jpg " consists of; The intersection of sets collection that the set that the classification of elder generation's calculation document association the consists of classification related with each first class catalogue consists of, set { famous person, physical culture, picture } is { picture } with the common factor of gathering { picture }, weight and be 1; Set { famous person, physical culture, picture } is { physical culture } with the common factor of set { physical culture }, weight and be 1; Set { famous person, physical culture, picture } be sky with the common factor of set { video }, weight and be 0; Further calculate the common factor that the classification of the related classification of the subprime directory of first class catalogue of common factor and file association is arranged with the classification of file association, set { famous person, physical culture, picture } common factor of the set { famous person } that consists of of the classification related with the second-level directory star under the directory of photos is { famous person }, weight and be 1; The common factor of the set { famous person } of set { famous person, physical culture, picture } classification related with the second-level directory star under physical culture catalogue formation is { famous person }, weight and be 1; Calculate again weight corresponding to each second-level directory and with weight corresponding to corresponding first class catalogue and and, obtain the file directory matching value of file and each second-level directory, then file name is 1+1=2 for the file directory matching value of second-level directory star under the file of " Liu Xiang hurdle .jpg " and the directory of photos, and second-level directory star's file directory matching value also is 1+1=2 under this document and the physical culture catalogue.
Storer 405 is used for calculating the file directory matching degree that obtains according to counter 404 and determines at least one storage directory from catalogue to be selected, stores file into definite at least one storage directory.
Concrete, when catalogue quantity to be selected is more, storer 405 can sort from big to small according to the numerical value of file directory matching degree, the higher one or more catalogues of select File catalogue matching degree are as storage directory, wherein, specifically select several catalogues can be determined according to the needs of oneself by the user as storage directory.
From the above, net dish server can obtain the word corresponding with file according to the file name of file in the present embodiment, and then the classification of acquisition file association, also can determine to be associated with the catalogue to be selected of the classification of file association, thereby file can be stored at least one storage directory in the catalogue to be selected, so that the user is when upload file, the storage directory that does not need select File, and file can be stored to the storage directory that net dish server is determined, so that the user is in the net dish during storage file, can reduce the time of user selection storage directory, improve user's experience; And, can calculation document catalogue matching degree, thus from catalogue to be selected, determine the storage directory of suitable current file according to the file directory matching degree, so that the catalogue to be selected that the use system that the user can be relieved provides further improves the user and experiences.
In another embodiment of the present invention, after the newly-built catalogue of user, counter 404 can calculate file that the user stores and the file directory matching degree of newly-built catalogue in the net dish; Storer 405 can also be used for that the file directory matching degree is satisfied pre-conditioned file and store newly-built catalogue into, and wherein pre-conditioned can be that the user arranges or system's setting, for example can be that the value of file directory matching degree is more than or equal to 2.Wherein, storing file into newly-built catalogue can be to preserve the copy of a this document in newly-built catalogue, also can be the metadata of preserving this document in newly-built catalogue.For example, the catalogue that the user creates in the net dish comprises film and picture, has all preserved a lot of files relevant with physical culture under these two catalogues; When the user newly-built during a catalogue physical culture, storer 304 and storer 405 just can store the file relevant with physical culture under film and the picture directory into this newly-built catalogue physical culture.Need the file jump operation carried out after the newly-built catalogue of user thereby reduced, saved user's time, improved user's experience.
Fig. 5 has described the structure of the system gateway that another embodiment of the present invention provides, comprise at least one processor 502 (for example CPU), at least one network interface 505 or other communication interfaces, storer 506, with at least one communication bus 503, be used for the connection communication between these devices of realization.Processor 502 is used for the executable module of execute store 506 storages, for example computer program.Storer 506 may comprise high-speed random access memory (RAM:Random Access Memory), also may also comprise non-unsettled storer (non-volatile memory), for example at least one magnetic disk memory.Realize communication connection between this system gateway and at least one other network element by at least one network interface 505 (can be wired or wireless), can use the internet, wide area network, local network, Metropolitan Area Network (MAN) etc.
In some embodiments, storer 506 has been stored program 5061, and program 5061 can be carried out by processor 502, and this program comprises: the file name of obtaining the file that the user need to upload; File name is carried out participle, obtain the word corresponding with file; Determine the classification of file association according to word; Determine to be associated with the catalogue to be selected of the classification of file association; Store file in the catalogue to be selected at least one storage directory.
Wherein, in the quantity of storage directory during at least two; Above-mentioned at least one storage directory that described file is stored in the catalogue to be selected is specially: the metadata of calculation document, storage file in a storage directory of at least two storage directories, the metadata of storage file in other storage directories of at least two storage directories.
From the above, net dish server can obtain the word corresponding with file according to the file name of file in the present embodiment, and then the classification of acquisition file association, also can determine to be associated with the catalogue to be selected of the classification of file association, thereby file can be stored at least one storage directory in the catalogue to be selected, so that the user is when upload file, the storage directory that does not need select File, and file can be stored to the storage directory that net dish server is determined, so that the user is in the net dish during storage file, can reduce the time of user selection storage directory, improve user's experience.
Fig. 6 has described the structure of the system gateway that another embodiment of the present invention provides, comprise at least one processor 602 (for example CPU), at least one network interface 605 or other communication interfaces, storer 606, with at least one communication bus 603, be used for the connection communication between these devices of realization.Processor 602 is used for the executable module of execute store 606 storages, for example computer program.Storer 606 may comprise high-speed random access memory (RAM:Random Access Memory), also may also comprise non-unsettled storer (non-volatile memory), for example at least one magnetic disk memory.Realize communication connection between this system gateway and at least one other network element by at least one network interface 605 (can be wired or wireless), can use the internet, wide area network, local network, Metropolitan Area Network (MAN) etc.
In some embodiments, storer 606 has been stored program 6061, and program 6061 can be carried out by processor 602, and this program comprises: the file name of obtaining the file that the user need to upload; File name is carried out participle, obtain the word corresponding with file; Determine the classification of file association according to word; Determine to be associated with the catalogue to be selected of the classification of file association; The file directory matching degree of calculation document and catalogue to be selected; From catalogue to be selected, determine at least one storage directory according to the file directory matching degree that calculate to obtain, store file in the catalogue to be selected at least one storage directory.
Wherein, above-mentioned calculation document is specially with the file directory matching degree of catalogue to be selected: use weight corresponding to each classification, the weight of the common factor of the classification that the classification of calculation document association is related with catalogue to be selected and, with weight with as the file directory matching degree.
Wherein, in the quantity of storage directory during at least two; Above-mentioned at least one storage directory that described file is stored in the catalogue to be selected is specially: the metadata of calculation document, storage file in a storage directory of at least two storage directories, the metadata of storage file in other storage directories of at least two storage directories.
From the above, net dish server can obtain the word corresponding with file according to the file name of file in the present embodiment, and then the classification of acquisition file association, also can determine to be associated with the catalogue to be selected of the classification of file association, thereby file can be stored at least one storage directory in the catalogue to be selected, so that the user is when upload file, the storage directory that does not need select File, and file can be stored to the storage directory that net dish server is determined, so that the user is in the net dish during storage file, can reduce the time of user selection storage directory, improve user's experience; And, can calculation document catalogue matching degree, thus from catalogue to be selected, determine the storage directory of suitable current file according to the file directory matching degree, so that the catalogue to be selected that the use system that the user can be relieved provides further improves the user and experiences.
Need to prove, for aforesaid each embodiment of the method, for simple description, therefore it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
The contents such as the information interaction between said apparatus and intrasystem each module, implementation and since with the inventive method embodiment based on same design, particular content can referring to the narration among the inventive method embodiment, repeat no more herein.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, above-mentioned program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, above-mentioned storage medium can be magnetic disc, CD, read-only store-memory body (ROM:Read-Only Memory) or random store-memory body (RAM:Random Access Memory) etc.
Used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1. a net dish file memory method is characterized in that, comprising:
Obtain the file name of the file that the user need to upload;
Described file name is carried out participle, obtain the word corresponding with described file;
Determine the classification of described file association according to institute's predicate;
Determine to be associated with the catalogue to be selected of described classification;
Store described file in the described catalogue to be selected at least one storage directory.
2. net dish file memory method as claimed in claim 1 is characterized in that, stores described file in the described catalogue to be selected at least one storage directory and takes a step forward and comprise:
Calculate the file directory matching degree of described file and described catalogue to be selected;
Described at least one storage directory that described file is stored in the described catalogue to be selected is specially:
From described catalogue to be selected, determine at least one storage directory according to calculating the file directory matching degree that obtains, store described file into described at least one definite storage directory.
3. net dish file memory method as claimed in claim 2 is characterized in that, the file directory matching degree of the described file of described calculating and described catalogue to be selected is specially:
Use weight corresponding to each classification, calculate the classification of the described file association classification related with described catalogue to be selected common factor weight and, with described weight with as the file directory matching degree.
4. such as the arbitrary described net dish file memory method of claims 1 to 3, it is characterized in that, described catalogue to be selected comprises the catalogue that catalogue that catalogue that catalogue that the user creates or system recommendation create or user create and system recommendation create.
5. such as the arbitrary described net dish file memory method of claim 1 to 4, it is characterized in that, the quantity of described storage directory is at least two;
Described at least one storage directory that described file is stored in the described catalogue to be selected is specially:
Calculate the metadata of described file, the described file of storage in a storage directory of described at least two storage directories, the metadata of the described file of storage in other storage directories of described at least two storage directories.
6. such as the arbitrary described net dish file memory method of claim 1 to 5, it is characterized in that, after the newly-built catalogue of user, calculate file that described user stores and the file directory matching degree of described newly-built catalogue in the net dish;
The file directory matching degree is satisfied pre-conditioned file store newly-built catalogue into.
7. a net dish server is characterized in that, comprising:
Acquiring unit is used for obtaining the file name of the file that the user need to upload;
The participle unit is used for the file name that described acquiring unit obtains is carried out participle, obtains the word corresponding with described file;
Determining unit is for the classification of determining described file association according to the word of described participle unit acquisition; Determine to be associated with the catalogue to be selected of described classification;
Storer is at least one storage directory that described file is stored into the definite catalogue to be selected of described determining unit.
8. net dish server as claimed in claim 7 is characterized in that, also comprises:
Counter is for the file directory matching degree of calculating the definite catalogue to be selected of described file and described determining unit;
Described storer specifically is used for: determine at least one storage directory according to calculating the file directory matching degree that obtains from described catalogue to be selected, store described file into described at least one definite storage directory.
9. net dish server as claimed in claim 8, it is characterized in that, described calculating appliance body is used for: use weight corresponding to each classification, calculate the classification of the described file association classification related with described catalogue to be selected common factor weight and, with described weight with as the file directory matching degree.
10. such as the arbitrary described net dish server of claim 7 to 9, it is characterized in that, the quantity of described storage directory is at least two;
Described storer specifically is used for: calculate the metadata of described file, the described file of storage in a storage directory of described at least two storage directories, the metadata of the described file of storage in other storage directories of described at least two storage directories.
11. such as the arbitrary described net dish file memory method of claim 8 to 10, it is characterized in that, described counter also is used for after the newly-built catalogue of user, calculates file that described user stores in the net dish and the file directory matching degree of newly-built catalogue;
Described storer is used for that also the file directory matching degree is satisfied pre-conditioned file and stores described newly-built catalogue into.
CN201280000563XA 2012-06-30 2012-06-30 Storage method for network disk files, and server Pending CN102870115A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/077986 WO2014000295A1 (en) 2012-06-30 2012-06-30 Network disk file storage method and server

Publications (1)

Publication Number Publication Date
CN102870115A true CN102870115A (en) 2013-01-09

Family

ID=47447745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280000563XA Pending CN102870115A (en) 2012-06-30 2012-06-30 Storage method for network disk files, and server

Country Status (2)

Country Link
CN (1) CN102870115A (en)
WO (1) WO2014000295A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468482A (en) * 2013-09-18 2015-03-25 华为技术有限公司 Document sorting method and document sorting device
CN105227624A (en) * 2015-08-24 2016-01-06 联想(北京)有限公司 A kind of file uploading method, store method and device
CN106131124A (en) * 2016-06-22 2016-11-16 上海承蓝科技股份有限公司 A kind of cloud platform date storage method
CN106921689A (en) * 2015-12-25 2017-07-04 阿里巴巴集团控股有限公司 A kind of methods, devices and systems for preserving data
CN108021591A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 File store path method and device for planning
CN108984557A (en) * 2017-05-31 2018-12-11 南宁富桂精密工业有限公司 File saving method, server and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004192212A (en) * 2002-12-10 2004-07-08 Nec System Technologies Ltd Automatic storage system, program, and method for file
EP1607868A1 (en) * 2003-03-10 2005-12-21 Sharp Kabushiki Kaisha Data processing device, data processing program, and recording medium
KR20070010850A (en) * 2005-07-20 2007-01-24 엘지전자 주식회사 Method of file transmission between two mobile station possessing irda module
CN102289475A (en) * 2011-07-29 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Terminal and method for storing file

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020061394A (en) * 2001-01-16 2002-07-24 이충종 Method for manufacturing electronic album

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004192212A (en) * 2002-12-10 2004-07-08 Nec System Technologies Ltd Automatic storage system, program, and method for file
EP1607868A1 (en) * 2003-03-10 2005-12-21 Sharp Kabushiki Kaisha Data processing device, data processing program, and recording medium
KR20070010850A (en) * 2005-07-20 2007-01-24 엘지전자 주식회사 Method of file transmission between two mobile station possessing irda module
CN102289475A (en) * 2011-07-29 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Terminal and method for storing file

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468482A (en) * 2013-09-18 2015-03-25 华为技术有限公司 Document sorting method and document sorting device
CN104468482B (en) * 2013-09-18 2018-09-28 华为技术有限公司 A kind of method and device of file ordering
CN105227624A (en) * 2015-08-24 2016-01-06 联想(北京)有限公司 A kind of file uploading method, store method and device
CN105227624B (en) * 2015-08-24 2019-04-26 联想(北京)有限公司 A kind of file uploading method, store method and device
CN106921689A (en) * 2015-12-25 2017-07-04 阿里巴巴集团控股有限公司 A kind of methods, devices and systems for preserving data
CN106921689B (en) * 2015-12-25 2020-06-23 菜鸟智能物流控股有限公司 Method, device and system for storing data
CN106131124A (en) * 2016-06-22 2016-11-16 上海承蓝科技股份有限公司 A kind of cloud platform date storage method
CN108021591A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 File store path method and device for planning
CN108984557A (en) * 2017-05-31 2018-12-11 南宁富桂精密工业有限公司 File saving method, server and computer readable storage medium

Also Published As

Publication number Publication date
WO2014000295A1 (en) 2014-01-03

Similar Documents

Publication Publication Date Title
US20200409798A1 (en) Tiered cloud storage for different availability and performance requirements
CN102870115A (en) Storage method for network disk files, and server
US20150317323A1 (en) Indexing and searching heterogenous data entities
US11531658B2 (en) Criterion-based retention of data object versions
US20170060455A1 (en) Determining data locality in a distributed system using aggregation of locality summaries
KR20170007521A (en) Optimized browser rendering process
CN104919444A (en) Topic collections
WO2017036348A1 (en) Method and device for compressing and decompressing extensible markup language document
CN102629265B (en) A kind of method and system setting up web database
CN105763604B (en) Lightweight distributed file system and the method for restoring downloading file original name
CN109977135A (en) A kind of data query method, apparatus and server
Xie et al. Advancing library cyberinfrastructure for big data sharing and reuse
JP6077984B2 (en) Item recommendation device, item recommendation method, and item recommendation program
CN105264526B (en) Based on vertical inquiry selectionization
Choi et al. Multimodal location estimation of consumer media: Dealing with sparse training data
JP5903376B2 (en) Information recommendation device, information recommendation method, and information recommendation program
US9330181B2 (en) Methods and apparatuses for document processing at distributed processing nodes
Phan et al. Collaborative recommendation of photo-taking geolocations
US10528536B1 (en) Managing data object versions in a storage service
US9858355B1 (en) Search engine optimization based upon most popular search history
US10372694B2 (en) Structured information differentiation in naming
GB2524073A (en) Communication method and system for accessing media data
CN109190003B (en) Method and apparatus for determining list page nodes
US20160019707A1 (en) Mixed media file system
Hong et al. An efficient tag recommendation method using topic modeling approaches

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130109