CN105245718A - Control method and device of breathing lamp and mobile terminal - Google Patents
Control method and device of breathing lamp and mobile terminal Download PDFInfo
- Publication number
- CN105245718A CN105245718A CN201510710606.9A CN201510710606A CN105245718A CN 105245718 A CN105245718 A CN 105245718A CN 201510710606 A CN201510710606 A CN 201510710606A CN 105245718 A CN105245718 A CN 105245718A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- breath light
- blocked
- time
- described mobile
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000029058 respiratory gaseous exchange Effects 0.000 title abstract 7
- 238000001514 detection method Methods 0.000 claims description 11
- 239000002699 waste material Substances 0.000 abstract description 8
- 230000008569 process Effects 0.000 description 20
- 230000005611 electricity Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 14
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- LENZDBCJOHFCAS-UHFFFAOYSA-N tris Chemical compound OCC(N)(CO)CO LENZDBCJOHFCAS-UHFFFAOYSA-N 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides a control method and device of a breathing lamp and a mobile terminal. The control method of the breathing lamp comprises the following steps: starting the breathing lamp at the mobile terminal when an unprocessed notification event is in the mobile terminal; detecting whether the mobile terminal is shielded; if the mobile terminal is shielded, controlling the breathing lamp to turn off. The control method of the breathing lamp provided by the invention is capable of quickly turning off the breathing lamp according to a status whether the mobile terminal is shielded, and the waste of the electric quantity at the mobile terminal is avoided.
Description
Technical field
The present invention relates to field of mobile terminals, particularly a kind of control method of breath light, device and mobile terminal.
Background technology
Most of mobile terminal is all with breath light function.When mobile terminal has untreated incoming call, note or other message, breath light will start, and carrys out reminding user by flicker or the mode of Chang Liang and process message.After user reads or processes these message, breath light just can be closed.When user is not easy to operating handset, be difficult to quick closedown breath light.If user's inconvenience processes the message in mobile terminal, breath light then can glimmer or Chang Liang always.And when user's inconvenience process, the prompting of breath light is non-essential, therefore causes the waste of mobile terminal electricity.
Summary of the invention
The present invention is intended to solve the problems of the technologies described above at least to a certain extent.
For this reason, first object of the present invention is the control method proposing a kind of breath light, the state quick closedown breath light that whether can be blocked according to mobile terminal.
Second object of the present invention is the control method device proposing a kind of breath light.
3rd object of the present invention is to propose a kind of mobile terminal.
For reaching above-mentioned purpose, embodiment proposes a kind of control method of breath light according to a first aspect of the present invention, comprises the following steps: when there being untreated notification event in mobile terminal, starts the breath light of described mobile terminal; Detect described mobile terminal whether to be blocked; If described mobile terminal is blocked, then controls described breath light and close.
The control method of the breath light of the embodiment of the present invention, by when breath light starts, detect mobile terminal whether to be blocked, and when mobile terminal is blocked, control breath light is closed, thus the state quick closedown breath light that whether can be blocked according to mobile terminal, carry out without the need to user operations such as unlocking, check, greatly reduce the running cost of user, and avoid the waste of mobile terminal electricity.
Second aspect present invention embodiment provides a kind of control device of breath light, comprising: starting module, for when there being untreated notification event in mobile terminal, starting the breath light of described mobile terminal; Whether detection module, be blocked for detecting described mobile terminal; Control module, if be blocked for described mobile terminal, then controlled described breath light and closes.
The control device of the breath light of the embodiment of the present invention, by when breath light starts, detect mobile terminal whether to be blocked, and when mobile terminal is blocked, control breath light is closed, thus the state quick closedown breath light that whether can be blocked according to mobile terminal, carry out without the need to user operations such as unlocking, check, greatly reduce the running cost of user, and avoid the waste of mobile terminal electricity.
Third aspect present invention embodiment provides a kind of mobile terminal, comprises the control device of the breath light of second aspect present invention embodiment.
The mobile terminal of the embodiment of the present invention, by when breath light starts, detect self whether to be blocked, and when mobile terminal is blocked, control breath light is closed, thus the state quick closedown breath light that whether can be blocked according to mobile terminal, carry out without the need to user operations such as unlocking, check, greatly reduce the running cost of user, and avoid the waste of mobile terminal electricity.
Additional aspect of the present invention and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage will become obvious and easy understand from accompanying drawing below combining to the description of embodiment, wherein:
Fig. 1 is the flow chart of the control method of breath light according to an embodiment of the invention;
Fig. 2 is the flow chart of the control method of breath light in accordance with another embodiment of the present invention;
Fig. 3 is the structural representation of the control device of breath light according to an embodiment of the invention;
Fig. 4 is the structural representation of the control device of breath light in accordance with another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Below with reference to the accompanying drawings the control method of the breath light according to the embodiment of the present invention, device and mobile terminal are described.
Fig. 1 is the flow chart of the control method of breath light according to an embodiment of the invention.
As shown in Figure 1, according to the control method of the breath light of the embodiment of the present invention, comprising:
S101, when there being untreated notification event in mobile terminal, starts the breath light of mobile terminal.
In embodiments of the invention, mobile terminal can be the equipment such as mobile phone, panel computer, Intelligent wearable equipment.Notification event can be information, application information or the system information etc. that other equipment of receiving of mobile terminal sends.For example, untreated notification event can be missed call, unread short messages, the social program message (as micro-letter or QQ message) do not read, capacity prompt information, internal memory information etc.
When there being untreated notification event in mobile terminal, the breath light of mobile terminal can be started to point out user.
Whether S102, detect mobile terminal and be blocked.
In one embodiment of the invention, detect mobile terminal whether to be blocked and can specifically to comprise: the distance detecting breath light and the arbitrary object of mobile terminal periphery; If the distance of breath light and the arbitrary object of mobile terminal periphery is less than predeterminable range, then judge that mobile terminal is blocked; If the distance of breath light and the arbitrary object of mobile terminal periphery is not less than predeterminable range, then judge that mobile terminal is not blocked.
In one embodiment of the invention, mobile terminal can have range sensor, and this range sensor can close on breath light, thus detects the distance of breath light and the arbitrary object of mobile terminal periphery by range sensor.Wherein, when the distance of breath light and the arbitrary object of mobile terminal periphery is less than predeterminable range, the state of range sensor is proximity state, and namely mobile terminal is blocked; When the distance of breath light and the arbitrary object of mobile terminal periphery is not less than predeterminable range, the state of range sensor is that namely mobile terminal is not blocked away from state.
Wherein, predeterminable range can experimentally experience preset.
For example, for mobile phone, when mobile phone to be placed in bag or in pocket time, have object near mobile phone breath light time (as user's hand or other objects block mobile phone, turn to mobile phone screen towards desktop etc.), now, range sensor can detect that the distance of breath light and mobile terminal periphery object is less than predeterminable range, then judge that mobile phone is blocked.
S103, if mobile terminal is blocked, then controls breath light and closes.
Mobile terminal is blocked and represents that user current inconvenience processes notification event, and now breath light is not obvious to the reminding effect of user, therefore can stop reminding user, can control breath light and close, to save the electricity of mobile terminal.
If mobile terminal is not blocked, then keep the state of breath light constant.
The control method of the breath light of the embodiment of the present invention, by when breath light starts, detect mobile terminal whether to be blocked, and when mobile terminal is blocked, control breath light is closed, thus the state quick closedown breath light that whether can be blocked according to mobile terminal, carry out without the need to user operations such as unlocking, check, greatly reduce the running cost of user, and avoid the waste of mobile terminal electricity.
Fig. 2 is the flow chart of the control method of breath light in accordance with another embodiment of the present invention.
As shown in Figure 2, according to the control method of the breath light of the embodiment of the present invention, comprising:
S201, when there being untreated notification event in mobile terminal, starts the breath light of mobile terminal.
In embodiments of the invention, mobile terminal can be the equipment such as mobile phone, panel computer, Intelligent wearable equipment.Notification event can be information, application information or the system information etc. that other equipment of receiving of mobile terminal sends.For example, untreated notification event can be missed call, unread short messages, the social program message (as micro-letter or QQ message) do not read, capacity prompt information, internal memory information etc.
When there being untreated notification event in mobile terminal, the breath light of movable termination is to point out user.
Whether S202, detect mobile terminal and be blocked.
In one embodiment of the invention, detect mobile terminal whether to be blocked and can specifically to comprise: the distance detecting breath light and the arbitrary object of mobile terminal periphery; If the distance of breath light and the arbitrary object of mobile terminal periphery is less than predeterminable range, then judge that mobile terminal is blocked; If the distance of breath light and the arbitrary object of mobile terminal periphery is not less than predeterminable range, then judge that mobile terminal is not blocked.
In one embodiment of the invention, mobile terminal can have range sensor, and this range sensor can close on breath light, thus detects the distance of breath light and the arbitrary object of mobile terminal periphery by range sensor.Wherein, when the distance of breath light and the arbitrary object of mobile terminal periphery is less than predeterminable range, the state of range sensor is proximity state, and namely mobile terminal is blocked; When the distance of breath light and the arbitrary object of mobile terminal periphery is not less than predeterminable range, the state of range sensor is that namely mobile terminal is not blocked away from state.
Wherein, predeterminable range can experimentally experience preset.
For example, for mobile phone, when mobile phone to be placed in bag or in pocket time, have object near mobile phone breath light time (as user's hand or other objects block mobile phone, turn to mobile phone screen towards desktop etc.), now, range sensor can detect that the distance of breath light and mobile terminal periphery object is less than predeterminable range, then judge that mobile phone is blocked.
S203, if mobile terminal is blocked, then controls breath light and closes.
Mobile terminal is blocked and represents that user current inconvenience processes notification event, and now breath light is not obvious to the reminding effect of user, therefore can stop reminding user, can control breath light and close, to save the electricity of mobile terminal.
If mobile terminal is not blocked, then keep the state of breath light constant.
S204, the duration that record move terminal is blocked.
In an embodiment of the present invention, when detecting that mobile terminal is blocked, can start timer and starting timing, until mobile terminal becomes from the state of being blocked the state of not being blocked terminate timing, the timing time of timer is the duration that mobile terminal is blocked.
Further, when exceeding preset duration when timer, terminate timing, and the duration that will the timing time of timing be terminated be blocked as mobile terminal.Thus the duration that mobile terminal is blocked can be obtained as early as possible when mobile terminal is blocked for a long time.
Particularly, if when breath light starts, mobile terminal is in the state of being blocked, then timing from during startup breath light.If when breath light starts, mobile terminal is not blocked, then can from mobile terminal be never blocked become be blocked time timing.
S205, if the duration that mobile terminal is blocked is less than or equal to the very first time, then restarts breath light after breath light closes Preset Time.
Wherein, the very first time and Preset Time can be default value or are set by the user.Such as, the very first time can be 10 minutes, and Preset Time can be 1 hour.
For example, if after breath light starts, if user was inconvenient to check, process the notice time at that time, need to process after a while, then user can be placed on hand or other objects and do the short time near breath light and stop, and namely of short durationly blocked mobile terminal, to close breath light.Breath light can start, again to continue to remind user after closing Preset Time.
Thus, when mobile terminal be blocked the time shorter time, by temporary close breath light, and restart breath light after a preset time lapses and remind, thus user can process the notice time according to prompting at one's leisure, while saving electricity, still can remind user, in order to avoid user misses this event.
S206, if the duration that mobile terminal is blocked is greater than the very first time and be less than for the second time, then restarts breath light when again receiving notification event.
That is, if the duration that mobile terminal is blocked is greater than the very first time and be less than for the second time, then current untreated notification event is done and ignore process, namely can not arouse breath light reminding user for current untreated notification event.
Wherein, the second time can be default value or was set by the user.Such as, the second time can be 30 minutes.
After restarting breath light, timer reclocking can be started, to recalculate the duration that mobile terminal is blocked, and control the state of breath light according to the duration that mobile terminal is blocked.
Thus, when the time that mobile terminal is blocked is longer, the prompting for current notifications event can be stopped, thus save electricity.
S207, if the duration that mobile terminal is blocked was more than or equal to for the second time, then keeps the closed condition of breath light.
For example, if mobile phone is placed into more than the second time in bag, the closed condition of breath light can so be kept.That is, close breath light prompting function, the notification event namely in mobile terminal can not trigger breath light again and start with the user of prompting mobile terminal.Until the state of mobile terminal becomes the state of not being blocked, recover breath light prompting function.
When the time that mobile terminal is blocked is long especially, shows the current prompting cannot seeing breath light of user, therefore can close breath light function, no longer carry out event notification, thus effectively can save electricity.
Should be appreciated that the duration be blocked in order to mobile terminal can be obtained as early as possible, aforementioned for can be set to identical with the second time as the preset duration of termination condition when judging timer or be a bit larger tham for the second time.
Thus, the different range residing for duration that can be blocked according to mobile terminal, controls the shutdown strategy of breath light, meets the different demands of user, improve Consumer's Experience.
In one embodiment of the invention, when the duration that mobile terminal is blocked reaches the very first time or the second time, can remind the user of mobile terminal.Particularly, can carry out vibration reminding to the user of mobile terminal, so that the state that user or mobile terminal are blocked, thus user can know breath light to close, and determines whether check notification event as required.
In an embodiment of the present invention, if detect that mobile terminal is no longer blocked when breath light is closed condition, then breath light is restarted.Thus, when mobile terminal is no longer blocked, by breath light, event notification is carried out to user, so that user can process notification event in time.
In order to realize above-described embodiment, the present invention also proposes a kind of control device of breath light.
Fig. 3 is the structural representation of the control device of breath light according to an embodiment of the invention.
As shown in Figure 3, according to the control device of the breath light of the embodiment of the present invention, comprising: start module 10, detection module 20 and control module 30.
Particularly, starting module 10 for when there being untreated notification event in mobile terminal, starting the breath light of mobile terminal.
In embodiments of the invention, mobile terminal can be the equipment such as mobile phone, panel computer, Intelligent wearable equipment.Notification event can be information, application information or the system information etc. that other equipment of receiving of mobile terminal sends.For example, untreated notification event can be missed call, unread short messages, the social program message (as micro-letter or QQ message) do not read, capacity prompt information, internal memory information etc.
When there being untreated notification event in mobile terminal, starting module 10 and can start the breath light of mobile terminal to point out user.
Whether detection module 20 is blocked for detecting mobile terminal.
In one embodiment of the invention, detection module 20 can be specifically for: the distance detecting breath light and the arbitrary object of mobile terminal periphery; If the distance of breath light and the arbitrary object of mobile terminal periphery is less than predeterminable range, then judge that mobile terminal is blocked; If the distance of breath light and the arbitrary object of mobile terminal periphery is not less than predeterminable range, then judge that mobile terminal is not blocked.
In one embodiment of the invention, detection module 20 can comprise range sensor, and this range sensor can close on breath light, thus detection module 20 detects the distance of breath light and the arbitrary object of mobile terminal periphery by range sensor.Wherein, when the distance of breath light and the arbitrary object of mobile terminal periphery is less than predeterminable range, the state of range sensor is proximity state, and namely mobile terminal is blocked; When the distance of breath light and the arbitrary object of mobile terminal periphery is not less than predeterminable range, the state of range sensor is that namely mobile terminal is not blocked away from state.
Wherein, predeterminable range can experimentally experience preset.
For example, for mobile phone, when mobile phone to be placed in bag or in pocket time, have object near mobile phone breath light time (as user's hand or other objects block mobile phone, turn to mobile phone screen towards desktop etc.), now, range sensor can detect that the distance of breath light and mobile terminal periphery object is less than predeterminable range, then judge that mobile phone is blocked.
If control module 30 is blocked for mobile terminal, then controls breath light and close.
Mobile terminal is blocked and represents that the current inconvenience of user processes notification event, now breath light is not obvious to the reminding effect of user, therefore can stop reminding user, namely control breath light by control module 30 and close, to save the electricity of mobile terminal.
If mobile terminal is not blocked, then keep the state of breath light constant.
The control device of the breath light of the embodiment of the present invention, by when breath light starts, detect mobile terminal whether to be blocked, and when mobile terminal is blocked, control breath light is closed, thus the state quick closedown breath light that whether can be blocked according to mobile terminal, carry out without the need to user operations such as unlocking, check, greatly reduce the running cost of user, and avoid the waste of mobile terminal electricity.
Fig. 4 is the structural representation of the control device of breath light in accordance with another embodiment of the present invention.
As shown in Figure 4, according to the control device of the breath light of the embodiment of the present invention, comprising: start module 10, detection module 20, control module 30, logging modle 40 and prompting module 50.
Wherein, start module 10, detection module 20 and control module 30 and can refer to embodiment illustrated in fig. 3, do not repeat them here.
The duration that logging modle 40 is blocked for record move terminal.
In an embodiment of the present invention, when detecting that mobile terminal is blocked, logging modle 40 can start timer and start timing, until mobile terminal becomes from the state of being blocked the state of not being blocked terminate timing, the timing time of timer is the duration that mobile terminal is blocked.
Further, when exceeding preset duration when timer, terminate timing, and the duration that will the timing time of timing be terminated be blocked as mobile terminal.Thus the duration that mobile terminal is blocked can be obtained as early as possible when mobile terminal is blocked for a long time.
Particularly, if when breath light starts, mobile terminal is in the state of being blocked, then timing from during startup breath light.If when breath light starts, mobile terminal is not blocked, then can from mobile terminal be never blocked become be blocked time timing.
Control module 30 specifically for: if the duration that mobile terminal is blocked is less than or equal to the very first time, then closes after Preset Time at breath light and restart breath light; If the duration that mobile terminal is blocked is greater than the very first time and be less than for the second time, then restart breath light when again receiving notification event.
Wherein, the very first time, Preset Time and the second time can be default value or are set by the user.Such as, the very first time can be 10 minutes, and Preset Time can be 1 hour, and the second time can be 30 minutes.
For example, if after breath light starts, if user was inconvenient to check, process the notice time at that time, need to process after a while, then user can be placed on hand or other objects and do the short time near breath light and stop, and namely of short durationly blocked mobile terminal, to close breath light.Breath light can start, again to continue to remind user after closing Preset Time; If the duration that mobile terminal is blocked was more than or equal to for the second time, then keep the closed condition of breath light.Thus, when mobile terminal be blocked the time shorter time, by temporary close breath light, and restart breath light after a preset time lapses and remind, thus user can process the notice time according to prompting at one's leisure, while saving electricity, still can remind user, in order to avoid user misses this event.
If the duration that mobile terminal is blocked is greater than the very first time and be less than for the second time, then current untreated notification event is done and ignore process, namely can not arouse breath light reminding user for current untreated notification event.After restarting breath light, timer reclocking can be started, to recalculate the duration that mobile terminal is blocked, and control the state of breath light according to the duration that mobile terminal is blocked.Thus, when the time that mobile terminal is blocked is longer, the prompting for current notifications event can be stopped, thus save electricity.
If mobile phone is placed into more than the second time in bag, the closed condition of breath light so can be kept.That is, close breath light prompting function, the notification event namely in mobile terminal can not trigger breath light again and start with the user of prompting mobile terminal.Until the state of mobile terminal becomes the state of not being blocked, recover breath light prompting function.When the time that mobile terminal is blocked is long especially, shows the current prompting cannot seeing breath light of user, therefore can close breath light function, no longer carry out event notification, thus effectively can save electricity.
Should be appreciated that the duration be blocked in order to mobile terminal can be obtained as early as possible, aforementioned for can be set to identical with the second time as the preset duration of termination condition when judging timer or be a bit larger tham for the second time.
Thus, the different range residing for duration that can be blocked according to mobile terminal, controls the shutdown strategy of breath light, meets the different demands of user, improve Consumer's Experience.
When prompting module 50 reaches the very first time or the second time for the duration be blocked when mobile terminal, the user of mobile terminal is reminded.Particularly, can carry out vibration reminding to the user of mobile terminal, so that the state that user or mobile terminal are blocked, thus user can know breath light to close, and determines whether check notification event as required.
Wherein, prompting module 50 is optional.
In an embodiment of the present invention, control module 30 also for: if detect that mobile terminal is no longer blocked when breath light is closed condition, then restart breath light.Thus, when mobile terminal is no longer blocked, by breath light, event notification is carried out to user, so that user can process notification event in time.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal.
The mobile terminal of the embodiment of the present invention comprises the control device of the breath light of any embodiment of the present invention.
The mobile terminal of the embodiment of the present invention, by when breath light starts, detect self whether to be blocked, and when mobile terminal is blocked, control breath light is closed, thus the state quick closedown breath light that whether can be blocked according to mobile terminal, carry out without the need to user operations such as unlocking, check, greatly reduce the running cost of user, and avoid the waste of mobile terminal electricity.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasablely edit read-only memory (EPROM or flash memory), fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanner to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer storage.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalency thereof.
Claims (11)
1. a control method for breath light, is characterized in that, comprises the following steps:
When there being untreated notification event in mobile terminal, start the breath light of described mobile terminal;
Detect described mobile terminal whether to be blocked;
If described mobile terminal is blocked, then controls described breath light and close.
2. the control method of breath light as claimed in claim 1, is characterized in that, after the described breath light of control is closed, also comprises:
Record the duration that described mobile terminal is blocked;
If the duration that described mobile terminal is blocked is less than or equal to the very first time, then after described breath light closes Preset Time, restart described breath light;
If the duration that described mobile terminal is blocked is greater than the described very first time and be less than for the second time, then restart described breath light when again receiving notification event;
If the duration that described mobile terminal is blocked is more than or equal to described second time, then keep the closed condition of described breath light.
3. the control method of breath light as claimed in claim 1 or 2, is characterized in that, also comprise:
If detect that when described breath light is closed condition described mobile terminal is no longer blocked, then restart described breath light.
4. the control method of breath light as claimed in claim 2, is characterized in that, also comprise:
When the duration that described mobile terminal is blocked reaches the described very first time or described second time, the user of described mobile terminal is reminded.
5. the control method of breath light as claimed in claim 1, it is characterized in that, whether the described mobile terminal of described detection is blocked and specifically comprises:
Detect the distance of described breath light and the arbitrary object of described mobile terminal periphery;
If described distance is less than predeterminable range, then judge that described mobile terminal is blocked;
If described distance is not less than described predeterminable range, then judge that described mobile terminal is not blocked.
6. a control device for breath light, is characterized in that, comprising:
Starting module, for when there being untreated notification event in mobile terminal, starting the breath light of described mobile terminal;
Whether detection module, be blocked for detecting described mobile terminal;
Control module, if be blocked for described mobile terminal, then controlled described breath light and closes.
7. the control device of breath light as claimed in claim 6, is characterized in that, also comprise:
Logging modle, after closing at the described breath light of control, records the duration that described mobile terminal is blocked;
Wherein,
Described control module also for:
If the duration that described mobile terminal is blocked is less than or equal to the very first time, then after described breath light closes Preset Time, restart described breath light;
If the duration that described mobile terminal is blocked is greater than the described very first time and be less than for the second time, then restart described breath light when again receiving notification event;
If the duration that described mobile terminal is blocked is more than or equal to described second time, then keep the closed condition of described breath light.
8. the control device of breath light as claimed in claims 6 or 7, is characterized in that, described control module also for:
If detect that when described breath light is closed condition described mobile terminal is no longer blocked, then restart described breath light.
9. the control device of breath light as claimed in claim 7, is characterized in that, also comprise:
Prompting module, for when the duration that described mobile terminal is blocked reaches the described very first time or described second time, reminds the user of described mobile terminal.
10. the control device of breath light as claimed in claim 6, is characterized in that, described detection module specifically for:
Detect the distance of described breath light and the arbitrary object of described mobile terminal periphery;
If described distance is less than predeterminable range, then judge that described mobile terminal is blocked;
If described distance is not less than described predeterminable range, then judge that described mobile terminal is not blocked.
11. 1 kinds of mobile terminals, is characterized in that, comprise the control device of the breath light as described in any one of claim 6-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710606.9A CN105245718B (en) | 2015-10-27 | 2015-10-27 | Control method, device and the mobile terminal of breath light |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710606.9A CN105245718B (en) | 2015-10-27 | 2015-10-27 | Control method, device and the mobile terminal of breath light |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105245718A true CN105245718A (en) | 2016-01-13 |
CN105245718B CN105245718B (en) | 2018-03-23 |
Family
ID=55043210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510710606.9A Expired - Fee Related CN105245718B (en) | 2015-10-27 | 2015-10-27 | Control method, device and the mobile terminal of breath light |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105245718B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488027A (en) * | 2016-10-31 | 2017-03-08 | 维沃移动通信有限公司 | A kind of control method of display lamp and mobile terminal |
CN107682512A (en) * | 2017-09-22 | 2018-02-09 | 上海斐讯数据通信技术有限公司 | A kind of method and system of prompting mobile telephone set people of unread information |
CN107708271A (en) * | 2017-09-28 | 2018-02-16 | 奇酷互联网络科技(深圳)有限公司 | Illumination functions control method, device, mobile terminal and storage medium |
CN107896275A (en) * | 2017-10-30 | 2018-04-10 | 珠海市魅族科技有限公司 | Information reminding control method, computer-readable recording medium and the terminal of terminal |
WO2018232661A1 (en) * | 2017-06-21 | 2018-12-27 | 深圳支点电子智能科技有限公司 | Mobile terminal prompting method and mobile terminal |
WO2018232651A1 (en) * | 2017-06-21 | 2018-12-27 | 深圳支点电子智能科技有限公司 | Mobile terminal and related program product |
CN110381206A (en) * | 2019-07-19 | 2019-10-25 | Oppo广东移动通信有限公司 | Information push method and device based on terminal device |
CN112188098A (en) * | 2020-09-29 | 2021-01-05 | 海信视像科技股份有限公司 | Display equipment and camera breathing lamp control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090097414A1 (en) * | 2007-10-15 | 2009-04-16 | Mu Hy Yoon | Communication device and method of providing location information therein |
CN102236526A (en) * | 2011-06-23 | 2011-11-09 | 广州市动景计算机科技有限公司 | Method and device for browsing page in mobile terminal and mobile terminal |
CN103501385A (en) * | 2013-09-18 | 2014-01-08 | 东莞宇龙通信科技有限公司 | Mobile terminal and power saving reminding method for reminding events of mobile terminal |
CN104052876A (en) * | 2014-06-18 | 2014-09-17 | 深圳市欧珀通信软件有限公司 | Breathing lamp reminding method applied to mobile terminal and mobile terminal |
CN104135799A (en) * | 2014-08-05 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Breathing lamp control method and intelligent terminal |
-
2015
- 2015-10-27 CN CN201510710606.9A patent/CN105245718B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090097414A1 (en) * | 2007-10-15 | 2009-04-16 | Mu Hy Yoon | Communication device and method of providing location information therein |
CN102236526A (en) * | 2011-06-23 | 2011-11-09 | 广州市动景计算机科技有限公司 | Method and device for browsing page in mobile terminal and mobile terminal |
CN103501385A (en) * | 2013-09-18 | 2014-01-08 | 东莞宇龙通信科技有限公司 | Mobile terminal and power saving reminding method for reminding events of mobile terminal |
CN104052876A (en) * | 2014-06-18 | 2014-09-17 | 深圳市欧珀通信软件有限公司 | Breathing lamp reminding method applied to mobile terminal and mobile terminal |
CN104135799A (en) * | 2014-08-05 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Breathing lamp control method and intelligent terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488027A (en) * | 2016-10-31 | 2017-03-08 | 维沃移动通信有限公司 | A kind of control method of display lamp and mobile terminal |
WO2018232661A1 (en) * | 2017-06-21 | 2018-12-27 | 深圳支点电子智能科技有限公司 | Mobile terminal prompting method and mobile terminal |
WO2018232651A1 (en) * | 2017-06-21 | 2018-12-27 | 深圳支点电子智能科技有限公司 | Mobile terminal and related program product |
CN107682512A (en) * | 2017-09-22 | 2018-02-09 | 上海斐讯数据通信技术有限公司 | A kind of method and system of prompting mobile telephone set people of unread information |
CN107708271A (en) * | 2017-09-28 | 2018-02-16 | 奇酷互联网络科技(深圳)有限公司 | Illumination functions control method, device, mobile terminal and storage medium |
CN107896275A (en) * | 2017-10-30 | 2018-04-10 | 珠海市魅族科技有限公司 | Information reminding control method, computer-readable recording medium and the terminal of terminal |
CN110381206A (en) * | 2019-07-19 | 2019-10-25 | Oppo广东移动通信有限公司 | Information push method and device based on terminal device |
CN112188098A (en) * | 2020-09-29 | 2021-01-05 | 海信视像科技股份有限公司 | Display equipment and camera breathing lamp control method |
Also Published As
Publication number | Publication date |
---|---|
CN105245718B (en) | 2018-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105245718A (en) | Control method and device of breathing lamp and mobile terminal | |
CN109803359B (en) | Method for awakening terminal system and terminal | |
CN107302789B (en) | Method and system for improving battery endurance of android device | |
CN106055073A (en) | Processing method and device based on screen-lighting lock | |
CN105282346A (en) | Screen power saving method and device and mobile terminal | |
WO2016165078A1 (en) | Method and terminal for controlling application | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN106095288A (en) | A kind of based on the treating method and apparatus waking up lock up | |
CN104660795A (en) | Information processing method and electronic equipment | |
CN104918309A (en) | Energy-saving method and device for mobile terminal | |
CN104156053A (en) | Abnormal power consumption control method, abnormal power consumption control device and mobile terminal | |
CN104267795B (en) | Electric quantity managing method, power management device and electronic equipment | |
CN106547335A (en) | Energy consumption reduces method and mobile terminal | |
WO2015131550A1 (en) | Method and apparatus for controlling player to enter sleep mode and terminal device | |
CN104536813A (en) | Accelerating method and device for computing equipment | |
CN105867577A (en) | Terminal awakening method and terminal | |
CN110209428A (en) | A kind of terminal screen awakening method, device, terminal and storage medium | |
CN103458109B (en) | Reminding method of unread information or missed calls of mobile terminal and mobile terminal | |
CN103873667A (en) | Method for detecting distance between user and mobile terminal and mobile terminal | |
CN105468370A (en) | Method and system for quickly removing message in notification bar of mobile terminal and mobile terminal | |
CN104461717A (en) | Information processing method and electronic equipment | |
WO2016045525A1 (en) | Method and apparatus for processing state of terminal | |
CN106293709A (en) | The management method of application program, managing device and terminal | |
CN103488274B (en) | Power saving reminding method for unhandled events and intelligent terminal | |
WO2018068539A1 (en) | Information prompting control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180323 |