CN106155788A - A kind of application program freezing method and terminal unit - Google Patents

A kind of application program freezing method and terminal unit Download PDF

Info

Publication number
CN106155788A
CN106155788A CN201610490525.7A CN201610490525A CN106155788A CN 106155788 A CN106155788 A CN 106155788A CN 201610490525 A CN201610490525 A CN 201610490525A CN 106155788 A CN106155788 A CN 106155788A
Authority
CN
China
Prior art keywords
terminal unit
described
application
time
application program
Prior art date
Application number
CN201610490525.7A
Other languages
Chinese (zh)
Inventor
成赞
强李雪
喻茜
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Priority to CN201610490525.7A priority Critical patent/CN106155788A/en
Publication of CN106155788A publication Critical patent/CN106155788A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 – G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing
    • Y02D10/20Reducing energy consumption by means of multiprocessor or multiprocessing based techniques, other than acting upon the power supply
    • Y02D10/24Scheduling

Abstract

The present embodiments relate to field of terminal technology, disclose a kind of application program freezing method and terminal unit.Wherein, the method includes: terminal unit monitors whether this terminal unit is switched to holding state by wake-up states;Time if terminal unit is switched to holding state by wake-up states, then after statistics enters holding state;Terminal unit judges whether the time after entering holding state exceedes default stand-by time threshold value;If the time after entrance holding state exceedes default stand-by time threshold value, then terminal unit judges currently whether be in Preset Time interval according to system time;If it is interval to be currently at Preset Time, then terminal unit freezes destination application, makes that destination application is out of service maybe can not be started.Implement the embodiment of the present invention, can prevent the prompting message of application program from bothering user, and the application program freezed can not start or running background voluntarily with the application program in automatic stay terminal unit, thus save mobile phone electricity.

Description

A kind of application program freezing method and terminal unit

Technical field

The present invention relates to field of terminal technology, particularly relate to a kind of application program freezing method and terminal unit.

Background technology

Along with the continuous renewal of terminal unit technology is regenerated, as smart mobile phone, panel computer, personal digital assistant Terminal units such as (Personal Digital Assistant, PDA) is more and more universal, and people adapt to utilize various terminal to set Standby carry out entertaining, exchange or the activity such as office.The life for people that is widely used in of terminal unit brings the most easily Meanwhile, a lot of negative effect is also brought.For example, the prompting message of application program in smart mobile phone, sound, vibration can be sent Or light screen to point out user to push content check, if user have a rest, the most easily waken up with a start by prompting message or Bother.In addition, owing to application program can be not intended to Accreditation System event, it is waken up when event occurs and runs, this Result in user may not operate, just have some unwanted application programs situation at running background, consume hands Dynamo-electric amount and data traffic.

Summary of the invention

Embodiments provide a kind of application program freezing method and terminal unit, can be with automatic stay terminal unit In application program, prevent the prompting message of application program from bothering user, and the application program freezed can not start voluntarily or Running background, thus mobile phone electricity and data traffic can be saved.

Embodiment of the present invention first aspect discloses a kind of application program freezing method, including:

Terminal unit monitors whether this terminal unit is switched to holding state by wake-up states;

If described terminal unit is switched to holding state by wake-up states, the most described terminal unit statistics enters holding state After time;

Whether the time after described terminal unit judges described entrance holding state exceedes default stand-by time threshold value;

If the time after described entrance holding state exceedes default stand-by time threshold value, the most described terminal unit is according to being Whether the judgement of system time is currently in default time interval;

If being currently at default time interval, the most described terminal unit freezes destination application, makes described target answer Run with program stopped and maybe can not start.

As the optional embodiment of one, described default time interval is the time interval of user setup;Or,

Described default time interval is described terminal unit according to time zone, place, is arranged by the night hours in time zone, place For described default time interval.

As the optional embodiment of one, described destination application is the application program needing to carry out network service; Or,

Described destination application is the application program with running background function;Or,

Described destination application is other application programs on described terminal unit in addition to system is applied.

As the optional embodiment of one, described terminal unit freezes destination application, makes described intended application journey Sequence is out of service maybe can not start after, described method also includes:

Described terminal unit query exception list of application, thaws the application program in described exception list of application, makes institute The application program stated in exception list of application continues to run with and maybe can start;

Described terminal unit opens the prompting message of the application program in described exception list of application.

As the optional embodiment of one, described terminal unit freezes destination application, makes described intended application journey Sequence is out of service maybe can not start after, described method also includes:

When user unlocks described terminal unit, the described terminal unit described destination application of defrosting, make described target Application program continues to run with and maybe can start.

Embodiment of the present invention second aspect discloses a kind of terminal unit, including:

Monitoring means, is used for monitoring whether this terminal unit is switched to holding state by wake-up states;

Statistic unit, for when this terminal unit is switched to holding state by wake-up states, statistics enters holding state After time;

First judging unit, is used for whether the time after judging described entrance holding state exceedes default stand-by time threshold Value;

Second judging unit, is used for when the time after described entrance holding state exceedes default stand-by time threshold value, Judge currently whether be in default time interval according to system time;

