CN103390127B - Application program operation interface exits method, device and terminal - Google Patents

Application program operation interface exits method, device and terminal Download PDF

Info

Publication number
CN103390127B
CN103390127B CN201310303885.8A CN201310303885A CN103390127B CN 103390127 B CN103390127 B CN 103390127B CN 201310303885 A CN201310303885 A CN 201310303885A CN 103390127 B CN103390127 B CN 103390127B
Authority
CN
China
Prior art keywords
application program
operation interface
interface
monitoring
described application
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.)
Active
Application number
CN201310303885.8A
Other languages
Chinese (zh)
Other versions
CN103390127A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310303885.8A priority Critical patent/CN103390127B/en
Publication of CN103390127A publication Critical patent/CN103390127A/en
Priority to PCT/CN2014/082380 priority patent/WO2015007220A1/en
Application granted granted Critical
Publication of CN103390127B publication Critical patent/CN103390127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses a kind of application program operation interface and exits method, device and terminal, by starting Application Monitoring thread, the running status of monitoring application program; And in preset duration, if detect the operational order one of them operation interface corresponding to application program not receiving user side triggering, then exit the method for this operation interface of described application program, in prior art, only jump to from the operation interface of described application program the interface (as desktop) or screen locking automatically that pre-set, the present invention has the beneficial effect automatically exiting application program operation interface, improve userspersonal information's security; Further, after all exiting all operations interface that application program opens, automatically exit the method for this application program, further improve the security of userspersonal information; Meanwhile, decrease because of the Installed System Memory shared by application program operation, saved system resource.<!--1-->

Description

Application program operation interface exits method, device and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of application program operation interface and exit method, device and terminal.
Background technology
Along with making constant progress of science and technology, the function of intelligent terminal is also more and more diversified; When user uses intelligent terminal, often can open some application programs.Current intelligent terminal such as smart mobile phone, after user's opening application program, if within a period of time of presetting, intelligent terminal does not detect that user carries out any operation, then automatically can jump to the interface that terminal pre-sets, or directly enter screen lock state, and the application program of opening before user is still in operation; If the display interface of the application program run contains individual privacy or the important information of user, then above-mentioned information has very large disclosure risk.
Summary of the invention
Given this, be necessary to provide a kind of application program operation interface to exit method, device and terminal, to improve the Information Security of application program.
The embodiment of the invention discloses a kind of application program operation interface and exit method, comprise the following steps:
Start the Application Monitoring thread arranged, the running status of monitoring application program;
Whether each operation interface that in detecting preset duration, application program is corresponding receives the operational order that user side triggers;
If one of them operation interface detecting described application program does not receive the operational order that user side triggers in preset duration, then exit this operation interface of described application program.
The embodiment of the present invention also discloses a kind of application program operation interface extractor, comprising:
Monitoring module, for starting the Application Monitoring thread of setting, the running status of monitoring application program;
Instruction detecting module, for detecting the operational order whether each operation interface corresponding to described application program in preset duration receiving user side triggering;
Module is exited at interface, if one of them operation interface for detecting described application program does not receive the operational order that user side triggers in preset duration, then exits this operation interface of described application program.
The embodiment of the present invention also discloses a kind of terminal, comprises described application program operation interface extractor;
Described application program operation interface extractor comprises:
Monitoring module, for starting the Application Monitoring thread of setting, the running status of monitoring application program;
Instruction detecting module, for detecting the operational order whether each operation interface corresponding to described application program in preset duration receiving user side triggering;
Module is exited at interface, if one of them operation interface for detecting described application program does not receive the operational order that user side triggers in preset duration, then exits this operation interface of described application program.
The embodiment of the present invention is by starting Application Monitoring thread, the running status of monitoring application program; And in preset duration, if one of them operation interface detecting described application program does not receive the operational order that user side triggers, then exit the method for this operation interface of this application program, in prior art, only jump to from the operation interface of described application program the interface (as desktop) or screen locking automatically that pre-set, the embodiment of the present invention has the beneficial effect automatically exiting application program operation interface, improve userspersonal information's security; Further, after all exiting all operations interface that application program opens, automatically exit the method for this application program, further improve the security of userspersonal information; Meanwhile, decrease because of the Installed System Memory shared by application program operation, saved system resource.
Accompanying drawing explanation
Fig. 1 is that application program operation interface of the present invention exits method first embodiment schematic flow sheet;
Fig. 2 is that application program operation interface of the present invention exits method second embodiment schematic flow sheet;
Fig. 3 is that application program operation interface of the present invention exits in method, exits the operation interface one embodiment schematic flow sheet of described application program;
Fig. 4 is that application program operation interface of the present invention exits method the 3rd embodiment schematic flow sheet;
Fig. 5 is application program operation interface extractor first embodiment high-level schematic functional block diagram of the present invention;
Fig. 6 is application program operation interface extractor second embodiment high-level schematic functional block diagram of the present invention;
Fig. 7 is monitoring module one embodiment high-level schematic functional block diagram in application program operation interface extractor of the present invention;
Fig. 8 is that module one embodiment high-level schematic functional block diagram is exited in application program operation interface extractor median surface of the present invention;
Fig. 9 is application program operation interface extractor the 3rd embodiment high-level schematic functional block diagram of the present invention;
Figure 10 is terminal one embodiment high-level schematic functional block diagram of the present invention.
The realization of embodiment of the present invention object, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Reference Fig. 1, Fig. 1 are that application program operation interface of the present invention exits method one embodiment schematic flow sheet; As shown in Figure 1, application program operation interface of the present invention exits method and comprises the following steps:
The Application Monitoring thread that step S01, startup are arranged, the running status of monitoring application program;
Terminal starts the Application Monitoring thread pre-set, state when monitoring application program runs; In the present embodiment, the running status of application program each in terminal can be divided into three major types: application program creation operation interface create in other words conj.or perhaps application program operation interface, based on application program operation interface and user side interactive operation, exit application program operation interface.
Certainly, terminal can provide " application program operation interface exits automatically " function button or functionality controls so that user side as required or oneself hobby select to open or exit the function of above-mentioned " application program operation interface exits automatically ".
Whether step S02, one of them operation interface detecting described application program receive the operational order that user side triggers in preset duration; If not, then step S03 is performed; If so, then step S11 is performed;
Step S03, exit this operation interface corresponding to described application program;
Step S11, the operational order triggered according to user side, perform respective operations.
After starting Application Monitoring thread, the running status of each application program of terminal monitoring.Especially, the state that in the application program that terminal monitoring has been opened, each operation interface is corresponding, as the application program run comprise each operation interface establishment, based on the operation interface created and user side interactive operation, exit operation interface.
In terminal detecting preset duration, whether this operation interface of the application program of having opened receives the operational order that user side triggers; Described preset duration can by terminal default setting, such as 10 minutes; Terminal also can provide choice box, selects duration voluntarily or input corresponding duration voluntarily for user side; The present embodiment does not limit the concrete set-up mode of described preset duration and concrete time span.
When terminal detects in preset duration the operational order not receiving user side triggering, terminal exits this operation interface of described application program automatically.For mobile phone, the short message program in the application program that such as terminal is being run; If operation interface corresponding to current short message program is the read interface of certain short message received; in preset duration (such as 5 minutes); if terminal monitoring is to the operational order not receiving user side triggering; then automatically exit the read interface of the short message of current display, to protect privacy of user.Certainly, for the audiovisual applications program that terminal is run, can automatically exit corresponding operation interface by adjustment preset duration, the present embodiment does not carry out exhaustive one by one to it.
When terminal detects in preset duration the operational order receiving user side triggering, operational order described in terminal response, according to described operational order, performs respective operations.
The present embodiment is by starting Application Monitoring thread, the running status of monitoring application program; And in preset duration, the operational order that user side triggers if this operation interface monitoring described application program does not receive, then exit this operation interface of described application program.In prior art, only jump to from the operation interface of described application program the interface (as desktop) or screen locking automatically that pre-set, the embodiment of the present invention has the beneficial effect automatically exiting application program operation interface, improve userspersonal information's security.
Based on the specific descriptions of embodiment described in Fig. 1, please refer to Fig. 2, Fig. 2 is that application program operation interface of the present invention exits method second embodiment schematic flow sheet; Described in the present embodiment and Fig. 1, the difference of embodiment adds step S10: according to the different running statuses of described application program, arranges corresponding described Application Monitoring thread.The present embodiment is only specifically described step S10, and relevant application program operation interface of the present invention other steps exited involved by method please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 2, application program operation interface of the present invention exits in method, and in step S01, start the Application Monitoring thread arranged, before the running status of monitoring application program, the method also comprises:
Step S10, different running statuses according to described application program, arrange corresponding described Application Monitoring thread;
In order to the different running statuses of monitoring application program more exactly, terminal, according to the different running statuses of application program, arranges the control point that each running status is corresponding; In the present embodiment, the running status of described application program comprises: creation operation interface, carry out mutual and exit operation interface based on operation interface and user side; Accordingly, terminal arranges control point corresponding to creation operation interface respectively, carries out mutual corresponding control point, and exit control point corresponding to operation interface based on operation interface and user side.Such as, terminal arranges monitoring thread corresponding to creation operation interface and is onCreate, carries out based on operation interface and user side that mutual corresponding monitoring thread is onUserInteraction, to exit thread corresponding to operation interface be onDestroy.
After terminal is provided with each Application Monitoring thread, start each described Application Monitoring thread arranged, to monitor running status corresponding to described application program.Due to the different running statuses of corresponding application program, terminal is provided with monitoring thread corresponding to each running status respectively, therefore, break down even if one of them monitoring thread is run, other monitoring thread still can continue the policer operation of executive utility running status.
Further, in a preferred embodiment, terminal starts the described Application Monitoring thread arranged, and the operation monitoring described application program comprises:
Start the monitoring thread that each application program that arranges is corresponding respectively, when the monitoring thread of one of them application program monitor this application program have operation interface to create time, start the timer that this application program is corresponding, start to carry out timing to this operation interface of establishment; On the described operation interface created, monitor when carrying out interactive operation with user side, described timer is reset, and start described timer and restart timing; When one of them operation interface monitoring described application program exits, timer corresponding for this application program is reset, and the described timer starting this application program corresponding restarts timing.
Further, in order to save the processing procedure of terminal, terminal starts the Application Monitoring thread arranged, and the running status of monitoring application program comprises:
Start the Application Monitoring thread arranged, only when monitoring described application program and having operation interface to exit, just start timer corresponding to this application program and start timing.
The present embodiment, according to the different running statuses of described application program, arranges corresponding described Application Monitoring thread, has the beneficial effect of accurate monitoring application program running status.
Based on the specific descriptions of above-described embodiment, please refer to Fig. 3, Fig. 3 is that application program operation interface of the present invention exits in method, exits the operation interface one embodiment schematic flow sheet of described application program; The present embodiment is described further " if step S03 detects in preset duration the operational order not receiving user side and trigger; then exit this operation interface of described application program ", relevant application program operation interface of the present invention other steps exited involved by method please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 3, be the concrete operation process chart that application program operation interface of the present invention exits step S03 in method, this concrete operation process chart comprises:
Step S21, search the operation interface store list set up in advance, the penultimate actions interface created before this operation interface according to application program described in time sequencing identification;
In the present embodiment, after terminal starts Application Monitoring thread, when the operation interface of the described application program monitored creates, the described operation interface created is stored in the operation interface store list set up in advance; In a preferred embodiment, the time sequencing that terminal can create according to each operation interface is stored in described operation interface store list successively; The each operation interface comprising creation-time also can directly be stored in described operation interface store list by terminal; The concrete storage mode of the present embodiment to the application program operation interface that terminal storage creates does not limit.
When terminal detects in preset duration the operational order not receiving user side triggering, search the operation interface store list set up in advance, and according to the time sequencing that each operation interface creates, the penultimate actions interface created before this operation interface of recognition application, namely find created before this operation interface and be close to the application program operation interface of this operation interface.
Step S22, exit this operation interface of described application program, and be back to described penultimate actions interface; Meanwhile, this operation interface of the described application program exited is deleted from described operation interface store list.
Find above-mentioned adjacent with this operation interface and at the penultimate actions interface that this application program creates time, terminal exits this operation interface of described application program, and is back to described penultimate actions interface, shows operation interface second from the bottom.Meanwhile, this operation interface of the described application program exited is deleted by terminal from operation interface store list.
When the present embodiment exits the operation interface of described application program, be back to the method at the penultimate actions interface created before described application program creates this operation interface, improve man-machine interaction.
Please refer to Fig. 4, Fig. 4 is that application program operation interface of the present invention exits method the 3rd embodiment schematic flow sheet; Described in the present embodiment and Fig. 2, the difference of embodiment adds step S04 and step S05;
The present embodiment is specifically described the step after " if step S03 detects in preset duration the operational order not receiving user side and trigger; then exit the operation interface of described application program " in embodiment described in Fig. 1 or Fig. 2, relevant application program operation interface of the present invention other steps exited involved by method please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 4, application program operation interface of the present invention exits in method, if detect in preset duration in step S03 the operational order not receiving user side and trigger, then exits this operation interface of described application program, also comprises afterwards:
Whether step S04, the number identifying remaining operation interface in described operation interface store list are 0; If so, then step S05 is performed;
After terminal exits a certain operation interface of described application program, the number of remaining operation interface in terminal recognition operation interface store list.
When in operation interface store list, the number of remaining operation interface is not 0, terminal is back to step S02, detects the operational order whether one of them operation interface of described application program receiving in preset duration user side triggering, and performs each follow-up step according to this.
Step S05, exit described application program.
When in operation interface store list described in terminal recognition, remaining operation interface number is 0, terminal directly exits this application program, to save terminal resource.
The present embodiment recognizes each operation interface corresponding to application program when all exiting, directly exit this application program, compared in prior art, application program operation interface still continues to run in system background when any operational order that user side triggers not detected, the present embodiment has the beneficial effect reduced because of the Installed System Memory shared by application program operation, further, terminal resource has been saved.
Please refer to Fig. 5, Fig. 5 is application program operation interface extractor first embodiment high-level schematic functional block diagram of the present invention; As shown in Figure 5, application program operation interface extractor of the present invention comprises: module 03 is exited at monitoring module 01, instruction detecting module 02 and interface.
Monitoring module 01, for starting the Application Monitoring thread of setting, the running status of monitoring application program;
Monitoring module 01 starts the Application Monitoring thread pre-set, state when monitoring application program runs; In the present embodiment, the running status of application program each in terminal can be divided into three major types: application program creation operation interface create in other words conj.or perhaps application program operation interface, based on application program operation interface and user side interactive operation, exit application program operation interface.
Certainly, terminal can provide " application program operation interface exits automatically " function button or functionality controls so that user side as required or oneself hobby select to open or exit the function of above-mentioned " application program operation interface exits automatically ".
Instruction detecting module 02, for detecting the operational order whether each operation interface corresponding to described application program in preset duration receiving user side triggering;
After monitoring module 01 starts Application Monitoring thread, instruction detecting module 02 monitors the running status of each application program.Especially, instruction detecting module 02 detects the state that in the application program of having opened, each operation interface is corresponding, as the application program run comprise each operation interface establishment, based on the operation interface created and user side interactive operation, exit operation interface.
Instruction detecting module 02 is detected in preset duration, whether this operation interface of described application program receives the operational order that user side triggers; Described preset duration can by terminal default setting, such as 10 minutes; Terminal also can provide choice box, selects duration voluntarily or input corresponding duration voluntarily for user side; The present embodiment does not limit the concrete set-up mode of described preset duration and concrete time span.
Module 03 is exited at interface, if one of them operation interface for detecting described application program does not receive the operational order that user side triggers in preset duration, then exits this operation interface of described application program.
When instruction detecting module 02 detects in preset duration the operational order not receiving user side triggering, this operation interface that module 03 exits described application program is automatically exited at interface.For mobile phone, the short message program in the application program that such as terminal is being run; If operation interface corresponding to current short message program is the read interface of certain short message received; in preset duration (such as 5 minutes); if instruction detecting module 02 monitors the operational order not receiving user side and trigger; then the read interface that module 03 exits the short message of current display is automatically exited at interface, to protect privacy of user.Certainly, for the audiovisual applications program that terminal is run, module 03 is exited at interface can exit corresponding operation interface automatically by adjustment preset duration, and the present embodiment does not carry out exhaustive one by one to it.
When instruction detecting module 02 detects in preset duration the operational order receiving user side triggering, operational order described in terminal response, according to described operational order, performs respective operations.
The present embodiment is by starting Application Monitoring thread, the running status of monitoring application program; And in preset duration, the operational order that user side triggers if this operation interface monitoring described application program does not receive, then exit this operation interface of described application program.In prior art, only jump to from the operation interface of described application program the interface (as desktop) or screen locking automatically that pre-set, the embodiment of the present invention has the beneficial effect automatically exiting application program operation interface, improve userspersonal information's security.
Based on the specific descriptions of embodiment described in Fig. 5, please refer to Fig. 6, Fig. 6 is application program operation interface extractor second embodiment high-level schematic functional block diagram of the present invention; Described in the present embodiment and Fig. 5, the difference of embodiment adds thread and arranges module 10; The present embodiment only arranges module 10 to thread and is further described, and relevant other modules involved by application program operation interface extractor of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 6, application program operation interface extractor of the present invention also comprises:
Thread arranges module 10, for the different running statuses according to described application program, arranges corresponding described Application Monitoring thread;
In order to the different running statuses of monitoring application program more exactly, thread arranges the different running statuses of module 10 according to application program, arranges the control point that each running status is corresponding; In the present embodiment, the running status of described application program comprises: creation operation interface, carry out mutual and exit operation interface based on operation interface and user side; Accordingly, thread arranges module 10 and arranges control point corresponding to creation operation interface respectively, carries out mutual corresponding control point, and exit control point corresponding to operation interface based on operation interface and user side.Such as, thread arranges module 10 and arranges monitoring thread corresponding to creation operation interface and be onCreate, carry out based on operation interface and user side that mutual corresponding monitoring thread is onUserInteraction, to exit thread corresponding to operation interface be onDestroy.
Arrange after module 10 is provided with each Application Monitoring thread at thread, monitoring module 01 starts each Application Monitoring thread arranged, and monitors the running status that described application program is corresponding.Due to the different running statuses of corresponding application program, thread arranges module 10 and is provided with monitoring thread corresponding to each running status respectively, therefore, break down even if one of them monitoring thread is run, other monitoring thread still can continue the policer operation of executive utility running status.
Further, in a preferred embodiment, please refer to Fig. 7, Fig. 7 is monitoring module one embodiment high-level schematic functional block diagram in application program operation interface extractor of the present invention; As shown in Figure 7, in application program operation interface extractor of the present invention, monitoring module 02 comprises:
Interface creating unit 021, for the monitoring thread that each described application program starting setting is corresponding respectively, when the monitoring thread of one of them application program monitor described application program have operation interface to create time, start the timer that this application program is corresponding, start to carry out timing to the operation interface of this establishment;
Interface alternation unit 022, for the described operation interface created at interface creating unit 021, monitors when carrying out interactive operation with user side, is reset by described timer, and starts described timer and restart timing;
Unit 023 is exited at interface, during for exiting at one of them operation interface monitoring application program described in interface, reset by timer corresponding for this application program, and the described timer starting this application program corresponding restarts timing.
Further, in order to save the processing procedure of terminal, described monitoring module 01 after startup Application Monitoring thread, only when monitoring described application program and having operation interface to exit, just start timer corresponding to this application program and start timing.
The present embodiment, according to the different running statuses of described application program, arranges corresponding described Application Monitoring thread, has the beneficial effect of accurate monitoring application program running status.
Based on the specific descriptions of above-described embodiment, please refer to Fig. 8, Fig. 8 is that module one embodiment high-level schematic functional block diagram is exited in application program operation interface extractor median surface of the present invention; The present embodiment only exits module 03 to interface and conducts further description, and relevant other modules involved by application program operation interface extractor of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 8, in application program operation interface extractor of the present invention, interface is exited module 03 and is comprised: unit 031 is searched at interface and interface returns unit 032.
Unit 031 is searched at interface, for searching the operation interface store list set up in advance, and the penultimate actions interface created before this operation interface according to application program described in time sequencing identification;
In the present embodiment, after monitoring module 01 starts Application Monitoring thread, when the operation interface of the described application program monitored creates, the described operation interface created is stored in the operation interface store list set up in advance; In a preferred embodiment, the time sequencing that monitoring module 01 can create according to each operation interface is stored in described operation interface store list successively; The each operation interface comprising creation-time also can directly be stored in described operation interface store list by monitoring module 01; The concrete storage mode of the present embodiment to the application program operation interface of monitoring module 01 storage creation does not limit.
When instruction detecting module 02 detects in preset duration the operational order not receiving user side triggering, interface is searched unit 031 and is searched the operation interface store list set up in advance, and according to the time sequencing that each operation interface creates, the penultimate actions interface created before this operation interface of recognition application, namely interface search unit 031 find created before this operation interface and be close to the application program operation interface of this operation interface.
Interface returns unit 032, for exiting this operation interface of described application program, and is back to described penultimate actions interface; Meanwhile, this operation interface of the described application program exited is deleted from described operation interface store list.
Searching unit 031 at interface finds above-mentioned adjacent with this operation interface and when the penultimate actions interface that this application program creates, interface returns this operation interface that unit 032 exits described application program, and be back to described penultimate actions interface, show operation interface second from the bottom.Meanwhile, interface returns unit 032 and is deleted from operation interface store list by this operation interface of the application program exited.
When the present embodiment exits this operation interface of described application program, be back to the penultimate actions interface created before described application program creates this operation interface, improve man-machine interaction.
Please refer to Fig. 9, Fig. 9 is application program operation interface extractor the 3rd embodiment high-level schematic functional block diagram of the present invention; The difference of the present embodiment and Fig. 6 embodiment is, has increased program and has exited module 04; The present embodiment exits module 04 to program and is described further, and relevant other modules involved by application program operation interface extractor of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 9, application program operation interface extractor of the present invention also comprises:
Program exits module 04, for identifying the number at remaining operation interface in described operation interface store list; When remaining operation interface number is 0 in described operation interface store list, exit described application program.
Exit at interface after module 03 exits a certain operation interface of described application program, program exits the number of remaining operation interface in the store list of module 04 identifying operation interface.
When the number that program exits remaining operation interface in the store list of module 04 identifying operation interface is not 0, whether each operation interface being continued to detect described application program in preset duration by instruction detecting module 02 receives the operational order that user side triggers, and perform follow-up respective operations by other modules according to this.
Program exit module 04 identify that in described operation interface store list, remaining operation interface number is 0 time, program exits module 04 and directly exits this application program, to save terminal resource.
The present embodiment recognizes each operation interface corresponding to application program when all exiting, directly exit this application program, compared in prior art, application program operation interface still continues to run in system background when any operational order that user side triggers not detected, the present embodiment has the beneficial effect reduced because of the Installed System Memory shared by application program operation, further, terminal resource has been saved.
Based on the specific descriptions of each embodiment of above-mentioned application program operation interface extractor, please refer to Figure 10, Figure 10 is terminal one embodiment high-level schematic functional block diagram of the present invention.As shown in Figure 10, embodiment of the present invention terminal comprises application program operation interface extractor 100.
Such as, with reference to the specific descriptions of embodiment described in Fig. 5, above-mentioned application program operation interface extractor 100 comprises monitoring module 01, instruction detecting module 02 and interface and exits module 03.
Monitoring module 01, for starting Application Monitoring thread, the running status of monitoring application program;
Monitoring module 01 starts Application Monitoring thread, state when monitoring application program runs; In the present embodiment, the running status of application program each in terminal can be divided into three major types: application program creation operation interface create in other words conj.or perhaps application program operation interface, based on application program operation interface and user side interactive operation, exit application program operation interface.
Certainly, terminal can provide " application program operation interface exits automatically " function button or functionality controls so that user side as required or oneself hobby select to open or close the function of above-mentioned " application program operation interface exits automatically ".
Instruction detecting module 02, for detecting the operational order whether each operation interface corresponding to described application program in preset duration receiving user side triggering;
After monitoring module 01 starts Application Monitoring thread, instruction detecting module 02 monitors the running status of each application program.Especially, instruction detecting module 02 monitors the state that in the application program of having opened, each operation interface is corresponding, as the application program run comprise each operation interface establishment, based on the operation interface created and user side interactive operation, exit operation interface.
Instruction detecting module 02 is detected in preset duration, whether each operation interface of described application program receives the operational order that user side triggers; Described preset duration can by terminal default setting, such as 10 minutes; Terminal also can provide choice box, selects duration voluntarily or input corresponding duration voluntarily for user side; The present embodiment does not limit the concrete set-up mode of described preset duration and concrete time span.
Module 03 is exited at interface, if for detecting in preset duration the operational order not receiving user side and trigger for one of them operation interface of described application program, then exit the described operation interface that described application program is corresponding.
When instruction detecting module 02 detects in preset duration the operational order not receiving user side triggering, this operation interface that module 03 exits described application program is automatically exited at interface.For mobile phone, the short message program in the application program that such as terminal is being run; If operation interface corresponding to current short message program is the read interface of certain short message received; in preset duration (such as 5 minutes); if instruction detecting module 02 monitors the operational order not receiving user side and trigger; then the read interface that module 03 exits the short message of current display is automatically exited at interface, to protect privacy of user.Certainly, for the audiovisual applications program that terminal is run, module 03 is exited at interface can exit corresponding operation interface automatically by adjustment preset duration, and the present embodiment does not carry out exhaustive one by one to it.
When instruction detecting module 02 detects in preset duration the operational order receiving user side triggering, operational order described in terminal response, according to described operational order, performs respective operations.
Specific descriptions about application program operation interface extractor 100 please refer to the description of above-mentioned related embodiment, do not repeat them here.
The present embodiment terminal comprises described application program operation interface extractor, by starting Application Monitoring thread, the running status of monitoring application program; And in preset duration, this operation interface of the application program of having opened if monitor does not receive the operational order that user side triggers, then exit this operation interface of described application program.In prior art, only jump to from the operation interface of described application program the interface (as desktop) or screen locking automatically that pre-set, embodiment of the present invention terminal has the beneficial effect automatically exiting application program operation interface, improve userspersonal information's security; Further, after all exiting all operations interface that application program opens, terminal exits the method for this application program automatically, further improves the security of userspersonal information; Meanwhile, decrease because of the terminal system internal memory shared by application program operation, saved terminal system resource.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), this computer software product comprises some instructions, be stored in the storer of terminal described in Figure 10, and performed by least one processor in this terminal, (can be mobile phone in order to make described terminal, computing machine, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (15)

1. application program operation interface exits a method, it is characterized in that, comprises the following steps:
According to the different running statuses of application program, the control point that each running status is corresponding is set; According to the different running statuses of described application program, corresponding described Application Monitoring thread is set,
Wherein, the running status of described application program comprises: creation operation interface, carry out mutual and exit operation interface based on operation interface and user side;
Start each described Application Monitoring thread arranged, the running status that monitoring application program is corresponding;
Whether each operation interface that in detecting preset duration, described application program is corresponding receives the operational order that user side triggers;
If one of them operation interface detecting described application program does not receive the operational order that user side triggers in preset duration, then exit this operation interface of described application program.
2. the method for claim 1, is characterized in that, the described Application Monitoring thread starting setting, and the running status of monitoring application program, comprising:
Start the monitoring thread that each application program that arranges is corresponding respectively, when the monitoring thread of one of them application program monitor this application program have operation interface to create time, start the timer that this application program is corresponding, start to carry out timing to this operation interface of establishment.
3. method as claimed in claim 2, is characterized in that, the described Application Monitoring thread starting setting, and the running status of monitoring application program, comprising:
On the described operation interface created, monitor when carrying out interactive operation with user side, described timer is reset, and start described timer and restart timing.
4. the method for claim 1, is characterized in that, the described Application Monitoring thread starting setting, and the running status of monitoring application program, comprising:
When one of them operation interface monitoring described application program exits, timer corresponding for this application program is reset, and the described timer starting this application program corresponding restarts timing.
5. the method for claim 1, is characterized in that, the described Application Monitoring thread starting setting, monitors the running status of each application program, comprising:
Start described Application Monitoring thread, when monitoring the operation interface establishment of described application program, the described operation interface created is stored in the operation interface store list set up in advance.
6. method as claimed in claim 5, is characterized in that, described in exit described application program this operation interface comprise:
Search the operation interface store list set up in advance, the penultimate actions interface created before this operation interface according to application program described in time sequencing identification;
Exit this operation interface of described application program, and be back to described penultimate actions interface; Meanwhile, this operation interface of the described application program exited is deleted from described operation interface store list.
7. method as claimed in claim 6, is characterized in that, described in exit this operation interface of described application program after also comprise:
Identify the number at remaining operation interface in described operation interface store list;
When remaining operation interface number is 0 in described operation interface store list, exit described application program.
8. an application program operation interface extractor, is characterized in that, comprising:
Monitoring module, for starting the Application Monitoring thread of setting, the running status of monitoring application program;
Instruction detecting module, for detecting the operational order whether each operation interface corresponding to described application program in preset duration receiving user side triggering;
Module is exited at interface, if one of them operation interface for detecting described application program does not receive the operational order that user side triggers in preset duration, then exits this operation interface of described application program;
Thread arranges module, for the different running statuses according to application program, arranges the control point that each running status is corresponding; According to the different running statuses of described application program, corresponding described Application Monitoring thread is set;
Wherein, the running status of described application program comprises: creation operation interface, carry out mutual and exit operation interface based on operation interface and user side.
9. device as claimed in claim 8, it is characterized in that, described monitoring module comprises:
Interface creating unit, for the monitoring thread that each described application program starting setting is corresponding respectively, when the monitoring thread of one of them application program monitor described application program have operation interface to create time, start the timer that this application program is corresponding, start to carry out timing to the operation interface of this establishment.
10. device as claimed in claim 9, it is characterized in that, described monitoring module also comprises:
Interface alternation unit, for the described operation interface created, monitors when carrying out interactive operation with user side, is reset by described timer, and starts described timer and restart timing.
11. devices as claimed in claim 8, it is characterized in that, described monitoring module also comprises:
Unit is exited at interface, during for exiting at one of them operation interface monitoring described application program, reset by timer corresponding for this application program, and the described timer starting this application program corresponding restarts timing.
12. devices as claimed in claim 8, is characterized in that, described monitoring module also for:
Start described Application Monitoring thread, when monitoring the operation interface establishment of described application program, the described operation interface created is stored in the operation interface store list set up in advance.
13. devices as claimed in claim 12, it is characterized in that, described interface is exited module and is comprised:
Unit is searched at interface, for searching the operation interface store list set up in advance, and the penultimate actions interface created before this operation interface according to application program described in time sequencing identification;
Interface returns unit, for exiting this operation interface of described application program, and is back to described penultimate actions interface; Meanwhile, this operation interface of the described application program exited is deleted from described operation interface store list.
14. devices as claimed in claim 13, is characterized in that, also comprise:
Program exits module, for identifying the number at remaining operation interface in described operation interface store list; When remaining operation interface number is 0 in described operation interface store list, exit described application program.
15. 1 kinds of terminals, is characterized in that, comprise the application program operation interface extractor described in any one of claim 8-14.
CN201310303885.8A 2013-07-18 2013-07-18 Application program operation interface exits method, device and terminal Active CN103390127B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310303885.8A CN103390127B (en) 2013-07-18 2013-07-18 Application program operation interface exits method, device and terminal
PCT/CN2014/082380 WO2015007220A1 (en) 2013-07-18 2014-07-17 Method, device, and terminal for exiting operating interface of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310303885.8A CN103390127B (en) 2013-07-18 2013-07-18 Application program operation interface exits method, device and terminal

Publications (2)

Publication Number Publication Date
CN103390127A CN103390127A (en) 2013-11-13
CN103390127B true CN103390127B (en) 2016-03-02

Family

ID=49534396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310303885.8A Active CN103390127B (en) 2013-07-18 2013-07-18 Application program operation interface exits method, device and terminal

Country Status (2)

Country Link
CN (1) CN103390127B (en)
WO (1) WO2015007220A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390127B (en) * 2013-07-18 2016-03-02 腾讯科技(深圳)有限公司 Application program operation interface exits method, device and terminal
CN104125267A (en) * 2014-06-25 2014-10-29 小米科技有限责任公司 Account protection method, device and terminal equipment
CN105094844B (en) * 2015-08-21 2018-05-29 广东欧珀移动通信有限公司 A kind of electron album management method and mobile terminal
CN106778124A (en) * 2016-11-25 2017-05-31 宇龙计算机通信科技(深圳)有限公司 The application method and device of a kind of hiden application
CN106844023A (en) * 2016-12-26 2017-06-13 努比亚技术有限公司 The implicit operating method and mobile terminal of a kind of application program
CN107273157A (en) * 2017-06-05 2017-10-20 广东欧珀移动通信有限公司 Application control method and related product
US20190251884A1 (en) * 2018-02-14 2019-08-15 Microsoft Technology Licensing, Llc Shared content display with concurrent views
CN111381943B (en) * 2018-12-29 2024-03-12 深圳Tcl数字技术有限公司 Application program flash-back processing method, intelligent terminal and storage medium
CN110488619B (en) * 2019-07-29 2023-04-07 维达力实业(深圳)有限公司 Information interaction system of household appliance and control method and device of household appliance
CN112181731A (en) * 2020-10-26 2021-01-05 江苏特思达电子科技股份有限公司 Keep-alive method and device for application program and computer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1666250A (en) * 2002-06-27 2005-09-07 皇家飞利浦电子股份有限公司 Active window switcher and method thereof
CN102801649A (en) * 2012-08-11 2012-11-28 上海量明科技发展有限公司 Method and terminal for establishing shortcut of instant messaging interactive interface

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150541A (en) * 2007-11-07 2008-03-26 北京亿企通信息技术有限公司 A login method in instant communication tool
CN102662839B (en) * 2012-03-29 2015-02-18 北京奇虎科技有限公司 Testing method and device for software interface state change time
CN103067578B (en) * 2012-12-24 2015-12-23 惠州Tcl移动通信有限公司 A kind of intelligent screen lock function realizing method based on mobile terminal and mobile terminal
CN103390127B (en) * 2013-07-18 2016-03-02 腾讯科技(深圳)有限公司 Application program operation interface exits method, device and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1666250A (en) * 2002-06-27 2005-09-07 皇家飞利浦电子股份有限公司 Active window switcher and method thereof
CN102801649A (en) * 2012-08-11 2012-11-28 上海量明科技发展有限公司 Method and terminal for establishing shortcut of instant messaging interactive interface

Also Published As

Publication number Publication date
CN103390127A (en) 2013-11-13
WO2015007220A1 (en) 2015-01-22

Similar Documents

Publication Publication Date Title
CN103390127B (en) Application program operation interface exits method, device and terminal
CN108804299B (en) Application program exception handling method and device
CN105260273B (en) A kind of test method and device of intelligent electronic device
CN106201574B (en) Application interface starting method and device
CN103941871A (en) Method and equipment for controlling hardware operating state of intelligent terminal
CN103902359A (en) Android based system memory optimizing and application scheduling method and system
CN112054822B (en) Bluetooth test method and device, electronic equipment and storage medium
CN103096385A (en) Method and device and terminal of flow control
CN113792341B (en) Automatic detection method, device, equipment and medium for privacy compliance of application program
CN105677533B (en) Application process monitoring method and application process monitoring device
CN111130867B (en) Intelligent household equipment alarm method and device based on Internet of things
CN111580445A (en) Electrical equipment operation switching method and device, electronic equipment and storage medium
CN108595195B (en) Application program updating method, device, terminal and storage medium
CN106921733B (en) Cluster notification pushing method and device and electronic equipment
CN106204031B (en) Card application processing method and device
CN104834553A (en) Service concurrent processing method for user terminal and user terminal
CN112181570A (en) Background task display method and device and electronic equipment
WO2015021827A1 (en) Method,device and system for offline reconnection of a web application
CN109491771B (en) Task processing method based on system performance optimization and related equipment
CN106814835A (en) A kind of over-current protection method, device and electronic equipment
CN108650251B (en) Display processing method and device for network security comprehensive situation awareness data
US9619045B1 (en) User input source identification based on delayed input
CN115617518A (en) Thread management method and device, electronic equipment and storage medium
CN109901692A (en) Execution method, apparatus, terminal and the storage medium of target application
CN115942283A (en) Switching system, method, device and medium for controlling starting of equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant