CN107256122B - Screen luminance adjustment method, device, terminal and computer readable storage medium - Google Patents

Screen luminance adjustment method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107256122B
CN107256122B CN201710440940.6A CN201710440940A CN107256122B CN 107256122 B CN107256122 B CN 107256122B CN 201710440940 A CN201710440940 A CN 201710440940A CN 107256122 B CN107256122 B CN 107256122B
Authority
CN
China
Prior art keywords
brightness
gesture
endpoint
screen
regulation
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.)
Active
Application number
CN201710440940.6A
Other languages
Chinese (zh)
Other versions
CN107256122A (en
Inventor
张伟超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710440940.6A priority Critical patent/CN107256122B/en
Publication of CN107256122A publication Critical patent/CN107256122A/en
Application granted granted Critical
Publication of CN107256122B publication Critical patent/CN107256122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a kind of screen luminance adjustment methods, this method comprises: output screen brightness regulation interface, item is dragged comprising brightness regulation in the screen intensity adjustment interface, when detect user the brightness regulation dragging item endpoint default gesture when, obtain the object brightness that the default gesture is directed toward, the brightness adjustment of screen is not the object brightness within the scope of the threshold brightness of brightness regulation dragging item instruction by the object brightness.The invention also discloses a kind of screen brightness regulating device, a kind of terminal and computer readable storage medium, the brightness regulation range to current screen can be expanded, the terseness of operation is improved, and improved and meet a possibility that with the needs of eye health.

Description

Screen luminance adjustment method, device, terminal and computer readable storage medium
Technical field
The invention belongs to field of terminal technology more particularly to a kind of screen luminance adjustment method, device, terminal and computers Readable storage medium storing program for executing.
Background technique
Intelligent terminal is more more and more universal in life, greatly facilitates people's lives, but also people are to mobile whole End produces very strong dependence, can all spend in using mobile terminal for a long time in one day, before sleeping at night under dark surrounds Be likely under outdoor strong light using, and eyes screen is shown be it is very sensitive, the brightness of screen directly affects user With eye health, often appear under dark surrounds and to adjust screen intensity to minimum but feel screen very It is bright, or brightness has adjusted highest but has still less seen clearly the content in screen outdoors.
In the prior art, by identifying the environmental light brightness of surrounding using external light sensor, in ambient light Dynamic regulation screen intensity when variation, but such regulative mode adjusting brightness range is smaller, is still unable to satisfy maintenance and uses The demand of family eye health.Alternatively, by the method for setting contextual model, different scene modes correspond to the bright of different screen Degree, but such mode adjust it is inflexible, adjust brightness range it is limited.
Summary of the invention
The embodiment of the present invention provides a kind of screen luminance adjustment method, device, terminal and computer readable storage medium, purport In the little demand being unable to satisfy with eye health of the brightness regulation for solving the problem of screen.
A kind of screen luminance adjustment method that first aspect of the embodiment of the present invention provides, comprising:
In response to user instruction, preset screen intensity adjustment interface is exported, includes in the screen intensity adjustment interface Brightness regulation drags item;When detecting user in the default gesture of the endpoint of brightness regulation dragging item, acquisition is described pre- If the object brightness that gesture is directed toward, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction; It is the object brightness by the brightness adjustment of screen.
A kind of screen brightness regulating device that second aspect of the embodiment of the present invention provides, comprising:
Output module, for exporting preset screen intensity adjustment interface, the screen intensity tune in response to user instruction It saves in interface and drags item comprising brightness regulation;Module is obtained, detects user at the end of brightness regulation dragging item for working as When the default gesture of point, the object brightness that the default gesture is directed toward is obtained, the object brightness is not dragged in the brightness regulation Within the scope of the threshold brightness of dynamic item instruction;Module is adjusted, for being the object brightness by the brightness adjustment of screen.
A kind of terminal that the third aspect of the embodiment of the present invention provides, including memory, processor and storage are on a memory And the computer program that can be run on a processor, the processor realize such as the embodiment of the present invention first when executing described program The screen luminance adjustment method that aspect provides.
A kind of computer readable storage medium that fourth aspect of the embodiment of the present invention provides, is stored thereon with computer journey Sequence, the computer program realize screen luminance adjustment method as the aforementioned when being executed by processor.
A kind of terminal that the 5th aspect of the embodiment of the present invention provides, including display screen, memory, control circuit, processor, The processor and display screen, memory, control circuit are electrically connected;The processor adjusts boundary for generating screen intensity Face drags item comprising brightness regulation in the screen intensity adjustment interface;The processor detects user described for working as When brightness regulation drags the default gesture of the endpoint of item, the object brightness that the default gesture is directed toward, the object brightness are obtained Not within the scope of the threshold brightness of brightness regulation dragging item instruction;The control circuit is used for the control in the processor Under, it is the object brightness by the brightness adjustment of screen.
From the embodiments of the present invention it is found that screen luminance adjustment method provided by the invention, device, mobile terminal and meter Calculation machine readable storage medium storing program for executing drags the default gesture of the endpoint of item in the brightness regulation by obtaining, and according to the preset gesture The range of the brightness regulation of screen is broken through brightness regulation model indicated by brightness regulation dragging item by the brightness for adjusting screen It encloses, expands the brightness regulation range to current screen, improve the terseness of operation, and improve satisfaction eye health A possibility that demand.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those skilled in the art without any creative labor, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram for the screen luminance adjustment method that first embodiment of the invention provides;
Fig. 2 is screen intensity adjustment interface schematic diagram in the embodiment of the present invention;
Fig. 3 is screen intensity adjustment interface schematic diagram in the embodiment of the present invention;
Fig. 4 is screen intensity adjustment interface schematic diagram in the embodiment of the present invention;
Fig. 5 is the flow diagram for the screen luminance adjustment method that second embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the screen brightness regulating device that third embodiment of the invention provides;
Fig. 7 is the structural schematic diagram for the screen brightness regulating device that fourth embodiment of the invention provides
Fig. 8 is the terminal hardware structure chart that screen luminance adjustment method is executed in the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Figure 1, Fig. 1 is the flow diagram for the screen luminance adjustment method that first embodiment of the invention provides, should Screen luminance adjustment method can be applicable in the terminal with touch screen, which may include that mobile phone, tablet computer etc. are mobile eventually In end, in the terminal device that may also comprise other adjustable screen intensitys with touch screen, this method comprises:
S101, output screen brightness regulation interface drag item comprising brightness regulation in the screen intensity adjustment interface;
Referring to fig. 2, Fig. 2 is to contain the screen intensity adjustment interface of brightness regulation dragging item 11.
In response to the instruction of user, alternatively, preset event is detected, for example, detecting a triggering output screen Time conditions, output screen brightness regulation interface drags item comprising a brightness regulation in the screen intensity adjustment interface, should Brightness regulation dragging item on is provided with dragging label 12, when user drag on the dragging item drag label 12 when, terminal according to The corresponding relationship of position and screen intensity of the dragging label 12 of systemic presupposition on the dragging item adjusts screen intensity.
S102, when detecting that user in the default gesture of the endpoint of brightness regulation dragging item, obtains the default gesture The object brightness of direction, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction;
The brightness regulation drags the threshold brightness range of item instruction, refers to and drags dragging label from one end of the dragging item To the dragging item the be adjustable screen of the other end brightness minimum value to the range between maximum value.
When detecting user in the default gesture of the endpoint of brightness regulation dragging item, obtain what the default gesture was directed toward Object brightness, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction, i.e., the object brightness is greater than Maximum value in the threshold brightness range, alternatively, the object brightness is less than the minimum value in the threshold brightness range, that is, should Threshold brightness range of the object brightness beyond brightness regulation dragging item instruction.The adjustable extent of the object brightness is the screen The extreme value range that can reach when design.
Specifically, when detecting user when the brightness regulation drags the default gesture of the endpoint of item, the default hand is obtained The object brightness that gesture is directed toward is divided into following two mode:
First way: being provided with brightness icon at the endpoint of brightness regulation dragging item, in brightness regulation dragging item The default gesture of endpoint includes: to be designated as starting point upward sliding or slide downward with the luminance graph of brightness regulation dragging endpoint Gesture.The brightness icon can be 1, at wherein 1 endpoint of brightness regulation dragging item, be also possible to 2, respectively At 2 endpoints of brightness regulation dragging item.
Referring to Fig. 3,2 are designated as with the luminance graph, for being located at 2 endpoints of brightness regulation dragging item, In, brightness icon 21 is located at the endpoint of brightness regulation dragging instruction brightness maximum, and brightness icon 22 is located at the brightness At the endpoint for adjusting dragging instruction brightness minimum.It take bright spot icon 21 as the gesture of starting point upward sliding, expression will increase Screen intensity, take bright spot icon 22 as the gesture of starting point slide downward, and expression will reduce screen intensity.
It should be noted that when the luminance graph is designated as 1, when referring to Fig. 3, only brightness icon 22, with bright spot icon 22 be the gesture of starting point upward sliding, and expression will increase screen intensity, take bright spot icon 22 as the gesture of starting point slide downward, table Show screen intensity to be reduced.
When detecting user in the default gesture of the endpoint of brightness regulation dragging item, obtain what the default gesture was directed toward Object brightness is specifically as follows: when detecting that user is designated as starting point and slid up with the luminance graph of brightness regulation dragging endpoint When dynamic gesture, the corresponding first object brightness of gesture that starting point upward sliding is designated as with the luminance graph, the first object are obtained Brightness is higher than the brightness of current screen, detects that user has been designated as with the luminance graph of brightness regulation dragging endpoint alternatively, working as When the gesture of point slide downward, corresponding second object brightness of gesture that starting point slide downward is designated as with the luminance graph is obtained, it should Second object brightness is lower than the brightness of current screen.
It should be noted that the sliding position of setting user gesture and the corresponding relationship of current screen brightness, it specifically can be with It is to obtain the brightness regulation to drag the threshold brightness range that item is arranged as (L1, L2), wherein L1 is that brightness regulation dragging item refers to The brightness minimum shown, L2 are the brightness maximum that the brightness regulation drags item instruction.Setting with the luminance graph be designated as starting point to The distance between sliding terminal and the brightness icon of the gesture of upper sliding are H, are designated as starting point slide downward with the luminance graph The distance between sliding terminal and the brightness icon of gesture are also H, then the sliding position of user gesture and current screen brightness L Corresponding relationship be respectively as follows:
When upward sliding,
When slide downward,
Wherein, y is the distance of current finger sliding, LmaxFor the design maximum brightness of the screen.
When the distance of sliding be greater than H when, no longer update y value, i.e., at this moment screen intensity arrived design maximum brightness or Minimal design brightness.
The second way: referring to fig. 4, the first brightness icon 21 and the are respectively arranged at the both ends of brightness regulation dragging article Two brightness icons 22, the default gesture of the endpoint of brightness regulation dragging article include: the first brightness icon 21 or this The gesture or long-pressing gesture of predetermined times are clicked on two brightness icons 22, which can be 2 times, 3 times or other numbers. The long-pressing gesture refers to that Continued depression reaches preset time period to user's finger on the screen, for example, reaching 2 seconds.
When detecting user in the default gesture of the endpoint of brightness regulation dragging item, obtain what the default gesture was directed toward Object brightness is specifically as follows: when detect first luminance graph put on click predetermined times gesture or long-pressing gesture when, The gesture for clicking predetermined times or the corresponding first object brightness of long-pressing gesture for obtaining and putting in first luminance graph, this One object brightness is higher than the brightness of current screen;
Alternatively, when detect second luminance graph put on click predetermined times gesture or long-pressing gesture when, obtain with In the gesture or corresponding second object brightness of long-pressing gesture of the click predetermined times that second luminance graph is put on, second target Brightness is lower than the brightness of current screen.
S103, by the brightness adjustment of screen be the object brightness.
After obtaining the object brightness that the default gesture is directed toward, the present intensity of screen is adjusted to the object brightness.
In the embodiment of the present invention, the default gesture of the endpoint of item is dragged in the brightness regulation by obtaining, and pre- according to this The brightness that gesture adjusts screen is set, the range of the brightness regulation of screen is broken through into brightness tune indicated by brightness regulation dragging item Adjusting range expands the brightness regulation range to current screen, improves the terseness of operation, and it is strong to improve satisfaction eye A possibility that demand of health.
Fig. 5 is referred to, Fig. 5 is the screen luminance adjustment method that second embodiment of the invention provides, it can be applied in terminal, This method comprises:
S201, current environment brightness is obtained by photosensitive sensors, and screen intensity is adjusted according to environmental light brightness;
It is built-in with photosensitive sensors in terminal, current environment brightness is obtained by the photosensitive sensors, automatically according to default Environmental light brightness and screen intensity corresponding relationship, adjust screen intensity.
If screen intensity adjusted meets user's requirement, stop adjusting screen intensity.
If screen intensity adjusted does not meet user's requirement, S202 is thened follow the steps.
S202, output screen brightness regulation interface drag item comprising brightness regulation in the screen intensity adjustment interface;
S203, the bright degree of dragging adjust dragging item, to adjust screen intensity;
If screen intensity adjusted meets user's requirement, stop adjusting screen intensity.
If screen intensity adjusted does not meet user's requirement, S204 is thened follow the steps.
S204, when detect user the brightness regulation dragging item endpoint default gesture when, judge the brightness regulation Drag the dragging label in item, if positioned at the endpoint of brightness regulation dragging item;
It should be noted that the endpoint of brightness regulation dragging item has 2, one of endpoint is indicated when dragging marker bit When this endpoint, screen intensity is the maximum for the brightness that the brightness regulation drags item instruction, another endpoint is indicated when dragging When label is located at this endpoint, screen intensity is the minimum for the brightness that the brightness regulation drags item instruction.When the dragging marker bit When 1 endpoint in 2 endpoints, indicate that the brightness of brightness regulation dragging item instruction has arrived at maximum value or minimum value, It is corresponding, item cannot be dragged by the brightness regulation be further continued for increasing or decreasing the brightness of screen.
At this point, the default gesture for the endpoint that can only drag item in the brightness regulation by user continues growing or reduces screen The brightness of curtain.When detecting when the endpoint of brightness regulation dragging item has default gesture, judge in brightness regulation dragging item Dragging label, if positioned at the brightness regulation dragging item endpoint, which includes first end point and the second endpoint, wherein The first end point is the endpoint for indicating the brightness maximum of brightness regulation dragging item instruction, which is to indicate that this is bright Degree adjusts the endpoint of the brightness minimum of dragging item instruction.
If being located at endpoint, regardless of which endpoint be located at, it is carried out step S205.
Whether S205, the starting point for judging the default gesture are endpoint;
Whether the starting point for judging the default gesture is first end point or the second endpoint.
If S206, the starting point are the first end point, judge whether the default gesture is that instruction increases screen intensity, if rising Point is second endpoint, then judges whether the default gesture is that instruction reduces screen intensity;
If the result judged be it is yes, then follow the steps S206.If the result judged be it is no, ignore the default gesture, no Carry out the adjusting of screen intensity.If the result judged be it is yes, then follow the steps S206.If the result judged be it is no, ignore this Default gesture, the adjusting without screen intensity.
S207, the object brightness that the default gesture is directed toward is obtained;
Specifically, if the starting point is the first end point, which is that instruction increases screen intensity, alternatively, if should When starting point is second endpoint, which is that instruction reduces screen intensity, then it is bright to obtain the target that the default gesture is directed toward Degree.
It is provided with brightness icon at the endpoint of brightness regulation dragging item, which can be 1, be located at the brightness tune At wherein 1 endpoint of section dragging item, it is also possible to 2, is located at 2 endpoints of brightness regulation dragging item.This is bright The default gesture that degree adjusts the endpoint of dragging item includes: to be designated as starting point with the luminance graph of brightness regulation dragging endpoint to slide up Dynamic or slide downward gesture.It obtains the object brightness that the default gesture is directed toward and starting point is designated as with the luminance graph specifically, obtaining The corresponding first object brightness of the gesture of upward sliding, the first object brightness be higher than current screen brightness, alternatively, obtain with The luminance graph is designated as corresponding second object brightness of gesture of starting point slide downward, and second object brightness is lower than current screen Brightness.
Alternatively, the first brightness icon and the second brightness icon are respectively arranged at the both ends of brightness regulation dragging item, at this Brightness regulation dragging item endpoint default gesture include: the first brightness icon or second luminance graph put on click it is preset The gesture or long-pressing gesture of number.The object brightness of default gesture direction is obtained specifically, obtaining and in first luminance graph The gesture or the corresponding first object brightness of long-pressing gesture for the click predetermined times put on, the first object brightness are higher than current screen The brightness of curtain, alternatively, obtaining and the gesture for clicking predetermined times or long-pressing gesture corresponding the put in second luminance graph Two object brightnesses, second object brightness are lower than the brightness of current screen.
S208, by the brightness adjustment of screen be the object brightness.
After obtaining the object brightness that the default gesture is directed toward, the present intensity of screen is adjusted to the object brightness.
In the embodiment of the present invention, the default gesture of the endpoint of item is dragged in the brightness regulation by obtaining, and pre- according to this The brightness that gesture adjusts screen is set, the range of the brightness regulation of screen is broken through into brightness tune indicated by brightness regulation dragging item Adjusting range expands the brightness regulation range to current screen, improves the terseness of operation, and it is strong to improve satisfaction eye A possibility that demand of health.
Fig. 6 is referred to, Fig. 6 is the screen brightness regulating device that fourth embodiment of the invention provides, for ease of description, only Show part related to the embodiment of the present invention.The device is built-in in terminal, which includes: output module 301, obtains Modulus block 302 and adjustment module 303.
Output module 301 is used for output screen brightness regulation interface, includes brightness regulation in the screen intensity adjustment interface Drag item;
It is provided with dragging label on brightness regulation dragging item, when user drags dragging label on the dragging item, eventually The corresponding relationship of position and screen intensity of the end according to the dragging label of systemic presupposition on the dragging item, adjusts screen intensity.
Obtain module 302, for when detect user the brightness regulation dragging item endpoint default gesture when, obtain The object brightness that the default gesture is directed toward, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction;
The brightness regulation drags the threshold brightness range of item instruction, refers to and drags dragging label from one end of the dragging item To the dragging item the be adjustable screen of the other end brightness minimum value to the range between maximum value.
When detecting user in the default gesture of the endpoint of brightness regulation dragging item, obtain what the default gesture was directed toward Object brightness, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction, i.e., the object brightness is greater than Maximum value in the threshold brightness range, alternatively, the object brightness is less than the minimum value in the threshold brightness range.The target is bright The adjustable extent of degree is the extreme value range that can reach when the screen designs.
Module 303 is adjusted, for being the object brightness by the brightness adjustment of screen.
The method that device in the embodiment of the present invention is used to execute embodiment described in earlier figures 1, techniques not described details Identical as aforementioned embodiment illustrated in fig. 1, details are not described herein again.
In the embodiment of the present invention, the default gesture of the endpoint of item is dragged in the brightness regulation by obtaining, and pre- according to this The brightness that gesture adjusts screen is set, the range of the brightness regulation of screen is broken through into brightness tune indicated by brightness regulation dragging item Adjusting range expands the brightness regulation range to current screen, improves the terseness of operation, and it is strong to improve satisfaction eye A possibility that demand of health.
Fig. 7 is referred to, Fig. 7 is the screen brightness regulating device that fifth embodiment of the invention provides, for ease of description, only Show part related to the embodiment of the present invention.The device is built-in in terminal, device shown in the present embodiment and Fig. 6 institute The device that shows the difference is that:
Obtaining module 302 includes:
Judging submodule 3021, for when detect user the brightness regulation dragging item endpoint default gesture when, Judge the dragging label in brightness regulation dragging item, if positioned at the endpoint of brightness regulation dragging item, which includes the End point and the second endpoint, wherein the first end point is the endpoint for indicating the brightness maximum of brightness regulation dragging item instruction, Second endpoint is the endpoint for indicating the brightness minimum of brightness regulation dragging item instruction;
Judging submodule 3021 judges whether the starting point of the default gesture is the endpoint if being also used to be located at the endpoint;
Judging submodule 3021 judges whether the default gesture is that instruction increases if being also used to starting point is the first end point Add screen intensity, if starting point is second endpoint, judges whether the default gesture is that instruction reduces screen intensity;
The endpoint of brightness regulation dragging item has 2, and one of endpoint is indicated when dragging label is located at this endpoint, screen Curtain brightness is the maximum for the brightness that the brightness regulation drags item instruction, another endpoint indicates to be located at this endpoint when dragging label When, screen intensity is the minimum for the brightness that the brightness regulation drags item instruction.When dragging label is located at 1 in 2 endpoints When a endpoint, indicate that the brightness of brightness regulation dragging item instruction has arrived at maximum value or minimum value, it is corresponding, it cannot pass through Brightness regulation dragging item is further continued for increasing or decreasing the brightness of screen.
At this point, the default gesture for the endpoint that can only drag item in the brightness regulation by user continues growing or reduces screen The brightness of curtain.When detecting when the endpoint of brightness regulation dragging item has default gesture, judge in brightness regulation dragging item Dragging label, if positioned at the brightness regulation dragging item endpoint, which includes first end point and the second endpoint, wherein The first end point is the endpoint for indicating the brightness maximum of brightness regulation dragging item instruction, which is to indicate that this is bright Degree adjusts the endpoint of the brightness minimum of dragging item instruction, if being located at endpoint, judges whether the starting point of the default gesture is end Point judges whether the default gesture is that instruction increases screen intensity if the starting point is the first end point;If starting point be this second Endpoint then judges whether the default gesture is that instruction reduces screen intensity.
Acquisition submodule 3022, for if so, obtaining the object brightness of default gesture direction.
Further, it is provided with brightness icon at the endpoint of brightness regulation dragging item, item should be dragged in the brightness regulation The default gesture of endpoint include: that the gesture of starting point upward sliding or slide downward is designated as with the luminance graph, obtain module 302, It is also used to obtain the corresponding first object brightness of gesture that starting point upward sliding is designated as with the luminance graph, the first object brightness is high In the brightness of current screen;Alternatively, corresponding second object brightness of gesture that starting point slide downward is designated as with the luminance graph is obtained, Second object brightness is lower than the brightness of current screen.
It is provided with brightness icon at the endpoint of brightness regulation dragging item, which can be 1, be located at the brightness tune At wherein 1 endpoint of section dragging item, it is also possible to 2, is located at 2 endpoints of brightness regulation dragging item.This is bright The default gesture that degree adjusts the endpoint of dragging item includes: to be designated as starting point with the luminance graph of brightness regulation dragging endpoint to slide up Dynamic or slide downward gesture.It obtains the object brightness that the default gesture is directed toward and starting point is designated as with the luminance graph specifically, obtaining The corresponding first object brightness of the gesture of upward sliding, the first object brightness be higher than current screen brightness, alternatively, obtain with The luminance graph is designated as corresponding second object brightness of gesture of starting point slide downward, and second object brightness is lower than current screen Brightness.
Further, module 302 is obtained, the threshold brightness range for being also used to obtain the brightness regulation dragging item setting is (L1, L2), wherein L1For brightness minimum, L2For brightness maximum;
The device may further comprise:
Setup module 401, the distance between sliding terminal and the brightness icon for the gesture of the upward sliding to be arranged For H, the distance between the sliding terminal and the brightness icon of the gesture of the slide downward are H, then the sliding position of user gesture It is respectively as follows: with the corresponding relationship of current screen brightness L
When upward sliding,
When slide downward,
Wherein, y is the distance of current finger sliding, LmaxFor the design maximum brightness of the screen.
Further, the both ends of brightness regulation dragging item are respectively arranged with the first brightness icon and the second brightness icon, This includes: to put on a little in the first brightness icon or second luminance graph in the default gesture that the brightness regulation drags the endpoint of item The gesture or long-pressing gesture for hitting predetermined times, then obtain module 302, is also used to the click for obtaining with putting in first luminance graph The corresponding first object brightness of the gesture or long-pressing gesture of predetermined times, the first object brightness are higher than the brightness of current screen; Alternatively, it is bright to obtain the second target corresponding with the gesture for clicking predetermined times or long-pressing gesture put in second luminance graph Degree, second object brightness are lower than the brightness of current screen.
Techniques not described details in the embodiment of the present invention, referring to the description of each embodiment shown in aforementioned FIG. 1 to FIG. 4, Details are not described herein again.
In the embodiment of the present invention, the default gesture of the endpoint of item is dragged in the brightness regulation by obtaining, and pre- according to this The brightness that gesture adjusts screen is set, the range of the brightness regulation of screen is broken through into brightness tune indicated by brightness regulation dragging item Adjusting range expands the brightness regulation range to current screen, improves the terseness of operation, and it is strong to improve satisfaction eye A possibility that demand of health.
Fig. 8 is the terminal structure schematic diagram provided in an embodiment of the present invention for executing screen luminance adjustment method.
Terminal as described in this embodiment, comprising:
Memory 51;At least one processor 52, such as central processing unit;And at least one input equipment 53, at least One output equipment 54.
Above-mentioned memory 51, processor 52, input equipment 53, output equipment 54 are connected by bus 55.
Wherein, input equipment 53 concretely camera, touch panel, physical button or mouse etc..Output equipment 54 concretely display screens.
Memory 51 can be high random access memory body (RAM, Random Access Memory) memory, can also For non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 51 can for storing one group Program code is executed, processor 52 is coupled with memory 51, and above-mentioned input equipment 53, output equipment 54 and processor 52 are for leading to The executable program code stored in memory 51 is crossed, is performed the following operations:
The code is executed by processor 52, executes the screen intensity tune as described in 1~embodiment illustrated in fig. 5 of earlier figures Section method.
Specifically, output screen brightness regulation interface drags item comprising brightness regulation in the screen intensity adjustment interface; When detecting user in the default gesture of the endpoint of brightness regulation dragging item, the target of the default gesture direction is obtained Brightness, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction;By the brightness adjustment of screen For the object brightness.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter The screen luminance adjustment method such as 1~embodiment illustrated in fig. 5 of earlier figures is realized when calculation machine program is executed by processor.The computer Readable storage medium storing program for executing includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk.
The embodiment of the invention also provides a kind of terminals, including display screen, memory, control circuit, processor.
Wherein, the processor and display screen, memory, control circuit are electrically connected;
The processor drags in the screen intensity adjustment interface comprising brightness regulation for generating screen intensity adjustment interface Item;
The processor, for when detecting user in the default gesture of the endpoint of brightness regulation dragging item, obtaining should The object brightness that default gesture is directed toward, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction;
The control circuit is used under the control of the processor, is the object brightness by the brightness adjustment of screen.
In multiple embodiments provided herein, it should be understood that disclosed method and apparatus can pass through it Its mode is realized.For example, the embodiment of device described above is only schematical, for example, the division of the module, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication linkage can be through some interfaces, the INDIRECT COUPLING of device or module or Communication linkage can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing module It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hair Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are to screen luminance adjustment method provided by the present invention, screen brightness regulating device, terminal and computer The description of readable storage medium storing program for executing, for those skilled in the art, thought according to an embodiment of the present invention, in specific embodiment And there will be changes in application range, to sum up, the contents of this specification are not to be construed as limiting the invention.

Claims (13)

1. a kind of screen luminance adjustment method characterized by comprising
Output screen brightness regulation interface drags item comprising brightness regulation in the screen intensity adjustment interface;
When detecting user in the default gesture of the endpoint of brightness regulation dragging item, the default gesture direction is obtained Object brightness, the object brightness is not within the scope of the threshold brightness of brightness regulation dragging item instruction;
It is the object brightness by the brightness adjustment of screen;
Wherein, it is provided with brightness icon at the endpoint of the brightness regulation dragging item, it is described to drag item in the brightness regulation The default gesture of endpoint includes: that the gesture of starting point upward sliding or slide downward is designated as with the luminance graph;
It is described to obtain the object brightness that the default gesture is directed toward and include:
Obtain corresponding second object brightness of gesture that starting point slide downward is designated as with the luminance graph, second object brightness Lower than the brightness of current screen.
2. the method according to claim 1, wherein described ought detect that user drags item in the brightness regulation Endpoint default gesture when, obtaining the object brightness that the default gesture is directed toward includes:
When detecting user when the brightness regulation drags the default gesture of the endpoint of item, the brightness regulation dragging item is judged In dragging label, if positioned at the endpoint of brightness regulation dragging item, the endpoint includes first end point and the second endpoint, Wherein, the first end point is the endpoint for indicating the brightness maximum of the brightness regulation dragging item instruction, second endpoint For the endpoint to indicate the brightness minimum of the brightness regulation dragging item instruction;
If being located at the endpoint, judge whether the starting point of the default gesture is the endpoint;
If starting point is the first end point, judge whether the default gesture is that instruction increases screen intensity, if starting point is institute The second endpoint is stated, then judges whether the default gesture is that instruction reduces screen intensity;
If so, executing described the step of obtaining the object brightness that the default gesture is directed toward.
3. method according to claim 1 or 2, which is characterized in that the target for obtaining the default gesture direction is bright Degree, comprising:
Obtain the corresponding first object brightness of gesture that starting point upward sliding is designated as with the luminance graph, the first object brightness Higher than the brightness of current screen.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The threshold brightness range for obtaining the brightness regulation dragging item setting is (L1, L2), wherein L1For brightness minimum, L2It is bright Spend maximum;
Sliding terminal and the distance between the brightness icon that the gesture of the upward sliding is arranged are H, the slide downward Gesture sliding terminal and the distance between the brightness icon be H, then the sliding position with current screen of user gesture are bright The corresponding relationship of degree L is respectively as follows:
When upward sliding,
When slide downward,
Wherein, y is the distance of current finger sliding, LmaxFor the design maximum brightness of the screen.
5. method according to claim 1 or 2, which is characterized in that the both ends of the brightness regulation dragging item are respectively set Have a first brightness icon and the second brightness icon, the default gesture of the endpoint in brightness regulation dragging item include: The first brightness icon or second luminance graph put on the gesture or long-pressing gesture for clicking predetermined times, then the acquisition institute State the object brightness that default gesture is directed toward, comprising:
It is bright to obtain first object corresponding with the gesture for clicking predetermined times or long-pressing gesture put in first luminance graph Degree, the first object brightness are higher than the brightness of current screen;
Alternatively, obtaining the second mesh corresponding with the gesture for clicking predetermined times or long-pressing gesture put in second luminance graph Brightness is marked, second object brightness is lower than the brightness of current screen.
6. a kind of screen brightness regulating device, which is characterized in that described device includes:
Output module is used to output screen brightness regulation interface, drag in the screen intensity adjustment interface comprising brightness regulation Item;
Module is obtained, for when detecting user in the default gesture of the endpoint of brightness regulation dragging item, described in acquisition The object brightness that default gesture is directed toward, the object brightness is not in the threshold brightness range of brightness regulation dragging item instruction It is interior;
Module is adjusted, for being the object brightness by the brightness adjustment of screen;
Wherein, it is provided with brightness icon at the endpoint of the brightness regulation dragging item, it is described to drag item in the brightness regulation The default gesture of endpoint includes: that the gesture of starting point upward sliding or slide downward is designated as with the luminance graph;
It is bright to be also used to obtain corresponding second target of gesture for being designated as starting point slide downward with the luminance graph for the acquisition module Degree, second object brightness are lower than the brightness of current screen.
7. device according to claim 6, which is characterized in that the acquisition module includes:
Judging submodule, for when detect user the brightness regulation dragging item endpoint default gesture when, judge institute State the dragging label in brightness regulation dragging item, if positioned at the endpoint of brightness regulation dragging item, the endpoint includes the End point and the second endpoint, wherein the first end point is to indicate the brightness maximum of the brightness regulation dragging item instruction Endpoint, second endpoint are the endpoint for indicating the brightness minimum of the brightness regulation dragging item instruction;
The judging submodule judges whether the starting point of the default gesture is the end if being also used to be located at the endpoint Point;
The judging submodule judges whether the default gesture is that instruction increases if being also used to starting point is the first end point Add screen intensity, if starting point is second endpoint, judges whether the default gesture is that instruction reduces screen intensity;
Acquisition submodule, for if so, obtaining the object brightness of the default gesture direction.
8. device according to claim 6, which is characterized in that the acquisition module is also used to obtain with the luminance graph It is designated as the corresponding first object brightness of gesture of starting point upward sliding, the first object brightness is higher than the brightness of current screen.
9. device according to claim 8, which is characterized in that
The acquisition module, the threshold brightness range for being also used to obtain the brightness regulation dragging item setting is (L1, L2), wherein L1For brightness minimum, L2For brightness maximum;
Described device further include:
Setup module, sliding terminal and the distance between the brightness icon for the gesture of the upward sliding to be arranged are H, The distance between the sliding terminal of the gesture of the slide downward and the brightness icon are H, then the sliding position of user gesture It is respectively as follows: with the corresponding relationship of current screen brightness L
When upward sliding,
When slide downward,
Wherein, y is the distance of current finger sliding, LmaxFor the design maximum brightness of the screen.
10. device according to claim 6, which is characterized in that the both ends of the brightness regulation dragging item are respectively arranged with The default gesture of first brightness icon and the second brightness icon, the endpoint in brightness regulation dragging item includes: in institute It states the first brightness icon or second luminance graph puts on the gesture or long-pressing gesture for clicking predetermined times, then the acquisition mould Block is also used to obtain the first mesh corresponding with the gesture for clicking predetermined times or long-pressing gesture put in first luminance graph Brightness is marked, the first object brightness is higher than the brightness of current screen;Alternatively, the point for obtaining and being put in second luminance graph The gesture or corresponding second object brightness of long-pressing gesture of predetermined times are hit, second object brightness is bright lower than current screen Degree.
11. a kind of terminal, including memory, processor and storage are on a memory and the computer journey that can run on a processor Sequence, which is characterized in that the processor realizes such as screen intensity described in any one of claim 1 to 5 when executing described program Adjusting method.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Such as screen luminance adjustment method described in any one of claim 1 to 5 is realized when being executed by processor.
13. a kind of terminal, including display screen, memory, control circuit, processor, which is characterized in that
The processor and display screen, memory, control circuit are electrically connected;
The processor drags in the screen intensity adjustment interface comprising brightness regulation for generating screen intensity adjustment interface Item;
The processor, for when detect user the brightness regulation dragging item endpoint default gesture when, obtain institute The object brightness that default gesture is directed toward is stated, the object brightness is not in the threshold brightness range of brightness regulation dragging item instruction It is interior;
The control circuit is used under the control of the processor, is the object brightness by the brightness adjustment of screen;
Wherein, it is provided with brightness icon at the endpoint of the brightness regulation dragging item, it is described to drag item in the brightness regulation The default gesture of endpoint includes: that the gesture of starting point upward sliding or slide downward is designated as with the luminance graph;
The object brightness for obtaining the default gesture direction includes: to obtain to be designated as starting point slide downward with the luminance graph Corresponding second object brightness of gesture, second object brightness are lower than the brightness of current screen.
CN201710440940.6A 2017-06-13 2017-06-13 Screen luminance adjustment method, device, terminal and computer readable storage medium Active CN107256122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710440940.6A CN107256122B (en) 2017-06-13 2017-06-13 Screen luminance adjustment method, device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710440940.6A CN107256122B (en) 2017-06-13 2017-06-13 Screen luminance adjustment method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107256122A CN107256122A (en) 2017-10-17
CN107256122B true CN107256122B (en) 2019-10-11

Family

ID=60023135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710440940.6A Active CN107256122B (en) 2017-06-13 2017-06-13 Screen luminance adjustment method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107256122B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895563B (en) * 2017-11-02 2021-03-16 珠海市魅族科技有限公司 Display control method and device, terminal and computer readable storage medium
CN109272917B (en) * 2018-10-25 2021-09-28 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN111610886A (en) * 2020-05-20 2020-09-01 深圳Tcl数字技术有限公司 Method and device for adjusting brightness of touch screen and computer readable storage medium
CN111986627A (en) * 2020-08-26 2020-11-24 安徽江淮汽车集团股份有限公司 Backlight brightness adjusting method, device and equipment of vehicle-mounted double-linked screen and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105006223A (en) * 2015-07-28 2015-10-28 广东欧珀移动通信有限公司 Screen brightness adjustment method and intelligent watch
CN106126094A (en) * 2016-06-21 2016-11-16 深圳市金立通信设备有限公司 A kind of brightness adjusting method and terminal
CN106603856A (en) * 2016-12-26 2017-04-26 努比亚技术有限公司 Screen brightness adjusting method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105006223A (en) * 2015-07-28 2015-10-28 广东欧珀移动通信有限公司 Screen brightness adjustment method and intelligent watch
CN106126094A (en) * 2016-06-21 2016-11-16 深圳市金立通信设备有限公司 A kind of brightness adjusting method and terminal
CN106603856A (en) * 2016-12-26 2017-04-26 努比亚技术有限公司 Screen brightness adjusting method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电脑声音小怎么办?增大电脑音量的方法技巧全攻略;qixiaxiaohuo;《百度文库》;20130225;正文第二节 *

Also Published As

Publication number Publication date
CN107256122A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN107256122B (en) Screen luminance adjustment method, device, terminal and computer readable storage medium
EP3350679B1 (en) Electronic device and method for processing gesture thereof
CN104811544B (en) A kind of screen luminance adjustment method
EP3065028B1 (en) Electronic device and method of reducing power consumption thereof
JP4275151B2 (en) Red-eye correction method and apparatus using user-adjustable threshold
CN105590577B (en) Display drive method, display drive integrated circult and electronic equipment
CN108958633A (en) Multi-screen display method, device, storage medium and electronic equipment
CN103309451B (en) The display packing of mobile terminal and mobile terminal
CN105320417B (en) Page switching method and client
CN104618588A (en) Method for regulating terminal screen brightness
CN109254823B (en) Method for switching multi-level nested paging view elements, memory and terminal
KR20160091121A (en) Method for configuring screen, electronic apparatus and storage medium
CN108008896B (en) Display control method and related product
KR102406072B1 (en) Electronic apparatus and method for controlling operations the electronic apparatus based on pressure inputs
CN105426105B (en) A kind of alarm clock control method and mobile terminal
CN106055197A (en) Display method and terminal for application icons
CN103955327B (en) Information processing method and electronic equipment
US9729403B1 (en) Proficiency-based GUI adaptation
CN106126094A (en) A kind of brightness adjusting method and terminal
US20170192511A1 (en) Touchscreen Device and Method Thereof
CN109165075A (en) Application display method, device, electronic equipment and storage medium
CN105468243A (en) Page returning method and page returning device
CN106201019B (en) A kind of the threshold value adjusting method and mobile terminal of proximity sensor
CN105204858B (en) A kind of self-defining image target system and method
KR20150102991A (en) Managing tab buttons

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant