Supercharge Your Innovation With Domain-Expert AI Agents!

Thumbnail storage method and device based on Android system

A thumbnail and storage location technology, applied in the field of Android system, can solve the problem of waste of storage space, achieve the effect of saving storage space, solving serious waste of storage space, improving data search speed and system performance

Active Publication Date: 2016-06-22
GEER TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a thumbnail storage method and device based on the Android system to solve the problem of serious waste of storage space caused by thumbnail storage schemes in the existing Android system

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
  • Thumbnail storage method and device based on Android system
  • Thumbnail storage method and device based on Android system
  • Thumbnail storage method and device based on Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The core idea of ​​the present invention is: when storing the thumbnail according to the ID of the picture corresponding to the thumbnail in the local database when the Android system stores the thumbnail in the prior art, it needs to use a large amount of invalid data to occupy the place (to ensure that it can be stored according to the corresponding picture of the thumbnail The ID of the picture in the database directly finds the position of the thumbnail byte stream in the thumbdata file), which greatly wastes storage space. By adding an index file thumbindex that saves storage space, use the index file thumbindex to go Find the thumbnail byte stream in the thumbnail byte stream storage file thumbdata, so that the data saved in all locations in the thumbdata file are valid, omitting the waste of space caused by filling invalid data into the thumbdata file, thus saving the system storage.

[0043] Figure 4 It is a schematic flow chart of an Android system-based thum...

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 a thumbnail storage method and device based on an Android system. The method comprises the following steps: establishing a new index file in a folder to which a thumbnail byte stream storage file belongs; when a new picture is added in the database of the Android system, generating the thumbnail corresponding to the new picture, and converting the thumbnail into the thumbnail byte stream; searching the tail position of the thumbnail byte stream storage file, and storing the converted thumbnail byte stream into the tail position of the thumbnail byte stream storage file; and recording the storage position information of the thumbnail byte stream into the index file. The technical scheme adds the index file and records the storage position information of the thumbnail byte stream into the index file, so that the thumbnail can be searched according to the index file, each position in the thumbnail byte stream storage file stores effective data to solve the problem that storage space is severely wasted when the Android system stores the thumbnail, and the storage space is saved.

Description

technical field [0001] The invention relates to the technical field of the Android system, in particular to a thumbnail storage method and device based on the Android system. Background technique [0002] Android (Chinese name, Android) system is an open source mobile device operating system based on Linux, which is mainly used in smart terminal devices such as smart phones and tablet computers. The Android system uses the SQLite database to manage local files. SQLite is a lightweight, relational database. [0003] figure 1 It is a flow diagram of Android device's local data management. see figure 1 Step S11 to step S15 in; step S11, add a new file → step S12, insert the file into the database → step S13, judge whether the file is a picture → yes, execute step S14 to create a common thumbnail through the thread (otherwise , end the flow process) → step S15, create a miniature thumbnail through the thread. For example, when a mobile phone with the Android system installe...

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): G06F3/06G06F17/30
CPCG06F3/0608G06F3/0643G06F16/13
Inventor 秦文东
Owner GEER TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More