CN104573005A - Generation method and system for folder property - Google Patents

Generation method and system for folder property Download PDF

Info

Publication number
CN104573005A
CN104573005A CN201510009632.9A CN201510009632A CN104573005A CN 104573005 A CN104573005 A CN 104573005A CN 201510009632 A CN201510009632 A CN 201510009632A CN 104573005 A CN104573005 A CN 104573005A
Authority
CN
China
Prior art keywords
file
property parameters
attribute
folder
unit
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
CN201510009632.9A
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 CN201510009632.9A priority Critical patent/CN104573005A/en
Publication of CN104573005A publication Critical patent/CN104573005A/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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • G06F16/166File name conversion
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (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 invention discloses a generation method for folder property. The method comprises the steps of receiving an instruction of treating a folder; creating the folder according to the instruction; reading the property parameters of a file to be put or the file put into the folder; analyzing the property parameters; generating the property of the folder according to the analyzing result. With the adoption of the method, the trouble caused by manually inputting the folder property by a user can be decreased, and thus the working efficiency of the user can be effectively increased.

Description

A kind of generation method and system of folder attribute
Technical field
The present invention relates to data processing field, particularly relate to a kind of generation method and system of folder attribute.
Background technology
Along with the development of science and technology, use the client of internet and various terminal applies increasing, while daily life, work and amusement, user needs to download, store and manage dissimilar heap file.When processing these files in enormous quantities, user usually needs to create new folder and carries out Classification Management to these files.
When creating new folder, the existing mode to new folder name needs user manually to input.If user needs to process a lot of file, when creating a large amount of new folder, the mode of so this manual input new folder title, will become more loaded down with trivial details, increase the weight of the workload of user.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, provides a kind of generation method and system of folder attribute, decreases user and manually inputs the trouble that new folder attribute brings, effectively improve user job efficiency.
In order to solve the problems of the technologies described above, embodiment of the present invention first aspect discloses a kind of generation method of folder attribute, comprising:
Receive the instruction creating file;
File is created according to instruction;
Reading will be inserted or inserted the property parameters of the file in file;
Analytic attribute parameter, according to the attribute of analysis result spanned file folder.
Wherein in an embodiment, read the property parameters will inserting or insert the file in file, comprising:
Detection will be inserted or inserted the quantity of the file in file;
When detecting that quantity of documents is less than two pieces, one or more property parameters of extraction document;
When detecting that quantity of documents is no less than two pieces, extract identical one or more property parameters of multiple file.
Wherein in an embodiment, analytic attribute parameter, according to the attribute of analysis result spanned file folder, comprising:
Set up the result table comprising identification information relation corresponding with folder attribute in advance, identification information is as the extraction standard of the property parameters matched with identification information in one or more property parameters of extraction document;
According to result table, the file attribute parameter matched with identification information in one or more property parameters of extraction document;
According to result table, search the folder attribute corresponding with the identification information that the property parameters extracted matches;
According to the folder attribute found, the attribute of spanned file folder.
Wherein in an embodiment, analytic attribute parameter, according to the attribute of analysis result spanned file folder, comprising:
By the property parameters read, as the attribute of file, the attribute of spanned file folder; Or
Set up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance;
According to the property parameters read, folder attribute corresponding with the property parameters read in the inquiry table of comparisons;
According to the folder attribute inquired, the attribute of spanned file folder.
Wherein in an embodiment, analytic attribute parameter, according to the attribute of analysis result spanned file folder, comprising:
Analytic attribute parameter, according to analysis result and additional information, the attribute of spanned file folder, wherein additional information generates, for preventing the conflict of the attribute of file according to the property parameters of instruction and/or user preset information.
Wherein in an embodiment, analytic attribute parameter, according to analysis result and additional information, the attribute of spanned file folder, specifically comprises:
Analytic attribute parameter, discriminatory analysis result whether with the property contradictories of existing file under current directory;
When judged result is for being, according to analysis result and additional information, the attribute of spanned file folder.
Embodiment of the present invention second aspect discloses a kind of generation system of folder attribute, comprising:
Receiver module, for receiving the instruction creating file;
Creation module, creates file for the instruction received according to receiver module;
Read module, for reading the property parameters of the file in the file will inserting or insert creation module establishment;
Generation module, for analyzing the property parameters that read module reads, according to the attribute of analysis result spanned file folder.
Wherein in an embodiment, read module comprises:
Detecting unit, for detecting the quantity will inserted or insert the file in file;
First extraction unit, for when detecting unit detects that quantity of documents is less than two pieces, one or more property parameters of extraction document;
Second extraction unit, for when detecting unit detects that quantity of documents is no less than two pieces, extracts identical one or more property parameters of multiple file.
Wherein in an embodiment, generation module comprises:
First presets unit, and for setting up the result table comprising identification information relation corresponding with folder attribute in advance, identification information is as the extraction standard of the property parameters matched with identification information in one or more property parameters of extraction document;
3rd extraction unit, for the result table set up in advance according to the first default unit, the file attribute parameter matched with identification information in one or more property parameters of extraction document;
Search unit, for according to result table, search the folder attribute corresponding with the identification information that the property parameters that the 3rd extraction unit extracts matches;
First generation unit, for according to searching the folder attribute that unit finds, the attribute of spanned file folder.
Wherein in an embodiment, generation module comprises:
Second generation unit, for the property parameters that read module is read, as the attribute of file, the attribute of spanned file folder; Or
Second presets unit, for setting up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance;
Query unit, for the property parameters read according to read module, folder attribute corresponding with the property parameters read in the table of comparisons of unit foundation is preset in inquiry second;
3rd generation unit, for the folder attribute inquired according to query unit, the attribute of spanned file folder.
Wherein in an embodiment, generation module specifically for:
Analyze the property parameters that read module extracts, according to analysis result and additional information, the attribute of spanned file folder, wherein additional information generates, for preventing the conflict of the attribute of file according to the property parameters of instruction and/or user preset information.
Wherein in an embodiment, generation module comprises:
Judging unit, for analytic attribute parameter, discriminatory analysis result whether with the property contradictories of existing file under current directory;
4th generation unit, for when the judged result of judging unit is for being, according to analysis result and additional information, the attribute of spanned file folder.
Implement the embodiment of the present invention, there is following beneficial effect:
1, by detecting the attribute information will inserting or insert the file in new folder, extract in file the property parameters with common information, or extract the property parameters of the file preset, or be preset with the result table of file attribute parameter corresponding folder attribute, set by the attribute of folder attribute to new folder in property parameters or lookup result table, decrease user and manually input the trouble that new folder attribute brings, effectively improve user job efficiency;
2, by adding additional information in folder attribute, the possibility that folder attribute clashes is effectively reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, 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 the schematic flow sheet of the folder attribute generation method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of another embodiment of folder attribute generation method provided by the invention;
Fig. 3 is the schematic flow sheet of another embodiment of folder attribute generation method provided by the invention;
Fig. 4 is the schematic flow sheet of another embodiment of folder attribute generation method provided by the invention;
Fig. 5 is the structural representation of the folder attribute generation system that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the read module that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the generation module that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the another embodiment of generation module provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, 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, belong to the scope of protection of the invention.
It should be noted that, the term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Client can be including but not limited to: the equipment such as PC, smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment; Described client also can be provided with other applied softwares such as video software, audio software, image software.
ID3 is a kind of metadata container, is applied in the audio file of MP3 format more, and the information such as relevant song name, singer, special edition, track number can be stored in mp3 file by it; Be generally be positioned at the beginning of a mp3 file or some bytes at end, addition of the information such as singer, title, album name, age, style about this mp3, this information is just called as ID3 information; ID3 information is divided into two versions, v1 and v2 version, wherein: the ID3 of v1 version in end 128 byte of mp3 file, with TAG tri-characters beginnings, after catch up with song information; V2 version is generally positioned at the beginning of mp3, can store lyrics, the jumbo information such as the picture of this special edition.In addition, ID3 i.e. ID3Tags, " Tag " wherein of noun in English is meant to " label ", so the meaning of " ID3Tags " namely " mp3 file song label ".
Folder attribute is including but not limited to Folder Name, folder type, folder tabs etc.
See Fig. 1, be the schematic flow sheet of the folder attribute generation method that the embodiment of the present invention provides, the method comprises:
Step S100: receive the instruction creating file;
Particularly, receive the instruction of the establishment file that client sends, wherein client can comprise the equipment such as PC, smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment; Client also can be provided with other applied softwares such as video software, audio software, image software; New folder can be the file set up under client directory, also can be file newly-built in the software of a kind of client installation; Such as, be received in the instruction of setting up new folder in the D dish of PC, or it is single etc. to increase newly-built song in the broadcast interface being received in the audio software installed in PC.
Step S102: create file according to instruction;
Particularly, according to the instruction of the establishment file received in step S100, can create a file under the catalogue of specifying, the title of file can be in unnamed state, also can name new folder with the title of a certain acquiescence.
Step S104: read the property parameters will inserting or insert the file in file;
Particularly, the property parameters of file can be one or more, and the property parameters of file is including but not limited to file type, file name, file generated date, paper writer etc.; Such as, the file type that audio file can comprise is including but not limited to .mp3 .ra .wma type, and the attribute information of audio file also can be including but not limited to: the property parameters such as singer, title, album name, age, style, track number; Again such as, the file type that video file can comprise is including but not limited to .rt .mpg .wmv type, and the attribute information of video file also can be including but not limited to: the property parameters such as performer, title, director, age, style, track number, producer, duration;
Reading will be inserted or inserted the property parameters of the file in file, by detecting the quantity will inserting or insert file file, can extract the property parameters of the file in file; When detecting that quantity of documents is less than two pieces, can one or more property parameters of extraction document; When detecting that quantity of documents is no less than two pieces, identical one or more property parameters of multiple file can be extracted; When detecting that quantity of documents is no less than two pieces, the All Files property parameters of All Files can be extracted, same or similar degree in these All Fileses can be searched and reach the property parameters of a certain ratio, and the property parameters that identical or similarity reaches a certain ratio can be extracted.Such as, when detecting that quantity of documents is one, the file type in the property parameters of this part file can be extracted, or the file type can extracted in the property parameters of this part file and file name etc.; Again such as, when detecting that quantity of documents is 10, the property parameters of the All Files in locating file, when there being the similarity of more than 95% in these property parameters, can extract these property parameters.
Step S106: analytic attribute parameter, according to the attribute of analysis result spanned file folder;
Particularly, the property parameters that step S104 can be extracted is directly as folder attribute, and spanned file folder attribute, such as, the property parameters extracted as step S104 is " music ", can by Folder Name called after " music ";
Further, also can obtaining step S104 extract property parameters in Partial key field, critical field is set as folder attribute file, such as, when the property parameters that step S104 extracts is for " KuGoo music ", the critical field " music " in " KuGoo music " can be extracted, " music " is named file as Folder Name;
Further, during analytic attribute parameter, one or more property parameters that also step S104 can be read carries out property parameters priority level initializing, according to priority, preferential reading analyzes the high property parameters of priority, extract the critical field in the high property parameters of priority, the critical field of extraction is set file as folder attribute; Be understandable that, also can directly property parameters high for priority level be set file as folder attribute;
Further, during analytic attribute parameter, all fields of one or more property parameters that step S104 can also be read merge, the key word in the field after merging can be extracted or the field after also can analyzing merging obtains new key word, the key word of acquisition is set file as folder attribute; Be understandable that, also can directly the property parameters after merging be set file as folder attribute; Such as, when the property parameters that step S104 reads comprises " KuGoo ", " rock and roll ", " six beats " etc., these property parameters are carried out merging to obtain " KuGoo rock and roll six beat ", extract key word " rock and roll ", " rock and roll " is named file as Folder Name; Also can directly by file called after " KuGoo rock and roll six beat ";
Further, additional information is added in the attribute information that also can draw in analysis, additional information can be generate according to the property parameters of the instruction creating file, as the file date of formation, also can be the additional information etc. that user presets, the attribute information that with the addition of additional information is set folder attribute;
Further, during the property parameters of the file that analytical procedure S104 reads, also can set up the result table comprising identification information relation corresponding with folder attribute in advance, identification information is used for as the standard of extraction, with the property parameters matched with identification information of extraction document; According to result table, the file attribute parameter matched with identification information in extraction document; Such as, set up the result table comprising identification information relation corresponding with Folder Name, result table can be as shown in the table:
Sequence number Identification information Folder Name
1 Bird Electric motor car
2 Rose Fresh flower
3 Chen Yixun Star
4 KuGoo Music
5 Dried shrimp Music
6 .rt,.mpg,.wmv Video
7 .mp3,.ra,.wma Music
8 .jpg,.bmp,.GIFf Photo
Such as, when comprising the parameter such as " KuGoo ", " rock and roll ", " six beats " in the property parameters of file, detect the above-mentioned result table set up in advance, the property parameters " KuGoo " finding file matches with " KuGoo " of the 4th article of identification information in result table, the property parameters " KuGoo " of extraction document, then extract the Folder Name " music " that " KuGoo " of the 4th article of identification information is corresponding, " music " is named file as Folder Name; Again such as, when comprising " eason " or " EASON " in the property parameters of file, the identification information " Chen Yixun " matched with " eason " or " EASON " can be obtained by algorithm, extract the Folder Name " star " that " Chen Yixun " of the 3rd article of identification information is corresponding, " star " is named file as Folder Name; Again such as, when comprising " .rt " or the parameter such as " .mpg " or " .wmv " in the property parameters of file, detect the above-mentioned result table set up in advance, searching the folder name corresponding with the property parameters of file is called " video "; Again such as, when comprising " .mp3 " or the parameter such as " .ra " or " .wma " in the property parameters of file, detect the above-mentioned result table set up in advance, searching the folder name corresponding with the property parameters of file is called " music "; Again such as, when comprising " .jpg " or the parameter such as " .bmp " or " .GIFf " in the property parameters of file, detect the above-mentioned result table set up in advance, search the folder name corresponding with the property parameters of file and be called " photo ".
See Fig. 2, be the schematic flow sheet of another embodiment of folder attribute generation method provided by the invention, the method comprises:
Step S200: receive the instruction creating file;
Step S202: create file according to instruction;
Particularly, step S200 to S202 with reference to step S100 to S102 in above-mentioned Fig. 1 embodiment, can repeat no more here.
Step S204: detect the quantity will inserting or insert file file;
Particularly, the quantity will inserting or insert file file is detected.When detecting the file will inserted in file, first receive the file will inserted in file.
Step S206: when detecting that quantity of documents is less than two pieces, the one or more property parameters in the attribute information of extraction document; When detecting that quantity of documents is no less than two pieces, extract property parameters identical in the attribute information of multiple file;
Particularly, such as, when step S204 detects that quantity of documents is one, can the property parameters such as file type, file name in the fileinfo of extraction document; Again particularly, when step S204 detects that quantity of documents is one, the property parameters-file type in the attribute information of this file can be extracted; Or the property parameters such as the file type can extracted in the attribute information of this file and file generated date, such as, when detecting that quantity of documents is one, extract the file type " music " in the property parameters of this file, or the file type also can extracted in the property parameters of this file and file generated date " music 20140120 ".When step S204 detects that quantity of documents is no less than two pieces, the All Files property parameters of All Files can be extracted, same or similar degree in these All Fileses can be searched and reach the property parameters of a certain ratio, and the property parameters that identical or similarity reaches a certain ratio can be extracted.Such as, when detecting that quantity of documents is 10, the property parameters of the All Files in locating file, when there being the similarity of more than 95% in these property parameters, can extract these property parameters.
Step S208: set up the result table comprising identification information relation corresponding with folder attribute in advance, identification information is as the extraction standard of the property parameters matched with identification information in one or more property parameters of extraction document;
Particularly, can set up the result table comprising identification information relation corresponding with folder attribute in advance, identification information is used for as the standard of extraction, with the property parameters matched with identification information of extraction document; According to result table, the file attribute parameter matched with identification information in extraction document; Such as, set up the result table comprising identification information relation corresponding with Folder Name, result table can be as shown in the table:
Sequence number Identification information Folder Name
1 Bird Electric motor car
2 Rose Fresh flower
3 Chen Yixun Star
4 KuGoo Music
5 Dried shrimp Music
Step S210: according to result table, the file attribute parameter matched with identification information in one or more property parameters of extraction document;
Particularly, identification information in the file attribute parameter detected in step S206 and result table is matched and checks and accepts, such as, when comprising the parameter such as " KuGoo ", " rock and roll ", " six beats " in one or more property parameters of file, detect the above-mentioned result table set up in advance, the property parameters " KuGoo " finding file matches with " KuGoo " of the 4th article of identification information in result table; Again such as, when comprising " eason " or " EASON " in the property parameters of file, can obtain by algorithm the identification information " Chen Yixun " matched with " eason " or " EASON ".
Step S212: according to result table, searches the folder attribute corresponding with the identification information that the property parameters extracted matches;
Particularly, can according to the result table set up in advance, the folder attribute matched in the property parameters that finding step S210 extracts and result table; Such as, the above-mentioned result table set up in advance can be detected, find the folder name corresponding with the property parameters of step S210 file " KuGoo " and be called " music "; Again such as, when the property parameters that step S210 extracts is for " Chen Yixun ", the above-mentioned result table set up in advance can be detected, obtain corresponding folder name and be called " star ".
Step S214: according to the folder attribute found, the attribute of spanned file folder;
Particularly, the folder name found by step S212 is referred to as filename and names file, and such as, the folder name found as step S212 is called " music ", by " music " as filename, names file; When the folder name such as found as step S212 is again called " star ", can by file called after " star ".
By setting up the result table comprising identification information relation corresponding with folder attribute, the extraction of the attribute of file is made to have extraction standard, obtain folder attribute according to lookup result table simultaneously, make the attribute of file set more unified and meet user's use habit.
Step S216: by the property parameters read, as the attribute of file, the attribute of spanned file folder;
Particularly, during spanned file folder title, the property parameters that also step S206 can be extracted, as Folder Name, is named file.Such as, when the property parameters extracted is for " music ", by " music " as file name, new folder is named.Using the property parameters that reads directly as the attribute of file, the attribute setting of file is simpler.
Step S218: set up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance;
Particularly, can set up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance, the table of comparisons can be as shown in the table:
Sequence number Property parameters Folder Name
1 .rt,.mpg,.wmv Video
2 .mp3,.ra,.wma Music
3 .jpg,.bmp,.GIFf Photo
Step S220: according to the property parameters read, folder attribute corresponding with the property parameters read in the inquiry table of comparisons;
Particularly, the property parameters that can extract according to step S206, carries out inquiring about folder attribute corresponding with the property parameters read in the table of comparisons according to the table of comparisons.Such as, when step S206 extract in the property parameters of file comprise " .rt " or the parameter such as " .mpg " or " .wmv " time, detect the above-mentioned result table set up in advance, searching the folder name corresponding with the property parameters of file is called " video "; Again such as, when step S206 extract in the property parameters of file comprise " .mp3 " or the parameter such as " .ra " or " .wma " time, detect the above-mentioned result table set up in advance, searching the folder name corresponding with the property parameters of file is called " music "; Again such as, when step S206 extract in the property parameters of file comprise " .jpg " or the parameter such as " .bmp " or " .GIFf " time, detect the above-mentioned result table set up in advance, search the folder name corresponding with the property parameters of file and be called " photo ".
Step S222: according to the folder attribute inquired, the attribute of spanned file folder;
Particularly, the folder name that step S220 finds can be referred to as folder name and name file, such as, the folder name found as step S220 is called " music ", by " music " as folder name, names file; Again such as, the folder name found as step S220 is called " video ", by " video " as folder name, names file.
Preset the table of comparisons comprising property parameters relation corresponding with folder attribute, property parameters according to finding directly finds folder attribute by the table of comparisons, the attribute of file is set, method is more succinct, and folder attribute can preset according to user's use habit, more meet user's use habit, and the attribute unitarity of the file automatically generated is high.
See Fig. 3, be the schematic flow sheet of another embodiment of folder attribute generation method provided by the invention, the method comprises:
Step S300: receive the instruction creating file;
Step S302: create file according to instruction;
Step S304: detect the quantity will inserting or insert file file;
Step S306: when detecting that quantity of documents is less than two pieces, the one or more property parameters in the attribute information of extraction document; When detecting that quantity of documents is no less than two pieces, extract property parameters identical in the attribute information of multiple file;
Step S308: set up the result table comprising identification information relation corresponding with folder attribute in advance, identification information is as the extraction standard of the property parameters matched with identification information in one or more property parameters of extraction document;
Step S310: according to result table, the file attribute parameter matched with identification information in one or more property parameters of extraction document;
Step S312: according to result table, searches the folder attribute corresponding with the identification information that the property parameters extracted matches;
Particularly, step S300 to S312 with reference to step S200 to S212 in above-mentioned Fig. 2 embodiment, can repeat no more here.
Step S314: set up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance;
Step S316: according to the property parameters read, folder attribute corresponding with the property parameters read in the inquiry table of comparisons;
Particularly, step S314 to S316 with reference to step S220 to S222 in above-mentioned Fig. 2 embodiment, can repeat no more here.
Step S318: analytic attribute parameter, according to analysis result and additional information, the attribute of spanned file folder, wherein additional information generates, for preventing the conflict of the attribute of file according to the property parameters of instruction and/or user preset information;
Particularly, when naming file, repeating or conflict, in Folder Name, increasing accessory information to prevent under same catalogue Folder Name, additional information can be including but not limited to: file date of formation, file type etc.; Accessory information can extract from file attribute, and accessory information also can generate according to user preset information; Such as, if the file date of formation is on January 20th, 2014, additional message 20140120 can be extracted; Again such as, if the information of user preset is " annex 2 " etc., accessory information can be " annex 2 ".The property parameters that the additional information of generation and step S306 can be extracted or combine, or also can combine by the property parameters that finds of additional information and step S312, or also can combine by the property parameters that inquires of additional information and step S316, using the information after additional information is combined with property parameters as the title of new folder, new folder can be named.Such as, when step S306 detects that quantity of documents is one, the property parameters extracting file for " music " additional information be 20140120, the property parameters " music " that the additional information 20140120 generated and S306 are extracted can be combined, in conjunction with after information can be " 20140120-music ", also can be " music-20140120 ", or can be " 20140120 music ", can also be " music 20140120 " etc., using the information after combination as Folder Name, new folder is named, new folder name nominating can be " 20140120-music ", also can be " music-20140120 ", or " 20140120 music ", or " music 20140120 ", again such as, when the folder name corresponding when the property parameters that step S312 finds is called " star ", can be the title of the information after " annex 2 " is combined with property parameters as file using the additional information generated, can by file called after " star's annex 2 ", again such as, when the folder name that step S316 finds according to the table of comparisons is called " photo ", can be the title of the information after " annex 2 " is combined with property parameters as file using the additional information generated, can by file called after " photo annex 2 " etc.
See Fig. 4, be the schematic flow sheet of another embodiment of folder attribute generation method provided by the invention, the method comprises:
Step S400: receive the instruction creating file;
Step S402: create file according to instruction;
Step S404: detect the quantity will inserting or insert file file;
Step S406: when detecting that quantity of documents is less than two pieces, the one or more property parameters in the attribute information of extraction document; When detecting that quantity of documents is no less than two pieces, extract property parameters identical in the attribute information of multiple file;
Step S408: set up the result table comprising identification information relation corresponding with folder attribute in advance, identification information is as the extraction standard of the property parameters matched with identification information in one or more property parameters of extraction document;
Step S410: according to result table, the file attribute parameter matched with identification information in one or more property parameters of extraction document;
Step S412: according to result table, searches the folder attribute corresponding with the identification information that the property parameters extracted matches;
Particularly, step S400 to S412 with reference to step S300 to S312 in above-mentioned Fig. 3 embodiment, can repeat no more here.
Step S414: set up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance;
Step S416: according to the property parameters read, folder attribute corresponding with the property parameters read in the inquiry table of comparisons;
Particularly, step S414 to S416 with reference to step S314 to S316 in above-mentioned Fig. 2 embodiment, can repeat no more here.
Step S418: analytic attribute parameter, discriminatory analysis result whether with the property contradictories of existing file under current directory;
Particularly, the file comprised under detecting the current directory at file place, and judge whether the file attribute parameter of these files and newly-built file clashes, as whether repeated.Such as, the file attribute information extracted according to step S408 is " music ", includes the file of file " music " by name under current directory being detected, then the title of the file under the name of new folder and current directory clashes.When judged result is no, according to the folder attribute of searching, spanned file folder attribute, the folder attribute that the property parameters that step S406 can be extracted or step S412 find or the folder attribute that step S416 inquires, directly generate the attribute of file; Such as, when the folder name that step S412 finds is called " music ", can by file called after " music ".
Step S420: according to analysis result and additional information, the attribute of spanned file folder, additional information generates, for preventing the conflict of the attribute of file according to the property parameters of the instruction of new folder and/or user preset information;
Particularly, when the judged result of step S418 is for being, generate accessory information, additional information can be including but not limited to: file date of formation, file type etc.; Accessory information can extract from the attribute of the instruction of new folder, and accessory information also can generate according to user preset information; Such as, if the file date of formation is on January 20th, 2014, additional message 20140120 can be extracted; Again such as, if the information of user preset is " annex 2 " etc., accessory information can be " annex 2 ".The property parameters that the additional information of generation and step S406 can be extracted or combine, or also can combine by the property parameters that finds of additional information and step S412, or also can combine by the property parameters that inquires of additional information and step S416, using the information after additional information is combined with property parameters as the title of new folder, new folder can be named.Such as, when step S406 detects that quantity of documents is one, the property parameters extracting file for " music " additional information be 20140120, the property parameters " music " that the additional information 20140120 generated and S406 are extracted can be combined, in conjunction with after information can be " 20140120-music ", also can be " music-20140120 ", or can be " 20140120 music ", can also be " music 20140120 " etc., using the information after combination as Folder Name, new folder is named, new folder name nominating can be " 20140120-music ", also can be " music-20140120 ", or " 20140120 music ", or " music 20140120 ", again such as, when the folder name corresponding when the property parameters that step S412 finds is called " star ", can be the title of the information after " annex 2 " is combined with property parameters as file using the additional information generated, can by file called after " star's annex 2 ", again such as, when the folder name that step S416 finds according to the table of comparisons is called " photo ", can be the title of the information after " annex 2 " is combined with property parameters as file using the additional information generated, can by file called after " photo annex 2 " etc.
Step S422: according to the folder attribute of searching, spanned file folder attribute;
Particularly, the folder attribute that the folder attribute found by step S412 or step S416 inquire, spanned file folder attribute.Such as, when the folder name that step S412 finds according to result table is called " music ", can by file called after " music "; Again such as, when the folder name that step S416 finds according to the table of comparisons is called " photo ", can by file called after " photo ".
See Fig. 5, the structural representation of the folder attribute generation system that the embodiment of the present invention provides, wherein, as shown in Figure 5, this folder attribute generation system 100 comprises: receiver module 1002, creation module 1004, read module 1006, generation module 1008, wherein
Receiver module 1002, for receiving the instruction creating file; The instruction of the establishment file that client sends can be received, wherein client can comprise the equipment such as PC, smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment; Client also can be provided with other applied softwares such as video software, audio software, image software; File can be the file set up under client directory, also can be file newly-built in the software of a kind of client installation; Such as, be received in the instruction of setting up file in the D dish of PC, or it is single etc. to increase newly-built song in the broadcast interface being received in the audio software installed in PC;
Creation module 1004, creates file for the instruction received according to receiver module 1002; Particularly, according to the instruction of the establishment file that receiver module 1002 receives, can create a file under the catalogue of specifying, the title of file can be in unnamed state, also can name file with the title of a certain acquiescence;
Read module 1006, for reading the multiple property parameters of file in the file will inserting or insert creation module 1004 establishment; The property parameters of file can be one or more, and the property parameters of file is including but not limited to file type, file name, file generated date, paper writer etc.; Such as, the file type that audio file can comprise is including but not limited to .mp3 .ra .wma type, and the attribute information of audio file can also be including but not limited to: the property parameters such as singer, title, album name, age, style, track number; Again such as, the file type that video file can comprise is including but not limited to .rt .mpg .wmv type, and the attribute information of video file can also be including but not limited to: the property parameters such as performer, title, director, age, style, track number, producer, duration; Read out the attribute information will inserted or insert the file in new folder; Read module 1006 by detecting the quantity will inserting or insert file file, can extract the property parameters of the file in file; When detecting that quantity of documents is less than two pieces, can one or more property parameters of extraction document; When detecting that quantity of documents is no less than two pieces, identical one or more property parameters of multiple file can be extracted; When detecting that quantity of documents is no less than two pieces, the All Files property parameters of All Files can be extracted, same or similar degree in these All Fileses can be searched and reach the property parameters of a certain ratio, and the property parameters that identical or similarity reaches a certain ratio can be extracted.Such as, when detecting that quantity of documents is one, the file type in the property parameters of this part file can be extracted, or the file type can extracted in the property parameters of this part file and file name etc.; Again such as, when detecting that quantity of documents is 10, the property parameters of the All Files in locating file, when there being the similarity of more than 95% in these property parameters, can extract these property parameters;
Generation module 1008, for analyzing the property parameters of the file that read module 1006 reads, the property parameters that read module 1006 can be extracted is directly as folder attribute, and spanned file folder attribute, such as, the property parameters extracted when read module 1006 is " music ", can by Folder Name called after " music "; Further, also the Partial key field in the property parameters of read module 1006 extraction can be obtained, critical field is set as folder attribute file, such as, when the property parameters that read module 1006 extracts is for " KuGoo music ", the critical field " music " in " KuGoo music " can be extracted, " music " is named file as Folder Name; Further, during analytic attribute parameter, also one or more property parameters that read module 1006 reads can be carried out property parameters priority level initializing, according to priority, preferential reading analyzes the high property parameters of priority, extract the critical field in the high property parameters of priority, the critical field of extraction is set file as folder attribute; Be understandable that, also can directly property parameters high for priority level be set file as folder attribute; Further, during analytic attribute parameter, all fields of one or more property parameters that read module 1006 can also be read merge, the key word in the field after merging can be extracted or the field after also can analyzing merging obtains new key word, the key word of acquisition is set file as folder attribute; Be understandable that, also can directly the property parameters after merging be set file as folder attribute; Such as, when the property parameters that read module 1006 reads comprises " KuGoo ", " rock and roll ", " six beats " etc., these property parameters are carried out merging to obtain " KuGoo rock and roll six beat ", extract key word " rock and roll ", " rock and roll " is named file as Folder Name; Also can directly by file called after " KuGoo rock and roll six beat "; Further, additional information is added in the attribute information that also can draw in analysis, additional information can be generate according to the property parameters of the instruction creating file, as the file date of formation, also can be the additional information etc. that user presets, the attribute information that with the addition of additional information is set folder attribute; Further, when analyzing the property parameters of the file that read module 1006 reads, also can set up the result table comprising identification information relation corresponding with Folder Name in advance, identification information is used for as the standard of extraction, with the property parameters matched with identification information of extraction document; According to result table, the file attribute parameter matched with identification information in extraction document; Such as, set up the result table comprising identification information relation corresponding with Folder Name, result table can be as shown in the table:
Sequence number Identification information Folder Name
1 Bird Electric motor car
2 Rose Fresh flower
3 Chen Yixun Star
4 KuGoo Music
5 Dried shrimp Music
6 .rt,.mpg,.wmv Video
7 .mp3,.ra,.wma Music
8 .jpg,.bmp,.GIFf Photo
Such as, when comprising the parameter such as " KuGoo ", " rock and roll ", " six beats " in the property parameters of file, detect the above-mentioned result table set up in advance, the property parameters " KuGoo " finding file matches with " KuGoo " of the 4th article of identification information in result table, the property parameters " KuGoo " of extraction document, then extract the Folder Name " music " that " KuGoo " of the 4th article of identification information is corresponding, " music " is named file as Folder Name; Again such as, when comprising " eason " or " EASON " in the property parameters of file, the identification information " Chen Yixun " matched with " eason " or " EASON " can be obtained by algorithm, extract the Folder Name " star " that " Chen Yixun " of the 3rd article of identification information is corresponding, " star " is named file as Folder Name; Again such as, when comprising " .rt " or the parameter such as " .mpg " or " .wmv " in the property parameters of file, detect the above-mentioned result table set up in advance, searching the folder name corresponding with the property parameters of file is called " video "; Again such as, when comprising " .mp3 " or the parameter such as " .ra " or " .wma " in the property parameters of file, detect the above-mentioned result table set up in advance, searching the folder name corresponding with the property parameters of file is called " music "; Again such as, when comprising " .jpg " or the parameter such as " .bmp " or " .GIFf " in the property parameters of file, detect the above-mentioned result table set up in advance, search the folder name corresponding with the property parameters of file and be called " photo ".
See Fig. 6, be the structural representation of the read module that the embodiment of the present invention provides, wherein, as shown in Figure 6, this read module 1006 can comprise: detecting unit 10061, first extraction unit 10062, second extraction unit 10063, wherein
Detecting unit 10061, for detecting the quantity will inserted or insert new folder file;
First extraction unit 10062, for when detecting unit 10061 detects that quantity of documents is less than two pieces, the one or more property parameters in the attribute information of extraction document; Particularly, when detecting unit 10061 detects that quantity of documents is one, can the property parameters such as file type, file name in the fileinfo of extraction document; When detecting unit 10061 detects that quantity of documents is one, the property parameters-file type in the attribute information of this part file also can be extracted; Or the property parameters such as the file type can extracted in the attribute information of this part file and file generated date; Such as, when detecting that quantity of documents is one, the file type " music " in the property parameters of this file can be extracted, or the file type also can extracted in the property parameters of this file and file generated date " music 20140120 ";
Second extraction unit 10063, for when detecting unit detection 10061 is no less than two pieces to quantity of documents, customizing messages is common information, extracts property parameters identical in the attribute information of multiple file; Particularly, when detecting unit 10061 detects that quantity of documents is no less than two pieces, the All Files property parameters of All Files can be extracted, same or similar degree in these files can be searched and reach the property parameters of a certain ratio, and the property parameters that identical or similarity reaches a certain ratio can be extracted.Such as, when detecting that quantity of documents is 10, the property parameters of the All Files in locating file, when there being the similarity of more than 95% in these property parameters, can extract these property parameters.
See Fig. 7, it is the structural representation of the generation module that the embodiment of the present invention provides, wherein, as shown in Figure 7, this generation module 1008 can comprise: first preset unit 10081, the 3rd extraction unit 10082, search unit 10083, first generation unit 10084, second generation unit 10085, second and preset unit 10086, query unit 10087, the 3rd generation unit 10088, wherein
First presets unit 10081, comprises the result table of identification information relation corresponding with folder attribute for setting up in advance, and identification information is used for as extraction standard, with the property parameters matched with identification information of extraction document; According to result table, the file attribute parameter matched with identification information in extraction document; Such as, set up the result table comprising identification information relation corresponding with Folder Name, result table can be as shown in the table:
Sequence number Identification information Folder Name
1 Bird Electric motor car
2 Rose Fresh flower
3 Chen Yixun Star
4 KuGoo Music
5 Dried shrimp Music
6 .rt,.mpg,.wmv Video
7 .mp3,.ra,.wma Music
8 .jpg,.bmp,.GIFf Photo
Using the identification information in result table as extraction standard, with the property parameters matched with identification information in the property parameters of extraction document;
3rd extraction unit 10082, for the result table set up in advance according to the first default unit 10081, the file attribute parameter matched with identification information in the property parameters of extraction document.Such as, birdie is included in result table, " rose ", " Chen Yixun ", identification informations such as " KuGoos ", using identification information as extraction standard, detect in the property parameters of file and whether contain the attribute information matched with identification information, such as, comprise in the property parameters of file " KuGoo ", " rock and roll ", " six beats ", during parameters such as " Zhang Jie ", detect the above-mentioned result table set up in advance, the property parameters " KuGoo " that can find file matches with " KuGoo " of the 4th article of identification information in result table, can the property parameters " KuGoo " of extraction document, again such as, when comprising " eason " or " EASON " in the property parameters of file, can extract by algorithm the identification information " Chen Yixun " matched with " eason " or " EASON ",
Search unit 10083, for the result table set up in advance according to the first default unit 10081, search the folder attribute corresponding with the identification information that the property parameters that the 3rd extraction unit 10082 extracts matches; Presetting according to first the result table that unit 10081 creates, searching the folder attribute corresponding with searching identification information that property parameters that unit 10083 extracts matches; Such as, the property parameters searching unit 10083 extraction is " KuGoo ", search first and preset identification information " KuGoo " corresponding with property parameters in the result table created in unit 10081, preset according to first the result table created in unit 10081, the folder name searching identification information " KuGoo " corresponding is called " music ";
First generation unit 10084, for the folder attribute of will search unit 10083 and find, as the attribute of new folder, sets new folder; Such as, unit 10083 will be searched and find the title of Folder Name " music " as new folder, called after " music " will be carried out to new folder;
Second generation unit 10085, for the property parameters extracted by read module 1006, as the attribute of new folder, sets new folder;
Second presets unit 10086, and for setting up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance, the table of comparisons can be as shown in the table:
Sequence number Property parameters Folder Name
1 .rt,.mpg,.wmv Video
2 .mp3,.ra,.wma Music
3 .jpg,.bmp,.GIFf Photo
Query unit 10087, for the property parameters read according to read module 1006, folder attribute corresponding with the property parameters read in the table of comparisons of unit 10086 foundation is preset in inquiry second.Such as, when read module 1006 read out in the property parameters of file comprise " .rt " or the parameter such as " .mpg " or " .wmv " time, detect the above-mentioned result table set up in advance, search the folder name corresponding with the property parameters of file and be called " video "; Again such as, when read module 1006 read out in the property parameters of file comprise " .mp3 " or the parameter such as " .ra " or " .wma " time, detect the above-mentioned result table set up in advance, search the folder name corresponding with the property parameters of file and be called " music "; Again such as, when read module 1006 read out in the property parameters of file comprise " .jpg " or the parameter such as " .bmp " or " .GIFf " time, detect the above-mentioned result table set up in advance, search the folder name corresponding with the property parameters of file and be called " photo ";
3rd generation unit 10088, for the folder attribute inquired according to query unit 10087, the attribute of spanned file folder; The folder name that query unit 10087 finds can be referred to as filename to name file, such as, the folder name found when query unit 10087 is called " music ", by " music " as filename, names file; Again such as, the folder name found when query unit 10087 is called " video ", by " video " as filename, names file.
See Fig. 8, it is the structural representation of another embodiment of generation module provided by the invention, wherein, as shown in Figure 8, this generation module 1008 comprises: first preset unit 10081, the 3rd extraction unit 10082, search unit 10083, first generation unit 10084, second generation unit 10085, second and preset outside unit 10086, query unit 10087, the 3rd generation unit 10088, can also comprise: judging unit 10089, the 4th generation unit 100810, wherein
Judging unit 10089, for analytic attribute parameter, discriminatory analysis result whether with the property contradictories of existing file under current directory; Such as, being " music ", including the file of file " music " by name under current directory being detected according to searching the file attribute information that unit 10083 extracts, then the file under the name of new folder and current directory clashes; When judged result is no, according to the folder attribute of searching, spanned file folder attribute, the folder attribute that the property parameters that read module 1006 can be extracted or the 3rd extraction unit 10082 find or the folder attribute that query unit 10087 inquires, the attribute as file sets new folder; Such as, when the folder name that query unit 10087 inquires is called " music ", can by file called after " music ";
4th generation unit 100810, for when the judged result of judging unit 10089 is for being, according to analysis result and additional information, the attribute of spanned file folder; Additional information can be including but not limited to: file date of formation, file type etc.; Accessory information can extract from the attribute of the instruction of new folder, and accessory information also can generate according to user preset information; Such as, if the file date of formation is on January 20th, 2014, additional message 20140120 can be extracted; Again such as, if the information of user preset is " annex 2 " etc., accessory information can be " annex 2 "; The property parameters that the additional information of generation and step the first extraction unit 10062 can be extracted or combine; Or the property parameters that the additional information of generation and step the second extraction unit 10063 can be extracted or combine; Or also can additional information with search the property parameters that unit 10083 extracts and combine, or also can to combine by the property parameters that inquires of additional information and query unit 10087.Using the information after additional information is combined with property parameters as the attribute of new folder, new folder can be set.Such as, when detecting that quantity of documents is one, the property parameters that first extraction unit 10062 extracts file for " music " additional information be 20140120, the property parameters " music " that additional information 20140120 and first extraction unit 10062 of generation extracts can be combined, in conjunction with after information can be " 20140120-music ", also can be " music-20140120 ", or can be " 20140120 music ", can also be " music 20140120 " etc., using the information after combination as Folder Name, new folder is named, new folder name nominating can be " 20140120-music ", also can be " music-20140120 ", or " 20140120 music ", or " music 20140120 ", again such as, when the folder name corresponding when the property parameters that query unit 10087 inquires is called " star ", can be the title of the information after " annex 2 " is combined with property parameters as file using the additional information generated, can by file called after " star's annex 2 ", again such as, when query unit 10087 inquire about the folder name found according to the table of comparisons be called " photo " time, can be the title of the information after " annex 2 " is combined with property parameters as file using the additional information generated, can by file called after " photo annex 2 " etc.
To sum up, by implementing the embodiment of the present invention, there is following beneficial effect:
1, by detecting the attribute information will inserting or insert the file in new folder, extract in file the property parameters with common information, or extract the property parameters of default file, or be preset with the result table of file attribute parameter corresponding folder attribute, by property parameters or the folder attribute of searching in default result table, new folder is set, decrease user and manually input the trouble that new folder attribute brings, effectively improve user job efficiency;
2, by adding additional information in folder attribute, the possibility that folder attribute clashes is effectively reduced.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (12)

1. a folder attribute generation method, is characterized in that, described method comprises:
Receive the instruction creating file;
File is created according to described instruction;
Reading will be inserted or inserted the property parameters of the file in described file;
Analyze described property parameters, generate the attribute of described file according to analysis result.
2. the method for claim 1, is characterized in that, described reading will be inserted or inserted the property parameters of the file in described file, comprise:
The quantity of the file in described file will be inserted or insert described in detecting;
When detecting that described quantity of documents is less than two pieces, extract one or more property parameters of described file;
When detecting that described quantity of documents is no less than two pieces, extract identical one or more property parameters of multiple described file.
3. method as claimed in claim 2, it is characterized in that, the described property parameters of described analysis, generates the attribute of described file, comprising according to analysis result:
Set up the result table comprising identification information relation corresponding with folder attribute in advance, described identification information is as the extraction standard of the property parameters matched with described identification information in one or more property parameters of the described file of extraction;
According to described result table, extract the file attribute parameter matched with described identification information in one or more property parameters of described file;
According to described result table, search the folder attribute corresponding with the identification information that the property parameters of described extraction matches;
According to the described folder attribute found, generate the attribute of described file.
4. method as claimed in claim 2, it is characterized in that, the described property parameters of described analysis, generates the attribute of described file, comprising according to analysis result:
By the described property parameters read, as the attribute of described file, generate the attribute of described file; Or
Set up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance;
According to the described described property parameters read, inquire about folder attribute corresponding with the described property parameters read in the described table of comparisons;
According to the described folder attribute inquired, generate the attribute of described file.
5. the method as described in any one of claim 1-4, is characterized in that, the described property parameters of described analysis, generates the attribute of described file, comprising according to analysis result:
Analyze described property parameters, according to analysis result and additional information, generate the attribute of described file, wherein said additional information generates, for preventing the conflict of the attribute of file according to the property parameters of instruction and/or user preset information.
6. method as claimed in claim 5, is characterized in that the described property parameters of described analysis, according to analysis result and additional information, generates the attribute of described file, specifically comprises:
Analyze described property parameters, discriminatory analysis result whether with the property contradictories of existing file under current directory;
When judged result is for being, according to analysis result and additional information, generate the attribute of described file.
7. a folder attribute generation system, is characterized in that, described system comprises:
Receiver module, for receiving the instruction creating file;
Creation module, creates file for the instruction received according to described receiver module;
Read module, for reading the property parameters of the file in the described file will inserting or insert the establishment of described creation module;
Generation module, for analyzing the property parameters that described read module reads, generates the attribute of described file according to analysis result.
8. system as claimed in claim 7, it is characterized in that, described read module comprises:
Detecting unit, for detecting the described quantity will inserting or insert the file in described file;
First extraction unit, for when described detecting unit detects that described quantity of documents is less than two pieces, extracts one or more property parameters of described file;
Second extraction unit, for when described detecting unit detects that described quantity of documents is no less than two pieces, extracts identical one or more property parameters of multiple described file.
9. system as claimed in claim 8, it is characterized in that, described generation module comprises:
First presets unit, for setting up the result table comprising identification information relation corresponding with folder attribute in advance, described identification information is as the extraction standard of the property parameters matched with described identification information in one or more property parameters of the described file of extraction;
3rd extraction unit, for the described result table set up in advance according to the described first default unit, extracts the file attribute parameter matched with described identification information in one or more property parameters of described file;
Search unit, for according to described result table, search the folder attribute corresponding with the identification information that the described property parameters that described 3rd extraction unit extracts matches;
First generation unit, for searching the described folder attribute that unit finds described in basis, generates the attribute of described file.
10. system as claimed in claim 8, it is characterized in that, described generation module comprises:
Second generation unit, for the described property parameters read by described read module, as the attribute of described file, generates the attribute of described file; Or
Second presets unit, for setting up the table of comparisons comprising property parameters relation corresponding with folder attribute in advance;
Query unit, for the described property parameters read according to described read module, inquires about described second and presets folder attribute corresponding with the described property parameters read in the described table of comparisons of unit foundation;
3rd generation unit, for the described folder attribute inquired according to described query unit, generates the attribute of described file.
11. systems as described in any one of claim 7-10, is characterized in that, described generation module specifically for:
Analyze the property parameters that described read module extracts, according to analysis result and additional information, generate the attribute of described file, wherein said additional information generates, for preventing the conflict of the attribute of file according to the property parameters of instruction and/or user preset information.
12. systems as claimed in claim 11, it is characterized in that, described generation module comprises:
Judging unit, for analyzing described property parameters, discriminatory analysis result whether with the property contradictories of existing file under current directory;
4th generation unit, for when the judged result of described judging unit is for being, according to analysis result and additional information, generates the attribute of described file.
CN201510009632.9A 2015-01-07 2015-01-07 Generation method and system for folder property Pending CN104573005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510009632.9A CN104573005A (en) 2015-01-07 2015-01-07 Generation method and system for folder property

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510009632.9A CN104573005A (en) 2015-01-07 2015-01-07 Generation method and system for folder property

Publications (1)

Publication Number Publication Date
CN104573005A true CN104573005A (en) 2015-04-29

Family

ID=53089067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510009632.9A Pending CN104573005A (en) 2015-01-07 2015-01-07 Generation method and system for folder property

Country Status (1)

Country Link
CN (1) CN104573005A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978404A (en) * 2015-06-04 2015-10-14 无锡天脉聚源传媒科技有限公司 Video album name generating method and apparatus
CN104978403A (en) * 2015-06-04 2015-10-14 无锡天脉聚源传媒科技有限公司 Generating method and apparatus for name of video album
CN104978400A (en) * 2015-06-04 2015-10-14 无锡天脉聚源传媒科技有限公司 Method for generating video album name and apparatus
CN106293650A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 A kind of folder attribute method to set up and device
CN106488299A (en) * 2015-08-26 2017-03-08 深圳市腾讯计算机系统有限公司 Video file methods of exhibiting and system
CN106649633A (en) * 2016-12-07 2017-05-10 惠州Tcl移动通信有限公司 Name method and system of desktop folder
CN107193878A (en) * 2017-04-24 2017-09-22 维沃移动通信有限公司 It is a kind of to sing single automatic naming method and mobile terminal
CN107247541A (en) * 2017-06-30 2017-10-13 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN108959316A (en) * 2017-05-24 2018-12-07 北京搜狗科技发展有限公司 A kind of method and apparatus adding a webpage to collection
CN109284401A (en) * 2018-08-31 2019-01-29 广州视源电子科技股份有限公司 Courseware tag adding and courseware recommending methods, courseware tag adding and courseware recommending devices and storage media
WO2019019999A1 (en) * 2017-07-28 2019-01-31 华为技术有限公司 Method for naming folder, and terminal
CN110263007A (en) * 2019-06-28 2019-09-20 深圳市迅雷网络技术有限公司 A kind of file naming method, system and electronic equipment and storage medium
CN111752898A (en) * 2020-06-24 2020-10-09 中国银行股份有限公司 File processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1692623A (en) * 2002-12-25 2005-11-02 卡西欧计算机株式会社 Data file storage device, data file storage program and data file storage method
CN1726475A (en) * 2002-12-16 2006-01-25 柯尼卡美能达控股株式会社 File management program
CN101031914A (en) * 2004-06-30 2007-09-05 诺基亚公司 Automated grouping of image and other user data
CN101216848A (en) * 2008-01-10 2008-07-09 北京中星微电子有限公司 Method and device for modifying media file name
CN101866344A (en) * 2009-04-14 2010-10-20 鸿富锦精密工业(深圳)有限公司 File management system and method
CN102752403A (en) * 2012-07-25 2012-10-24 北京苏达普科技有限公司 Cloud method for arranging photos automatically
CN103870599A (en) * 2014-04-02 2014-06-18 联想(北京)有限公司 Shooting data collecting method, device and electronic equipment
US20140310324A1 (en) * 2013-04-16 2014-10-16 Appsense Limited Systems and methods for automatically sorting and indexing electronic files

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1726475A (en) * 2002-12-16 2006-01-25 柯尼卡美能达控股株式会社 File management program
CN1692623A (en) * 2002-12-25 2005-11-02 卡西欧计算机株式会社 Data file storage device, data file storage program and data file storage method
CN101031914A (en) * 2004-06-30 2007-09-05 诺基亚公司 Automated grouping of image and other user data
CN101216848A (en) * 2008-01-10 2008-07-09 北京中星微电子有限公司 Method and device for modifying media file name
CN101866344A (en) * 2009-04-14 2010-10-20 鸿富锦精密工业(深圳)有限公司 File management system and method
CN102752403A (en) * 2012-07-25 2012-10-24 北京苏达普科技有限公司 Cloud method for arranging photos automatically
US20140310324A1 (en) * 2013-04-16 2014-10-16 Appsense Limited Systems and methods for automatically sorting and indexing electronic files
CN103870599A (en) * 2014-04-02 2014-06-18 联想(北京)有限公司 Shooting data collecting method, device and electronic equipment

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293650A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 A kind of folder attribute method to set up and device
CN106293650B (en) * 2015-05-18 2020-02-07 阿里巴巴集团控股有限公司 Folder attribute setting method and device
CN104978404B (en) * 2015-06-04 2018-07-20 无锡天脉聚源传媒科技有限公司 A kind of generation method and device of video album title
CN104978403A (en) * 2015-06-04 2015-10-14 无锡天脉聚源传媒科技有限公司 Generating method and apparatus for name of video album
CN104978400A (en) * 2015-06-04 2015-10-14 无锡天脉聚源传媒科技有限公司 Method for generating video album name and apparatus
CN104978404A (en) * 2015-06-04 2015-10-14 无锡天脉聚源传媒科技有限公司 Video album name generating method and apparatus
CN106488299A (en) * 2015-08-26 2017-03-08 深圳市腾讯计算机系统有限公司 Video file methods of exhibiting and system
CN106649633A (en) * 2016-12-07 2017-05-10 惠州Tcl移动通信有限公司 Name method and system of desktop folder
CN106649633B (en) * 2016-12-07 2021-01-08 惠州Tcl移动通信有限公司 Desktop folder naming method and system
CN107193878A (en) * 2017-04-24 2017-09-22 维沃移动通信有限公司 It is a kind of to sing single automatic naming method and mobile terminal
CN108959316A (en) * 2017-05-24 2018-12-07 北京搜狗科技发展有限公司 A kind of method and apparatus adding a webpage to collection
CN107247541A (en) * 2017-06-30 2017-10-13 联想(北京)有限公司 A kind of information processing method and electronic equipment
WO2019019999A1 (en) * 2017-07-28 2019-01-31 华为技术有限公司 Method for naming folder, and terminal
CN110019027A (en) * 2017-07-28 2019-07-16 华为终端有限公司 A kind of method and terminal of file name
US11636066B2 (en) 2017-07-28 2023-04-25 Huawei Technologies Co., Ltd. Terminal and method for naming folder
CN109284401A (en) * 2018-08-31 2019-01-29 广州视源电子科技股份有限公司 Courseware tag adding and courseware recommending methods, courseware tag adding and courseware recommending devices and storage media
CN110263007A (en) * 2019-06-28 2019-09-20 深圳市迅雷网络技术有限公司 A kind of file naming method, system and electronic equipment and storage medium
CN111752898A (en) * 2020-06-24 2020-10-09 中国银行股份有限公司 File processing method and device
CN111752898B (en) * 2020-06-24 2024-03-26 中国银行股份有限公司 File processing method and device

Similar Documents

Publication Publication Date Title
CN104573005A (en) Generation method and system for folder property
CN100353767C (en) Watermark embedding and retrieval
CN101179474B (en) Download method, system and device
CN110263317B (en) Method and device for generating document template
US8527490B2 (en) Structuring and searching data in a hierarchical confidence-based configuration
US20070162546A1 (en) Sharing tags among individual user media libraries
CN1975721B (en) Method and apparatus for managing content file information
EP2973034B1 (en) Methods and systems for arranging and searching a database of media content recordings
WO2004089397A2 (en) Method and apparatus for grouping content items
CN104951485A (en) Music file data processing method and music file data processing device
CN102682055A (en) Method and apparatus for managing e-book contents
US9390170B2 (en) Methods and systems for arranging and searching a database of media content recordings
CN101196914A (en) Method, system and device for exhibiting download task list
CN101158981A (en) Method, system and device for classifying downloaded resource
US20100082663A1 (en) Method and System for Identifying Equivalent Digital Media Assets
CN101216848A (en) Method and device for modifying media file name
CN103902723A (en) Method and device for aggregating catalogue metadata of media files
CN102289439B (en) Providing method and providing system for music file
CN113655968B (en) Unstructured data storage method
CN102289440A (en) Music file providing method and providing system thereof
CN103902551A (en) Information processing method and device and control device
CN113268630A (en) Audio retrieval method, device and medium
CN104572730A (en) Method and device for importing and exporting digital resources
McEwen et al. Are your spectroscopic data FAIR?
CN114168546A (en) File library construction method and system, mobile terminal and computer storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429