CN105242964A - Application operation monitoring method and system - Google Patents
Application operation monitoring method and system Download PDFInfo
- Publication number
- CN105242964A CN105242964A CN201510570600.6A CN201510570600A CN105242964A CN 105242964 A CN105242964 A CN 105242964A CN 201510570600 A CN201510570600 A CN 201510570600A CN 105242964 A CN105242964 A CN 105242964A
- Authority
- CN
- China
- Prior art keywords
- application
- priority
- apply
- running background
- remained
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000012544 monitoring process Methods 0.000 title claims abstract description 24
- 230000002452 interceptive effect Effects 0.000 abstract 1
- 230000000903 blocking effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The present invention provides an application operation monitoring method and system. The method comprises: acquiring a priority of each first application or each second application; when the first application is being running and the second application is started, ending the operation of the second application or holding the second application to run in the background according to the priority of the second application, thereby being capable of not interfering the operation of the first application, improving user experience, preventing an application which is being used from being interrupted due to startup of other applications when a user uses the application, and being capable of saving running resources of an Android system and solving the problem that the system gets stuck in run time.
Description
Technical field
The present invention relates to a kind of application operation and monitoring method and system.
Background technology
Compare IOS and wp system, Android (Android) system running background mechanism adopt be true backstage, in simple terms, when the application program of android system is switched to running background, be in time-out, but remain the running status of program, in this case the static variable of application, IO stream etc. can be retained, so that the fast quick-recovery of application program, even if problem is that application is switched to running background, this can take the certain internal memory of system equally and program runs resource.Such as, the mobile phone of Android (Android) system is arranged---can see in application except (setting) is set, each application all needs to serve (Service), service is just used to (work that service can also be used to do " foreground " is avoided blocking main thread) of running background, when application program is switched to backstage and is not closed, Service will run down always.Therefore, there are how many backstage multitasks to be exactly how many program running backgrounds, just have how many corresponding program at run time version, take more system cloud gray model resource, one of reason of relatively blocking when this is also android system operation.
Summary of the invention
The object of the present invention is to provide a kind of application operation and monitoring method and system, the operation resource of Android system can be saved, solve the problem of relatively blocking when running.
For solving the problem, the invention provides a kind of application operation and monitoring method, comprising:
Obtain the priority of each first or second application;
When first applies just operationally, there is again the second application start, terminate the operation of described second application according to the priority height of described second application or described second application is remained into running background.
Further, in the above-mentioned methods, the prompting message of described second application is shown while terminating the operation of described second application.
Further, in the above-mentioned methods, the prompting message of described second application is shown while described second application being remained into running background.
Further, in the above-mentioned methods, terminate the operation of described second application according to the priority height of described second application or described second application remained into running background, comprising:
When the priority of described second application is higher, described second application is remained into running background;
When the priority of described second application is lower, terminate the operation of described second application.
Further, in the above-mentioned methods, described second application priority higher be described second application priority higher than the first predetermined threshold value, described second application priority lower is described second apply priority lower than the second predetermined threshold value.
Further, in the above-mentioned methods, the priority of described second application is higher is the priority of the described second priority applied higher than described first application, and the priority of described second application is lower is the priority of the described second priority applied lower than described first application.
According to another side of the present invention, a kind of application operation monitoring system is provided, comprises:
Acquisition module, for obtaining the priority of each first or second application;
Judge module, for working as the first application just operationally, has again the second application start, terminates the described second operation of applying or apply described second to remain into running background according to the priority height of described second application.
Further, in said system, described judge module, also shows the described second prompting message applied while terminating the described second operation of applying.
Further, in said system, described judge module, also shows the described second prompting message applied while described second application is remained into running background.
Further, in said system, described judge module, for when the priority of described second application is higher, remains into running background by described second application; When the priority of described second application is lower, terminate the operation of described second application.
Further, in said system, described second application priority higher be described second application priority higher than the first predetermined threshold value, described second application priority lower is described second apply priority lower than the second predetermined threshold value.
Further, in said system, the priority of described second application is higher is the priority of the described second priority applied higher than described first application, and the priority of described second application is lower is the priority of the described second priority applied lower than described first application.
Compared with prior art, the present invention is by obtaining the priority of each first or second application, when first applies just operationally, there is again the second application start, terminate the operation of described second application according to the priority height of described second application or described second application is remained into running background, the operation of the first application can not be disturbed, improve user's experience, prevent user when using certain application, the application used is interrupted because of the startup of other application, and the operation resource of Android system can be saved, solve the problem of relatively blocking when running.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the application operation and monitoring method of one embodiment of the invention;
Fig. 2 is the schematic diagram of the application operation and monitoring method of one embodiment of the invention;
Fig. 3 is the module map of the application operation monitoring system of one embodiment of the invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment one
As shown in Figure 1, the invention provides a kind of application operation and monitoring method, comprising:
Step S1, obtains the priority of each first or second application; At this, the priority of the first or second application can be arranged voluntarily by user or automatically carry out default configuration, and such as user can the priority height of the application such as sets itself phone, information; Step S2, when first applies just operationally, has again the second application start, terminates the operation of described second application or described second application is remained into running background according to the priority height of described second application.At this, in order to different application is distinguished, all application of Android system are divided into two classes, a kind of is the application run, be called the first application, another kind is the application started in described first application runs, be called the second application, the relative concept just within certain time period is applied in described first application and second, after entering the next time period, second application then may become and running the first application, is activated again and becomes the second application after the first application then may terminate to run.The present embodiment can not disturb the operation of the first application, improve user's experience, preventing user when using certain application, interrupting the application used because of the startup of other application, and the operation resource of Android system can be saved, solve the problem of relatively blocking when running.
Preferably, the prompting message of described second application is shown while terminating the operation of described second application, be convenient to that user is follow-up checks which second is applied in the operational process of the first application and started when needed, and therefrom select the second application of needing to restart.
Preferably, the prompting message of described second application is shown while described second application is remained into running background, be convenient to that user is follow-up checks which second is applied in the operational process of the first application also at running background when needed, and therefrom second of the operation of switching needs be applied to foreground fast, such as, user using mobile phone see a film (first application) time, the application (the second application) of now sending a telegram here starts, user is because impact is seen a film, do not think incoming call answering, logical incoming call can be become mute state and at running background, if the other side terminates call, the message of missed call information can be shown in informing, this is different again with blacklist function, as long as blacklist is in the user of this function, the all incoming calls of this user all cannot be connected.
Preferably, step S2, terminates the operation of described second application according to the priority height of described second application or described second application is remained into running background, comprising:
When the priority of described second application is higher, described second application is remained into running background;
When the priority of described second application is lower, terminate the operation of described second application.Such as, as shown in Figure 2, when after the priority (step S21) that setting first and second is applied, user is when certain first application using mobile phone, there is again the second application start (step S22), now, if user does not want to be bothered by other application, first can judge the priority level of task, allow after the high application of these grades is first retained in backstage (step S23), application that grade is low directly ends task at informing display notice (step S24).
Preferably, described second application priority higher be described second application priority higher than the first predetermined threshold value, described second application priority lower is described second apply priority lower than the second predetermined threshold value.At this, by first predetermined threshold value and second predetermined threshold value of setting, the priority can unifying judgement second application according to these two threshold values is higher or lower, described first predetermined threshold value can higher than the mean value of the priority of all first and second application, described second predetermined threshold value can lower than the mean value of the priority of all first and second application, as long as the priority of the second application is higher than the first predetermined threshold value, then described second application is remained into running background, as long as the priority of the second application is lower than the second predetermined threshold value, then terminate the operation of described second application, thus improve the efficiency judged.
Preferably, the priority of described second application is higher is the priority of the described second priority applied higher than described first application, and the priority of described second application is lower is the priority of the described second priority applied lower than described first application.At this, second priority applied and the first priority applied are compared, with the priority of the first application for standard, remains into running background higher than then applying described second of its, lower than its operation then terminating described second application, thus judge more targetedly.
Embodiment two
As shown in Figure 3, the present invention also provides another kind of application operation monitoring system, comprising:
Acquisition module 1, for obtaining the priority of each first or second application;
Judge module 2, for working as the first application just operationally, has again the second application start, terminates the described second operation of applying or apply described second to remain into running background according to the priority height of described second application.
Preferably, described judge module 2, also shows the described second prompting message applied while terminating the described second operation of applying.
Preferably, described judge module 2, also shows the described second prompting message applied while described second application is remained into running background.
Preferably, described judge module 2, for when the priority of described second application is higher, remains into running background by described second application; When the priority of described second application is lower, terminate the operation of described second application.
Preferably, described second application priority higher be described second application priority higher than the first predetermined threshold value, described second application priority lower is described second apply priority lower than the second predetermined threshold value.
Preferably, the priority of described second application is higher is the priority of the described second priority applied higher than described first application, and the priority of described second application is lower is the priority of the described second priority applied lower than described first application.
Other detailed content of embodiment two specifically see the corresponding part of embodiment one, can not repeat them here.
In sum, the present invention is by obtaining the priority of each first or second application, when first applies just operationally, there is again the second application start, terminate the operation of described second application according to the priority height of described second application or described second application is remained into running background, the operation of the first application can not be disturbed, improve user's experience, prevent user when using certain application, the application used is interrupted because of the startup of other application, and the operation resource of Android system can be saved, solve the problem of relatively blocking when running.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various change and modification to invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (12)
1. apply an operation and monitoring method, it is characterized in that, comprising:
Obtain the priority of each first or second application;
When first applies just operationally, there is again the second application start, terminate the operation of described second application according to the priority height of described second application or described second application is remained into running background.
2. apply operation and monitoring method as claimed in claim 1, it is characterized in that, while terminating the operation of described second application, show the prompting message of described second application.
3. apply operation and monitoring method as claimed in claim 1, it is characterized in that, while described second application is remained into running background, show the prompting message of described second application.
4. the application operation and monitoring method as described in any one of claims 1 to 3, is characterized in that, terminates the operation of described second application or described second application is remained into running background, comprising according to the priority height of described second application:
When the priority of described second application is higher, described second application is remained into running background;
When the priority of described second application is lower, terminate the operation of described second application.
5. apply operation and monitoring method as claimed in claim 4, it is characterized in that, described second application priority higher be described second application priority higher than the first predetermined threshold value, described second application priority lower is described second apply priority lower than the second predetermined threshold value.
6. apply operation and monitoring method as claimed in claim 4, it is characterized in that, the priority of described second application is higher is the priority of the described second priority applied higher than described first application, and the priority of described second application is lower is the priority of the described second priority applied lower than described first application.
7. apply an operation monitoring system, it is characterized in that, comprising:
Acquisition module, for obtaining the priority of each first or second application;
Judge module, for working as the first application just operationally, has again the second application start, terminates the described second operation of applying or apply described second to remain into running background according to the priority height of described second application.
8. apply operation monitoring system as claimed in claim 7, it is characterized in that, described judge module, also while terminating the described second operation of applying, show the described second prompting message applied.
9. apply operation monitoring system as claimed in claim 7, it is characterized in that, described judge module, also while described second application is remained into running background, show the described second prompting message applied.
10. the application operation monitoring system as described in any one of claim 7 to 9, is characterized in that, described judge module, for when the priority of described second application is higher, described second application is remained into running background; When the priority of described second application is lower, terminate the operation of described second application.
11. apply operation monitoring system as claimed in claim 10, it is characterized in that, described second application priority higher be described second application priority higher than the first predetermined threshold value, described second application priority lower is described second apply priority lower than the second predetermined threshold value.
12. apply operation monitoring system as claimed in claim 10, it is characterized in that, the priority of described second application is higher is the priority of the described second priority applied higher than described first application, and the priority of described second application is lower is the priority of the described second priority applied lower than described first application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570600.6A CN105242964A (en) | 2015-09-09 | 2015-09-09 | Application operation monitoring method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570600.6A CN105242964A (en) | 2015-09-09 | 2015-09-09 | Application operation monitoring method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105242964A true CN105242964A (en) | 2016-01-13 |
Family
ID=55040618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510570600.6A Pending CN105242964A (en) | 2015-09-09 | 2015-09-09 | Application operation monitoring method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105242964A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744504A (en) * | 2016-03-31 | 2016-07-06 | 中国联合网络通信集团有限公司 | Communication method of terminal and card applications and terminal |
CN107092524A (en) * | 2017-05-11 | 2017-08-25 | 北京奇虎科技有限公司 | Method, device and the terminal device of process initiation |
CN107391240A (en) * | 2017-06-20 | 2017-11-24 | 北京小鸟看看科技有限公司 | The switching method and device of application, terminal |
CN107707768A (en) * | 2017-10-27 | 2018-02-16 | 广东欧珀移动通信有限公司 | The processing method and Related product of running game application |
CN108052258A (en) * | 2017-12-28 | 2018-05-18 | 维沃移动通信有限公司 | A terminal task processing method, task processing device and mobile terminal |
-
2015
- 2015-09-09 CN CN201510570600.6A patent/CN105242964A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744504A (en) * | 2016-03-31 | 2016-07-06 | 中国联合网络通信集团有限公司 | Communication method of terminal and card applications and terminal |
CN107092524A (en) * | 2017-05-11 | 2017-08-25 | 北京奇虎科技有限公司 | Method, device and the terminal device of process initiation |
CN107391240A (en) * | 2017-06-20 | 2017-11-24 | 北京小鸟看看科技有限公司 | The switching method and device of application, terminal |
CN107707768A (en) * | 2017-10-27 | 2018-02-16 | 广东欧珀移动通信有限公司 | The processing method and Related product of running game application |
CN108052258A (en) * | 2017-12-28 | 2018-05-18 | 维沃移动通信有限公司 | A terminal task processing method, task processing device and mobile terminal |
CN108052258B (en) * | 2017-12-28 | 2020-02-11 | 维沃移动通信有限公司 | Terminal task processing method, task processing device and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105242964A (en) | Application operation monitoring method and system | |
CN102298532B (en) | Startup-item-based management method and device | |
KR102191174B1 (en) | Method and apparatus for setting up/releasing radio resource control connection between evolved node b base station and user equipment in communication system | |
CN103401991B (en) | A kind of method and apparatus that the communication event of terminal unit is pointed out | |
CN105260319A (en) | Cleaning method and cleaning system for mobile terminal | |
CN104503828B (en) | A kind of process management method and terminal | |
US20190306851A1 (en) | Operation mode switching method and user equipment | |
EP2738601A1 (en) | Photographing processing method and terminal device | |
CN106528282A (en) | Method, device and terminal for closing process | |
CN108156312B (en) | Method, terminal and storage device for controlling SIM card function menu display | |
CN103002163B (en) | A kind of mobile terminal background program control method and mobile terminal | |
US20180253313A1 (en) | Operation instruction response control method and terminal for human-machine interface | |
CN111866071A (en) | Data uploading method and device of business application, electronic equipment and storage medium | |
CN108334345A (en) | Applied program processing method, device, readable storage medium storing program for executing and mobile terminal | |
CN103092663A (en) | A method and device for installing an application program in a terminal | |
CN105893021A (en) | Method and device for switching brightness mode | |
JP6254303B2 (en) | User identification module protocol switching | |
CN105095045A (en) | Method and system for monitoring background service of Android system | |
CN104601786A (en) | Method for controlling information reminder light of terminal, and terminal | |
US20170123615A1 (en) | Method and electronic device for prohibiting notifications in application window | |
CN112333849A (en) | Equipment connection disconnection processing method and device, mobile terminal and storage medium | |
CN106686671A (en) | Network connection processing method and terminal | |
US20150063185A1 (en) | Mobile device and method for controlling fast dormancy function of mobile device | |
CN103647879A (en) | Method for displaying application content the terminal thereof | |
WO2016177219A1 (en) | Method and apparatus for detecting power consumption abnormality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160113 |