Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for improving game fluency under low-memory Android device

A low-memory, fluency technology, applied in the field of Android performance optimization and memory optimization, and Android development, can solve problems such as application layer not being able to respond in time, processor time consumption, game interface freezing, etc., to reduce memory recovery operations, Improve the probability of success and improve fluency

Inactive Publication Date: 2016-07-13
ZHUHAI HUIDI TECH CO LTD
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Both content copying and page creation take a certain amount of time, so the entire memory allocation process is time-consuming
[0006] Since there is insufficient free memory, each new memory allocation request may lead to a memory recovery operation, and there are a lot of memory allocation requests during the startup and running of the game, so the processor time is seriously consumed in memory recovery. In the process, the application layer cannot get a timely response, and the game interface is seriously stuck

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 for improving game fluency under low-memory Android device
  • Method for improving game fluency under low-memory Android device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] figure 1 This is the general process of applying for memory at the Android application layer:

[0015] 101. The application layer applies for memory through the malloc interface;

[0016] 102. The kernel state applies for physical memory through page_alloc;

[0017] 103. If the free physical memory is sufficient, the allocation is successful, and jump to step 106; otherwise, enter memory sorting, and jump to step 104;

[0018] 104. Kernel mode memory finishing is a time-consuming process;

[0019] 105. After the memory is sorted out, if the free physical memory is sufficient, then the allocation is successful and jump to step 106, otherwise the allocation fails and jump to step 107;

[0020] 106. Memory allocation succeeds;

[0021] 107. Memory allocation failed.

[0022] figure 2 It is the implementation mode of the present invention:

[0023] 201. Start a timer in the application layer ActivityManagerService service, respond once every five seconds, and execut...

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 provides a method for improving the game fluency under a low-memory Android device.The low-memory Android device refers to the Android device of which the physical memory is not more than 256 MB.In the prior art, the low-memory Android device lags while running a big game, due to the fact that residual available memory is less, and most of the memory exits in a file system cache mode and can be allocated through memory reclamation, frequent memory reclamation can cause too high CPU occupancy rate, and system lagging is caused.The implementation method comprises the steps that a timer is started at an Android application layer, idle memory and file system cache sizes are obtained every five seconds, when a threshold value is reached, the file system cache is removed and turned into system idle cache capable of being directly allocated, and the system lagging phenomenon caused by cache reclamation is relieved.By mean of the method for improving the game fluency under the low-memory Android device, big games of Temple Run and the like can be run smoothly, and the product competitiveness is promoted.

Description

technical field [0001] The invention relates to the field of Android development, in particular to the technical fields of Android performance optimization and memory optimization. Background technique [0002] At present, most of the Android devices on the market, such as mobile phones and tablet computers, have a memory configuration of more than 512MB. The official data released by Android also requires the total system memory to be at least 512MB. However, due to increasingly fierce competition in the field of consumer electronics, major manufacturers and solution providers are trying their best to reduce costs, so there is a market for Android devices with memory less than 256MB. Through the reduction of memory, the product price can be lowered, and the performance It will also be damaged, so these products are often aimed at the children's market or the gift market. Under the existing technology, after the low-memory Android device is started, the remaining memory 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
IPC IPC(8): G06F9/50
CPCG06F9/5016G06F9/5022
Inventor 刘刚
Owner ZHUHAI HUIDI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products