Freezing unit, in time being currently at default time interval, freezes destination application, makes described intended application Program stopped runs and maybe can not start.

As the optional embodiment of one, described default time interval is the time interval of user setup;Or,

Described default time interval is described terminal unit according to time zone, place, is arranged by the night hours in time zone, place For described default time interval.

As the optional embodiment of one, described destination application is the application program needing to carry out network service; Or,

Described destination application is the application program with running background function;Or,

Described destination application is other application programs on described terminal unit in addition to system is applied.

As the optional embodiment of one, described terminal unit also includes:

Query unit, for query exception list of application;

First defrosting unit, for being thawed by the application program in described exception list of application, makes described exception application row Application program in table continues to run with and maybe can start;

Open unit, for opening the prompting message of the application program in described exception list of application.

As the optional embodiment of one, described terminal unit also includes:

Second defrosting unit, for when user unlocks described terminal unit, thaw described destination application, makes described Destination application continues to run with and maybe can start.

As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that

In the embodiment of the present invention, terminal unit monitors whether this terminal unit is switched to holding state by wake-up states;If Described terminal unit is switched to holding state by wake-up states, and the most described terminal unit statistics enters the time after holding state; Whether the time after described terminal unit judges described entrance holding state exceedes default stand-by time threshold value;If described entrance Time after holding state exceedes default stand-by time threshold value, and the most described terminal unit judges according to system time It is in default time interval;If being currently at default time interval, the most described terminal unit freezes destination application, makes Described destination application is out of service maybe can not be started.As can be seen here, implement the embodiment of the present invention, can be with automatic stay terminal Application program in equipment, prevents the prompting message of application program from bothering user, and the application program freezed can not open voluntarily Move or running background, thus mobile phone electricity and data traffic can be saved.

Accompanying drawing explanation

For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing briefly introduce, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for this From the point of view of the those of ordinary skill in field, on the premise of not paying creative work, it is also possible to obtain it according to these accompanying drawings His accompanying drawing.

Fig. 1 is the schematic flow sheet of a kind of application program freezing method disclosed in the embodiment of the present invention;

Fig. 2 is the schematic flow sheet of another kind of application program freezing method disclosed in the embodiment of the present invention;

Fig. 3 is the structural representation of a kind of terminal unit disclosed in the embodiment of the present invention;

Fig. 4 is the structural representation of another kind of terminal unit disclosed in the embodiment of the present invention;

Fig. 5 is the structural representation of the embodiment of the present invention another terminal unit disclosed.

Detailed description of the invention

In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the present invention made into One step ground describes in detail, it is clear that described embodiment is only some embodiments of the present invention rather than whole enforcement Example.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise All other embodiments, broadly fall into the scope of protection of the invention.

Embodiments provide a kind of application program freezing method and terminal unit, can be with automatic stay terminal unit In application program, prevent the prompting message of application program from bothering user, and the application program freezed can not start voluntarily or Running background, thus mobile phone electricity and data traffic can be saved.It is described in detail individually below.

Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of application program freezing method disclosed in the embodiment of the present invention.Its In, the application program freezing method shown in Fig. 1 may comprise steps of:

101, terminal unit monitors whether this terminal unit is switched to holding state by wake-up states.

In the embodiment of the present invention, above-mentioned terminal unit can be smart mobile phone, intelligent watch, palm PC, panel computer, individual Personal digital assistant (Personal Digital Assistant, PDA), point-of-sale terminal (Point of Sales, POS) etc., this Inventive embodiments is follow-up not to be repeated.

In the embodiment of the present invention, when user locks the screen of terminal unit, or terminal unit is not carried out by a period of time During the operation automatic lock-screen of terminal unit, terminal unit is switched to holding state by wake-up states, in the standby state, and terminal In equipment, part networking program can disconnect network releasing memory, to reduce the power consumption of terminal unit.But, also there is the biggest one Point application program, in order to provide real-time data message, when terminal unit is holding state, still keep network to connect or after Platform runs.

As the optional embodiment of one, whether the display screen of terminal unit monitoring terminal equipment is locked, to determine Whether this terminal unit is switched to holding state by wake-up states.

Time if 102 terminal units are switched to holding state by wake-up states, then after statistics enters holding state.

In the embodiment of the present invention, terminal unit enters the time after holding state relatively for a long time, represents user when this section In do not frequently use terminal unit, thus user is likely to be at resting state or is absorbed in other things.Thus, this In the case of, it may be considered that freeze the application program in terminal unit, prevent the reminder message of application program from bothering user, and Save electricity and the data traffic of terminal unit.Therefore, it can pre-set stand-by time threshold value, terminal unit is by wake-up states After being switched to holding state, terminal unit statistics enters the time after holding state, if the time after holding state that enters exceedes The stand-by time threshold value preset, then terminal unit can consider to freeze application program.

103, terminal unit judges whether the time after entering holding state exceedes default stand-by time threshold value.

In the embodiment of the present invention, can pre-set stand-by time threshold value, terminal unit is switched to standby by wake-up states After state, terminal unit statistics enters the time after holding state, if the time after holding state that enters exceedes default standby Time threshold, then terminal unit can consider to freeze application program so that it is out of service maybe can not start.

If the time after 104 entrance holding states exceedes default stand-by time threshold value, then when terminal unit is according to system Between judge currently whether be in default time interval.

In the embodiment of the present invention, terminal unit first judge the time after holding state that enters whether exceed default standby time Between threshold value, if terminal unit enters the time after holding state and exceedes default stand-by time threshold value, then infer that user currently locates In resting state or be absorbed in other things, temporarily need not use terminal unit.After this, when terminal unit obtains system Between, it is judged that whether current time is in default time interval.

As the optional embodiment of one, above-mentioned default time interval is the time interval of user setup.User can According to self-demand, to accompany the time of household, the most routine gym time etc. to arrange workaday working time, weekend For default time interval, user's this terminal unit of less use within this time period preset, this terminal even can not be used Equipment, thus can consider to freeze the application program in terminal unit so that it is out of service maybe can not start.

Or, above-mentioned default time interval be terminal unit according to time zone, place, the night hours in time zone, place is set It is set to the time interval preset.User is after entering sleep night, and the notification message of the application program in terminal unit sends Sound, vibrate and light screen etc. and may affect user and have a rest, thus can consider to freeze the application program in terminal unit Knot so that it is out of service maybe can not start.

If 105 are currently at default time interval, then terminal unit freezes destination application, makes intended application journey Sequence is out of service maybe can not be started.

In the embodiment of the present invention, terminal unit first judges whether the time entering holding state exceedes preset time threshold, If meeting, then judging that current time is the most interval at Preset Time, if this condition also meets, then presumption user does not the most use this Terminal unit, freezes the destination application in terminal unit, makes that destination application is out of service maybe can not be started.

As the optional embodiment of one, above-mentioned destination application is the application program needing to carry out network service. After above-mentioned target program is freezed by terminal unit, these application programs are out of service maybe can not be started, thus cannot network and carry out Data interaction, thus the consumption of the data traffic avoided non-user actively to use and cause.

As the optional embodiment of one, above-mentioned destination application is the application program with running background function. After above-mentioned target program is freezed by terminal unit, these application programs are out of service maybe can not be started, thus cannot transport on backstage OK, thus save the internal memory of terminal unit, and reduce power consumption, play the effect saving terminal unit electricity.

As the optional embodiment of one, above-mentioned destination application is its on terminal unit in addition to system is applied His application program.After every other application program in addition to system application is freezed by terminal unit, set greatly reducing terminal Standby power consumption, makes terminal unit power consumption low, and stand-by time is longer.

As can be seen here, implement the method described by Fig. 1, can be with the application program in automatic stay terminal unit, preventing should Bother user with the prompting message of program, and the application program freezed can not start or running background voluntarily, thus can save Province-hand's electromechanics amount and data traffic.

Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of application program freezing method disclosed in the embodiment of the present invention. As in figure 2 it is shown, the method may comprise steps of:

201, terminal unit monitors whether this terminal unit is switched to holding state by wake-up states.

In the embodiment of the present invention, when user locks the screen of terminal unit, or terminal unit is not carried out by a period of time During the operation automatic lock-screen of terminal unit, terminal unit is switched to holding state by wake-up states, in the standby state, and terminal In equipment, part networking program can disconnect network releasing memory, to reduce the power consumption of terminal unit.But, also there is the biggest one Point application program, in order to provide real-time data message, when terminal unit is holding state, still keep network to connect or after Platform runs.

As the optional embodiment of one, whether the display screen of terminal unit monitoring terminal equipment is locked, to determine Whether this terminal unit is switched to holding state by wake-up states.

Time if 202 terminal units are switched to holding state by wake-up states, then after statistics enters holding state.

In the embodiment of the present invention, terminal unit enters the time after holding state relatively for a long time, represents user when this section In do not frequently use terminal unit, thus user is likely to be at resting state or is absorbed in other things.Thus, this In the case of, it may be considered that freeze the application program in terminal unit, prevent the reminder message of application program from bothering user, and Save electricity and the data traffic of terminal unit.Therefore, it can pre-set stand-by time threshold value, terminal unit is by wake-up states After being switched to holding state, terminal unit statistics enters the time after holding state, if the time after holding state that enters exceedes The stand-by time threshold value preset, then terminal unit can consider to freeze application program.

203, terminal unit judges whether the time after entering holding state exceedes default stand-by time threshold value.

In the embodiment of the present invention, can pre-set stand-by time threshold value, terminal unit is switched to standby by wake-up states After state, terminal unit statistics enters the time after holding state, if the time after holding state that enters exceedes default standby Time threshold, then terminal unit can consider to freeze application program so that it is out of service maybe can not start.

If the time after 204 entrance holding states exceedes default stand-by time threshold value, then when terminal unit is according to system Between judge currently whether be in default time interval.

In the embodiment of the present invention, terminal unit first judge the time after holding state that enters whether exceed default standby time Between threshold value, if terminal unit enters the time after holding state and exceedes default stand-by time threshold value, then infer that user currently locates In resting state or be absorbed in other things, temporarily need not use terminal unit.After this, when terminal unit obtains system Between, it is judged that whether current time is in default time interval.

As the optional embodiment of one, above-mentioned default time interval is the time interval of user setup.User can According to self-demand, to accompany the time of household, the most routine gym time etc. to arrange workaday working time, weekend For default time interval, user's this terminal unit of less use within this time period preset, this terminal even can not be used Equipment, thus can consider to freeze the application program in terminal unit so that it is out of service maybe can not start.

Or, above-mentioned default time interval be terminal unit according to time zone, place, the night hours in time zone, place is set It is set to the time interval preset.User is after entering sleep night, and the notification message of the application program in terminal unit sends Sound, vibrate and light screen etc. and may affect user and have a rest, thus can consider to freeze the application program in terminal unit Knot so that it is out of service maybe can not start.

If 205 are currently at default time interval, then terminal unit freezes destination application, makes intended application journey Sequence is out of service maybe can not be started.

In the embodiment of the present invention, terminal unit first judges whether the time entering holding state exceedes preset time threshold, If meeting, then judging that current time is the most interval at Preset Time, if this condition also meets, then presumption user does not the most use this Terminal unit, freezes the destination application in terminal unit, makes that destination application is out of service maybe can not be started.

As the optional embodiment of one, above-mentioned destination application is the application program needing to carry out network service. After above-mentioned target program is freezed by terminal unit, these application programs are out of service maybe can not be started, thus cannot network and carry out Data interaction, thus the consumption of the data traffic avoided non-user actively to use and cause.

As the optional embodiment of one, above-mentioned destination application is the application program with running background function. After above-mentioned target program is freezed by terminal unit, these application programs are out of service maybe can not be started, thus cannot transport on backstage OK, thus save the internal memory of terminal unit, and reduce power consumption, play the effect saving terminal unit electricity.

As the optional embodiment of one, above-mentioned destination application is its on terminal unit in addition to system is applied His application program.After every other application program in addition to system application is freezed by terminal unit, set greatly reducing terminal Standby power consumption, makes terminal unit power consumption low, and stand-by time is longer.

206, terminal unit query exception list of application, thaws the application program in exception list of application, makes exception answer Continue to run with the application program in list and maybe can start.

In the embodiment of the present invention, terminal unit may have some special application programs, push important proposing to user Show that information, user are not intended to freeze these application programs, and want to timely receive the information of these application programs. Therefore, user can preset exception list of application in terminal unit, and the application program in exception list of application will not be frozen, Can continue to run with or voluntarily Accreditation System event thus start.Meanwhile, the application program in exception list of application is permissible By the tinkle of bells, vibrate or light the modes such as screen and remind user to process these important informations in time.

The prompting message of the application program during 207, terminal unit opens above-mentioned exception list of application.

In the embodiment of the present invention, terminal unit can open the prompting message merit of the middle application program of above-mentioned exception list of application Can, make these application programs can by the tinkle of bells, vibrate and light the modes such as screen to remind user to process in time important Information.

208, when user unlocks terminal unit, the terminal unit above-mentioned destination application of defrosting, make destination application Continue to run with and maybe can start.

In the embodiment of the present invention, after user unlocks terminal unit, it may be necessary to frozen application program before use.For User-friendly, when user unlocks terminal unit, terminal unit thaws above-mentioned destination application automatically, makes target Application program continues to run with and maybe can start.

As can be seen here, implement the method described by Fig. 2, can be with the application program in automatic stay terminal unit, preventing should Bother user with the prompting message of program, and the application program freezed can not start or running background voluntarily, thus can save Province-hand's electromechanics amount and data traffic.In addition, if user worries to miss important notification message, application program can be added example Outer the application list, the application program in this list will not be frozen, and can open prompting message function, utilize the tinkle of bells, Vibrating and lighting the modes such as screen points out user to process important notification message in time.

Referring to Fig. 3, Fig. 3 is the structural representation of a kind of terminal unit disclosed in the embodiment of the present invention.As it is shown on figure 3, This terminal unit may include that

Monitoring means 301, is used for monitoring whether this terminal unit is switched to holding state by wake-up states;

In the embodiment of the present invention, when user locks the screen of terminal unit, or terminal unit is not carried out by a period of time During the operation automatic lock-screen of terminal unit, terminal unit is switched to holding state by wake-up states, in the standby state, and terminal In equipment, part networking program can disconnect network releasing memory, to reduce the power consumption of terminal unit.But, also there is the biggest one Point application program, in order to provide real-time data message, when terminal unit is holding state, still keep network to connect or after Platform runs.

As the optional embodiment of one, whether the display screen of monitoring means 301 monitoring terminal equipment is locked, with really Whether this terminal unit fixed is switched to holding state by wake-up states.

Statistic unit 302, for when this terminal unit is switched to holding state by wake-up states, statistics enters standby shape Time after state;

In the embodiment of the present invention, terminal unit enters the time after holding state relatively for a long time, represents user when this section In do not frequently use terminal unit, thus user is likely to be at resting state or is absorbed in other things.Thus, this In the case of, it may be considered that freeze the application program in terminal unit, prevent the reminder message of application program from bothering user, and Save electricity and the data traffic of terminal unit.Therefore, it can pre-set stand-by time threshold value, terminal unit is by wake-up states After being switched to holding state, statistic unit 302 statistics enters the time after holding state, if the time after holding state that enters surpasses Cross the stand-by time threshold value preset, then terminal unit can consider to freeze application program.

First judging unit 303, the time after judge described entrance holding state whether exceed default standby time Between threshold value;

In the embodiment of the present invention, can pre-set stand-by time threshold value, terminal unit is switched to standby by wake-up states After state, statistic unit 302 statistics enters the time after holding state, if the first judging unit 303 judges to enter holding state After time exceed default stand-by time threshold value, then terminal unit can consider to freeze application program so that it is out of service Maybe can not start.

Second judging unit 304, for exceeding default stand-by time threshold value when the time after described entrance holding state Time, judge currently whether be in default time interval according to system time;

In the embodiment of the present invention, terminal unit first judge the time after holding state that enters whether exceed default standby time Between threshold value, if terminal unit enters the time after holding state and exceedes default stand-by time threshold value, then infer that user currently locates In resting state or be absorbed in other things, temporarily need not use terminal unit.After this, the second judging unit 304 obtains Take system time, it is judged that whether current time is in default time interval.

As the optional embodiment of one, above-mentioned default time interval is the time interval of user setup.User can According to self-demand, to accompany the time of household, the most routine gym time etc. to arrange workaday working time, weekend For default time interval, user's this terminal unit of less use within this time period preset, this terminal even can not be used Equipment, thus can consider to freeze the application program in terminal unit so that it is out of service maybe can not start.

Or, above-mentioned default time interval be terminal unit according to time zone, place, the night hours in time zone, place is set It is set to the time interval preset.User is after entering sleep night, and the notification message of the application program in terminal unit sends Sound, vibrate and light screen etc. and may affect user and have a rest, thus can consider to freeze the application program in terminal unit Knot so that it is out of service maybe can not start.

Freezing unit 305, in time being currently at default time interval, freezes destination application, makes described target Application program is out of service maybe can not be started.

In the embodiment of the present invention, the first judging unit 303 first judges when whether the time of entrance holding state exceedes default Between threshold value, if meeting, the second judging unit 304 judges that current time is whether interval at Preset Time again, if this condition also meets, Then presumption user does not the most use this terminal unit, freezing unit 305 to be freezed by the destination application in terminal unit, make mesh Application program is out of service maybe can not start for mark.

As the optional embodiment of one, above-mentioned destination application is the application program needing to carry out network service. After above-mentioned target program is freezed by freezing unit 305, these application programs are out of service maybe can not be started, thus cannot network into Row data interaction, thus the consumption of the data traffic avoided non-user actively to use and cause.

As the optional embodiment of one, above-mentioned destination application is the application program with running background function. After above-mentioned target program is freezed by freezing unit 305, these application programs are out of service maybe can not be started, thus cannot be on backstage Run, thus save the internal memory of terminal unit, and reduce power consumption, play the effect saving terminal unit electricity.

As the optional embodiment of one, above-mentioned destination application is its on terminal unit in addition to system is applied His application program.After every other application program in addition to system application is freezed by freezing unit 305, will greatly reduce terminal The power consumption of equipment, makes terminal unit power consumption low, and stand-by time is longer.

As can be seen here, the terminal unit shown in Fig. 3, application can be prevented with the application program in automatic stay terminal unit The prompting message of program bothers user, and the application program freezed can not start or running background voluntarily, thus can save Mobile phone electricity and data traffic.

Seeing also Fig. 4, Fig. 4 is the structural representation of another kind of terminal unit disclosed in the embodiment of the present invention.Wherein, Terminal unit shown in Fig. 4 is that terminal unit as shown in Figure 3 is optimized and obtains, compared with the terminal unit shown in Fig. 3, Terminal unit shown in Fig. 4 also includes:

Query unit 306, for query exception list of application;

First defrosting unit 307, for being thawed by the application program in described exception list of application, makes described exception application Application program in list continues to run with and maybe can start;

In the embodiment of the present invention, terminal unit may have some special application programs, push important proposing to user Show that information, user are not intended to freeze these application programs, and want to timely receive the information of these application programs. Therefore, user can preset exception list of application in terminal unit, and the application program in exception list of application will not be frozen, Can continue to run with or voluntarily Accreditation System event thus start.Meanwhile, the application program in exception list of application is permissible By the tinkle of bells, vibrate or light the modes such as screen and remind user to process these important informations in time.

Open unit 308, for opening the prompting message of the application program in described exception list of application.

In the embodiment of the present invention, the message opening the middle application program that unit 308 can open above-mentioned exception list of application carries Wake up function, make these application programs can by the tinkle of bells, vibrate and light the modes such as screen and remind user to process in time to compare Important information.

As the optional embodiment of one, this terminal unit also includes:

Second defrosting unit 309, for when user unlocks described terminal unit, thaw described destination application, makes Described destination application continues to run with and maybe can start.

In the embodiment of the present invention, after user unlocks terminal unit, it may be necessary to frozen application program before use.For User-friendly, when user unlocks terminal unit, the second defrosting unit 309 thaws above-mentioned intended application journey automatically Sequence, makes destination application continue to run with and maybe can start.

As can be seen here, the terminal unit shown in Fig. 4, application can be prevented with the application program in automatic stay terminal unit The prompting message of program bothers user, and the application program freezed can not start or running background voluntarily, thus can save Mobile phone electricity and data traffic.In addition, if user worries to miss important notification message, application program can be added exception The application list, the application program in this list will not be frozen, and can open prompting message function, utilizes the tinkle of bells, shakes Moving and lighting the modes such as screen points out user to process important notification message in time.

Refer to the structural representation that Fig. 5, Fig. 5 are the embodiment of the present invention another terminal unit disclosed.Such as Fig. 5 institute Showing, for convenience of description, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, refer to Embodiment of the present invention method part.This terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrarily terminal unit such as vehicle-mounted computer, As a example by terminal is as mobile phone:

Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the terminal of embodiment of the present invention offer.With reference to figure 5, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 501, memorizer 502, input block 503, display unit 504, Sensor 505, voicefrequency circuit 506, Wireless Fidelity (wireless fidelity, WiFi) module 507, processor 508 and Power supply 509 parts such as grade.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 is not intended that the restriction to mobile phone, Can include that ratio illustrates more or less of parts, or combine some parts, or different parts are arranged.

Below in conjunction with Fig. 5 each component parts of mobile phone carried out concrete introduction:

RF circuit 501 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station After downlink information receives, process to processor 508;It addition, be sent to base station by designing up data.Generally, RF circuit 501 Include but not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 501 can also be communicated with network and other equipment by radio communication. Above-mentioned radio communication can use arbitrary communication standard or agreement, includes 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), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..

Memorizer 502 can be used for storing software program and module, and processor 508 is stored in memorizer 502 by operation Software program and module, thus perform mobile phone various functions application and data process.Memorizer 502 can mainly include Storage program area and storage data field, wherein, storage program area can store the application journey needed for operating system, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store what the use according to mobile phone was created Data (such as voice data, phone directory etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, it is also possible to Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state Part.

Input block 503 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input block 503 can include that contact panel 5031 and other inputs set Standby 5032.Contact panel 5031, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user makes With any applicable object such as finger, stylus or adnexa operation on contact panel 5031 or near contact panel 5031), And drive corresponding attachment means according to formula set in advance.Optionally, contact panel 5031 can include touch detecting apparatus With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation brought Signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is changed Become contact coordinate, then give processor 508, and order that processor 508 sends can be received and performed.Furthermore, it is possible to adopt Contact panel 5031 is realized with polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 5031, input block 503 can also include other input equipments 5032.Specifically, other input equipments 5032 can include but It is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Plant or multiple.

Display unit 504 can be used for the various of the information that inputted by user of display or the information being supplied to user and mobile phone Menu.Display unit 504 can include display floater 5041, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) configure aobvious Show panel 5041.Further, contact panel 5031 can cover display floater 5041, when contact panel 5031 detects thereon Or after neighbouring touch operation, send processor 508 to determine the type of touch event, with preprocessor 508 according to touch The type of event provides corresponding visual output on display floater 5041.Although in Figure 5, contact panel 5031 and display surface Plate 5041 is to realize input and the input function of mobile phone as two independent parts, but in some embodiments it is possible to By integrated to contact panel 5031 and display floater 5041 and realize input and the output function of mobile phone.

Mobile phone may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display floater 5041, proximity transducer can cut out display floater when mobile phone moves in one's ear 5041 and/or backlight.As the one of motion sensor, accelerometer sensor can detect (generally three axles) in all directions and add The size of speed, can detect that size and the direction of gravity time static, can be used for identifying application (the such as horizontal/vertical screen of mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for mobile phone also Other sensors such as configurable gyroscope, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.

Voicefrequency circuit 506, speaker 5061, microphone 5062 can provide the audio interface between user and mobile phone.Audio frequency The signal of telecommunication after the voice data conversion that circuit 506 can will receive, is transferred to speaker 5061, speaker 5061 is converted to Acoustical signal exports;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 5062, voicefrequency circuit 506 connect Voice data is converted to after receipts, then after voice data output processor 508 is processed, the most another to be sent to through RF circuit 501 One mobile phone, or voice data is exported to memorizer 502 to process further.

WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 507 Part, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows WiFi module 507, but it is understood that, it is also not belonging to must be configured into of mobile phone, can not change as required completely Omit in the scope of the essence becoming invention.

