CN103279497B - A kind of method, system and device for carrying out automatically sort operation according to data type - Google Patents

A kind of method, system and device for carrying out automatically sort operation according to data type Download PDF

Info

Publication number
CN103279497B
CN103279497B CN201310165263.3A CN201310165263A CN103279497B CN 103279497 B CN103279497 B CN 103279497B CN 201310165263 A CN201310165263 A CN 201310165263A CN 103279497 B CN103279497 B CN 103279497B
Authority
CN
China
Prior art keywords
classification
file data
classified catalogue
catalogue
classified
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.)
Active
Application number
CN201310165263.3A
Other languages
Chinese (zh)
Other versions
CN103279497A (en
Inventor
王晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201310165263.3A priority Critical patent/CN103279497B/en
Publication of CN103279497A publication Critical patent/CN103279497A/en
Application granted granted Critical
Publication of CN103279497B publication Critical patent/CN103279497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method for carrying out automatically sort operation according to data type, system and device, classification information is extracted to the file data or existing file data that receive, classified catalogue is set up as title with the classification information that extracts, simultaneously corresponding file data is sorted out to corresponding classified catalogue, provisional classifications set is formed as element with this classified catalogue and corresponding file data, merge provisional classifications collection and be bonded to sets classification database, if the number of the file data that the classified catalogue of element includes is more than or equal to the parameter value for setting in the set after synthesis, then show this classified catalogue.This mode classification is saved the time of collating sort due to manually operating, when using afterwards, it is only necessary to is found in corresponding catalogue, just quickly and easily can be found, and is further saved retrieval time.

Description

A kind of method, system and device for carrying out automatically sort operation according to data type
Technical field
The present invention relates to network and communications field, especially a kind of side for carrying out automatically sort operation according to data type Method, system and device.
Background technology
People are when using network or miscellaneous equipment, it is often necessary to carry out the reception and transmission of data file.Ordinary circumstance Under, the data file that user receives can be stored in some positions formation file sets that fixes, day according to arranging accordingly The product moon tires out, and this few file set will accumulate different types of file in a large number, as these files do not have necessarily in storage Rule, when user is needed using some of which or certain file, generally require prolonged retrieval and can just find, so as to Inconvenience is brought to user.Some users are bothered in order to avoid these, after file is received, actively file can be carried out point Class, when needing afterwards to use, to save a lot of troubles.But if the Documents Comparison for receiving is more, this manual classification is just Can seem and extremely lose time.
In addition, the numerous and diverse file of various differences can be included also in existing file set sometimes, if do not carried out point Class, after long-time, also occurs problem same above.
Content of the invention
For solving the above problems, it is an object of the invention to provide a kind of carry out sort operation automatically according to data type Method, system and device, can classify automatically to the file in the file and existing file set that receive.
The present invention solves the technical scheme that adopted of its problem:
A kind of method for carrying out automatically sort operation according to data type, comprises the following steps:
(1)Provisional classifications set is set up according to classification information;
(2)Provisional classifications set is incorporated into classification collective database;
(3)It is pre-conditioned whether the element in classification collective database after judging to merge meets, if meeting, shows phase Answer the classified catalogue of element.
Further, step(2)The classification collective database is the collection with classified catalogue and respective file data as element Close.
Further, the step(1)Provisional classifications set is set up according to classification information to comprise the following steps:
(11)Classification information is extracted to the file data for needing classification;
(12)The classified catalogue with the classification information that extracts as title is set up, while corresponding file data is sorted out respectively To corresponding classified catalogue;
(13)Set up with step(12)The classified catalogue and its provisional classifications set that respective file data are element.
Further, the file data for needing classification includes the number of files under the file data for receiving and existing catalogue According to.
Further, the step(2)Include when provisional classifications set is incorporated into classification collective database:
Judge whether the classified catalogue title of element in provisional classifications set has corresponding element in classification collective database Same category directory name, if having identical classified catalogue title, the classification of respective element in provisional classifications set The file data included by catalogue is incorporated in classification collective database under the classified catalogue of corresponding element, is otherwise directly merged and is faced When category set close in element to collective database of classifying.
Further, the step(3)Specially:
Included in set after judging to merge, under the file directory of element, file data number is big with setup parameter value Little, when file data number is more than or equal to setup parameter value under file directory, then show this file directory.
A kind of system for carrying out automatically sort operation according to data type, including:
Collection modules, for setting up provisional classifications set according to classification information;
Merging module, for being incorporated into classification collective database by provisional classifications set;
Judge display module, pre-conditioned for judging whether the element in the classification collective database after merging meets, If meeting, show the classified catalogue of respective element.
The system also includes:
Initialization module, is with classified catalogue and respective file data as element for initializing classification collective database Set.
Wherein, the collection modules include:
Classification information extraction unit, extracts classification information for the file data to needing classification;
Taxon, for setting up the classified catalogue with the classification information extracted as title, and corresponding file data Sort out to corresponding classified catalogue respectively;
Interim aggregation units, for setting up the provisional classifications set with classified catalogue and its respective file data as element.
A kind of device for carrying out automatically sort operation according to data type, it is characterised in that:The device includes said system.
Wherein, described device includes:
Mobile terminal or/and computer equipment, for carrying out to the file data in mobile terminal or/and computer equipment Classification.
The invention has the beneficial effects as follows:
A kind of method, system and device for carrying out automatically sort operation according to data type that the present invention is adopted, Ke Yi After user receives file data, directly collating sort is carried out to receiving part hereinafter, it is also possible to which existing file data are arranged Classification.This classification time that by artificial mode classification, need not have greatly saved user, and user needs afterwards When using corresponding data, quickly and easily can find, so as to bring good operating experience to user.
Description of the drawings
The invention will be further described with example below in conjunction with the accompanying drawings.
Fig. 1 is the flow chart of the method for the invention;
Fig. 2 is the flow chart for setting up provisional classifications set of the present invention;
Fig. 3 is that the set of the method for the invention merges schematic diagram.
Fig. 4 is system architecture composition frame chart of the present invention.
Specific embodiment
With reference to shown in Fig. 1, a kind of method for carrying out automatically sort operation according to data type of the present invention, including following step Suddenly:
(1)Set up provisional classifications set.
This flow chart of steps with reference to shown in Fig. 2, extracts classification information, i.e. file data or existing text to reception first Number of packages includes but is not limited to the form of file data, content, author, theme, classification according to classification information, the classification information is extracted And one or more combination of keyword etc.;Second, the classified catalogue with classification information as title is set up, program can be set up automatically Classified catalogue with the classification information of extraction as title, while can sort out corresponding file data to corresponding classification mesh respectively Record;3rd, provisional classifications set is set up, is set up as element with classified catalogue described in second step and its respective file data and is faced When category set close.The file data of heretofore described reception, including the text received by various application programs and service end Number of packages evidence, the existing file data refer to the various file datas under existing storage catalogue.It should be noted that being formed Provisional classifications set set up by program backstage, be sightless to user.
(2)Merge provisional classifications collection and be bonded to category set conjunction database.
In this step, the classification collective database is to be with classified catalogue and its corresponding document data by what program was set up The set of element, its can be initialized as an empty set, it is also possible to actively be set up by user and addition element, and user can be with Set up one or more classified catalogues, while add corresponding file to corresponding classified catalogue, with the classified catalogue set up and Corresponding file data is used as the element in classification collective database.It should be noted that the classification collective database that is set up Set up by program backstage, be sightless to user.When merging provisional classifications collection is bonded to category set and closes database, root Principle is descended to merge according to this:If in two set, the classified catalogue title of respective element is identical, under provisional classifications set The file data included by the classified catalogue of corresponding element is incorporated in classification collective database under the classified catalogue of corresponding element, If the classified catalogue title of element has identical point without respective element in classification collective database in provisional classifications set Class catalogue, then directly merge the element in provisional classifications set to collective database of classifying, i.e., directly this element included Classified catalogue and corresponding file data merge the past.
(3)Element in classification set after merging is judged and is shown corresponding classified catalogue.
In this step, if merge after classify collective database in element classified catalogue under file data number more than or The parameter value for setting is equal to, then shows that the classified catalogue and its corresponding file data of corresponding element, the corresponding element are referred to Element of the number of file data more than or equal to setup parameter value under classified catalogue, now, classified catalogue is visible to user 's.
Methods described directly can be classified to file after user receives file, and the classified catalogue of formation is easier Distinguish, when associated documents are found, it is only necessary to find in related classified catalogue.Meanwhile, if in existing catalogue set File many and miscellaneous when, it is also possible to this catalogue set is classified.The method makes document classification intelligent, grasps for user Make the simple saving time again.
The schematic diagram that two set with reference to shown in Fig. 3 merge, CS1 is the classification collective database that sets up, after initialization, Include n element, the classified catalogue of these elements be followed successively by C1, C2, C3 ... Cn, correspondingly include corresponding file data Data1、Data2、Data3、….When the file data to receiving or existing file data are classified, then extract these texts Number of packages is according to the classification information for being included, and sets up classified catalogue with this classification information as title, while corresponding file data Sort out to corresponding classified catalogue.Interim provisional classifications set CS2 is set up as element with classified catalogue and corresponding file data, In figure, CS2 includes three elements, and classified catalogue successively is C1, C2 and Cm, corresponding file data be Data4, Data4 and Datam, when merging, classified catalogue C1, the C2 included due to two elements in provisional classifications set is in classification collective data There is corresponding element in storehouse comprising identical classified catalogue, then the file data Data4 for C1 and C2 being included is incorporated into respectively In classification collective database under the classified catalogue of corresponding element;Due to the classification mesh that an element in provisional classifications set includes Record Cm includes identical classified catalogue without corresponding element in classification collective database, then directly this element is incorporated into point Class collective database.Shown in new set reference picture after merging.Now, if the parameter value for setting is as 2, due to merging after The number of the file data that classified catalogue C1 and C2 includes is respectively 2, meets the parameter value condition more than or equal to setting, then Show this two elements, now two classified catalogues are visible to user.This sorting technique of the present invention, can be in user After receiving file data, directly collating sort is carried out to receiving part hereinafter, it is also possible to which collating sort is carried out to existing file data. This classification time that by artificial mode classification, need not have greatly saved user, and user needs to make afterwards During with corresponding data, quickly and easily can find.
It should be noted that after the file data to receiving or the classification of existing file data, can be to having shown that Classified catalogue carries out secondary classification, extracts in file data under the classified catalogue classification information included by header file, is classified with this Information sets up classified catalogue for title, forms the provisional classifications set with classified catalogue and respective file data as element, merges Provisional classifications collection is bonded to category set and closes database, if in the set after the merging number of files included by the classified catalogue of respective element According to number more than or equal to set parameter value when, then show corresponding classified catalogue.
System architecture composition frame chart of the present invention with reference to shown in Fig. 4, including collection modules, initialization module, merges mould Block, judge display module.
The collection modules include that classification information extraction unit, taxon and interim aggregation units, classification information are extracted Unit extracts classification information for the file data to needing classification, and the file data of the needs classification includes answering by various File under the file received with program and existing classified catalogue set, the classification information include but is not limited to file data One or more combination of form, content, author, theme, classification and keyword etc.;The taxon is used for according to extraction Classification information sets up corresponding classified catalogue, and corresponding file data is sorted out to corresponding classified catalogue;The interim collection Closing unit is used for setting up the provisional classifications set with classified catalogue and its respective file as element.
The initialization module is used for initializing the classification collective database that program is set up, the classification after initialization Collective database can be null set, or the set that sets up after element comprising user, specific initial method referring to Described in embodiment of the method.
The merging module is used for for the provisional classifications set of foundation being incorporated into classification collective database, specific merging side Method is referring to described in embodiment of the method.
The judgement display module is used for the classified catalogue in the classification collective database after judgement merges under element and is wrapped Whether the number of the file data for containing is more than or equal to the parameter value for setting, if in the classification collective database after merging under element The number of file data that included of classified catalogue more than or equal to the parameter value for setting, then by the classified catalogue under this element Show, now, this classified catalogue is visible for user.
The invention provides a kind of device of use system above, including:
Mobile terminal or/and computer equipment, for carrying out to the file data in mobile terminal or/and computer equipment Classification, the file data are included under the file data and existing catalogue set that mobile terminal or/and computer equipment are received File data.The mobile terminal includes the system intelligent mobile phone terminal such as Windows Mobile6.5, Symbian, Android, The computer equipment includes the various equipment such as desk-top, notebook, and its method of operating is identical with embodiment of the method, referring specifically to right The description of embodiment of the method.
The above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as Which reaches the technique effect of the present invention with identical means, should all belong to protection scope of the present invention.

Claims (8)

1. a kind of method for carrying out automatically sort operation according to data type, it is characterised in that comprise the following steps:
(1) provisional classifications set is set up according to classification information;
(2) provisional classifications set is incorporated into classification collective database;
(3) it is pre-conditioned whether the element in classification collective database after judging to merge meets, if meeting, shows corresponding unit The classified catalogue of element,
Wherein, step (1) is set up provisional classifications set according to classification information and is comprised the following steps:
(11) file data to needing classification extracts classification information;
(12) classified catalogue with the classification information that extracts as title is set up, while corresponding file data is sorted out respectively to phase The classified catalogue that answers;
(13) the provisional classifications set as element with step (12) classified catalogue and its respective file data is set up,
And wherein, step (2) include when provisional classifications set is incorporated into classification collective database:
Judge whether the classified catalogue title of element in provisional classifications set has the phase of corresponding element in classification collective database With classified catalogue title, if having identical classified catalogue title, the classified catalogue of respective element in provisional classifications set Comprising file data be incorporated in classification collective database under the classified catalogue of corresponding element, otherwise directly merge and temporarily divide Element in class set is to collective database of classifying.
2. the method for carrying out automatically sort operation according to data type according to claim 1, it is characterised in that step (2) the classification collective database is the set with classified catalogue and respective file data as element.
3. the method for carrying out automatically sort operation according to data type according to claim 1, it is characterised in that the need File data to be classified includes the file data under the file data for receiving and existing catalogue.
4., according to the arbitrary described method for carrying out automatically sort operation according to data type of claims 1 to 3, its feature exists In described step (3) are specially:
Judge the size of file data number and setup parameter value under the file directory of element included in the set after merging, when When file data number is more than or equal to setup parameter value under file directory, then show this file directory.
5. a kind of system for carrying out automatically sort operation according to data type, it is characterised in that include:
Collection modules, for setting up provisional classifications set according to classification information;
Merging module, for provisional classifications set is incorporated into classification collective database, wherein judges unit in provisional classifications set Whether the classified catalogue title of element has the same category directory name of corresponding element in classification collective database, if there is identical During classified catalogue title, then the file data included by the classified catalogue of respective element in provisional classifications set is incorporated into classification In collective database under the classified catalogue of corresponding element, otherwise directly merge the element in provisional classifications set to set number of classifying According to storehouse;
Judge display module, pre-conditioned for judging whether the element in the classification collective database after merging meets, if symbol Close, then show the classified catalogue of respective element,
Wherein, the collection modules include:
Classification information extraction unit, extracts classification information for the file data to needing classification;
Taxon, for setting up the classified catalogue with the classification information extracted as title, and corresponding file data difference Sort out to corresponding classified catalogue;
Interim aggregation units, for setting up the provisional classifications set with classified catalogue and its respective file data as element.
6. the system for carrying out automatically sort operation according to data type according to claim 5, it is characterised in that also wrap Include:
Initialization module, is the collection with classified catalogue and respective file data as element for initializing classification collective database Close.
7. a kind of device for carrying out automatically sort operation according to data type, it is characterised in that:The device include claim 5 or The system for carrying out automatically sort operation according to data type described in 6.
8. the device for carrying out automatically sort operation according to data type according to claim 7, it is characterised in that the dress Put including:
Mobile terminal or/and computer equipment, for carrying out to the file data in mobile terminal or/and computer equipment point Class.
CN201310165263.3A 2013-05-07 2013-05-07 A kind of method, system and device for carrying out automatically sort operation according to data type Active CN103279497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310165263.3A CN103279497B (en) 2013-05-07 2013-05-07 A kind of method, system and device for carrying out automatically sort operation according to data type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310165263.3A CN103279497B (en) 2013-05-07 2013-05-07 A kind of method, system and device for carrying out automatically sort operation according to data type

Publications (2)

Publication Number Publication Date
CN103279497A CN103279497A (en) 2013-09-04
CN103279497B true CN103279497B (en) 2017-03-15

Family

ID=49062017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310165263.3A Active CN103279497B (en) 2013-05-07 2013-05-07 A kind of method, system and device for carrying out automatically sort operation according to data type

Country Status (1)

Country Link
CN (1) CN103279497B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045928A (en) * 2015-08-27 2015-11-11 北京金山安全软件有限公司 To-be-cleaned data display method and device and electronic equipment
TWI567576B (en) * 2015-11-02 2017-01-21 財團法人資訊工業策進會 Integration device and integration method thereof
CN106407416A (en) * 2016-09-23 2017-02-15 维沃移动通信有限公司 An application program data integration method and a mobile terminal
CN108959304B (en) * 2017-05-22 2022-03-25 阿里巴巴集团控股有限公司 Label prediction method and device
CN112395473A (en) * 2019-07-31 2021-02-23 比亚迪股份有限公司 Method and device for classifying parts in CAE model and storage medium
CN111343502B (en) * 2020-03-30 2021-11-09 招商局金融科技有限公司 Video processing method, electronic device and computer readable storage medium
CN114968921A (en) * 2022-08-02 2022-08-30 山东双仁信息技术有限公司 Paperless office file management method and paperless office file management system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1771498A (en) * 2003-04-07 2006-05-10 皇家飞利浦电子股份有限公司 Method and apparatus for grouping content items
CN1996283A (en) * 2005-12-31 2007-07-11 英保达股份有限公司 File sorting-save management method and system therefor
CN102752403A (en) * 2012-07-25 2012-10-24 北京苏达普科技有限公司 Cloud method for arranging photos automatically

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5149570B2 (en) * 2006-10-16 2013-02-20 キヤノン株式会社 File management apparatus, file management apparatus control method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1771498A (en) * 2003-04-07 2006-05-10 皇家飞利浦电子股份有限公司 Method and apparatus for grouping content items
CN1996283A (en) * 2005-12-31 2007-07-11 英保达股份有限公司 File sorting-save management method and system therefor
CN102752403A (en) * 2012-07-25 2012-10-24 北京苏达普科技有限公司 Cloud method for arranging photos automatically

Also Published As

Publication number Publication date
CN103279497A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
CN103279497B (en) A kind of method, system and device for carrying out automatically sort operation according to data type
CN104123399B (en) A kind of cross-platform exam pool resource construction method
CN104133820B (en) Content recommendation method and content recommendation device
CN103778148B (en) Life cycle management method and equipment for data file of Hadoop distributed file system
CN104111935B (en) Server and microblog pushing method and system
CN104636321B (en) Text display method and device
CN103455485A (en) Method and device for automatically updating user interest model
CN104484165B (en) A kind of browser collection folder data processing method, browser client and system
CN102541937A (en) Webpage information detection method and system
CN102163187A (en) Document marking method and device
CN104135498A (en) Cross-platform information push system and push method thereof
CN102891911A (en) Contact sorting method and apparatus for terminal
CN106778817A (en) A kind of automatic classification method of event
CN101867644A (en) Method and system for deleting short message and mobile terminal
CN103218461A (en) Classified management method, system, terminal and cloud server for browse pages
CN104284306B (en) A kind of method for filtering spam short messages, system, mobile terminal and Cloud Server
CN103646072A (en) Automatic file classification method and mobile terminal
CN103294507A (en) Method and device for providing information of downloading resources
CN104410563A (en) Information push method and wireless device
CN103577476B (en) The treatment process of web page browsing record and web page browsing device
CN103377225A (en) Method and device for building knowledge base system
CN105045868A (en) Method and apparatus for searching hot event
CN106296249A (en) A kind of user classification method based on LBS and interest and system
CN104899270A (en) Intelligent terminal and information storage method for same
CN102955791A (en) Searching and classifying service system for network information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant after: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant after: Beijing Kingsoft office software Limited by Share Ltd

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant before: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant before: Beijing Kingsoft WPS Office Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant