Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for dynamically switching software rendering and hardware rendering of an android display system

A display system and hardware technology, applied in the direction of program startup/switching, multi-program device, resource allocation, etc., can solve problems such as inability to change, inoperability, and failure, and achieve strong fault tolerance and good user experience.

Active Publication Date: 2018-09-25
SHANGHAI INFOTM MICROELECTRONICS
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] When the application program initializes the graphical interface, P4 will check whether the current application program contains hardware acceleration flags (since this flag is only supported after Android 3.0 , so the application compiled with the SDK before android3.0 does not contain this flag) to determine whether the graphics drawing library used is software or hardware. Once the decision is made, the corresponding resources are immediately applied for, and cannot be changed later
It can be seen that the way an application is displayed on the Android platform is completely determined by the version of the application, and the system cannot intelligently handle it.
[0015] As mentioned above, in order to have good compatibility, Android's display system includes both hardware rendering and software rendering, but whether an application uses hardware rendering or software rendering is determined by the application at the time of initialization. It cannot be changed, so the applications released based on the SDK before Android 3.0 do not have the hardware acceleration flag, so they cannot enjoy the hardware acceleration feature when running on a platform that supports hardware acceleration; the applications released based on the SDK after Android 3.0 , and because it cannot be dynamically switched, the effect of running on some platforms with poor hardware (mainly GPU) is not good, and it may even fail to run

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
  • A method for dynamically switching software rendering and hardware rendering of an android display system
  • A method for dynamically switching software rendering and hardware rendering of an android display system
  • A method for dynamically switching software rendering and hardware rendering of an android display system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Attached below image 3 and Figure 4 Further elaborate the present invention:

[0033] 1. Add system service P31 ROS part. This service runs in the system service process. Its role is to monitor and collect the status of the system (such as system memory usage, CPU resource usage, battery usage, platform temperature, etc.), and then determine the status of P4 based on these statuses. The drawing method to use. Since the service is running in the android system service, it will be started during the system boot up process and registered in the Android SystemServer, and its life cycle lasts until the platform is shut down.

[0034] 2. Add application program interface P32 ADI. The application can call this interface at any time to set the drawing method during the running process, and P4 will use this method to draw unconditionally.

[0035] 3. When the application program initializes P4, it does not decide the drawing method to be used according to the hardware acc...

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 a display frame of an Android operation system, in particular to an Android display system software drawing and hardware drawing dynamic switching method. In an existing Android display system, a P31 system running monitoring service ROS is additionally arranged for monitoring and collecting the system running state, and then a drawing method used in the P4 is judged according to the state; a P32 application program drawing control interface ADI is additionally arranged, the mode used for self drawing can be set for an application program in a forced mode through the interface, and the priority set in the mode is larger than P31. By means of the Android display system software drawing and hardware drawing dynamic switching method, some old application programs can smoothly run on many platforms, and the user experience is good; the high fault tolerance of is achieved when the display frame is applied in the drawing process, and more application programs can run on lower-allocation platforms.

Description

technical field [0001] The invention relates to the display frame of the android operating system. Specifically, the invention is based on the android display framework, and provides a method for dynamically switching the android software display (using CPU for drawing) and hardware display (using GPU for drawing). Background technique [0002] Starting from Android 3.0, the Android 2D drawing process is designed to support hardware acceleration. With this hardware acceleration, the drawing operations performed by the application on the drawing interface will use the hardware to render and draw, which greatly optimizes the display speed and user experience. [0003] Hardware drawing is characterized by fast drawing speed, smooth interface, and good user experience, but consumes hardware resources, causing some applications to fail to run on low-configuration devices. In addition, hardware drawing cannot satisfy all drawing methods (depending on the functions provided by the...

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 Patents(China)
IPC IPC(8): G06F9/48G06F9/50
Inventor 王胜常玉成邱海峰王海波
Owner SHANGHAI INFOTM MICROELECTRONICS