CN103605713A - Method and device for mobile terminal file browsing - Google Patents

Method and device for mobile terminal file browsing Download PDF

Info

Publication number
CN103605713A
CN103605713A CN201310565954.2A CN201310565954A CN103605713A CN 103605713 A CN103605713 A CN 103605713A CN 201310565954 A CN201310565954 A CN 201310565954A CN 103605713 A CN103605713 A CN 103605713A
Authority
CN
China
Prior art keywords
file
path
mobile terminal
redundant
document
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
CN201310565954.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310565954.2A priority Critical patent/CN103605713A/en
Publication of CN103605713A publication Critical patent/CN103605713A/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/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/14Details of searching files based on file metadata
    • G06F16/148File search processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for mobile terminal file browsing. For redundant files disturbing users' browsing, save paths are counted in advance. When a save path of a file in a system is listed on a redundant file path counted in advance, the file is regarded as a redundant file, otherwise, the file is a non-redundant file. When a user browses files, only non-redundant files are displayed, so for the user, insignificant files are excluded out of a browsing window, browsing targets are purified, and the user can know about interesting files quickly.

Description

Mobile terminal document browsing method and device
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of mobile terminal document browsing method and device.
Background technology
At present, on application software of mobile terminal market popular file management class application software as: Tengxun's file management, Miui file management, OI file managements etc. are searched a lot, but the method for browsing file is substantially with regard to two kinds: with document directory structure path browser document with file class, distinguish browser document.The first is accustomed to document directory structure path mode browser document, substantially in the situation that quantity of documents is few, be all so to represent to user's, when quantity of documents increases, adopt the second way to show and present to user with file class classification, be convenient to user and understand quickly interested file.
When user uses mobile terminal more and more for a long time, the mobile phone of Android system for example, use the files such as journal file, browser in system more of a specified duration is residual, application rubbish, cached document just more, in the face of numerous and jumbled various file, even if adopt the mode of classified browse can not reach the effect of a certain file in quick location.
Summary of the invention
Based on above-mentioned situation, the present invention proposes a kind of mobile terminal document browsing method and device, to improve the speed of locating file.
A mobile terminal document browsing method, comprises step:
Receive browsing file order;
File in scanning system the storing path of log file;
The storing path of file is mated with the redundant file storing path of adding up in advance, if coupling excludes Browser by this document, if do not mate this document is illustrated in to Browser.
A mobile terminal document browsing apparatus, comprising:
Navigation commands receiver module, for receiving browsing file order;
System file path logging modle, for the file of scanning system the storing path of log file;
Redundant file path statistical module, for the storing path of statistical system redundant file;
Route matching module, for when described navigation commands receiver module receives navigation commands, by the storing path of the file of described system file path logging modle record and described redundant file path statistical module counts the storing path of redundant file mate;
Screening display module, for the file of described system file path logging modle record being excluded to Browser at the matching result of described route matching module during for coupling, at matching result, the file of described system file path logging modle record is illustrated in to Browser when not mating.
Mobile terminal document searching method of the present invention and device, the redundant file of browsing for interference user, adds up its storing path in advance, and in system, the storing path of file is when the row in the redundant file path of adding up in advance, this document is classified as to redundant file, otherwise is nonredundancy file.During user's browser document, only show nonredundancy file, thereby will concerning user, insignificant file eliminating browse outside window, purified and browsed object, make user can understand fast interesting file.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of mobile terminal document browsing method of the present invention;
Fig. 2 is the structural representation of mobile terminal document browsing apparatus of the present invention.
Embodiment
User browses video, audio frequency, picture or the various document that object is preserved or downloaded before normally.Mobile terminal, as mobile phone or panel computer, the mobile phone of the operation Android system that particularly the end user masses are many at present, the application program of its installation in use can produce numerous temporary files, also be divided into audio frequency, video, picture and document etc., these files belong to redundant file concerning user, and quantity may far surpass user and leave the file in mobile phone in, has seriously dragged slowly user to check the speed of corresponding document.In order to address this problem, the present invention has adopted following proposal.
Mobile terminal document browsing method of the present invention, as shown in Figure 1, comprises step:
Step S101, the order of reception browsing file;
File in step S102, scanning system the storing path of log file;
Step S103, judge the storing path of current file with in advance statistics redundant file storing path whether mate;
If the storing path of step S104 file mates current file is excluded to Browser with the redundant file storing path of adding up in advance;
If the storing path of step S105 file does not mate current file is illustrated in to Browser with the redundant file storing path of adding up in advance.
The common feature of the redundant file that each application program produces is to be all kept under the cache path of this application program, under Android system, obtain application cache path, a kind of method is to obtain by context.getCacheDir (), and being saved in database for example packageScanDatabase.db with the form of database, this database is to the open authority of file management application; Another kind method is briefly that initiatively Monitoring Files creates, and specific practice is:
A: start a service service, create FileObserver class
B: monitoring sdcard root directory and mobile phone root directory;
C: when having monitored file establishment, record this folder path path, and judge whether the application of current operation is file management application, if file management application, just ignore this path, otherwise this path is joined in the database of cache path list.
The cache path of the application of preserving is equivalent to blacklist, and in system, the storing path of certain file, when the row of blacklist, when the matching result of step S103 is for coupling, is considered as redundant file by this document, and redundant file will there will not be is browsing window.Otherwise, if the storing path of certain file, not at the row of blacklist, is illustrated in and is browsed window in system.
The browsing file order that step S101 receives can be document classification navigation commands, can be also document directory structure path navigation commands, and this method is applicable to classified browse, is also applicable to traditional browsing by document directory structure path.Take classified browse as example, enter classification view interface, list ImageList according to the tabulation of having obtained such as picture, read picture file listing file routing information, mate with the file cache path in packageScanDatabase.db, the path of certain file in list is in packageScanDatabase.db database time, assert that this file is application cache redundant file, do not show this file, this fileinfo is saved in ignoreImageList; If do not had, the match is successful, and fileinfo is saved in to useImageList, and other kinds by that analogy.Finally, in system, All Files is divided into two kinds, redundancy class (ignoreImageList) and nonredundancy class (useImageList), and nonredundancy class is exactly the data that user pays close attention to most, is illustrated in browsing in window of respective type file.
Consider that user can install or unloading certain applications program according to hobby and demand, load and unload event as all right monitoring and measuring application program of a preferred embodiment this method, and when monitoring described event, upgrade the cache path of redundant file, make to browse the redundant file that window produces all application of the current installation of system and all foreclose.
Mobile terminal document browsing apparatus of the present invention is the device corresponding with above-mentioned browsing method, as shown in Figure 2, comprising:
Navigation commands receiver module, for receiving browsing file order;
System file path logging modle, for the file of scanning system the storing path of log file;
Redundant file path statistical module, for the storing path of statistical system redundant file;
Route matching module, for when described navigation commands receiver module receives navigation commands, by the storing path of the file of described system file path logging modle record and described redundant file path statistical module counts the storing path of redundant file mate;
Screening display module, for the file of described system file path logging modle record being excluded to Browser at the matching result of described route matching module during for coupling, at matching result, the file of described system file path logging modle record is illustrated in to Browser when not mating.
Shown in Fig. 2, be this embodiment who installs each module annexation, in should embodiment, navigation commands receiver module, route matching module and screening display module are connected successively, wherein route matching module is also connected with redundant file path statistical module with system file path logging modle respectively, thereby has formed this device.
As a preferred embodiment, the storing path of described redundant file is the cache path of the system application program of installing.
As a preferred embodiment, the browsing file order that described navigation commands receiver module receives comprises document classification navigation commands and document directory structure path navigation commands.
As a preferred embodiment, described redundant file path statistical module also for the load and unload event of monitoring and measuring application program, and upgrades the cache path of application program when monitoring described event.
As a preferred embodiment, described file and described redundant file comprise audio file, video file and document files.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a mobile terminal document browsing method, is characterized in that, comprises step:
Receive browsing file order;
File in scanning system the storing path of log file;
The storing path of file is mated with the redundant file storing path of adding up in advance, if coupling excludes Browser by this document, if do not mate this document is illustrated in to Browser.
2. mobile terminal document browsing method according to claim 1, is characterized in that,
Described redundant file storing path is the cache path of the system application program of installing.
3. mobile terminal document browsing method according to claim 1 and 2, is characterized in that,
The browsing file order receiving comprises document classification navigation commands and document directory structure path navigation commands.
4. mobile terminal document browsing method according to claim 2, is characterized in that,
Also comprise step: the load and unload event of monitoring and measuring application program, and when monitoring described event, upgrade the cache path of application program.
5. mobile terminal document browsing method according to claim 1 and 2, is characterized in that,
Described file and described redundant file comprise audio file, video file and document files.
6. a mobile terminal document browsing apparatus, is characterized in that, comprising:
Navigation commands receiver module, for receiving browsing file order;
System file path logging modle, for the file of scanning system the storing path of log file;
Redundant file path statistical module, for the storing path of statistical system redundant file;
Route matching module, for when described navigation commands receiver module receives navigation commands, by the storing path of the file of described system file path logging modle record and described redundant file path statistical module counts the storing path of redundant file mate;
Screening display module, for the file of described system file path logging modle record being excluded to Browser at the matching result of described route matching module during for coupling, at matching result, the file of described system file path logging modle record is illustrated in to Browser when not mating.
7. mobile terminal document browsing apparatus according to claim 6, is characterized in that,
The storing path of described redundant file is the cache path of the system application program of installing.
8. according to the mobile terminal document browsing apparatus described in claim 6 or 7, it is characterized in that,
The browsing file order that described navigation commands receiver module receives comprises document classification navigation commands and document directory structure path navigation commands.
9. mobile terminal document browsing apparatus according to claim 7, is characterized in that,
Described redundant file path statistical module also for the load and unload event of monitoring and measuring application program, and upgrades the cache path of application program when monitoring described event.
10. according to the mobile terminal document browsing apparatus described in claim 6 or 7, it is characterized in that,
Described file and described redundant file comprise audio file, video file and document files.
CN201310565954.2A 2013-11-13 2013-11-13 Method and device for mobile terminal file browsing Pending CN103605713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310565954.2A CN103605713A (en) 2013-11-13 2013-11-13 Method and device for mobile terminal file browsing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310565954.2A CN103605713A (en) 2013-11-13 2013-11-13 Method and device for mobile terminal file browsing

Publications (1)

Publication Number Publication Date
CN103605713A true CN103605713A (en) 2014-02-26

Family

ID=50123936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310565954.2A Pending CN103605713A (en) 2013-11-13 2013-11-13 Method and device for mobile terminal file browsing

Country Status (1)

Country Link
CN (1) CN103605713A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955372A (en) * 2014-04-30 2014-07-30 广东欧珀移动通信有限公司 Method and device for detecting resources in mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398844A (en) * 2008-10-28 2009-04-01 深圳华为通信技术有限公司 Resource file searching method and mobile terminal
CN101916164A (en) * 2010-08-11 2010-12-15 中兴通讯股份有限公司 Mobile terminal and file browsing method implemented by same
KR20110029878A (en) * 2009-09-16 2011-03-23 엘지전자 주식회사 File browsing apparatus and method thereof
CN102073731A (en) * 2011-01-17 2011-05-25 宇龙计算机通信科技(深圳)有限公司 File processing method and terminal
CN102663059A (en) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 Method and system for automatically cleaning redundant items in computer terminal
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398844A (en) * 2008-10-28 2009-04-01 深圳华为通信技术有限公司 Resource file searching method and mobile terminal
KR20110029878A (en) * 2009-09-16 2011-03-23 엘지전자 주식회사 File browsing apparatus and method thereof
CN101916164A (en) * 2010-08-11 2010-12-15 中兴通讯股份有限公司 Mobile terminal and file browsing method implemented by same
CN102073731A (en) * 2011-01-17 2011-05-25 宇龙计算机通信科技(深圳)有限公司 File processing method and terminal
CN102663059A (en) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 Method and system for automatically cleaning redundant items in computer terminal
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955372A (en) * 2014-04-30 2014-07-30 广东欧珀移动通信有限公司 Method and device for detecting resources in mobile terminal
CN103955372B (en) * 2014-04-30 2017-02-15 广东欧珀移动通信有限公司 Method and device for detecting resources in mobile terminal

Similar Documents

Publication Publication Date Title
CN106557330B (en) Method and device for processing notification information of notification bar of mobile terminal system and mobile terminal
CN103389969B (en) A kind of methods, devices and systems for mobile terminal preview pdf document
CN101794222A (en) Software version collecting method, management system and software upgrading detection method and system
CN104320756A (en) Account information changing method and device
EP3125501B1 (en) File synchronization method, server, and terminal
CN104125206B (en) The hardware environment adaptation method of a kind of client, device, server and system
CN102043655A (en) Method and system for carrying out advanced uninstall on software
CN102446222A (en) Method, device and system of webpage content preloading
CN102769687B (en) Mass texting system and method
US9747449B2 (en) Method and device for preventing application in an operating system from being uninstalled
CN103368991A (en) Cloud storage immediate synchronization system
CN103428333B (en) Mobile terminal, server and errors repair method
CN103369003A (en) A method and a system for scanning redundancy files in a mobile device by using cloud computing
US20140059165A1 (en) Method, apparatus and system for auto-synchronization of compressed content files
WO2017020781A1 (en) Power saving processing method, device, mobile terminal and cloud server
CN104111921A (en) Method and equipment for acquiring network feedback
EP2827252A1 (en) Device and method for providing user activity information in portable terminal
CN105471935A (en) Information prompting method and information prompting device
CN103905495A (en) Application synchronization method and backstage server
CN105677180A (en) Application program icon processing method and device
CN102591680A (en) Method for automatically deleting and unloading software related files
CN103164247A (en) Method and device for automatically repairing system application
CN102929980A (en) Folder cleaning method and device
CN103365637A (en) Desktop icon management method and system
CN109033313B (en) Method and terminal equipment for realizing full-disk scanning function by using USN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20140226