CN107885588A - Control method, device and the storage medium and mobile terminal of application service - Google Patents
Control method, device and the storage medium and mobile terminal of application service Download PDFInfo
- Publication number
- CN107885588A CN107885588A CN201711165789.6A CN201711165789A CN107885588A CN 107885588 A CN107885588 A CN 107885588A CN 201711165789 A CN201711165789 A CN 201711165789A CN 107885588 A CN107885588 A CN 107885588A
- Authority
- CN
- China
- Prior art keywords
- service
- setting
- destination
- application
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
Abstract
The embodiment of the present application, which discloses a kind of control method of application service, device and storage medium and mobile terminal, methods described, to be included:Obtain the startup characteristic information for each service currently having turned on;Characteristic information will be started and meet that the service of setting entry condition is defined as destination service;When the operation information of the destination service meets setting service stopping condition, the destination service out of service.The method that the embodiment of the present application provides, rational management and control can be carried out to the application service started in mobile terminal, prevent the service of some abnormal startups from running always from the background, cause the consumption of resource that mobile terminal is unnecessary and flow, the running memory, flow and electricity of mobile terminal are saved, improves the fluency of running of mobile terminal.
Description
Technical field
The invention relates to application control technical field, more particularly to a kind of control method of application service, device
And storage medium and mobile terminal.
Background technology
Function in the mobile terminals such as mobile phone is more and more, is provided convenience for the live and work of people, and people can be with
Phone is taken using mobile phone, music, viewing video can also be listened, play game etc..Serviced in the android system of mobile phone
(service) as one of four big components, the service needed in backstage longtime running can be provided, such as Weather information is more
Newly, the backstage of music play, the download of resource etc..But certain lack be present to the control method of application service in correlation technique
Fall into, it is necessary to improve.
The content of the invention
The embodiment of the present application provides a kind of control method of application service, device and storage medium and mobile terminal, can be with
Application service in rational management and control mobile terminal.
In a first aspect, the embodiment of the present application provides a kind of control method of application service, including:
Obtain the startup characteristic information for each service currently having turned on;
Characteristic information will be started and meet that the service of setting entry condition is defined as destination service;
When the operation information of the destination service meets setting service stopping condition, the destination service out of service.
In second aspect, the embodiment of the present application provides a kind of control device of application service, including:
Start characteristic information acquisition module, for obtaining the startup characteristic information for each service currently having turned on;
Destination service determining module, meet that the service of setting entry condition is defined as target clothes for characteristic information will to be started
Business;
Destination service runs stopping modular, for meeting setting service stopping condition in the operation information of the destination service
When, the destination service out of service.
The third aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey
Sequence, the control method of the application service provided such as first aspect is realized when the program is executed by processor.
In fourth aspect, the embodiment of the present application provides a kind of mobile terminal, including memory, processor and is stored in
Realized on reservoir and the computer program that can run on a processor, during the computing device as what first aspect was provided answers
With the control method of service.
The startup characteristic information for each service that the embodiment of the present application is currently had turned on by acquisition, will start characteristic information
Meet that the service of setting entry condition is defined as destination service, meet setting service stopping in the operation information of the destination service
During condition, the destination service out of service, rational management and control can be carried out to the application service started in mobile terminal, prevented
The service of some abnormal startups is being run always from the background, causes the consumption of resource that mobile terminal is unnecessary and flow, is saved
The running memory of mobile terminal, flow and electricity, improve the fluency of running of mobile terminal.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the control method for application service that the embodiment of the present application provides;
Fig. 2 is the flow chart of the control method for another application service that the embodiment of the present application provides;
Fig. 3 is the flow chart of the control method for another application service that the embodiment of the present application provides;
Fig. 4 is a kind of structural representation of the control device for application service that the embodiment of the present application provides;
Fig. 5 is a kind of structural representation for mobile terminal that the embodiment of the present application provides
Fig. 6 is the structural representation for another mobile terminal that the embodiment of the present application provides.
Embodiment
In order that the purpose, technical scheme and advantage of the application are clearer, below in conjunction with the accompanying drawings to the specific reality of the application
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the application,
Rather than the restriction to the application.It also should be noted that for the ease of describing, illustrate only in accompanying drawing related to the application
Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail
Apply processing or method that example is described as describing as flow chart.Although operations (or step) are described as order by flow chart
Processing, but many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations
It can be rearranged.The processing can be terminated when its operations are completed, it is also possible to being not included in accompanying drawing
Additional step.The processing can correspond to method, function, code, subroutine, subprogram etc..
Fig. 1 gives a kind of flow chart of the control method of application service of the embodiment of the present application offer, the present embodiment
Method can be performed by the control device of application service, and the device can be realized by way of hardware and/or software, the dress
The inside of the mobile terminal can be arranged on as a mobile terminal part by putting.Mobile terminal described in the embodiment of the present application includes
But it is not limited to the equipment such as mobile phone, tablet personal computer or notebook.
As shown in figure 1, the control method for the application service that the present embodiment provides comprises the following steps:
The startup characteristic information for each service that step 101, acquisition currently have turned on.
Service is a kind of non-visual running background logic, for providing running background service for application, can be claimed
For service., can be by applying up and down when some application needs to perform a section business logic, but is not desired to visualize on foreground
Text calls startService functions (startService () method) to start service, to have called a service, this
Service can be this using itself or another application service.If others application needs to adjust
During with a service, request can be sent to system, whether oneself is activated for the process that system can check where service, if
Do not start, it is necessary to start the process where service.Startup service can also by call bindService functions come
Start, the difference of startService functions and bindService functions is, for bindService functions, to bind clothes
Business, if caller (opener) exits or hangs, service also and then can be exited or hang;But for
StartService functions, without any relation once service is opened with opener, no matter opener exits or hung,
Service can be always in backstage longtime running.
The opening ways of each service having turned on described in the present embodiment can be by calling startService
Function, or opened by calling bindService functions.The service opened in mobile terminal be probably in order to
The normal operation of application program and open, and the service of some unnormal unlockings is some third-party applications for keep-alive itself
And it is automatic or open indirectly, and if these improper start service by calling startService functions to be started
Afterwards, can be always in running background, it is clear that the operation resource and stream of the service meeting serious waste mobile terminal of these improper startups
Amount.The present embodiment is monitored in real time to each service having turned on.
The startup characteristic information for obtaining each service currently having turned on can include:Timing acquisition currently has turned on
Each service startup characteristic information.For example, it can be obtained once every 10 seconds.
In some embodiments, the characteristic information that starts can include event, the Starting mode kimonos that triggering starts
Be engaged in information, the information on services include the corresponding user's mark of service name, service ((User Identification,
UID), at least one of process identification (PID) (Process Identification, PID) and application Bao Mingzhong.
The service that step 102, the characteristic information satisfaction that will start set entry condition is defined as destination service.
The effect of the step is will to start characteristic information to meet that the improper startup service of setting entry condition is defined as mesh
Mark service.In the present embodiment, the service for some improper startups can not limit its startup, but after start-up
It can determine whether the service of the improper startup meets to set stop condition, to determine whether to stop the service, so
The reason for setting is:The third-party application that some third-party applications are such as newly installed may when some normally-open services
The service of unnormal unlocking is considered by system, is unfavorable for the normal operation of these services, the present embodiment allows service to be opened
Open, but can further determine whether stop after opening.
Step 103, the destination service operation information meet setting service stopping condition when, the mesh out of service
Mark service.
During by meeting preset service stop condition in the operation information for detecting destination service, the target out of service
Service, can save the operation resource and flow and electricity of mobile terminal, avoid unnecessary consumption.It should be noted that
The operation of service is carried by process, so the destination service out of service described in the embodiment of the present application can be to stop
Process corresponding to operational objective service.
In some embodiments, the feedback of user after the operation information can include operation duration after starting and start
Information.
The control method for the application service that the present embodiment provides, it is special by the startup for obtaining each service currently having turned on
Reference ceases, and will start characteristic information and meets that the service of setting entry condition is defined as destination service, in the fortune of the destination service
When row information meets setting service stopping condition, the destination service out of service, application that can be to starting in mobile terminal
Service carries out rational management and control, prevents the service of some abnormal startups from running always from the background, causes mobile terminal unnecessary
Resource and flow consumption, save the running memory, flow and electricity of mobile terminal, improve the stream of running of mobile terminal
Smooth degree.
Fig. 2 gives the flow chart of the control method of another application service of the embodiment of the present application offer.Such as Fig. 2 institutes
Show, the method that the present embodiment provides comprises the following steps:
The startup characteristic information for each service that step 201, acquisition currently have turned on.
Step 202, characteristic information will be started and meet that services of at least one of following setting entry conditions are defined as target clothes
Business:The event that triggering starts reaches setting time interval for preset timer, or the event that triggering starts is broadcasted to receive;Open
Flowing mode is the startup of non-user operation;The information on services is discontented with preparatory condition.
Some third-party applications are by setting a preset timer, when preset timer reaches setting time interval,
Start some service by calling startService functions to realize the association of the self-starting of the application or other application
System, so reaching setting time interval by preset timer to trigger the clothes that the service of startup may be improper startup
Business.Some third-party applications are by registering broadcast recipients, when system or other application send broadcast, by by registering
Broadcast recipients receive broadcast and realize that the self-starting of the application or association start, so triggering what is started by receiving broadcast
Service is probably the service of improper startup.If the Starting mode of some service opens for the self-starting or association of non-user operation
Dynamic, then the service is probably the service of improper startup.If the information on services of some service is discontented with preparatory condition, the service can
It can be the service of improper startup.Therefore, the service for by these being probably improper startup is defined as destination service.Need to illustrate
It is that, it is determined that during destination service, can will start characteristic information and meet that above-mentioned one or more sets the service of entry condition
It is defined as destination service.
In some embodiments, the Starting mode is that the startup of non-user operation can include:Starting mode is is
System process or other applications process call the first setting function for starting service to be started automatically, and described first
Setting function includes startService functions;Or Starting mode is to call to use in the second setting function of the service of closing
Started in the first setting function for starting service, the second setting function includes onDestroy functions.Exemplary,
It is as follows to start the code of service by calling startService functions again in onDestroy functions:
In some embodiments, the information on services is discontented with preparatory condition and included:The service name is not set first
In ding white ware list;Or user's mark, process identification (PID) and/or the application bag name corresponding to the service are not set in vain second
In list.
In some embodiments, can also include:First setting is locally obtained from server or mobile terminal
The mode that white list and the second setting white list, the first setting white list and the second setting white list store in terminal local
Including file mode storage or database mode storage.
Step 203, when the operation information of the destination service meets at least one of following setting service stopping condition, stop
Only run the destination service:Starting duration reaches setting duration;Operation committed memory reach be sized and service type or
The application type of the corresponding application program of person's service is corresponding setting type;The feedback information of user is the service of closing or closes
The corresponding application program of the service of closing.
Meet the destination service of at least one of above-mentioned setting entry condition for starting feature, such as be for Starting mode
The startup of non-user operation and information on services are unsatisfactory for the destination service of preparatory condition, when length reaches setting duration on startup,
Can be with the destination service out of service.Such as the event started for triggering is the mesh that preset timer reaches setting time interval
Mark service, running memory reach be sized and corresponding application type for game when, can be with the destination service out of service.
Such as it is that the service of closing is corresponding in the feedback information of user for triggering the event started to receive the destination service of broadcast
During application program, the destination service out of service.
The control method for the application service that the present embodiment provides, it is special by the startup for obtaining each service currently having turned on
Reference ceases, and will start characteristic information and meets that the service of at least one setting entry condition is defined as destination service, in the target
When the operation information of service meets at least one setting service stopping condition, the destination service out of service can be to movement
The application service started in terminal carries out rational management and control, prevents the service of some abnormal startups from running always from the background, leads
The consumption of mobile terminal unnecessary resource and flow is caused, the running memory, flow and electricity of mobile terminal is saved, improves
The fluency of running of mobile terminal.
Fig. 3 gives the flow chart of the control method of another application service of the embodiment of the present application offer.Such as Fig. 3 institutes
Show, the control method for the application service that the present embodiment provides comprises the following steps:
Step 301, acquisition pass through the startup characteristic information for each service for calling startService functions to open.
Wherein, started service can be referred to as by the service for calling startService functions to open
(started services).The characteristic information that starts includes event, Starting mode and information on services that triggering starts, the service
Information includes at least one of the corresponding user's mark of service name, service, process identification (PID) and application Bao Mingzhong.
Because the service by calling startService functions to open is to operate in backstage always, therefore, this reality
Apply example to be monitored the started services having turned on, obtain the startup characteristic information of started services.
The service that step 302, the characteristic information satisfaction that will start set entry condition is defined as destination service.
In some embodiments, the step can include:Characteristic information will be started and meet that at least one of following settings are opened
The service of dynamic condition is defined as destination service:The event that triggering starts reaches setting time interval for preset timer, or touches
The event that hair starts is broadcasted to receive;Starting mode is the startup of non-user operation;The information on services is discontented with preparatory condition.
Step 303, the destination service operation information meet setting service stopping condition when, pass through calling
StopService functions call stopSelf functions, the destination service out of service.
Wherein, stopService () method, (the onStartCommand side inside service can be called outside service
Inside method) call stopSelf () method.
In some embodiments, the step can include:The operation information of the destination service meet it is following at least
During one setting service stopping condition, the destination service out of service:Starting duration reaches setting duration;Run committed memory
Reach and be sized and the application type of service type or the corresponding application program of service is corresponding setting type;User's
Feedback information is the service of closing or closes the corresponding application program of service.
The control method for the application service that the present embodiment provides, by obtaining by calling startService functions to open
The startup characteristic information for each service opened, meet that the service of at least one setting entry condition determines by characteristic information will be started
For destination service, when the operation information of the destination service meets at least one setting service stopping condition, institute out of service
Destination service is stated, rational management and control can be carried out to the application service started in mobile terminal, prevent some abnormal startups
Service is being run always from the background, is caused the consumption of resource that mobile terminal is unnecessary and flow, is saved the operation of mobile terminal
Internal memory, flow and electricity, improve the fluency of running of mobile terminal.
A kind of structural representation of the control method device for application service that Fig. 4 provides for the embodiment of the present application, the device
It can be realized, be integrated in the terminal by software and/or hardware.As shown in figure 4, the device includes starting characteristic information acquisition mould
Block 41, destination service determining module 42 and destination service operation stopping modular 43.
The startup characteristic information acquisition module 41, the startup feature for obtaining each service currently having turned on are believed
Breath;
The destination service determining module 42, meet that the service of setting entry condition is defined as characteristic information will to be started
Destination service;
The destination service runs stopping modular 43, for meeting that setting service stops in the operation information of the destination service
Only during condition, the destination service out of service.
The device that the present embodiment provides, by obtaining the startup characteristic information for each service currently having turned on, it will start
Characteristic information meets that the service of setting entry condition is defined as destination service, meets setting in the operation information of the destination service
During service stopping condition, the destination service out of service, the application service started in mobile terminal can be carried out rational
Management and control, prevent some abnormal services from running always from the background, cause the consumption of resource that mobile terminal is unnecessary and flow,
The running memory and electricity of mobile terminal are saved, improves the fluency of running of mobile terminal.
Optionally, the characteristic information that starts includes event, Starting mode and information on services that triggering starts, the target
Service determining module is specifically used for:
Characteristic information will be started and meet that the service of at least one of following setting entry conditions is defined as destination service:
The event that triggering starts is that preset timer reaches setting time interval, or the event of triggering startup to receive extensively
Broadcast;
Starting mode is the startup of non-user operation;
The information on services is discontented with preparatory condition, and the information on services includes service name, services corresponding user's mark
At least one of knowledge, process identification (PID) and application Bao Mingzhong.
Optionally, the feedback information of user, the target after the operation information includes operation duration after starting and started
Service operation stopping modular is specifically used for:
When the operation information of the destination service meets at least one of following setting service stopping conditions, institute out of service
State destination service:
Starting duration reaches setting duration;
Operation committed memory, which reaches, to be sized and the application type of service type or the corresponding application program of service
Type is set to be corresponding;
The feedback information of user is the service of closing or closes the corresponding application program of service.
Optionally, Starting mode is that the startup of non-user operation includes in the destination service determining module:
Starting mode is that system process or other applications process are called for starting the service first setting automatically
Function is started, and the first setting function includes startService functions;Or
Starting mode is to call the first setting function for starting service to enter in the second setting function of the service of closing
Row starts, and the second setting function includes onDestroy functions.
Optionally, the destination service operation stopping modular destination service out of service includes:
By calling stopService functions or calling stopSelf functions, the destination service out of service.
Optionally, the discontented preparatory condition of information on services includes in the destination service determining module:
The service name is not in the first setting white list;Or
User's mark, process identification (PID) and/or application bag name corresponding to the service be not in the second setting white list.
Optionally, described device also includes:
White list acquisition module, for locally obtaining the first setting white list and the from server or mobile terminal
Two setting white lists, the first setting white list and the second setting white list include file side in the mode that terminal local stores
Formula stores or database mode storage.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform
When being performed by computer processor for performing a kind of control method of application service, this method includes for instruction:
Obtain the startup characteristic information for each service currently having turned on;
Characteristic information will be started and meet that the service of setting entry condition is defined as destination service;
When the operation information of the destination service meets setting service stopping condition, the destination service out of service.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums
(such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other
The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term
Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer
The control operation for the application service that executable instruction is not limited to the described above, it can also carry out the application any embodiment and provided
Application service control method in associative operation.
The embodiment of the present application provides a kind of mobile terminal, and answering for the embodiment of the present application offer can be integrated in the mobile terminal
With the control device of service.Fig. 5 is a kind of structural representation for mobile terminal that the embodiment of the present application provides.Mobile terminal 500
It can include:Memory 501, processor 502 and the computer journey that is stored on memory 501 and can be run in processor 502
Sequence, the processor 502 realize the controlling party of the application service as described in the embodiment of the present application when performing the computer program
Method.
The mobile terminal that the embodiment of the present application provides, can reasonably be managed to the application service started in mobile terminal
Control, prevents the service of some abnormal startups from running always from the background, causes disappearing for resource that mobile terminal is unnecessary and flow
Consumption, the running memory, flow and electricity of mobile terminal are saved, improve the fluency of running of mobile terminal.
Fig. 6 is the structural representation for another mobile terminal that the embodiment of the present application provides, as shown in fig. 6, the movement is whole
End can include:Memory 601, central processing unit (Central Processing Unit, CPU) 602 (also known as processor, with
Lower abbreviation CPU), the memory 601, for storing executable program code;The processor 602 is by reading the storage
The executable program code stored in device 601 runs program corresponding with the executable program code, for performing:Obtain
Take the startup characteristic information for each service currently having turned on;Characteristic information will be started and meet that the service of setting entry condition determines
For destination service;When the operation information of the destination service meets setting service stopping condition, the target clothes out of service
Business.
The mobile terminal also includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio-frequency electric
Road 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch-screen 612, other input/controls
Control equipment 610 and outside port 604, these parts are communicated by one or more communication bus or signal wire 607.
It should be understood that diagram mobile terminal 600 is only an example of mobile terminal, and mobile terminal 600
Can have than more or less parts shown in figure, can combine two or more parts, or can be with
Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
Below with regard to the present embodiment offer for controlling the mobile terminal of application service to be described in detail, the movement is whole
End is by taking mobile phone as an example.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can
Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories,
Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU502 and deposited by Peripheral Interface 603, the Peripheral Interface 603
Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch-screen 612
With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include the He of display controller 6091
For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls
Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610,
Other input/control devicess 610 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click on roller.What deserves to be explained is input controller 6092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 612, the touch-screen 612 are the input interface and output interface between user terminal and user, can
It can include figure, text, icon, video etc. to user, visual output depending on output display.
Display controller 6091 in I/O subsystems 609 receives electric signal from touch-screen 612 or sent out to touch-screen 612
Electric signals.Touch-screen 612 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 6091
The interaction of user interface object on touch-screen 612, that is, realize man-machine interaction, the user interface being shown on touch-screen 612
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 605, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 605 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 605 can include being used to perform
The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606, it is mainly used in receiving voice data from Peripheral Interface 603, the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving mobile phone from wireless network by RF circuits 605, it is reduced to sound
And play the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface 603 are supplied
Electricity and power management.
Control device, storage medium and the mobile terminal of the application service provided in above-described embodiment can perform the application and appoint
The control method for the application service that meaning embodiment is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not
The ins and outs of detailed description in the above-described embodiments, reference can be made to the control for the application service that the application any embodiment is provided
Method.
The technical principle that above are only the preferred embodiment of the application and used.The application is not limited to spy described here
Determine embodiment, the various significant changes that can carry out for a person skilled in the art, readjust and substitute all without departing from
The protection domain of the application.Therefore, although being described in further detail by above example to the application, this Shen
Above example please be not limited only to, in the case where not departing from the application design, other more equivalence enforcements can also be included
Example, and scope of the present application is determined by the scope of claim.
Claims (10)
- A kind of 1. control method of application service, it is characterised in that including:Obtain the startup characteristic information for each service currently having turned on;Characteristic information will be started and meet that the service of setting entry condition is defined as destination service;When the operation information of the destination service meets setting service stopping condition, the destination service out of service.
- 2. according to the method for claim 1, it is characterised in that the event of the startup characteristic information including triggering startup, Starting mode and information on services, the service that will start characteristic information satisfaction setting entry condition are defined as destination service bag Include:Characteristic information will be started and meet that the service of at least one of following setting entry conditions is defined as destination service:The event that triggering starts reaches setting time interval for preset timer, or the event that triggering starts is broadcasted to receive;Starting mode is the startup of non-user operation;The information on services is discontented with preparatory condition, and the information on services includes service name, services corresponding user's mark, enters At least one of journey mark and application Bao Mingzhong.
- 3. method according to claim 1 or 2, it is characterised in that the operation information include start after operation duration and The feedback information of user after startup, when the operation information in the destination service meets setting service stopping condition, stop Running the destination service includes:When the operation information of the destination service meets at least one of following setting service stopping conditions, the mesh out of service Mark service:Starting duration reaches setting duration;Operation committed memory reach be sized and the application type of service type or the corresponding application program of service for pair Type should be set;The feedback information of user is the service of closing or closes the corresponding application program of service.
- 4. according to the method for claim 2, it is characterised in that the Starting mode is that the startup of non-user operation includes:Starting mode is that system process or other applications process are called for starting the service first setting function automatically Started, the first setting function includes startService functions;OrStarting mode is to call the first setting function for starting service to be opened in the second setting function of the service of closing Dynamic, the second setting function includes onDestroy functions.
- 5. according to the method for claim 4, it is characterised in that the destination service out of service includes:By calling stopService functions or calling stopSelf functions, the destination service out of service.
- 6. according to the method for claim 2, it is characterised in that the information on services, which is discontented with preparatory condition, to be included:The service name is not in the first setting white list;OrUser's mark, process identification (PID) and/or application bag name corresponding to the service be not in the second setting white list.
- 7. according to the method for claim 6, it is characterised in that also include:The first setting white list and the second setting white list are locally obtained from server or mobile terminal, described first sets Ding white ware list and the second setting white list are deposited in the mode that terminal local stores including file mode storage or database mode Storage.
- A kind of 8. control device of application service, it is characterised in that including:Start characteristic information acquisition module, for obtaining the startup characteristic information for each service currently having turned on;Destination service determining module, meet that the service of setting entry condition is defined as destination service for characteristic information will to be started;Destination service run stopping modular, for the destination service operation information meet setting service stopping condition when, The destination service out of service.
- 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The control method of the application service as described in any in claim 1-7 is realized during row.
- 10. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realized described in the computing device during computer program as described in any in claim 1-7 The control method of application service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711165789.6A CN107885588B (en) | 2017-11-21 | 2017-11-21 | Application service control method and device, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711165789.6A CN107885588B (en) | 2017-11-21 | 2017-11-21 | Application service control method and device, storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107885588A true CN107885588A (en) | 2018-04-06 |
CN107885588B CN107885588B (en) | 2021-02-19 |
Family
ID=61778286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711165789.6A Active CN107885588B (en) | 2017-11-21 | 2017-11-21 | Application service control method and device, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107885588B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726043A (en) * | 2018-09-07 | 2019-05-07 | 网联清算有限公司 | Application service control method and device |
CN110688169A (en) * | 2019-09-16 | 2020-01-14 | 腾讯科技(深圳)有限公司 | Application program acceleration method and device, storage medium and electronic equipment |
CN113778568A (en) * | 2021-09-09 | 2021-12-10 | 网易(杭州)网络有限公司 | Service control method and device |
CN113961265A (en) * | 2021-09-30 | 2022-01-21 | 展讯半导体(南京)有限公司 | Intelligent terminal, operation control method and system thereof, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739327A (en) * | 2008-11-07 | 2010-06-16 | 北大方正集团有限公司 | Method and system for monitoring and repairing service process |
CN103425926A (en) * | 2012-05-14 | 2013-12-04 | 腾讯科技(深圳)有限公司 | Application program starting method, list configuring method, terminal and server |
CN103617078A (en) * | 2013-11-22 | 2014-03-05 | 北京奇虎科技有限公司 | Method and device for managing active components |
CN105446776A (en) * | 2015-11-20 | 2016-03-30 | 北京金山安全软件有限公司 | Application program closing method and device and electronic equipment |
CN105468409A (en) * | 2015-11-20 | 2016-04-06 | 北京金山安全软件有限公司 | Application program closing method and device and electronic equipment |
CN105959462A (en) * | 2016-04-20 | 2016-09-21 | 深圳市万普拉斯科技有限公司 | Abnormal startup control method and system |
CN106095055A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The method for closing of a kind of application program and device |
CN106201698A (en) * | 2016-07-15 | 2016-12-07 | 北京金山安全软件有限公司 | Method and device for managing application program and electronic equipment |
US20170150290A1 (en) * | 2015-11-20 | 2017-05-25 | Xiaomi Inc. | Method and device for information push |
CN106817414A (en) * | 2017-01-12 | 2017-06-09 | 硕诺科技(深圳)有限公司 | Using the method for mutually waking up startup in a kind of blocking Android system |
-
2017
- 2017-11-21 CN CN201711165789.6A patent/CN107885588B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739327A (en) * | 2008-11-07 | 2010-06-16 | 北大方正集团有限公司 | Method and system for monitoring and repairing service process |
CN103425926A (en) * | 2012-05-14 | 2013-12-04 | 腾讯科技(深圳)有限公司 | Application program starting method, list configuring method, terminal and server |
CN103617078A (en) * | 2013-11-22 | 2014-03-05 | 北京奇虎科技有限公司 | Method and device for managing active components |
CN105446776A (en) * | 2015-11-20 | 2016-03-30 | 北京金山安全软件有限公司 | Application program closing method and device and electronic equipment |
CN105468409A (en) * | 2015-11-20 | 2016-04-06 | 北京金山安全软件有限公司 | Application program closing method and device and electronic equipment |
US20170150290A1 (en) * | 2015-11-20 | 2017-05-25 | Xiaomi Inc. | Method and device for information push |
CN105959462A (en) * | 2016-04-20 | 2016-09-21 | 深圳市万普拉斯科技有限公司 | Abnormal startup control method and system |
CN106095055A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | The method for closing of a kind of application program and device |
CN106201698A (en) * | 2016-07-15 | 2016-12-07 | 北京金山安全软件有限公司 | Method and device for managing application program and electronic equipment |
CN106817414A (en) * | 2017-01-12 | 2017-06-09 | 硕诺科技(深圳)有限公司 | Using the method for mutually waking up startup in a kind of blocking Android system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726043A (en) * | 2018-09-07 | 2019-05-07 | 网联清算有限公司 | Application service control method and device |
CN110688169A (en) * | 2019-09-16 | 2020-01-14 | 腾讯科技(深圳)有限公司 | Application program acceleration method and device, storage medium and electronic equipment |
CN113778568A (en) * | 2021-09-09 | 2021-12-10 | 网易(杭州)网络有限公司 | Service control method and device |
CN113961265A (en) * | 2021-09-30 | 2022-01-21 | 展讯半导体(南京)有限公司 | Intelligent terminal, operation control method and system thereof, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107885588B (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107861773A (en) | Associate management-control method, device, storage medium and the mobile terminal started | |
CN107844342A (en) | Management-control method, device and the storage medium and mobile terminal of application program keep-alive | |
CN107944259A (en) | Using the management-control method of startup, device and storage medium and mobile terminal | |
CN107885588A (en) | Control method, device and the storage medium and mobile terminal of application service | |
CN106569585B (en) | A kind of method and terminal managing program process | |
CN107943270A (en) | Control method, device and the storage medium and mobile terminal of application service | |
CN107957913A (en) | Associate management-control method, device, storage medium and the mobile terminal started | |
CN107944258A (en) | Start control method, device, storage medium and the terminal of application with method of service | |
CN107748685A (en) | Application program launching control method, device, terminal device and storage medium | |
CN107844341A (en) | Management-control method, device and the storage medium and mobile terminal of process initiation | |
CN107748698A (en) | Start control method, device, storage medium and the terminal of application with broadcast mode | |
CN107797841A (en) | Window control method, apparatus, terminal device and storage medium | |
CN107943650A (en) | Control method, device, storage medium and the terminal of application program | |
CN107944257A (en) | Start control method, device, storage medium and the terminal of application with method of service | |
CN107783803A (en) | System optimization method, device, storage medium and the intelligent terminal of intelligent terminal | |
CN107608853A (en) | Control method, device, storage medium and the intelligent terminal of terminal usage time | |
CN107831886B (en) | Control method and device for associated starting application, storage medium and intelligent terminal | |
CN107748684A (en) | Realize processing method, device, storage medium and the mobile terminal of self-starting | |
CN109840418A (en) | Jump control method, device, storage medium and the terminal of application program | |
CN107957905A (en) | Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation | |
CN107027150A (en) | WiFi control methods, device and terminal device | |
CN107423064A (en) | Message treatment method, device, terminal device and storage medium | |
CN107943269A (en) | Schedule job control method, device, terminal device and storage medium | |
CN107862203A (en) | Control method, device, storage medium and the terminal of application program | |
CN106815534A (en) | A kind of method for protecting privacy of user, device and mobile terminal |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |