Brightness of display screen adjusting method and device, electronic equipmentTechnical field
This disclosure relates to field of communication technology more particularly to a kind of brightness of display screen adjusting method and device, electronic equipment.
Background technique
Currently, the user experience of electronic equipment is higher and higher, such as mobile phone, tablet computer etc., it can be in different light sourcesIt is used in environment.By being arranged ambient light sensor in the electronic device, electronic equipment can be bright according to the environment detectedThe backlight illumination of degree automatic adjustment display screen, specifically, when ambient brightness is greater than preset threshold, electronic equipment turns down display screenBacklight illumination, keep user with dazzling feeling, while reducing power consumption;When ambient brightness is less than preset threshold, electricityThe backlight illumination of display screen is turned up in sub- equipment, and user is avoided not see screen.The use of ambient light sensor improves user's bodyDegree of testing, and reduce the power consumption of electronic equipment.
It is accounted in screen mobile phone in comprehensive screen mobile phone or height, ambient light sensor is generally located on the lower section of mobile phone screen, as followsOn the metal edge frame of side, in the comprehensive screen mobile phone of user's operation, the position where ambient light sensor is easy to by the hand of userOr other body parts shut out the light, to will affect ambient brightness detected by ambient light sensor, so that display screenIt is flickering.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of brightness of display screen adjusting method and device, electricitySub- equipment.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of brightness of display screen adjusting method is provided, comprising:
User is detected in the operation for the first time on the touch screen of electronic equipment, the Key dithering time is extended into the first duration,The Key dithering time is the interval time for the backlight illumination that electronic equipment automatically adjusts display screen;
The adjusting to the backlight illumination of the electronic equipment display screen is executed according to the Key dithering time after extension;
User is not detected within a preset time when operating on the touch screen, by the Key dithering time after the extensionIt is restored to initial duration.
The technical scheme provided by this disclosed embodiment can include the following benefits: by detecting user in electricityWhen operation for the first time on the touch screen of sub- equipment, the Key dithering time is extended into the first duration, according to the Key dithering time after extensionThe adjusting to the backlight illumination of electronic equipment display screen is executed, user is not detected within a preset time and operates on the touchscreenWhen, the Key dithering time after extension is restored to initial duration.To can avoid the backlight that electronic equipment adjusts display screen repeatedlyBrightness reduces the flickering probability of display screen, improves user experience.
Optionally, first duration is directly proportional to first distance, and the first distance is the position of user's operation touch screenSet the distance between electronic equipment lower frame.
Optionally, the range of first duration is 4s-8s.
Optionally, the operation is clicking operation or slide.
Optionally, the method also includes:
It is in the open state to detect brightness regulating switch in the electronic equipment.
The technical scheme provided by this disclosed embodiment can include the following benefits: by determining electronic equipmentWhen brightness regulating switch is in the open state, user is detected in the operation for the first time on the touch screen of electronic equipment, by debounceThe dynamic time extends the first duration, executes the tune to the backlight illumination of electronic equipment display screen according to the Key dithering time after extensionSection, when user is not detected within a preset time operating on the touchscreen, when the Key dithering time after extension is restored to initialIt is long.To can avoid the backlight illumination that electronic equipment adjusts display screen repeatedly, reduce the flickering probability of display screen, improveUser experience.
According to the second aspect of an embodiment of the present disclosure, a kind of brightness of display screen regulating device is provided, comprising:
First processing module is configured as detecting that user in the operation for the first time on the touch screen of electronic equipment, will goShaky time extends the first duration, when the Key dithering time is the interval for the backlight illumination that electronic equipment automatically adjusts display screenBetween;
Luminance adjustment module is configured as being executed according to the Key dithering time after extension to the electronic equipment display screenThe adjusting of backlight illumination;
Second processing module is configured as being not detected user within a preset time when operating on the touch screen, willThe Key dithering time after the extension is restored to initial duration.
The technical scheme provided by this disclosed embodiment can include the following benefits: examined by first processing moduleUser is measured in the operation for the first time on the touch screen of electronic equipment, the Key dithering time is extended into the first duration, brightness regulation mouldRoot tuber executes the adjusting to the backlight illumination of electronic equipment display screen according to the Key dithering time after extension, and Second processing module is pre-If the Key dithering time after extension is restored to initial duration when user is not detected in the time operating on the touchscreen.To,Avoidable electronic equipment adjusts the backlight illumination of display screen repeatedly, reduces the flickering probability of display screen, improves user experience.
Optionally, first duration is directly proportional to first distance, and the first distance is the position of user's operation touch screenSet the distance between electronic equipment lower frame.
Optionally, the range of first duration is 4s-8s.
Optionally, the operation is clicking operation or slide.
Optionally, described device further include:
It is in the open state to be configured as detecting brightness regulating switch in the electronic equipment for detection module.
According to the third aspect of an embodiment of the present disclosure, a kind of brightness of display screen regulating device is provided, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
User is detected in the operation for the first time on the touch screen of electronic equipment, the Key dithering time is extended into the first duration,The Key dithering time is the interval time for the backlight illumination that electronic equipment automatically adjusts display screen;
User is not detected within a preset time when operating on the touch screen, when the Key dithering time is restored to initialIt is long.
According to a fourth aspect of embodiments of the present disclosure, a kind of readable storage medium storing program for executing is provided, is deposited in the readable storage medium storing program for executingComputer program is contained, it is described when at least one processor of brightness of display screen regulating device executes the computer programBrightness of display screen regulating device executes method described in first aspect.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, notThe disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosureExample, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of brightness of display screen adjusting method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of brightness of display screen adjusting method shown according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of brightness of display screen regulating device shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of brightness of display screen regulating device shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of brightness of display screen regulating device shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawingsIt is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodimentsThose skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related toWhen attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodimentDescribed in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appendedThe example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
In the related technology, since ambient light sensor is generally located on the lower section of mobile phone screen, shield comprehensively in user's operationWhen mobile phone, the position where ambient light sensor is easy to be shut out the light by the hand of user or other body parts, thus meetingAmbient brightness detected by ambient light sensor is influenced, so that display screen is flickering.To solve this problem, the disclosure is realIt applies example and a kind of brightness of display screen adjusting method and device, electronic equipment is provided, by detecting user in the touching of electronic equipmentWhen touching the operation for the first time on screen, the Key dithering time is extended into the first duration, is executed according to the Key dithering time after extension to electronicsThe adjusting of the backlight illumination of device display screen, when user is not detected within a preset time operating on the touchscreen, after extensionThe Key dithering time be restored to initial duration.To can avoid the backlight illumination that electronic equipment adjusts display screen repeatedly, reduce aobviousThe flickering probability of display screen improves user experience.The technical solution of the embodiment of the present disclosure is described in detail with reference to the accompanying drawing.
Fig. 1 is a kind of flow chart of brightness of display screen adjusting method shown according to an exemplary embodiment, the present embodimentIt is applied to illustrate in electronic equipment with the brightness of display screen adjusting method.The brightness of display screen adjusting method may includeFollowing steps.
In step s 11, detect that in the operation for the first time on the touch screen of electronic equipment, the Key dithering time is prolonged by userLong first duration, Key dithering time are the interval time for the backlight illumination that electronic equipment automatically adjusts display screen.
Specifically, operation of the user on the touch screen of electronic equipment can be clicking operation or slide, such as withSome application is opened at family, to click this using corresponding icon, page turning will slide the page when searching a certain application, check webpageWhen to slide up and down the page, page icon or sliding page icon etc. can be clicked when playing game, detects user in touch screenOn operation for the first time, such as play game or see the operation for the first time of webpage, the Key dithering time is extended into the first duration, Key dithering timeThe interval time of the backlight illumination of display screen is automatically adjusted for electronic equipment, that is, is exactly the backlight illumination for adjusting display screen twiceThe interval time is extended the first duration by interval time, for example, the Key dithering time it is initial when a length of X, the Key dithering after extensionTime is X '=X+A, and A is the first duration.
In the present embodiment, optionally, the first duration is directly proportional to first distance, and the first distance is user's operation touchThe distance between the position of screen and electronic equipment lower frame.The gold being generally located on due to ambient light sensor below electronic equipmentBelong on frame, when user's operation touch screen, the probability of ambient light sensor is blocked closer to lower frame in the position of operation touch-screenIt is bigger, therefore the first duration of setting is directly proportional to first distance, i.e., the position of user's operation touch screen is closer to electronic equipmentLower frame, then the first duration is bigger.Storage can be preset in the position of user's operation touch screen and the first duration.
Optionally, the range of the first duration is 4s-8s.Arbitrary value of the value of first duration between 4s-8s.
In step s 12, the tune to the backlight illumination of electronic equipment display screen is executed according to the Key dithering time after extensionSection.
Specifically, in the present embodiment, electronic equipment obtains the bright of current environment light by ambient light sensor firstAngle value, judges whether the current brightness value meets adjusting threshold value, which can be arranged by system default, such as can be electronicsProducer has set when equipment is dispatched from the factory, if present intensity value is less than the threshold value, executes a display backlight brightness(backlight illumination as reduced display screen) is adjusted, later, if the brightness value of current environment light, which meets, adjusts threshold value, such as currentlyBrightness value is greater than the threshold value, then in the Key dithering time X ' being greater than or equal to after extending, it is bright to execute second of display backlightThe adjusting (backlight illumination as promoted display screen) of degree, in this way, in user's operation electronic equipment, the hand of user or other portionsThe light of the position where ambient light sensor has been blocked in position, when influencing ambient brightness detected by ambient light sensor,Interval time by the way that electronic equipment to be automatically adjusted to the backlight illumination of display screen extends, and electronic equipment is avoided to adjust display repeatedlyThe backlight illumination of screen reduces the flickering probability of display screen, improves user experience.
In step s 13, when user is not detected within a preset time and operating on the touchscreen, by the Key dithering after extensionTime is restored to initial duration.
Specifically, after extending the Key dithering time, continue to test whether user operates on the touchscreen, in preset timeWhen user inside is not detected operating on the touchscreen, the Key dithering time after extension is restored to initial duration, that is, is exactly by X 'It is restored to X.For example, after the video watched needed for opening, user does not need generally to operate again when user watches video,The Key dithering time can be restored to initial duration at this time.And user is playing game or when seeing webpage, it be constantly in electronicsIt operates, may continue at this time using the Key dithering time after extension on the touch screen of equipment.In the present embodiment, preset time is for exampleGame can be played according to user or sees the interval operation time of webpage to determine, when the setting of preset time is greater than the interval operationBetween.
Further, the method for the present embodiment can also include:
It is in the open state to detect brightness regulating switch in the electronic equipment.
In the present embodiment, the state of brightness regulating switch mainly includes closing and opening two states, in general, user Ke TongThe control interface of brightness regulating switch is popped up after sliding touch screen upward or downward, and then selects to open or close.Brightness tuneWhen section switch is in the open state, electronic equipment can automatically adjust display screen according to the ambient brightness that ambient light sensor detectsBacklight illumination then need user that brightness of display screen is adjusted manually when the brightness regulating switch is in close state.It will be understood by those in the art that it needs to be determined that just executing S11-S13 when brightness regulating switch is in the open state in electronic equipmentOperation.
In conclusion brightness of display screen adjusting method provided in this embodiment, by detecting user in electronic equipmentTouch screen on operation for the first time when, by the Key dithering time extend the first duration, according to after extension the Key dithering time execute pairThe adjusting of the backlight illumination of electronic equipment display screen will prolong when user is not detected within a preset time operating on the touchscreenThe Key dithering time after length is restored to initial duration.To can avoid the backlight illumination that electronic equipment adjusts display screen repeatedly, dropThe flickering probability of low display screen improves user experience.
Fig. 2 is a kind of flow chart of brightness of display screen adjusting method shown according to an exemplary embodiment.The present embodimentIt is applied to illustrate in electronic equipment with the brightness of display screen adjusting method.The brightness of display screen adjusting method may includeFollowing steps.
In the step s 21, whether in the open state brightness regulating switch in electronic equipment is detected.
In the present embodiment, the state of brightness regulating switch mainly includes closing and opening two states, in general, user Ke TongThe control interface of brightness regulating switch is popped up after sliding touch screen upward or downward, and then selects to open or close.If brightnessWhether regulating switch is in the open state, then executes S22, if it is not, not executing any operation then.
In step S22, detect that in the operation for the first time on the touch screen of electronic equipment, the Key dithering time is prolonged by userLong first duration, Key dithering time are the interval time for the backlight illumination that electronic equipment automatically adjusts display screen.
In the present embodiment, the Key dithering time is the interval time for the backlight illumination that electronic equipment automatically adjusts display screen, i.e.,It is exactly the interval time for adjusting the backlight illumination of display screen twice, which is extended into the first duration, for example, when Key ditheringBetween it is initial when a length of X, the Key dithering time after extension is X '=X+A, and A is the first duration.
In the present embodiment, optionally, the first duration is directly proportional to first distance, and the first distance is user's operation touchThe distance between the position of screen and electronic equipment lower frame.The gold being generally located on due to ambient light sensor below electronic equipmentBelong on frame, when user's operation touch screen, the probability of ambient light sensor is blocked closer to lower frame in the position of operation touch-screenIt is bigger, therefore it is directly proportional to first distance that the first duration is arranged.
Optionally, arbitrary value of the value of the first duration between 4s-8s.
In step S23, the tune to the backlight illumination of electronic equipment display screen is executed according to the Key dithering time after extensionSection.
In step s 24, when user is not detected within a preset time and operating on the touchscreen, by the Key dithering after extensionTime is restored to initial duration.
Specifically, after extending the Key dithering time, continue to test whether user operates on the touchscreen, in preset timeWhen user inside is not detected operating on the touchscreen, the Key dithering time after extension is restored to initial duration, that is, is exactly by X 'It is restored to X.In the present embodiment, preset time for example can play game according to user or see the interval operation time of webpage come reallyFixed, the setting of preset time is greater than the interval operation time.
In conclusion brightness of display screen adjusting method provided in this embodiment, passes through the brightness tune in determining electronic equipmentWhen section switch is in the open state, user is detected in the operation for the first time on the touch screen of electronic equipment, by the Key dithering timeExtend the first duration, the adjusting to the backlight illumination of electronic equipment display screen is executed according to the Key dithering time after extension, pre-If the Key dithering time after extension is restored to initial duration when user is not detected in the time operating on the touchscreen.To,Avoidable electronic equipment adjusts the backlight illumination of display screen repeatedly, reduces the flickering probability of display screen, improves user experience.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure deviceUndisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 is a kind of block diagram of brightness of display screen regulating device shown according to an exemplary embodiment.The display screen is brightSpending regulating device being implemented in combination with as some or all of of electronic equipment by software, hardware or both.ReferenceFig. 3, the device include: first processing module 11, luminance adjustment module 12 and Second processing module 13.
First processing module 11 is configured as detecting that user in the operation for the first time on the touch screen of electronic equipment, will goShaky time extends the first duration, when the Key dithering time is the interval for the backlight illumination that electronic equipment automatically adjusts display screenBetween.
Luminance adjustment module 12 is configured as being executed according to the Key dithering time after extension to the electronic equipment display screenBacklight illumination adjusting.
Second processing module 13 is configured as being not detected user within a preset time when operating on the touch screen, willThe Key dithering time after the extension is restored to initial duration.
Optionally, first duration is directly proportional to first distance, and the first distance is the position of user's operation touch screenSet the distance between electronic equipment lower frame.
Optionally, the range of first duration is 4s-8s.
Optionally, the operation is clicking operation or slide.
In conclusion device provided in this embodiment, is detecting user in electronic equipment by first processing moduleWhen operation for the first time on touch screen, the Key dithering time is extended into the first duration, luminance adjustment module is according to the Key dithering after extensionTime executes the adjusting to the backlight illumination of electronic equipment display screen, and user is not detected in Second processing module within a preset timeWhen operating on the touchscreen, the Key dithering time after extension is restored to initial duration.To can avoid electronic equipment and adjust repeatedlyThe backlight illumination of display screen is saved, the flickering probability of display screen is reduced, improves user experience.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this methodEmbodiment in be described in detail, no detailed explanation will be given here.
Fig. 4 is a kind of block diagram of brightness of display screen regulating device shown according to an exemplary embodiment.As shown in figure 4,It can also include: detection module 13, detection module 13 further on the basis of the device of the present embodiment device shown in Fig. 3It is in the open state to be configured as detecting brightness regulating switch in the electronic equipment.
In conclusion device provided in this embodiment, by detection module in determining electronic equipment brightness regulating switchWhen in the open state, first processing module is detecting that user in the operation for the first time on the touch screen of electronic equipment, will goShaky time extends the first duration, and luminance adjustment module is executed according to the Key dithering time after extension to electronic equipment display screenWhen the adjusting of backlight illumination, Second processing module are not detected user within a preset time and operate on the touchscreen, after extensionThe Key dithering time be restored to initial duration.To can avoid the backlight illumination that electronic equipment adjusts display screen repeatedly, reduce aobviousThe flickering probability of display screen improves user experience.
Fig. 5 is a kind of block diagram of brightness of display screen regulating device shown according to an exemplary embodiment.For example, display screenBrightness regulating apparatus 800 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, put downPanel device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, brightness of display screen regulating device 800 may include following one or more components: processing component 802,Memory 804, power supply module 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensorComponent 814 and communication component 816.
The integrated operation of the usually control brightness of display screen regulating device 800 of processing component 802, such as with display, phone exhaledIt cries, data communication, camera operation and record operate associated operation.Processing component 802 may include one or more processingDevice 820 executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include oneOr multiple modules, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multimediaModule, to facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shownExample includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappearsBreath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their groupIt closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compileJourney read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flashDevice, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management systemSystem, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.OneIn a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screenCurtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensingsDevice is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding actionBoundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakersBody component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode orWhen video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera andRear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a MikeWind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matchedIt is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication setPart 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module canTo be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lockDetermine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commentedEstimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is describedComponent is the display screen and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or devicePosition change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contactPresence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, atAs being used in application.In some embodiments, which can also include acceleration transducer, gyro sensorsDevice, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementationIn example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.ExampleSuch as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), numberNumber processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally providedIt such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example,The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy diskWith optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally providedIt such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of brightness of display screen regulating device 800 to completeThe above method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosureIts embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes orPerson's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosureOr conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by followingClaims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, andAnd various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claimsSystem.