Android-based startup management method

A management method and technology of package management services, applied in the field of boot management based on Android, can solve the problems that the right of choice cannot be handed over to the user, the system is very stuck, the processor is busy, etc., so as to facilitate the boot application and improve the user experience. , the effect of improving the boot speed

Inactive Publication Date: 2013-01-02
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF3 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Therefore, when the third-party software and the system software are scrambling to do the initialization work in the same period of time, we can easily see a phenomenon: after booting, the screen has entered the desktop, but the system is very stuck, click The application icon is unresponsive, and the desktop menu page is unresponsive... After all, the processor and memory resources of the mobile phone are limited. The more software is doing boot-up self-starting, the busier the system will be, and so on. After the application software is started, the resources of the system are almost exhausted, and there is such a law of linear growth, the more software that starts automatically after booting, the longer the boot time will be, and the more problems will occur.
In the process of system development, the author has seen some machines with problem feedback. There are hundreds of items of software on startup. Therefore, there is a high probability of ANR (Application not response) phenomenon during the startup process. The causes of ANR are usually divided into two types. Types: (1) The processor is busy, (2) The application program does not finish the work within the specified processor time), whether every third-party software must be started at boot time, why this option cannot be given to the user ? However, currently there is no such method in the Android system or this method is disclosed

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
  • Android-based startup management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Such as figure 1 As shown, the boot management software program on the Android smart phone in the preferred embodiment of the present invention specifically includes the following steps:

[0033] 301) Turn on or restart the smartphone;

[0034] 302) After the system is initialized, the ActivityManagerService is notified;

[0035] 303) The activity management service ActivityManagerService starts sending ACTION_BOOT_COMPLETE broadcast;

[0036] 304) At this time, the activity management service ActivityManagerService will query the PackageManagerService, requesting to return a list of receivers that have registered ACTION_BOOT_COMPLETE broadcast reception.

[0037] 305) When ActivityManagerService gets the returned List, it starts to broadcast the List object;

[0038] 306) Traverse the List and take out the Nth receiver object in the List;

[0039] 307) Query the startup item configuration database at startup, and determine whether the application software in which the receiver is...

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 relates to an Android-based startup management method. The method comprises the following steps of: (101) finishing system initialization; (102) starting and transmitting system initialization finish broadcasting through mobile management service; (103) acquiring a receiver object list of the registered and received system initialization finish broadcasting for package management service through the mobile management service; (104) starting to transmit the system initialization finish broadcasting; (105) traversing the receiver object list and processing each object in the list according to pre-configuration or definition, if startup is allowed, starting corresponding application or progress, transmitting the broadcasting to an allowed object, and calling back an onReceive method, and if the startup is not allowed, jumping over the unallowed object; and (106) finishing the broadcasting through the system initialization. According to the method, the startup speed is effectively improved, and the system resources of mobile phones are saved.

Description

Technical field [0001] The invention relates to an Android operating system and its applications, and in particular to an Android-based boot management method. Background technique [0002] At present, after the Android system completes the system initialization, it will send out a system initialization completion broadcast (ACTION_BOOT_COMPLETE broadcast) to notify those applications that are interested in whether the boot is complete. Therefore, if an application wants to start its own service or do other things after booting, it only needs to do three steps: [0003] (1) Implement a static receiver (Receiver) in the application software code; [0004] (2) Register the Receiver as an object interested in ACTION_BOOT_COMPLETE broadcasting; [0005] (3) When the ACTION_BOOT_COMPLETE is sent to the Receiver, the application process will be created at this time, the onReceive() method in the Receiver will be called back, and any function can be implemented in this method. [0006] It ca...

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): G06F9/445H04M1/725H04M1/72403
Inventor 胡展鸿龙振海
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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