CN104582165A - Method for adjusting breathing light, and mobile terminal - Google Patents

Method for adjusting breathing light, and mobile terminal Download PDF

Info

Publication number
CN104582165A
CN104582165A CN201410840760.3A CN201410840760A CN104582165A CN 104582165 A CN104582165 A CN 104582165A CN 201410840760 A CN201410840760 A CN 201410840760A CN 104582165 A CN104582165 A CN 104582165A
Authority
CN
China
Prior art keywords
breath light
mobile terminal
state value
value
charge mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410840760.3A
Other languages
Chinese (zh)
Inventor
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410840760.3A priority Critical patent/CN104582165A/en
Publication of CN104582165A publication Critical patent/CN104582165A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a method for adjusting a breathing light. The method comprises the following steps: a mobile terminal acquires a first state value of the breathing light of the mobile terminal under a charging mode; the mobile terminal detects whether a battery of the mobile terminal is in a charging mode or not; if the mobile terminal defects that the battery of the mobile terminal is in the charging mode, the mobile terminal adjusts the breathing effect of the breathing light according to the first state value. The embodiment of the invention further provides a mobile terminal. The mobile terminal provided by the embodiment of the invention can be adopted to adjust the breathing effect of the breathing light under the charging mode according to the first state value of the breathing light, so that the breathing light can be adjusted to keep low brightness and low frequency under the charging mode, and the influence on sleep of users is reduced.

Description

A kind of method and mobile terminal regulating breath light
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of method and the mobile terminal that regulate breath light.
Background technology
At present, breath light is widely used on mobile terminal, and becomes one of attraction of each famous brand mobile terminal.If there is the inside to have untreated notice in mobile phone, such as: when the low electricity of missed call, person, note of not checking and accepting etc., breath light by secretly to bright change, so will have rhythm as breathing is the same, play the effect of a notice and prompting.
Then, the use of breath light also brings interference to user, and when sleeping especially at night, the brightness of breath light is excessively bright, and the rhythm of breath light is too fast, has influence on the ortho of user.
Summary of the invention
Embodiments provide a kind of method and the mobile terminal that regulate breath light, effectively can regulate the brightness of the breath light under charge mode and frequency.
Embodiment of the present invention first aspect provides a kind of method regulating breath light, comprising:
Acquisition for mobile terminal is applied in the first state value of the breath light of the described mobile terminal under charge mode;
Whether the battery that described mobile terminal detects described mobile terminal is in charge mode;
If described mobile terminal detects that the battery of described mobile terminal is in charge mode, described mobile terminal regulates the effect of breathing of described breath light according to described first state value.
Embodiment of the present invention second aspect provides a kind of mobile terminal, comprising:
Acquiring unit, for obtaining the first state value of the breath light of described mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal;
Whether detecting unit, be in charge mode for detecting described mobile terminal;
Regulon, if detect that described mobile terminal is in charge mode for described detecting unit, regulates the effect of breathing of described breath light according to described first state value.
Implement the embodiment of the present invention, there is following beneficial effect:
First state value of the breath light of mobile terminal described in embodiment of the present invention acquisition for mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal; Described mobile terminal detects described mobile terminal and whether is in charge mode; If described mobile terminal detects that described mobile terminal is in charge mode, described mobile terminal regulates the effect of breathing of described breath light according to described first state value.Adopt the embodiment of the present invention, mobile terminal effectively can regulate the breath light filled under lower pattern, and to realize, brightness is low, respiratory rate is low.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment, description below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of the first embodiment schematic flow sheet regulating the method for breath light that Fig. 1 provides for the embodiment of the present invention;
A kind of the second embodiment schematic flow sheet regulating the method for breath light that Fig. 2 provides for the embodiment of the present invention;
First example structure schematic diagram of a kind of mobile terminal that Fig. 3 provides for the embodiment of the present invention;
Second example structure schematic diagram of a kind of mobile terminal that Fig. 4 provides for the embodiment of the present invention;
3rd example structure schematic diagram of a kind of mobile terminal that Fig. 5 provides for the embodiment of the present invention.
execution mode
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In realization, in the embodiment of the present invention, mobile terminal can include but not limited to: notebook computer, mobile phone, panel computer, intelligent wearable device etc.The system of mobile terminal refers to the operating system of mobile terminal, can include but not limited to: android system, Saipan system, Windows system, IOS (Mobile operating system of Apple's exploitation) system etc.It should be noted that, Android mobile terminal refers to the mobile terminal of android system, and Saipan mobile terminal refers to the mobile terminal of Saipan system, etc.Above-mentioned mobile terminal is only citing, and non exhaustive, including but not limited to above-mentioned mobile terminal.
Below will for mobile phone, composition graphs 1 to Fig. 5 is described a kind of method of breath light and mobile terminal of regulating that the embodiment of the present invention provides.
Refer to Fig. 1, Fig. 1 is a kind of the first embodiment schematic flow sheet regulating the method for breath light that the embodiment of the present invention provides.The method of the adjustment breath light described in the present embodiment, comprises step:
First state value of the breath light of mobile terminal described in S101, acquisition for mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal.
Particularly, the first state value of the breath light of acquisition for mobile terminal mobile terminal, wherein, the first state value is the regulating parameter of the effect of breathing of breath light under charge mode.
As a kind of possible execution mode, according to function and the purposes of breath light, the breath light of mobile terminal can include but are not limited to: battery breath light, notice breath light, early warning breath light etc.Battery breath light is used for pointing out the power consumption of user battery, charged state or low electricity condition.Further alternatively, differently can adjust the brightness of breath light, color or frequency according to the state of charge of battery.The suggestion content of notice breath light can include but are not limited to: point out user's missed call, prompting user does not read note, prompting user QQ information, the micro-letter information of prompting user, prompting user credit card are refunded, point out user's memo information, prompting user daily life system etc.Early warning breath light is mainly used to early warning, can include but are not limited to: mobile terminal is poisoning, mobile terminal under input error password exceedes preset times, the stolen situation of mobile terminal, user starts warning function etc. from web terminal.
As a kind of possible execution mode, mobile terminal can comprise multiple breath light, and such as, mobile terminal can comprise two breath lights, and a breath light is used as battery breath light; Be used for reminding user charge condition, another breath light is used as notice breath light, is used for notifying user's important messages.
As a kind of possible execution mode, the effect of breathing of breath light is by the brightness decision of the color of breath light, the frequency of breath light or breathing.As mobile terminal regulates by regulating the effect of breathing of breath light Color pair breath light; Mobile terminal regulates by regulating the effect of breathing of frequency to breath light of breath light; Mobile terminal regulates by regulating the effect of breathing of brightness to breath light of breath light; Mobile terminal regulates by the color and the effect of breathing of frequency to breath light regulating breath light; Mobile terminal regulates by the color and the effect of breathing of brightness to breath light regulating breath light; Mobile terminal regulates by the frequency and the effect of breathing of brightness to breath light regulating breath light; Mobile terminal regulates by regulating the color of breath light, frequency and the effect of breathing of brightness to breath light.Wherein, the color of the breath light of mobile terminal can include but are not limited to: redness, yellow, blueness, green, grey, white, orange, purple etc.Further alternatively, the color of breath light to be arranged in pairs or groups adjustable colors by the breath light of several identical function and purposes.
As a kind of possible execution mode, acquisition for mobile terminal also can comprise before being applied in the first state value of the breath light of the mobile terminal under charge mode: the brightness value of acquisition for mobile terminal breath light and the frequency values of breath light.Further alternatively, the brightness value of breath light and the frequency values of breath light are calculated according to preset algorithm by mobile terminal by the first state value, wherein:
As a kind of possible execution mode, the brightness value of mobile terminal can comprise low brightness values and high luminance values.Wherein, the low brightness values under charge mode can be set to: 90, and the low brightness values under low power mode can adopt the brightness value 255 of acquiescence.
As a kind of possible execution mode, the state value of breath light belongs to the one in the state value of breath light, the state value of breath light can include but are not limited to: low power mode state value, charge mode value, full power mode state value, missed call mode state value, memorandum prompting state value, modes of warning state value etc., wherein, charge mode value is the first state value.Alternatively, the state value of breath light and the effect of breathing one_to_one corresponding of breath light.
The frequency of the breath light of mobile terminal can be regulated by the time of turning off the light of the lighting time of breath light and breath light and realize, the complete light on and off cycle of breath light can be expressed as: totalMS=onMS+offMS, wherein, totalMS represents the consuming time of the one-period of breath light light on and off, onMS represents a lighting time of breath light, and offMS represents breath light time of turning off the light.
As a kind of possible execution mode, the state value of breath light under the first state value and charge mode, can be expressed as: step1=totalMS/20, wherein step1 represents the first state value, and totalMS represents the consuming time of the one-period inhaling lamp on/off.
As a kind of possible execution mode, low electricity condition value can be expressed as: step 2=totalMS/30, and wherein step2 represents low electricity condition value, and totalMS represents the consuming time of the one-period inhaling lamp on/off.
As a kind of possible execution mode, battery breath light can be set under low power mode: color is for red, and effect of breathing is flicker, and the lighting time of breath light is 125ms, and the time of turning off the light of breath light is 2875ms; Notice breath light color is set to green, and effect of breathing is flicker, and the lighting time of breath light is bright 500ms, and the time of turning off the light of breath light is 2000ms.
Further alternatively, preset algorithm can include but are not limited to: as the state value preset, as the direct state value by charge mode is decided to be 1, the state value under venue mode is decided to be 2, and the state value under notification mode is defined as 3 etc.; Or, above-mentioned totalMS is carried out evolution process; Or, to devise a stratagem calculation according to certain complicated function preset.
As a kind of possible execution mode, mobile terminal can read the configuration file of system, i.e. the first state value of mobile terminal, according to lighting time and the time of turning off the light of the breath light of the first state value configuration, the breath light calling mobile terminal setting according to the first state value regulates interface, first state value is delivered to drive software, drive software drives the battery breath light in breath light to show effect of breathing according to the brightness value in the first state value or lighting time and time of turning off the light (frequency values) according to the first state value, thus breath light realizes effect of breathing.
S102, described mobile terminal detect described mobile terminal and whether are in charge mode.
Particularly, mobile terminal detects mobile terminal and whether is in charge mode.Mobile terminal detects its battery and whether is in charge mode, according to the state value of the brightness of breath light, frequency or breath light, mobile terminal can judge whether mobile terminal is in charge mode.Further alternatively, according to the brightness of breath light, mobile terminal can judge whether mobile terminal is in charge mode; According to the frequency of breath light, mobile terminal can judge whether mobile terminal is in charge mode; According to the state value of breath light, mobile terminal can judge whether mobile terminal is in charge mode; According to the brightness of breath light and frequency, mobile terminal can judge whether mobile terminal is in charge mode; According to the color of breath light, mobile terminal can judge whether mobile terminal is in charge mode etc.
If the described mobile terminal of S103 detects that the battery of described mobile terminal is in charge mode, described mobile terminal regulates the effect of breathing of described breath light according to described first state value.
Particularly, if mobile terminal detects that mobile terminal is in charge mode, mobile terminal regulates the effect of breathing of breath light according to the first state value.
First state value of the breath light of mobile terminal described in embodiment of the present invention acquisition for mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal; Described mobile terminal detects described mobile terminal and whether is in charge mode; If described mobile terminal detects that described mobile terminal is in charge mode, described mobile terminal regulates the effect of breathing of described breath light according to described first state value.Adopt embodiment of the present invention mobile terminal can regulate the effect of breathing of breath light under charge mode according to the first state value of breath light, thus the breath light under making charge mode regulate and keep low-light level, low frequency, to reduce to impact user's dormancy.
Refer to Fig. 2, Fig. 2 is a kind of the second embodiment schematic flow sheet regulating the method for breath light that the embodiment of the present invention provides.The method of taking pictures described in the present embodiment, comprises step:
S201, described mobile terminal detect the brightness value of described breath light and/or the frequency values of described breath light.
Particularly, mobile terminal detects the brightness value of breath light and/or the frequency values of breath light.Mobile terminal can be adopted and judge whether breath light enters charge mode with the following method, can include but are not limited to: the frequency values, the color of breath light, the state value of breath light etc. that detect the brightness value of breath light, the frequency values of breath light, the brightness value of breath light and breath light.Such as, the brightness value of breath light, suppose to arrange different brightness values for the different mode of breath light, as charge mode is set to 90, low power mode is set to 255, and full power mode is set to 180, missed call notice is set to 200, so, when mobile terminal detects that the brightness value that breath light is corresponding is 90 time, mobile terminal can judge that breath light is in charge mode.
The brightness value of the brightness value of the described breath light that described mobile terminal detects by S202, described mobile terminal and/or the frequency values of the described breath light described breath light corresponding with described first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.
Particularly, the brightness value of the brightness value of the breath light that mobile terminal detects by mobile terminal and/or the frequency values of the described breath light described breath light corresponding with the first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.The brightness value that the brightness of the breath light that mobile terminal can be detected is corresponding with the first state value mates, or, the frequency values that the frequency values of the breath light that mobile terminal can be detected is corresponding with the first state value mates, or, the brightness value of the breath light that the brightness value of the breath light that mobile terminal can be detected is corresponding with the first state value with the frequency values of breath light mates with the frequency values of breath light, or, the brightness value of the breath light that mobile terminal can be detected and the frequency values of breath light calculate according to preset algorithm, the value obtained after calculating is mated with the first state value, thus, judge whether mobile terminal is in charge mode.
Embodiment of the present invention mobile terminal detects the brightness value of breath light and/or the frequency values of breath light; The brightness value of the brightness value of the breath light that mobile terminal detects by mobile terminal and/or the frequency values of the breath light described breath light corresponding with the first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.Adopt the embodiment of the present invention, mobile terminal can detect it and whether be in charge mode.
Refer to Fig. 3, Fig. 3 is the first example structure schematic diagram of a kind of mobile terminal that the embodiment of the present invention provides.Mobile terminal described in the present embodiment, comprises acquiring unit 301, detecting unit 302, regulon 303, specific as follows:
Acquiring unit 301, for obtaining the first state value of the breath light of described mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal.
Particularly, acquiring unit 301 obtains the first state value of the breath light of mobile terminal, and wherein, the first state value is the regulating parameter of the effect of breathing of breath light under charge mode.
As a kind of possible execution mode, according to function and the purposes of breath light, the breath light of mobile terminal can include but are not limited to: battery breath light, notice breath light, early warning breath light etc.Battery breath light is used for pointing out the power consumption of user battery, charged state or low electricity condition.Further alternatively, differently can adjust the brightness of breath light, color or frequency according to the state of charge of battery.The suggestion content of notice breath light can include but are not limited to: point out user's missed call, prompting user does not read note, prompting user QQ information, the micro-letter information of prompting user, prompting user credit card are refunded, point out user's memo information, prompting user daily life system etc.Early warning breath light is mainly used to early warning, can include but are not limited to: mobile terminal is poisoning, mobile terminal under input error password exceedes preset times, the stolen situation of mobile terminal, user starts warning function etc. from web terminal.
As a kind of possible execution mode, mobile terminal can comprise multiple breath light, and such as, mobile terminal can comprise two breath lights, and a breath light is used as battery breath light; Be used for reminding user charge condition, another breath light is used as notice breath light, is used for notifying user's important messages.
As a kind of possible execution mode, the effect of breathing of breath light is by the brightness decision of the color of breath light, the frequency of breath light or breathing.As mobile terminal regulates by regulating the effect of breathing of breath light Color pair breath light; Mobile terminal regulates by regulating the effect of breathing of frequency to breath light of breath light; Mobile terminal regulates by regulating the effect of breathing of brightness to breath light of breath light; Mobile terminal regulates by the color and the effect of breathing of frequency to breath light regulating breath light; Mobile terminal regulates by the color and the effect of breathing of brightness to breath light regulating breath light; Mobile terminal regulates by the frequency and the effect of breathing of brightness to breath light regulating breath light; Mobile terminal regulates by regulating the color of breath light, frequency and the effect of breathing of brightness to breath light.Wherein, the color of the breath light of mobile terminal can include but are not limited to: redness, yellow, blueness, green, grey, white, orange, purple etc.Further alternatively, the color of breath light to be arranged in pairs or groups adjustable colors by the breath light of several identical function and purposes.
As a kind of possible execution mode, before obtaining first state value of breath light of the mobile terminal be applied under charge mode, acquiring unit 301 is also for the frequency values of the brightness value and breath light that obtain breath light.Further alternatively, the brightness value of breath light and the frequency values of breath light are calculated according to preset algorithm by mobile terminal by the first state value, wherein:
As a kind of possible execution mode, the brightness value of mobile terminal can comprise low brightness values and high luminance values.Wherein, the low brightness values under charge mode can be set to: 90, and the low brightness values under low power mode can adopt the brightness value 255 of acquiescence.
As a kind of possible execution mode, the state value of breath light belongs to the one in the state value of breath light, the state value of breath light can include but are not limited to: low power mode state value, charge mode value, full power mode state value, missed call mode state value, memorandum prompting state value, modes of warning state value etc., wherein, charge mode value is the first state value.Alternatively, the state value of breath light and the effect of breathing one_to_one corresponding of breath light.
The frequency of the breath light of mobile terminal can be regulated by the time of turning off the light of the lighting time of breath light and breath light and realize, the complete light on and off cycle of breath light can be expressed as: totalMS=onMS+offMS, wherein, totalMS represents the consuming time of the one-period of breath light light on and off, onMS represents a lighting time of breath light, and offMS represents breath light time of turning off the light.
As a kind of possible execution mode, the state value of breath light under the first state value and charge mode, can be expressed as: step1=totalMS/20, wherein step1 represents the first state value, and totalMS represents the consuming time of the one-period inhaling lamp on/off.
As a kind of possible execution mode, low electricity condition value can be expressed as: low electric light step 2=totalMS/30, and wherein step2 represents low electricity condition value, and totalMS represents the consuming time of the one-period inhaling lamp on/off.
As a kind of possible execution mode, battery breath light can be set under low power mode: color is for red, and effect of breathing is flicker, and the lighting time of breath light is 125ms, and the time of turning off the light of breath light is 2875ms; Notice breath light color is set to green, and effect of breathing is flicker, and the lighting time of breath light is bright 500ms, and the time of turning off the light of breath light is 2000ms.
Further alternatively, preset algorithm can include but are not limited to: as the state value preset, as the direct state value by charge mode is decided to be 1, the state value under venue mode is decided to be 2, and the state value under notification mode is defined as 3 etc.; Or, above-mentioned totalMS is carried out evolution process; Or, to devise a stratagem calculation according to certain complicated function preset.
As a kind of possible execution mode, reading unit (not indicating in figure) can read the configuration file of system, i.e. the first state value of mobile terminal, according to lighting time and the time of turning off the light of the breath light of the first state value configuration, the breath light that breath light regulates interface interchange unit (not marking in figure) to call mobile terminal setting according to the first state value regulates interface, first state value is delivered to drive software, driver element (not marking in figure) drives the battery breath light in breath light to show effect of breathing according to the brightness value in the first state value or lighting time and time of turning off the light (frequency values) according to the first state value, thus breath light realizes presetting effect of breathing.
Whether detecting unit 302, be in charge mode for detecting described mobile terminal.
Particularly, detecting unit 302 detects mobile terminal and whether is in charge mode.Mobile terminal detects its battery and whether is in charge mode, according to the state value of the brightness of breath light, frequency or breath light, mobile terminal can judge whether mobile terminal is in charge mode.Further alternatively, according to the brightness of breath light, detecting unit 302 can judge whether mobile terminal is in charge mode; According to the frequency of breath light, detecting unit 302 can judge whether mobile terminal is in charge mode; According to the state value of breath light, detecting unit 302 can judge whether mobile terminal is in charge mode; According to the brightness of breath light and frequency, detecting unit 302 can judge whether mobile terminal is in charge mode; According to the color of breath light, detecting unit 302 can judge whether mobile terminal is in charge mode etc.
Regulon 303, if detect that described mobile terminal is in charge mode for described detecting unit, regulates the effect of breathing of described breath light according to described first state value.
Particularly, if detecting unit 302 detects that mobile terminal is in charge mode, regulon 303 regulates the effect of breathing of breath light according to the first state value.
First state value of the breath light of mobile terminal described in embodiment of the present invention acquisition for mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal; Described mobile terminal detects described mobile terminal and whether is in charge mode; If described mobile terminal detects that described mobile terminal is in charge mode, described mobile terminal regulates the effect of breathing of described breath light according to described first state value.Adopt embodiment of the present invention mobile terminal can regulate the effect of breathing of breath light under charge mode according to the first state value of breath light, thus the breath light under making charge mode regulate and keep low-light level, low frequency, to reduce to impact user's dormancy.
Refer to Fig. 4, Fig. 4 is the second example structure schematic diagram of a kind of mobile terminal that the embodiment of the present invention provides.Fig. 4 is the concrete refinement of detecting unit 302 in Fig. 3, comprises the first detecting unit 401, matching unit 402, specific as follows:
First detecting unit 401, for the frequency values of the brightness value and/or described breath light that detect described breath light.
Particularly, the first detecting unit 401 detects the brightness value of breath light and/or the frequency values of breath light.Mobile terminal can be adopted and judge whether breath light enters charge mode with the following method, can include but are not limited to: the frequency values, the color of breath light, the state value of breath light etc. that detect the brightness value of breath light, the frequency values of breath light, the brightness value of breath light and breath light.Such as, the brightness value of breath light, suppose to arrange different brightness values for the different mode of breath light, as charge mode is set to 90, low power mode is set to 255, and full power mode is set to 180, missed call notice is set to 200, so, when mobile terminal detects that the brightness value that breath light is corresponding is 90 time, can judge that breath light is in charge mode.
Matching unit 402, brightness value for the brightness value of described breath light that detected by described first detecting unit and/or the frequency values of the described breath light described breath light corresponding with described first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.
Particularly, the brightness value of the brightness value of the breath light that the first detecting unit 401 detects by matching unit 402 and/or the frequency values of the described breath light described breath light corresponding with the first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.The brightness value that the brightness of the breath light that matching unit 402 can be detected is corresponding with the first state value mates, or, the frequency values that the frequency values of the breath light that matching unit 402 can be detected is corresponding with the first state value mates, or, the brightness value of the breath light that the brightness value of the breath light that matching unit 402 can be detected is corresponding with the first state value with the frequency values of breath light mates with the frequency values of breath light, or, the brightness value of the breath light that matching unit 402 can be detected and the frequency values of breath light calculate according to preset algorithm, the value obtained after calculating is mated with the first state value, thus, judge whether mobile terminal is in charge mode.
The embodiment of the present invention first detecting unit 401 detects the brightness value of described breath light and/or the frequency values of described breath light; The brightness value of the brightness value of described breath light that described first detecting unit 401 detects by matching unit 402 and/or the frequency values of the described breath light described breath light corresponding with described first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.Adopt the embodiment of the present invention, mobile terminal can detect it and whether be in charge mode.
Refer to Fig. 5, the 5th example structure schematic diagram of a kind of mobile terminal that Fig. 5 provides for the embodiment of the present invention, this terminal comprises: at least one input equipment 1000; At least one output equipment 2000; At least one processor 3000, such as CPU; With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 are connected by bus 5000 with memory 4000.
Wherein, above-mentioned input equipment 1000 specifically can be the contact panel of mobile terminal, comprises touch-screen and touch screen, for the frequency of the brightness value and breath light that obtain the breath light of mobile terminal.
In some possible embodiments, above-mentioned input equipment 1000 specifically can be mobile terminal key, for the frequency of the brightness value and breath light that obtain the breath light of mobile terminal.
In some possible embodiments, the breath light of mobile terminal can comprise battery breath light or notice breath light.
In some possible embodiments, the effect of breathing of the breath light of mobile terminal is by the brightness decision of the color of described breath light, the frequency of described breath light or described breathing.
In some possible embodiments, the color of breath light can comprise at least one in following color: red, yellow, blue, green, grey and white.
Above-mentioned output equipment 2000 specifically can be the breath light of mobile terminal, for exporting, showing the effect of breathing of breath light.
Above-mentioned memory 4000 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Above-mentioned memory 4000 is for storing batch processing code, and above-mentioned input equipment 1000, output equipment 2000 and processor 3000, for calling the program code stored in memory 4000, perform and operate as follows:
Above-mentioned input equipment 1000, for obtaining the first state value of the breath light of described mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal;
Whether above-mentioned processor 3000, be in charge mode for detecting described mobile terminal;
Above-mentioned processor 3000, also for:
If described detecting unit detects that described mobile terminal is in charge mode, regulate the effect of breathing of described breath light according to described first state value.
In some possible embodiments, above-mentioned processor 3000, also for:
Obtain the brightness value of described breath light and the frequency values of described breath light.
In some possible embodiments, above-mentioned processor 3000, also for:
The frequency values of the brightness value of described breath light and described breath light is calculated the state value of the breath light of mobile terminal according to preset algorithm.
In some possible embodiments, the state value of the breath light of mobile terminal is at least one in following state value type: low power mode state value, charge mode value, full power mode state value, missed call mode state value and modes of warning state value, wherein, described charge mode value is described first state value.
In some possible embodiments, above-mentioned processor 3000, also for:
Detect the brightness value of described breath light and/or the frequency values of described breath light;
In some possible embodiments, above-mentioned processor 3000, also for:
The brightness value of the brightness value of described breath light detected by described first detecting unit and/or the frequency values of the described breath light described breath light corresponding with described first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.
In realization, input equipment 1000 described in the embodiment of the present invention, output equipment 2000 and processor 3000 can perform the implementation described in the first embodiment to the second embodiment of the method for the adjustment breath light that the embodiment of the present invention provides, also can perform the implementation of the mobile terminal described in the first embodiment to the second embodiment of the mobile terminal that the embodiment of the present invention provides, not repeat them here.
Unit in all embodiments of the present invention or subelement, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application SpecificIntegrated Circuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (14)

1. regulate a method for breath light, it is characterized in that, comprising:
First state value of the breath light of mobile terminal described in acquisition for mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal;
Described mobile terminal detects described mobile terminal and whether is in charge mode;
If described mobile terminal detects that described mobile terminal is in charge mode, described mobile terminal regulates the effect of breathing of described breath light according to described first state value.
2. the method for claim 1, is characterized in that, after the first state value of the breath light of mobile terminal described in acquisition for mobile terminal, also comprises:
The brightness value of breath light described in described acquisition for mobile terminal and the frequency values of described breath light.
3. the method as described in any one of claim 1 or 2, is characterized in that, described first state value is calculated according to preset algorithm by the frequency values of described mobile terminal by the brightness value of described breath light and described breath light.
4. the method as described in any one of claim 1 or 2, it is characterized in that, first state value of described mobile terminal is the one in the state value of the breath light of described mobile terminal, described state value is at least one in following state value type: low power mode state value, charge mode value, full power mode state value, missed call mode state value and modes of warning state value, wherein, described charge mode value is described first state value.
5. the method for claim 1, is characterized in that, described breath light is battery breath light or notice breath light.
6. the method for claim 1, is characterized in that, described effect of breathing is by the brightness decision of the color of described breath light, the frequency of described breath light or described breath light;
Wherein, the color of described breath light is at least one in following color: red, yellow, blue, green, grey and white.
7. the method as described in any one of claim 1 or 2, is characterized in that, whether the battery that described mobile terminal detects described mobile terminal is in charge mode, comprising:
Described mobile terminal detects the brightness value of described breath light and/or the frequency values of described breath light;
The brightness value of the brightness value of the described breath light that described mobile terminal detects by described mobile terminal and/or the frequency values of the described breath light described breath light corresponding with described first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.
8. a mobile terminal, is characterized in that, comprising:
Acquiring unit, for obtaining the first state value of the breath light of described mobile terminal, described first state value is the regulating parameter of the effect of breathing of described breath light under the charge mode of described mobile terminal;
Whether detecting unit, be in charge mode for detecting described mobile terminal;
Regulon, if detect that described mobile terminal is in charge mode for described detecting unit, regulates the effect of breathing of described breath light according to described first state value.
9. mobile terminal as claimed in claim 8, is characterized in that, described acquiring unit also for:
Obtain the brightness value of described breath light and the frequency values of described breath light.
10. the mobile terminal as described in any one of claim 8 or 9, is characterized in that, described first state value is calculated according to preset algorithm by the frequency values of described mobile terminal by the brightness value of described breath light and described breath light.
11. mobile terminals as described in any one of claim 8 or 9, it is characterized in that, first state value of described mobile terminal is the one in the state value of the breath light of described mobile terminal, described state value is at least one in following state value type: low power mode state value, charge mode value, full power mode state value, missed call mode state value and modes of warning state value, wherein, described charge mode value is described first state value.
12. mobile terminals as claimed in claim 8, is characterized in that, described breath light is battery breath light or notice breath light.
13. mobile terminals as claimed in claim 8, is characterized in that, the frequency of described effect of breathing by the color of described breath light, described breath light, the brightness decision of described breath light;
Wherein, the color of described breath light is at least one in following color: red, yellow, blue, green, grey and white.
14. mobile terminals as described in any one of claim 8 or 9, it is characterized in that, described detecting unit comprises:
First detecting unit, for the frequency values of the brightness value and/or described breath light that detect described breath light;
Matching unit, brightness value for the brightness value of described breath light that detected by described first detecting unit and/or the frequency values of the described breath light described breath light corresponding with described first state value mates with the frequency values of described breath light, to judge whether described mobile terminal is in charge mode.
CN201410840760.3A 2014-12-30 2014-12-30 Method for adjusting breathing light, and mobile terminal Pending CN104582165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410840760.3A CN104582165A (en) 2014-12-30 2014-12-30 Method for adjusting breathing light, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410840760.3A CN104582165A (en) 2014-12-30 2014-12-30 Method for adjusting breathing light, and mobile terminal

Publications (1)

Publication Number Publication Date
CN104582165A true CN104582165A (en) 2015-04-29

Family

ID=53097078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410840760.3A Pending CN104582165A (en) 2014-12-30 2014-12-30 Method for adjusting breathing light, and mobile terminal

Country Status (1)

Country Link
CN (1) CN104582165A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869254A (en) * 2015-05-21 2015-08-26 上海斐讯数据通信技术有限公司 Mobile terminal, incoming call prompting system and method
CN104899128A (en) * 2015-06-15 2015-09-09 陆俊 Mobile terminal information indication method and mobile terminal
CN105611063A (en) * 2016-01-20 2016-05-25 广东欧珀移动通信有限公司 Indicator light control method and device
CN105915708A (en) * 2016-04-08 2016-08-31 广东欧珀移动通信有限公司 Breathing lamp control method and device and mobile terminal
CN106126399A (en) * 2016-06-22 2016-11-16 维沃移动通信有限公司 The based reminding method of a kind of notification message and mobile terminal
CN107204152A (en) * 2017-05-17 2017-09-26 武汉普利商用机器有限公司 A kind of method that use LED points out Product Status
CN109526123A (en) * 2018-12-12 2019-03-26 上海联影医疗科技有限公司 Breathe bootstrap technique, device, medical imaging equipment and storage medium
CN112135389A (en) * 2020-09-11 2020-12-25 苏州浪潮智能科技有限公司 Method, system and device for balancing flickering frequency of breathing lamp

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869254A (en) * 2015-05-21 2015-08-26 上海斐讯数据通信技术有限公司 Mobile terminal, incoming call prompting system and method
CN104869254B (en) * 2015-05-21 2018-03-02 上海斐讯数据通信技术有限公司 Mobile terminal and its call reminding system and method
CN104899128A (en) * 2015-06-15 2015-09-09 陆俊 Mobile terminal information indication method and mobile terminal
CN105611063A (en) * 2016-01-20 2016-05-25 广东欧珀移动通信有限公司 Indicator light control method and device
CN105915708A (en) * 2016-04-08 2016-08-31 广东欧珀移动通信有限公司 Breathing lamp control method and device and mobile terminal
CN106126399A (en) * 2016-06-22 2016-11-16 维沃移动通信有限公司 The based reminding method of a kind of notification message and mobile terminal
CN106126399B (en) * 2016-06-22 2019-02-15 东莞市步步高通信软件有限公司 A kind of based reminding method and mobile terminal of notification message
CN107204152A (en) * 2017-05-17 2017-09-26 武汉普利商用机器有限公司 A kind of method that use LED points out Product Status
CN109526123A (en) * 2018-12-12 2019-03-26 上海联影医疗科技有限公司 Breathe bootstrap technique, device, medical imaging equipment and storage medium
CN109526123B (en) * 2018-12-12 2021-02-09 上海联影医疗科技股份有限公司 Respiration guiding method and device, medical imaging equipment and storage medium
CN112135389A (en) * 2020-09-11 2020-12-25 苏州浪潮智能科技有限公司 Method, system and device for balancing flickering frequency of breathing lamp
CN112135389B (en) * 2020-09-11 2022-12-23 苏州浪潮智能科技有限公司 Method, system and device for balancing flickering frequency of breathing lamp

Similar Documents

Publication Publication Date Title
CN104582165A (en) Method for adjusting breathing light, and mobile terminal
CN109690900B (en) Charging method and terminal
KR102414226B1 (en) Electronic device and method for controlling based on leakage state of battery in electronic device
CN102984352B (en) Method and device of adjusting of screen luminance of terminal and terminal
CN104716750B (en) A kind of low power consuming wireless power method and relevant apparatus, system
CN105259974A (en) Method for displaying non-text-based battery status information and a computing device
ES2753802T3 (en) Charging procedure, charging device and terminal
CN104821612A (en) Charging circuit and electronic device having the same
CN105224062A (en) A kind of terminal control method and terminal
CN103595842A (en) Method for adjusting illuminating brightness of flashlight serving as electric torch and mobile terminal
US20180159342A1 (en) Electronic device and method for controlling battery of the electronic device to charge and discharge
CN103050097B (en) Method and device for regulating brightness of backlight lamp
CN105611706A (en) Intelligent lamp control method based on intelligent watch
CN109462260A (en) A kind of charging method, charging equipment and electronic equipment
CN106293774A (en) A kind of shuangping san terminal and control method thereof
CN103501390A (en) Mobile terminal with reminding function and reminding realization method thereof
CN104571447A (en) Terminal
CN107343096A (en) Information prompting method, device, storage medium and electronic equipment
CN104679240A (en) Terminal control method
CN103973885A (en) Data reporting method and mobile terminal
CN103002154B (en) Method for avoiding touch screen invalidation
CN104184884A (en) Device and method for managing and controlling power consumption of mobile terminal and mobile terminal
CN103501384A (en) Method for adjusting electric current of flash lamp of mobile phone for taking picture and mobile phone
CN104899128A (en) Mobile terminal information indication method and mobile terminal
CN105098871A (en) Portable device and method for controlling charging current thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429