CN108228321A - A kind of Android system application method for closing and device - Google Patents

A kind of Android system application method for closing and device Download PDF

Info

Publication number
CN108228321A
CN108228321A CN201810058686.8A CN201810058686A CN108228321A CN 108228321 A CN108228321 A CN 108228321A CN 201810058686 A CN201810058686 A CN 201810058686A CN 108228321 A CN108228321 A CN 108228321A
Authority
CN
China
Prior art keywords
window
android system
window object
services
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810058686.8A
Other languages
Chinese (zh)
Other versions
CN108228321B (en
Inventor
张辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810058686.8A priority Critical patent/CN108228321B/en
Publication of CN108228321A publication Critical patent/CN108228321A/en
Application granted granted Critical
Publication of CN108228321B publication Critical patent/CN108228321B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of Android system application method for closing, relate generally to field of computer technology, specifically include:It monitors in Android system and whether starts hatching process;If starting hatching process, the process whether process belongs in the necessary range of system is judged;If the process is not belonging to the process in the necessary range of system, the progress information of the process is recorded;Judge whether to receive the out code that user triggers under Android system screen lock state;If receiving out code, according to the progress information of the record, the process is closed.Progress information of the invention then that app can be recorded, after system screen locking, if user triggers out code by the function key of terminal, it then can be then according to the progress information of the record, the process is closed, the process of the necessary range of the nonsystematic that can easily close under screen lock state and be run in Android system is achieved, reduces the power consumption advantageous effect of system.

Description

A kind of Android system application method for closing and device
It is on December 16th, 2014 applying date that present patent application, which is, application No. is " 201410784204.9 ", inventions A kind of divisional application of the Chinese invention patent application of entitled " Android system application method for closing and device "
Technical field
The present invention relates to field of computer technology, and in particular to a kind of Android system application method for closing and device.
Background technology
With the development of smart mobile phone, there are a variety of systems for supporting smart mobile phone.Such as android (Android) system System.Android is a kind of open source code operating system based on Linux, is mainly used for the mobile terminals such as mobile phone. Android platform is made of operating system, middleware, user interface and application software.
With the increase of the occupation rate of market of android system, more and more developers are developed based on android system App (application, using), user is made to be more convenient using android mobile phones.In traditional Android system, there are one kind Using method for closing, i.e., in system unlocked state, user's long-press exit function key pops up the application opened in current system Window interface, then user can be operated closing respective application.But its closing to application, first operating system is needed to enter solution Then lock status could enter using closing process.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State a kind of Android system application shutoff device of problem and a kind of corresponding Android system application method for closing.
One side according to the present invention provides a kind of Android system application method for closing, including:
It monitors in Android system and whether starts hatching process;
If starting hatching process, the process whether process belongs in the necessary range of system is judged;It is if described Process is not belonging to the process in the necessary range of system, then records the progress information of the process;
Judge whether to receive the out code that user triggers under Android system screen lock state;
If receiving out code, according to the progress information of the record, the process is closed.
Preferably, it further includes:
The initial process incubator of Android system is replaced with into specific first process incubator;Pass through first process Incubator monitors whether Android system starts hatching process.
Preferably, it is described to include by the way that whether the first process incubator monitoring Android system starts hatching process:
Java virtual machines are created by the first process incubator;
It is registered by the java virtual machines and monitors socket, monitor whether Android system is opened by the monitoring socket Beginning hatching process.
Preferably, it is described to include by the way that whether socket monitoring starts hatching window services:
Monitor the establishment message that hatching process whether is received in the socket;If the monitoring socket receives Create message, it is determined that start hatching process.
Preferably, the out code for judging whether to receive user's triggering under Android system screen lock state includes:
Under screen lock state, trigger action of the user to specified button is received, judges that the triggering to specified button is grasped Whether pre-defined rule is met;If the trigger action to specified button meets pre-defined rule, judgement receives closing Instruction.
Preferably, it further includes:
Before the window object called in window services obtains function, intercept to home window object in the Android system Obtain the calling of function;
The home window object acquisition function of the interception is replaced with into first window object acquisition function;
When triggering window services to obtain window object, the window services are by calling the first window object to obtain Function is taken to obtain window object and returns to specified process to carry out window object record.
Preferably, it after out code is received, further includes:
According to progress information and the correspondence of window object, window thumbnail is obtained from corresponding window object, and The window thumbnail is illustrated in the designated position of locking screen interface;
Further, it further includes:
Receive the second out code that user is directed at least one window thumbnail;At least one window is directed to when receiving Second out code of mouth thumbnail, according to the progress information of the record, closes corresponding process.
Preferably, it before the window object called in window services obtains function, intercepts in the Android system The calling of home window object acquisition function includes:
Whether start to hatch window services by the first process incubator monitoring;
Start to hatch window services if listened to, intercept the establishment to the window services, so as to intercept window clothes Business needs it loading of home window object acquisition function in Android system called.
Preferably, the interception window object acquisition function is replaced with first window object acquisition function to include:
After intercepting to the establishment of the window services, by the home window object acquisition function that loads of window services needs Replace with first window object acquisition function;
The window services are created, and load the first window object acquisition function.
Preferably, the home window object acquisition function that window services needs are loaded replaces with first window object Function is obtained to include:
The initial getfocuswindow functions that window services needs are loaded, replace with the first getfocuswindow letters Number;The return sequential of the first getfocuswindow functions is returns to specified process.
Preferably, the window services are included by the way that the first window object acquisition function is called to obtain window object:
By the first getfocuswindow functions, the windowstata window objects at the top of window object storehouse are searched.
Preferably, it further includes:
When window object at the top of window object storehouse changes, judge whether the window object has obtained;
If the window object has not been obtained, continue the window object returning to specified process.
According to another aspect of the present invention, a kind of Android system application shutoff device is provided, including:
Process creation monitors module, is adapted for listening in Android system whether starting hatching process;
Information logging modle is carried out, if suitable for starting hatching process, it is necessary to judge whether the process belongs to system In the range of process;If the process is not belonging to the process in the necessary range of system, the progress information of the process is recorded;
Trigger module is closed, suitable for judging whether that the closing for receiving user's triggering refers under Android system screen lock state It enables;
Process closedown module, if suitable for receiving out code, according to the progress information of the record, to it is described into Cheng Jinhang is closed.
Preferably, it further includes:
Process incubator replacement module, suitable for the initial process incubator of Android system is replaced with specific first process Incubator;Monitor whether Android system starts hatching process by the first process incubator.
Preferably, the process creation is monitored module and is included:
Java Virtual Machine creation module, suitable for creating java virtual machines by the first process incubator;
Socket registration module is monitored, socket is monitored suitable for passing through the java virtual machines registration, passes through the monitoring Socket monitors whether Android system starts hatching process.
Preferably, the process creation is monitored module and is included:
First process creation monitors module, and the establishment for being adapted for listening for whether receiving hatching process in the socket disappears Breath;If the monitoring socket receives establishment message, it is determined that starts hatching process.
Preferably, the closing trigger module includes:
First closes trigger module, suitable under screen lock state, receiving user to the trigger action of specified button, judges institute It states to whether the trigger action of specified button meets pre-defined rule;If the trigger action to specified button meets pre- set pattern Then, then judge to receive out code.
Preferably, it further includes:
Window blocking module before the window object suitable for being called in window services obtains function, is intercepted to the Android The calling of home window object acquisition function in system;
Function replacement module obtains suitable for the home window object acquisition function of the interception is replaced with first window object Take function;
Window acquisition module, suitable for when triggering window services to obtain window object, the window services pass through calling The first window object acquisition function obtains window object and returns to specified process to carry out window object record.
Preferably, it after trigger module is closed, further includes:
Window display module, suitable for the correspondence according to progress information and window object, from corresponding window object Window thumbnail is obtained, and the window thumbnail is illustrated in the designated position of locking screen interface;
Further, it further includes:
Second out code module, suitable for receiving the second out code that user is directed at least one window thumbnail; When receiving the second out code at least one window thumbnail, according to the progress information of the record, to corresponding Process is closed.
Preferably, the window blocking module includes:
Whether first monitors module, suitable for starting to hatch window services by the first process incubator monitoring;
First blocking module if starting to hatch window services suitable for listening to, intercepts the wound to the window services It builds, needs the loading of home window object acquisition function in the Android system called so as to intercept window services to it.
Preferably, the function replacement module includes:
First function replacement module, suitable for after intercepting to the establishment of the window services, window services being needed to load Home window object acquisition function replace with first window object acquisition function;
Window services creation module suitable for creating the window services, and loads the first window object acquisition function.
Preferably, the home window object acquisition function that window services needs are loaded replaces with first window object Function is obtained to include:
Second function replacement module suitable for the initial getfocuswindow functions for loading window services needs, is replaced For the first getfocuswindow functions;The return sequential of the first getfocuswindow functions is returns to specified process.
Preferably, the window services are included by the way that the first window object acquisition function is called to obtain window object:
First window object acquisition module suitable for passing through the first getfocuswindow functions, searches window object storehouse The windowstata window objects at top.
Preferably, it further includes:
Window object judgment module, when changing suitable for the window object at the top of window object storehouse, described in judgement Whether window object has obtained;If the window object has not been obtained, continue the window object returning to specified process.
A kind of Android system application method for closing according to the present invention can hatch (fork) process in Android system and start When, you can the progress information of process is obtained, for the process of the necessary range of system, for example systemsever processes are Androids The basic process that system performs, including call process, notification bar process etc., without record, then in addition to system it is necessary Other processes except process, such as APP (application, using) process, process letter of the invention then that app can be recorded Breath.It, can be then according to the process of the record if user triggers out code by the function key of terminal after system screen locking Information, to the system must process without close, avoid by system associated process if turned off and influence the normal of user It uses, and the process of process must be except to(for) system can then close.It, can not be fast after of the invention this solves system screen locking Speed closes the problem of process outside the necessary range of operation nonsystematic in Android system, and achieving can easily close under screen lock state The process of the necessary range of the nonsystematic run in Android system is closed, reduces the power consumption advantageous effect of system.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of Android system application method for closing according to an embodiment of the invention;
Fig. 2 shows a kind of flow signals of Android system window object acquisition methods according to an embodiment of the invention Figure;
Fig. 3 shows a kind of flow signal of Android system window object acquisition methods according to an embodiment of the invention Figure;
Fig. 4 shows a kind of structure diagram of Android system application shutoff device according to an embodiment of the invention;
Fig. 5 shows a kind of structure diagram of Android system application shutoff device according to an embodiment of the invention;
Fig. 6 shows a kind of structure diagram of Android system application shutoff device according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
One of core concept of the present invention is:When Android system hatching (fork) process starts, you can obtain process Progress information, then judge these processes which be the necessary process of non-Android system (such as systemsever processes be peace The basic process that tall and erect system performs, systemsever further include call process, notification bar process etc.), for not being Android system Necessary process (such as APP (application, using) process), it is of the invention then its progress information can be recorded.Then basis The out code of user's triggering, then can close these processes according to the progress information of record.Make it can be in screen lock state Under easily close the process that the nonsystematic that is run in Android system must be except range, reduce the power consumption of system.
Embodiment one
With reference to Fig. 1, it illustrates a kind of flow diagram of Android system application method for closing of the present invention, including:
Step 110, monitor in Android system whether start hatching process;
In android system, all program process and system service process SystemServer be all by What zygote processes hatching (fork) came out, the present invention can be when zygote processes hatch other processes, then to hatching process Monitored namely monitored the establishment to process.
Preferably, it further includes:
The initial process incubator of Android system is replaced with specific first process incubator by sub-step 100;Pass through institute It states the first process incubator and monitors whether Android system starts hatching process.
In the present invention, in order to realize the monitoring of process hatching process, process initial to Android system first is needed Incubator, that is, zygote processes are replaced, and replace with the first process incubator specified, i.e. the first zygote processes, this first Zygote processes can monitor whether Android system starts hatching process.The present invention can be initial by Android system Zygote processes replace with the first zygote processes and realize monitoring and acquisition process.
Certainly, it after the initial zygote processes of Android system are replaced as the first zygote processes, needs to restart android System.The function of replaced first zygote processes other than including the function of the initial zygote processes of Android system, Also added monitoring is the no various processing logics started after hatching process and monitoring of Android system.
Certainly, for Android system, above-mentioned replacement process can obtain the root authority of system, then be replaced again in advance It changes.
Preferably, it is described to include by the way that whether the first process incubator monitoring Android system starts hatching process:
Sub-step 112 creates java virtual machines by the first process incubator;
Sub-step 113 is registered by the java virtual machines and monitors socket, and Android is monitored by the monitoring socket Whether system starts hatching process.
In the normal boot process of Android system, substantially:Activation system->Init processes, which are read, to be started init.rc—>Init process creation zygote processes->Zygote process creation java virtual machines loading zygoteInit classes- >By the virtual machine register socket->ActivityManagerService is waited for socket write-in establishment processes Establishment message->Zygote processes correspond to process according to the establishment message establishing.
So the present invention the initial zygote processes of Android system are replaced with that the present invention specifies in abovementioned steps the After one zygote processes, after Android system is restarted, init processes can create the first zygote processes of the present invention, so After can the first zygote process creation java virtual machines, and then register monitor socket, pass through it is described monitoring socket monitor Being that Android system is no starts hatching process.
Preferably, it is described to include by the way that whether socket monitoring starts hatching window services:
Sub-step 134 monitors the establishment message that hatching process whether is received in the socket;If described monitor set It connects word and receives establishment message, it is determined that start hatching process.
In embodiments of the present invention when Android system needs establishment process, system (such as ActivityManagerService it) needs to create the establishment message carried out to the monitoring socket write-in, then monitor institute It states and monitors in socket whether receive establishment message, you can judge whether system starts hatching process.If described monitor set It connects word and receives establishment message, it is determined that start hatching process.If the monitoring socket does not receive establishment message, say Bright no process needs to hatch.
Step 120, if starting hatching process, judge the process whether process belongs in the necessary range of system; If the process is not belonging to the process in the necessary range of system, 130 are entered step;
Step 130, the progress information of the process is recorded;
In embodiments of the present invention, replaced first zygote processes can also load a process list, the process name Unirecord system must be in range process, such as the systems such as systemsever processes, WindowManagerService into Journey if these processes are closed, can influence the normal use of system in itself.For the process except the process list, than Such as process of browser, instant messaging APP, it is of the invention then its progress information can be recorded, such as record the process name. The progress information can also be returned to specified process to record in the embodiment of the present invention.
Then it may wait for subsequent step.
Step 140, judge whether to receive the out code that user triggers under Android system screen lock state;If it receives To out code, then 150 are entered step;
After user is in installation system screen locking, if user want to close its using when start but the APP that is not turned off, can With under screen lock state, by the pre-set monitoring to some function button, such as sound button, long-press increases sound key The step of 3s then triggers out code, and system then needs to enter the app processes closed and opened.It is above-mentioned pre-set to some The monitoring of function button can also set a snoop logic to perform by aforementioned first zygote processes.
Preferably, the out code for judging whether to receive user's triggering under Android system screen lock state includes:
Sub-step 140 under screen lock state, receives trigger action of the user to specified button, judges to specify for described pair and press Whether the trigger action of key meets pre-defined rule;If the trigger action to specified button meets pre-defined rule, judge Receive out code.
In embodiments of the present invention, replaced first zygote processes also load the pre- set pattern of the triggering to specified button Long-press increases sound key 3s under then logic, such as aforementioned screen lock state, then triggers out code.So start in follow-up system Afterwards, the triggering to increasing sound key under screen lock state is monitored.
Certainly, in embodiments of the present invention, it can be lighted in screen and be followed by receiving trigger action of the family to specified button.
Step 150, according to the progress information of the record, the process is closed.
After operating system determines to receive out code, then according to the progress information of the record, to the process into Row is closed.Such as the progress information according to record, killprocess function pair processes can be called to be closed.
The embodiment of the present invention is when Android system hatching (fork) process starts, you can the progress information of process is obtained, So the present invention can by the necessary process of nonsystematic, such as the Android systems such as systemsever processes perform basic process, Also such as converse process, notification bar process etc., without record, to avoid in follow-up close by these system associated process such as Fruit is closed, and influences the normal use of user, and for other processes other than the necessary process of system, such as APP processes, sheet Invention can then record the progress information of app.After system screen locking, refer to if user is closed by the function key triggering of terminal It enables, then can be then according to the progress information of the record, process that must be except Process Extents to the system is closed.Make it The process except the necessary range of the nonsystematic run in Android system can be easily closed under screen lock state, reduces system Power consumption.
Embodiment two
With reference to Fig. 2, it illustrates a kind of flow diagram of Android system window object acquisition methods of the present invention, including:
Step 210, monitor in Android system whether start hatching process;
Step 220, if starting hatching process, judge the process whether process belongs in the necessary range of system; If the process is not belonging to the process in the necessary range of system, the progress information of the process is recorded;
Step 230, it before the window object called in window services obtains function, intercepts to initial in the Android system Window object obtains the calling of function;
In traditional viewserver implementation procedures, when going to obtain window object by viewserver, need to adjust Function is obtained with window object, the window object has been called to obtain function in viewserver and has gone window management service After obtaining window object windostata in the window list storehouses that windows manager servive are maintained, it can return Then viewserver gets all data of window object as described in viewserver by the transmission of external socket again.
Wherein, Viewserver is a kind of service, it can be understood as a process.
And the embodiment of the present invention, then before viewserver calls the window object acquisition function, intercept to the peace The calling of home window object acquisition function in tall and erect system, subsequently into step 120.
In embodiments of the present invention, can by by the initial process incubator of Android system replace with specific first into Journey incubator before the window object then called by the realization of the first process incubator in window services obtains function, intercepts To the calling of home window object acquisition function in the Android system.
Preferably, it before the window object called in window services obtains function, intercepts in the Android system The calling of home window object acquisition function includes:
Whether sub-step 231 starts to hatch window services by the first process incubator monitoring;
Specific first process is replaced in the aforementioned process incubator that Android system is initial in the present invention is implemented to incubate When changing device, i.e., process incubator, that is, zygote processes initial to Android system are replaced, and replace with first specified Zygote processes, the first zygote processes can also add the logic monitored and whether start to create viewserver, i.e., may be used also Whether start to hatch window services by the first process incubator monitoring.
Preferably, include by the way that whether the first process incubator monitoring starts hatching window services:
Sub-step A2311 creates java virtual machines by the first process incubator;
The step and sub-step 112 are same steps.
Sub-step A2312 is registered by the java virtual machines and is monitored socket, and being added in the monitoring socket is It is no to start to hatch window services logic, to monitor whether Android system starts hatching process by the monitoring socket.
The step is that registration is added to when monitoring socket monitors socket described on the basis of the execution of sub-step 113 It is added in word and whether starts to hatch window services logic.
In the normal boot process of Android system, substantially:Activation system->Init processes, which are read, to be started init.rc—>Init process creation zygote processes->Zygote process creation java virtual machines loading zygoteInit classes- >By the virtual machine socket->Wait for establishments of the ActivityManagerService to socket write-in establishment processes Message->Zygote processes correspond to process according to the establishment message establishing.
So the present invention the initial zygote processes of Android system are replaced with that the present invention specifies in abovementioned steps the After one zygote processes, after Android system is restarted, init processes can create the first zygote processes of the present invention, so After can the first zygote process creation java virtual machines, by the java virtual machines register monitor socket, in this hair The logic that whether starts hatching of the bright monitoring socket in addition to monitoring each process, also further has for viewserver The snoop logic of this specific process.
Preferably, it is described to include by the way that whether socket monitoring starts hatching window services:
Sub-step A215 monitors the first message that hatching window services whether are received in the socket;It is if described Socket receives the first message of hatching window services, it is determined that starts to hatch window services.
The socket of above-mentioned registration is the message received monitored in socket in the embodiment of the present invention.In android When system needs establishment process, system needs to send the first message for creating viewserver to socket, then described in monitoring Whether the first message of hatching window services is received in socket, you can judges whether system starts to create viewserver. If the socket receives the first message of hatching window services, it is determined that starts to hatch window services.If the set The first message that word does not receive hatching window services is connect, then system does not hatch window services.
Sub-step 232 starts to hatch window services, intercepts the establishment to the window services if listened to, so as to Intercepting window services needs it loading of home window object acquisition function in Android system called.
So the embodiment of the present invention is then intercepted after listening to and starting to create viewserver to the wound of viewserver It builds.The process interception viewserver for intercepting the establishment to viewserver in embodiments of the present invention needs to call to it The loading of function, for example intercept the loading that viewserver needs it window object called to obtain function.
Step 240, the home window object acquisition function of the interception is replaced with into first window object acquisition function;
The home window object acquisition function of interception is replaced with the first window object acquisition of oneself by the embodiment of the present invention Function, i.e., aforementioned first window object acquisition function;The work(of the first window object acquisition function of oneself in the embodiment of the present invention Can and interface it is consistent with the function and interface of window object that Android system is initial acquisition function, can all remove windows Windowstata is obtained in the window object list storehouses that manager servive are maintained, first window object acquisition function is only It is that the object returned after windowstata is got is changed to the specified process that the embodiment of the present invention is specified.
Preferably, the interception window object acquisition function is replaced with first window object acquisition function to include:
Sub-step 241, after intercepting to the establishment of the window services, by the home window pair that loads of window services needs First window object acquisition function is replaced with as obtaining function;
In embodiments of the present invention, in first of the initial zygote processes of aforementioned replacement Android system for the present invention During zygote processes, during initial zygoteInit classes are replaced with the modified zygoteInit classes of the present invention, In modified zygoteInit classes, the first window object acquisition function that the present invention needs can also be added, first window Process of the mouth object acquisition function before windowstata is got obtains letter with the original window object of Android system Number is consistent, and only first window object acquisition function gets the return sequential after windowstata and is changed to directly return and refers to Determine process.
Sub-step 242 creates the window services, and loads the first window object acquisition function.
So obtained in the first window object that the initial window object acquisition function of Android system is replaced with to the present invention After taking function, then the process for creating the viewserver can be continued to execute, the function needed for it can be then loaded after creating, Function needed for it includes the first window object acquisition function.
Step 250, when triggering window services to obtain window object, the window services are by calling first window Mouth object acquisition function obtains window object and returns to specified process to carry out window object record;
The first window object acquisition letter of oneself of the invention is replaced with the initial window object intercepted is obtained function After number, the calling of viewserver is continued to execute, then what it was called is the first window object acquisition function of the present invention, The first window object acquisition function gets the object returned after windowstata and is changed to the finger that the embodiment of the present invention is specified Determine process, then can be by the way that process is specified to record the information of each windowstata.
When the viewserver calls the first window object acquisition function to remove windows manager servive After windowstata being got in the window list storehouses of maintenance, you can directly pass through the windowstata Pipe pipelines between viewserver and specified process return to the specified process of Android system.
Step 260, judge whether to receive the out code that user triggers under Android system screen lock state;If it receives To out code, then 270 are entered step;
Step 270, according to progress information and the correspondence of window object, window contracting is obtained from corresponding window object Sketch map, and the window thumbnail is illustrated in the designated position of locking screen interface;
In embodiments of the present invention, the progress information with record can be obtained from the windowstata that specified process records Corresponding windowstata, the window message being then based in these windowstata generate corresponding window thumbnail.
Step 280, the second out code that user is directed at least one window thumbnail is received;
Step 290, when receiving the second out code at least one window thumbnail, according to the record into Journey information closes corresponding process.
For example the app processes run in current system memory have A, B, C, then in the window contracting of step 280 displaying A, B, C After sketch map, user can select Close All, can also select to close some, then after selection can according to record into The progress information of the journey information searching selected process calls and closes the corresponding process closing of function pair.
Preferably, it further includes:
Step 292, when the window object at the top of window object storehouse changes, judge the window object whether Through obtaining;
Step 294, if the window object has not been obtained, continue the window object returning to specified process.
In embodiments of the present invention, because the first getfocuswindow functions are the windowstata of the stack top obtained, And the windowstata of stack top represents the window object for activating application in other words of current presentation, other are in the window on backstage Object then can be in the position of some under stack top.As long as the windowstata variations of stack top of the embodiment of the present invention, i.e. android The app variations of system current presentation, you can obtain the windowstata after the variation.
So the present invention can constantly obtain the windowstata of stack top, and the windowstata to having obtained is carried out Record, when next time obtains windowstata, according to aforementioned record, if the windowstata of stack top does not change, Without obtaining, if the windowstata of stack top changes, continue the window object returning to specified process.
The embodiment of the present invention, can be while progress information be recorded, also can be to the window pair corresponding to process As being recorded, under screen lock state, it can show corresponding window information with the process of foundation record, user's control facilitated to close Which process closed.Make user that can easily be closed under screen lock state except the necessary range of the nonsystematic run in Android system Process reduces the power consumption of system.
Embodiment three
With reference to Fig. 3, it illustrates a kind of flow diagram of Android system window object acquisition methods of the present invention, including:
Step 310, the initial process incubator of Android system is replaced with into specific first process incubator;
The initial zygote processes of Android system are replaced with into the first preset zygote processes of the present invention;First The function of zygote processes also added whether monitoring begins listening for pacifying other than including the function of initial zygote processes Whether tall and erect system starts hatching process and hatches the processing logic after window services and monitoring.After replacement, it can restart System, the init processes that activation system most starts.
Step 312, java virtual machines are created by the first process incubator;
Step 314, it is registered by the java virtual machines and monitors socket, to monitor Android by the monitoring socket Whether system starts whether hatching process and further monitoring Android system starts to hatch window services;If listen to peace Tall and erect system starts hatching process, then enters step 316;If listening to whether Android system starts to hatch window services, into Enter step 322;
Step 316, judge the process whether process belongs in the necessary range of system;If the process is not belonging to Process in the necessary range of system, then enter step 318;
Step 318, the progress information of the process is recorded;
Step 322, the establishment to the window services is intercepted, that calls is needed to it so as to intercept window services The loading of getfocuswindow functions;
Step 324, after intercepting to the establishment of the window services, window services needs are loaded initial Getfocuswindow functions replace with the first getfocuswindow functions;The first getfocuswindow functions Sequential is returned to return to specified process;
The first getfocuswindow functions of the present invention and the initial getfocuswindow of itself in Android system Function has identical parameter setting, only changes the returning an object value of the initial getfocuswindow functions of system for this The specified process of invention.
Step 326, the window services are created, and load the first getfocuswindow functions;
After above-mentioned function is substituted, you can continue to execute process hatching process, the first zygote processes can continue Viewserver is created, the relevant parameter of the first getfocuswindow functions is loaded after establishment.
Step 328, window services are searched by the first getfocuswindow functions at the top of window object storehouse Windowstata window objects, and windowstata window objects are returned into specified process with the record of Process Window object;
After abovementioned steps, when window services perform and obtain window object, then described first can be called Getfocuswindow functions from the storehouse of memory window object, obtain the windowstata of stack top, then can incite somebody to action Windowstata returns to specified process by the pipe pipelines biography between viewserver and specified process.Certainly Pipe pipelines between viewserver and specified process can be built when in use.
In embodiments of the present invention, when any one app is opened, corresponding windowstata can be in said stack Stack top, then pass through above-mentioned steps be can record all openings app windowstata.
Step 330, judge whether to receive the out code that user triggers under Android system screen lock state;If it receives To out code, then 332 are entered step;
Step 332, according to progress information and the correspondence of window object, window contracting is obtained from corresponding window object Sketch map, and the window thumbnail is illustrated in the designated position of locking screen interface;
Step 334, the second out code that user is directed at least one window thumbnail is received;
Step 336, when receiving the second out code at least one window thumbnail, according to the record into Journey information closes corresponding process.
Example IV
With reference to Fig. 4, it illustrates a kind of structure diagram of Android system application shutoff device of the present invention, including:
Process creation monitors module 410, is adapted for listening in Android system whether starting hatching process;
Information logging modle 420 is carried out, if suitable for starting hatching process, judging whether the process belongs to system must Process in the range of palpus;If the process is not belonging to the process in the necessary range of system, the process letter of the process is recorded Breath;
Trigger module 430 is closed, suitable for judging whether to receive the closing of user's triggering under Android system screen lock state Instruction;
Process closedown module 440, if suitable for receiving out code, according to the progress information of the record, to institute The process of stating is closed.
Preferably, it further includes:
Process incubator replacement module, suitable for the initial process incubator of Android system is replaced with specific first process Incubator;Monitor whether Android system starts hatching process by the first process incubator.
Preferably, the process creation is monitored module and is included:
Java Virtual Machine creation module, suitable for creating java virtual machines by the first process incubator;
Socket registration module is monitored, socket is monitored suitable for passing through the java virtual machines registration, passes through the monitoring Socket monitors whether Android system starts hatching process.
Preferably, the process creation is monitored module and is included:
First process creation monitors module, and the establishment for being adapted for listening for whether receiving hatching process in the socket disappears Breath;If the monitoring socket receives establishment message, it is determined that starts hatching process.
Preferably, the closing trigger module includes:
First closes trigger module, suitable under screen lock state, receiving user to the trigger action of specified button, judges institute It states to whether the trigger action of specified button meets pre-defined rule;If the trigger action to specified button meets pre- set pattern Then, then judge to receive out code.
Embodiment five
With reference to Fig. 5, it illustrates a kind of structure diagram of Android system application shutoff device of the present invention, including:
Process creation monitors module 510, is adapted for listening in Android system whether starting hatching process;
Information logging modle 520 is carried out, if suitable for starting hatching process, judging whether the process belongs to system must Process in the range of palpus;If the process is not belonging to the process in the necessary range of system, the process letter of the process is recorded Breath;
Window blocking module 530 before the window object suitable for being called in window services obtains function, is intercepted to the peace The calling of home window object acquisition function in tall and erect system;
Function replacement module 540, suitable for the home window object acquisition function of the interception is replaced with first window pair As obtaining function;
Window acquisition module 550, suitable for when triggering window services to obtain window object, the window services pass through tune Window object is obtained with the first window object acquisition function and returns to specified process to carry out window object record.
Trigger module 560 is closed, suitable for judging whether to receive the closing of user's triggering under Android system screen lock state Instruction;Into window display module 570;
Window display module 570, suitable for the correspondence according to progress information and window object, from corresponding window object Middle acquisition window thumbnail, and the window thumbnail is illustrated in the designated position of locking screen interface;
Second out code module 580 refers to suitable for receiving user and being closed for the second of at least one window thumbnail It enables;
Process closedown module 590, suitable for working as the second out code received at least one window thumbnail, according to The progress information of the record closes corresponding process.
Preferably, the window blocking module includes:
Whether first monitors module, suitable for starting to hatch window services by the first process incubator monitoring;
First blocking module if starting to hatch window services suitable for listening to, intercepts the wound to the window services It builds, needs the loading of home window object acquisition function in the Android system called so as to intercept window services to it.
Preferably, the function replacement module includes:
First function replacement module, suitable for after intercepting to the establishment of the window services, window services being needed to load Home window object acquisition function replace with first window object acquisition function;
Window services creation module suitable for creating the window services, and loads the first window object acquisition function.
Preferably, whether start to create window services by the first process incubator monitoring.
Preferably, whether start to create window services by the monitoring socket monitoring.
Preferably, the window blocking module includes:
It creates message and monitors module, be adapted for listening for whether receiving in the socket and create the first of window services and disappear Breath;If the socket receives the first message for creating window services, it is determined that starts to create window services.
Embodiment six
With reference to Fig. 6, it illustrates a kind of structure diagram of Android system application shutoff device of the present invention, including:
Process incubator replacement module 610, suitable for the initial process incubator of Android system is replaced with specific first Process incubator;
Virtual machine creating module 612, suitable for creating java virtual machines by the first process incubator;
First window service-creation monitors module 614, socket is monitored suitable for passing through the java virtual machines registration, with logical Cross whether the monitoring socket monitoring Android system starts whether hatching process and further monitoring Android system starts Hatch window services;If listening to Android system starts hatching process, into process judgment module 616;If it listens to Whether Android system starts to hatch window services, then into the second blocking module 622;
If process judgment module 616 suitable for starting hatching process, judges whether the process belongs to the necessary model of system Enclose interior process;If the process is not belonging to the process in the necessary range of system, into process logging modle 618;
Process logging modle 618, suitable for recording the progress information of the process;
Second blocking module 622, intercepts the establishment to the window services, it is needed to call so as to intercept window services Getfocuswindow functions loading;
Second function replacement module 624 suitable for the initial getfocuswindow functions for loading window services needs, replaces It is changed to the first getfocuswindow functions;The return sequential of the first getfocuswindow functions for return specify into Journey;
Window services creation module 626 suitable for creating the window services, and loads the first getfocuswindow Function;
First window object acquisition module 628 suitable for window services by the first getfocuswindow functions, searches window Windowstata window objects at the top of mouth object stack, and windowstata window objects are returned into specified process;
By the record of above-mentioned module, then data support can be provided to close APP processes subsequently under screen lock state.
Trigger module 630 is closed, suitable for judging whether to receive the closing of user's triggering under Android system screen lock state Instruction;Into window display module 632;
Window display module 632, suitable for the correspondence according to progress information and window object, from corresponding window object Middle acquisition window thumbnail, and the window thumbnail is illustrated in the designated position of locking screen interface;
Second out code module 634 refers to suitable for receiving user and being closed for the second of at least one window thumbnail It enables;
Process closedown module 636, suitable for working as the second out code received at least one window thumbnail, according to The progress information of the record closes corresponding process.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) are realized in Android system application pass hull closure according to embodiments of the present invention Some or all components some or all functions.The present invention is also implemented as performing side as described herein The some or all equipment or program of device (for example, computer program and computer program product) of method.It is such Realizing the program of the present invention can may be stored on the computer-readable medium or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website to be obtained either providing or with any other shape on carrier signal Formula provides.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and run after fame Claim.
A1, a kind of Android system application method for closing, including:
It monitors in Android system and whether starts hatching process;
If starting hatching process, the process whether process belongs in the necessary range of system is judged;It is if described Process is not belonging to the process in the necessary range of system, then records the progress information of the process;
Judge whether to receive the out code that user triggers under Android system screen lock state;
If receiving out code, according to the progress information of the record, the process is closed.
A2, the method as described in A1, further include:
The initial process incubator of Android system is replaced with into specific first process incubator;Pass through first process Incubator monitors whether Android system starts hatching process.
A3, the method as described in A2, it is described to monitor whether Android system starts to hatch by the first process incubator Process includes:
Java virtual machines are created by the first process incubator;
It is registered by the java virtual machines and monitors socket, monitor whether Android system is opened by the monitoring socket Beginning hatching process.
A4, the method as described in A3, it is described to include by the way that whether socket monitoring starts hatching window services:
Monitor the establishment message that hatching process whether is received in the socket;If the monitoring socket receives Create message, it is determined that start hatching process.
A5, the method as described in A1, the pass for judging whether to receive user's triggering under Android system screen lock state Instruction is closed to include:
Under screen lock state, trigger action of the user to specified button is received, judges that the triggering to specified button is grasped Whether pre-defined rule is met;If the trigger action to specified button meets pre-defined rule, judgement receives closing Instruction.
A6, the method as described in A2, further include:
Before the window object called in window services obtains function, intercept to home window object in the Android system Obtain the calling of function;
The home window object acquisition function of the interception is replaced with into first window object acquisition function;
When triggering window services to obtain window object, the window services are by calling the first window object to obtain Function is taken to obtain window object and returns to specified process to carry out window object record.
A7, the method as described in A6, after out code is received, further include:
According to progress information and the correspondence of window object, window thumbnail is obtained from corresponding window object, and The window thumbnail is illustrated in the designated position of locking screen interface;
Further, it further includes:
Receive the second out code that user is directed at least one window thumbnail;At least one window is directed to when receiving Second out code of mouth thumbnail, according to the progress information of the record, closes corresponding process.
A8, the method as described in A6 before the window object called in window services obtains function, are intercepted to described The calling of home window object acquisition function includes in Android system:
Whether start to hatch window services by the first process incubator monitoring;
Start to hatch window services if listened to, intercept the establishment to the window services, so as to intercept window clothes Business needs it loading of home window object acquisition function in Android system called.
The interception window object is obtained function and replaces with first window object acquisition letter by A9, the method as described in A6 Number includes:
After intercepting to the establishment of the window services, by the home window object acquisition function that loads of window services needs Replace with first window object acquisition function;
The window services are created, and load the first window object acquisition function.
A10, the method as described in A9, the home window object acquisition function that window services needs are loaded replace with First window object acquisition function includes:
The initial getfocuswindow functions that window services needs are loaded, replace with the first getfocuswindow letters Number;The return sequential of the first getfocuswindow functions is returns to specified process.
A11, the method as described in A10, the window services are by calling the first window object acquisition function to obtain Window object includes:
By the first getfocuswindow functions, the windowstata window objects at the top of window object storehouse are searched.
A12, the method as described in A10, further include:
When window object at the top of window object storehouse changes, judge whether the window object has obtained;
If the window object has not been obtained, continue the window object returning to specified process.
The present invention also provides B13, a kind of Android system application shutoff device, including:
Process creation monitors module, is adapted for listening in Android system whether starting hatching process;
Information logging modle is carried out, if suitable for starting hatching process, it is necessary to judge whether the process belongs to system In the range of process;If the process is not belonging to the process in the necessary range of system, the progress information of the process is recorded;
Trigger module is closed, suitable for judging whether that the closing for receiving user's triggering refers under Android system screen lock state It enables;
Process closedown module, if suitable for receiving out code, according to the progress information of the record, to it is described into Cheng Jinhang is closed.
B14, the device as described in B13, further include:
Process incubator replacement module, suitable for the initial process incubator of Android system is replaced with specific first process Incubator;Monitor whether Android system starts hatching process by the first process incubator.
B15, the device as described in B14, the process creation are monitored module and are included:
Java Virtual Machine creation module, suitable for creating java virtual machines by the first process incubator;
Socket registration module is monitored, socket is monitored suitable for passing through the java virtual machines registration, passes through the monitoring Socket monitors whether Android system starts hatching process.
B16, the device as described in B15, the process creation are monitored module and are included:
First process creation monitors module, and the establishment for being adapted for listening for whether receiving hatching process in the socket disappears Breath;If the monitoring socket receives establishment message, it is determined that starts hatching process.
B17, the device as described in B13, the closing trigger module include:
First closes trigger module, suitable under screen lock state, receiving user to the trigger action of specified button, judges institute It states to whether the trigger action of specified button meets pre-defined rule;If the trigger action to specified button meets pre- set pattern Then, then judge to receive out code.
B18, the device as described in B14, further include:
Window blocking module before the window object suitable for being called in window services obtains function, is intercepted to the Android The calling of home window object acquisition function in system;
Function replacement module obtains suitable for the home window object acquisition function of the interception is replaced with first window object Take function;
Window acquisition module, suitable for when triggering window services to obtain window object, the window services pass through calling The first window object acquisition function obtains window object and returns to specified process to carry out window object record.
B19, the device as described in B18 after trigger module is closed, further include:
Window display module, suitable for the correspondence according to progress information and window object, from corresponding window object Window thumbnail is obtained, and the window thumbnail is illustrated in the designated position of locking screen interface;
Further, it further includes:
Second out code module, suitable for receiving the second out code that user is directed at least one window thumbnail; When receiving the second out code at least one window thumbnail, according to the progress information of the record, to corresponding Process is closed.
B20, the device as described in B18, the window blocking module include:
Whether first monitors module, suitable for starting to hatch window services by the first process incubator monitoring;
First blocking module if starting to hatch window services suitable for listening to, intercepts the wound to the window services It builds, needs the loading of home window object acquisition function in the Android system called so as to intercept window services to it.
B21, the device as described in B18, the function replacement module include:
First function replacement module, suitable for after intercepting to the establishment of the window services, window services being needed to load Home window object acquisition function replace with first window object acquisition function;
Window services creation module suitable for creating the window services, and loads the first window object acquisition function.
B22, the device as described in B21, the home window object acquisition function that window services needs are loaded are replaced Include for first window object acquisition function:
Second function replacement module suitable for the initial getfocuswindow functions for loading window services needs, is replaced For the first getfocuswindow functions;The return sequential of the first getfocuswindow functions is returns to specified process.
B23, the device as described in B22, the window services are by calling the first window object acquisition function to obtain Window object includes:
First window object acquisition module suitable for passing through the first getfocuswindow functions, searches window object storehouse The windowstata window objects at top.
B24, the device as described in B23, further include:
Window object judgment module, when changing suitable for the window object at the top of window object storehouse, described in judgement Whether window object has obtained;If the window object has not been obtained, continue the window object returning to specified process.

Claims (10)

1. a kind of Android system application method for closing, including:
It monitors in Android system and whether starts hatching process;
If starting hatching process, the process whether process belongs in the necessary range of system is judged;If the process The process being not belonging in the necessary range of system then records the progress information of the process;
Judge whether to receive the out code that user triggers under Android system screen lock state;
If receiving out code, according to the progress information of the record, the process is closed.
2. the method as described in claim 1, which is characterized in that further include:
The initial process incubator of Android system is replaced with into specific first process incubator;Hatched by first process Device monitors whether Android system starts hatching process.
3. method as claimed in claim 2, which is characterized in that described that Android system is monitored by the first process incubator Whether start hatching process to include:
Java virtual machines are created by the first process incubator;
It is registered by the java virtual machines and monitors socket, monitor whether Android system starts to incubate by the monitoring socket Change process.
4. method as claimed in claim 3, which is characterized in that described whether to start to hatch window by socket monitoring Service includes:
Monitor the establishment message that hatching process whether is received in the socket;If the monitoring socket receives establishment Message, it is determined that start hatching process.
5. the method as described in claim 1, which is characterized in that described to judge whether to receive under Android system screen lock state The out code of user's triggering includes:
Under screen lock state, user is received to the trigger action of specified button, judges that the trigger action to specified button is It is no to meet pre-defined rule;If the trigger action to specified button meets pre-defined rule, judgement receives out code.
6. method as claimed in claim 2, which is characterized in that further include:
Before the window object called in window services obtains function, intercept to home window object acquisition in the Android system The calling of function;
The home window object acquisition function of the interception is replaced with into first window object acquisition function;
When triggering window services to obtain window object, the window services are by calling the first window object acquisition letter Number obtains window object and returns to specified process to carry out window object record.
7. method as claimed in claim 6, which is characterized in that after out code is received, further include:
According to progress information and the correspondence of window object, window thumbnail is obtained from corresponding window object, and by institute State the designated position that window thumbnail is illustrated in locking screen interface;
Further, it further includes:
Receive the second out code that user is directed at least one window thumbnail;It contracts when receiving at least one window Second out code of sketch map according to the progress information of the record, closes corresponding process.
8. method as claimed in claim 6, which is characterized in that it is described window services call window object obtain function it Before, it intercepts and the calling of home window object acquisition function in the Android system is included:
Whether start to hatch window services by the first process incubator monitoring;
Start to hatch window services if listened to, the establishment to the window services is intercepted, so as to intercept window services pair It needs the loading of home window object acquisition function in the Android system called.
9. method as claimed in claim 6, which is characterized in that the interception window object is obtained into function and replaces with the first window Mouth object acquisition function includes:
After intercepting to the establishment of the window services, the home window object acquisition function that window services needs load is replaced For first window object acquisition function;
The window services are created, and load the first window object acquisition function.
10. a kind of Android system application shutoff device, including:
Process creation monitors module, is adapted for listening in Android system whether starting hatching process;
Information logging modle is carried out, if suitable for starting hatching process, judges whether the process belongs to the necessary range of system Interior process;If the process is not belonging to the process in the necessary range of system, the progress information of the process is recorded;
Trigger module is closed, suitable for judging whether to receive the out code of user's triggering under Android system screen lock state;
Process closedown module, if suitable for receiving out code, according to the progress information of the record, to the process into Row is closed.
CN201810058686.8A 2014-12-16 2014-12-16 Android system application closing method and device Expired - Fee Related CN108228321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810058686.8A CN108228321B (en) 2014-12-16 2014-12-16 Android system application closing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810058686.8A CN108228321B (en) 2014-12-16 2014-12-16 Android system application closing method and device
CN201410784204.9A CN104484223B (en) 2014-12-16 2014-12-16 A kind of Android system application method for closing and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410784204.9A Division CN104484223B (en) 2014-12-16 2014-12-16 A kind of Android system application method for closing and device

Publications (2)

Publication Number Publication Date
CN108228321A true CN108228321A (en) 2018-06-29
CN108228321B CN108228321B (en) 2021-08-10

Family

ID=52758767

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410784204.9A Active CN104484223B (en) 2014-12-16 2014-12-16 A kind of Android system application method for closing and device
CN201810058686.8A Expired - Fee Related CN108228321B (en) 2014-12-16 2014-12-16 Android system application closing method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410784204.9A Active CN104484223B (en) 2014-12-16 2014-12-16 A kind of Android system application method for closing and device

Country Status (1)

Country Link
CN (2) CN104484223B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484223B (en) * 2014-12-16 2018-02-16 北京奇虎科技有限公司 A kind of Android system application method for closing and device
CN105373750B (en) * 2015-12-02 2018-05-25 小米科技有限责任公司 terminal operation control method and device
CN105630354A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Application control method and device
CN105718786A (en) * 2016-01-18 2016-06-29 成都中科创达软件有限公司 System lock screen protection method and system
CN105867771A (en) * 2016-04-11 2016-08-17 广东欧珀移动通信有限公司 Mobile terminal and method and device for turning off application programs
CN106020820A (en) * 2016-05-18 2016-10-12 北京麒麟合盛网络技术有限公司 User process termination method and apparatus
CN106020908B (en) * 2016-05-31 2019-04-12 Oppo广东移动通信有限公司 A kind of function method for closing and device
CN106598572B (en) * 2016-11-17 2018-08-03 武汉斗鱼网络科技有限公司 Method and device is exited in a kind of application
CN109144677B (en) * 2017-06-16 2022-08-26 百度在线网络技术(北京)有限公司 Keep-alive process method and device for android system
CN107844338B (en) * 2017-10-31 2019-09-13 Oppo广东移动通信有限公司 Application program management-control method, device, medium and electronic equipment
CN108196913A (en) * 2018-01-05 2018-06-22 青岛海信移动通信技术股份有限公司 The process method for cleaning and device of a kind of application program

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002095716A1 (en) * 2001-05-23 2002-11-28 E-Learning Dynamics Llc. Method and system for interactive teaching
CN1842769A (en) * 2003-08-28 2006-10-04 美普思科技有限公司 Instruction for initiation of concurrent instruction streams in a multithreading microprocessor
CN102497469A (en) * 2011-11-25 2012-06-13 深圳市五巨科技有限公司 Method and device for operating music player in screen lock state
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN103064590A (en) * 2012-12-25 2013-04-24 天津三星通信技术研究有限公司 Control method and system for closing running programs of mobile terminal
CN104038642A (en) * 2014-07-01 2014-09-10 中科创达软件股份有限公司 Method and device for responding to incoming call
CN104102540A (en) * 2014-06-30 2014-10-15 上海卓悠网络科技有限公司 Operation process management method and mobile terminal
CN104199669A (en) * 2014-09-12 2014-12-10 北京奇虎科技有限公司 Method and device for managing application program processes
CN104484223A (en) * 2014-12-16 2015-04-01 北京奇虎科技有限公司 Android system application closing method and android system application closing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830996B (en) * 2012-08-08 2016-01-20 广东欧珀移动通信有限公司 A kind of fast starting method of handheld device
CN103514007B (en) * 2012-08-31 2017-09-05 Tcl集团股份有限公司 A kind of method of the thermal starting of the mobile terminal based on android system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002095716A1 (en) * 2001-05-23 2002-11-28 E-Learning Dynamics Llc. Method and system for interactive teaching
CN1842769A (en) * 2003-08-28 2006-10-04 美普思科技有限公司 Instruction for initiation of concurrent instruction streams in a multithreading microprocessor
CN102497469A (en) * 2011-11-25 2012-06-13 深圳市五巨科技有限公司 Method and device for operating music player in screen lock state
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN103064590A (en) * 2012-12-25 2013-04-24 天津三星通信技术研究有限公司 Control method and system for closing running programs of mobile terminal
CN104102540A (en) * 2014-06-30 2014-10-15 上海卓悠网络科技有限公司 Operation process management method and mobile terminal
CN104038642A (en) * 2014-07-01 2014-09-10 中科创达软件股份有限公司 Method and device for responding to incoming call
CN104199669A (en) * 2014-09-12 2014-12-10 北京奇虎科技有限公司 Method and device for managing application program processes
CN104484223A (en) * 2014-12-16 2015-04-01 北京奇虎科技有限公司 Android system application closing method and android system application closing device

Also Published As

Publication number Publication date
CN108228321B (en) 2021-08-10
CN104484223A (en) 2015-04-01
CN104484223B (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN104484223B (en) A kind of Android system application method for closing and device
CN104965790B (en) Method for testing software and system based on crucial word drive
CN103595766B (en) Realize the method and device of the sending out notice of extension application
CN105573755B (en) A kind of application Activity render time acquisition methods and device
CN106126424B (en) A kind of visual automated testing method of script, device and mobile terminal
US9921569B2 (en) Field device commissioning system and method
CN103595708B (en) The browser processing method of closing, system, browser and server extremely
CN107357580A (en) A kind of method that guiding terminal user opens the miscellaneous function authority of application
CN106844136A (en) The collection method and system of a kind of program crashing information
CN108549568A (en) Using entrance processing method, apparatus, storage medium and electronic equipment
CN108304234A (en) A kind of page display method and device
CN103778012B (en) The method and device of change terminal operator's informaiton
CN106980436A (en) Record screen method and record screen terminal
CN104484176B (en) A kind of Android system window object acquisition methods and device
CN105094791A (en) Status bar notification storage method and status bar notification storage device
CN107797922A (en) Application page testing method, electronic device and electronic equipment
CN107957871A (en) A kind of front and back end synchronization canonical method of calibration based on JSR303
CN108920214A (en) A kind of application program operation method, application program running gear and mobile terminal
CN114175026A (en) Application monitoring method and device, storage medium and electronic equipment
CN103530180B (en) Method and device for switching storage space of application programs
CN107203373A (en) Acquisition methods, method of testing and the acquisition device of interface control, test device
CN105335169A (en) Method and apparatus for starting up communication in intelligent terminal
CN105573891B (en) A kind of Android application power consumption statistical method and device
CN106506863A (en) A kind of fast operating method of smart mobile phone and device
CN107463379A (en) Interface switching method and device, computer installation and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210810

CF01 Termination of patent right due to non-payment of annual fee