CN105677460B - Applied program processing method and device - Google Patents
Applied program processing method and device Download PDFInfo
- Publication number
- CN105677460B CN105677460B CN201511001139.9A CN201511001139A CN105677460B CN 105677460 B CN105677460 B CN 105677460B CN 201511001139 A CN201511001139 A CN 201511001139A CN 105677460 B CN105677460 B CN 105677460B
- Authority
- CN
- China
- Prior art keywords
- destination application
- application
- detecting
- freeze
- notification component
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 claims abstract description 58
- 230000008569 process Effects 0.000 claims abstract description 48
- 238000012545 processing Methods 0.000 claims description 36
- 230000008014 freezing Effects 0.000 claims description 20
- 238000007710 freezing Methods 0.000 claims description 20
- 206010048669 Terminal state Diseases 0.000 claims 1
- 230000005611 electricity Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 239000011230 binding agent Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
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
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The disclosure is directed to a kind of applied program processing method and devices, wherein the described method includes: detecting whether there is freeze request;If detecting freeze request, all progress informations of the destination application are obtained according to the identification information of destination application;Modify the configuration information of the registered notification component of the destination application;All processes of the destination application are freezed according to all progress informations of the destination application.The disclosure can make the application program freezed not occupy the resource of processor, to reduce the consumption to electricity, extend cruise duration.
Description
Technical field
This disclosure relates to field of computer technology more particularly to a kind of applied program processing method and device.
Background technique
Multiple functions may be implemented by installing multiple application programs on intelligent terminal at this stage, in use,
If opening simultaneously multiple application programs, an application program is had according to the user's choice in front stage operation, others application
Program can be transferred to running background, to realize multitasking.
In the related technology, when application program is transferred to running background, the application program not only can committed memory, but also meeting
The resource of processor is occupied, this will lead to the consumption of electricity.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of applied program processing method and device.Institute
It is as follows to state technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of applied program processing method is provided, which comprises
Detecting whether there is freeze request;
If detecting freeze request, the institute of the destination application is obtained according to the identification information of destination application
There is progress information;
Modify the configuration information of the registered notification component of the destination application;
All processes of the destination application are freezed according to all progress informations of the destination application.
Optionally, the detecting whether there is freeze request, comprising:
Running background is switched to by front stage operation if detecting destination application, the destination application is obtained and exists
The time of running background is confirmed as if the destination application is more than preset time threshold in the time of running background
There are freeze requests;Or
If detecting the destination application in front stage operation, the screen state of terminal is obtained, if the terminal
It is more than preset time threshold that screen, which puts out the screen time, then is confirmed as that there are freeze requests.
Optionally, the configuration information of the modification registered notification component of destination application, comprising:
Obtain the registered notification component information of the destination application;
The configuration information of the notification component is modified, so that the notification component stops sending to the destination application
Notification information.
Optionally, all progress informations according to the destination application owning the destination application
Process is freezed, comprising:
Idle control group is chosen from preset control group pond;
All processes of the destination application are hung up using the control group of the free time.
Optionally, the method also includes:
If at least one process for detecting the destination application is called, the destination application is waken up.
According to the second aspect of an embodiment of the present disclosure, a kind of application processing apparatus is provided, described device includes:
Detecting module is configured as detecting with the presence or absence of freeze request;
Module is obtained, is configured as when detecting freeze request, institute is obtained according to the identification information of destination application
State all progress informations of destination application;
Modified module is configured as modifying the configuration information of the registered notification component of the destination application;
Freeze module, is configured as the destination application according to all progress informations of the destination application
All processes freeze.
Optionally, the detecting module, comprising:
Submodule is detected, is configured as obtaining when detecting destination application and being switched to running background by front stage operation
Take the destination application in the time of running background, when the destination application is more than default in the time of running background
Time threshold when, be confirmed as that there are freeze requests;Or
When detecting the destination application in front stage operation, the screen state of terminal is obtained, when the terminal
When screen puts out the screen time and is more than preset time threshold, it is confirmed as that there are freeze requests.
Optionally, the modified module, comprising:
Acquisition submodule is configured as obtaining the registered notification component information of the destination application;
Modify submodule, be configured as modifying the configuration information of the notification component so that the notification component stop to
The destination application sends notification information.
It is optionally, described to freeze module, comprising:
Submodule is chosen, is configured as choosing idle control group from preset control group pond;
Submodule is hung up, is configured as hanging all processes of the destination application using the control group of the free time
It rises.
Optionally, described device further include:
Wake-up module is configured as waking up when at least one process for detecting the destination application is called
The destination application.
According to the third aspect of an embodiment of the present disclosure, a kind of application processing apparatus is provided characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detecting whether there is freeze request;
If detecting freeze request, the institute of the destination application is obtained according to the identification information of destination application
There is progress information;
Modify the configuration information of the registered notification component of the destination application;
All processes of the destination application are freezed according to all progress informations of the destination application.
According to a fourth aspect of embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described
When instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out a kind of application program processing
Method, which comprises
Detecting whether there is freeze request;
If detecting freeze request, the institute of the destination application is obtained according to the identification information of destination application
There is progress information;
Modify the configuration information of the registered notification component of the destination application;
All processes of the destination application are freezed according to all progress informations of the destination application.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When detecting freeze request, all progress informations of destination application are obtained, modification destination application is
The configuration information of the notification component of registration, and all processes of destination application are freezed, due to having modified notification component
Configuration information, therefore, so that destination application will not receive the notification information of notification component;Meanwhile freezing target application
All processes of program, but also destination application will not occupy the resource of processor, so that the consumption to electricity is reduced,
Extend cruise duration.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of applied program processing method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another applied program processing method shown according to an exemplary embodiment.
Fig. 3 is the flow chart of another applied program processing method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of another applied program processing method shown according to an exemplary embodiment.
Fig. 5 is a kind of application processing apparatus block diagram shown according to an exemplary embodiment.
Fig. 6 is another application processing apparatus block diagram shown according to an exemplary embodiment.
Fig. 7 is another application processing apparatus block diagram shown according to an exemplary embodiment.
Fig. 8 is another application processing apparatus block diagram shown according to an exemplary embodiment.
Fig. 9 is another application processing apparatus block diagram shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram of application processing apparatus 800 shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of applied program processing method shown according to an exemplary embodiment, as shown in Figure 1,
The application program method is in terminal, the terminal to include but is not limited to that any one can pass through key, keyboard, void with user
Quasi- keyboard, remote controler, touch screen or voice-operated device carry out the electronic product of human-computer interaction, such as computer, smart phone, plate
Computer, e-book or game machine etc., this approach includes the following steps.
In a step 101, detecting whether there is freeze request.
In a step 102, if detecting freeze request, the target is obtained according to the identification information of destination application
All progress informations of application program.
In step 103, the configuration information of the registered notification component of the destination application is modified.
At step 104, according to all progress informations of the destination application by the institute of the destination application
There is process to freeze.
In conclusion the applied program processing method that the embodiment of the present disclosure provides obtains mesh when detecting freeze request
All progress informations of application program are marked, modify the configuration information of the registered notification component of destination application, and by target
All processes of application program are freezed, due to having modified the configuration information of notification component, so that destination application will not
Receive the notification information of notification component;Meanwhile freezing all processes of destination application, but also destination application is not
The resource of processor can be occupied, to reduce the consumption to electricity, extends cruise duration.
Fig. 2 is the flow chart of another applied program processing method shown according to an exemplary embodiment, such as Fig. 2 institute
Show, this approach includes the following steps.
In step 201, detecting whether there is freeze request.
In this step, multiple functions may be implemented by installing a variety of application programs in terminal, it is multiple by running simultaneously
Multitasking may be implemented in application program.In the related technology, the application program shown under terminal current interface is front stage operation
Application program, other application programs being currently running can be transferred to running background.It is not only taken up in the application program of running background
The resource of memory can also occupy the resource of processor simultaneously, increase the power consumption of terminal.Therefore, to the application program of running background
Freezed, discharge the resource of processor, power consumption can be reduced, extends the cruise duration of terminal.In the embodiment of the present disclosure, first
Freeze request is judged whether there is, i.e., whether needs to handle application program.It is understood which can be arranged in advance
A little application programs can carry out freezing to handle, for example if it is chat class application program, not receive after freezing in order to prevent
Message can be specifically not limited thereto then without carrying out freezing to handle by user's self-setting, the embodiment of the present disclosure.
Optionally, running background is switched to by front stage operation if detecting destination application, obtains the target and answers
With program in the time of running background, if the destination application is more than preset time threshold in the time of running background,
Then it is confirmed as that there are freeze requests.
In the embodiment of the present disclosure, destination application is the pre-set application journey that can carry out freezing processing of user
Sequence, when detecting destination application and being switched to running background by front stage operation, the further destination application that obtains exists
The time of running background, if the time is more than preset time threshold, it is believed that user will not temporarily reuse target application
Program can be handled destination application, can be confirmed as that there are freeze requests.It should be understood that when this is preset
Between threshold value can be set to 3 minutes by user's self-setting, in the embodiment of the present disclosure, in other embodiments, can also be with
Other times are set as, the embodiment of the present disclosure is not limited thereto.
Optionally, if detecting the destination application in front stage operation, the screen state of terminal is obtained, if described
It is more than preset time threshold that the screen of terminal, which puts out the screen time, then is confirmed as that there are freeze requests.
In the embodiment of the present disclosure, if destination application in front stage operation, if detect at this time terminal screen extinguish,
The time that screen extinguishes is obtained, if the time is more than preset time threshold, it is also contemplated that user will not temporarily reuse at this time
Destination application can be handled destination application, can be confirmed as that there are freeze requests.It should be understood that should
Preset time threshold in the embodiment of the present disclosure, can be can be set to 3 minutes, in other embodiments by user's self-setting
In, it may be set to be other times, the embodiment of the present disclosure is not limited thereto.
In step 202, if detecting freeze request, the target is obtained according to the identification information of destination application
All progress informations of application program.
In this step, if detecting in the presence of the freeze request to destination application, the destination application is obtained
All progress informations.In the embodiment of the present disclosure, the identification information of the destination application is obtained first, and the identification information includes
User Identity (UID, user identifier) and program identification (PID, process identifier), pass through use
Family identity and program identification obtain all progress informations of the destination application.Since an application program may be right
The application program can should accurately be found by User Identity and program identification in multiple progress informations, therefore
Corresponding all processes, are handled process convenient for subsequent.Wherein, the method for obtaining progress information can be through user's body
Part mark and program identification are calculated.
In step 203, the registered notification component information of the destination application is obtained.
In this step, in order to guarantee that destination application after being freezed, no longer occupies the resource of processor, needs
Destination application is avoided to be waken up by the notification information of other assemblies.In Android system, due to application program can register it is multiple
System event, when system occurs, corresponding notification component will send notification information to application program.When application program is in
When running background, also or above-mentioned notification information can be received.Therefore, it in order to avoid application program is waken up, needs to target
Application program modified accordingly by chartered notification component information.In this step, destination application is obtained first
Registered notification component information.In the embodiment of the present disclosure, notification component include: broadcast (broadcast), alarm clock (alarm),
Sensor (sensor), incoming event (input event), state of charge service (battery stats) and managing power consumption
Service (power manager service) etc..It, can be with it is understood that difference of the notification component according to application program
Including other classifications, the embodiment of the present disclosure is not limited thereto.
In step 204, the configuration information of the notification component is modified, so that the notification component stops to the target
Application program sends notification information.
It in this step, after getting notification component information, modifies to the configuration information of notification component, so that institute
Notification component is stated to stop sending notification information to the destination application.In this way, being freezed in succeeding target application program
Later, it will not be waken up, so as to avoid the frequent occupancy waken up to processor resource, reduce the consumption to electricity.
In step 205, according to all progress informations of the destination application by the institute of the destination application
There is process to freeze.
In conclusion the applied program processing method that the embodiment of the present disclosure provides obtains mesh when detecting freeze request
All progress informations of application program are marked, modify the configuration information of the registered notification component of destination application, and by target
All processes of application program are freezed, due to having modified the configuration information of notification component, so that destination application will not
The notification information for receiving notification component avoids the occupancy frequently waken up to processor resource, reduces the consumption to electricity;
Meanwhile all processes for freezing destination application reduce but also destination application will not occupy the resource of processor
Consumption to electricity, extends cruise duration.
Fig. 3 is the flow chart of another applied program processing method shown according to an exemplary embodiment, such as Fig. 3 institute
Show, this approach includes the following steps.
In step 301, detecting whether there is freeze request.
In step 302, if detecting freeze request, the target is obtained according to the identification information of destination application
All progress informations of application program.
In step 303, the registered notification component information of the destination application is obtained.
In step 304, the configuration information of the notification component is modified, so that the notification component stops to the target
Application program sends notification information.
In step 305, idle control group is chosen from preset control group pond.
In this step, in order to carry out freezing to handle application program, realized in the embodiment of the present disclosure using control group.?
In the kernel of Android system, it may be implemented to support to freeze multiple application programs simultaneously by establishing multiple control groups.This public affairs
It opens in embodiment, when system initialization, can establish 64 control groups, composition control group pond.It is understood that building
The number of vertical control group can also be other quantity.When needing to carry out freezing to application program processing, chosen from control group pond
Select idle control group.
Within step 306, all processes of the destination application are hung up using the control group of the free time.
In this step, according to all progress informations of the destination application got before, using idle control group
All processes of destination application are hung up, so that destination application is all often in memory is only taken up, no
The state of processor resource is occupied, the consumption to system resource is reduced.When subsequent user is wanted to exercise again to use destination application
When, it is only necessary to the corresponding process of the destination application is discharged from control group, which can be fast again
Speed uses, and improves efficiency.Freezing application program comparison closing application program can be convenient user's quick start, avoids opening and answer
It is too long with the program waiting time.
In conclusion the applied program processing method that the embodiment of the present disclosure provides obtains mesh when detecting freeze request
All progress informations of application program are marked, modify the configuration information of the registered notification component of destination application, and by target
All processes of application program are freezed, due to having modified the configuration information of notification component, so that destination application will not
The notification information for receiving notification component avoids the occupancy frequently waken up to processor resource, reduces the consumption to electricity;
Meanwhile all processes for freezing destination application reduce but also destination application will not occupy the resource of processor
Consumption to electricity, extends cruise duration.
Fig. 4 is the flow chart of another applied program processing method shown according to an exemplary embodiment, such as Fig. 3 institute
Show, this approach includes the following steps.
In step 401, detecting whether there is freeze request.
In step 402, if detecting freeze request, the target is obtained according to the identification information of destination application
All progress informations of application program.
In step 403, the registered notification component information of the destination application is obtained.
In step 404, the configuration information of the notification component is modified, so that the notification component stops to the target
Application program sends notification information.
In step 405, idle control group is chosen from preset control group pond.
In a step 406, all processes of the destination application are hung up using the control group of the free time.
In step 407, if at least one process for detecting the destination application is called, the mesh is waken up
Mark application program.
In this step, after destination application is frozen, other processes or the service call target are answered if it exists
With program, such as when being called by binder, since the state that application program returns at this time is frozen state, in the related technology,
It will lead to the process for initiating to call at this time or service hung up.In order to avoid this occurs, in the embodiment of the present disclosure, when detecing
Measure destination application at least one process it is called when, that is, wake up the destination application.
Optionally, if detecting the destination application in running background by being switched to front stage operation, or detecting from the background
It is lighted to terminal screen and destination application is in front stage operation, at this time it can be identified that being wake up target application program.
In the embodiments of the present disclosure, in wake up target application program, it is only necessary to by the destination application it is corresponding into
Journey is discharged from control group, which can quickly use again, and the control group also restores idle state, can
For freezing for other applications.Freezing application program comparison closing application program can be convenient user's quick start, avoid
It is too long to open the application program waiting time.
In conclusion the applied program processing method that the embodiment of the present disclosure provides obtains mesh when detecting freeze request
All progress informations of application program are marked, modify the configuration information of the registered notification component of destination application, and by target
All processes of application program are freezed, due to having modified the configuration information of notification component, so that destination application will not
The notification information for receiving notification component avoids the occupancy frequently waken up to processor resource, reduces the consumption to electricity;
Meanwhile all processes for freezing destination application reduce but also destination application will not occupy the resource of processor
Consumption to electricity, extends cruise duration.
Corresponding with the embodiment of aforementioned applications program processing method, the disclosure additionally provides application processing apparatus
Embodiment.
Fig. 5 is a kind of application processing apparatus block diagram shown according to an exemplary embodiment.Referring to Fig. 5, the device
Including detecting module 501, obtains module 502, modified module 503 and freeze module 504.
Detecting module 501 is configured as detecting with the presence or absence of freeze request.
Module 502 is obtained, is configured as when detecting freeze request, is obtained according to the identification information of destination application
All progress informations of the destination application.
Modified module 503 is configured as modifying the configuration information of the registered notification component of the destination application.
Freeze module 504, is configured as the target application according to all progress informations of the destination application
All processes of program are freezed.
In conclusion the application processing apparatus that the embodiment of the present disclosure provides obtains mesh when detecting freeze request
All progress informations of application program are marked, modify the configuration information of the registered notification component of destination application, and by target
All processes of application program are freezed, due to having modified the configuration information of notification component, so that destination application will not
Receive the notification information of notification component;Meanwhile freezing all processes of destination application, but also destination application is not
The resource of processor can be occupied, to reduce the consumption to electricity, extends cruise duration.
Fig. 6 is another application processing apparatus block diagram shown according to an exemplary embodiment.Referring to Fig. 6, the reality
On the basis of applying example embodiment shown in Fig. 5, detecting module 501 further comprises detecting submodule 5011.
Submodule 5011 is detected, destination application ought be detected by, which being configured as, is switched to running background by front stage operation
When, the destination application is obtained in the time of running background, when the destination application is super in the time of running background
When crossing preset time threshold, it is confirmed as that there are freeze requests;Or
When detecting the destination application in front stage operation, the screen state of terminal is obtained, when the terminal
When screen puts out the screen time and is more than preset time threshold, it is confirmed as that there are freeze requests.
Fig. 7 is another application processing apparatus block diagram shown according to an exemplary embodiment.Referring to Fig. 7, the reality
On the basis of applying example embodiment shown in Fig. 5, modified module 503 further comprises acquisition submodule 5031 and modification submodule
5032。
Acquisition submodule 5031 is configured as obtaining the registered notification component information of the destination application.
Submodule 5032 is modified, is configured as modifying the configuration information of the notification component, so that the notification component is stopped
Only notification information is sent to the destination application.
Fig. 8 is another application processing apparatus block diagram shown according to an exemplary embodiment.Referring to Fig. 8, the reality
On the basis of applying example embodiment shown in Fig. 5, freezing module 504 further comprises choosing submodule 5041 and hang-up submodule
5042。
Submodule 5041 is chosen, is configured as choosing idle control group from preset control group pond;
Hang up submodule 5042, be configured as control group using the free time by the destination application it is all into
Journey is hung up.
Fig. 9 is another application processing apparatus block diagram shown according to an exemplary embodiment.Referring to Fig. 9, the reality
On the basis of applying example embodiment shown in Fig. 5, which further comprises wake-up module 505.
Wake-up module 505 is configured as calling out when at least one process for detecting the destination application is called
It wakes up the destination application.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Correspondingly, the disclosure additionally provides a kind of application processing apparatus, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detecting whether there is freeze request;
If detecting freeze request, the institute of the destination application is obtained according to the identification information of destination application
There is progress information;
Modify the configuration information of the registered notification component of the destination application;
All processes of the destination application are freezed according to all progress informations of the destination application.
In conclusion the application processing apparatus that the embodiment of the present disclosure provides obtains mesh when detecting freeze request
All progress informations of application program are marked, modify the configuration information of the registered notification component of destination application, and by target
All processes of application program are freezed, due to having modified the configuration information of notification component, so that destination application will not
Receive the notification information of notification component;Meanwhile freezing all processes of destination application, but also destination application is not
The resource of processor can be occupied, to reduce the consumption to electricity, extends cruise duration.
Figure 10 is a kind of block diagram of application processing apparatus 800 shown according to an exemplary embodiment.For example, device
800 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, and medical treatment is set
It is standby, body-building equipment, personal digital assistant etc..
Referring to Fig.1 0, device 800 may include following one or more components: processing component 802, memory 804, electric power
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute
It enables, to complete all or part of the steps of applied program processing method.In addition, processing component 802 may include one or more
Module, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module,
To facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 may include power management system
System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, are used for executing application processing method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete application program processing side
Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and practicing the disclosure
Case.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or adaptability
Variation follows the general principles of this disclosure and including the undocumented common knowledge or usual skill in the art of the disclosure
Art means.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (9)
1. a kind of applied program processing method characterized by comprising
Detecting whether there is freeze request, comprising: if detecting destination application in front stage operation, obtain the screen of terminal
State is confirmed as that there are freeze requests if it is more than preset time threshold that the screen of the terminal, which puts out the screen time,;Wherein, institute
Stating destination application is the pre-set application program that can carry out freezing processing of user;
If detecting freeze request, according to the identification information of destination application obtain the destination application it is all into
Journey information;
Modify the configuration information of the registered notification component of the destination application, comprising: obtain the destination application
Registered notification component information;The configuration information of the notification component is modified, so that the notification component stops to the mesh
It marks application program and sends notification information;
All processes of the destination application are freezed according to all progress informations of the destination application.
2. applied program processing method according to claim 1, which is characterized in that the detecting, which whether there is, to be freezed to ask
It asks, comprising:
Running background is switched to by front stage operation if detecting destination application, obtains the destination application on backstage
The time of operation is confirmed as existing if the destination application is more than preset time threshold in the time of running background
Freeze request.
3. applied program processing method according to claim 1, which is characterized in that described according to the destination application
All progress informations all processes of the destination application are freezed, comprising:
Idle control group is chosen from preset control group pond;
All processes of the destination application are hung up using the control group of the free time.
4. applied program processing method according to any one of claim 1-3, which is characterized in that the method is also wrapped
It includes:
If at least one process for detecting the destination application is called, the destination application is waken up.
5. a kind of application processing apparatus characterized by comprising
Detecting module is configured as detecting with the presence or absence of freeze request;
Module is obtained, is configured as when detecting freeze request, the mesh is obtained according to the identification information of destination application
Mark all progress informations of application program;
Modified module is configured as modifying the configuration information of the registered notification component of the destination application;
Freeze module, is configured as the institute of the destination application according to all progress informations of the destination application
There is process to freeze;
Wherein, the modified module, comprising:
Acquisition submodule is configured as obtaining the registered notification component information of the destination application;
Submodule is modified, is configured as modifying the configuration information of the notification component, so that the notification component stops to described
Destination application sends notification information;
The detecting module, comprising:
Submodule is detected, is configured as obtaining the screen shape of terminal when detecting the destination application in front stage operation
State is confirmed as that there are freeze requests when the screen of the terminal, which puts out the screen time, is more than preset time threshold;
Wherein, the destination application is the pre-set application program that can carry out freezing processing of user.
6. application processing apparatus according to claim 5, which is characterized in that
The detecting submodule is additionally configured to when detecting destination application and being switched to running background by front stage operation,
The destination application is obtained in the time of running background, when the destination application is more than pre- in the time of running background
If time threshold when, be confirmed as that there are freeze requests.
7. application processing apparatus according to claim 5, which is characterized in that described to freeze module, comprising:
Submodule is chosen, is configured as choosing idle control group from preset control group pond;
Submodule is hung up, is configured as hanging up all processes of the destination application using the control group of the free time.
8. according to the described in any item application processing apparatus of claim 5-7, which is characterized in that described device further include:
Wake-up module is configured as when at least one process for detecting the destination application is called, described in wake-up
Destination application.
9. a kind of application processing apparatus characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detecting whether there is freeze request;
If detecting freeze request, according to the identification information of destination application obtain the destination application it is all into
Journey information;
Modify the configuration information of the registered notification component of the destination application, comprising: obtain the destination application
Registered notification component information;The configuration information of the notification component is modified, so that the notification component stops to the mesh
It marks application program and sends notification information;
All processes of the destination application are freezed according to all progress informations of the destination application;
The detecting whether there is freeze request, comprising: if detecting the destination application in front stage operation, obtain end
The screen state at end is confirmed as that there are freeze requests if it is more than preset time threshold that the screen of the terminal, which puts out the screen time,;
Wherein, the destination application is the pre-set application program that can carry out freezing processing of user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511001139.9A CN105677460B (en) | 2015-12-28 | 2015-12-28 | Applied program processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511001139.9A CN105677460B (en) | 2015-12-28 | 2015-12-28 | Applied program processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677460A CN105677460A (en) | 2016-06-15 |
CN105677460B true CN105677460B (en) | 2019-07-23 |
Family
ID=56297729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511001139.9A Active CN105677460B (en) | 2015-12-28 | 2015-12-28 | Applied program processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677460B (en) |
Families Citing this family (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106125896A (en) * | 2016-06-29 | 2016-11-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application program freezing method and mobile terminal |
CN106126259A (en) * | 2016-06-30 | 2016-11-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method and system freezing application |
CN106126305A (en) * | 2016-07-05 | 2016-11-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application freezing method, device and mobile terminal |
CN106249843B (en) * | 2016-07-25 | 2019-05-14 | 深圳天珑无线科技有限公司 | A kind of course control method, device and mobile device |
CN106267819A (en) * | 2016-07-28 | 2017-01-04 | 努比亚技术有限公司 | The processing means of game on-hook and method |
CN106101437A (en) * | 2016-07-28 | 2016-11-09 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application defreezing method, device and mobile terminal |
CN106250189A (en) * | 2016-07-29 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application freezing method, processor and communication equipment |
CN106339630B (en) * | 2016-08-24 | 2019-06-11 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method, apparatus and terminal for freezing application |
CN106528284B (en) * | 2016-10-19 | 2019-12-13 | 北京安云世纪科技有限公司 | application program configuration method and device and terminal equipment |
WO2018205273A1 (en) * | 2017-05-12 | 2018-11-15 | 深圳市乃斯网络科技有限公司 | Smart terminal power management method and system |
CN108021220A (en) * | 2017-10-25 | 2018-05-11 | 努比亚技术有限公司 | A kind of terminal applies control method, terminal and computer-readable recording medium |
CN110007968B (en) * | 2017-12-29 | 2022-07-12 | Oppo广东移动通信有限公司 | Information processing method, information processing device, computer equipment and computer readable storage medium |
CN109996226A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Process processing method and device, electronic equipment and computer readable storage medium |
CN109992375B (en) * | 2017-12-29 | 2021-04-23 | Oppo广东移动通信有限公司 | Information processing method, apparatus, computer device, and computer-readable storage medium |
CN109992965B (en) * | 2017-12-29 | 2021-08-17 | Oppo广东移动通信有限公司 | Process processing method and device, electronic equipment and computer readable storage medium |
CN109995928A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Process handling method and device, electronic equipment, computer readable storage medium |
CN109992425B (en) * | 2017-12-29 | 2022-03-15 | Oppo广东移动通信有限公司 | Information processing method, information processing device, computer equipment and computer readable storage medium |
CN109992398B (en) * | 2017-12-29 | 2021-06-25 | Oppo广东移动通信有限公司 | Resource management method, resource management device, mobile terminal and computer-readable storage medium |
CN110032321B (en) * | 2018-01-12 | 2024-02-20 | Oppo广东移动通信有限公司 | Application processing method and device, electronic equipment and computer readable storage medium |
CN110908775A (en) * | 2018-09-14 | 2020-03-24 | 中兴通讯股份有限公司 | Application freezing control method and device, storage medium and electronic equipment |
CN110908494A (en) * | 2018-09-14 | 2020-03-24 | 中兴通讯股份有限公司 | Method, device, terminal and storage medium for detecting and controlling to-be-managed application |
CN109753352A (en) * | 2019-01-04 | 2019-05-14 | Oppo广东移动通信有限公司 | Application freezing processing method, electronic device and computer readable storage medium |
CN110691401B (en) * | 2019-08-28 | 2021-04-09 | 华为技术有限公司 | System application management method and device |
CN112445586A (en) | 2019-08-29 | 2021-03-05 | 中兴通讯股份有限公司 | Application management method, device, terminal and readable storage medium |
CN116166112A (en) * | 2021-11-24 | 2023-05-26 | 中兴通讯股份有限公司 | Sensor management and control method, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902583A (en) * | 2011-09-12 | 2013-01-30 | 微软公司 | Managing processes within suspend states and execution states |
CN103699406A (en) * | 2013-12-05 | 2014-04-02 | 广东欧珀移动通信有限公司 | Method and device for intelligently freezing long-term unused applications |
WO2014109487A1 (en) * | 2013-01-08 | 2014-07-17 | 주식회사 한올테크놀로지 | Apparatus for managing application program and method therefor |
CN104317608A (en) * | 2014-09-30 | 2015-01-28 | 北京金山安全软件有限公司 | Management method and device for pre-installed application program in mobile terminal and client |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9104476B2 (en) * | 2010-04-07 | 2015-08-11 | Apple Inc. | Opportunistic multitasking of VOIP applications |
-
2015
- 2015-12-28 CN CN201511001139.9A patent/CN105677460B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902583A (en) * | 2011-09-12 | 2013-01-30 | 微软公司 | Managing processes within suspend states and execution states |
WO2014109487A1 (en) * | 2013-01-08 | 2014-07-17 | 주식회사 한올테크놀로지 | Apparatus for managing application program and method therefor |
CN103699406A (en) * | 2013-12-05 | 2014-04-02 | 广东欧珀移动通信有限公司 | Method and device for intelligently freezing long-term unused applications |
CN104317608A (en) * | 2014-09-30 | 2015-01-28 | 北京金山安全软件有限公司 | Management method and device for pre-installed application program in mobile terminal and client |
Also Published As
Publication number | Publication date |
---|---|
CN105677460A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105677460B (en) | Applied program processing method and device | |
RU2641541C2 (en) | Method for managing intelligent device, terminal and server | |
CN111722824B (en) | Voice control method, device and computer storage medium | |
CN109361593B (en) | Message reminding method, device, mobile terminal and storage medium | |
CN112037787B (en) | Wake-up control method, device and computer readable storage medium | |
CN104951335B (en) | The processing method and processing device of application program installation kit | |
EP3136793A1 (en) | Method and apparatus for awakening electronic device | |
CN107888965B (en) | Image gift display method and device, terminal, system and storage medium | |
CN109658927A (en) | Wake-up processing method, device and the management equipment of smart machine | |
EP3076745B1 (en) | Methods and apparatuses for controlling wireless access point | |
CN106507282B (en) | Wireless connection control method and device | |
CN105263182B (en) | Apparatus control method, device and terminal | |
CN105955441B (en) | Application management method and device | |
CN105979088A (en) | Message pushing method and device | |
CN107204883A (en) | Network failure processing method and device | |
CN109129484A (en) | robot control method, device and storage medium | |
CN106254192A (en) | Reminding method, suggestion device and prompt system | |
CN109565869A (en) | Scheduling request sending method and device | |
CN105653903B (en) | The management method and device of application program permission | |
CN104918253B (en) | Recognition methods, device and the terminal device of false base station | |
CN109379783A (en) | Radio frequency resource distribution method and device | |
CN109522058A (en) | Awakening method, device, terminal and storage medium | |
CN109521923A (en) | Suspension window control method, device and storage medium | |
CN105094966B (en) | Control the method and device of PC | |
CN106231072B (en) | Control method, device and the terminal device of prompting message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |