CN106648861A - Method and device for keeping background service process activated - Google Patents

Method and device for keeping background service process activated Download PDF

Info

Publication number
CN106648861A
CN106648861A CN201611108110.5A CN201611108110A CN106648861A CN 106648861 A CN106648861 A CN 106648861A CN 201611108110 A CN201611108110 A CN 201611108110A CN 106648861 A CN106648861 A CN 106648861A
Authority
CN
China
Prior art keywords
service process
foreground
transient
backstage
resident
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
CN201611108110.5A
Other languages
Chinese (zh)
Other versions
CN106648861B (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Youshi Network 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 Guangzhou Youshi Network Technology Co Ltd filed Critical Guangzhou Youshi Network Technology Co Ltd
Priority to CN201611108110.5A priority Critical patent/CN106648861B/en
Publication of CN106648861A publication Critical patent/CN106648861A/en
Application granted granted Critical
Publication of CN106648861B publication Critical patent/CN106648861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and device for keeping a background service process activated. The method comprises following steps: obtaining a foreground temporary service process which is obtained by configuration of a background temporary service process; and the foreground temporary service process and a foreground permanent service process are bound in one notification; the foreground permanent service process is obtained from configuration of a background permanent service process; the notification is used for prompting that the foreground temporary service process and the foreground permanent service process are running; the priority of the foreground permanent service process is higher than that of the background permanent service process; the foreground temporary service process is stopped; the notification bound with the foreground temporary service process is removed so as to keep the background service processes activated. The method and device of the invention solves the problem in the related technology that a foreground service process is individually bound to a notification and the removal of the notification will cancel the foreground service process bound with the notification so that the background service process corresponding to the foreground service process will inevitably be killed.

Description

The keepalive method and device of background service process
Technical field
The present invention relates to computer realm, in particular to the keepalive method and device of a kind of background service process.
Background technology
Analysis finds that background service process is low due to priority, is easily killed by system or third party software, thus easily Accidental interruption is restarted, and process accidental interruption or is restarted, and can cause harmful effect to business such as data-pushing or downloads.
Analysis also finds that easily killed main cause has 2 to background service process, respectively:(1) background service enters The priority of journey is low, and using the system of object-oriented method (Object-Oriented Method, referred to as OOM) mechanism (such as android system), the low process of priority can be automatically killed when internal memory is critical, and ensured with vacateing enough spaces excellent The high process of first level is normally run;(2) user, especially Android user, can consciously clear up background application mostly (i.e. background service process), and can provide easily backstage system (such as android system) or third party's cleaning software Using a key clearing function.
For farthest keep-alive background service process, at present, the popular application of some major companies generally adopts following 2 Plant way:(1) after process is killed, restarted using independent finger daemon and entered journey, or adjusted using third party software Journey is entered, or journey is entered using the wake-up such as system alarm clock, static broadcast;(2) due to the priority of foreground service processes Higher than the priority of background service process, thus sightless background service process is set into visible foreground service processes, To improve the priority of process, so as to anti-locking system or third party software kill too early process, to realize that background service process is protected Purpose living.
Wherein, for method (1), the after death simply many chances being activated again of process can not substantially reach guarantor Purpose living;For method (2), although keep-alive purpose can be admirably achieved, but when foreground service processes are arranged, system API necessarily may require that foreground service processes binding informing is notified at one.For the notice, on the one hand, Yong Huwu Method directly removes this notice, and this can cause most of user to dislike;On the other hand, user is by using hands such as third party softwares When section removes the notice, foreground service processes will necessarily be cancelled, cancel foreground service processes and be equal to kill corresponding backstage Service processes.
For the problems referred to above, effective solution is not yet proposed at present.
The content of the invention
The keepalive method and device of a kind of background service process are embodiments provided, at least to solve correlation technique It is middle by foreground service processes be individually bundled in one notify on, cause remove the notice will necessarily cancel therewith have binding relationship Foreground service processes, and then cause background service process corresponding with the foreground service processes will necessarily killed technology ask Topic.
A kind of one side according to embodiments of the present invention, there is provided keepalive method of background service process, including:Obtain Foreground transient service process, wherein, above-mentioned foreground transient service process is obtained by backstage transient service process configuration, and on State foreground transient service process and foreground resident service process and be bundled in one and notify, above-mentioned foreground resident service process be by What backstage resident service process configuration was obtained, above-mentioned notice is used to point out above-mentioned foreground transient service process and above-mentioned foreground resident Service processes are just in front stage operation, and the priority of above-mentioned foreground resident service process is excellent higher than above-mentioned backstage resident service process First level;Close above-mentioned foreground transient service process;The above-mentioned notice that removing binds together with above-mentioned foreground transient service process.
Another aspect according to embodiments of the present invention, additionally provides a kind of keep-alive device of background service process, including:Obtain Unit is taken, for obtaining foreground transient service process, wherein, above-mentioned foreground transient service process is by backstage transient service process Configure what is obtained, and above-mentioned foreground transient service process is bundled in one and notifies with foreground resident service process, above-mentioned foreground Resident service process is obtained by backstage resident service process configuration, and above-mentioned notice is used to point out above-mentioned foreground transient service to enter , just in front stage operation, the priority of above-mentioned foreground resident service process is higher than above-mentioned backstage for journey and above-mentioned foreground resident service process The priority of resident service process;First closing unit, for closing above-mentioned foreground transient service process;Clearing cell, is used for The above-mentioned notice that removing binds together with above-mentioned foreground transient service process.
In embodiments of the present invention, adopt and the two foreground service processes for obtaining are respectively configured by two background service processes The mode being bundled in same notice, by obtaining foreground transient service process, wherein, foreground transient service process is by rear The configuration of platform transient service process is obtained, and foreground transient service process is bundled in a notice with foreground resident service process On, foreground resident service process is obtained by backstage resident service process configuration, is notified for pointing out foreground transient service to enter , just in front stage operation, the priority of foreground resident service process is higher than backstage resident service process for journey and foreground resident service process Priority;Close foreground transient service process;The notice bound together with foreground transient service process is removed, after keep-alive Platform service processes, due to closing transient service process after system can remove bind together therewith logical from informing automatically Know, and after notifying to be cancelled, user is just difficult to discover the resident service process with high priority in front stage operation, only further Ground, user be detectable resident service process be currently running would not active killing this (or these) process, thus reach Sacrifice transient service process with prevent user's active killing just with high priority the resident service process of front stage operation mesh , it is achieved thereby that keep-alive just with high priority in the technique effect of the resident service process of front stage operation, and then solve phase In the technology of pass by foreground service processes be individually bundled in one notify on, cause remove the notice will necessarily cancel therewith have tie up Determine the foreground service processes of relation, and then cause the background service process corresponding with the foreground service processes will necessarily be killed Technical problem.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware configuration frame of the terminal of the keepalive method of background service process of the embodiment of the present invention Figure;
Fig. 2 is the flow chart of the keepalive method of a kind of optional background service process according to embodiments of the present invention;
Fig. 3 is the logic relation picture of a kind of optional AM/BAM service processes according to embodiments of the present invention;
Fig. 4 is the schematic diagram of the keep-alive device of a kind of optional background service process according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. the object for distinguishing similar, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating here or Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, and for example, process, method, system, product or the equipment for containing series of steps or unit is not necessarily limited to Those steps clearly listed or unit, but may include clearly not list or for these processes, method, product Or intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the keepalive method of background service process is additionally provided, explanation is needed , can hold in the such as computer system of one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated OK, and, although show logical order in flow charts, but in some cases, can be with different from order herein Perform shown or described step.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune Calculate in device and perform.As a example by running on computer terminals, Fig. 1 is a kind of guarantor of background service process of the embodiment of the present invention The hardware block diagram of the terminal of activating method.As shown in figure 1, terminal 10 can include one or more (figures In only illustrate one) (processor 102 can include but is not limited to Micro-processor MCV or PLD to processor 102 The processing meanss of FPGA etc.), the memory 104 for data storage and the transport module 106 for communication function.Ability Domain those of ordinary skill is appreciated that the structure shown in Fig. 1 is only illustrated, and it does not cause limit to the structure of above-mentioned electronic installation It is fixed.For example, terminal 10 may also include more more than shown in Fig. 1 or less components, or with shown in Fig. 1 not Same configuration.
Memory 104 can be used to store the software program and module of application software, the such as backstage in the embodiment of the present invention Corresponding programmed instruction/the module of keepalive method of service processes, processor 102 is stored in soft in memory 104 by operation Part program and module, so as to perform various function application and data processing, that is, realize the leak inspection of above-mentioned application program Survey method.Memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can be further included Relative to the remotely located memory of processor 102, these remote memories can be by network connection to terminal 10. The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 10 are provided.In an example, transmitting device 106 includes that a network is fitted Orchestration (Network Interface Controller, NIC), it can be connected so as to can be with by base station with other network equipments Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, its For wirelessly being communicated with internet.
Under above-mentioned running environment, this application provides the keepalive method of background service process as shown in Figure 2.Fig. 2 is The flow chart of the keepalive method of a kind of optional background service process according to embodiments of the present invention, as shown in Fig. 2 the method bag Include following steps:
Step S202, obtains foreground transient service process, wherein, foreground transient service process is entered by backstage transient service Journey configuration is obtained, and is bundled in a notice with foreground resident service process, and foreground resident service process is normal by backstage What configuration in service processes was obtained, notify for pointing out foreground transient service process and foreground resident service process just to transport on foreground OK, priority of the priority of foreground resident service process higher than backstage resident service process;
Step S204, closes foreground transient service process;
Step S206, removes the notice bound together with foreground transient service process, with keep-alive background service process.
That is, the transient service process and resident service process that operate in backstage are configured to before corresponding operating in respectively The transient service process and resident service process of platform, and the transient service process and resident service process binding on foreground will be operated in One be used for point out user have which just front stage operation service processes notice, so, if cancel transient service The front stage operation state of process, system will remove the notice for binding together therewith from informing automatically, in such case Under, due to having been cleared by with the notice of foreground resident service process binding, thus user is difficult to aware system actually just In operation foreground resident service process (i.e. resident service process in foreground also lives), so as to will not the resident clothes in the active killing foreground Business process, corresponding backstage resident service process also will not be fallen by killing, that is, close foreground transient service process and remove correspondence Notice, resident service will not be affected, can normally run on foreground, not only maintain resident service process The high priority of front stage operation state, and because the notice bound therewith is closed for these reasons, now user is difficult Also in front stage operation with discovering resident service, thus typically will not actively clear up this or these resident service, on the one hand, after Platform service processes are configured to priority after the service processes of foreground and improve, on the other hand, for pointing out the background service process The notice run with foreground running status is also removed by transient service process, thus user will not discover and actively remove The background service process, has reached the life-span i.e. technique effect of keep-alive background service process for extending background service process.
It should be noted that in embodiments of the present invention, it is right in the following manner can be configured to background service process The foreground service processes configuration answered:It is configured to so that backstage transient service process is configured into corresponding foreground transient service process Example, during enforcement, can first state and start backstage transient service process, recall system API " startForegruond " to incite somebody to action Backstage transient service process is set to foreground transient service process;It is normal so that backstage resident service process is configured into corresponding foreground As a example by configuration in service processes, during enforcement, can first start backstage resident service process, recall system API " startForegruond " by backstage resident service process being set to foreground resident service process.Wherein, AM/BAM service into The logical relation of journey is as shown in Figure 3.Because foreground transient service process and foreground resident service process are all bundled in a notice On, so, by closing foreground transient service process come clear above-mentioned notice, user be difficult to discovery system be currently running it is above-mentioned " foreground resident service process ", thus will not active killing " foreground resident service process ", so as to reached by foreground it is interim Service processes understand corresponding notice with the purpose of keep-alive foreground resident service process.
In embodiments of the present invention, adopt and the two foreground service processes for obtaining are respectively configured by two background service processes The mode being bundled in same notice, by obtaining foreground transient service process, wherein, foreground transient service process is by rear The configuration of platform transient service process is obtained, and is bundled in a notice with foreground resident service process, and foreground resident service enters Journey is obtained by backstage resident service process configuration, is notified for pointing out foreground transient service process and foreground resident service to enter Just in front stage operation, the priority of foreground resident service process is higher than the priority of backstage resident service process to journey;Close foreground Transient service process;The notice bound together with foreground transient service process is removed, with keep-alive background service process, due to closing Closing system after transient service process can remove the notice for binding together therewith from informing automatically, and notify to be cancelled it Afterwards, user is just difficult to discover the resident service process with high priority in front stage operation, and only further, user has been detectable Resident service process be currently running would not active killing this (or these) process, thus reached sacrifice transient service process With prevent user's active killing just with high priority the resident service process of front stage operation purpose, it is achieved thereby that keep-alive is just With high priority the resident service process of front stage operation technique effect, and then solve in correlation technique by foreground service into Journey be individually bundled in one notify on, cause remove the notice will necessarily cancel therewith with binding relationship foreground service into Journey, and then cause the background service process corresponding with the foreground service processes will necessarily killed technical problem.
Alternatively, before foreground transient service process is obtained, said method also includes:
S2, starts backstage resident service process and configures foreground resident service process according to backstage resident service process, with And foreground resident service process is bundled in notice;
S4, starts backstage transient service process and configures foreground transient service process according to backstage transient service process, with And foreground transient service process is also bundled in notice.
For example, backstage resident service process A of PP assistant is started, and it is normal that the backstage resident service process is set into foreground In service processes, and the foreground resident service process is bundled on notice C, while starting transient service process B, this faces When service processes B be background process, in order to farthest ensure that platform resident service process A is survived, enter transient service is started After journey B, it is also desirable to be set to foreground service processes, i.e. foreground transient service process, while also by the foreground transient service Process is bundled in above-mentioned notice C, and the front stage operation state of transient service process B is cancelled immediately, that is, cancel foreground transient service Process.Because foreground transient service process is bundled on notice C, and cancel after the transient service process of foreground, Android system can be Automatically by the removing of above-mentioned notice C in informing.Because whole process is Millisecond, user does not also see foreground in step S204 Notice C of resident service process A and foreground transient service process B shows in informing, notifies C just by step Operation in S206 is removed.Therefore, the embodiment of the present invention passes through this defect for dexterously utilizing system code logic, simply And silently form user's unaware and but have a resident service of front stage operation state, the service make process belonging to it into For the visible process in foreground, priority is improve, it is to avoid system is killed too early, so as to reach maximum keep-alive effect Really.
Alternatively, upon actuation before platform transient service process, said method also includes:
S6, defines an empty service processes;
S8, the empty service processes of statement are backstage transient service process.
For example, first backstage resident service process A is set into foreground service processes and binds notice C, then stated and start One backstage transient service process B, and backstage transient service process B is also configured as into foreground service processes and notice C is bound, Such 2 foreground service processes are just bundled in same notice, then call service to close function API " stopService " closes backstage transient service process B to cancel the front stage operation state of backstage transient service process B, Now, Android system can simultaneously dispose notice C bound together with backstage transient service B in informing, but above-mentioned Operation does not interfere with the normal operation of backstage resident service process A, and still can keep backstage resident service process A The high priority of foreground service, while not having the information of the process in informing, is carrying so as to reach background service Can also prevent after high priority by user based on the technique effect for notifying prompting killing, realize the purpose of keep-alive resident service.
In addition, being empty service processes by backstage transient service process definition, i.e., any essence is not provided when the process is run Operation, can simplify whole programming procedure, reduce cost consumption.
Alternatively, included according to backstage resident service process configuration foreground resident service process:Call front stage operation state Open function backstage resident service process is configured into foreground resident service process;According to backstage transient service process configuration foreground Transient service process includes:Call front stage operation state to open function backstage transient service process is configured into foreground transient service Process;Closing foreground transient service process includes:Call front stage operation state to close function, entered with closing foreground transient service Journey.
For example, backstage resident service process A is started, calling system API " startForeground " is by backstage resident service Process A is set to foreground resident service process, while foreground resident service process is bundled on notice C;After stating and starting Platform transient service process B, it is interim that backstage transient service process B is set to foreground by calling system API " startForegruond " Service processes, while foreground transient service process is also bundled on notice C, so, backstage resident service process and backstage are faced When service processes be just bundled on same notice C.Accordingly, foreground corresponding with backstage transient service process is cancelled interim During service processes, it is possible to which calling system API " stopForeground (true) " cancels the foreground of backstage transient service process B Running status, that is, cancel foreground transient service process, and now system will be removed and foreground transient service process from informing Notice C of binding.Above-mentioned technical proposal does not interfere with the normal operation of resident service, and has remained in that the resident clothes in backstage The high priority of the foreground service of business process A, while being not in any prompting of foreground resident service process in informing Information, has reached and improve in the case of mourning in silence the priority of background service with the technique effect of the keep-alive background service.
Alternatively, before being turned off platform transient service process while, said method also includes:
S10, closes backstage transient service process corresponding with foreground transient service process.
For example, backstage resident service process A is set into foreground service processes and binds notice C, restart a backstage Transient service process B, is also configured as the backstage transient service process B foreground service processes and binds notice C, before such 2 Platform service processes are just bundled in same notice, are then cancelled the front stage operation state of backstage transient service process B and are closed Backstage transient service process B is closed, now, Android system can simultaneously disposed and bound with backstage transient service B in informing Notice C together, but aforesaid operations do not interfere with the normal operation of backstage resident service process A, and still can be with The high priority of the foreground service of backstage resident service process A is kept, while the information of the process is not had in informing, So as to reach raising background service priority of mourning in silence with the technique effect of the corresponding background service of keep-alive.Wherein, it is so-called to mourn in silence Refer to and target background service is set into foreground service, it is that the visible process in foreground is taken with keep-alive target backstage to improve process priority Business, while need not associate informing carries out notice prompting, can make user's whole process unaware.
Alternatively, closing backstage transient service process corresponding with foreground transient service process includes:
S12, calls background service to close function;
S14, operation background service closes function, is entered with closing backstage transient service corresponding with foreground transient service process Journey.
For example, backstage resident service process A is set into foreground service processes and binds notice C, restart a backstage Transient service process B, is also configured as the backstage transient service process B foreground service processes and binds notice C, before such 2 Platform service processes are just bundled in same notice, are then called service to close function API " stopService " and are cancelled backstage The front stage operation state of transient service process B simultaneously closes backstage transient service process B, and now, Android system can be removed simultaneously Fall notice C bound together with backstage transient service B in informing, but aforesaid operations do not interfere with backstage and reside The normal operation of service processes A, and the high priority that the foreground of backstage resident service process A services still can be kept, while The information of the process is not had in informing, so as to reached mourn in silence raising background service priority with keep-alive it is corresponding after The technique effect of platform service.
It should be noted that the above-mentioned technical proposal of the present invention is in PP assistant's client at Android Application issuance center Pilot scale is used, and result on trial shows that it can make the raising of the survival rate of background service process, prolonged survival period, thus can carry The stability of the business such as height is pushed, download.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned enforcement The keepalive method of the background service process of example can add the mode of required general hardware platform to realize by software, also may be used certainly With by hardware, but in many cases the former is more preferably embodiment.Based on such understanding, technical scheme sheet The part contributed to prior art in other words in matter can be embodied in the form of software product, and the computer software is produced Product are stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment The method that (can be mobile phone, computer, server, or network equipment etc.) performs each embodiment of the invention.
Embodiment 2
According to embodiments of the present invention, a kind of dress for implementing the keepalive method of above-mentioned background service process is additionally provided Put, as shown in figure 4, the device includes:Acquiring unit 402, for obtaining foreground transient service process, wherein, foreground takes temporarily Business process is obtained by backstage transient service process configuration, and foreground transient service process and foreground resident service process binding Notify at one, foreground resident service process is obtained by backstage resident service process configuration, is notified for pointing out foreground Transient service process and foreground resident service process are just in front stage operation, and the priority of foreground resident service process is normal higher than backstage In the priority of service processes;First closing unit 404, for closing foreground transient service process;Clearing cell 406, is used for The notice bound together with foreground transient service process is removed, with keep-alive background service process.
That is, the transient service process and resident service process that operate in backstage are configured to before corresponding operating in respectively The transient service process and resident service process of platform, and the transient service process and resident service process binding on foreground will be operated in One be used for point out user have which just front stage operation service processes notice, so, if cancel transient service The front stage operation state of process, system will remove the notice for binding together therewith from informing automatically, in such case Under, due to having been cleared by with the notice of foreground resident service process binding, thus user is difficult to aware system actually just In operation foreground resident service process (i.e. resident service process in foreground also lives), so as to will not the resident clothes in the active killing foreground Business process, corresponding backstage resident service process also will not be fallen by killing, that is, close foreground transient service process and remove correspondence Notice, resident service will not be affected, can normally run on foreground, not only maintain resident service process The high priority of front stage operation state, and because the notice bound therewith is closed for these reasons, now user is difficult Also in front stage operation with discovering resident service, thus typically will not actively clear up this or these resident service, on the one hand, after Platform service processes are configured to priority after the service processes of foreground and improve, on the other hand, for pointing out the background service process The notice run with foreground running status is also removed by transient service process, thus user will not discover and actively remove The background service process, has reached the life-span i.e. technique effect of keep-alive background service process for extending background service process.
It should be noted that in embodiments of the present invention, it is right in the following manner can be configured to background service process The foreground service processes configuration answered:It is configured to so that backstage transient service process is configured into corresponding foreground transient service process Example, during enforcement, can first state and start backstage transient service process, recall system API " startForegruond " to incite somebody to action Backstage transient service process is set to foreground transient service process;It is normal so that backstage resident service process is configured into corresponding foreground As a example by configuration in service processes, during enforcement, can first start backstage resident service process, recall system API " startForegruond " by backstage resident service process being set to foreground resident service process.
In embodiments of the present invention, adopt and the two foreground service processes for obtaining are respectively configured by two background service processes The mode being bundled in same notice, by obtaining foreground transient service process, wherein, foreground transient service process is by rear The configuration of platform transient service process is obtained, and is bundled in a notice with foreground resident service process, and foreground resident service enters Journey is obtained by backstage resident service process configuration, is notified for pointing out foreground transient service process and foreground resident service to enter Just in front stage operation, the priority of foreground resident service process is higher than the priority of backstage resident service process to journey;Close foreground Transient service process;The notice bound together with foreground transient service process is removed, with keep-alive background service process, due to closing Closing system after transient service process can remove the notice for binding together therewith from informing automatically, and notify to be cancelled it Afterwards, user is just difficult to discover the resident service process with high priority in front stage operation, and only further, user has been detectable Resident service process be currently running would not active killing this (or these) process, thus reached sacrifice transient service process With prevent user's active killing just with high priority the resident service process of front stage operation purpose, it is achieved thereby that keep-alive is just With high priority the resident service process of front stage operation technique effect, and then solve in correlation technique by foreground service into Journey be individually bundled in one notify on, cause remove the notice will necessarily cancel therewith with binding relationship foreground service into Journey, and then cause the background service process corresponding with the foreground service processes will necessarily killed technical problem.
Alternatively, said apparatus also include:First processing units, for before foreground transient service process is obtained, opening Dynamic backstage resident service process simultaneously configures foreground resident service process, and foreground is resided into clothes according to backstage resident service process Business process is bundled in notice;Second processing unit, for starting backstage transient service process and being entered according to backstage transient service Journey configures foreground transient service process, and foreground transient service process is also bundled in notice.
Alternatively, said apparatus also include:Definition unit, before platform transient service process upon actuation, defines one Individual empty service processes;Statement unit, for stating that empty service processes are backstage transient service process.
Alternatively, above-mentioned first processing units are additionally operable to:Call front stage operation state to open function backstage is resided into clothes Business process configures foreground resident service process;Second processing unit is additionally operable to:Front stage operation state is called to open function with by after Platform transient service process configures foreground transient service process;First closing unit is additionally operable to:Front stage operation state is called to close letter Number, to close foreground transient service process.
Alternatively, said apparatus also include:Second closing unit, is additionally operable to the same of platform transient service process before being turned off When, close backstage transient service process corresponding with foreground transient service process.
Alternatively, above-mentioned second closing unit includes:Calling module, for calling background service to close function;Operation mould Block, for running background service function is closed, to close backstage transient service process corresponding with foreground transient service process.
It should be noted that the embodiment of device part same or like, Shen corresponding with the embodiment of method part Ask someone will not be described here, while the function that the units/modules in each embodiment in device part are realized is each with method part The function correspondence that corresponding step in embodiment is realized is same or like, and applicant will not be described here.
Embodiment 3
Embodiments of the invention can provide a kind of terminal, and the terminal can be in terminal group Any one computer terminal.Alternatively, in the present embodiment, above computer terminal can also replace with mobile whole The terminal devices such as end.
Alternatively, in the present embodiment, above computer terminal may be located in multiple network equipments of computer network At least one network equipment.
In the present embodiment, above computer terminal can be performed in the keepalive method of background service process of application program The program code of following steps:Foreground transient service process is obtained, wherein, foreground transient service process is by backstage transient service Process configuration is obtained, and foreground transient service process is bundled in one and notifies that foreground is resided with foreground resident service process Service processes are obtained by backstage resident service process configuration, are notified for pointing out foreground transient service process and foreground resident Just in front stage operation, the priority of foreground resident service process is higher than the priority of backstage resident service process to service processes;Close Close foreground transient service process;The notice bound together with foreground transient service process is removed, with keep-alive background service process.
Alternatively, above computer terminal (being labeled as terminal A) can include:One or more (only show in figure Go out one) processor, memory and miscellaneous part.
Wherein, memory can be used to store software program and module, the background service process such as in the embodiment of the present invention Keepalive method and the corresponding programmed instruction/module of device, processor by operation be stored in software program in memory with And module, so as to perform various function application and data processing, that is, realize the keepalive method of above-mentioned background service process.Deposit Reservoir may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory can further include remote relative to processor The memory that journey is arranged, these remote memories can be by network connection to terminal A.The example of above-mentioned network includes but does not limit In internet, intranet, LAN, mobile radio communication and combinations thereof.
Processor can call the information and application program of memory storage by transmitting device, to perform following step: After foreground transient service process corresponding with backstage transient service process is cancelled, backstage transient service process is closed.
Optionally, above-mentioned processor can also carry out the program code of following steps:Obtaining foreground transient service process Before, backstage resident service process is started and according to backstage resident service process configuration foreground resident service process, and will be front Platform resident service process is bundled in notice;Start backstage transient service process and according to backstage transient service process configuration foreground Transient service process, and foreground transient service process is also bundled in notice.
Optionally, above-mentioned processor can also carry out the program code of following steps:Platform transient service process upon actuation Before, method also includes:Define an empty service processes;The empty service processes of statement are backstage transient service process.
Optionally, above-mentioned processor can also carry out the program code of following steps:Front stage operation state is called to open letter Count for backstage resident service process to configure foreground resident service process;Front stage operation state is called to open function so that backstage to be faced When service processes configuration foreground transient service process;Call front stage operation state to close function, entered with closing foreground transient service Journey.
Optionally, above-mentioned processor can also carry out the program code of following steps:Platform transient service process before being turned off While, close backstage transient service process corresponding with foreground transient service process.
Optionally, above-mentioned processor can also carry out the program code of following steps:Background service is called to close function;Fortune Row background service closes function, to close backstage transient service process corresponding with foreground transient service process.
In embodiments of the present invention, bound by the way of same notice, before acquisition using two foreground service processes Platform transient service process, wherein, foreground transient service process is obtained by backstage transient service process configuration, and normal with foreground One is bundled in service processes to notify, foreground resident service process is obtained by backstage resident service process configuration, is led to Know for pointing out foreground transient service process and foreground resident service process just in front stage operation, foreground resident service process it is excellent Priority of the first level higher than backstage resident service process;Close foreground transient service process;Remove and foreground transient service process The notice for binding together, with keep-alive background service process, has been reached and the purpose for notifying has been removed using transient service process, so as to Realizing prevents user to dislike, it is to avoid the technique effect that Resident Process is killed, and then solves in correlation technique and service on foreground Process be individually bundled in one notify on, cause remove the notice will necessarily cancel therewith with binding relationship foreground service into Journey, and then cause the background service process corresponding with the foreground service processes will necessarily killed technical problem.
It will appreciated by the skilled person that the structure shown in Fig. 1 is only illustrated, terminal can also be intelligence Can mobile phone (such as Android phone, iOS mobile phones), panel computer, applause computer and mobile internet device (Mobile Internet Devices, MID), the terminal device such as PAD.Fig. 1 it does not cause to limit to the structure of above-mentioned electronic installation.Example Such as, terminal 10 may also include more more than shown in Fig. 1 or less components (such as network interface, display device), Or with the configuration different from shown in Fig. 1.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed come the device-dependent hardware of command terminal by program, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can Program code performed by the keepalive method of the background service process provided for preservation above-described embodiment 1.
Alternatively, in the present embodiment, above-mentioned storage medium may be located in computer network Computer terminal group In any one terminal, or in any one mobile terminal in mobile terminal group.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps:Obtain Foreground transient service process is taken, wherein, foreground transient service process is obtained by backstage transient service process configuration, and foreground Transient service process is bundled in one and notifies with foreground resident service process, and foreground resident service process is by the resident clothes in backstage The configuration of business process is obtained, and is notified for pointing out foreground transient service process and foreground resident service process just in front stage operation, Priority of the priority of foreground resident service process higher than backstage resident service process;Close foreground transient service process;Clearly Except the notice bound together with foreground transient service process, with keep-alive background service process.
Alternatively, in the present embodiment, storage medium is also configured to store the program code for performing following steps: Before foreground transient service process is obtained, start backstage resident service process and according to backstage resident service process configuration foreground Resident service process, and foreground resident service process is bundled in notice;Start backstage transient service process and according to after Platform transient service process configures foreground transient service process, and foreground transient service process is also bundled in notice.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: Before starting backstage transient service process, method also includes:Define an empty service processes;The empty service processes of statement face for backstage When service processes.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps:Adjust Open function backstage resident service process is configured into foreground resident service process with front stage operation state;Call front stage operation shape State opens function backstage transient service process is configured into foreground transient service process;Front stage operation state is called to close function, To close foreground transient service process.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps: While closing foreground transient service process, backstage transient service process corresponding with foreground transient service process is closed.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for performing following steps:Adjust Function is closed with background service;Operation background service closes function, is faced with closing backstage corresponding with foreground transient service process When service processes.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can pass through other Mode is realized.Wherein, device embodiment described above is only schematic, such as the division of described unit is only A kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) perform the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (12)

1. a kind of keepalive method of background service process, it is characterised in that include:
Foreground transient service process is obtained, wherein, the foreground transient service process is arranged to by backstage transient service process Arrive, and the foreground transient service process is bundled in one and notifies with foreground resident service process, the resident clothes in the foreground Business process is obtained by backstage resident service process configuration, described to notify for pointing out the foreground transient service process and institute Foreground resident service process is stated just in front stage operation, the priority of the foreground resident service process is higher than the resident clothes in the backstage The priority of business process;
Close the foreground transient service process;
The notice that removing binds together with the foreground transient service process.
2. method according to claim 1, it is characterised in that before foreground transient service process is obtained, methods described Also include:
Start the backstage resident service process and configure the foreground resident service according to the backstage resident service process Journey, and the foreground resident service process is bundled in the notice;
Start the backstage transient service process and configure the foreground transient service according to the backstage transient service process Journey, and the foreground transient service process is also bundled in the notice.
3. method according to claim 2, it is characterised in that described before the backstage transient service process is started Method also includes:
Define an empty service processes;
State that the empty service processes are the backstage transient service process.
4. method according to claim 1, it is characterised in that
Configuring the foreground resident service process according to the backstage resident service process includes:Front stage operation state is called to open Function by the backstage resident service process configuring the foreground resident service process;
Configuring the foreground transient service process according to the backstage transient service process includes:Front stage operation state is called to open Function by the backstage transient service process configuring the foreground transient service process;
Closing the foreground transient service process includes:Front stage operation state is called to close function, it is interim to close the foreground Service processes.
5. method according to claim 1, it is characterised in that while the foreground transient service process is closed, institute Stating method also includes:
Close the backstage transient service process corresponding with the foreground transient service process.
6. method according to claim 5, it is characterised in that close corresponding with the foreground transient service process described Backstage transient service process includes:
Background service is called to close function;
Run the background service and close function, taken temporarily with closing the backstage corresponding with the foreground transient service process Business process.
7. a kind of keep-alive device of background service process, it is characterised in that include:
Acquiring unit, for obtaining foreground transient service process, wherein, the foreground transient service process is taken temporarily by backstage The configuration of business process is obtained, and the foreground transient service process is bundled in one and notifies with foreground resident service process, institute State foreground resident service process to be obtained by backstage resident service process configuration, it is described to notify for pointing out the foreground interim , just in front stage operation, the priority of the foreground resident service process is higher than institute for service processes and the foreground resident service process State the priority of backstage resident service process;
First closing unit, for closing the foreground transient service process;
Clearing cell, for removing the notice bound together with the foreground transient service process.
8. device according to claim 7, it is characterised in that described device also includes:
First processing units, for before foreground transient service process is obtained, starting the backstage resident service process and root The foreground resident service process is configured according to the backstage resident service process, and the foreground resident service process is bound In the notice;
Second processing unit, for starting the backstage transient service process and configuring institute according to the backstage transient service process Foreground transient service process is stated, and the foreground transient service process is also bundled in the notice.
9. device according to claim 8, it is characterised in that described device also includes:
Definition unit, for before the backstage transient service process is started, defining an empty service processes;
Statement unit, for stating that the empty service processes are the backstage transient service process.
10. device according to claim 7, it is characterised in that
The first processing units are additionally operable to:Front stage operation state is called to open function so that the backstage resident service process to be matched somebody with somebody Put the foreground resident service process;
The second processing unit is additionally operable to:Front stage operation state is called to open function so that the backstage transient service process to be matched somebody with somebody Put the foreground transient service process;
First closing unit is additionally operable to:Call front stage operation state to close function, entered with closing the foreground transient service Journey.
11. devices according to claim 7, it is characterised in that described device also includes:
Second closing unit, is additionally operable to while the foreground transient service process is closed, and closing takes temporarily with the foreground The corresponding backstage transient service process of business process.
12. devices according to claim 11, it is characterised in that second closing unit includes:
Calling module, for calling background service to close function;
Operation module, for running the background service function is closed, corresponding with the foreground transient service process to close The backstage transient service process.
CN201611108110.5A 2016-12-05 2016-12-05 Keep-alive method and device for background service process Active CN106648861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611108110.5A CN106648861B (en) 2016-12-05 2016-12-05 Keep-alive method and device for background service process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611108110.5A CN106648861B (en) 2016-12-05 2016-12-05 Keep-alive method and device for background service process

Publications (2)

Publication Number Publication Date
CN106648861A true CN106648861A (en) 2017-05-10
CN106648861B CN106648861B (en) 2020-07-14

Family

ID=58819894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611108110.5A Active CN106648861B (en) 2016-12-05 2016-12-05 Keep-alive method and device for background service process

Country Status (1)

Country Link
CN (1) CN106648861B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391267A (en) * 2017-06-26 2017-11-24 北京金山安全软件有限公司 Process detection method and device, electronic equipment and readable storage medium
CN107423126A (en) * 2017-07-30 2017-12-01 深圳有麦科技有限公司 For lifting method and its system using running background priority
CN107463445A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Application process priority management method, apparatus, storage medium and electronic equipment
CN107479954A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
CN107844342A (en) * 2017-11-21 2018-03-27 广东欧珀移动通信有限公司 Management-control method, device and the storage medium and mobile terminal of application program keep-alive
CN108280113A (en) * 2017-07-13 2018-07-13 广州市动景计算机科技有限公司 Service Worker control methods, device and electric terminal
CN108845845A (en) * 2018-06-28 2018-11-20 北京金山安全软件有限公司 Shortcut key creating method and device, electronic equipment and storage medium
CN108874522A (en) * 2018-06-19 2018-11-23 北京五八信息技术有限公司 Message pushes setting method, device, computer equipment and readable storage medium storing program for executing
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN109669730A (en) * 2018-12-26 2019-04-23 北京达佳互联信息技术有限公司 A kind of process keepalive method, device, electronic equipment and medium
CN109756888A (en) * 2019-01-03 2019-05-14 中国—东盟信息港股份有限公司 A kind of eSIM service keep-alive system of different brands terminal
CN109766178A (en) * 2019-01-16 2019-05-17 四川科瑞软件有限责任公司 A kind of application process keep-alive system and method under Android system
CN109992310A (en) * 2019-03-12 2019-07-09 中国平安财产保险股份有限公司 Application program keepalive method, device, computer equipment and storage medium
CN110688319A (en) * 2019-09-30 2020-01-14 RealMe重庆移动通信有限公司 Application keep-alive capability test method and related device
CN111930481A (en) * 2020-07-16 2020-11-13 重庆帮企科技集团有限公司 Android system-based process priority improving method and device
CN112445530A (en) * 2019-08-29 2021-03-05 成都鼎桥通信技术有限公司 Method and device for keeping third-party application program alive
CN112988282A (en) * 2021-04-27 2021-06-18 荣耀终端有限公司 Application keep-alive method and terminal equipment
CN113238808A (en) * 2020-01-22 2021-08-10 北京沃东天骏信息技术有限公司 Message pushing method and device
EP3942411A4 (en) * 2019-03-22 2023-01-04 VeriFone, Inc. Systems and methods for providing low memory killer protection to non-system applications

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466313A (en) * 2002-06-19 2004-01-07 华为技术有限公司 Gateway system
CN103713886A (en) * 2012-09-29 2014-04-09 腾讯科技(深圳)有限公司 Reminding device in data processing equipment and reminding processing method implemented by reminding device
CN103995707A (en) * 2014-06-11 2014-08-20 腾讯科技(深圳)有限公司 Method, device and terminal device for processing application notification message
CN104375888A (en) * 2014-08-28 2015-02-25 中科创达软件股份有限公司 Method for calling background task through notification bar based on Android system
KR20150050240A (en) * 2013-10-31 2015-05-08 에스케이플래닛 주식회사 Terminal Equipment and Call control method for mVoIP, and Call service system based Internet Protocol
CN105637919A (en) * 2013-06-11 2016-06-01 七网络有限责任公司 Optimizing keepalive and other background traffic in a wireless network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466313A (en) * 2002-06-19 2004-01-07 华为技术有限公司 Gateway system
CN103713886A (en) * 2012-09-29 2014-04-09 腾讯科技(深圳)有限公司 Reminding device in data processing equipment and reminding processing method implemented by reminding device
CN105637919A (en) * 2013-06-11 2016-06-01 七网络有限责任公司 Optimizing keepalive and other background traffic in a wireless network
KR20150050240A (en) * 2013-10-31 2015-05-08 에스케이플래닛 주식회사 Terminal Equipment and Call control method for mVoIP, and Call service system based Internet Protocol
CN103995707A (en) * 2014-06-11 2014-08-20 腾讯科技(深圳)有限公司 Method, device and terminal device for processing application notification message
CN104375888A (en) * 2014-08-28 2015-02-25 中科创达软件股份有限公司 Method for calling background task through notification bar based on Android system

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN107391267A (en) * 2017-06-26 2017-11-24 北京金山安全软件有限公司 Process detection method and device, electronic equipment and readable storage medium
CN107391267B (en) * 2017-06-26 2020-03-27 北京金山安全软件有限公司 Process detection method and device, electronic equipment and readable storage medium
CN108280113A (en) * 2017-07-13 2018-07-13 广州市动景计算机科技有限公司 Service Worker control methods, device and electric terminal
CN108280113B (en) * 2017-07-13 2021-04-30 阿里巴巴(中国)有限公司 Service Worker control method and device and electronic terminal
CN107423126A (en) * 2017-07-30 2017-12-01 深圳有麦科技有限公司 For lifting method and its system using running background priority
CN107479954B (en) * 2017-07-31 2019-10-29 Oppo广东移动通信有限公司 Process management method, device, storage medium and electronic equipment
CN107463445A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Application process priority management method, apparatus, storage medium and electronic equipment
CN107479954A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
US11157315B2 (en) 2017-07-31 2021-10-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for process management and electronic device
WO2019024619A1 (en) * 2017-07-31 2019-02-07 Oppo广东移动通信有限公司 Process management method and apparatus, storage medium, and electronic device
CN107844342A (en) * 2017-11-21 2018-03-27 广东欧珀移动通信有限公司 Management-control method, device and the storage medium and mobile terminal of application program keep-alive
CN108874522A (en) * 2018-06-19 2018-11-23 北京五八信息技术有限公司 Message pushes setting method, device, computer equipment and readable storage medium storing program for executing
CN108845845A (en) * 2018-06-28 2018-11-20 北京金山安全软件有限公司 Shortcut key creating method and device, electronic equipment and storage medium
CN109669730A (en) * 2018-12-26 2019-04-23 北京达佳互联信息技术有限公司 A kind of process keepalive method, device, electronic equipment and medium
CN109669730B (en) * 2018-12-26 2022-05-06 北京达佳互联信息技术有限公司 Process keep-alive method, device, electronic equipment and medium
CN109756888A (en) * 2019-01-03 2019-05-14 中国—东盟信息港股份有限公司 A kind of eSIM service keep-alive system of different brands terminal
CN109756888B (en) * 2019-01-03 2021-07-06 中国—东盟信息港股份有限公司 eSIM service keep-alive system for terminals of different brands
CN109766178A (en) * 2019-01-16 2019-05-17 四川科瑞软件有限责任公司 A kind of application process keep-alive system and method under Android system
CN109992310A (en) * 2019-03-12 2019-07-09 中国平安财产保险股份有限公司 Application program keepalive method, device, computer equipment and storage medium
CN109992310B (en) * 2019-03-12 2024-04-05 中国平安财产保险股份有限公司 Application program keep-alive method, device, computer equipment and storage medium
EP3942411A4 (en) * 2019-03-22 2023-01-04 VeriFone, Inc. Systems and methods for providing low memory killer protection to non-system applications
CN112445530A (en) * 2019-08-29 2021-03-05 成都鼎桥通信技术有限公司 Method and device for keeping third-party application program alive
CN110688319A (en) * 2019-09-30 2020-01-14 RealMe重庆移动通信有限公司 Application keep-alive capability test method and related device
CN113238808A (en) * 2020-01-22 2021-08-10 北京沃东天骏信息技术有限公司 Message pushing method and device
CN113238808B (en) * 2020-01-22 2024-09-20 北京沃东天骏信息技术有限公司 Message pushing method and device
CN111930481A (en) * 2020-07-16 2020-11-13 重庆帮企科技集团有限公司 Android system-based process priority improving method and device
CN112988282A (en) * 2021-04-27 2021-06-18 荣耀终端有限公司 Application keep-alive method and terminal equipment

