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

Implementation method for Android system service plug-in

A service plug-in, Android system technology, applied in the direction of program loading/starting, program control devices, etc., can solve the problem of service non-existence, achieve the effects of reducing startup time, improving system performance, and streamlining the system

Inactive Publication Date: 2015-06-24
SHANGHAI INFOTM MICROELECTRONICS
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The native system provides comprehensive functions to meet the needs of different platforms. Only SystemServer has started nearly 50 services, but in fact a large part of the services do not need to exist on specific hardware platforms.

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
  • Implementation method for Android system service plug-in
  • Implementation method for Android system service plug-in
  • Implementation method for Android system service plug-in

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Such as Figure 5 As shown, it is the implementation method of Android system service plug-in. The specific steps of the implementation process are the results summarized after analyzing and combing the Android native system startup process and system services one by one:

[0056] Step S501, Android service plug-in starts.

[0057] In step S502, init.rc supports process startup configuration. Add the description of the startup parameters of the process in init.rc to support the configuration of the startup of the process. Specifically, it is necessary to modify the parsing part of the configuration file in init.c.

[0058] In step S503, the configuration of Activity startup is supported in AndroidManifest.xml. Some startup services in Android are started by receiving startup messages, so it is necessary to modify the parsing logic of the application package in PackageParser to support the configuration of service or component startup.

[0059] In step S504, the syst...

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 the technical field of Android system construction on an embedded device, in particular to an implementation method for an Android system service plug-in. According to the implementation process, the method comprises the specific steps that the Android service plug-in is started; process initiation configuration is supported in a configuration file; assembly starting configuration is supported in the AndroidManifest.xml; a plug-in service loading frame is supported in the system core service process; default values and configuration files of services and processes are supported under a product catalogue; a depend rule between the services is defined; a configuration analysis module during system operating is programmed; the plug-in is carried out on related services during system support operating period debugging; the service plug-in is achieved and completed. Based on the optimization of an Android main force released version Android 4.4 in the current market, after the most compact system is started, the internal storage is reduced about 100 M, and 30% improvement is achieved in proportion. The system starting time is shortened by 2 s, and the 10% improvement is achieved.

Description

technical field [0001] The invention relates to the technical field of building an Android system on an embedded device, and more specifically, provides a method for customizing system services according to different product requirements, which can improve system performance while saving hardware resources. Background technique [0002] Since the release of the first version of Android, the fragmentation and compatibility of the system have been the problems that Google's engineers have been working hard to solve. After several version replacements, the current version has greatly improved both in terms of compatibility and stability. improvement. It is already compatible with products of different specifications for mobile phones and tablets, and the compatibility work for different types of devices has also been reflected in the latest version. But the problem that comes with it is that the huge service framework makes the system too bloated, takes up valuable hard disk s...

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/44G06F9/445
Inventor 邱海峰郭东俊王胜王海波
Owner SHANGHAI INFOTM MICROELECTRONICS
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