CN106021077B - The alarming method for power and device of terminal - Google Patents

The alarming method for power and device of terminal Download PDF

Info

Publication number
CN106021077B
CN106021077B CN201610326291.2A CN201610326291A CN106021077B CN 106021077 B CN106021077 B CN 106021077B CN 201610326291 A CN201610326291 A CN 201610326291A CN 106021077 B CN106021077 B CN 106021077B
Authority
CN
China
Prior art keywords
terminal
predetermined registration
registration operation
kind
time period
Prior art date
Application number
CN201610326291.2A
Other languages
Chinese (zh)
Other versions
CN106021077A (en
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 CN201610326291.2A priority Critical patent/CN106021077B/en
Publication of CN106021077A publication Critical patent/CN106021077A/en
Application granted granted Critical
Publication of CN106021077B publication Critical patent/CN106021077B/en

Links

Classifications

    • 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/30Reducing energy consumption in distributed systems
    • Y02D10/34Monitoring

Abstract

The disclosure is directed to a kind of alarming method for power of terminal and devices, which comprises obtain the number that terminal in preset time period executes first kind predetermined registration operation;Whether the number for judging that the terminal executes the first kind predetermined registration operation in the preset time period is greater than preset threshold;When the number that the terminal executes the first kind predetermined registration operation in the preset time period is greater than the preset threshold, controls the terminal and issue alert messages.The number that terminal in preset time period executes above-mentioned first kind predetermined registration operation is obtained in the disclosure, when the number for judging above-mentioned first kind predetermined registration operation performed by terminal in above-mentioned preset time period is greater than preset threshold, controlling terminal issues alert messages, so that user oneself recognizes the operation of oneself, it can make and correspondingly correct or adjust, while the user experience is improved, terminal is also assisted to save the service life of electricity, extension terminal.

Description

The alarming method for power and device of terminal

Technical field

This disclosure relates to the communication technology, the in particular to alarming method for power and device of a kind of terminal.

Background technique

The terminals such as mobile phone, tablet computer are more more and more universal, and terminal function is also more and more abundant, and user may be used whenever and wherever possible Various operations are completed with using terminal, as making and receiving calls, information is sent or received, logs in social application etc..

Many users are also increasingly dependent on these terminals at present, may do nothing when boring, but also can be frequent Terminal screen is lighted to kill time.

Summary of the invention

The embodiment of the present disclosure provides the alarming method for power and device of a kind of terminal.The technical solution is as follows:

According to the first aspect of the embodiments of the present disclosure, a kind of alarming method for power of terminal is provided, this method comprises:

Obtain the number that terminal in preset time period executes first kind predetermined registration operation;

It is default to judge whether the terminal executes the first kind predetermined registration operation in the preset time period number is greater than Threshold value;

The number that the terminal executes the first kind predetermined registration operation in the preset time period is greater than the default threshold When value, controls the terminal and issue alert messages.

Optionally, the number for obtaining terminal in preset time period and executing first kind predetermined registration operation, comprising:

Obtain operation performed by the terminal in the preset time period;

It, will be described in terminal execution in the preset time period if performed operation belongs to the first kind predetermined registration operation The number of first kind predetermined registration operation adds 1;

If performed operation belongs to the second class predetermined registration operation, terminal in the preset time period is executed described first The number of class predetermined registration operation clear 0;

Wherein, the second class predetermined registration operation is other all operations in addition to the first kind predetermined registration operation.

Optionally, the method also includes:

Detect the motion state of the terminal;Correspondingly,

If the terminal is kept in motion, and the terminal executes the default behaviour of the first kind in the preset time period The number of work is greater than the preset threshold, then the control terminal issues alert messages, comprising:

It controls the terminal and issues the first predetermined warning message.

Optionally, the method also includes:

Current time is obtained, judges whether the current time belongs to the predetermined warning period;Correspondingly,

If the current time belongs to the predetermined warning period, and the terminal executes institute in the preset time period The number for stating first kind predetermined registration operation is greater than the preset threshold, then the control terminal issues alert messages, comprising:

It controls the terminal and issues the second predetermined warning message.

Optionally, after the control terminal sending alert messages, further includes:

Open default application program;Alternatively,

To user's display reminding message, to prompt user to open default application program.

Optionally, the default application program includes: English study application program, alternatively, books read application program.

Optionally, the method also includes:

If detecting, the period between the adjacent first kind predetermined registration operation described twice is greater than the preset time period, will Terminal executes the number clear 0 of the first kind predetermined registration operation in the preset time period

Wherein, the first kind predetermined registration operation includes: to light screen operator, close screen operator, unlocking screen operation, beat It opens the first kind and presets application program.

Optionally, the method also includes:

After the screen of the terminal is lighted, show that statistical message, the statistical message include following on the terminal Any one or any combination thereof:

History executes the total degree of the first kind predetermined registration operation, history controls total time that the terminal issues alert messages Number, history open the total degree of the default application program, history uses the total duration of the default application program.

According to the second aspect of an embodiment of the present disclosure, a kind of alarming device of terminal is provided, which includes:

First detection module is configured as obtaining the number that terminal in preset time period executes first kind predetermined registration operation;

Judgment module is configured as judging in the preset time period that the terminal executes the first kind predetermined registration operation Whether number is greater than preset threshold;

Control module is configured as time that the terminal in the preset time period executes the first kind predetermined registration operation When number is greater than the preset threshold, it controls the terminal and issues alert messages.

Optionally, the first detection module includes:

Detection sub-module is configured as obtaining operation performed by the terminal in the preset time period;

Counting submodule is configured as when performed operation belongs to the first kind predetermined registration operation, will be described default The number that terminal executes the first kind predetermined registration operation in period adds 1;Alternatively, it is default to belong to the second class in performed operation When operation, terminal in the preset time period is executed to the number clear 0 of the first kind predetermined registration operation;

Wherein, the second class predetermined registration operation is other all operations in addition to the first kind predetermined registration operation.

Optionally, described device further include:

Second detection module is configured as detecting the motion state of the terminal;Correspondingly,

The control module is specifically configured to be kept in motion in the terminal, and institute in the preset time period When stating terminal and executing the number of the first kind predetermined registration operation and be greater than the preset threshold, controlling the terminal, to issue first default Alert messages.

Optionally, described device further include:

Module is obtained, is configured as obtaining current time, judges whether the current time belongs to the predetermined warning period; Correspondingly,

The control module is specifically configured to belong to the predetermined warning period in the current time, and described When the number that the terminal executes the first kind predetermined registration operation in preset time period is greater than the preset threshold, the end is controlled End issues the second predetermined warning message.

Optionally, described device further include:

Starting module is configured as after the control module controls the terminal sending alert messages, opens default Application program;Alternatively, to user's display reminding message, to prompt user to open default application program.

The default application program may include: English study application program, alternatively, books read application program.

Optionally, described device further include:

Cleaning modul is configured as detecting that the period between the adjacent first kind predetermined registration operation described twice is greater than institute When stating preset time period, terminal in the preset time period is executed to the number clear 0 of the first kind predetermined registration operation.

Wherein, the first kind predetermined registration operation includes: to light screen operator, close screen operator, unlocking screen operation, beat It opens the first kind and presets application program.

Optionally, described device further include:

Display module is configured as after the screen of the terminal is lighted, and shows statistical message on the terminal, described Statistical message includes any one of following or any combination thereof:

History executes the total degree of the first kind predetermined registration operation, history controls total time that the terminal issues alert messages Number, history open the total degree of the default application program, history uses the total duration of the default application program.

According to the third aspect of an embodiment of the present disclosure, a kind of alarming device of terminal is provided, which includes:

The memory of processor and the executable instruction for storing the processor;

Wherein, the processor is configured to:

Obtain the number that terminal in preset time period executes first kind predetermined registration operation;

It is default to judge whether the terminal executes the first kind predetermined registration operation in the preset time period number is greater than Threshold value;

The number that the terminal executes the first kind predetermined registration operation in the preset time period is greater than the default threshold When value, controls the terminal and issue alert messages.

The technical solution that the embodiment of the present disclosure provides can include the following benefits:

The number that terminal in preset time period executes above-mentioned first kind predetermined registration operation is obtained, is judging above-mentioned preset time period When the number of above-mentioned first kind predetermined registration operation performed by interior terminal is greater than preset threshold, controlling terminal issues alert messages, so that User oneself recognizes the operation of oneself, can make and correspondingly correct or adjust, while the user experience is improved, also assist The service life that terminal saves electricity, extends terminal.

It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.

Detailed description of the invention

The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.

Fig. 1 is a kind of flow chart of the alarming method for power of terminal shown according to an exemplary embodiment;

Fig. 2 is a kind of flow chart of the alarming method for power of the terminal shown according to another exemplary embodiment;

Fig. 3 is a kind of block diagram of the alarming device of terminal shown according to an exemplary embodiment;

Fig. 4 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment;

Fig. 5 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment;

Fig. 6 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment;

Fig. 7 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment;

Fig. 8 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment;

Fig. 9 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment;

Figure 10 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment;

Figure 11 is a kind of block diagram of the alarming device 1000 of terminal shown according to an exemplary embodiment.

Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.

Specific embodiment

Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.

The behavior that the disclosure frequently lights screen to user when boring prompts very much, in order to which user recognizes oneself Constantly light screen, and carry out other operations etc..

Fig. 1 is a kind of flow chart of the alarming method for power of terminal shown according to an exemplary embodiment, terminal in the disclosure Alarming method for power can be applied to the terminals such as mobile phone, tablet computer, this method may include the following steps:

In a step 101, the number that terminal in preset time period executes first kind predetermined registration operation is obtained.

The operation that terminal executes is various, such as light screen, solution lock screen, open some application program etc., here User can preset some operations and belong to first kind predetermined registration operation, and count the number that terminal executes first kind predetermined registration operation.

Here first kind predetermined registration operation can be what terminal was preset, be also possible to the choosing that user oneself provides according to terminal Item progress is preset, such as user enters the Setting pattern of terminal, oneself determination is chosen in the multi-mode operation that terminal provides First kind predetermined registration operation.

Generally, first kind predetermined registration operation is the operation carried out when user is boring, such as only lights screen and close screen again Curtain, alternatively, light after screen what operation also without, or, be only unlocked, then unlock after enter Recreational application programs etc..

In a step 102, whether the number for judging that terminal executes first kind predetermined registration operation in above-mentioned preset time period is greater than Preset threshold.

In step 103, the number that the terminal executes above-mentioned first kind predetermined registration operation in above-mentioned preset time period is greater than When preset threshold, controls above-mentioned terminal and issue alert messages.

Controlling terminal sending alert messages can be controlling terminal sending caution sound, or display reminding on the screen Word, such as " rest ", " working carefully " etc., this is not restricted.

In conclusion it is above-mentioned to obtain terminal execution in preset time period in the alarming method for power of terminal provided in this embodiment The number of first kind predetermined registration operation, in the number for judging above-mentioned first kind predetermined registration operation performed by terminal in above-mentioned preset time period When greater than preset threshold, controlling terminal issues alert messages, so that user oneself recognizes the operation of oneself, can make corresponding Ground correction or adjustment while the user experience is improved, also assist terminal to save the service life of electricity, extension terminal.

Terminal executes the number of first kind predetermined registration operation in above-mentioned acquisition preset time period, comprising: obtains preset time period Operation performed by interior terminal;If performed operation belongs to first kind predetermined registration operation, terminal in preset time period is executed The number of above-mentioned first kind predetermined registration operation adds 1;

If performed operation belongs to the second class predetermined registration operation, terminal in the preset time period is executed into the above-mentioned first kind The number of predetermined registration operation clear 0.

It should be noted that the starting point of above-mentioned preset time period can be first kind predetermined registration operation number be 0 feelings Under condition, at the time of terminal executes above-mentioned first kind predetermined registration operation for the first time.

Above-mentioned first kind predetermined registration operation and the second class predetermined registration operation can be that terminal is pre-configured, be also possible to User provides option, pre-selects configuration according to their own situation by user, this is not restricted.

Optionally, first kind predetermined registration operation may include: light screen operator, close screen operator, unlocking screen operation, It opens the first kind and presets application program etc..Generally, it is recreational to can be game, microblogging etc. for the default application program of the first kind Application program.First kind predetermined registration operation is usually the operation that some users are used to kill time.Such as 30 minutes etc, terminal does not have Have an any incoming call, information, but user lights screen 10 times, only slidably reciprocate on the screen after unlock every time or It lights screen and closes screen etc. again, and preset threshold will control the terminal in this case and issue alert messages less than 10 times.

Second class predetermined registration operation may include other all operations in addition to above-mentioned first kind predetermined registration operation, and the second class is pre- If operation is usually user using some necessary operations of terminal completion or beneficial to operation etc., this is not restricted.Such as it can be with It include: to receive or send social information, incoming call answering, make a phone call, open the default application program of the second class etc..Wherein, it receives Or it sends social information and can be through social software traffic carried, such as receive or send even if communication information, check society Hand over the notification message etc. of software push.

It may include: study class application program, such as word enquiring, English Listening Comprehension, reading that second class, which presets application program, Using etc.;Life and work necessary some application programs, such as mailbox, calendar etc., are not limited thereto.That is the default behaviour of the second class Make to be usually some operations being of practical significance for completing by terminal of user, but herein also with no restriction, different user can be with Concrete configuration as the case may be.When terminal performs the second class predetermined registration operation, illustrate user be not killing time, but Really some events is completed using terminal, then the number for just lighting terminal screen in preset time period clear 0.Later if eventually End executes first kind predetermined registration operation again, starts counting again, and recalculate preset time period.

Fig. 2 is a kind of flow chart of the alarming method for power of the terminal shown according to another exemplary embodiment, current in terminal In the case that execution first kind preset number of operations is 0, this method may include the following steps:

In step 201, it detects that terminal executes first kind predetermined registration operation, start timing and starts statistics first time and is pre- If the number of operation.

In step 202, operation performed by terminal is detected.

In step 203, judge whether aforesaid operations are first kind predetermined registration operation.

If so, thening follow the steps 204, if it is not, i.e. aforesaid operations are the second class predetermined registration operation, 205 are thened follow the steps.

In step 204, the number that terminal in preset time period executes first kind predetermined registration operation is added 1.Continue to execute step Rapid 206.

In step 205, terminal in preset time period is executed to the number clear 0 of first kind predetermined registration operation.

In step 206, whether the number for judging that terminal executes first kind predetermined registration operation in preset time period reaches default Threshold value.If so, 207 are thened follow the steps, if it is not, then returning to step 202.

In step 207, controlling terminal issues alert messages.

Further, the motion state of terminal can also be detected, to react user's state in which, such as detects terminal Be kept in motion, it is likely that user be walk, running, drive etc., in the case of these user be unsuitable for play terminal.Specifically Ground, can with the motion state of real-time detection terminal, be also possible within a preset period of time terminal execute the first kind predetermined registration operation when, The motion state of terminal is detected, this is not restricted.

In turn, if detecting, terminal is kept in motion, and terminal executes the default behaviour of the above-mentioned first kind in preset time period The number of work reaches preset threshold, then above-mentioned controlling terminal issues alert messages, it is default can to issue first for controlling terminal Alert messages.

It is directed to specific situation, exclusive alert messages, such as " taking care, do not play mobile phone " etc. can be preset, This is with no restriction.

Further, the movement velocity that terminal can also be obtained by the sensor in terminal, according to different movements Speed issues different alert messages, such as speed is slower, and user may walk, then prompt " please attentively walking ";Speed is very Fastly, it may drive, then prompt user's " paying attention to life security, drive with caution " etc..

This mode, while prompting user to use mobile phone less, also help user pays attention to life safety, avoids unnecessary Accident occurs.

Optionally, the above method further include: obtain current time, judge whether current time belongs to the predetermined warning time Section.Specifically, can terminal executes above-mentioned first kind predetermined registration operation within a preset period of time number reach or surpass default threshold When value, judge whether current time belongs to the predetermined warning period, this is not restricted.

If current time, which belongs to terminal in predetermined warning period and preset time period, executes first kind predetermined registration operation Number is greater than preset threshold, then above-mentioned controlling terminal issues alert messages, can issue the second predetermined warning for controlling terminal Message.

It i.e. in response to this can be with predetermined warning message.Specifically, it can be set according to the different periods different Alert messages.For example, mealtime, can prompt " this is had a meal ";Working time can prompt " being earnest about one's work ";During sleep Between, " going to bed early and get up early " etc. can be prompted, this is not restricted.

Optionally, after above-mentioned controlling terminal issues alert messages, default application program can also be opened;Or to Family display reminding message, to prompt user to open default application program.

I.e. if it find that user kills time boring, can control terminal and open some application programs, allow user when Between spend more meaningful, such as open word study application program, reading application program, news application program etc., herein not It is restricted, default application program can be that terminal is pre-configured, be also possible to set interface of the user oneself by terminal It is arranged.

It, can be after issuing alert messages in order to preferably meet user's self-demand, prompting message displayed on the terminals, User is prompted to open default application program.Such as display " you can be with English learnings ", " browsing lower today's important news " etc., Yong Huke To open the application program of prompt according to oneself current needs, other application programs can also be opened.

Optionally, above-mentioned default application program may include: that English study application program, books read application program etc., This is not restricted.It can be set according to the profession of user oneself, for example, it can be set to the study of some specialized courses is answered With program etc., be in rest when can set some movement class application programs.

Optionally, above-mentioned pre- if detecting that the adjacent period executed between above-mentioned first kind predetermined registration operation twice is greater than If the period, then the number that terminal in the preset time period executes first kind predetermined registration operation is asked 0.

Such as certain terminal executes first kind predetermined registration operation and does not do whatever later, terminal has recorded in preset time period eventually The number that end screen is lighted is 1, but current user later illustrates user for a long time without executing first kind predetermined registration operation again Without always execute first kind predetermined registration operation kill time, also just It is not necessary to warning user, can will in preset time period eventually The number that end executes first kind predetermined registration operation asks 0.The user experience is improved.

Optionally, it can be counted by counter in the embodiment of the present invention.

Above-described embodiment is illustrated, it is assumed that preset time period is 20 minutes, and above-mentioned preset threshold is 5 times, then when Terminal executes first kind predetermined registration operation for the first time, starts timing, and terminal executes first kind predetermined registration operation in preset time period Secondary number scale 1 detects that terminal executes above-mentioned first time predetermined registration operation, then terminal screen is lighted in preset time period again after a while Secondary number scale 2;If detecting that terminal executes the second class predetermined registration operation, it is pre- that terminal in preset time period is executed into the first kind If the number clear 0 of operation, timing also clear 0;Alternatively, terminal never executes the second class predetermined registration operation, but detect again When terminal executes first kind predetermined registration operation, detect that terminal executes interval time mistake between first kind predetermined registration operation with the last time It is long, preset time period is alreadyd exceed, then terminal in preset time period to be executed to the number clear 0 of first kind predetermined registration operation, timing Also clear 0.

Optionally, it in order to preferably remind user, based on the above method, can also be lighted in the screen of terminal Afterwards, statistical message displayed on the terminals, so that user recognizes oneself to light terminal how many times, wherein how many time is warned Deng.

The statistical message may include any one of following or any combination thereof: history executes above-mentioned first kind predetermined registration operation Total degree, history controlling terminal issue the total degree of alert messages, history opens the total degree of above-mentioned default application program, history Use the total duration etc. of above-mentioned default application program.

Wherein, these above-mentioned statistical messages can be in certain period of time, such as 12 hours or 24 hours, this time What section was also possible to preset, this is not restricted.

The above-mentioned total duration using default application program, can be above-mentioned one for avoiding boring kill time of user and opening After a little significant applications, user uses the duration of these applications, can be shown to use according to specifically application when being particularly shown Family, such as " study word 20 minutes ", " reading half an hour " etc..

Optionally, the learning outcome of user can also be shown to motivate user, such as " study word 100 ", " reading text Chapter page 20 ", " browsing news 20 " etc., this is not restricted.

Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.

Fig. 3 is a kind of block diagram of the alarming device of terminal shown according to an exemplary embodiment, which can pass through Software, hardware or both are implemented in combination with as some or all of of the electronic equipment comprising touching display screen.The device May include:

First detection module 301 is configured as obtaining the number that terminal in preset time period executes first kind predetermined registration operation.

Judgment module 302 is configured as judging in the preset time period that the terminal executes the default behaviour of the first kind Whether the number of work is greater than preset threshold.

Control module 303 is configured as the terminal in the preset time period and executes the first kind predetermined registration operation Number when being greater than the preset threshold, control the terminal and issue alert messages.

In conclusion it is above-mentioned to obtain terminal execution in preset time period in the alarming device of terminal provided in this embodiment The number of first kind predetermined registration operation, in the number for judging above-mentioned first kind predetermined registration operation performed by terminal in above-mentioned preset time period When greater than preset threshold, controlling terminal issues alert messages, so that user oneself recognizes the operation of oneself, can make corresponding Ground correction or adjustment while the user experience is improved, also assist terminal to save the service life of electricity, extension terminal.

Fig. 4 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment, on the basis of Fig. 3 On, first detection module 301 may include: in the device

Detection sub-module 401 is configured as obtaining operation performed by the terminal in the preset time period.

Counting submodule 402 described will be preset when being configured as performed operation and belonging to the first kind predetermined registration operation The number that terminal executes the first kind predetermined registration operation in period adds 1;Alternatively, it is default to belong to the second class in performed operation When operation, terminal in the preset time period is executed to the number clear 0 of the first kind predetermined registration operation.

Wherein, the second class predetermined registration operation is other all operations in addition to the first kind predetermined registration operation.

Fig. 5 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment, on the basis of Fig. 3 On, which can also include: the second detection module 501.

Second detection module 501 is configured as detecting the motion state of the terminal.

Correspondingly, above-mentioned control module 303 is specifically configured to be kept in motion in the terminal, and described default When the number that the terminal executes the first kind predetermined registration operation in period is greater than the preset threshold, the terminal hair is controlled First predetermined warning message out.

Fig. 6 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment, on the basis of Fig. 3 On, which can also include: to obtain module 601;

Module 601 is obtained, is configured as obtaining current time, judges whether the current time belongs to the predetermined warning time Section.

Control module 303 is specifically configured to belong to the predetermined warning period in the current time, and described pre- If the number that the terminal executes the first kind predetermined registration operation in the period is greater than the preset threshold, the terminal is controlled Issue the second predetermined warning message.

Fig. 7 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment, on the basis of Fig. 3 On, which can also include: starting module 701, in which:

Starting module 701 is configured as after control module 302 controls the terminal sending alert messages, opens pre- If application program;Alternatively, to user's display reminding message, to prompt user to open default application program.

Optionally, the default application program includes: English study application program, alternatively, books read application program etc..

Fig. 8 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment, on the basis of Fig. 3 On, which can also include: cleaning modul 801, in which:

Cleaning modul 801 is configured as detecting the adjacent time executed twice between the first kind predetermined registration operation When section is greater than the preset time period, terminal in the preset time period is executed to the number clear 0 of the first kind predetermined registration operation.

Optionally, the first kind predetermined registration operation include: light screen operator, close screen operator, unlocking screen operation, It opens the first kind and presets application program.

Fig. 9 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment, on the basis of Fig. 3 On, which can also include: display module 900, be configured as after the screen of the terminal is lighted, show on the terminal Show that statistical message, the statistical message include any one of following or any combination thereof:

History executes the total degree of the first kind predetermined registration operation, history controls total time that the terminal issues alert messages Number, history open the total degree of the default application program, history uses the total duration of the default application program.

Figure 10 is a kind of block diagram of the alarming device of the terminal shown according to another exemplary embodiment, which can lead to Crossing being implemented in combination with for software, hardware or both becomes some or all of of the electronic equipment comprising touching display screen.The dress Set may include: processor 901 and the executable instruction for storing the processor memory 902, wherein

Processor 901, is configured as:

Obtain the number that terminal in preset time period executes first kind predetermined registration operation;

It is default to judge whether the terminal executes the first kind predetermined registration operation in the preset time period number is greater than Threshold value;

The number that the terminal executes the first kind predetermined registration operation in the preset time period is greater than the default threshold When value, controls the terminal and issue alert messages.

About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.

Figure 11 is a kind of block diagram of the alarming device 1000 of terminal shown according to an exemplary embodiment.For example, device 1000 can be the terminals such as mobile phone, tablet computer.

Referring to Fig.1 0, device 1000 may include following one or more components: processing component 1002, memory 1004, Electric power assembly 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor module 1014 and communication component 1016.

The integrated operation of the usual control device 1000 of processing component 1002, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1002 may include one or more processors 1020 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.

Memory 1004 is configured as storing various types of data to support the operation in device 1000.These data Example includes the instruction of any application or method for operating on device 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.

Electric power assembly 1006 provides electric power for the various assemblies of device 1000.Electric power assembly 1006 may include power management System, one or more power supplys and other with for device 1000 generate, manage, and distribute the associated component of electric power.

Multimedia component 1008 includes that the touch-control of one output interface of offer between described device 1000 and user is aobvious Display screen.In some embodiments, touching display screen may include liquid crystal display (LCD) and touch panel (TP).Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.In some embodiments, multimedia component 1008 includes a front camera and/or rear camera.When device 1000 In operation mode, such as in a shooting mode or a video mode, front camera and/or rear camera can receive the more of outside Media data.Each front camera and rear camera can be a fixed optical lens system or have focal length and light Learn zoom capabilities.

Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1016 is sent.In some embodiments, audio component 1010 further includes a loudspeaker, is used for output audio signal.

I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.

Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented Estimate.For example, sensor module 1014 can detecte the state that opens/closes of device 1000, the relative positioning of component, such as institute The display and keypad that component is device 1000 are stated, sensor module 1014 can be with detection device 1000 or device 1,000 1 The position change of a component, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and dress Set 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.

Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1000,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.

In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the alarming method for power of above-mentioned terminal.

In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of device 1000 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..

A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1000 When device executes, so that device 1000 is able to carry out a kind of alarming method for power of aforementioned terminal, this method comprises:

Obtain the number that terminal in preset time period executes first kind predetermined registration operation;

It is default to judge whether the terminal executes the first kind predetermined registration operation in the preset time period number is greater than Threshold value;

The number that the terminal executes the first kind predetermined registration operation in the preset time period is greater than the default threshold When value, controls the terminal and issue alert messages.

Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.

It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (15)

1. a kind of alarming method for power of terminal, which is characterized in that the described method includes:
Obtain the number that terminal in preset time period executes first kind predetermined registration operation;
Whether the number for judging that the terminal executes the first kind predetermined registration operation in the preset time period is greater than preset threshold;
When the number that the terminal executes the first kind predetermined registration operation in the preset time period is greater than the preset threshold, It controls the terminal and issues alert messages;
Terminal executes the number of first kind predetermined registration operation in the acquisition preset time period, comprising:
Obtain operation performed by the terminal in the preset time period;
If performed operation belongs to the first kind predetermined registration operation, terminal in the preset time period is executed described first The number of class predetermined registration operation adds 1;
If performed operation belongs to the second class predetermined registration operation, it is pre- that terminal in the preset time period is executed into the first kind If the number clear 0 of operation;
Wherein, the second class predetermined registration operation is other all operations in addition to the first kind predetermined registration operation;
Wherein, the first kind predetermined registration operation includes: to light screen operator, close screen operator, unlocking screen operation, open the The default application program of one kind;
Wherein, it includes amusement class application program that the first kind, which presets application program,.
2. the method according to claim 1, wherein the method also includes:
Detect the motion state of the terminal;Correspondingly,
If the terminal is kept in motion, and the terminal executes the first kind predetermined registration operation in the preset time period Number is greater than the preset threshold, then the control terminal issues alert messages, comprising:
It controls the terminal and issues the first predetermined warning message.
3. the method according to claim 1, wherein the method also includes:
Current time is obtained, judges whether the current time belongs to the predetermined warning period;Correspondingly,
If the current time belongs to the predetermined warning period, and the terminal executes described the in the preset time period The number of a kind of predetermined registration operation is greater than the preset threshold, then the control terminal issues alert messages, comprising:
It controls the terminal and issues the second predetermined warning message.
4. method according to claim 1-3, which is characterized in that the control terminal issues alert messages Later, further includes:
It opens the second class and presets application program;Alternatively,
To user's display reminding message, application program is preset to prompt user to open the second class.
5. according to the method described in claim 4, it is characterized in that, the default application program of second class includes: English study Application program, alternatively, books read application program.
6. method according to claim 1-3, which is characterized in that the method also includes:
If detecting, the adjacent period executed between the first kind predetermined registration operation twice is greater than the preset time period, will Terminal executes the number clear 0 of the first kind predetermined registration operation in the preset time period.
7. according to the method described in claim 4, it is characterized in that, the method also includes:
After the screen of the terminal is lighted, show that statistical message, the statistical message include following any on the terminal Or any combination thereof:
History executes the total degree of the first kind predetermined registration operation, history control the terminal issue alert messages total degree, History open second class preset the total degree of application program, history using second class preset application program it is total when It is long.
8. a kind of alarming device of terminal, which is characterized in that described device includes:
First detection module is configured as obtaining the number that terminal in preset time period executes first kind predetermined registration operation;
Judgment module is configured as judging that the terminal in the preset time period executes the number of the first kind predetermined registration operation Whether preset threshold is greater than;
Control module, be configured as the terminal in the preset time period execute the first kind predetermined registration operation number it is big When the preset threshold, controls the terminal and issue alert messages;
The first detection module includes:
Detection sub-module is configured as obtaining operation performed by the terminal in the preset time period;
Counting submodule is configured as when performed operation belongs to the first kind predetermined registration operation, by the preset time The number that terminal executes the first kind predetermined registration operation in section adds 1;Alternatively, belonging to the second class predetermined registration operation in performed operation When, terminal in the preset time period is executed to the number clear 0 of the first kind predetermined registration operation;
Wherein, the second class predetermined registration operation is other all operations in addition to the first kind predetermined registration operation;
Wherein, the first kind predetermined registration operation includes: to light screen operator, close screen operator, unlocking screen operation, open the The default application program of one kind;
Wherein, it includes amusement class application program that the first kind, which presets application program,.
9. device according to claim 8, which is characterized in that described device further include:
Second detection module is configured as detecting the motion state of the terminal;Correspondingly,
The control module is specifically configured to be kept in motion in the terminal, and the end in the preset time period When the number that end executes the first kind predetermined registration operation is greater than the preset threshold, controls the terminal and issue the first predetermined warning Message.
10. device according to claim 8, which is characterized in that described device further include:
Module is obtained, is configured as obtaining current time, judges whether the current time belongs to the predetermined warning period;Accordingly Ground,
The control module is specifically configured to belong to the predetermined warning period in the current time, and described default When the number that the terminal executes the first kind predetermined registration operation in period is greater than the preset threshold, the terminal hair is controlled Second predetermined warning message out.
11. according to the described in any item devices of claim 8-10, which is characterized in that described device further include:
Starting module is configured as after the control module controls the terminal sending alert messages, it is pre- to open the second class If application program;Alternatively, presetting application program to user's display reminding message to prompt user to open the second class.
12. device according to claim 11, which is characterized in that second class presets application program and includes: Anglistics Application program is practised, alternatively, books read application program.
13. according to the described in any item devices of claim 8-10, which is characterized in that described device further include:
Cleaning modul is configured as detecting that the adjacent period executed twice between the first kind predetermined registration operation is greater than institute When stating preset time period, terminal in the preset time period is executed to the number clear 0 of the first kind predetermined registration operation.
14. device according to claim 11, which is characterized in that described device further include:
Display module is configured as after the screen of the terminal is lighted, and shows statistical message, the statistics on the terminal Message includes any one of following or any combination thereof:
History executes the total degree of the first kind predetermined registration operation, history control the terminal issue alert messages total degree, History open second class preset the total degree of application program, history using second class preset application program it is total when It is long.
15. a kind of alarming device of terminal, which is characterized in that described device includes:
The memory of processor and the executable instruction for storing the processor;
Wherein, the processor is configured to:
Obtain the number that terminal in preset time period executes first kind predetermined registration operation;
Whether the number for judging that the terminal executes the first kind predetermined registration operation in the preset time period is greater than preset threshold;
When the number that the terminal executes the first kind predetermined registration operation in the preset time period is greater than the preset threshold, It controls the terminal and issues alert messages;
Terminal executes the number of first kind predetermined registration operation in the acquisition preset time period, comprising:
Obtain operation performed by the terminal in the preset time period;
If performed operation belongs to the first kind predetermined registration operation, terminal in the preset time period is executed described first The number of class predetermined registration operation adds 1;
If performed operation belongs to the second class predetermined registration operation, it is pre- that terminal in the preset time period is executed into the first kind If the number clear 0 of operation;
Wherein, the second class predetermined registration operation is other all operations in addition to the first kind predetermined registration operation;
Wherein, the first kind predetermined registration operation includes: to light screen operator, close screen operator, unlocking screen operation, open the The default application program of one kind;
Wherein, it includes amusement class application program that the first kind, which presets application program,.
CN201610326291.2A 2016-05-17 2016-05-17 The alarming method for power and device of terminal CN106021077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610326291.2A CN106021077B (en) 2016-05-17 2016-05-17 The alarming method for power and device of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610326291.2A CN106021077B (en) 2016-05-17 2016-05-17 The alarming method for power and device of terminal

Publications (2)

Publication Number Publication Date
CN106021077A CN106021077A (en) 2016-10-12
CN106021077B true CN106021077B (en) 2019-05-21

Family

ID=57098163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610326291.2A CN106021077B (en) 2016-05-17 2016-05-17 The alarming method for power and device of terminal

Country Status (1)

Country Link
CN (1) CN106021077B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357934B (en) * 2016-11-24 2020-01-10 北京小米移动软件有限公司 Screen locking control method and device
CN106875945A (en) * 2017-03-09 2017-06-20 广东美的制冷设备有限公司 Sound control method, device and air-conditioner
CN107045470B (en) * 2017-04-26 2019-12-20 维沃移动通信有限公司 Safety prompting method of mobile terminal and mobile terminal
CN109285327A (en) * 2018-07-05 2019-01-29 惠州市德赛西威汽车电子股份有限公司 A kind of processing method using mobile phone for driver in driving conditions

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098389A (en) * 2011-02-16 2011-06-15 中兴通讯股份有限公司 Method and device for automatically reminding schedule as well as terminal equipment
CN102981723A (en) * 2012-11-07 2013-03-20 北京百度网讯科技有限公司 Unlocking method and unlocking device for mobile terminal and mobile terminal
WO2014153953A1 (en) * 2013-03-26 2014-10-02 东莞金卓通信科技有限公司 Touch monitoring method for touchscreen, and terminal
CN104915278A (en) * 2014-03-14 2015-09-16 小米科技有限责任公司 Application control method and device
CN105243322A (en) * 2015-10-10 2016-01-13 深圳市金立通信设备有限公司 Application program control method and terminal
CN105376719A (en) * 2015-11-12 2016-03-02 安一恒通(北京)科技有限公司 Information pushing method and device
CN105512524A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 Method and device for controlling access right on terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098389A (en) * 2011-02-16 2011-06-15 中兴通讯股份有限公司 Method and device for automatically reminding schedule as well as terminal equipment
CN102981723A (en) * 2012-11-07 2013-03-20 北京百度网讯科技有限公司 Unlocking method and unlocking device for mobile terminal and mobile terminal
WO2014153953A1 (en) * 2013-03-26 2014-10-02 东莞金卓通信科技有限公司 Touch monitoring method for touchscreen, and terminal
CN104915278A (en) * 2014-03-14 2015-09-16 小米科技有限责任公司 Application control method and device
CN105512524A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 Method and device for controlling access right on terminal device
CN105243322A (en) * 2015-10-10 2016-01-13 深圳市金立通信设备有限公司 Application program control method and terminal
CN105376719A (en) * 2015-11-12 2016-03-02 安一恒通(北京)科技有限公司 Information pushing method and device

Also Published As

Publication number Publication date
CN106021077A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
EP2930705A1 (en) Method and apparatus for controlling smart terminal
CN104391635B (en) Solve the device and method of lock screen
CN104714414B (en) The control method and device of smart home device, electronic equipment
CN104302048B (en) Method for controlling lamp and device
CN104850769B (en) Operation executes method and device
EP3093569B1 (en) Method and device for turning on air conditioner
CN104991789B (en) Application program open method and device
US10063760B2 (en) Photographing control methods and devices
CN104063655B (en) A kind of method and apparatus handling child mode
CN105468152B (en) Terminal operation control method, device and equipment based on wearable device
CN105677460B (en) Applied program processing method and device
CN104503689B (en) Application interface display methods and device
CN105353870B (en) Pass through the method and device of intelligent wearable device control terminal
CN104158955A (en) Event reminding method and device
CN104394500B (en) The method and device of terminal is found using wearable device
CN105160854B (en) Apparatus control method, device and terminal device
CN105095345B (en) The reminding method and device of PUSH message
CN104484799B (en) Method of payment and device
CN104732201B (en) Touch key-press and fingerprint recognition realization device, method and terminal device
KR20160132471A (en) Method and apparatus for triggering execution of operation instruction
EP3151207A1 (en) Alarming method and alarming device
CN104657057A (en) Terminal waking method and device
CN104812092B (en) A kind of networking methods and device of smart machine
CN105160239A (en) Application program access restriction method and apparatus
CN105607834B (en) Screen control method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01 Patent grant