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

Method for accelerating startup by dynamically adjusting startup preloaded resources

A dynamic adjustment and preloading technology, which is applied in the direction of program loading/starting, program control devices, etc., can solve the problems of starting speed limit, unable to adjust the starting method, etc., and achieve the effect of improving the starting speed

Inactive Publication Date: 2014-01-01
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF1 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the above-mentioned technical solution can accelerate the booting of the mobile phone to a certain extent, the booting speed is still limited, and the booting method cannot be dynamically adjusted according to the actual amount of resources.

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 accelerating startup by dynamically adjusting startup preloaded resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] Drawables occupy a very large number (more than 300) of Android's native boot preload resources, and image resource loading is very time-consuming. At the same time, the amount of preload-class is larger, with more than 2000 classes (frameworks\base\preloaded-classes). So, is it necessary to load so many resources in every scenario? In fact, each mobile terminal has a different scenario, the installation of apk is different, and the required amount is different. At the same time, each user's usage habits are different, and the Classes that may need to be preloaded are also different. Then this method will not improve the actual boot speed.

[0032] In this embodiment, by recording the amount of resources actually required by the user each time the user boots up, it is used as a preload (preload) standard for the next boot up.

[0033] Such as figure 1 As shown, the present invention dynamically adjusts the startup Preload resource acceleration method,

[0034] Step...

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 for accelerating startup by dynamically adjusting startup preloaded resources. The method comprises the following steps: S1, before preloading operation, preparing two Hash tables for drawable and a class needing to be loaded respectively; S2, initializing a preload statistics module and starting initialization statistics; S3, resolving a resource id index value via bit operation according to an input id value; selecting resources of load times according to a practical load time sequence table of the startup counted by using the two types of resources; updating the newly-obtained drawable and class resources having the highest preloaded resource loading frequency into files respectively for serving as a preload resource standard for next startup. According to the method, resource loading can be performed by using a preloaded resource list which is closer to a mobile phone terminal scene, so that the startup speed is increased, and optimal loaded resources of each startup are ensured.

Description

technical field [0001] The invention relates to the technical field of mobile phones, in particular to a method for accelerating booting by dynamically adjusting boot preload resources. Background technique [0002] The slow boot speed of existing smartphones has become a common problem. Google has preloaded boot resources by preloading resources in the design of android to improve the speed. However, the amount of resources preloaded at boot may not be appropriate in every scenario. The prior art also has an accelerated startup method for APK applications, and the technical solutions adopted are: 1. When the handheld device is turned on, the system initialization process and system services start normally; 2. The package management service optimizes the scanning process for the evolution of the APK program; 3. The package management service scans the system APK program normally, and saves the APK package information; 4. The package management service scans some non-system ...

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/445
Inventor 蒋奎
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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