Android system application closing method and android system application closing device

An Android system, a technology for closing instructions, applied in the computer field

Active Publication Date: 2015-04-01
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, to close the application, the operating system needs to enter the unlocked state before entering the application closing process.

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 system application closing method and android system application closing device
  • Android system application closing method and android system application closing device
  • Android system application closing method and android system application closing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0086] refer to figure 1 , which shows a schematic flow diagram of a method for closing an Android system application in the present invention, including:

[0087] Step 110, monitoring whether the hatching process is started in the Android system;

[0088] In the Android system, all application process and system service process SystemServer are hatched (fork) by the zygote process, and the present invention can monitor the hatching process when the zygote process hatches other processes, that is, monitor the process of the creation.

[0089] Preferably, it also includes:

[0090] Sub-step 100, replace the initial process incubator of the Android system with a specific first process incubator; monitor whether the Android system starts to incubate the process through the first process incubator.

[0091] In the present invention, in order to realize the monitoring of the process incubation process, it is necessary to replace the initial process incubator of the android syste...

Embodiment 2

[0116] refer to figure 2 , which shows a schematic flow diagram of an Android system window object acquisition method of the present invention, including:

[0117] Step 210, monitoring whether the hatching process is started in the Android system;

[0118] Step 220, if the incubating process is started, judge whether the process belongs to the process within the required range of the system; if the process does not belong to the process within the required range of the system, record the process information of the process;

[0119] Step 230, before the window object acquisition function called by the window service, intercept the call to the initial window object acquisition function in the Android system;

[0120] In the traditional viewserver execution process, when the window object is to be obtained through the viewserver, the window object acquisition function needs to be called, and the window object is obtained from the window list stack maintained by the window manag...

Embodiment 3

[0162] refer to image 3 , which shows a schematic flow diagram of an Android system window object acquisition method of the present invention, including:

[0163] Step 310, replacing the initial process incubator of the Android system with a specific first process incubator;

[0164] Be about to replace the initial zygote process of the android system with the preset first zygote process of the present invention; The function of the first zygote process is except including the function of the initial zygote process, has also added whether to monitor whether to start to monitor whether the Android system starts to incubate the process and Incubate the window service and the processing logic after monitoring. After the replacement, the system can be restarted to start the initial init process of the system.

[0165] Step 312, creating a java virtual machine through the first process incubator;

[0166] Step 314, register the monitoring socket through the java virtual machine...

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 an android system application closing method and an android system application closing device and mainly relates to the technical field of computers. The method comprises the following specific steps of monitoring whether an incubation process is started in an android system, if the incubation process is started, judging whether the process belongs to a process in a necessary range of the system, if the process does not belongs to the process in the necessary range of the system, recording process information of the process; judging whether a close instruction triggered by a user is received or not under a screen lock state of the android system; if the close instruction is received, closing the process according to the recorded process information. According to the method and the device, process information of an app can be recorded, after the screen of the system is locked, if the user triggers the close instruction through a function key of a terminal, the process can be closed according to the recorded process information, so that the method and the device have the beneficial effects that processes which are without the necessary range of the system and operate in the android system can be conveniently closed under the screen lock state and the power consumption of the system is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for closing an Android system application. Background technique [0002] With the development of smartphones, various systems supporting smartphones have emerged. Such as android (Android) system. Android is an open source operating system based on Linux, which is mainly used in mobile terminals such as mobile phones. Android platform consists of operating system, middleware, user interface and application software. [0003] As the market share of the Android system increases, more and more developers develop apps (applications) based on the Android system to make it more convenient for users to use the Android mobile phone. In the traditional Android system, there is an application closing method, that is, when the system is unlocked, the user presses the exit function key for a long time, and the window interface of the application currently opened in t...

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/46G06F1/32
Inventor 张辉
Owner BEIJING QIHOO TECH CO 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