Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Android system-based file scanning method and device

A document scanning and scanning method technology, applied in special data processing applications, instruments, electrical digital data processing and other directions, can solve problems such as system crash, consumption, scanning instability, etc., to ensure stability, improve scanning efficiency, and save waiting effect of time

Active Publication Date: 2012-04-11
TCL CORPORATION
View PDF2 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0020] One is that there are too many files and the scanning directory is very deep. The existing method of recursively querying files will easily consume too much memory, mistakenly making the system think that there is a memory leak in the scanning and being killed, making the scanning unstable
[0021] The process of obtaining thumbnails in the second scan needs to be decoded, which consumes more CPU. If the CPU usage of the system is already high at this time, it is necessary to perform scanning actions. Scanning a large number of files will keep the system busy for a long time. The operation process is relatively stuck, which will inevitably make the user think that the system has crashed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android system-based file scanning method and device
  • Android system-based file scanning method and device
  • Android system-based file scanning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The present invention provides a scanning method and device based on an android system storage device. In order to make the purpose, technical solution and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0058] A method for scanning files of a storage device based on an android system provided in an embodiment of the present invention includes a first-stage background scan and a second-stage foreground scan;

[0059] Among them, the background scanning of the first stage, such as figure 2 As shown, it specifically includes the following steps:

[0060] S101, start, mount the storage device.

[0061] S102. After the storage device is mounted on the Android system, the kernel of the Andro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an android system-based file scanning method and device. The method comprises the steps of background scanning of a first stage, adopted when a storage device is mounted, and foreground scanning in a second stage, triggered when entering a local application, wherein in the background scanning step, when file scanning is executed, current CPU condition is read, if a CPU is busy, first preset time is waited and then scanning is carried out, when a catalog is accessed, the current memory condition is read, if a memory is low, the current scanning catalog is recorded, and all recursion catalogs are exited, all memories are released, and the catalogs are re-accessed for scanning; and in the foreground scanning of the second stage, when a file catalog corresponding to a database is accessed, the bottom scanning is called for scanning all files to be scanned, which are not scanned in the background scanning step under the catalog and the scanned files are updated in the database. According to the invention, scanning efficiency is increased and waiting time of a user is greatly saved.

Description

technical field [0001] The invention relates to the technical field of electronic storage device scanning, in particular to a method and device for scanning files of a storage device based on an android system. Background technique [0002] Android is a new-generation intelligent platform, and more and more electronic terminals use Android as an operating system, so that the number of users of electronic terminals with the Android system is increasing day by day. At the same time, with the development of technology, storage devices tend to be diversified, especially after the Android system is applied to TVs, for high-definition movies with several gigabytes, storage devices have changed from traditional SDcard and USB devices to large-capacity devices commonly used today. Mobile hard disk. So now the Android system is particularly important for the scanning support of multimedia files in various storage devices. [0003] When the storage device is mounted on the Android s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 彭湃康辉
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products