Picture loading method and system

A picture loading and picture technology, applied in the direction of resource allocation, multi-program device, etc., can solve problems such as freezing, performance problems, and inability to solve memory and performance problems

Inactive Publication Date: 2017-04-19
BEIJING YUANXIN SCI & TECH
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, image loading and display requires reading operations, and the loading speed is slow. A large number of readings will affect the performance of the processor, causing problems such as freezes and affecting the user experience.
[0003] The existing system provides a memory buffering mechanism, but the buffered pictures are all fixed, and there is no prep

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
  • Picture loading method and system
  • Picture loading method and system
  • Picture loading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The scope of applicability of the present invention will become apparent from the detailed description given below. It should be understood, however, that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are given for purposes of illustration only.

[0032] figure 1 A flow chart of an embodiment of the image loading method according to the present invention is shown. The method includes, at step S10 , preloading / copying pictures whose total amount is less than or equal to the memory picture buffer threshold from the hard disk to the memory according to the usage frequency of the system pictures from high to low before the application starts. The memory image buffering threshold is the maximum value that the memory can be used to buffer image resources, preferably 60-80% of the memory area except the minimum memory required for system operation, such as 65%, such as 70%, such as 75%, such as 80 %. The minimum ...

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 picture loading method and system. The method comprises the following steps: before starting an application, pre-loading pictures which are less than or equal to a memory picture buffer threshold in total to a memory according to the use frequency of system pictures from high to low; in response to the application, starting the loaded pictures, and determining whether a quasi-loaded picture is included in the pre-loaded pictures; in response to that the quasi-loaded picture is included in the pre-loaded pictures, directly providing the pre-loaded pictures; and in response to that the quasi-loaded picture is not included in the pre-loaded pictures, buffering and loading the pictures from picture resources except the memory. The picture loading method provided by the invention can improve the picture loading speed of the application, optimize the experience and improve the picture loading effect.

Description

technical field [0001] The present application relates to the field of electrical digital data processing, and in particular to a method and system for loading pictures. Background technique [0002] Pictures can beautify the application interface and improve the experience, so many applications use a lot of pictures to achieve beautiful pages and experiences. However, image loading and display requires reading operations, and the loading speed is slow. A large number of readings will affect the performance of the processor, causing problems such as freezes and affecting the user experience. [0003] The existing system provides a memory buffering mechanism, but the buffered images are fixed, and there is no preprocessing, so the performance optimization for application startup is limited. For image resources with uncertain loading, it is impossible to dynamically buffer according to the frequency of use. At the same time, too many images are buffered, which leads to memory...

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/50
Inventor 周宏斌
Owner BEIJING YUANXIN SCI & 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