Movatterモバイル変換


[0]ホーム

URL:


CN106358340A - Electronic equipment illumination brightness adjusting method and device - Google Patents

Electronic equipment illumination brightness adjusting method and device
Download PDF

Info

Publication number
CN106358340A
CN106358340ACN201510428707.7ACN201510428707ACN106358340ACN 106358340 ACN106358340 ACN 106358340ACN 201510428707 ACN201510428707 ACN 201510428707ACN 106358340 ACN106358340 ACN 106358340A
Authority
CN
China
Prior art keywords
current
led lamp
brightness
electronic equipment
output
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
CN201510428707.7A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi IncfiledCriticalXiaomi Inc
Priority to CN201510428707.7ApriorityCriticalpatent/CN106358340A/en
Publication of CN106358340ApublicationCriticalpatent/CN106358340A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The invention relates to an electronic equipment illumination brightness adjusting method and device. The method comprises the following steps: receiving a brightness adjusting command inputted by a user on an operation interface of electronic equipment, wherein an LED lamp of the electronic equipment is in a turned-on state, and the electronic equipment is in an illumination state; and adjusting magnitude of current output to the LED lamp according to the brightness adjusting command, and enabling the illumination brightness of the LED lamp to be changed along with change of the magnitude of the current. By the technical scheme, the brightness adjusting command input by the user on the operation interface of the electronic equipment, so that the magnitude of the current output to the LED lamp of the electronic equipment is adjusted, the illumination brightness of the LED lamp of the electronic equipment is adjustable, the user can adjust the illumination brightness of the LED lamp according to individual demands, and different illumination demands of the user are met.

Description

Electronic equipment brightness of illumination control method and device
Technical field
It relates to technical field of electronic equipment, more particularly, to electronic equipment brightness of illumination control method andDevice.
Background technology
With the fast development of intelligent terminal, hardware configuration more and more higher, middle and high end smart mobile phone baseThis all configures the photographic head of high pixel, and experiences to lift the shooting of special scenes, and photographic head all carriesThere is flash lamp, another purposes of flash lamp is exactly can to use as LED lamp, that is, keep flash lamp normalThe bright function of realizing LED lamp illumination.But current LED lamp function is more single, does not also possess brightnessRegulatory function.
Content of the invention
The embodiment of the present disclosure provides a kind of electronic equipment brightness of illumination control method and device, including following skillArt scheme:
According to the embodiment of the present disclosure in a first aspect, provide a kind of electronic equipment brightness of illumination control method,Including:
The brightness regulation order of the operation interface input in described electronic equipment for the receive user, described electronics setsStandby LED lamp is in illuminating state, and described electronic equipment is in illumination condition;
Adjust the output to the size of current of described LED lamp according to described brightness regulation order, make described ledThe brightness of illumination of lamp changes with the change of described size of current.
In one embodiment, the brightness that described receive user inputs at described electronic device interface is adjustedSection order, comprising:
Adjust control in the operation interface display brightness of described electronic equipment;Determine and pass through brightness described in touch-controlAdjust the brightness regulation order that control is inputted.
In one embodiment, described described LED lamp is adjusted the output to according to described brightness regulation orderSize of current, comprising:
Obtain the current state of described brightness regulation control;
According to the current state of described brightness regulation control, and the state of default brightness regulation control and electricityThe corresponding relation of stream size, determines the corresponding electric current of described current state;
Adjust the output to the size of current of described LED lamp according to the corresponding electric current of described current state.
In one embodiment, described according to the corresponding electric current of described current state adjusts the output toThe size of current of LED lamp, comprising:
When the corresponding electric current of current state determining is more than or equal to default minimum current, and it is less than or equal toDuring default maximum current, the electric current of output to described LED lamp is adjusted electricity corresponding to described current stateStream;
When the corresponding electric current of current state determining is more than default maximum current, will export to described ledThe electric current of lamp is adjusted to described default maximum current;
When the corresponding electric current of current state determining is less than default minimum current, will export to described ledThe electric current of lamp is adjusted to described default minimum current.
In one embodiment, methods described also includes:
When the size of current of output to described LED lamp is described default maximum current, detection is described defaultThe output duration of maximum current;
When described output duration is more than or equal to preset duration, will be big for the electric current of output to described LED lampMinor adjustment is less than described default maximum current to goal-selling electric current, described goal-selling electric current.
In one embodiment, described brightness regulation control includes slide block, and described current state includes describedSlide block slided in sliding area after location.
In one embodiment, described brightness regulation control includes gear, and described current state includes describedThe residing gear after being conditioned in gear adjustment region of gear.
In one embodiment, the brightness that described receive user inputs at described electronic device interface is adjustedSection order, comprising:
Receive user is on described electronic device interface by the brightness regulation of slip gesture operation inputOrder.
In one embodiment, described described LED lamp is adjusted the output to according to described brightness regulation orderSize of current, comprising:
Obtain the current glide direction of described slip gesture operation and current sliding distance;
According to described current glide direction, described current sliding distance, and default sliding distance, slipCorresponding relation between direction and current change quantity three, determines described current glide direction, described currentThe corresponding current change quantity of sliding distance;
Described current change quantity according to determining adjusts the output to the size of current of described LED lamp.
In one embodiment, methods described also includes:
When described LED lamp is opened, the current history according to described LED lamp adjusts record and determines outputInitial current to described LED lamp;Or
When described LED lamp is opened, the environmental light brightness being presently in environment is obtained by optical inductor,Determine output to the initial current of described LED lamp according to described environmental light brightness.
In one embodiment, described current history according to described LED lamp adjust record determine output toThe initial current of described LED lamp, comprising:
The current history counting described LED lamp is adjusted in record, and each size of current is in preset time periodCorresponding output times;
Adjust record from described current history and select the most size of current of output times, will be described defeatedThe most size of current of outdegree is defined as described initial current.
In one embodiment, methods described also includes:
Record exports after adjusting every time to the size of current of described LED lamp, forms current history and adjusts noteRecord.
According to the second aspect of the embodiment of the present disclosure, provide a kind of electronic equipment brightness of illumination adjusting means,Described device includes:
Receiver module, for the brightness regulation life of the operation interface input in described electronic equipment for the receive userOrder, the LED lamp of described electronic equipment is in illuminating state, and described electronic equipment is in illumination condition;
Adjustment module, the electric current for adjusting the output to described LED lamp according to described brightness regulation order is bigLittle, so that the brightness of illumination of described LED lamp is changed with the change of described size of current.
In one embodiment, described receiver module includes:
Display sub-module, adjusts control for the operation interface display brightness in described electronic equipment;
Determination sub-module, is ordered by the brightness regulation that brightness regulation control described in touch-control is inputted for determiningOrder.
In one embodiment, described adjustment module includes:
First acquisition submodule, for obtaining the current state of described brightness regulation control;
First determination sub-module, for the current state according to described brightness regulation control and default brightDegree adjusts the state of control and the corresponding relation of size of current, determines the corresponding electric current of described current state;
First regulation submodule, described in adjusting the output to according to the corresponding electric current of described current stateThe size of current of LED lamp.
In one embodiment, described brightness regulation control includes slide block, and described current state includes describedSlide block slided in sliding area after location.
In one embodiment, described brightness regulation control includes gear, and described current state includes describedThe residing gear after being conditioned in gear adjustment region of gear.
In one embodiment, described receiver module includes:
Gesture receiving submodule, passes through slip handss for receive user on described electronic device interfaceThe brightness regulation order of gesture operation input.
In one embodiment, described adjustment module includes:
Second acquisition submodule, for obtaining the current glide direction of described slip gesture operation and working as advancing slipDynamic distance;
Second determination sub-module, for according to described current glide direction, described current sliding distance, andCorresponding relation between default sliding distance, glide direction and current change quantity three, determines described working asFront slide direction, the corresponding current change quantity of described current sliding distance;
3rd regulation submodule, described for being adjusted the output to according to the described current change quantity determinedThe size of current of LED lamp.
In one embodiment, described device also includes:
Initial current determining module, for when described LED lamp is opened, according to the electricity of described LED lampStream history adjusts record and determines output to the initial current of described LED lamp, or
When described LED lamp is opened, the environmental light brightness being presently in environment is obtained by optical inductor,Determine output to the initial current of described LED lamp according to described environmental light brightness.
In one embodiment, described initial current determining module, comprising:
Statistic submodule, the current history for counting described LED lamp is adjusted in record, and each electric current is bigLittle output times corresponding in preset time period;
Electric current determination sub-module, most for selecting output times in adjusting and record from described current historySize of current, size of current most for described output times is defined as described initial current.
According to the third aspect of the embodiment of the present disclosure, provide a kind of electronic equipment brightness of illumination adjusting means,Including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
The brightness regulation order of the operation interface input in described electronic equipment for the receive user, described electronics setsStandby LED lamp is in illuminating state, and described electronic equipment is in illumination condition;
Adjust the output to the size of current of described LED lamp according to described brightness regulation order, make described ledThe brightness of illumination of lamp changes with the change of described size of current.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
Technique scheme, the brightness regulation of the operation interface input in electronic equipment can be ordered with receive userOrder, thus according to brightness regulation order, adjusting the output to the size of current of the LED lamp of electronic equipment, thisSo that the brightness of illumination of the LED lamp of electronic equipment is adjustable, user can be adjusted sample according to individual demandThe brightness of illumination of LED lamp, thus meet the different lighting demands of user.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, the disclosure can not be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows and meets this public affairsThe embodiment opened, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is the flow process of the electronic equipment brightness of illumination control method according to an exemplary embodimentFigure.
Fig. 2 is the stream of a kind of electronic equipment brightness of illumination control method according to an exemplary embodimentCheng Tu.
Fig. 3 is another the electronic equipment brightness of illumination control method according to an exemplary embodimentFlow chart.
Fig. 4 is another the electronic equipment brightness of illumination control method according to an exemplary embodimentFlow chart.
Fig. 5 is another kind of electronic equipment brightness of illumination control method according to an exemplary embodimentBlock diagram.
Fig. 6 is another the electronic equipment brightness of illumination control method according to an exemplary embodimentFlow chart.
Fig. 7 is another the electronic equipment brightness of illumination control method according to an exemplary embodimentFlow chart.
Fig. 8 is another the electronic equipment brightness of illumination control method according to an exemplary embodimentFlow chart.
Fig. 9 is another the electronic equipment brightness of illumination control method according to an exemplary embodimentFlow chart.
Figure 10 is the block diagram of the electronic equipment brightness of illumination adjusting means according to an exemplary embodiment.
Figure 11 is in a kind of electronic equipment brightness of illumination adjusting means according to an exemplary embodimentThe block diagram of receiver module.
Figure 12 is in a kind of electronic equipment brightness of illumination adjusting means according to an exemplary embodimentThe block diagram of adjustment module.
Figure 13 is another kind of electronic equipment brightness of illumination adjusting means according to an exemplary embodimentThe block diagram of middle receiver module.
Figure 14 is another kind of electronic equipment brightness of illumination adjusting means according to an exemplary embodimentThe block diagram of middle adjustment module.
Figure 15 is another kind of electronic equipment brightness of illumination adjusting means according to an exemplary embodimentBlock diagram.
Figure 16 is in a kind of electronic equipment brightness of illumination adjusting means according to an exemplary embodimentThe block diagram of initial current determining module.
Figure 17 is to be applied to electronic equipment brightness of illumination adjusting means according to an exemplary embodimentBlock diagram.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Following retouchesState when being related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous willElement.Embodiment described in following exemplary embodiment does not represent own consistent with the disclosureEmbodiment.On the contrary, they be only with such as appended claims in described in detail, the disclosure someThe example of the consistent apparatus and method of aspect.
The embodiment of the present disclosure provides a kind of electronic equipment brightness of illumination control method, and the method can be used for wrappingElectronic equipment containing LED lamp, as shown in figure 1, the method can include step s101-s102:
In step s101, the brightness regulation order that electronic equipment receive user inputs in its operation interface,The LED lamp of electronic equipment is in illuminating state, and electronic equipment is in illumination condition.In this embodiment,The LED lamp of electronic equipment is in illuminating state, and when electronic equipment is in illumination condition, receive user is in electricityThe brightness regulation order of the operation interface input of sub- equipment, for example, in the electronic device, it comprises to glistenLamp (is equivalent to LED lamp), when flash lamp is in illumination condition, may be received in electronic equipmentThe brightness regulation order of operation interface input.
In step s102, adjust the output to the size of current of LED lamp according to brightness regulation order, makeThe brightness of illumination of LED lamp changes with the change of size of current.
In this embodiment, electronic equipment, according to brightness regulation order, adjusts the output to the electric current of LED lampSize so that the brightness of illumination of LED lamp can change with the change of size of current, thusMeet the different lighting demands of user, the experience of lifting user.
As shown in Fig. 2 in one embodiment, above-mentioned steps s101 can include step s201-s202:
In step s201, electronic equipment adjusts control in its operation interface display brightness;
In step s202, determine the brightness regulation order being inputted by touch-control brightness regulation control.
In this embodiment, electronic equipment can adjust control, Yong Hutong in its operation interface display brightnessCross touch-control brightness regulation control and can input brightness regulation order, pass through touch-control brightness regulation in order to userControl is realized carrying out brightness regulation to the LED lamp of electronic equipment.
As shown in figure 3, in one embodiment, above-mentioned steps s102 can include step s301-s303:
In step s301, electronic equipment obtains the current state of brightness regulation control.
In step s302, according to the current state of brightness regulation control, and default brightness regulation controlThe state of part and the corresponding relation of size of current, determine the corresponding electric current of current state;
In step s303, the electric current adjusting the output to LED lamp according to the corresponding electric current of current state is bigLittle.
In this embodiment, electronic equipment can obtain the current state of brightness regulation control, according to currentState and default brightness regulation state and the corresponding relation of size of current, determine the corresponding electricity of current stateStream, and then the electric current of the LED lamp of output to electronic equipment is adjusted, thus meeting the difference of userLighting demand, the experience of lifting user.
In one embodiment, brightness regulation control can include slide block, and current state includes slide block and slidingLocation after being slided in dynamic region.
In this embodiment, brightness regulation control can be slide block, and current state can be that slide block is slidingLocation after being slided in region, so, electronic equipment is according to the position of slide block, and default cunningThe corresponding relation of dynamic position and size of current determines corresponding electric current, and then is adjusted defeated according to the electric current determiningGo out to the size of current of LED lamp, this mode enables the brightness regulation of LED lamp more accurately to meetUser's request.
In one embodiment, brightness regulation control includes gear, and current state includes gear and adjusts in gearResiding gear after being conditioned in section region.
In this embodiment, brightness regulation control can also be gear, the different electricity of different gear correspondencesStream, each gear corresponds to an electric current, and so, user can be by adjusting the output to the regulation of gearThe size of current of LED lamp, in this mode, to be controlled the brightness of LED lamp, to make using multiple gearsObtain user can more easily operate.
As shown in figure 4, in one embodiment, above-mentioned steps s303 can include step s401-s403:
In step s401, when the corresponding electric current of current state determining is more than or equal to default minimum electricityStream, and during less than or equal to default maximum current, the electric current of output to LED lamp is adjusted to current stateCorresponding electric current;
In step s402, when the corresponding electric current of current state determining is more than default maximum current,The electric current of output to LED lamp is adjusted to default maximum current;
In step s403, when the corresponding electric current of current state determining is less than default minimum current,The electric current of output to LED lamp is adjusted to default minimum current.
In this embodiment, electronic equipment can be according to the size of the corresponding electric current of current state, specifically reallyDetermine output to the size of current of LED lamp, so that output current is in default maximum current and default minimumIt is ensured that LED lamp both can be lighted between electric current, will not damage because electric current is excessive again.
As shown in figure 5, in one embodiment, said method can also include step s501-s502:
In step s501, when the size of current of output to LED lamp is default maximum current, detectionThe output duration of default maximum current;
In step s502, when exporting duration more than or equal to preset duration, will export to LED lampSize of current adjust to goal-selling electric current, goal-selling electric current is less than default maximum current.
In this embodiment, electronic equipment can preset the duration of maximum current, i.e. preset duration,When the output duration of default maximum current is equal to preset duration, the size of current of output to LED lamp is adjustedSave to the goal-selling electric current less than default maximum current, thus preventing overcurrent damage LED lamp.
As shown in fig. 6, in one embodiment, above-mentioned steps s101 can include step s601:
In step s601, electronic equipment receive user is operated by slip gesture in its operation interfaceThe brightness regulation order of input.
Above-mentioned steps s102 can include step s602-s604:
In step s602, obtain the current glide direction of slip gesture operation and current sliding distance;
In step s603, according to current glide direction, current sliding distance, and default slide away fromCorresponding relation between, glide direction and current change quantity three, determines current glide direction, currentThe corresponding current change quantity of sliding distance;
In step s604, the electric current that the current change quantity according to determining adjusts the output to LED lamp is bigLittle.
In this embodiment, user can directly be adjusted by slip gesture in the operation interface of electronic equipmentCurrent, electronic equipment can according to the current glide direction of slip gesture operation and current sliding distance,Determine corresponding current change quantity, and then adjust the output to the size of current of LED lamp according to this variable quantity.For example, user inputs the gesture operation of upward sliding on the arbitrary region of the operation interface of electronic equipment,The current glide direction that electronic equipment obtains upward sliding gesture operation is upwards, and current sliding distance is 1Centimetre, then according to the corresponding relation between default sliding distance, glide direction and current change quantity three,Such as default glide direction is to increase electric current upwards, and default glide direction is downwards to reduce electric current, in advanceIf sliding distance and current change quantity corresponding relation be corresponding 1ma per cm electric current, then according to work asFront direction is upwards, and current sliding distance is 1 centimetre, determines that the corresponding electric current of current gesture operation becomesChange amount be increase electric current 1ma, thus according to this current change quantity adjust the output to LED lamp electric current bigLittle.Wherein, slip gesture operation can also be and slides to the left, slide to the right etc., certainly, slip gestureOperation is different, the corresponding relation between default sliding distance, glide direction and current change quantity threeDifference, it all operates corresponding with slip gesture.
As shown in fig. 7, in one embodiment, said method can also include step s701:
In step s701, electronic equipment when LED lamp is opened, adjust by the current history according to LED lampSection record determines output to the initial current of LED lamp.
Export to led in this embodiment it is possible to record being adjusted according to the current history of LED lamp and determiningThe initial current of lamp, so that when LED lamp is just opened, output initial current is to LED lamp.
As shown in figure 8, in one embodiment, above-mentioned steps s701 include step s801-s802:
In step s801, the current history that electronic equipment counts LED lamp adjusts in record, each electricityStream size corresponding output times in preset time period;
In step s802, select the most electric current of output times from current history adjusts and records bigLittle, size of current most for output times is defined as initial current.
Wherein, electronic equipment exports to the electric current of LED lamp after can recording and adjusting every time in preset time periodSize, generates current history and adjusts record.
As shown in figure 9, in one embodiment, said method can also include step s901:
In step s901, electronic equipment, when LED lamp is opened, obtains current institute by optical inductorThe environmental light brightness of place's environment, determines output to the initial current of LED lamp according to environmental light brightness.
In this embodiment, the environmental light brightness of current environment can also be obtained by optical inductor, and thenDetermine the initial current exporting to LED lamp according to environmental light brightness, in this manner it is ensured that LED lampInitial current can meet the demand of current environment.Such as when environmental light brightness is stronger, electronic equipment is trueFixed output is larger to the initial current of LED lamp, and when environmental light brightness is weaker, electronic equipment determinesExport less to the initial current of LED lamp, so, both can guarantee that LED lamp can work, and energySave the electricity of electronic equipment, the experience of lifting user.
Following for disclosure device embodiment, can be used for executing method of disclosure embodiment.
Figure 10 is a kind of electronic equipment brightness of illumination adjusting means according to an exemplary embodimentBlock diagram, this device can by software, hardware or both be implemented in combination with becoming the part of electronic equipmentOr all.As shown in Figure 10, this electronic equipment brightness of illumination adjusting means includes:
Receiver module 1001 be configured to receive user described electronic equipment operation interface input brightDegree regulating command, the LED lamp of described electronic equipment is in illuminating state, and described electronic equipment is in illuminationState;
Adjustment module 1002 is configured to adjust the output to described LED lamp according to described brightness regulation orderSize of current, so that the brightness of illumination of described LED lamp is changed with the change of described size of current.
As shown in figure 11, in one embodiment, described receiver module 1001 includes:
Display sub-module 1101 is configured to adjust control in the operation interface display brightness of described electronic equipmentPart;
Determination sub-module 1102 be configured to determine that by brightness regulation control described in touch-control inputted brightDegree regulating command.
As shown in figure 12, in one embodiment, described adjustment module 1002 includes:
First acquisition submodule 1201 is configured to obtain the current state of described brightness regulation control;
First determination sub-module 1202 is configured to the current state according to described brightness regulation control, and in advanceIf the state of brightness regulation control and size of current corresponding relation, determine that described current state is correspondingElectric current;
First regulation submodule 1203 is configured to adjust output according to the corresponding electric current of described current stateSize of current to described LED lamp.
In one embodiment, described brightness regulation control includes slide block, and described current state includes describedSlide block slided in sliding area after location.
In one embodiment, described brightness regulation control includes gear, and described current state includes describedThe residing gear after being conditioned in gear adjustment region of gear.
As shown in figure 13, in one embodiment, described receiver module 1001 includes:
It is logical on described electronic device interface that gesture receiving submodule 1301 is configured to receive userCross the brightness regulation order of slip gesture operation input.
As shown in figure 14, in one embodiment, described adjustment module 1002 includes:
Second acquisition submodule 1401 is configured to obtain the current glide direction of described slip gesture operationWith current sliding distance;
Second determination sub-module 1402 be configured to according to described current glide direction, described when front slide away fromFrom, the corresponding relation and default sliding distance, glide direction and current change quantity three between, determineDescribed current glide direction, the corresponding current change quantity of described current sliding distance;
The described current change quantity that 3rd regulation submodule 1403 is configured to according to determining adjusts outputSize of current to described LED lamp.
As shown in figure 15, in one embodiment, said apparatus also include:
Initial current determining module 1501 is configured to when described LED lamp is opened, according to described ledThe current history of lamp adjusts record and determines output to the initial current of described LED lamp, or
When described LED lamp is opened, the environmental light brightness being presently in environment is obtained by optical inductor,Determine output to the initial current of described LED lamp according to described environmental light brightness.
As shown in figure 16, in one embodiment, described initial current determining module 1501 includes:
The current history that statistic submodule 1601 is configured to count described LED lamp adjusts in record, oftenIndividual size of current corresponding output times in preset time period;
Electric current determination sub-module 1602 is configured to adjust record from described current history and selects outputThe most size of current of number of times, size of current most for described output times is defined as described initial current.
According to the third aspect of the embodiment of the present disclosure, provide a kind of electronic equipment brightness of illumination adjusting means,Including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
The brightness regulation order of the operation interface input in described electronic equipment for the receive user, described electronics setsStandby LED lamp is in illuminating state, and described electronic equipment is in illumination condition;
Adjust the output to the size of current of described LED lamp according to described brightness regulation order, make described ledThe brightness of illumination of lamp changes with the change of described size of current.
Above-mentioned processor is also configured to:
The brightness regulation order that described receive user inputs at described electronic device interface, comprising:
Adjust control in the operation interface display brightness of described electronic equipment;Determine and pass through brightness described in touch-controlAdjust the brightness regulation order that control is inputted.
Above-mentioned processor is also configured to:
The described size of current adjusting the output to described LED lamp according to described brightness regulation order, comprising:
Obtain the current state of described brightness regulation control;
According to the current state of described brightness regulation control, and the state of default brightness regulation control and electricityThe corresponding relation of stream size, determines the corresponding electric current of described current state;
Adjust the output to the size of current of described LED lamp according to the corresponding electric current of described current state.
Above-mentioned processor is also configured to:
The described size of current adjusting the output to described LED lamp according to the corresponding electric current of described current state,Including:
When the corresponding electric current of current state determining is more than or equal to default minimum current, and it is less than or equal toDuring default maximum current, the electric current of output to described LED lamp is adjusted electricity corresponding to described current stateStream;
When the corresponding electric current of current state determining is more than default maximum current, will export to described ledThe electric current of lamp is adjusted to described default maximum current;
When the corresponding electric current of current state determining is less than default minimum current, will export to described ledThe electric current of lamp is adjusted to described default minimum current.
Above-mentioned processor is also configured to:
Methods described also includes:
When the size of current of output to described LED lamp is described default maximum current, detection is described defaultThe output duration of maximum current;
When described output duration is more than or equal to preset duration, will be big for the electric current of output to described LED lampMinor adjustment is less than described default maximum current to goal-selling electric current, described goal-selling electric current.
Above-mentioned processor is also configured to:
Described brightness regulation control includes slide block, and described current state includes described slide block in sliding areaLocation after being slided.
Above-mentioned processor is also configured to:
Described brightness regulation control includes gear, and described current state includes described gear in gear regulatory regionResiding gear after being conditioned in domain.
Above-mentioned processor is also configured to:
The brightness regulation order that described receive user inputs at described electronic device interface, comprising:
Receive user is on described electronic device interface by the brightness regulation of slip gesture operation inputOrder.
Above-mentioned processor is also configured to:
The described size of current adjusting the output to described LED lamp according to described brightness regulation order, comprising:
Obtain the current glide direction of described slip gesture operation and current sliding distance;
According to described current glide direction, described current sliding distance, and default sliding distance, slipCorresponding relation between direction and current change quantity three, determines described current glide direction, described currentThe corresponding current change quantity of sliding distance;
Described current change quantity according to determining adjusts the output to the size of current of described LED lamp.
Above-mentioned processor is also configured to:
Methods described also includes:
When described LED lamp is opened, the current history according to described LED lamp adjusts record and determines outputInitial current to described LED lamp;Or
When described LED lamp is opened, the environmental light brightness being presently in environment is obtained by optical inductor,Determine output to the initial current of described LED lamp according to described environmental light brightness.
Above-mentioned processor is also configured to:
The described current history regulation record determination output according to described LED lamp is first to described LED lampBeginning electric current, comprising:
The current history counting described LED lamp is adjusted in record, and each size of current is in preset time periodCorresponding output times;
Adjust record from described current history and select the most size of current of output times, will be described defeatedThe most size of current of outdegree is defined as described initial current.
Above-mentioned processor is also configured to:
Methods described also includes:
Record exports after adjusting every time to the size of current of described LED lamp, forms current history and adjusts noteRecord.
With regard to the device in above-described embodiment, the concrete mode of wherein modules execution operation is havingIt has been described in detail in the embodiment closing the method, explanation will be not set forth in detail herein.
Figure 17 is that the one kind according to an exemplary embodiment is used for electronic equipment brightness of illumination regulation dressThe block diagram put, this device is applied to electronic equipment.For example, device 1700 can be mobile phone, calculateMachine, digital broadcast terminal, messaging devices, game console, tablet device, armarium, it is good forBody equipment, personal digital assistant etc..
Device 1700 can include following one or more assemblies: process assembly 1702, memorizer 1704,Power supply module 1706, multimedia groupware 1708, audio-frequency assembly 1710, input/output (i/o) connectsMouth 1712, sensor cluster 1714, and communication component 1716.
The integrated operation of the usual control device 1700 of process assembly 1702, such as with display, call,The associated operation of data communication, camera operation and record operation.Treatment element 1702 can include oneOr multiple processor 1720 carrys out execute instruction, to complete all or part of step of above-mentioned method.Additionally,Process assembly 1702 can include one or more modules, be easy to process assembly 1702 and other assemblies itBetween interaction.For example, process control 1702 and can include multi-media module, to facilitate multimedia groupwareInteraction between 1708 and process assembly 1702.
Memorizer 1704 is configured to store various types of data to support the operation in equipment 1700.The example of these data includes the instruction for any application program of operation or method on device 1700,Contact data, telephone book data, message, picture, video etc..Memorizer 1704 can be by any classThe volatibility of type or non-volatile memory device or combinations thereof are realized, such as static random access memoryDevice (sram), Electrically Erasable Read Only Memory (eeprom), erasable programmable is read-onlyMemorizer (eprom), programmable read only memory (prom), read only memory (rom), magneticMemorizer, flash memory, disk or CD.
Electric power assembly 1706 provides electric power for the various assemblies of device 1700.Electric power assembly 1706 can wrapInclude power-supply management system, one or more power supplys, and other generate, manage and distribute with for device 1700The assembly that electric power is associated.
Multimedia groupware 1708 includes one output interface of offer between described device 1700 and userScreen.In certain embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen may be implemented as touch screen, to receive the input from userSignal.Touch panel includes one or more touch sensors with sensing touch, slip and touch panelGesture.Described touch sensor can not only sensing touch or sliding action border, but also detectThe persistent period related to described touch or slide and pressure.In certain embodiments, multimedia groupPart 1708 includes a front-facing camera and/or post-positioned pick-up head.When equipment 1700 is in operator scheme,During as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside many matchmakersVolume data.Each front-facing camera and post-positioned pick-up head can be optical lens system or the tools of a fixationThere is focusing and optical zoom capabilities.
Audio-frequency assembly 1710 is configured to output and/or input audio signal.For example, audio-frequency assembly 1710Including a mike (mic), when device 1700 is in operator scheme, such as call model, record mouldWhen formula and speech recognition mode, mike is configured to receive external audio signal.The audio frequency letter being receivedNumber can be further stored in memorizer 1704 or send via communication component 1716.In some enforcementsIn example, audio-frequency assembly 1710 also includes a speaker, for exports audio signal.
I/o interface 1712 is for providing interface between process assembly 1702 and peripheral interface module, above-mentioned outerEnclosing interface module can be keyboard, click wheel, button etc..These buttons may include but be not limited to: homepageButton, volume button, start button and locking press button.
Sensor cluster 1714 includes one or more sensors, for providing each side for device 1700The state estimation in face.For example, what sensor cluster 1714 can detect equipment 1700 beats opening/closing shapeState, the relative localization of assembly, for example described assembly is display and the keypad of device 1700, sensorAssembly 1714 can be with position change, user and the dress of detection means 1700 or 1,700 1 assemblies of devicePut the presence or absence of of 1700 contacts, the temperature of device 1700 orientation or acceleration/deceleration and device 1700Degree change.Sensor cluster 1714 can include proximity transducer, is configured to do not having any thingThe presence of object near detection during reason contact.Sensor cluster 1714 can also include optical sensor, such asCmos or ccd imageing sensor, for using in imaging applications.In certain embodiments, shouldSensor cluster 1714 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressureSensor or temperature sensor.
Communication component 1716 is configured to facilitate wired or wireless way between device 1700 and other equipmentCommunication.Device 1700 can access the wireless network based on communication standard, such as wifi, 2g or 3g,Or combinations thereof.In one exemplary embodiment, communication control 1716 receives via broadcast channelBroadcast singal or broadcast related information from external broadcasting management system.In one exemplary embodiment,Described communication control 1716 also includes near-field communication (nfc) module, to promote junction service.For example,RF identification (rfid) technology can be based in nfc module, Infrared Data Association (irda) technology,Ultra broadband (uwb) technology, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1700 can be by one or more application specific integrated circuits(asic), digital signal processor (dsp), digital signal processing appts (dspd), programmable patrolCollect device (pld), field programmable gate array (fpga), controller, microcontroller, microprocessorOr the realization of other electronic components, for executing said method.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable storage including instructionMedium, for example, include the memorizer 1704 instructing, above-mentioned instruction can be by the processor 1720 of device 1700Execution is to complete said method.For example, described non-transitorycomputer readable storage medium can be rom,Random access memory (ram), cd-rom, tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by deviceSo that device 1700 is able to carry out above-mentioned electronic equipment brightness of illumination regulation during 1700 computing deviceMethod, methods described includes:
The brightness regulation order of the operation interface input in described electronic equipment for the receive user, described electronics setsStandby LED lamp is in illuminating state, and described electronic equipment is in illumination condition;
Adjust the output to the size of current of described LED lamp according to described brightness regulation order, make described ledThe brightness of illumination of lamp changes with the change of described size of current.
In one embodiment, the brightness that described receive user inputs at described electronic device interface is adjustedSection order, comprising:
Adjust control in the operation interface display brightness of described electronic equipment;Determine and pass through brightness described in touch-controlAdjust the brightness regulation order that control is inputted.
In one embodiment, described described LED lamp is adjusted the output to according to described brightness regulation orderSize of current, comprising:
Obtain the current state of described brightness regulation control;
According to the current state of described brightness regulation control, and the state of default brightness regulation control and electricityThe corresponding relation of stream size, determines the corresponding electric current of described current state;
Adjust the output to the size of current of described LED lamp according to the corresponding electric current of described current state.
In one embodiment, described according to the corresponding electric current of described current state adjusts the output toThe size of current of LED lamp, comprising:
When the corresponding electric current of current state determining is more than or equal to default minimum current, and it is less than or equal toDuring default maximum current, the electric current of output to described LED lamp is adjusted electricity corresponding to described current stateStream;
When the corresponding electric current of current state determining is more than default maximum current, will export to described ledThe electric current of lamp is adjusted to described default maximum current;
When the corresponding electric current of current state determining is less than default minimum current, will export to described ledThe electric current of lamp is adjusted to described default minimum current.
In one embodiment, methods described also includes:
When the size of current of output to described LED lamp is described default maximum current, detection is described defaultThe output duration of maximum current;
When described output duration is more than or equal to preset duration, will be big for the electric current of output to described LED lampMinor adjustment is less than described default maximum current to goal-selling electric current, described goal-selling electric current.
In one embodiment, described brightness regulation control includes slide block, and described current state includes describedSlide block slided in sliding area after location.
In one embodiment, described brightness regulation control includes gear, and described current state includes describedThe residing gear after being conditioned in gear adjustment region of gear.
In one embodiment, the brightness that described receive user inputs at described electronic device interface is adjustedSection order, comprising:
Receive user is on described electronic device interface by the brightness regulation of slip gesture operation inputOrder.
In one embodiment, described described LED lamp is adjusted the output to according to described brightness regulation orderSize of current, comprising:
Obtain the current glide direction of described slip gesture operation and current sliding distance;
According to described current glide direction, described current sliding distance, and default sliding distance, slipCorresponding relation between direction and current change quantity three, determines described current glide direction, described currentThe corresponding current change quantity of sliding distance;
Described current change quantity according to determining adjusts the output to the size of current of described LED lamp.
In one embodiment, methods described also includes:
When described LED lamp is opened, the current history according to described LED lamp adjusts record and determines outputInitial current to described LED lamp;Or
When described LED lamp is opened, the environmental light brightness being presently in environment is obtained by optical inductor,Determine output to the initial current of described LED lamp according to described environmental light brightness.
In one embodiment, described current history according to described LED lamp adjust record determine output toThe initial current of described LED lamp, comprising:
The current history counting described LED lamp is adjusted in record, and each size of current is in preset time periodCorresponding output times;
Adjust record from described current history and select the most size of current of output times, will be described defeatedThe most size of current of outdegree is defined as described initial current.
In one embodiment, methods described also includes:
Record exports after adjusting every time to the size of current of described LED lamp, forms current history and adjusts noteRecord.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to thisDisclosed other embodiment.The application is intended to any modification, purposes or the adaptability of the disclosureChange, these modifications, purposes or adaptations are followed the general principle of the disclosure and are included this public affairsOpen undocumented common knowledge in the art or conventional techniques.Description and embodiments only byIt is considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to be described above and illustrated in the accompanying drawings accurateStructure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by instituteAttached claim is limiting.

