Image preloading method and device

A preloading and picture technology, applied in instruments, electronic digital data processing, computing, etc., can solve problems such as memory overflow, achieve smooth playback, and prevent OOM effects

Inactive Publication Date: 2018-02-16
TCL CORPORATION
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a picture preloading method to solve the memory overflow problem existing in the existing mobile terminal when loading pictures

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
  • Image preloading method and device
  • Image preloading method and device
  • Image preloading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] When the picture player or audio-video player of the mobile terminal plays the picture, it needs to preload the picture; wherein, the operating system used by the mobile terminal is an operating system that can be installed and used on the mobile terminal such as the Android system or Symbian system.

[0030] Therefore, the embodiment of the present invention aims at the preloading process of pictures, especially for the preloading process of high-resolution pictures that occupy memory, this embodiment makes the following optimization and improvement, and provides a picture preloading method, figure 1 The implementation flow of the picture preloading method provided by this embodiment is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown. The implementation flow is described in detail as follows:

[0031] Step S11, acquiring pictures that need to be preloaded.

[0032] When the image player starts or th...

Embodiment 2

[0074] Figure 4 The composition structure of the image preloading device provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0075] The image preloading device provided in this embodiment is compatible with the image preloading method provided in Embodiment 1; the image preloading device can be a software unit, a hardware unit, or a combination of software and hardware running in the mobile terminal, or it can be As an independent pendant, it is integrated into the mobile terminal or runs in the application system of the mobile terminal. Wherein, the mobile terminal includes devices such as smart phones, notebooks, tablet mobile terminals, etc., wherein the operating system used by the mobile terminal may be an operating system that can be installed and used on the mobile terminal such as the Android system or Symbian system.

[0076] The im...

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 present invention is applicable to the field of picture playback, and provides a picture preloading method and device. When a picture player or an audio and video player plays pictures, it triggers the acquisition of pictures that need to be preloaded; it is judged whether the resolution of the pictures exceeds the preset resolution threshold; if the resolution of the picture exceeds the resolution threshold, the compression factor is calculated according to the picture compression algorithm; the picture is compressed according to the compression factor, and the compressed picture is preloaded; thereby effectively preventing OOM is eliminated, which ensures the smooth playback of pictures and is more user-friendly.

Description

technical field [0001] The invention belongs to the field of picture playback, and in particular relates to a picture preloading method and device. Background technique [0002] At present, mobile terminals based on the Android (android) system are widely used in all aspects of life, for example, people use smart phones for communication, surfing the Internet and taking pictures every day. [0003] As we all know, the maximum memory allocated by the android system for each process is only 16M. If the application loads some resources that occupy memory, it will cause insufficient memory and an Out of Memory (OOM): especially, image players or audio and video playback When the player plays pictures, it needs to load pictures (including: the previous picture, the currently playing picture, and the pre-playing picture, etc.), where the previous picture and the currently playing picture are the loaded pictures, and the pre-playing pictures are the loaded pictures. The picture is...

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 Patents(China)
IPC IPC(8): G06F11/00
Inventor 海莲
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products