CN107402783A - Management control method of background application program and user terminal - Google Patents

Management control method of background application program and user terminal Download PDF

Info

Publication number
CN107402783A
CN107402783A CN201710539628.2A CN201710539628A CN107402783A CN 107402783 A CN107402783 A CN 107402783A CN 201710539628 A CN201710539628 A CN 201710539628A CN 107402783 A CN107402783 A CN 107402783A
Authority
CN
China
Prior art keywords
user terminal
background application
currently running
threshold value
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710539628.2A
Other languages
Chinese (zh)
Inventor
刘小兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710539628.2A priority Critical patent/CN107402783A/en
Publication of CN107402783A publication Critical patent/CN107402783A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

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

Abstract

The embodiment of the invention relates to the technical field of communication, and discloses a management control method of a background application program and a user terminal, wherein the method comprises the following steps: detecting whether the user terminal is in a screen locking state; when the user terminal is in a non-screen-locking state, acquiring the total occupied amount of the application program running at the user terminal on the system resources of the user terminal, and managing the background application program running at the user terminal according to a first preset management rule by taking the total occupied amount as a basis; when the user terminal is in a screen locking state, acquiring screen locking duration, and managing a background application program running at the user terminal according to a second preset management rule by taking the screen locking duration as a basis; by implementing the embodiment of the invention, a reasonable management mechanism can be formulated from the space dimension and the time dimension, the background application program is effectively managed, the smooth operation of the user terminal is ensured, and the use experience of the user is enhanced.

Description

The management control method and user terminal of a kind of background application
Technical field
The present invention relates to communication technical field, and in particular to a kind of management control method of background application and user are whole End.
Background technology
User terminal (such as smart mobile phone) is not that hardware performance is better, and overall performance is better, and system optimization is also Influence a big factor of overall performance.User terminal is when in use, it is understood that there may be multiple application programs are run at the same time, and some should With program in front stage operation, other application program is all in running background.But whether be in front stage operation or in running background, Running application program all can occupying system resources, if system resource is occupied too many, user terminal operation will be by Influence, operation has some setbacks and card machine.
The content of the invention
It is existing for solving the embodiment of the invention discloses a kind of management control method of background application and user terminal Have in technology user terminal because system resource it is occupied it is too many cause operation to have some setbacks the problem of.
First aspect present invention discloses a kind of management control method of background application, it may include:
Whether detection user terminal is in screen lock state;
When the user terminal is in non-screen lock state, application program that the user terminal is currently running is obtained to institute Total occupancy of client terminal system resource is stated, using total occupancy as foundation, according to the first default management rule management institute State the background application that user terminal is currently running;
When the user terminal is in screen lock state, screen locking duration is obtained, a length of foundation during with the screen locking, according to the Two default management rules manage the background application that the user terminal is currently running.
As an alternative embodiment, in first aspect present invention, non-screen locking shape is in the user terminal It is described to obtain the total occupancy of application program that the user terminal is currently running to the client terminal system resource during state, Using total occupancy as foundation, the background application journey that the user terminal is currently running is managed according to the first default management rule Sequence, including:
When the user terminal is in non-screen lock state, application program that the user terminal is currently running is obtained to institute State total occupancy of client terminal system resource;
Judge whether total occupancy reaches predetermined threshold value;
When total occupancy reaches the predetermined threshold value, the background application journey that the user terminal is currently running is closed Sequence.
As an alternative embodiment, in first aspect present invention, reach the default threshold in the occupancy During value, the background application closed the user terminal and be currently running, including:
When total occupancy reaches the predetermined threshold value, institute is obtained according to total occupancy and the predetermined threshold value State the recovery threshold value of client terminal system resource;
One or more target background application is determined in the background application being currently running from the user terminal Program, one or more of target background applications are equal to or greatly to the occupancy of the client terminal system resource In the recovery threshold value;
Close one or more of target background applications.
As an alternative embodiment, in first aspect present invention, screen lock state is in the user terminal When, the acquisition screen locking duration, a length of foundation during with the screen locking, the user terminal is managed according to the second default management rule The background application being currently running, including:
When the user terminal is in screen lock state, screen locking duration is obtained;
Judge whether the screen locking duration exceedes preset duration;
When the screen locking duration exceedes the preset duration, the background application journey that the user terminal is currently running is closed Sequence.
As an alternative embodiment, in first aspect present invention, methods described also includes:
When the screen locking duration is less than the preset duration, the background application journey that the user terminal is currently running is obtained Frequency of use of the sequence in special time period;
According to the frequency of use, close frequency of use in the background application that the user terminal is currently running and be less than The background application of predeterminated frequency value.
Second aspect of the present invention discloses a kind of user terminal, it may include:
Detection unit, for detecting whether the user terminal is in screen lock state;
First processing units, for when the user terminal is in non-screen lock state, obtaining the user terminal The application program of operation is to total occupancy of the client terminal system resource, using total occupancy as foundation, according to first Default management rule manages the background application that the user terminal is currently running;
Second processing unit, for when the user terminal is in screen lock state, screen locking duration being obtained, with the screen locking Shi Changwei foundations, the background application being currently running according to the second default management rule management user terminal.
As an alternative embodiment, in second aspect of the present invention, the first processing units include:
First acquisition unit, for when the user terminal is in non-screen lock state, obtaining the user terminal Total occupancy of the application program of operation to the client terminal system resource;
First judging unit, for judging whether total occupancy reaches predetermined threshold value;
First closing unit, for determining that total occupancy reaches the predetermined threshold value in first judging unit When, close the background application that the user terminal is currently running.
As an alternative embodiment, in second aspect of the present invention, first closing unit is used for described When occupancy reaches the predetermined threshold value, the concrete mode for closing the background application that the user terminal is currently running is:
First closing unit is used for when total occupancy reaches the predetermined threshold value, according to total occupancy The recovery threshold value of the client terminal system resource is obtained with the predetermined threshold value;And it is currently running from the user terminal Background application in determine one or more target background application, one or more of targets backstages should The recovery threshold value is equal to or more than to the occupancy of the client terminal system resource with program;And close described one Individual or multiple target background applications.
As an alternative embodiment, in second aspect of the present invention, the second processing unit includes:
Second acquisition unit, for when the user terminal is in screen lock state, obtaining screen locking duration;
Second judging unit, for judging whether the screen locking duration exceedes preset duration;
Second closing unit, for determining that the screen locking duration exceedes the preset duration in second judging unit When, close the background application that the user terminal is currently running.
As an alternative embodiment, in second aspect of the present invention, second closing unit is additionally operable in institute When stating screen locking duration and being less than the preset duration, background application that the user terminal is currently running is obtained in special time Frequency of use in section;And according to the frequency of use, close in the background application that the user terminal is currently running Frequency of use is less than the background application of predeterminated frequency value.
Third aspect present invention discloses a kind of user terminal, it may include:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs as described in relation to the first aspect Background application management control method.
Fourth aspect present invention discloses a kind of computer-readable recording medium, and it is stored based on electronic data interchange Calculation machine program, wherein, the computer program causes computer to perform the management of background application as described in relation to the first aspect Control method.
Compared with prior art, the embodiment of the present invention has the advantages that:
In embodiments of the present invention, first whether detection user terminal is in screen lock state, afterwards, if user terminal is in During non-screen lock state, total occupancy of the application program that is currently running of user terminal to client terminal system resource is obtained, with this Total occupancy is foundation, according to the background application being currently running in the first default management rule managing user terminal;If When user terminal is in screen lock state, screen locking duration is obtained, a length of foundation during with screen locking, according to the second default management rule management The background application that user terminal is currently running.As can be seen that implementing the embodiment of the present invention, it can be in non-in user terminal During screen lock state, from the administrative mechanism of the rational background application of system resource this Spatial Dimension formulation, effectively pipe Background application is managed, when user terminal is in screen lock state, rational background application is formulated from time dimension Administrative mechanism, effective management backstage application program, ensure user terminal operation it is smooth, strengthen the usage experience sense of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the schematic flow sheet of the management control method of background application disclosed in the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of the management control method of background application disclosed in the embodiment of the present invention;
Fig. 3 is another schematic flow sheet of the management control method of background application disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 5 is another structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 6 is another structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 7 is another structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 8 is the related part-structure block diagram of user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
It should be noted that term " first ", " second " in description and claims of this specification etc. is to be used for Different objects is distinguished, rather than for describing particular order.The term " comprising " and " having " of the embodiment of the present invention and he Any deformation, it is intended that cover it is non-exclusive include, for example, contain the process of series of steps or unit, method, System, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include what is do not listed clearly Or for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the invention discloses a kind of management control method of background application, for effective management backstage application Program, ensure that user terminal operation is smooth, strengthen the usage experience sense of user.The embodiment of the present invention also accordingly discloses one kind User terminal.
User terminal disclosed in the embodiment of the present invention can include smart mobile phone, Intelligent worn device, tablet personal computer, individual Digital assistants (Personal Digital Assistant, abbreviation PDA), point-of-sale terminal (Point of Sales, abbreviation POS), any terminal device such as vehicle-mounted computer.User terminal can be communicated by radio communication with network and other equipment, wirelessly Communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), it is Long Term Evolution (Long Term Evolution, LTE), Email, short Messenger service (Short Messaging Service, SMS) etc..
Below by from the angle of user terminal, in conjunction with specific embodiments, technical solution of the present invention is carried out specifically It is bright.
Embodiment one
Referring to Fig. 1, the flow that Fig. 1 is the management control method of background application disclosed in the embodiment of the present invention is illustrated Figure;As shown in figure 1, a kind of management control method of background application may include:
101st, user terminal detects whether it is in screen lock state.Wherein, when user terminal is in non-screen lock state, turn To step 102;When user terminal is in screen lock state, step 103 is turned to.
102nd, user terminal obtains the total occupancy of the application program that is currently running to system resource, using total occupancy as Foundation, the background application being currently running according to the first default management rule management.
Wherein, user terminal can run multiple application programs simultaneously, for example, call application of function, mail transmission/reception Application of function etc..The application program being being currently used is in front stage operation, and other application program majority is in running background.
First default management rule is pre-set in the user terminal.
103rd, user terminal obtains screen locking duration, with a length of foundation during the screen locking, according to the second default management rule management The background application being currently running.
Second default management rule is pre-set in the user terminal.
In embodiments of the present invention, first whether detection user terminal is in screen lock state, afterwards, if user terminal is in During non-screen lock state, total occupancy of the application program that is currently running of user terminal to client terminal system resource is obtained, with this Total occupancy is foundation, according to the background application being currently running in the first default management rule managing user terminal;If When user terminal is in screen lock state, screen locking duration is obtained, a length of foundation during with screen locking, according to the second default management rule management The background application that user terminal is currently running.As can be seen that implementing the embodiment of the present invention, it can be in non-in user terminal During screen lock state, from the administrative mechanism of the rational background application of system resource this Spatial Dimension formulation, effectively pipe Background application is managed, when user terminal is in screen lock state, rational background application is formulated from time dimension Administrative mechanism, effective management backstage application program, ensure user terminal operation it is smooth, strengthen the usage experience sense of user.
Embodiment two
Referring to Fig. 2, Fig. 2 is another flow of the management control method of background application disclosed in the embodiment of the present invention Schematic diagram;As shown in Fig. 2 a kind of management control method of background application may include:
201st, user terminal obtains application program always the accounting for system resource being currently running when in non-screen lock state Dosage.
202nd, user terminal judges whether total occupancy reaches predetermined threshold value.Wherein, reach this in total occupancy to preset During threshold value, step 203 is turned to;When total occupancy is less than the predetermined threshold value, turns to step 201 or waiting preset time Rear steering step 201.
203rd, user terminal obtains the recovery threshold value of system resource according to total occupancy and predetermined threshold value.
Wherein, the calculation formula of the recovery threshold value of system resource is as follows:
The recovery threshold value of system resource=| total occupancy-predetermined threshold value |
What is be calculated by above-mentioned calculation formula is to need the minimum system resource that reclaims, and user terminal needs to pass through pass Closing part point application program is at least to withdraw system resource corresponding to the recovery threshold value.
204th, user terminal determines one or more target background application from the background application being currently running Program, one or more target background application are equal to or more than this time to the occupancy of client terminal system resource Receive threshold value.
As an alternative embodiment, user terminal determined from the background application being currently running one or The multiple target background applications of person specifically include:
User terminal determines that one or more meets the mesh of closedown condition from the background application being currently running Background application is marked, the closedown condition includes the application type of application program.
For example application program is divided into amusement function class application (the QQ sounds that such as Chinese Tengxun releases according to application type It is happy etc.), social functions class application (Twitter that such as U.S. releases), navigation locating function class apply (such as map).That , closedown condition is arranged to the application of amusement function class, the application of social functions class etc..And the application of navigation locating function class is then set For non-closedown condition, if navigation locating function class application is simply briefly switched to backstage by user, user can at any time by It is switched to foreground, and without reopening repositioning, in order to avoid unnecessary operating burden is brought for user.
As another optional embodiment, user terminal determines one from the background application being currently running Or multiple target background applications specifically include:
User terminal determines one according to the closing priority of application program from the background application being currently running Or multiple close the higher target background application of priority.
For example application program is divided into amusement function class application (the QQ sounds that such as Chinese Tengxun releases according to application type It is happy etc.), social functions class application (Twitter that such as U.S. releases), navigation locating function class apply (such as map), can be with The closing priority of the application program of above-mentioned three kinds of function types is arranged to (close priority reduces successively) respectively:Entertain work( The application of energy class, the application of social functions class, the application of navigation locating function class etc..
As another optional embodiment, user terminal determines one from the background application being currently running Or multiple target background applications specifically include:
User terminal extraction system current time, according to the current time in system, from the background application being currently running Determine to meet one or more target background application closed within the current time in system affiliated period.
In the above-described embodiment, beforehand through setting multiple periods, and it is correspondingly arranged each period and can closes The background application closed, so as to intelligently by closing background application, the system resource of user terminal is discharged, Prevent foreground application operation from having some setbacks.
For example, be on duty the period, morning 8:30 to afternoon 5:30, communication function class application (short message, mailbox etc.), social activity The uses such as function class application are more frequent, and the application of amusement function class, the application of navigation locating function class etc. are using fewer, then Preferentially the application of amusement function class, the application of navigation locating function class etc. can be closed in this period.
205th, user terminal closes one or more target background application.
In embodiments of the present invention, user terminal obtains the application program being currently running to system in non-screen lock state Total occupancy of resource, and when total occupancy reaches predetermined threshold value, the recovery threshold value of system resource is obtained, then from Determine one or more target background application in the background application of operation, and close one determined or Multiple target background applications, so as to reclaim the system resource for meeting recovery threshold value, to ensure that user terminal smooth can be transported OK, prevent application program from running card machine, improve user experience sense.
Embodiment three
Referring to Fig. 3, Fig. 3 is another flow of the management control method of background application disclosed in the embodiment of the present invention Schematic diagram;As shown in figure 3, a kind of management control method of background application may include:
301st, when user terminal is in screen lock state, screen locking duration is obtained.
Wherein, user terminal performs screen locking operation, while open and be built in the user terminal when detecting screen locking instruction Timer and start timing, user terminal can periodically from timer read screen locking duration.
302nd, user terminal judges whether the screen locking duration exceedes preset duration.Wherein, exceed in the screen locking duration default During duration, step 303 is turned to;When the screen locking duration is less than preset duration, step 304 is turned to.
303rd, user terminal closes the background application being currently running.
It is appreciated that after screen locking duration exceedes preset duration (such as in night's rest), user terminal can will just Closed in the background application of operation, discharge more system resources for user terminal, can also save the power consumption of user terminal Amount, improve the continuous electric duration of user terminal.
304th, user terminal obtains frequency of use of the background application being currently running in special time period.
After screen locking duration is not above preset duration, user terminal extraction present system time, then from advance division Multiple periods in determine target time section belonging to the present system time, as provided in an embodiment of the present invention specific Period, the history usage record of the background application that is currently running in the special time period is further counted, to count every The frequency of use of one background application.
305th, user terminal is closed frequency of use in the background application being currently running and is less than in advance according to the frequency of use If the background application of frequency values.
As an alternative embodiment, user terminal, which can also obtain background application, is switched to running background Duration, then long one or more background application of the duration for being switched to running background is closed.
As can be seen that in embodiments of the present invention, when user terminal is in screen lock state, screen locking duration is obtained, if Screen locking duration exceedes preset duration, then closes all background applications being currently running, if screen locking duration is also not above Preset duration, then frequency of use of the background application in special time period is obtained, by some frequency of use than after relatively low Platform closing application program, so as to discharge more system resources, the speed of service of user terminal is improved, saves the energy content of battery.
Example IV
Referring to Fig. 4, Fig. 4 is the structural representation of user terminal disclosed in the embodiment of the present invention;It is as shown in figure 4, a kind of User terminal may include:
Detection unit 410, for detecting whether user terminal is in screen lock state;
First processing units 420, for when user terminal is in non-screen lock state, obtaining what user terminal was currently running Application program, using total occupancy as foundation, management rule is preset according to first to total occupancy of client terminal system resource The background application that managing user terminal is currently running;
Second processing unit 430, for when user terminal is in screen lock state, screen locking duration is obtained, during with the screen locking A length of foundation, the background application being currently running according to the second default management rule managing user terminal.
In embodiments of the present invention, detection unit 410 first detects whether user terminal is in screen lock state, afterwards, if When detection unit 410 determines that user terminal is in non-screen lock state, first processing units 420 obtain what user terminal was currently running Application program, using total occupancy as foundation, management rule is preset according to first to total occupancy of client terminal system resource The background application being currently running in managing user terminal;If detection unit 410 determines that user terminal is in screen lock state When, second processing unit 430 obtains screen locking duration, a length of foundation during with screen locking, according to the second default management rule management user The background application that terminal is currently running.As can be seen that implementing the embodiment of the present invention, non-screen locking can be in user terminal During state, the administrative mechanism of rational background application is formulated from system resource this Spatial Dimension, effectively after management Platform application program, when user terminal is in screen lock state, the pipe of rational background application is formulated from time dimension Reason mechanism, effective management backstage application program, ensure that user terminal operation is smooth, strengthen the usage experience sense of user.
It is understood that the user terminal shown in Fig. 4 can be used for performing the background application shown in step 101- steps 103 The management control method of program.
Embodiment five
Referring to Fig. 5, Fig. 5 is another structural representation of user terminal disclosed in the embodiment of the present invention;Shown in Fig. 5 User terminal is to optimize what is obtained on the basis of the user terminal shown in Fig. 4, and in the user terminal shown in Fig. 5, this One processing unit 420 specifically includes:
First acquisition unit 510, for when user terminal is in non-screen lock state, obtaining what user terminal was currently running Total occupancy of the application program to client terminal system resource;
First judging unit 520, for judging whether total occupancy reaches predetermined threshold value;
First closing unit 530, for when the first judging unit 520 determines that total occupancy reaches predetermined threshold value, closing Close the background application that user terminal is currently running.
As an alternative embodiment, above-mentioned first closing unit 530 is used to reach predetermined threshold value in the occupancy When, the concrete mode for closing the background application that user terminal is currently running is:
Above-mentioned first closing unit 530 is used for when total occupancy reaches predetermined threshold value, according to total occupancy and in advance If threshold value obtains the recovery threshold value of client terminal system resource;And in the background application being currently running from user terminal One or more target background application is determined, one or more target background application is to user terminal system The occupancy for resource of uniting is equal to or more than recovery threshold value;And close one or more target background application.
Further, above-mentioned first closing unit 530 is used to determine one from the background application being currently running Or multiple target background applications for meeting closedown condition, the closedown condition include the application type of application program.
Or further, above-mentioned first closing unit 530 is used for according to the closing priority of application program, from being currently running Background application in determine that one or more closes the higher target background application of priority.
Or further, above-mentioned first closing unit 530 is used for extraction system current time, according to the current time in system, Determine to meet from the background application being currently running closed within the current time in system affiliated period one or The multiple target background applications of person.
It is understood that the user terminal shown in Fig. 5 can be used for performing the background application shown in step 201- steps 205 The management control method of program.
Embodiment six
Referring to Fig. 6, Fig. 6 is another structural representation of user terminal disclosed in the embodiment of the present invention;Shown in Fig. 6 User terminal is to optimize what is obtained on the basis of the user terminal shown in Fig. 4, and in the user terminal shown in Fig. 6, this Two processing units 430 specifically include:
Second acquisition unit 610, for when user terminal is in screen lock state, obtaining screen locking duration;
Second judging unit 620, for judging whether the screen locking duration exceedes preset duration;
Second closing unit 630, for when the second judging unit 620 determines that the screen locking duration exceedes preset duration, closing Close the background application that user terminal is currently running.
Preset as an alternative embodiment, above-mentioned second closing unit 630 is additionally operable to be less than in the screen locking duration During duration, frequency of use of the background application that is currently running of user terminal in special time period is obtained;And according to this Frequency of use, close the background application that frequency of use in the background application that user terminal is currently running is less than predeterminated frequency value Program.
Further, above-mentioned second closing unit 630 is used to extract present system time, then multiple from what is divided in advance The target time section belonging to the present system time is determined in period, as special time provided in an embodiment of the present invention Section, the history usage record of the background application that is currently running in the special time period is further counted, to count each The frequency of use of background application.
As an alternative embodiment, above-mentioned second closing unit 630 can be also used for obtaining background application The duration of running background is switched to, then should by one or more long backstage of the duration for being switched to running background Use stop.
It is understood that the user terminal shown in Fig. 6 can be used for performing the background application shown in step 301- steps 305 The management control method of program.
Embodiment seven
Referring to Fig. 7, Fig. 7 is another structural representation of user terminal disclosed in the embodiment of the present invention;Use shown in Fig. 7 Family terminal may include:At least one processor 710, such as CPU, memory 720, at least one communication bus 730, input unit 740, output device 750.Wherein, communication bus 730 is used to realize the communication connection between these components.Memory 720 can be with It is high-speed RAM memory or non-labile memory (non-volatile memory), a for example, at least magnetic Disk storage.Memory 720 optionally can also be at least one storage device for being located remotely from aforementioned processor 710.Wherein, Processor 710 can store batch processing code, and handle with reference to the user terminal described by Fig. 4 to Fig. 6 in memory 720 Device 710 calls the program code stored in memory 720, for performing following operation:
Whether detection user terminal is in screen lock state;
When the user terminal is in non-screen lock state, application program that the user terminal is currently running is obtained to institute Total occupancy of client terminal system resource is stated, using total occupancy as foundation, according to the first default management rule management institute State the background application that user terminal is currently running;
When the user terminal is in screen lock state, screen locking duration is obtained, a length of foundation during with the screen locking, according to the Two default management rules manage the background application that the user terminal is currently running.
Alternatively, above-mentioned processor 710 is additionally operable to perform following operation:
When the user terminal is in non-screen lock state, application program that the user terminal is currently running is obtained to institute State total occupancy of client terminal system resource;
Judge whether total occupancy reaches predetermined threshold value;
When total occupancy reaches the predetermined threshold value, the background application journey that the user terminal is currently running is closed Sequence.
Alternatively, above-mentioned processor 710 is additionally operable to perform following operation:
When total occupancy reaches the predetermined threshold value, institute is obtained according to total occupancy and the predetermined threshold value State the recovery threshold value of client terminal system resource;
One or more target background application is determined in the background application being currently running from the user terminal Program, one or more of target background applications are equal to or greatly to the occupancy of the client terminal system resource In the recovery threshold value;
Close one or more of target background applications.
Alternatively, above-mentioned processor 710 is additionally operable to perform following operation:
When the user terminal is in screen lock state, screen locking duration is obtained;
Judge whether the screen locking duration exceedes preset duration;
When the screen locking duration exceedes the preset duration, the background application journey that the user terminal is currently running is closed Sequence.
Alternatively, above-mentioned processor 710 is additionally operable to perform following operation:
When the screen locking duration is less than the preset duration, the background application journey that the user terminal is currently running is obtained Frequency of use of the sequence in special time period;
According to the frequency of use, close frequency of use in the background application that the user terminal is currently running and be less than The background application of predeterminated frequency value.
Embodiment eight
Referring to Fig. 8, Fig. 8 is the related part-structure block diagram of user terminal disclosed in the embodiment of the present invention.Refer to figure 8, the user terminal includes:Radio frequency (Radio Frequency, abbreviation RF) circuit 10, memory 20, input block 30, display Unit 40, sensor 50, voicefrequency circuit 60, Wireless Fidelity (Wireless Fidelity, abbreviation WiFi) module 70, processor The part such as 80 and power supply 90.It will be understood by those skilled in the art that the user terminal structure shown in Fig. 8 is not formed pair The restriction of user terminal, it can include than illustrating more or less parts, either combine some parts or different parts Arrangement.
Each component parts of user terminal is specifically introduced with reference to Fig. 8:
RF circuits 10 can be used for the reception and transmission of information.Generally, RF circuits 10 include but is not limited to antenna, at least one Amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF Circuit 10 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication standard Or agreement, including but not limited to GSM, GPRS, CDMA, WCDMA, LTE, Email, Short Message Service (Short Messaging Service, abbreviation SMS) etc..
Memory 20 can be used for storage software program and module, and processor 80 is stored in the soft of memory 20 by operation Part program and module, so as to perform the various function application of user terminal and data processing.Memory 20 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as application interface display function, call function etc.) etc.;Storage data field can store the use according to user terminal Data (such as the first default management rule, second default management rule etc.) created etc..In addition, memory 20 can include High-speed random access memory, nonvolatile memory, for example, at least disk memory, a flash memories can also be included Part or other volatile solid-state parts.
Input block 30 can be used for the numeral or character information for receiving input, and produces and set with the user of user terminal And the key signals input that function control is relevant.Specifically, input block 30 may include fingerprint recognition module 31 and other are defeated Enter equipment 32.Fingerprint recognition module 31, user can be gathered in finger print data thereon.Optionally, fingerprint recognition module 31 can wrap Include optical fingerprint module, capacitance type fingerprint module and RF-type fingerprint module.Referred to fingerprint recognition module 31 for condenser type Exemplified by line identification module, induction electrode (n1 abnormal induction electrodes and n2 normal induction electrode) and and induced electricity are specifically included The signal processing circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.) of pole connection.Except fingerprint recognition Module 31, input block 30 can also include other input equipments 32.Specifically, other input equipments 32 can include but unlimited One kind in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. or It is a variety of.
Display unit 40 can be used for showing the information inputted by user or be supplied to the information of user and use user terminal Various menus.Display unit 40 may include display screen 41, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 41.Although in fig. 8, fingerprint recognition module 31 and display screen 41 are the parts independent as two to realize user terminal Input and input function, it is but in some embodiments it is possible to fingerprint recognition module 31 and display screen 41 is integrated and realize The input of user terminal and output function.
User terminal may also include at least one sensor 50, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display screen 41, and proximity transducer can close display screen when user terminal is moved in one's ear 41 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and accelerate The size of degree, size and the direction of gravity are can detect that when static, the application available for identification user terminal posture is (such as vertical and horizontal Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for user The other sensors such as gyroscope that terminal can also configure, barometer, hygrometer, thermometer, infrared ray sensor, it is no longer superfluous herein State.
Voicefrequency circuit 60, loudspeaker 61, microphone 62 can provide the COBBAIF between user and user terminal.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 61 by road 60, and sound letter is converted to by loudspeaker 61 Number output;On the other hand, the voice signal of collection is converted to electric signal by microphone 62, is converted to after being received by voicefrequency circuit 60 Voice data, then after voice data output processor 80 is handled, through RF circuits 10 to be sent to such as another terminal device, or Person exports voice data to memory 20 further to handle.
WiFi belongs to short range wireless transmission technology, and user terminal can help user's transceiver electronicses by WiFi module 70 Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 8 is shown WiFi module 70, but it is understood that, it is simultaneously not belonging to must be configured into for user terminal, can exist as needed completely Do not change in the essential scope of invention and omit.
Processor 80 is the control centre of user terminal, utilizes each of various interfaces and the whole user terminal of connection Part, by running or performing the software program and/or module that are stored in memory 20, and call and be stored in memory 20 Interior data, the various functions and processing data of user terminal are performed, so as to carry out integral monitoring to user terminal.Optionally, Processor 80 may include one or more processing units;Preferably, processor 80 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 80.
User terminal also includes the power supply 90 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 80 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, user terminal can also include camera, bluetooth module etc., will not be repeated here.
In embodiment shown in earlier figures 1, Fig. 2 and Fig. 3, each step method flow can the structure based on the user terminal Realize.
Earlier figures 4 into the embodiment shown in Fig. 6, each unit function can based on the user terminal structure realize.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage, Or it can be used in any other computer-readable medium of carrying or data storage.
The management control method of a kind of background application disclosed in the embodiment of the present invention and user terminal are carried out above It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, above example Explanation be only intended to help understand the present invention method and its core concept;Meanwhile for those of ordinary skill in the art, According to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, in this specification Appearance should not be construed as limiting the invention.

Claims (12)

  1. A kind of 1. management control method of background application, it is characterised in that including:
    Whether detection user terminal is in screen lock state;
    When the user terminal is in non-screen lock state, application program that the user terminal is currently running is obtained to the use Total occupancy of family terminal system resource, using total occupancy as foundation, the use is managed according to the first default management rule The background application that family terminal is currently running;
    When the user terminal is in screen lock state, screen locking duration is obtained, a length of foundation during with the screen locking is pre- according to second If management rule manages the background application that the user terminal is currently running.
  2. 2. according to the method for claim 1, it is characterised in that described when the user terminal is in non-screen lock state Application program that the user terminal is currently running is obtained to total occupancy of the client terminal system resource, is always accounted for described Dosage is foundation, the background application being currently running according to the first default management rule management user terminal, including:
    When the user terminal is in non-screen lock state, application program that the user terminal is currently running is obtained to the use Total occupancy of family terminal system resource;
    Judge whether total occupancy reaches predetermined threshold value;
    When total occupancy reaches the predetermined threshold value, the background application that the user terminal is currently running is closed.
  3. 3. according to the method for claim 2, it is characterised in that described when the occupancy reaches the predetermined threshold value The background application that the user terminal is currently running is closed, including:
    When total occupancy reaches the predetermined threshold value, the use is obtained according to total occupancy and the predetermined threshold value The recovery threshold value of family terminal system resource;
    One or more target background application is determined in the background application being currently running from the user terminal, One or more of target background applications are equal to or more than institute to the occupancy of the client terminal system resource State recovery threshold value;
    Close one or more of target background applications.
  4. 4. according to the method for claim 1, it is characterised in that described to obtain when the user terminal is in screen lock state Screen locking duration is taken, a length of foundation during with the screen locking, the user terminal is managed according to the second default management rule and is currently running Background application, including:
    When the user terminal is in screen lock state, screen locking duration is obtained;
    Judge whether the screen locking duration exceedes preset duration;
    When the screen locking duration exceedes the preset duration, the background application that the user terminal is currently running is closed.
  5. 5. according to the method for claim 4, it is characterised in that methods described also includes:
    When the screen locking duration is less than the preset duration, obtains the background application that the user terminal is currently running and exist Frequency of use in special time period;
    According to the frequency of use, close frequency of use in the background application that the user terminal is currently running be less than it is default The background application of frequency values.
  6. A kind of 6. user terminal, it is characterised in that including:
    Detection unit, for detecting whether the user terminal is in screen lock state;
    First processing units, for when the user terminal is in non-screen lock state, obtaining the user terminal and being currently running Application program to total occupancy of the client terminal system resource, it is default according to first using total occupancy as foundation Management rule manages the background application that the user terminal is currently running;
    Second processing unit, for when the user terminal is in screen lock state, screen locking duration being obtained, with the screen locking duration For foundation, the background application being currently running according to the second default management rule management user terminal.
  7. 7. user terminal according to claim 6, it is characterised in that the first processing units include:
    First acquisition unit, for when the user terminal is in non-screen lock state, obtaining the user terminal and being currently running Application program to total occupancy of the client terminal system resource;
    First judging unit, for judging whether total occupancy reaches predetermined threshold value;
    First closing unit, for when first judging unit determines that total occupancy reaches the predetermined threshold value, closing Close the background application that the user terminal is currently running.
  8. 8. user terminal according to claim 7, it is characterised in that first closing unit is used in the occupancy When reaching the predetermined threshold value, the concrete mode for closing the background application that the user terminal is currently running is:
    First closing unit is used for when total occupancy reaches the predetermined threshold value, according to total occupancy and institute State the recovery threshold value that predetermined threshold value obtains the client terminal system resource;And after the user terminal is currently running One or more target background application, one or more of target background application journeys are determined in platform application program The occupancy of client terminal system resource described in ordered pair is equal to or more than the recovery threshold value;And close it is one or The multiple target background applications of person.
  9. 9. user terminal according to claim 6, it is characterised in that the second processing unit includes:
    Second acquisition unit, for when the user terminal is in screen lock state, obtaining screen locking duration;
    Second judging unit, for judging whether the screen locking duration exceedes preset duration;
    Second closing unit, for when second judging unit determines that the screen locking duration exceedes the preset duration, closing Close the background application that the user terminal is currently running.
  10. 10. user terminal according to claim 9, it is characterised in that
    Second closing unit is additionally operable to, when the screen locking duration is less than the preset duration, obtaining the user terminal just In frequency of use of the background application in special time period of operation;And according to the frequency of use, close the use Frequency of use is less than the background application of predeterminated frequency value in the background application that family terminal is currently running.
  11. A kind of 11. user terminal, it is characterised in that including:
    It is stored with the memory of executable program code;
    The processor coupled with the memory;
    The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the management control method of the background application described in 5 any one.
  12. A kind of 12. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the background application journey as described in claim 1 to any one of claim 5 The management control method of sequence.
CN201710539628.2A 2017-07-04 2017-07-04 Management control method of background application program and user terminal Pending CN107402783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710539628.2A CN107402783A (en) 2017-07-04 2017-07-04 Management control method of background application program and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710539628.2A CN107402783A (en) 2017-07-04 2017-07-04 Management control method of background application program and user terminal

Publications (1)

Publication Number Publication Date
CN107402783A true CN107402783A (en) 2017-11-28

Family

ID=60404870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710539628.2A Pending CN107402783A (en) 2017-07-04 2017-07-04 Management control method of background application program and user terminal

Country Status (1)

Country Link
CN (1) CN107402783A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235238A (en) * 2017-12-29 2018-06-29 珠海市魅族科技有限公司 Position reminding method and device, computer installation and computer readable storage medium
CN108665963A (en) * 2018-05-15 2018-10-16 上海商汤智能科技有限公司 A kind of image data analysis method and relevant device
CN109189516A (en) * 2018-07-25 2019-01-11 维沃移动通信有限公司 A kind of application control method and terminal device
CN110046032A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN110045809A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
CN110134219A (en) * 2019-05-13 2019-08-16 深圳传音通讯有限公司 Application program backstage power consumption processing method and processing device
CN110358011A (en) * 2018-04-10 2019-10-22 北京砼帮汇科技有限公司 A kind of cement water reducing agent
CN112530192A (en) * 2019-09-18 2021-03-19 北京奇虎科技有限公司 Road condition display method and device in screen locking state

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN103220427A (en) * 2013-04-16 2013-07-24 广东欧珀移动通信有限公司 Mobile phone background program cleaning method and mobile phone
CN103324500A (en) * 2013-05-06 2013-09-25 广州市动景计算机科技有限公司 Method and device for recycling internal memory
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal
CN106502371A (en) * 2016-11-08 2017-03-15 珠海市魅族科技有限公司 A kind of electricity-saving control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN103220427A (en) * 2013-04-16 2013-07-24 广东欧珀移动通信有限公司 Mobile phone background program cleaning method and mobile phone
CN103324500A (en) * 2013-05-06 2013-09-25 广州市动景计算机科技有限公司 Method and device for recycling internal memory
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal
CN106502371A (en) * 2016-11-08 2017-03-15 珠海市魅族科技有限公司 A kind of electricity-saving control method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235238A (en) * 2017-12-29 2018-06-29 珠海市魅族科技有限公司 Position reminding method and device, computer installation and computer readable storage medium
CN110046032A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN110045809A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
CN110358011A (en) * 2018-04-10 2019-10-22 北京砼帮汇科技有限公司 A kind of cement water reducing agent
CN108665963A (en) * 2018-05-15 2018-10-16 上海商汤智能科技有限公司 A kind of image data analysis method and relevant device
CN109189516A (en) * 2018-07-25 2019-01-11 维沃移动通信有限公司 A kind of application control method and terminal device
CN110134219A (en) * 2019-05-13 2019-08-16 深圳传音通讯有限公司 Application program backstage power consumption processing method and processing device
CN110134219B (en) * 2019-05-13 2024-03-19 深圳传音通讯有限公司 Application program background power consumption processing method and device
CN112530192A (en) * 2019-09-18 2021-03-19 北京奇虎科技有限公司 Road condition display method and device in screen locking state
CN112530192B (en) * 2019-09-18 2023-05-26 三六零科技集团有限公司 Road condition display method and device in screen locking state

Similar Documents

Publication Publication Date Title
CN107402783A (en) Management control method of background application program and user terminal
CN103594103B (en) Audio-frequency processing method and relevant apparatus
CN107087053B (en) A kind of screen backlight control method and mobile terminal
CN107146616A (en) Apparatus control method and Related product
CN107272872A (en) Electricity-saving control method and Related product
CN106022073A (en) Unlocking control method and mobile terminal
CN107657222A (en) Face identification method and Related product
CN107292235B (en) fingerprint acquisition method and related product
CN105975834B (en) A kind of unlocked by fingerprint control method and equipment
CN106022061B (en) A kind of solution lock control method and mobile terminal
CN107277230A (en) The voice broadcast method and Related product of message
CN107193472B (en) Unlocking control method and related product
CN106022062A (en) Unlocking method and mobile terminal
CN106022071A (en) Fingerprint unlocking method and terminal
CN104519262A (en) Method, device for acquiring video data, and terminal
CN106055953A (en) Unlocking control method and mobile terminal
CN107451450A (en) Biometric discrimination method and Related product
CN107770478A (en) video call method and related product
CN107329778A (en) The method and Related product of system update
CN106576123A (en) A method, an apparatus and an electronic device for controlling an electronic device
CN106055951A (en) Fingerprint unlocking control method and terminal equipment
CN107870874A (en) A kind of data write-in control method and storage device
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN106844135B (en) Temperature monitoring method and device of mobile terminal and mobile terminal
CN107272985A (en) Notification message processing method and related product

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171128