Claims (19)

CN201510428707.7A2015-07-202015-07-20Electronic equipment illumination brightness adjusting method and devicePendingCN106358340A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510428707.7ACN106358340A (en)2015-07-202015-07-20Electronic equipment illumination brightness adjusting method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510428707.7ACN106358340A (en)2015-07-202015-07-20Electronic equipment illumination brightness adjusting method and device

Publications (1)

Publication NumberPublication Date
CN106358340Atrue CN106358340A (en)2017-01-25

Family

ID=57842772

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510428707.7APendingCN106358340A (en)2015-07-202015-07-20Electronic equipment illumination brightness adjusting method and device

Country Status (1)

CountryLink
CN (1)CN106358340A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103595842A (en)*2013-11-132014-02-19广东欧珀移动通信有限公司 Illumination brightness adjustment method and mobile terminal when a flashlight is used as a flashlight
CN104315355A (en)*2014-10-312015-01-28上海斐讯数据通信技术有限公司Electric torch and method for automatically adjusting illumination according to environmental colors and brightness
CN104661413A (en)*2015-03-042015-05-27广东欧珀移动通信有限公司 Method and device for adjusting the brightness of a flashlight

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103595842A (en)*2013-11-132014-02-19广东欧珀移动通信有限公司 Illumination brightness adjustment method and mobile terminal when a flashlight is used as a flashlight
CN104315355A (en)*2014-10-312015-01-28上海斐讯数据通信技术有限公司Electric torch and method for automatically adjusting illumination according to environmental colors and brightness
CN104661413A (en)*2015-03-042015-05-27广东欧珀移动通信有限公司 Method and device for adjusting the brightness of a flashlight

Similar Documents

PublicationPublication DateTitle
US10564833B2 (en)Method and apparatus for controlling devices
US10205332B2 (en)Efficient two way charging method using master and slave devices
US11334225B2 (en)Application icon moving method and apparatus, terminal and storage medium
US20170091551A1 (en)Method and apparatus for controlling electronic device
CN105405427A (en)Facility brightness adjustment method and device
CN105072336A (en)Control method, apparatus and device for adjusting photographing function
CN105261346A (en)Backlight brightness adjusting method and device and terminal device
CN105288941A (en)Treadmill speed regulating method and device
CN105744133B (en) Video fill light method and device
CN104700816A (en)Method and device for setting screen brightness
CN104281432A (en)Method and device for regulating sound effect
CN105306824A (en)Shooting parameter adjusting method and device
CN104850329A (en)Method and device for adjusting parameters
CN104934016B (en)Screen display method and device
CN105517279B (en)A kind of method and apparatus of light emitting control
CN105376903A (en)Method and device for adjusting brightness
CN105282441A (en)Photographing method and device
CN106710539A (en)Liquid crystal display method and device
CN105162945A (en)Method and device for displaying information
EP2991067A1 (en)Backlight brightness control method and device
CN106710540A (en)Liquid crystal display method and device
CN105516824A (en)Method and device for adjusting brightness of television screen
CN104484111A (en)Content display method and device for touch screen
CN104793843A (en)Desktop display method and device
CN105426079A (en)Picture brightness adjustment method and apparatus

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20170125


[8]ページ先頭

©2009-2025 Movatter.jp