Also Published As

Publication number Publication date
CN106648861B (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN106648861A (en) Method and device for keeping background service process activated
CN103970774B (en) Notification icon method for cleaning and device
CN104462961B (en) Mobile terminal and its privacy authority optimization method
CN103761178B (en) A kind of method realized using unloading investigation
CN105095749B (en) The adapting method and device of status bar notice
CN103327460A (en) Event notification device and event notification system
CN104021141B (en) Method, device and system for data processing and cloud service
CN107147724A (en) A kind of information push method, server and computer-readable recording medium
CN104134036B (en) Method and device for obtaining Root permission
CN105991408A (en) Message processing method, message processing device and processing server
WO2016075622A1 (en) Communication with plurality of cellular networks using cellular modem and virtual subscriber identity modules stored in software-based embedded universal integrated circuit card (euicc)
CN109214908A (en) A kind of monitoring method and relevant apparatus
CN105871955A (en) Distributed file system-based processing method, server and client
CN102104683A (en) Contact related information intelligently-displaying method, system and mobile terminal
CN107544846A (en) A kind of EMS memory management process, device and electronic equipment
CN107241387A (en) The processing method of request of data, apparatus and system
CN110502268A (en) Application program update method, apparatus, server and storage medium
CN105722063B (en) IMSI number management and method of calling, server and network side equipment based on SoftSIM
CN107038068A (en) Processing method is killed in terminal and its application
CN107528767A (en) The treating method and apparatus of session
CN107800607A (en) A kind of method and device for clearing up mailbox data
CN109284608A (en) Extort recognition methods, device and equipment, the security processing of software
CN107908957A (en) A kind of safe operation management method and system of intelligent terminal
CN107404580A (en) A kind of method, storage medium and equipment for intercepting harassing call number and short message
CN107315658A (en) A kind of data back up method and device, computer installation and readable storage medium storing program for executing

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200527

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 15 layer self unit 02

Applicant before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant