CN108307073A - Screen luminance adjustment method, mobile terminal and computer readable storage medium - Google Patents

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

Info

Publication number
CN108307073A
CN108307073A CN201810100923.2A CN201810100923A CN108307073A CN 108307073 A CN108307073 A CN 108307073A CN 201810100923 A CN201810100923 A CN 201810100923A CN 108307073 A CN108307073 A CN 108307073A
Authority
CN
China
Prior art keywords
screen
brightness value
mobile terminal
flashlight
adjustment method
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.)
Granted
Application number
CN201810100923.2A
Other languages
Chinese (zh)
Other versions
CN108307073B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810100923.2A priority Critical patent/CN108307073B/en
Publication of CN108307073A publication Critical patent/CN108307073A/en
Application granted granted Critical
Publication of CN108307073B publication Critical patent/CN108307073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Abstract

The invention discloses a kind of screen luminance adjustment method, this method includes:When receiving screen and lighting instruction, the first ambient brightness value is obtained, and the first ambient brightness value and predetermined threshold value are compared;When the first ambient brightness value is less than or equal to predetermined threshold value, the flashlight of mobile terminal is opened in control;Under the flashlight opening state, the second ambient enviroment brightness value is obtained;The screen intensity of the mobile terminal is adjusted according to the second ambient enviroment brightness value.The invention also discloses a kind of mobile terminals and a kind of computer readable storage medium.The present invention can solve the technical problem that mobile screen luminance of terminal is too high or too low under dark surrounds.

Description

Screen luminance adjustment method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to technical field of mobile terminals more particularly to screen luminance adjustment method, mobile terminal and computers Readable storage medium storing program for executing.
Background technology
Currently, the mobile terminals such as smart mobile phone generally have screen intensity automatic regulation function.When user is in dark surrounds When lower use smart mobile phone, if mobile phone does not open screen intensity automatic regulation function, when mobile phone screen is lighted, brightness Can be excessively dazzling, to bring visual damage to user;If mobile phone opens screen intensity automatic regulation function, when When mobile phone detects that ambient brightness is very low, screen intensity will also become very low, cause user that can not be clear from and see To or the very laborious display content that can just see screen, this can undoubtedly influence operating experience of the user to mobile phone.
Invention content
It is a primary object of the present invention to propose a kind of screen luminance adjustment method, mobile terminal and computer-readable storage Medium, it is intended to solve the technical problem that mobile screen luminance of terminal is too high or too low under dark surrounds.
To achieve the above object, the present invention provides a kind of screen luminance adjustment method, the screen luminance adjustment method packet Include following steps:
When receiving screen and lighting instruction, the first ambient brightness value is obtained, and first ambient enviroment is bright Angle value and predetermined threshold value are compared;
When the first ambient brightness value is less than or equal to predetermined threshold value, the flashlight of mobile terminal is opened in control Cylinder;
Under the flashlight opening state, the second ambient enviroment brightness value is obtained;
The screen intensity of the mobile terminal is adjusted according to the second ambient enviroment brightness value.
Optionally, the step of flashlight of the control opening mobile terminal includes:
The flashlight of the mobile terminal is controlled to open with preset dipped beam state, under the dipped beam state, the flashlight The brightness of cylinder and colour temperature are first predetermined value.
Optionally, the described the step of screen intensity of the mobile terminal is adjusted according to the second ambient enviroment brightness value Including:
According to the correspondence of preset ambient brightness value and standard screen brightness value, determine and described second around The corresponding standard screen brightness value of ambient brightness value;
The current screen brightness value for obtaining the mobile terminal, judge the current screen brightness value whether with determining institute It is identical to state standard screen brightness value;
If the current screen brightness value is different from the standard screen brightness value determined, by the mobile terminal Current screen brightness value is adjusted to the determining standard screen brightness value.
Optionally, the correspondence according to preset ambient brightness value and standard screen brightness value, determine with The step of second ambient enviroment brightness value corresponding standard screen brightness value includes:
Determine the pre-set interval residing for the second ambient enviroment brightness value;
Will standard screen brightness value corresponding with the pre-set interval as corresponding with the second ambient enviroment brightness value Standard screen brightness value.
Optionally, the screen luminance adjustment method further includes:
Detect whether the mobile terminal is in mobile status;
If the mobile terminal is in mobile status, the dipped beam state of the flashlight is switched to high-beam condition, institute It states under high-beam condition, the brightness of the flashlight and colour temperature are second predetermined value.
Optionally, after the step of whether the detection mobile terminal is in mobile status, further include:
If the mobile terminal is not at mobile status, detects and whether received in preset duration based on described mobile whole Hold the touch control operation instruction of screen;
If not receiving the touch control operation instruction based on the mobile terminal screen in preset duration, the flashlight is closed Cylinder.
Optionally, described when receiving screen and lighting instruction, obtain the first ambient brightness value, and by described first Before the step of ambient brightness value and predetermined threshold value are compared, further include:
The flashlight setting instruction for receiving user's triggering enables mobile terminal under dark surrounds according to the setting instruction Flashlight automatically opens function.
Optionally, screen luminance adjustment method further includes:
The flashlight brightness regulation instruction for receiving user's triggering adjusts the flashlight according to brightness regulation instruction Open brightness;
Alternatively, receiving the flashlight out code of user's triggering, the flashlight is closed according to the out code.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes:Memory, The screen intensity that processor and being stored in can be run on the memory and on the processor adjusts program, and the screen is bright Degree adjusts the step of realizing screen luminance adjustment method as described above when program is executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with screen intensity on storage medium and adjusts program, the screen intensity adjusts when program is executed by processor and realizes institute as above The step of screen luminance adjustment method stated.
The present invention obtains the first ambient brightness value, and will be described when mobile terminal receives screen and lights instruction First ambient brightness value and predetermined threshold value are compared;When the first ambient brightness value is less than or equal to default threshold When value, the flashlight of mobile terminal is opened in control;Under the flashlight opening state, the second ambient enviroment brightness value is obtained; The screen intensity of the mobile terminal is adjusted according to the second ambient enviroment brightness value.By the above-mentioned means, mobile terminal exists Under dark surrounds can utilize flashlight light source promoted ambient brightness, then, then by ambient brightness come correspond to adjust Save screen intensity, compared with the prior art, the screen intensity that mobile terminal of the present invention is shown under dark surrounds will not it is excessively high or It is too low, be conducive to the visual comfort experience for promoting user.
Description of the drawings
A kind of hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of screen luminance adjustment method first embodiment of the present invention;
Fig. 4 is the schematic diagram of a scenario that the flashlight of mobile terminal in the embodiment of the present invention is opened with dipped beam state;
Fig. 5 is the flow diagram of screen luminance adjustment method second embodiment of the present invention;
Fig. 6 is the flow diagram of screen luminance adjustment method 3rd embodiment of the present invention;
Fig. 7 is the flow diagram of screen luminance adjustment method fourth embodiment of the present invention;
Fig. 8 is the setting interface schematic diagram that flashlight is applied in the embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of mobile terminal of the present invention is proposed.
Fig. 1 is please referred to, in an embodiment of mobile terminal of the present invention, which includes:Memory 109, processing Device 110 adjusts program with the screen intensity that can be run on the memory 109 and on the processor 110 is stored in, described Screen intensity adjusts when program is executed by the processor 110 and realizes following steps:
When receiving screen and lighting instruction, the first ambient brightness value is obtained, and first ambient enviroment is bright Angle value and predetermined threshold value are compared;
When the first ambient brightness value is less than or equal to predetermined threshold value, the flashlight of mobile terminal is opened in control Cylinder;
Under the flashlight opening state, the second ambient enviroment brightness value is obtained;
The screen intensity of the mobile terminal is adjusted according to the second ambient enviroment brightness value.
Further, the screen intensity adjusts when program is executed by the processor 110 and also realizes following steps:
The flashlight of the mobile terminal is controlled to open with preset dipped beam state, under the dipped beam state, the flashlight The brightness of cylinder and colour temperature are first predetermined value.
Further, the screen intensity adjusts when program is executed by the processor 110 and also realizes following steps:
According to the correspondence of preset ambient brightness value and standard screen brightness value, determine and described second around The corresponding standard screen brightness value of ambient brightness value;
The current screen brightness value for obtaining the mobile terminal, judge the current screen brightness value whether with determining institute It is identical to state standard screen brightness value;
If the current screen brightness value is different from the standard screen brightness value determined, by the mobile terminal Current screen brightness value is adjusted to the determining standard screen brightness value.
Further, the screen intensity adjusts when program is executed by the processor 110 and also realizes following steps:
Determine the pre-set interval residing for the second ambient enviroment brightness value;
Will standard screen brightness value corresponding with the pre-set interval as corresponding with the second ambient enviroment brightness value Standard screen brightness value.
Further, the screen intensity adjusts when program is executed by the processor 110 and also realizes following steps:
Detect whether the mobile terminal is in mobile status;
If the mobile terminal is in mobile status, the dipped beam state of the flashlight is switched to high-beam condition, institute It states under high-beam condition, the brightness of the flashlight and colour temperature are second predetermined value.
Further, the screen intensity adjusts when program is executed by the processor 110 and also realizes following steps:
If the mobile terminal is not at mobile status, detects and whether received in preset duration based on described mobile whole Hold the touch control operation instruction of screen;
If not receiving the touch control operation instruction based on the mobile terminal screen in preset duration, the flashlight is closed Cylinder.
Further, the screen intensity adjusts when program is executed by the processor 110 and also realizes following steps:
The flashlight setting instruction for receiving user's triggering enables mobile terminal under dark surrounds according to the setting instruction Flashlight automatically opens function.
Further, the screen intensity adjusts when program is executed by the processor 110 and also realizes following steps:
The flashlight brightness regulation instruction for receiving user's triggering adjusts the flashlight according to brightness regulation instruction Open brightness;
Alternatively, receiving the flashlight out code of user's triggering, the flashlight is closed according to the out code.
The basic phase of each specific embodiment of the specific embodiment of mobile terminal of the present invention and following screen luminance adjustment methods Together, therefore not to repeat here.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
The present invention provides a kind of screen luminance adjustment method.
It is the flow diagram of screen luminance adjustment method first embodiment of the present invention, the method packet with reference to Fig. 3, Fig. 3 It includes:
Step S10 obtains the first ambient brightness value, and by described first week when receiving screen and lighting instruction It encloses ambient brightness value and predetermined threshold value is compared;
The present embodiment screen luminance adjustment method is mainly used in the scene that user uses mobile terminal under dark surrounds, And the mobile terminal has flashlight function.First, mobile terminal receives screen and lights instruction, which, which lights instruction, to lead to It crosses user and presses the power button triggering of mobile terminal, or triggered by user speech (such as phonetic dialing), it can also be in movement Automatic trigger when terminal receives phone, short message or clock alarming, the present embodiment are not construed as limiting this.
When receiving screen and lighting instruction, it is bright that mobile terminal by built-in light sensor acquires the first ambient enviroment Angle value, and collected first ambient brightness value and predetermined threshold value are compared, wherein predetermined threshold value is one lower Ambient brightness value, when specific implementation, can be flexibly arranged.
Step S20, when the first ambient brightness value is less than or equal to predetermined threshold value, mobile terminal is opened in control Flashlight;
When the first ambient brightness value is less than or equal to predetermined threshold value, illustrate that mobile terminal is in dark ring Border, at this time mobile terminal automatically open itself flashlight function, to illuminate ambient enviroment, wherein the hardware layout of flashlight can Can also be independent hardware with the picture-taking flash lamp hardware multiplexing with mobile terminal.
In one embodiment, can be in advance flashlight be arranged one it is initial open brightness, mobile terminal can be according to Flashlight is opened in the initial opening brightness;In more embodiments, control open mobile terminal flashlight the step of can To further comprise:The flashlight of the mobile terminal is controlled to open with preset dipped beam state, it is described under the dipped beam state The brightness of flashlight and colour temperature are first predetermined value.
Specifically, the initial opening state of the flashlight of mobile terminal can be pre-set, which includes close Light state and high-beam condition, wherein dipped beam state and high-beam condition correspond to different flashlight light-source brightness and colour temperature respectively, and Adjustment can be flexibly arranged in the brightness and colour temperature.Reference Fig. 4, Fig. 4 are the flashlight of mobile terminal in the embodiment of the present invention with dipped beam The schematic diagram of a scenario that state is opened.When mobile terminal automatically opens flashlight, flashlight is controlled first with preset dipped beam shape State is opened, and the brightness of flashlight at this time and colour temperature are first predetermined value, which should ensure that flashlight light source can be real Now short distance and large range of illumination, to effectively illuminate ambient enviroment.
Further, before the step of flashlight of mobile terminal is opened in control, mobile terminal can also detect currently Otherwise whether electricity is greater than or equal to default charge value is not opened flashlight if so, executing the step of opening flashlight.
Step S30 obtains the second ambient enviroment brightness value under the flashlight opening state;
In the step, under flashlight opening state, mobile terminal is obtained by built-in light sensor around second Ambient brightness value, it is readily appreciated that, since the light source of flashlight illuminates ambient enviroment, which should be higher than that Above-mentioned first ambient brightness value.
Specifically, mobile terminal can obtain ambient brightness value in real time, can also be obtained according to preset time interval Take ambient brightness value;When obtaining ambient brightness value according to preset time interval, mobile terminal can will be pre- If the multiple ambient brightness value averageds continuously acquired in duration, and using the average value as the second ambient brightness Value can so reduce ambient brightness and fluctuate influence to subsequently adjusting mobile terminal screen brightness.
Step S40 adjusts the screen intensity of the mobile terminal according to the second ambient enviroment brightness value.
Later, mobile terminal adjusts itself screen intensity according to the second ambient enviroment brightness value got.Specifically, may be used To pre-set the numerical value correspondence between ambient brightness value and mobile terminal screen brightness value, second week is being got After enclosing ambient brightness value, you can determine screen corresponding with the second ambient enviroment brightness value by the preset numerical value correspondence Then the screen intensity of mobile terminal is adjusted to the screen brightness value of the determination by brightness value again;In addition it is also possible to will get The second ambient enviroment brightness value substitute into preset algorithm in calculated, to obtain corresponding screen intensity.Certainly, root The mode that screen intensity is adjusted according to ambient brightness value can also be with reference to mobile terminal screen automatic brightness adjustment work(in the prior art Can related algorithm, when specific implementation can flexibly be arranged.
By the above-mentioned means, under dark surrounds, since above-mentioned screen intensity is that value is adaptive according to the ambient brightness Adjustment, the transition of additional left-hand seat torch light source, therefore screen intensity will not be excessively dazzling;And since flashlight can be in certain journey Ambient enviroment is illuminated on degree so that screen intensity obtained from according to the ambient brightness will not be excessively dark, to facilitate user clear Chu, the display content for being one can easily see screen.
Further, mobile terminal can also detect whether above-mentioned second ambient enviroment brightness value is greater than or equal to one in real time Predetermined value, which is a higher ambient brightness value, if the second ambient enviroment brightness value is greater than or equal to the predetermined value, Illustrate that mobile terminal is no longer on dark surrounds, the flashlight of turning-off mobile terminal can be controlled at this time, to save mobile terminal Energy consumption.
In addition, under flashlight opening state, mobile terminal can also detect self electric quantity situation in real time, when detect from When body electricity is less than preset value, prompt message can be exported to prompt user to close flashlight, or prompt user's current electric quantity The residual time length of flashlight opening state can also be maintained, or directly controls flashlight closing, can so be prevented mobile whole End electricity exhausts.
In the present embodiment, when mobile terminal, which receives screen, lights instruction, the first ambient brightness value is obtained, and The first ambient brightness value and predetermined threshold value are compared;When the first ambient brightness value is less than or equal to When predetermined threshold value, the flashlight of mobile terminal is opened in control;Under the flashlight opening state, it is bright to obtain the second ambient enviroment Angle value;The screen intensity of the mobile terminal is adjusted according to the second ambient enviroment brightness value.By the above-mentioned means, mobile whole End under dark surrounds can utilize flashlight light source promoted ambient brightness, then, then by ambient brightness come pair Screen intensity should be adjusted, compared with the prior art, the screen intensity that mobile terminal of the present invention is shown under dark surrounds will not mistake It is high or too low, be conducive to the visual comfort experience for promoting user.
Further, it is the flow diagram of screen luminance adjustment method second embodiment of the present invention with reference to Fig. 5, Fig. 5.Base In above-mentioned embodiment shown in Fig. 3, step S40 may include:
Step S41, according to the correspondence of preset ambient brightness value and standard screen brightness value, determine with it is described The corresponding standard screen brightness value of second ambient enviroment brightness value;
Step S42 obtains the current screen brightness value of the mobile terminal, judge the current screen brightness value whether with The determining standard screen brightness value is identical;
If the current screen brightness value is different from the standard screen brightness value determined, S43 is thened follow the steps, by institute The current screen brightness value for stating mobile terminal is adjusted to the determining standard screen brightness value.
In the present embodiment, the correspondence of ambient brightness value and standard screen brightness value can be preset, which closes System need to meet the visual custom of human eye, and in general, ambient brightness value is higher, and corresponding standard screen brightness value is also got over It is high.Mobile terminal is after getting the second ambient enviroment brightness value, according to the preset correspondence, you can determine with this second Ambient brightness is worth corresponding standard screen brightness value, and then, acquisition for mobile terminal current screen brightness value judges current screen Whether curtain brightness value is identical as determining standard screen brightness value, if it is different, current screen brightness value is then adjusted to determination Standard screen brightness value does not make screen intensity adjustment if identical.
Further, above-mentioned steps S41 may include:Determine the preset areas residing for the second ambient enviroment brightness value Between;Will and the corresponding standard screen brightness value of the pre-set interval as standard corresponding with the second ambient enviroment brightness value Screen brightness value.
Specifically, can the ambient brightness value under dark surrounds be divided into different sections in advance, and is each Corresponding standard screen brightness value is arranged in section, and mobile terminal is after getting the second ambient enviroment brightness value, it is first determined should Pre-set interval residing for second ambient enviroment brightness value, so using the corresponding standard screen brightness value in the section as with second week The corresponding standard screen brightness value of ambient brightness value is enclosed, can so reduce the slight fluctuations of ambient brightness value to mobile whole The influence for holding screen intensity, avoids the frequent adjustment of mobile terminal screen brightness.
Further, it is the flow diagram of screen luminance adjustment method 3rd embodiment of the present invention with reference to Fig. 6, Fig. 6.Base In above-mentioned embodiment shown in Fig. 3, after the step s 40, can also include:
Step S50, detects whether the mobile terminal is in mobile status;
If the mobile terminal is in mobile status, S60 is thened follow the steps, the dipped beam state of the flashlight is switched to High-beam condition, under the high-beam condition, the brightness of the flashlight and colour temperature are second predetermined value.
If the mobile terminal is not at mobile status, S70 is thened follow the steps, detects in preset duration whether receive base It is instructed in the touch control operation of the mobile terminal screen;If it is not, then entering step S80, the flashlight is closed.
In the present embodiment, it is contemplated that there are the usage scenarios of two kinds of mobile terminals in dark surrounds by user:The first, uses Family only operates mobile terminal application, such as browsing news, viewing video or chat;Second, user's hand-held mobile terminal is walked about, Such as illuminated by the screen of mobile terminal or flashlight light source.
Mobile terminal can pass through built-in acceleration transducer, gyroscope etc. after flashlight is opened with dipped beam state Detect whether itself is in mobile status, specific detection mode can refer to the prior art (such as pedometer principle), not go to live in the household of one's in-laws on getting married herein It states.
If mobile terminal is in mobile status, the dipped beam state of flashlight is switched to high-beam condition, the distance light shape Under state, the brightness of flashlight and colour temperature are second predetermined value, which should ensure that flashlight light source has stronger wear Permeability, at this point, flashlight is used mainly as lighting source;Certainly, mobile terminal can also be examined before flashlight is not switched on It surveys whether itself is in mobile status, is opened with high-beam condition if so, flashlight can be directly controlled.
If detect the collected exercise data such as acceleration transducer in certain time length, gyroscope do not change or Whether amplitude of variation very little illustrates that mobile terminal remains static, be based at this point, further being received in detection preset duration The touch control operation of mobile terminal screen instructs, if it is not, then illustrate that user probably no longer pays close attention to screen content, it is mobile at this time whole Flashlight is automatically closed in end, is wasted to avoid unnecessary electricity.
Further, it is the flow diagram of screen luminance adjustment method fourth embodiment of the present invention with reference to Fig. 7, Fig. 7.Base In above-mentioned embodiment shown in Fig. 3, before step S10, can also include:
Step S90 receives the flashlight setting instruction of user's triggering, enables dark surrounds according to setting instruction and move down The flashlight of dynamic terminal automatically opens function.
It is the setting interface schematic diagram that flashlight is applied in the embodiment of the present invention, setting interface Zhong Bao with reference to Fig. 8, Fig. 8 The control for automatically opening function enabling/closing containing flashlight under a control dark surrounds, user can be based on control selection and open With or close flashlight under dark surrounds and automatically open function.Certainly, which can also be arranged the drop-down in mobile terminal In column, to facilitate user to carry out prompt operation.
Further, after the step s 40, it can also include step:The flashlight brightness regulation for receiving user's triggering refers to It enables, the opening brightness of the flashlight is adjusted according to brightness regulation instruction;Alternatively, the flashlight for receiving user's triggering is closed Instruction closes the flashlight according to the out code.
When the flashlight of mobile terminal in dark surrounds is opened, the flashlight that mobile terminal can receive user's triggering is bright Regulating command is spent, to adjust the opening brightness of flashlight, alternatively, the flashlight out code of user's triggering is received, to close hand Torch, similarly, user can be accordingly arranged in flashlight application interface or drop-down column, it is thus achieved that flashlight Flexible control.
The present invention also provides a kind of computer readable storage mediums.
It is stored with screen intensity on computer readable storage medium of the present invention and adjusts program, the screen intensity adjusts program The step of screen luminance adjustment method as described above is realized when being executed by processor.
Wherein, the screen intensity adjusting program run on the processor is performed realized method and can refer to this Invention screen luminance adjustment method embodiment, details are not described herein again.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of screen luminance adjustment method, which is characterized in that the screen luminance adjustment method includes the following steps:
When receiving screen and lighting instruction, the first ambient brightness value is obtained, and by the first ambient brightness value It is compared with predetermined threshold value;
When the first ambient brightness value is less than or equal to predetermined threshold value, the flashlight of mobile terminal is opened in control;
Under the flashlight opening state, the second ambient enviroment brightness value is obtained;
The screen intensity of the mobile terminal is adjusted according to the second ambient enviroment brightness value.
2. screen luminance adjustment method as described in claim 1, which is characterized in that the flashlight of mobile terminal is opened in the control Cylinder the step of include:
The flashlight of the mobile terminal is controlled to open with preset dipped beam state, under the dipped beam state, the flashlight Brightness and colour temperature are first predetermined value.
3. screen luminance adjustment method as claimed in claim 1 or 2, which is characterized in that described according to the second week collarette Border brightness value adjusts the step of screen intensity of the mobile terminal and includes:
According to the correspondence of preset ambient brightness value and standard screen brightness value, determine and second ambient enviroment The corresponding standard screen brightness value of brightness value;
The current screen brightness value for obtaining the mobile terminal, judge the current screen brightness value whether with the determining mark Quasi- screen brightness value is identical;
If the current screen brightness value is different from the standard screen brightness value determined, by the current of the mobile terminal Screen brightness value is adjusted to the determining standard screen brightness value.
4. screen luminance adjustment method as claimed in claim 3, which is characterized in that described according to preset ambient brightness The correspondence of value and standard screen brightness value determines standard screen brightness value corresponding with the second ambient enviroment brightness value The step of include:
Determine the pre-set interval residing for the second ambient enviroment brightness value;
Will and the corresponding standard screen brightness value of the pre-set interval as mark corresponding with the second ambient enviroment brightness value Quasi- screen brightness value.
5. screen luminance adjustment method as claimed in claim 2, which is characterized in that the screen luminance adjustment method is also wrapped It includes:
Detect whether the mobile terminal is in mobile status;
If the mobile terminal is in mobile status, the dipped beam state of the flashlight is switched to high-beam condition, it is described remote Under light state, the brightness of the flashlight and colour temperature are second predetermined value.
6. screen luminance adjustment method as claimed in claim 5, which is characterized in that whether the detection mobile terminal is located After in the mobile status the step of, further include:
If the mobile terminal is not at mobile status, detects and whether received in preset duration based on the mobile terminal screen The touch control operation instruction of curtain;
If not receiving the touch control operation instruction based on the mobile terminal screen in preset duration, the flashlight is closed.
7. screen luminance adjustment method as described in claim 1, which is characterized in that described to light instruction when receiving screen When, obtain the first ambient brightness value, and the step of the first ambient brightness value and predetermined threshold value are compared Before, further include:
The flashlight setting instruction for receiving user's triggering, the flashlight of mobile terminal under dark surrounds is enabled according to the setting instruction Cylinder automatically opens function.
8. screen luminance adjustment method as described in claim 1, which is characterized in that the screen luminance adjustment method is also wrapped It includes:
The flashlight brightness regulation instruction for receiving user's triggering, the opening of the flashlight is adjusted according to brightness regulation instruction Brightness;
Alternatively, receiving the flashlight out code of user's triggering, the flashlight is closed according to the out code.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the screen intensity that can run on the processor adjusts program, and the screen intensity adjusts program by the processor It is realized such as the step of screen luminance adjustment method described in any item of the claim 1 to 8 when execution.
10. a kind of computer readable storage medium, which is characterized in that it is bright to be stored with screen on the computer readable storage medium Degree adjusts program, and the screen intensity is adjusted when program is executed by processor and realized as described in any item of the claim 1 to 8 The step of screen luminance adjustment method.
CN201810100923.2A 2018-01-31 2018-01-31 Screen brightness adjusting method, mobile terminal and computer readable storage medium Active CN108307073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810100923.2A CN108307073B (en) 2018-01-31 2018-01-31 Screen brightness adjusting method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810100923.2A CN108307073B (en) 2018-01-31 2018-01-31 Screen brightness adjusting method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108307073A true CN108307073A (en) 2018-07-20
CN108307073B CN108307073B (en) 2021-08-10

Family

ID=62850764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810100923.2A Active CN108307073B (en) 2018-01-31 2018-01-31 Screen brightness adjusting method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108307073B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110691169A (en) * 2019-09-29 2020-01-14 Tcl移动通信科技(宁波)有限公司 Ambient light generation method, ambient light generation device, and computer-readable storage medium
CN111741563A (en) * 2020-06-23 2020-10-02 广东小天才科技有限公司 Eye protection method and device for adjusting ambient light, terminal device and readable storage medium
CN112233631A (en) * 2020-10-28 2021-01-15 山东超越数控电子股份有限公司 Device and method for automatically adjusting screen brightness of all-solid-state tablet personal computer
CN113805784A (en) * 2021-08-19 2021-12-17 惠州Tcl移动通信有限公司 Method and device for responding to screen click event according to objective environment and mobile terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8295886B2 (en) * 2007-10-23 2012-10-23 Lg Electronics Inc. Mobile terminal and apparatus for controlling illumination of backlight thereof
US20140022223A1 (en) * 2012-07-20 2014-01-23 Euijung JUNG Mobile terminal and method of controlling a mobile terminal
CN105120093A (en) * 2015-08-27 2015-12-02 努比亚技术有限公司 Driving prompting method and device
CN105744067A (en) * 2016-02-24 2016-07-06 广东欧珀移动通信有限公司 Mobile terminal flashlight brightness adjustment method and device, mobile terminal
CN106303089A (en) * 2016-09-30 2017-01-04 努比亚技术有限公司 A kind of mobile terminal and the method controlling pocket lamp
CN106357909A (en) * 2016-09-23 2017-01-25 广州恒业软件科技有限公司 Flashlight control system on basis of mobile terminal
CN106406802A (en) * 2016-09-06 2017-02-15 上海斐讯数据通信技术有限公司 Control method for night mode and mobile terminal
CN106851007A (en) * 2017-02-28 2017-06-13 惠州Tcl移动通信有限公司 A kind of method and system for adjusting screen backlight
CN107390858A (en) * 2017-07-24 2017-11-24 广东欧珀移动通信有限公司 Method for controlling backlight thereof, device, terminal device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8295886B2 (en) * 2007-10-23 2012-10-23 Lg Electronics Inc. Mobile terminal and apparatus for controlling illumination of backlight thereof
US20140022223A1 (en) * 2012-07-20 2014-01-23 Euijung JUNG Mobile terminal and method of controlling a mobile terminal
CN105120093A (en) * 2015-08-27 2015-12-02 努比亚技术有限公司 Driving prompting method and device
CN105744067A (en) * 2016-02-24 2016-07-06 广东欧珀移动通信有限公司 Mobile terminal flashlight brightness adjustment method and device, mobile terminal
CN106406802A (en) * 2016-09-06 2017-02-15 上海斐讯数据通信技术有限公司 Control method for night mode and mobile terminal
CN106357909A (en) * 2016-09-23 2017-01-25 广州恒业软件科技有限公司 Flashlight control system on basis of mobile terminal
CN106303089A (en) * 2016-09-30 2017-01-04 努比亚技术有限公司 A kind of mobile terminal and the method controlling pocket lamp
CN106851007A (en) * 2017-02-28 2017-06-13 惠州Tcl移动通信有限公司 A kind of method and system for adjusting screen backlight
CN107390858A (en) * 2017-07-24 2017-11-24 广东欧珀移动通信有限公司 Method for controlling backlight thereof, device, terminal device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110691169A (en) * 2019-09-29 2020-01-14 Tcl移动通信科技(宁波)有限公司 Ambient light generation method, ambient light generation device, and computer-readable storage medium
CN111741563A (en) * 2020-06-23 2020-10-02 广东小天才科技有限公司 Eye protection method and device for adjusting ambient light, terminal device and readable storage medium
CN112233631A (en) * 2020-10-28 2021-01-15 山东超越数控电子股份有限公司 Device and method for automatically adjusting screen brightness of all-solid-state tablet personal computer
CN113805784A (en) * 2021-08-19 2021-12-17 惠州Tcl移动通信有限公司 Method and device for responding to screen click event according to objective environment and mobile terminal

Also Published As

Publication number Publication date
CN108307073B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN108495056A (en) Photographic method, mobile terminal and computer readable storage medium
CN108270966A (en) A kind of method, mobile terminal and storage medium for adjusting light filling brightness
CN107728770A (en) Screen luminance of terminal method of adjustment, mobile terminal and computer-readable recording medium
CN109348123A (en) Photographic method, mobile terminal and computer readable storage medium
CN108063901A (en) A kind of image-pickup method, terminal and computer readable storage medium
CN108900778A (en) A kind of image pickup method, mobile terminal and computer readable storage medium
CN108307073A (en) Screen luminance adjustment method, mobile terminal and computer readable storage medium
CN107132973A (en) Backlight adjusting method, mobile terminal and computer-readable recording medium
CN108540358A (en) Control method, mobile terminal and the computer readable storage medium of household appliance
CN108156393A (en) Image capturing method, mobile terminal and computer readable storage medium
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN109062405A (en) Mobile terminal display methods, mobile terminal and computer readable storage medium
CN107124552A (en) A kind of image pickup method, terminal and computer-readable recording medium
CN110417999A (en) Screen luminance adjustment method, mobile terminal and computer readable storage medium
CN109218527A (en) screen brightness control method, mobile terminal and computer readable storage medium
CN108965589A (en) A kind of screen brightness control method, terminal and computer readable storage medium
CN109525783A (en) A kind of exposure image pickup method, terminal and computer readable storage medium
CN107995437A (en) Photograph taking method for polishing and mobile terminal
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN109672822A (en) A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium
CN108093117A (en) A kind of dual-screen mobile terminal control method and dual-screen mobile terminal
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN109616081A (en) Display lightness regulating method, flexible screen terminal and computer readable storage medium
CN109885362A (en) Terminal and its eyeshield control method and computer readable storage medium
CN109445731A (en) A kind of display pattern control method, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant