Method and terminal for achieving displaying cache

A caching and terminal technology, applied in the direction of memory address/allocation/relocation, special data processing applications, instruments, etc., can solve the problems of large memory usage, small memory size, and unacceptable product demand, so as to achieve small memory usage and meet Memory requirements, the effect of saving running memory

Active Publication Date: 2013-03-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The realization of the traditional screen cache usually needs to create a cache image of 1 times or more the size of the screen, and the creation of the cache image needs to occupy the running memory. On mobile phones with low screen drawing efficiency, such as NOKIA S40, Sony Ericsson, and domestic phones Such as JAVA platform mobile phones, the prior art screen cache method takes up a lot of memory, taking a mobile phone screen with a size of 240x320 and 24-bit color as an example, the memory occupied is about more than 300K, while the running memory of KJAVA mobile phones is generally small, and the memory is based on K calculation, 2M memory is already a relatively high configuration, and in order to solve the effect of fast display, it needs to occupy an additional 300K of running memory. In this way, the memory left for the program is obviously smaller, which in turn brings many development limitations, resulting in More product requirements cannot be added to the program

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
  • Method and terminal for achieving displaying cache
  • Method and terminal for achieving displaying cache
  • Method and terminal for achieving displaying cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] figure 2 The flow chart of the method for displaying cache for the present invention, such as figure 2 shown, including:

[0025] Step 200: Store the text to be displayed in memory as a component object.

[0026] In this step, each text component defines its own size (including width, height) and attributes such as cached images.

[0027] like image 3 As shown, in the method of the present invention, for the information that needs to be displayed on the screen, it is only necessary to create a cache image for the highlighted area with text.

[0028] Step 201: When displaying the saved text component on the screen, create a cache image object of the same size for the text component, and save it as an attribute of the text component.

[0029] In the method of the present invention, several small cached pictures are used to display the text at the position where the text should be displayed, instead of using a large cached picture as in the prior art.

[0030] It c...

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 method and a terminal for achieving displaying cache. The method for achieving displaying cache includes storing a to-be-displayed text inside an internal storage as a component object, and creating a caching picture object which is of the same side with the text component for the text component when the stored text component is displayed on a screen. As is seen from the method of screen caching, a caching picture just need to be created in an area with characters, and thus the internal storage occupied by a non-character area is saved. Therefore, the size and the occupied internal storage of the caching picture are decreased. Through the method for achieving displaying cache, on the premise that the repaid display effect is not affected, running cache is saved for a program, and cache requirements of product features are met.

Description

technical field [0001] The invention relates to mobile terminal information browsing technology, in particular to a method and terminal for realizing display buffering. Background technique [0002] As we all know, on mobile terminals such as mobile phones, the efficiency of text drawing is low, while the efficiency of picture drawing is high. In order to achieve a smooth browsing experience, the text is often drawn on the picture in advance during the application development process, and then the picture is drawn on the screen to achieve the purpose of increasing the display speed. [0003] like figure 1 Shown are the pictures used by the screen cache, including text and picture information. [0004] The realization of the traditional screen cache usually needs to create a cache image of 1 times or more the size of the screen, and the creation of the cache image needs to occupy the running memory. On mobile phones with low screen drawing efficiency, such as NOKIA S40, Son...

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): G06F12/02G06F17/30
Inventor 李雪峰
Owner TENCENT TECH (SHENZHEN) CO LTD
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