Image resource processing method, device and terminal

A resource processing and image technology, applied in the field of electronics, can solve the problems of abnormal memory overflow, memory leakage, consumption of a lot of memory, etc., to achieve the effect of controlling the number of loading and improving the running speed

Inactive Publication Date: 2015-01-07
GUANGZHOU KINGSOFT NETWORK TECH
View PDF2 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the use of pixel-rich pictures brings great visual experience, it also brings troubles of memory consumption. If the memory occupied by picture resources cannot be released and recovered in time, memory leaks will be caused. When the memory leaks to a certain extent , the application will run out of memory, and a memory overflow exception will occur, and the Android application will be terminated, which will have a catastrophic impact on the robustness and stability of the Android application, and directly affect the

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 resource processing method, device and terminal
  • Image resource processing method, device and terminal
  • Image resource processing method, device and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] Please refer to figure 1 , figure 1 It is a flow chart of the first embodiment of a picture resource processing method proposed by the present invention. As shown in the figure, the picture resource processing method in the embodiment of the present invention includes:

[0043] S101 Acquire the image resource corresponding to the image identifier when opening the application interface to create a window.

[0044] In the specific implementatio...

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

An embodiment of the invention discloses an image resource processing method. The image resource processing method comprises obtaining image resources which are corresponding to function passing parameters when an application interface is opened for window creation, wherein the function passing parameters are image identifiers; loading the image resources to a memory and generating and obtaining a bitmap object of the image resources; obtaining the bitmap object of the image resources to recycle the image resources in the memory when the application interface is closed for window quit. The embodiment of the invention also discloses an image resource processing device and terminal. According to the image resource processing method, device and terminal, the loading number of the image resources can be effectively controlled, the memory can be timely released, and accordingly the running speed of applications is improved.

Description

technical field [0001] The present invention relates to the field of electronic technology, in particular to a picture resource processing method, device and terminal. Background technique [0002] With the continuous development of terminal technology, various games, applications and other software have higher and higher requirements for memory. In the Android system, in order to increase the beauty of the application interface, some picture resources with particularly rich pixels are used as the background or buttons to display, thereby improving the beauty of the application. These picture resources include interface layout background, picture control resources, button background and so on. Although the use of pixel-rich pictures brings great visual experience, it also brings troubles of memory consumption. If the memory occupied by picture resources cannot be released and recovered in time, memory leaks will be caused. When the memory leaks to a certain extent , the ap...

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
IPC IPC(8): G06F9/445G06F9/50
Inventor 刘强
Owner GUANGZHOU KINGSOFT NETWORK TECH
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