CN104994657B - The brightness adjusting method and device of intelligent terminal flashlight - Google Patents
The brightness adjusting method and device of intelligent terminal flashlight Download PDFInfo
- Publication number
- CN104994657B CN104994657B CN201510420483.5A CN201510420483A CN104994657B CN 104994657 B CN104994657 B CN 104994657B CN 201510420483 A CN201510420483 A CN 201510420483A CN 104994657 B CN104994657 B CN 104994657B
- Authority
- CN
- China
- Prior art keywords
- brightness
- flashlight
- vertical
- touch screen
- amount
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000009471 action Effects 0.000 claims abstract description 62
- 238000001514 detection method Methods 0.000 claims abstract description 11
- 230000001105 regulatory effect Effects 0.000 claims description 7
- 230000001419 dependent effect Effects 0.000 claims description 4
- 238000009738 saturating Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present invention is suitable for intelligent terminal field, provides a kind of brightness adjusting method and device of intelligent terminal flashlight, the method includes:Whether detection touch screen receives touch action;When touch screen receives touch action, the glide direction of the touch action and the vertical amount of sliding distance are determined;Determine the ratio of the vertical amount amount vertical with touch screen of sliding distance;According to the brightness of the proportion adjustment flashlight of the vertical amount of the glide direction of the touch action and sliding distance amount vertical with touch screen.The embodiment of the present invention can adjust out more satisfactory brightness.
Description
Technical field
The embodiment of the present invention belongs to intelligent terminal field more particularly to a kind of brightness adjusting method of intelligent terminal flashlight
And device.
Background technology
The flashlight of intelligent terminal has illumination functions as common illuminator.When the hand for opening intelligent terminal
During torch APP, intelligent terminal will send out light, but since the flashlight of most of intelligent terminals is all without brightness control function,
Therefore great inconvenience is brought to user.
At present, the brightness adjusting method of existing intelligent terminal typically selects shelves in the brightness of flashlight APP interface displays
Position, when user selects the brightness of some gear, sends out brightness corresponding with the gear, although this method can adjust flashlight
Brightness, but due to flashlight APP interface displays brightness selection gear it is limited, accordingly, it is difficult to adjust out suitable brightness.
Invention content
An embodiment of the present invention provides a kind of brightness adjusting methods and device of intelligent terminal flashlight, it is intended to solve existing
The problem of method is difficult to adjust out the brightness of suitable flashlight.
The embodiment of the present invention is achieved in that a kind of brightness adjusting method of intelligent terminal flashlight, the method packet
It includes:
Whether detection touch screen receives touch action;
When touch screen receives touch action, determine the touch action glide direction and sliding distance it is vertical
Amount;
Determine the ratio of the vertical amount amount vertical with touch screen of sliding distance;
According to the vertical amount of the glide direction of the touch action and sliding distance amount vertical with touch screen
The brightness of proportion adjustment flashlight.
The another object of the embodiment of the present invention is to provide a kind of brightness regulating apparatus of intelligent terminal flashlight, the dress
Put including:
Touch action detection unit, for detecting whether touch screen receives touch action;
Sliding distance vertically measures determination unit, for when touch screen receives touch action, determining the touch action
Glide direction and sliding distance vertical amount;
Vertical amount ratio-dependent unit, for determining the ratio of the vertical amount amount vertical with touch screen of sliding distance;
Brightness adjustment unit, for the glide direction according to the touch action and the sliding distance vertical amount with
The brightness of proportion adjustment flashlight vertically measured of touch screen.
In embodiments of the present invention, due to the brightness by sliding action adjustment flashlight, therefore, it is possible to smoothly adjust hand
The brightness of torch so as to improve brightness adjustment precision, adjusts out more satisfactory brightness, further, since according to touch screen
On glide direction adjustment flashlight brightness so that user without fixed position perform brightness adjustment operation, therefore, improve
The flexibility of brightness adjustment.
Description of the drawings
Fig. 1 is a kind of flow chart of the brightness adjusting method for intelligent terminal flashlight that first embodiment of the invention provides;
Fig. 2 is the schematic diagram vertically measured of the glide direction that first embodiment of the invention provides and sliding distance;
Fig. 3 is a kind of structure chart of the brightness regulating apparatus for intelligent terminal flashlight that second embodiment of the invention provides.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In the embodiment of the present invention, whether detection touch screen receives touch action, when touch screen receives touch action,
It determines the glide direction of the touch action and the vertical amount of sliding distance, determines the vertical amount and touch screen of sliding distance
The ratio vertically measured, it is vertical with touch screen according to the vertical amount of the glide direction of the touch action and the sliding distance
The brightness of the proportion adjustment flashlight of amount.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of flow of the brightness adjusting method for intelligent terminal flashlight that first embodiment of the invention provides
Figure, details are as follows:
Whether step S11, detection touch screen receive touch action.
In the step, whether intelligent terminal detection touch screen receives touch action, and touch action here includes sliding
The action of touch screen.Specifically, after intelligent terminal detects that the flashlight of intelligent terminal is opened, then detect whether touch screen connects
Touch action is received, to avoid subsequent erroneous judgement.
Step S12, when touch screen receives touch action, determine the touch action glide direction and slide away from
From vertical amount.
In the step, the vertical amount of glide direction and sliding distance is referring to Fig. 2.Wherein, glide direction includes sliding up
It moves and (is slided and slip obliquely including just upper) and slide downward (positive lower slider and oblique lower slider), upward sliding refer to from tactile
It touches in screen and slides to the other end far from user's body close to one end of user's body;Slide downward refers to from touch screen far from use
One end of family body slides to the other end close to user's body.The vertical amount of sliding distance refers to that slip beginning and end is corresponding
The vertical amount of distance.
Step S13 determines the ratio of the vertical amount amount vertical with touch screen of sliding distance.
Wherein, the vertical amount of touch screen refers to that touch screen can use the length or width of screen area:For example, when user holds intelligence
When energy terminal is held for transverse screen, the vertical amount of touch screen is the width of available screen area, and otherwise, the vertically amount of touch screen is available
The length of screen area.Certainly, the direction of the direction vertically measured of sliding distance vertical amount with touch screen is identical, as shown in Figure 2.
In this step, before the ratio of vertical amount amount vertical with touch screen of sliding distance is determined, it is thus necessary to determine that user is current
Whether hand-held intelligent terminal is that transverse screen is held, so as to the vertical amount for determining touch screen be touch screen can use screen area width or
It is long.
Step S14, according to the glide direction of the touch action and the vertical amount and touch screen of the sliding distance
The brightness of proportion adjustment flashlight vertically measured.
In the step, when glide direction is identical with the direction of the preset brightness for tuning up flashlight, according to sliding distance
Vertical amount vertical amount to touch screen the corresponding brightness for tuning up flashlight of ratio, otherwise, according to the vertical amount of sliding distance
The corresponding brightness for turning flashlight down of the ratio of vertical amount to touch screen.
Optionally, the glide direction according to the touch action and the vertical amount and touch screen of the sliding distance
The brightness of proportion adjustment flashlight vertically measured, specifically include:
A1, when the glide direction of the touch action is upward, according to the vertical amount and touch screen of the sliding distance
The ratio vertically measured tune up the brightness of flashlight.Specifically, by the ratio of the vertical amount amount vertical with touch screen of sliding distance
Example is multiplied with the maximum brightness of flashlight, determines the brightness of flashlight that need to be tuned up, is determined in conjunction with the existing brightness of flashlight
The final brightness of flashlight.Such as, it is assumed that when the ratio of the vertical amount amount vertical with touch screen of sliding distance is 1/2, flashlight
The maximum brightness of cylinder is 246, then it is 1/2*246=123 to need the brightness value tuned up.Certainly, if adding in the existing brightness of flashlight
On the brightness that need to tune up exceed the maximum brightness of flashlight, then the brightness after adjusting is by the maximum brightness for flashlight.
A2, when the glide direction of the touch action is downward, according to the vertical amount and touch screen of the sliding distance
The ratio vertically measured turn the brightness of flashlight down.Specifically, by the ratio of the vertical amount amount vertical with touch screen of sliding distance
Example is multiplied with the maximum brightness of flashlight, determines the brightness of flashlight that need to be turned down, is determined in conjunction with the existing brightness of flashlight
The final brightness of flashlight.Certainly, it is bright beyond the minimum of flashlight if adding the brightness that need to be turned down in the existing brightness of flashlight
Degree, then the brightness after adjusting is by the minimum brightness for flashlight.
Optionally, the A1, when the glide direction of the touch action is upward, according to the vertical of the sliding distance
The ratio of amount amount vertical with touch screen tunes up the brightness of flashlight, specifically includes:
A11, the touch action glide direction for it is upward when, judge flashlight brightness whether reach it is preset most
Big luminance threshold.
A12, when not reaching preset maximum brightness threshold value, according to vertical amount and the touch screen of the sliding distance
The ratio vertically measured tunes up the brightness of flashlight, when reaching preset maximum brightness threshold value, no longer tunes up the brightness of flashlight.
In above-mentioned A11 and A12, due to being provided with maximum brightness threshold value, it can protect and be passed through the electric current of flashlight not
More than safety value, so as to extend the service life of flashlight.
Optionally, the A2, when the glide direction of the touch action is downward, according to the vertical of the sliding distance
The ratio of amount amount vertical with touch screen turns the brightness of flashlight down, specifically includes:
A21, the touch action glide direction for it is downward when, judge flashlight brightness whether reach it is preset most
Small luminance threshold.
A22, when not reaching preset minimum brightness threshold value, according to vertical amount and the touch screen of the sliding distance
The ratio vertically measured turns the brightness of flashlight down, when reaching preset minimum brightness threshold value, no longer turns the brightness of flashlight down.
Since human eye needs certain brightness that can just see things clearly, set a minimum brightness threshold value so that user
Basic brightness can be also kept during brightness is adjusted, convenient for the operation of user.
Optionally, in the vertical amount and touch of the glide direction according to the touch action and the sliding distance
After the brightness of proportion adjustment flashlight vertically measured of screen, including:
Brightness bar after display brightness adjusting.
Wherein, brightness bar includes:The brightness currently shown and the proportionate relationship of preset maximum brightness threshold value, than
Such as, the brightness currently shown using dark expression in brightness bar, light color represent the brightness currently shown with it is preset most
The difference of big luminance threshold;Can also include the specific brightness value that currently shows and preset maximum brightness threshold value and/or
Minimum brightness threshold value etc..By the brightness bar after showing that display brightness is adjusted, current brightness is intuitively obtained convenient for user
Information.Certainly, after the preset time of the brightness bar after display brightness adjusting, cancel and show the brightness bar, with
Reduce occupancy of the brightness bar to touch screen.
In first embodiment of the invention, whether detection touch screen receives touch action, and receiving touch screen in touch screen moves
When making, the glide direction of the touch action and the vertical amount of sliding distance are determined, determine the vertical amount of sliding distance and touch
The ratio vertically measured of screen is touched, according to the glide direction of the touch action and the vertical amount and touch screen of the sliding distance
The brightness of proportion adjustment flashlight vertically measured.Due to adjusting the brightness of flashlight by sliding action, therefore, it is possible to smooth
The brightness of flashlight is adjusted, so as to improve brightness adjustment precision, adjusts out more satisfactory brightness, further, since according to
The brightness of glide direction adjustment flashlight on touch screen so that user operates without performing brightness adjustment in fixed position, because
This, improves the flexibility of brightness adjustment.
It should be understood that in embodiments of the present invention, the size of the serial number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without coping with the embodiment of the present invention
Into any restriction.
Embodiment two:
Fig. 3 shows a kind of structure of the brightness regulating apparatus for intelligent terminal flashlight that second embodiment of the invention provides
Figure, the brightness regulating apparatus of the intelligent terminal flashlight can be applicable in intelligent terminal, which includes mobile phone, intelligence
Energy phone, digital broadcast terminal, PDA (personal digital assistant), PMP (portable media player), is led at laptop computer
Boat system etc..Except when being only applied to mobile terminal, the embodiment described in the disclosure can be applied to such as number electricity
Depending on fixed terminals such as, desktop computers.For convenience of description, it illustrates only and the relevant part of the embodiment of the present invention.
The brightness regulating apparatus of the intelligent terminal flashlight includes:Touch action detection unit 31, sliding distance are vertically measured
Determination unit 32, vertical amount ratio-dependent unit 33, brightness adjustment unit 34.Wherein:
Touch action detection unit 31, for detecting whether touch screen receives touch action.
Wherein, touch action here includes sliding the action of touch screen.Specifically, intelligent end is detected in intelligent terminal
After the flashlight at end is opened, then detect whether touch screen receives touch action, to avoid subsequent erroneous judgement.
Sliding distance vertically measures determination unit 32, for when touch screen receives touch action, determining that the touch screen moves
The glide direction of work and the vertical amount of sliding distance.
Wherein, glide direction includes upward sliding (being slided and slip obliquely including just upper) and slide downward is (positive to glide
Dynamic and oblique lower slider), upward sliding refers to slide to close to one end of user's body from touch screen another far from user's body
One end;Slide downward refers to that one end of the separate user's body from touch screen slides to the other end close to user's body.Slide away from
From vertical amount refer to slide beginning and end it is corresponding with a distance from vertical amount.
Vertical amount ratio-dependent unit 33, for determining the ratio of the vertical amount amount vertical with touch screen of sliding distance.
Wherein, the vertical amount of touch screen refers to that touch screen can use the length or width of screen area, the vertical amount of sliding distance
Direction vertical amount with touch screen direction it is identical, as shown in Figure 2.Determining the vertical amount of sliding distance and hanging down for touch screen
Before the ratio directly measured, it is thus necessary to determine that whether user's current handheld intelligent terminal is that transverse screen is held, to determine hanging down for touch screen
Straight amount is the width or length that touch screen can use screen area.
Brightness adjustment unit 34, for the glide direction according to the touch action and the vertical amount of the sliding distance
The brightness of the proportion adjustment flashlight of amount vertical with touch screen.
Optionally, the brightness adjustment unit 34 includes:
Brightness tunes up module, for the glide direction of the touch action for it is upward when, according to the sliding distance
The vertical ratio for measuring amount vertical with touch screen tunes up the brightness of flashlight.Specifically, by the vertical amount of sliding distance and touch
The ratio vertically measured of screen is multiplied with the maximum brightness of flashlight, the brightness of flashlight that need to be tuned up is determined, in conjunction with flashlight
Existing brightness determines the final brightness of flashlight.Certainly, if exceeding in the existing brightness of flashlight plus the brightness that need to be tuned up
The maximum brightness of flashlight, then the brightness after adjusting is by the maximum brightness for flashlight.
Module is turned in brightness down, for the glide direction of the touch action for it is downward when, according to the sliding distance
The vertical ratio for measuring amount vertical with touch screen turns the brightness of flashlight down.Specifically, by the vertical amount of sliding distance and touch
The ratio vertically measured of screen is multiplied with the maximum brightness of flashlight, the brightness of flashlight that need to be turned down is determined, in conjunction with flashlight
Existing brightness determines the final brightness of flashlight.Certainly, if exceeding in the existing brightness of flashlight plus the brightness that need to be turned down
The minimum brightness of flashlight, then the brightness after adjusting is by the minimum brightness for flashlight.
Optionally, the brightness tunes up module and includes:
First brightness comparison module, for when the glide direction of the touch action is upward, judging the bright of flashlight
Whether degree reaches preset maximum brightness threshold value.
Whether brightness tunes up execution module, for when not reaching preset maximum brightness threshold value, according to the slip
The ratio of the vertical amount amount vertical with touch screen of distance tunes up the brightness of flashlight, is reaching preset maximum brightness threshold value
When, no longer tune up the brightness of flashlight.
Due to being provided with maximum brightness threshold value, the electric current for being passed through flashlight can be protected to be no more than safety value, so as to
Extend the service life of flashlight.
Optionally, the brightness is turned module down and is included:
Second brightness comparison module, for when the glide direction of the touch action is downward, judging the bright of flashlight
Whether degree reaches preset minimum brightness threshold value.
Whether brightness turns execution module down, for when not reaching preset minimum brightness threshold value, according to the slip
The ratio of the vertical amount amount vertical with touch screen of distance turns the brightness of flashlight down, is reaching preset minimum brightness threshold value
When, no longer turn the brightness of flashlight down.
Since human eye needs certain brightness that can just see things clearly, set a minimum brightness threshold value so that user
Basic brightness can be also kept during brightness is adjusted, convenient for the operation of user.
Optionally, the brightness regulating apparatus of the intelligent terminal flashlight includes:
Brightness bar display unit, the brightness bar after being adjusted for display brightness.
Wherein, brightness bar includes:The brightness currently shown and the proportionate relationship of preset maximum brightness threshold value, than
Such as, the brightness currently shown using dark expression in brightness bar, light color represent the brightness currently shown with it is preset most
The difference of big luminance threshold;Can also include the specific brightness value that currently shows and preset maximum brightness threshold value and/or
Minimum brightness threshold value etc..By the brightness bar after showing that display brightness is adjusted, current brightness is intuitively obtained convenient for user
Information.Certainly, after the preset time of the brightness bar after display brightness adjusting, cancel and show the brightness bar, with
Reduce occupancy of the brightness bar to touch screen.
In second embodiment of the invention, due to adjusting the brightness of flashlight by sliding action, therefore, it is possible to smoothly adjust
The brightness of flashlight so as to improve brightness adjustment precision, adjusts out more satisfactory brightness, further, since according to touch
The brightness of glide direction adjustment flashlight on screen so that therefore user, carries without performing brightness adjustment operation in fixed position
The high flexibility of brightness adjustment.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation
It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.
Claims (2)
1. a kind of brightness adjusting method of intelligent terminal flashlight, which is characterized in that the method includes:
Whether detection touch screen receives touch action;
When touch screen receives touch action, the glide direction of the touch action and the vertical amount of sliding distance are determined;
Determine the ratio of the vertical amount amount vertical with touch screen of sliding distance;
When the glide direction of the touch action is upward, judge whether the brightness of flashlight reaches preset maximum brightness threshold
Value;
When not reaching preset maximum brightness threshold value, according to the vertical amount amount vertical with touch screen of the sliding distance
Ratio tunes up the brightness of flashlight, need to tune up the brightness of flashlight by the way that the vertical of sliding distance is measured amount vertical with touch screen
Ratio be multiplied with the maximum brightness of flashlight determine, determine the final brightness of flashlight in conjunction with the existing brightness of flashlight,
If adding the brightness that need to be tuned up beyond the maximum brightness of flashlight in the existing brightness of flashlight, the brightness after adjustment is flashlight
The maximum brightness of cylinder, when reaching preset maximum brightness threshold value, no longer tunes up the brightness of flashlight;
When the glide direction of the touch action is downward, judge whether the brightness of flashlight reaches preset minimum brightness threshold
Value;
When not reaching preset minimum brightness threshold value, according to the vertical amount amount vertical with touch screen of the sliding distance
Ratio turns the brightness of flashlight down, need to turn the brightness of flashlight down by the way that the vertical of sliding distance is measured amount vertical with touch screen
Ratio be multiplied with the maximum brightness of flashlight determine, determine the final brightness of flashlight in conjunction with the existing brightness of flashlight,
If adding the brightness that need to be turned down beyond the minimum brightness of flashlight in the existing brightness of flashlight, the brightness after adjustment is flashlight
The minimum brightness of cylinder, when reaching preset minimum brightness threshold value, no longer turns the brightness of flashlight down;
Brightness bar or brightness instruction block after display brightness adjusting, the brightness bar or brightness instruction block projection
It in the upper surface of the touch screen, and is horizontally or vertically shown on the touch screen, light caused by flashlight can be worn
The saturating brightness bar or brightness instruction block.
2. a kind of brightness regulating apparatus of intelligent terminal flashlight, which is characterized in that described device includes:
Touch action detection unit, for detecting whether touch screen receives touch action;
Sliding distance vertically measures determination unit, for when touch screen receives touch action, determining the cunning of the touch action
Dynamic direction and the vertical amount of sliding distance;
Vertical amount ratio-dependent unit, for determining the ratio of the vertical amount amount vertical with touch screen of sliding distance;
First brightness comparison module, for when the glide direction of the touch action is upward, judging the brightness of flashlight to be
It is no to reach preset maximum brightness threshold value;
Whether brightness tunes up execution module, for when not reaching preset maximum brightness threshold value, according to the sliding distance
The ratio of vertical amount amount vertical with touch screen tune up the brightness of flashlight, need to tune up the brightness of flashlight by will slide away from
From vertical amount amount vertical with touch screen ratio be multiplied with the maximum brightness of flashlight it is determining, it is existing in conjunction with flashlight
Brightness determines the final brightness of flashlight, if exceeding the maximum of flashlight plus the brightness that need to be tuned up in the existing brightness of flashlight
Brightness, the then brightness after adjusting are the maximum brightness of flashlight, when reaching preset maximum brightness threshold value, no longer tune up flashlight
The brightness of cylinder;
Second brightness comparison module, for when the glide direction of the touch action is downward, judging the brightness of flashlight to be
It is no to reach preset minimum brightness threshold value;
Whether brightness turns execution module down, for when not reaching preset minimum brightness threshold value, according to the sliding distance
The ratio of vertical amount amount vertical with touch screen turn the brightness of flashlight down, need to turn down the brightness of flashlight by will slide away from
From vertical amount amount vertical with touch screen ratio be multiplied with the maximum brightness of flashlight it is determining, it is existing in conjunction with flashlight
Brightness determines the final brightness of flashlight, if exceeding the minimum of flashlight plus the brightness that need to be turned down in the existing brightness of flashlight
Brightness, the then brightness after adjusting are the minimum brightness of flashlight, when reaching preset minimum brightness threshold value, no longer turn flashlight down
The brightness of cylinder;
Brightness direction display unit, brightness bar or brightness instruction block after being adjusted for display brightness, the brightness instruction
Item or brightness instruction block are convexly equipped in the upper surface of the touch screen, and horizontally or vertically shown on the touch screen, hand
Light caused by torch can penetrate the brightness bar or brightness instruction block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510420483.5A CN104994657B (en) | 2015-07-16 | 2015-07-16 | The brightness adjusting method and device of intelligent terminal flashlight |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510420483.5A CN104994657B (en) | 2015-07-16 | 2015-07-16 | The brightness adjusting method and device of intelligent terminal flashlight |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104994657A CN104994657A (en) | 2015-10-21 |
CN104994657B true CN104994657B (en) | 2018-07-06 |
Family
ID=54306372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510420483.5A Expired - Fee Related CN104994657B (en) | 2015-07-16 | 2015-07-16 | The brightness adjusting method and device of intelligent terminal flashlight |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104994657B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105468268A (en) * | 2015-11-24 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Application control method and apparatus for flashlight on intelligent terminal |
CN105376411A (en) * | 2015-11-27 | 2016-03-02 | 努比亚技术有限公司 | Mobile terminal flashlight control method and device |
CN105630290B (en) * | 2015-12-24 | 2019-02-15 | 青岛海信电器股份有限公司 | A kind of mobile device-based interface processing method and device |
CN106303089A (en) * | 2016-09-30 | 2017-01-04 | 努比亚技术有限公司 | A kind of mobile terminal and the method controlling pocket lamp |
CN108445873A (en) * | 2017-02-16 | 2018-08-24 | 深圳市昊宇世纪科技有限公司 | A kind of intelligent mobile device and its movement technique |
CN107295171A (en) * | 2017-06-21 | 2017-10-24 | 深圳传音通讯有限公司 | Adjust the method, device and mobile terminal of flashlight luminous intensity |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06282231A (en) * | 1993-03-26 | 1994-10-07 | Sanyo Electric Co Ltd | Back light adjusting device for display panel |
CN101931694A (en) * | 2010-07-28 | 2010-12-29 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for controlling call volume in call process and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102946459B (en) * | 2012-11-01 | 2015-04-08 | 广东欧珀移动通信有限公司 | Rapid regulation method for screen backlight brightness and mobile terminal |
-
2015
- 2015-07-16 CN CN201510420483.5A patent/CN104994657B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06282231A (en) * | 1993-03-26 | 1994-10-07 | Sanyo Electric Co Ltd | Back light adjusting device for display panel |
CN101931694A (en) * | 2010-07-28 | 2010-12-29 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for controlling call volume in call process and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104994657A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104994657B (en) | The brightness adjusting method and device of intelligent terminal flashlight | |
CN104700816B (en) | Method and device for setting screen brightness | |
CN102968338B (en) | Method, device and the electronic equipment classified for the application program of electronic equipment | |
CN105807997B (en) | A kind of touch screen sensitivity regulation method and device | |
CN103513869A (en) | Method and device for displaying terminal lock screen interface and Widget | |
CN105094616B (en) | Touch screen control method and device | |
CN107295195A (en) | A kind of fingerprint identification method and mobile terminal | |
CN103631469B (en) | The display processing method of icon, device and electronic equipment | |
CN103279295A (en) | Method and device for terminal desktop icon switching | |
CN104364745A (en) | Apparatus and method for proximity touch sensing | |
CN103914208B (en) | A kind of information processing method and electronic equipment | |
CN104732167A (en) | Mobile terminal and detecting control method used for same | |
CN105867766A (en) | Sound volume adjustment method and terminal | |
CN105430162A (en) | Method and device of turning on electric torch | |
CN104679429A (en) | Accidental-touch-prevention method and device | |
CN104375628A (en) | Information processing method and electronic equipment | |
CN106898330B (en) | A kind of screen vision-control method and terminal device | |
CN105204762A (en) | Method for regulating screen brightness and user terminal | |
CN105227776A (en) | backlight intelligent adjusting method and device | |
CN103955327B (en) | Information processing method and electronic equipment | |
CN112087845A (en) | Light supplementing method and system based on detection lamp source | |
CN107454304A (en) | A kind of terminal control method, control device and terminal | |
CN106264452A (en) | A kind of method of skin detection and terminal | |
CN108881875A (en) | Image white balancing treatment method, device, storage medium and terminal | |
KR20160035865A (en) | Apparatus and method for identifying an object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180706 |