CN103646072A - Automatic file classification method and mobile terminal - Google Patents

Automatic file classification method and mobile terminal Download PDF

Info

Publication number
CN103646072A
CN103646072A CN201310665337.XA CN201310665337A CN103646072A CN 103646072 A CN103646072 A CN 103646072A CN 201310665337 A CN201310665337 A CN 201310665337A CN 103646072 A CN103646072 A CN 103646072A
Authority
CN
China
Prior art keywords
data
thumbnail
file
document
module
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
CN201310665337.XA
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.)
HENAN BOSHIDA COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
HENAN BOSHIDA COMMUNICATION TECHNOLOGY 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 HENAN BOSHIDA COMMUNICATION TECHNOLOGY Co Ltd filed Critical HENAN BOSHIDA COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201310665337.XA priority Critical patent/CN103646072A/en
Publication of CN103646072A publication Critical patent/CN103646072A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • 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/14Details of searching files based on file metadata
    • G06F16/156Query results presentation
    • 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/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files

Landscapes

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

Abstract

The invention discloses an automatic file classification method and a mobile terminal. The automatic file classification method includes the first step of carrying out classification and identification, the second step of generating data format notices, the third step of generating thumbnails and sending and storing the thumbnails, the fourth step of reordering, and the fifth step of displaying. The mobile terminal comprises a file monitoring module, a file classification module, a file thumbnail display module, a file browsing module and file databases. Compared with the prior art, the automatic file classification method and the mobile terminal can be used for carrying out analysis on a file stored in a memory card or a mobile phone through the file classification module, sending the file to the corresponding database for storing according to the name suffix of the file, adding the corresponding classification mark so as to bring convenience to a user to search the file when the user needs to use the file, and saving searching time.

Description

Automatic document classifying method and mobile terminal
Technical field
The present invention relates to a kind of device for mobile communication, particularly a kind of automatic document classifying method and mobile terminal.
Background technology
Along with the fast development of smart mobile phone, a large amount of hardware vendors enter smart mobile phone field, thereby the level of hardware of smart mobile phone is promoted rapidly, and mobile phone EMS memory storage space is increasing and support the functions such as SD card expansion.
At present, the increase day by day of phone memory, user uses mobile phone also more and more higher as the demand of memory device, but after depositing heap file in, traditional Fileview is more and more difficult, time-consuming.
Summary of the invention
The object of this invention is to provide a kind of automatic document classifying method and mobile terminal, the technical matters that solve is to use more convenient and quicker, saves the time of locating file.
For addressing the above problem, the present invention realizes by the following technical solutions: a kind of automatic document classifying method, comprise the following steps: one, user downloads or copies data with the connected mode of data line or network, and new data are stored in the document data bank of mobile terminal, file monitoring module monitors has download or copies data to deposit in to user, these data is sent to document classification module and carries out Classification and Identification;
Two, document classification module sends to file Suo Luotu display module according to the data layout generated data form notice of data;
Three, file thumbnail display module judges that whether data are for compressing first, is according to data layout notice, the thumbnail generating is sent to document classification module and is stored in thumbnail data storehouse after new data compression; Otherwise directly call thumbnail corresponding with data in thumbnail data storehouse and be sent to document classification module;
Four, the data in the thumbnail that document classification module is sent file thumbnail display module and extraction corresponding document database are upgraded the former data list being stored in corresponding document database after resequencing and generating new data list, and the data that this need to be stored are kept in corresponding document data bank;
Five, browsing file module is extracted in database and is stored in the data list in each document data bank, and the display screen that exports mobile terminal to shows.
Data layout notice in step 3 of the present invention is image data, directly image data is compressed and generates thumbnail; Data layout notice is video data, and the first frame video pictures of file thumbnail display module data intercept compresses and generates thumbnail; When data layout notice is document data or music data, file thumbnail display module directly extracts and is stored in the corresponding thumbnail of music data or the thumbnail of document data in thumbnail data storehouse.
The determination methods whether file thumbnail display module judgement of the present invention needs the data of compression to compress is first in search thumbnail data storehouse, whether to have the thumbnail identical with the data of needs compression, exist identical thumbnail to regard as and be not to compress first, not existing identical thumbnail to regard as is to compress first.
The sortord of data list of the present invention is: the first letter of pinyin that is Chinese character title according to the initial of the English name of data and person is arranged with the lexicographic order of A-Z; Described data list comprises thumbnail, file name, data layout, creation-time, size of data and the data store path of data.
A mobile terminal, is characterized in that: this mobile terminal comprises:
File monitoring module, the data that need to be stored in document data bank are monitored, when having new data need to store in document data bank, new data are sent to document classification module and carry out Classification and Identification, new data are sent to file thumbnail display module simultaneously;
Document classification module, identifies new data, is sent to file thumbnail display module after judging the data layout notice of these data; The thumbnail that reception file thumbnail display module sends and the data in extraction document database are upgraded the former data list being stored in document data bank after resequencing and generating new data list, and new data are kept in corresponding document data bank;
File thumbnail display module, according to judge whether first compression of data after data layout notice, be this data based data layout is notified be sent to document classification module after compressing and by thumbnail storage in thumbnail data storehouse; Otherwise directly call thumbnail corresponding in thumbnail data storehouse and be sent to document classification module;
Browsing file module, shows the data in the music file database in document data bank, video file database, picture file data storehouse and document files database;
Browsing file module is extracted the data list in each document data bank, and the display screen to mobile terminal shows with the formal output of directory tree.
The judgment mode of compression first of the present invention is in file thumbnail display module search thumbnail data storehouse, whether to have the thumbnail identical with the data of needs compression, exist identical thumbnail to regard as and be not to compress first, not existing identical thumbnail to regard as is to compress first.
Data layout notice of the present invention is video data, and file thumbnail display module the first frame video pictures of data intercept compresses generation thumbnail; Data layout notice is image data, directly image data is compressed and generates thumbnail; When data layout notice is document data or music data, directly extracts and be stored in the corresponding thumbnail of music data or the thumbnail of document data in thumbnail data storehouse.
The sortord of data list of the present invention is: according to the first letter of pinyin of the initial of the English name of data and Chinese character title, with the lexicographic order of A-Z, arrange.
Data list of the present invention comprises thumbnail, file name, data layout, creation-time, size of data and the data store path of data.
Document data bank of the present invention comprises music file database, video file database, picture file data storehouse, document files database and thumbnail data storehouse.
The present invention compared with prior art, the file being stored in storage card or mobile phone is analyzed by document classification module, according to suffix star this document of file, be sent in corresponding database and store, and add accordingly and classify and represent, search when being user-friendly to, save and search the time.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of mobile terminal of the present invention.
Fig. 2 is the process flow diagram of automatic document classifying method of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As shown in Figure 1, mobile terminal of the present invention comprises:
File monitoring module, the data that need to be stored in document data bank are monitored, when having new data need to store in document data bank, new data are sent to document classification module and carry out Classification and Identification, new data are sent to file thumbnail display module simultaneously;
Document classification module, identifies new data, is sent to file thumbnail display module after judging the data layout notice of these data; The thumbnail that reception file thumbnail display module sends and the data in extraction document database are upgraded the former data list being stored in document data bank after resequencing and generating new data list, and new data are kept in corresponding document data bank;
The sortord of described data list is: the first letter of pinyin that is Chinese character title according to the initial of the English name of data and person is arranged with the lexicographic order of A-Z;
Data list comprises thumbnail, file name, data layout, creation-time, size of data and the data store path of data.
Described data layout comprise suffix .jpg by name and .gif image data, suffix .mp4 by name and .rmvb video data, suffix .mp3 by name and or the document data such as the voice data of .wma and suffix .doc .txt by name.
Document data bank comprises music file database, video file database, picture file data storehouse, document files database and thumbnail data storehouse;
Whether first file thumbnail display module, judge data compression after receiving data layout notice, be according to data layout notify be sent to document classification module after these data are compressed and by thumbnail storage in thumbnail data storehouse; Otherwise directly call thumbnail corresponding in thumbnail data storehouse and be sent to document classification module; Data layout notice is video data, and file thumbnail display module the first frame video pictures of data intercept compresses generation thumbnail; Data layout notice is image data, directly image data is compressed and generates thumbnail; When data layout notice is document data or music data, directly extracts and be stored in the corresponding thumbnail of music data or the thumbnail of document data in thumbnail data storehouse;
Further, the judgment mode of compression is in file thumbnail display module search thumbnail data storehouse, whether to have the thumbnail identical with the data of needs compression first, exist identical thumbnail to regard as and be not to compress first, not existing identical thumbnail to regard as is to compress first;
Further, described thumbnail is for being less than the little figure of former picture or former video data the first frame picture by compressing formed and picture or video data the first frame picture and document size;
Further, the thumbnail in the storehouse of thumbnail data shown in is stored with the data structure of Hash table (ConcurrentHashMap);
Browsing file module, shows the data in the music file database in document data bank, video file database, picture file data storehouse and document files database;
Browsing file module is extracted the data list in each document data bank, and the display screen to mobile terminal shows with the formal output of directory tree.
Further, described directory tree is comprised of parent directory and sub-directory; Parent directory is comprised of music file database, video file database, picture file data storehouse and document files database; The sub-directory of music file database is the music data in music file database, the sub-directory of video file database is the video data in video file database, the sub-directory in picture file data storehouse is the image data in picture file data storehouse, and the sub-directory of document files database is the document data of document files database.
As shown in Figure 2, automatic document classifying method of the present invention comprises the following steps:
One, user downloads or copies data with the connected mode of data line or network, and new data are stored in the document data bank of mobile terminal, file monitoring module monitors has download or copies data to deposit in to user, these data is sent to document classification module and carries out Classification and Identification;
Document data bank comprises music file database, video file database, picture file data storehouse, document files database and thumbnail data storehouse;
Two, the data layout of document classification module judgement data, file thumbnail display module is notified and sent to generated data form;
Data layout comprise suffix .jpg by name and .gif image data, suffix .mp4 by name and .rmvb video data, suffix .mp3 by name and or the document data such as the voice data of .wma and suffix .doc .txt by name;
Three, whether the judgement of file thumbnail display module needs the data of compression to compress first, is be sent to document classification module and be stored in thumbnail data storehouse after new data compression being generated to thumbnail according to data layout notice; Otherwise directly call thumbnail corresponding with data in thumbnail data storehouse and be sent to document classification module, file thumbnail display module compresses according to data layout notice, the mode of compression is: data layout notice is video data, and the first frame video pictures of file thumbnail display module data intercept compresses and generates thumbnail; Data layout notice is image data, and file thumbnail display module directly compresses image data and generates thumbnail; When data layout notice is document data or music data, directly extracts and be stored in the corresponding thumbnail of music data or the thumbnail of document data in thumbnail data storehouse, and thumbnail is sent to document classification module;
The determination methods whether described file thumbnail display module judgement needs the data of compression to compress is first in search thumbnail data storehouse, whether to have the thumbnail identical with the data of needs compression, exist identical thumbnail to regard as and be not to compress first, not existing identical thumbnail to regard as is to compress first;
Four, the data in the thumbnail that document classification module is sent file thumbnail display module and extraction corresponding document database are upgraded the former data list being stored in corresponding document database after resequencing and generating new data list, and the data that this need to be stored are kept in corresponding document data bank;
Described corresponding document database is the document data bank identical with the data layout of data, and what for example image data was corresponding is picture file data storehouse;
The sortord of described data list is: the first letter of pinyin that is Chinese character title according to the initial of the English name of data and person is arranged with the lexicographic order of A-Z;
Data list comprises thumbnail, file name, data layout, creation-time, size of data and the data store path of data.
Five, browsing file module is extracted in database and is stored in the data list in each document data bank, and the display screen that exports mobile terminal to shows.
The invention solves in mobile phone storage equipment and store after a large amount of dissimilar files, need to expend a large amount of time locating files, saved the time.

Claims (10)

1. an automatic document classifying method, comprise the following steps: one, user downloads or copies data with the connected mode of data line or network, and new data are stored in the document data bank of mobile terminal, file monitoring module monitors has download or copies data to deposit in to user, these data is sent to document classification module and carries out Classification and Identification;
Two, document classification module sends to file thumbnail display module according to the data layout generated data form notice of data;
Three, file thumbnail display module judges that whether data are for compressing first, is according to data layout notice, the thumbnail generating is sent to document classification module and is stored in thumbnail data storehouse after new data compression; Otherwise directly call thumbnail corresponding with data in thumbnail data storehouse and be sent to document classification module;
Four, the data in the thumbnail that document classification module is sent file thumbnail display module and extraction corresponding document database are upgraded the former data list being stored in corresponding document database after resequencing and generating new data list, and the data that this need to be stored are kept in corresponding document data bank;
Five, browsing file module is extracted in database and is stored in the data list in each document data bank, and the display screen that exports mobile terminal to shows.
2. automatic document classifying method according to claim 1, is characterized in that: the data layout notice in described step 3 is image data, directly image data is compressed and generates thumbnail; Data layout notice is video data, and the first frame video pictures of file thumbnail display module data intercept compresses and generates thumbnail; When data layout notice is document data or music data, file thumbnail display module directly extracts and is stored in the corresponding thumbnail of music data or the thumbnail of document data in thumbnail data storehouse.
3. automatic document classifying method according to claim 2, it is characterized in that: whether first the data of the described file thumbnail display module judgement needs compression determination methods of compression are in search thumbnail data storehouse, whether to have the thumbnail identical with the data of needs compression, exist identical thumbnail to regard as and be not to compress first, not existing identical thumbnail to regard as is to compress first.
4. automatic document classifying method according to claim 3, is characterized in that: the sortord of described data list is: the first letter of pinyin that is Chinese character title according to the initial of the English name of data and person is arranged with the lexicographic order of A-Z; Described data list comprises thumbnail, file name, data layout, creation-time, size of data and the data store path of data.
5. a mobile terminal, is characterized in that: this mobile terminal comprises:
File monitoring module, the data that need to be stored in document data bank are monitored, when having new data need to store in document data bank, new data are sent to document classification module and carry out Classification and Identification, new data are sent to file thumbnail display module simultaneously;
Document classification module, identifies new data, is sent to file thumbnail display module after judging the data layout notice of these data; The thumbnail that reception file thumbnail display module sends and the data in extraction document database are upgraded the former data list being stored in document data bank after resequencing and generating new data list, and new data are kept in corresponding document data bank;
File thumbnail display module, according to judge whether first compression of data after data layout notice, be this data based data layout is notified be sent to document classification module after compressing and by thumbnail storage in thumbnail data storehouse; Otherwise directly call thumbnail corresponding in thumbnail data storehouse and be sent to document classification module;
Browsing file module, shows the data in the music file database in document data bank, video file database, picture file data storehouse and document files database;
Browsing file module is extracted the data list in each document data bank, and the display screen to mobile terminal shows with the formal output of directory tree;
Document data bank, for storing data, comprises music file database, video file database, picture file data storehouse, document files database and thumbnail data storehouse.
6. mobile terminal according to claim 5, it is characterized in that: the described judgment mode of compression is first in file thumbnail display module search thumbnail data storehouse, whether to have the thumbnail identical with the data of needs compression, exist identical thumbnail to regard as and be not to compress first, not existing identical thumbnail to regard as is to compress first.
7. mobile terminal according to claim 6, is characterized in that: described data layout notice is video data, and file thumbnail display module the first frame video pictures of data intercept compresses generation thumbnail; Data layout notice is image data, directly image data is compressed and generates thumbnail; When data layout notice is document data or music data, directly extracts and be stored in the corresponding thumbnail of music data or the thumbnail of document data in thumbnail data storehouse.
8. mobile terminal according to claim 7, is characterized in that: the sortord of described data list is: according to the first letter of pinyin of the initial of the English name of data and Chinese character title, with the lexicographic order of A-Z, arrange.
9. mobile terminal according to claim 8, is characterized in that: described data list comprises thumbnail, file name, data layout, creation-time, size of data and the data store path of data.
10. mobile terminal according to claim 9, is characterized in that: described document data bank comprises music file database, video file database, picture file data storehouse, document files database and thumbnail data storehouse.
CN201310665337.XA 2013-12-10 2013-12-10 Automatic file classification method and mobile terminal Pending CN103646072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310665337.XA CN103646072A (en) 2013-12-10 2013-12-10 Automatic file classification method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310665337.XA CN103646072A (en) 2013-12-10 2013-12-10 Automatic file classification method and mobile terminal

Publications (1)

Publication Number Publication Date
CN103646072A true CN103646072A (en) 2014-03-19

Family

ID=50251286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310665337.XA Pending CN103646072A (en) 2013-12-10 2013-12-10 Automatic file classification method and mobile terminal

Country Status (1)

Country Link
CN (1) CN103646072A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808770A (en) * 2016-03-22 2016-07-27 北京北方微电子基地设备工艺研究中心有限责任公司 File management method and device
CN105975543A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Method and system for identifying downloaded file of mobile terminal by icon
CN106294703A (en) * 2016-08-08 2017-01-04 广东欧珀移动通信有限公司 A kind of file classifying method, device and terminal
CN106407448A (en) * 2016-09-29 2017-02-15 广州鹤互联网科技有限公司 Signed file management method and apparatus
CN106897454A (en) * 2017-02-15 2017-06-27 北京时间股份有限公司 A kind of file classifying method and device
CN108009204A (en) * 2017-11-02 2018-05-08 深圳市网心科技有限公司 Method and system based on extension name classification and de-redundancy
CN108304534A (en) * 2018-01-30 2018-07-20 努比亚技术有限公司 File management method, terminal and computer readable storage medium
CN108984110A (en) * 2018-05-24 2018-12-11 太仓鸿策腾达网络科技有限公司 A kind of remote data copy system
CN112130733A (en) * 2020-08-27 2020-12-25 北京云动智效网络科技有限公司 Thumbnail-based document display method and equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808770A (en) * 2016-03-22 2016-07-27 北京北方微电子基地设备工艺研究中心有限责任公司 File management method and device
CN105975543A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Method and system for identifying downloaded file of mobile terminal by icon
CN106294703A (en) * 2016-08-08 2017-01-04 广东欧珀移动通信有限公司 A kind of file classifying method, device and terminal
CN106407448A (en) * 2016-09-29 2017-02-15 广州鹤互联网科技有限公司 Signed file management method and apparatus
CN106897454A (en) * 2017-02-15 2017-06-27 北京时间股份有限公司 A kind of file classifying method and device
CN106897454B (en) * 2017-02-15 2020-07-03 北京时间股份有限公司 File classification method and device
CN108009204A (en) * 2017-11-02 2018-05-08 深圳市网心科技有限公司 Method and system based on extension name classification and de-redundancy
CN108304534A (en) * 2018-01-30 2018-07-20 努比亚技术有限公司 File management method, terminal and computer readable storage medium
CN108984110A (en) * 2018-05-24 2018-12-11 太仓鸿策腾达网络科技有限公司 A kind of remote data copy system
CN112130733A (en) * 2020-08-27 2020-12-25 北京云动智效网络科技有限公司 Thumbnail-based document display method and equipment

Similar Documents

Publication Publication Date Title
CN103646072A (en) Automatic file classification method and mobile terminal
US20180365489A1 (en) Automatically organizing images
CN102906751B (en) A kind of method of data storage, data query and device
WO2015007125A1 (en) Method and apparatus for scanning file in memory
CN101916164A (en) Mobile terminal and file browsing method implemented by same
CN102184177A (en) Method and system for previewing file
CN102508597A (en) Method and equipment for collecting applications on desktop of movable terminal
CN102831242A (en) Method and device for searching picture information
CN101196914A (en) Method, system and device for exhibiting download task list
CN103051652A (en) Mobile terminal cloud commuting delivery platform
CN103092946A (en) Method and system of choosing terminal lot-sizing pictures
CN104580448A (en) Information push method and device
CN103123651A (en) Method of rapidly searching multiple same-kind paper, device and mobile equipment
CN104035943A (en) Data storage method and corresponding server
CN102655512A (en) Mobile equipment-based downloading method and system
CN103064934B (en) Android file management method and device
CN102663014A (en) Management method for online books of bookshelf interface in mobile device read software
CN103377052A (en) Method and system for automatically downloading adaptive application programs on basis of file synchronization service
CN109710783B (en) Picture loading method and device, storage medium and server
CN104021126B (en) Webpage content filtering method and server
WO2007073097A1 (en) Method and system for sorting/searching file and record media therefor
US11023418B2 (en) Keyword-based data management system and method
WO2019085591A1 (en) Intelligent hardware device, intelligent disk data processing method, and storage medium
CN104090878A (en) Multimedia checking method, terminal, server and system
CN103093213A (en) Video file classification method and terminal

Legal Events

Date Code Title Description
PB01 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: 20140319