Setting method capable of shortening starting time of Android operating system

An Android operating system and start-up time technology, applied in the direction of program loading/starting, program control devices, etc., can solve problems such as taking a long time, disappearing of applications, and affecting user experience, so as to save start-up time and improve user experience. Effect

Inactive Publication Date: 2015-04-08
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method directly reads the information from the backup image file and restores the running state of the system, skipping the scanning stage of the latest system partition and user partition at each startup, so the user must do it again after each

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
  • Setting method capable of shortening starting time of Android operating system
  • Setting method capable of shortening starting time of Android operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] see figure 2 , in order to realize shortening the startup time of the Android operating system, the present invention includes the following settings:

[0023] Step 101: Start the Android device, execute the boot program, and load the Linux kernel by the boot program; then perform Android user space resource loading, local service opening and user partition scanning, that is, complete system initialization based on the existing Android operating system.

[0024] Step 102: after the Zygote process has loaded the required classes and resources of the Android virtual machine, interrupt the Zygote process (the procr_freeze_process function provided by the library libprocr.so of the system (this function has a preprocessing check function) stops the interrupt clock and blocks the relevant signal to freeze the Zygote process)

[0025] Step 103:

[0026] (1) The function provided by the library libprocr.so completes the creation of the restore point for the Zygote process, ...

Embodiment 2

[0038] In the setting method of embodiment 1, settings about delaying installation packages and delaying services are added, specifically:

[0039] In step 101, the installation packages and services that are not commonly used by users or that will not be used by users immediately after system startup are selected according to the user demand survey, which are defined as delayed installation packages and delayed services, and the rest are defined as startup installation packages and startup services;

[0040] Then move the delayed installation package and delayed service from the system partition to the user partition, thereby temporarily blocking the init.rc script for unnecessary services (the script records the functions performed by the initialization process);

[0041] In this step, we take the blocking service A as an example to give a specific implementation manner. First, add code to the init.rc script:

[0042] On property: ro.user.start=1

[0043] Start A

[0044]...

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 setting method capable of shortening starting time of an Android operating system and belongs to the technical field of quick starting of operating systems. The method includes: starting an Android device, executing a bootstrap program, and loading a Linux kernel via the bootstrap program; after Android user space resource loading, local service starting and user partition scanning are executed, executing a Zygote process, after classes and resources needed by an Android virtual machine are loaded, interrupting the process and setting a restore point file for the process, creating a restore point file checking process, setting the restore point file checking process to be started after the bootstrap program loads the Linux kernel, judging whether the restore point file is available or not by the restore point file checking process, and if yes, restoring an Android virtual machine initialization process according to the restore point file; if not, executing the Android virtual machine initialization process. The setting method is applied to the Android devices, and system starting time can be shortened significantly under the premise that user experience is guaranteed.

Description

technical field [0001] The invention relates to an operating system quick-start technology, in particular to a quick-start method based on an Android operating system. Background technique [0002] Android is a free and open-source operating system based on Linux. The Android operating system has been widely used in mobile devices, smart home appliances and other fields, such as smartphones, tablets, set-top boxes, and smart TVs. With the extensive use of the Android operating system in these fields, the slow system startup speed has become a shortcoming that many users complain about. Compared with devices such as mobile phones, which are less likely to be powered off and cold-started, tablet computers and smart TVs have a relatively high frequency of power-off cold-starts in actual use. Boot speed is an important factor affecting user experience. [0003] The Android operating system startup process is as follows: figure 1 As shown, they are, in sequence: bootloader, Lin...

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 UNIV OF ELECTRONICS SCI & TECH OF CHINA
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