Processor 508 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, logical Cross operation or perform to be stored in the software program in memorizer 502 and/or module, and calling and be stored in memorizer 502 Data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 508 can wrap Include one or more processing unit;Preferably, processor 508 can integrated application processor and modem processor, wherein, should Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 508.

Mobile phone also includes the power supply 509 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 508, thus realizes management charging, electric discharge and power managed by power-supply management system Etc. function.

Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.

In previous embodiment, each step method flow process can structure based on this terminal unit realize.Wherein application layer and Operating system nucleus all can be considered the ingredient of the abstract structure of processor 508.

In embodiments of the present invention, processor 508, by calling the program code being stored in memorizer 502, is used for holding The following operation of row:

Monitor whether this terminal unit is switched to holding state by wake-up states;

Time if this terminal unit is switched to holding state by wake-up states, then after statistics enters holding state;

Judge whether the time after entering holding state exceedes default stand-by time threshold value;

If the time after entrance holding state exceedes default stand-by time threshold value, according to system time judgement it is currently then No it is in default time interval;

If being currently at default time interval, then freeze destination application, make destination application out of service or Can not start.

As the optional embodiment of one, processor 508 is by calling the program code being stored in memorizer 502, also For performing following operation:

The exception list of application that inquiry is stored in memorizer 502, thaws the application program in exception list of application, makes Application program in exception list of application continues to run with and maybe can start;

Open the prompting message of the application program made an exception in list of application.

As the optional embodiment of one, processor 508 is by calling the program code being stored in memorizer 502, also For performing following operation:

When user unlocks this terminal unit, thaw above-mentioned destination application, makes above-mentioned destination application continue fortune Row maybe can start.

As can be seen here, the terminal unit shown in Fig. 5, application can be prevented with the application program in automatic stay terminal unit The prompting message of program bothers user, and the application program freezed can not start or running background voluntarily, thus can save Mobile phone electricity and data traffic.In addition, if user worries to miss important notification message, application program can be added exception The application list, the application program in this list will not be frozen, and can open prompting message function, utilizes the tinkle of bells, shakes Moving and lighting the modes such as screen points out user to process important notification message in time.

It should be noted that in above-mentioned terminal unit embodiment, included unit simply enters according to function logic Row divides, but is not limited to above-mentioned division, as long as being capable of corresponding function;It addition, each functional unit Specific name also only to facilitate mutually distinguish, is not limited to protection scope of the present invention.

It addition, all or part of step that one of ordinary skill in the art will appreciate that in the various methods of above-described embodiment The program that can be by completes to instruct relevant hardware, and this program can be stored in a computer-readable recording medium, Storage medium include read only memory (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 memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, disk memory, magnetic tape storage or can For carrying or store any other medium computer-readable of data.

These are only the present invention preferably detailed description of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope that the embodiment of the present invention discloses, the change that can readily occur in or replace Change, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Enclose and be as the criterion.

Claims (10)

1. an application program freezing method, it is characterised in that including:
Terminal unit monitors whether this terminal unit is switched to holding state by wake-up states;
If described terminal unit is switched to holding state by wake-up states, after the most described terminal unit statistics enters holding state Time;
Whether the time after described terminal unit judges described entrance holding state exceedes default stand-by time threshold value;
If the time after described entrance holding state exceedes default stand-by time threshold value, when the most described terminal unit is according to system Between judge currently whether be in default time interval;
If being currently at default time interval, the most described terminal unit freezes destination application, makes described intended application journey Sequence is out of service maybe can not be started.
Method the most according to claim 1, it is characterised in that described default time interval is the time zone of user setup Between;Or,
Described default time interval be described terminal unit according to time zone, place, the night hours in time zone, place is set to institute State default time interval.
Method the most according to claim 1, it is characterised in that described destination application is to need to carry out answering of network service Use program;Or,
Described destination application is the application program with running background function;Or,
Described destination application is other application programs on described terminal unit in addition to system is applied.
The most according to claim 1, method, it is characterised in that described terminal unit freezes destination application, make described mesh Mark application program is out of service maybe can not start after, described method also includes:
Described terminal unit query exception list of application, thaws the application program in described exception list of application, makes described example Application program in outer list of application continues to run with and maybe can start;
Described terminal unit opens the prompting message of the application program in described exception list of application.
5. according to method described in any one in Claims 1 to 4, it is characterised in that described terminal unit freezes intended application Program, after making that described destination application is out of service and maybe can not starting, described method also includes:
When user unlocks described terminal unit, the described terminal unit described destination application of defrosting, make described intended application Program continues to run with and maybe can start.
6. a terminal unit, it is characterised in that including:
Monitoring means, is used for monitoring whether this terminal unit is switched to holding state by wake-up states;
Statistic unit, for when this terminal unit is switched to holding state by wake-up states, adds up after entering holding state Time;
First judging unit, is used for whether the time after judging described entrance holding state exceedes default stand-by time threshold value;
Second judging unit, is used for when the time after described entrance holding state exceedes default stand-by time threshold value, according to System time judges currently whether be in default time interval;
Freezing unit, in time being currently at default time interval, freezes destination application, makes described destination application Out of service maybe can not start.
Terminal unit the most according to claim 6, it is characterised in that described default time interval be user setup time Between interval;Or,
Described default time interval be described terminal unit according to time zone, place, the night hours in time zone, place is set to institute State default time interval.
Terminal unit the most according to claim 6, it is characterised in that described destination application carries out network for needs and leads to The application program of letter;Or,
Described destination application is the application program with running background function;Or,
Described destination application is other application programs on described terminal unit in addition to system is applied.
Terminal unit the most according to claim 6, it is characterised in that described terminal unit also includes:
Query unit, for query exception list of application;
First defrosting unit, for being thawed by the application program in described exception list of application, makes in described exception list of application Application program continue to run with and maybe can start;
Open unit, for opening the prompting message of the application program in described exception list of application.
10. according to the terminal unit described in any one in claim 6~9, it is characterised in that described terminal unit also wraps Include:
Second defrosting unit, for when user unlocks described terminal unit, thaw described destination application, makes described target Application program continues to run with and maybe can start.
CN201610490525.7A 2016-06-28 2016-06-28 A kind of application program freezing method and terminal unit CN106155788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610490525.7A CN106155788A (en) 2016-06-28 2016-06-28 A kind of application program freezing method and terminal unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610490525.7A CN106155788A (en) 2016-06-28 2016-06-28 A kind of application program freezing method and terminal unit

Publications (1)

Publication Number Publication Date
CN106155788A true CN106155788A (en) 2016-11-23

Family

ID=57350124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610490525.7A CN106155788A (en) 2016-06-28 2016-06-28 A kind of application program freezing method and terminal unit

Country Status (1)

Country Link
CN (1) CN106155788A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140033231A1 (en) * 2012-07-27 2014-01-30 Hon Hai Precision Industry Co., Ltd. Electronic device with a function of alerting running applications and method thereof
CN103645802A (en) * 2013-12-05 2014-03-19 Tcl通讯(宁波)有限公司 Method for automatically stopping mobile terminal application and mobile terminal
CN103974394A (en) * 2014-05-30 2014-08-06 深圳市中兴移动通信有限公司 Mobile terminal and power consumption control method thereof
US8879568B2 (en) * 2010-06-04 2014-11-04 Broadcom Corporation Method and system for recognizing energy efficient certified devices through a gateway
CN104199669A (en) * 2014-09-12 2014-12-10 北京奇虎科技有限公司 Method and device for managing application program processes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8879568B2 (en) * 2010-06-04 2014-11-04 Broadcom Corporation Method and system for recognizing energy efficient certified devices through a gateway
US20140033231A1 (en) * 2012-07-27 2014-01-30 Hon Hai Precision Industry Co., Ltd. Electronic device with a function of alerting running applications and method thereof
CN103645802A (en) * 2013-12-05 2014-03-19 Tcl通讯(宁波)有限公司 Method for automatically stopping mobile terminal application and mobile terminal
CN103974394A (en) * 2014-05-30 2014-08-06 深圳市中兴移动通信有限公司 Mobile terminal and power consumption control method thereof
CN104199669A (en) * 2014-09-12 2014-12-10 北京奇虎科技有限公司 Method and device for managing application program processes

Similar Documents

Publication Publication Date Title
JP5490883B2 (en) Control of power consumption of mobile devices based on gesture recognition
US8509755B2 (en) System and method for activating a component on an electronic device
CN103475996B (en) Method for connecting network, network share method and device
US20070143499A1 (en) Proximity triggered job scheduling system and method
US10111175B2 (en) Apparatus and method for reducing power consumption in portable terminal
JP6077067B2 (en) Method and apparatus for running location dependent applications on a mobile handset
CN104869468A (en) Method and apparatus for displaying screen information
CN107809793A (en) The wake-up control method and device of intelligent terminal
CN104135561B (en) A kind of flow based reminding method of terminal, device and terminal
CN103327585A (en) Communication terminal and a communication method
CN104679969A (en) Method and device for avoiding user churn
CN104518953A (en) Message deleting method, instant messaging terminal and system
US20150088914A1 (en) User recommendation method and system in sns community, and computer storage medium
KR20150020080A (en) Method for communicating data and electronic device thereof
JP6076501B2 (en) Method, apparatus, facility, system, program, and recording medium for controlling on / off of wireless network
WO2015014293A1 (en) Devices and methods for guarding against theft of mobile terminals
CN103501386B (en) The method of automatic call and terminal
CN104383681A (en) Game process control method and device as well as mobile terminal
US7593709B2 (en) Method for managing power of a mobile communication device
JP2018513499A (en) Communication message transmission method and wearable device
CN103501388A (en) Terminal equipment prompting control method, device and terminal equipment
CN104427083A (en) Volume adjusting method and device
CN103702283A (en) Message sending method, receiving method, device, terminal equipment and server
CN104717341A (en) Message prompting method and terminal
CN104348943B (en) A kind of method and apparatus of incoming call prompting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination