CN109819097A - A kind of eyeshield based reminding method, mobile terminal and computer readable storage medium - Google Patents
A kind of eyeshield based reminding method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109819097A CN109819097A CN201811458410.5A CN201811458410A CN109819097A CN 109819097 A CN109819097 A CN 109819097A CN 201811458410 A CN201811458410 A CN 201811458410A CN 109819097 A CN109819097 A CN 109819097A
- Authority
- CN
- China
- Prior art keywords
- terminal
- prompting
- display
- eyeshield
- grade
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of eyeshield based reminding methods, mobile terminal and computer readable storage medium, for in existing terminal eyeshield notification mechanisms, the interface of terminal can be blocked in prompting message, and lead to the defect for influencing the normal use of user, determine whether terminal currently meets the condition for opening eyeshield mode based on the design parameter configuration in the display parameters of current environmental data and terminal, if meeting, then at least one display lamp in the terminal is controlled according to preset prompting rule, to realize the reminding effect of eyeshield display unlatching, and terminal screen operation interface can be blocked by also avoiding, the problem of influencing user's normal use, substantially increase user experience.
Description
Technical field
The present invention relates to intelligent terminal technical field, more specifically to a kind of eyeshield based reminding method, mobile terminal and
Computer readable storage medium.
Background technique
With the continuous development of terminal technology, the popularity rate of intelligent terminal in social life is higher and higher, and user is in day
Often also higher and higher using the frequency of intelligent terminal in life, the intelligent terminal for applying various new technologies also comes into being, people
Intelligent terminal not only can be used make a phone call, send short messages, can also see video, listen to music, instant messaging, play game etc., make
Obtaining intelligent terminal becomes the indispensable important tool of people.
As the time of user's using terminal is increasingly longer, the eyesight of user inevitably receives harm, existing skill
The eyesight of user is protected in art, is all designed with eyeshield mode monitoring notification mechanisms at the terminal, is monitoring eyeshield mode
When unlocking condition triggers, then corresponding notice interface can be shown, on a display screen to remind user to open eyeshield mode.But it shows
Notification message can be currently used to user interface formed block, satisfaction of users is low.
Summary of the invention
The technical problem to be solved in the present invention is that: can all exist in existing terminal eyeshield notification mechanisms and block terminal
Display screen, and lead to the normal use for influencing user provides a kind of display control method, double screen terminal for the technical problem
And computer readable storage medium.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of eyeshield based reminding method of terminal, the ends
At least one display lamp is provided on end, which comprises
Detect display parameters of the environmental data and terminal under current environment under current display state;
The parameter configuration with the data corresponding with the display parameters of the data in the environmental data is extracted to carry out
Compare;
Judge whether comparison result meets the unlocking condition of eyeshield mode;
If satisfied, then carrying out prompting control at least one display lamp according to preset prompting rule.
Optionally, the display parameters include display brightness, display color, the percentage of each color, font, resolution ratio
At least one of.
Optionally, described to extract the environmental data if the environmental data includes light luminance and/or environmental color
In data be compared with the parameter configuration with the data corresponding in the display parameters and include:
Compare the light luminance value whether be greater than the terminal display brightness value, and calculate between the two
Difference;
And/or
Whether consistent with the percentage of each color of the terminal compare the environmental color.
Optionally, the unlocking condition of the eyeshield mode includes at least one of the following:
The value of the light luminance is greater than the value of the display brightness of the terminal, and difference between the two is greater than default
Value;
The percentage of the environmental color and each color of the terminal is inconsistent.
Optionally, described remind the control to include: at least one display lamp according to preset prompting rule
It determines according to the result of the comparison and controls the prompting grade that the display lamp carries out the eyeshield prompting, described prompting etc.
Grade includes at least two-stage;
It is inquired from preset prompting grade and the mapping table for reminding rule according to the prompting grade corresponding
Remind rule;
Corresponding indicating mode is opened according to display lamp described in the prompting rule control.
Optionally, described determine according to the result of the comparison controls the prompting grade that the display lamp carries out the eyeshield prompting
Include:
If the comparison result is to calculate difference between the two to be greater than the first preset value and less than the second preset value,
Determine that the prompting grade is the first prompting grade;
If the comparison result is that the difference calculated between the two is greater than the second preset value and is less than third preset value,
Determine that the prompting grade is the second prompting grade;
If the comparison result is that the difference calculated between the two is greater than third preset value, it is determined that the prompting grade
Grade is reminded for third;
Wherein, first preset value is less than the third preset value less than the second preset value, second preset value.
Optionally, at least one display lamp includes at least two breathings for being set to the display screen side of the terminal
Lamp and at least one of the flash lamp at the back side for being set to the terminal.
Optionally, described remind the control to include: at least one display lamp according to preset prompting rule
Control be set to the terminal display screen side at least two breath lights and/or the flash lamp alternately by
It is flashed according to flicker frequency corresponding with the prompting grade;
Alternatively, control is set at least two breath lights of the display screen side of the terminal and/or the flash lamp is handed over
For the different color of sending, and flashed according to flicker frequency corresponding with the prompting grade;
Alternatively, control is set at least two breath lights and/or flash lamp hair of the display screen side of the terminal
Prompting color corresponding with the prompting grade out, and flashed according to preset flicker frequency;
Alternatively, control be set to the terminal display screen side at least two breath lights in the prompting grade pair
The breath light of quantity is answered to light.
Further, the embodiment of the invention also provides a kind of mobile terminal, which includes processor, memory
And communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing the one or more programs stored in memory, to realize the step of above-mentioned eyeshield based reminding method
Suddenly.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages
Media storage has one or more program, one or more program can be executed by one or more processor, to realize
The step of above-mentioned eyeshield based reminding method.
The beneficial effect of the embodiment of the present invention is:
The embodiment of the invention provides a kind of eyeshield based reminding method, mobile terminal and computer readable storage medium, for
In existing terminal eyeshield notification mechanisms, the interface of terminal can be blocked in prompting message, and causes to influence normally making for user
Defect, based in the display parameters of current environmental data and terminal design parameter configuration come determine terminal currently whether
Meet the condition for opening eyeshield mode, if satisfied, then reminding rule to show at least one in the terminal according to preset
Lamp is controlled, to realize the reminding effect that eyeshield display is opened, and is also avoided and can be blocked terminal screen operation interface,
The problem of influencing user's normal use, substantially increase user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the basic flow chart for the eyeshield based reminding method that first embodiment of the invention provides;
Fig. 4 is the refined flow chart for the eyeshield based reminding method that second embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that third embodiment of the invention provides;
Fig. 6 is the display interface schematic diagram before and after generation barrier bed provided in an embodiment of the present invention;
Fig. 7 is particularly shown schematic diagram for what eyeshield provided in an embodiment of the present invention was reminded.
Specific embodiment
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, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no 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, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer, it is however noted that, above-mentioned terminal should manage
Solution is designed with the terminal of double screen to be, and double screen can be realized based on current terminal enclosure and is bending or folding over, even
It can also be double-display screen flexible.
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, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
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, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic 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,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
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 wireless communication.Any communication can be used in above-mentioned wireless 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 provides wireless broadband internet access for user.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 omit within the scope of not changing the essence of the 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, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit
103 can also provide executed to mobile terminal 100 the relevant audio output of specific function (for example, call signal receive sound,
Message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 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 in image capture mode by image capture apparatus (such as camera) 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 be in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
It receives sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data
It is defeated that the format that can be sent to mobile communication base station via radio frequency unit 101 can be converted in the case where telephone calling model
Out.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and sended and received with eliminating (or inhibition)
The noise generated during audio 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, it can detect that size and the direction of gravity 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)
Deng;Fingerprint sensor, pressure sensor, iris sensor, molecule sensor, the gyroscope, air pressure that can also configure as mobile phone
The other sensors such as meter, 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
Including display panel 1061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used
Forms such as (Organic Light-Emitting Diode, OLED) are managed to 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 setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel
Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching
Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour
Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This
Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching
Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072
It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation
One of bar etc. is a variety of, specifically herein without limitation.
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 the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it 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 transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area 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, it 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
Managing 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.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land 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 preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
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
Subsystem) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is 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., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment:
It is existing by showing corresponding notice interface on a display screen to solve, to remind user to open eyeshield mode
Mode will affect the defect of use operation of the user to terminal, a kind of eyeshield based reminding method be present embodiments provided, such as Fig. 3 institute
Be shown as the basic flow chart of eyeshield based reminding method provided in this embodiment, the eyeshield based reminding method specifically includes the following steps:
S301 detects display parameters of the environmental data and terminal under current environment under current display state.
In the present embodiment, the environmental data includes the light luminance of environment, intensity, and environmental color (is that can manage
Solve to be to be divided into color in environment), in some special occasions, atmosphere construction lamp may be used, so that environment is rendered as
It is red, the colorful environment such as pink, green, or even afforesting more sufficient place, can also make environment that the atmosphere of green be presented
It encloses, when at this moment will make user's viewing terminal if the display color of terminal is too prominent, it may appear that uncomfortable sense
Feel, has a certain impact to eyes.Therefore, environmental colors refer to the presentation atmosphere color of environment entirety.
In practical applications, these parameters can be realized by the sensor in above-mentioned Fig. 1, such as photosensitive sensors,
Color sensor etc..
The display parameters include display brightness, display color, the percentage of each color, font, in resolution ratio extremely
Few one kind.
S302 extracts the data parameter configuration with the data corresponding with the display parameters in the environmental data
It is compared.
It is, in the step, during comparison, the data being specifically subject in environmental data, with display parameters
In corresponding partial parameters be compared.
For example, if when including light luminance in environmental data, by the display brightness in light luminance and display parameters into
Row compares.
In the present embodiment, described to extract the ring if the environmental data includes light luminance and/or environmental color
Data in the data of border are compared with the parameter configuration with the data corresponding in the display parameters includes:
Compare the light luminance value whether be greater than the terminal display brightness value, and calculate between the two
Difference;
And/or
Whether consistent with the percentage of each color of the terminal compare the environmental color.
S303, judges whether comparison result meets the unlocking condition of eyeshield mode.
In the present embodiment, the unlocking condition of the eyeshield mode includes following manner:
The value of the light luminance is greater than the value of the display brightness of the terminal, and difference between the two is greater than default
Value;
The percentage of the environmental color and each color of the terminal is inconsistent.
In practical applications, when the one of which met in aforesaid way in the comparison result in step S303 is judged as
Meet unlocking condition, and jumps to and execute step S304.
In the present embodiment, can sometimes exist pigment influence the circumstances of eyes of user in this case can be with
According to the use habit of user, it is adjusted unlocking condition, when comparison result meets both modes simultaneously, is just regarded as full
Sufficient unlocking condition.Certainly, in the present embodiment, it is not limited to above-mentioned two ways for unlocking condition, can also be it
His mode specifically carries out free setting according to the parameter compared.
S304, if satisfied, then carrying out prompting control at least one display lamp according to preset prompting rule.
In the present embodiment, described that at least one display lamp is carried out reminding control packet according to preset prompting rule
It includes:
It determines according to the result of the comparison and controls the prompting grade that the display lamp carries out the eyeshield prompting;
It is inquired from preset prompting grade and the mapping table for reminding rule according to the prompting grade corresponding
Remind rule;
Corresponding indicating mode is opened according to display lamp described in the prompting rule control.
In practical applications, the prompting grade includes at least two-stage, and different grades is corresponding from different parameters, specifically
, after the value that the value for judging the light luminance is greater than the display brightness of the terminal, it is also necessary to calculate between two values
Difference, and the difference be used for it is determined that reminded using that grade user open eyeshield mode.
If specific deterministic process includes: that the comparison result is that the difference calculated between the two is greater than the first preset value
And less than the second preset value, it is determined that the prompting grade is the first prompting grade;
If the comparison result is that the difference calculated between the two is greater than the second preset value and is less than third preset value,
Determine that the prompting grade is the second prompting grade;
If the comparison result is that the difference calculated between the two is greater than third preset value, it is determined that the prompting grade
Grade is reminded for third;
Wherein, first preset value is less than the third preset value less than the second preset value, second preset value.
And corresponding prompting rule is inquired from the regular mapping table of prompting based on above-mentioned grade judging result, root
It is shown according to reminding the corresponding display lamp of rule control to carry out prompting.
In the present embodiment, at least one display lamp includes the display screen side for specifically referring to be set to the terminal
At least two breath lights, and be set to the flash lamp at the back side of the terminal.
It is described aobvious at least one according to preset prompting rule when the prompting rule of control is control breath light
Showing that lamp remind controlling includes:
Control be set to the terminal display screen side at least two breath lights alternately according to it is described remind etc.
The corresponding flicker frequency of grade is flashed;
Alternatively, at least two breath lights that control is set to the display screen side of the terminal alternately issue different face
Color, and flashed according to flicker frequency corresponding with the prompting grade;
Alternatively, at least two breath lights that control is set to the display screen side of the terminal issue and the prompting grade
Corresponding prompting color, and flashed according to preset flicker frequency;
Alternatively, control be set to the terminal display screen side at least two breath lights in the prompting grade pair
The breath light of quantity is answered to light.
If prompting rule is control flash lamp, according to preset promptings rule at least one display lamp into
Row is reminded to control
The flash lamp is controlled alternately to be flashed according to flicker frequency corresponding with the prompting grade;
Alternatively, controlling the flash lamp alternately issues different colors, and according to flashing corresponding with the prompting grade
Frequency is flashed;
Alternatively, controlling the flash lamp issues prompting color corresponding with the prompting grade, and according to preset flashing
Frequency is flashed.
If prompting rule is controls breath light and flash lamp simultaneously, according to preset prompting it is regular to it is described at least
A kind of display lamp remind the control to include:
Control be set to the terminal display screen side at least two breath lights and the flash lamp alternately according to
Flicker frequency corresponding with the prompting grade is flashed;
Alternatively, control is set at least two breath lights of the display screen side of the terminal and the flash lamp is alternately sent out
Different color out, and flashed according to flicker frequency corresponding with the prompting grade;
Alternatively, control be set to the terminal display screen side at least two breath lights and the flash lamp issue with
The corresponding prompting color of the prompting grade, and flashed according to preset flicker frequency.
It in practical applications, for controlling breath light and flash lamp simultaneously the case where, can be according to above-mentioned rule control
Breath light and flash lamp work at the same time, and are also possible to alternately according to Rules, or even can also be while realizing work, but
It is to work while this is worked at the same time also according to different prompting rules.
It in the present embodiment, further include that corresponding eyeshield mode, the shield are started according to prompting display after step S304
Eye mode can be one layer of barrier bed displayed on the terminals, be also possible to adjust the design parameter of the display screen of terminal one by one
Whole, when realizing the display of eyeshield mode in a manner of barrier bed in this way, just mentioning to generate barrier bed in the following manner:
Obtain the display brightness value of display screen and the color saturation of display interface target;
It is respectively in the display background that the main display is currently shown and described aobvious according to the display brightness value
A barrier bed is generated on the entire display interface of display screen;
According to the color saturation, each display color for the target image that the main display is currently shown is controlled
Color percentage.
Specific Fig. 6 (a) is the main view before terminal does not adjust as shown in Fig. 6 (a) and 6(b), and Fig. 6 (b) is adjustment
Main view afterwards, in 6(a) although in interface do not adjust, on breath light remind display in show be three-level tune
It is whole, then it needs to block deep color dot to the interface of display screen.
The embodiment of first embodiment through the embodiment of the present invention, the display parameters based on current environmental data and terminal
In design parameter configuration come determine terminal currently whether meet open eyeshield mode condition, if satisfied, then according to preset
Rule is reminded to control at least one display lamp in the terminal, thus realize the reminding effect that eyeshield display is opened,
And the problem of terminal screen operation interface can be blocked by also avoiding, and influence user's normal use substantially increases user's use
Experience.
Second embodiment:
In order to better understand the present invention, the present embodiment is illustrated eyeshield based reminding method with a specific example,
Fig. 4 is the refined flow chart for the eyeshield based reminding method that second embodiment of the invention provides, and realizes prompting below to control breath light
Mode for be illustrated, which includes:
The display brightness on light intensity and display screen in S501, acquisition environment.
S502, judge whether meet the condition that triggering eyeshield is reminded between light intensity and display brightness, if satisfied, then holding
Row step S503, if not satisfied, then return step S501.
In this step, can specifically be judged by the difference of both judgements and the size cases of preset value, it can also be with
It is to be judged according to the use habit of user, the judgment mode for use habit is specifically:
User uses level of comfort according to oneself eye, be arranged at the terminal first it is corresponding using brightness range, this
When first judge that whether in the range light luminance, if not existing, thens follow the steps S502, if keeping the current of display screen
Display brightness.
S503, the color element accounting for obtaining environment.
S504, compare color element accounting and whether the color percentage on display screen is consistent.
If S505, inconsistent, it is determined that remind grade.
S506 determines corresponding control mode according to prompting grade.
S507 realizes corresponding display according to the breath light in control mode controlling terminal.
In the present embodiment, however, it is determined that prompting grade when being three-level, and the corresponding control mode of three-level is, lights three
Breath light, and three breath lights are shown according to the gradient of brightness from small to large simultaneously.It is specific as shown in Figure 7.
The present invention provides a kind of eyeshield based reminding method, specific in the display parameters based on current environmental data and terminal
Parameter configuration determines whether terminal currently meets the condition of eyeshield mode of opening, if satisfied, then regular according to preset promptings
At least one display lamp in the terminal is controlled, to realize the reminding effect that eyeshield display is opened, and is also kept away
Meeting is exempted from.
3rd embodiment:
The present embodiment additionally provides a kind of mobile terminal, shown in Figure 5, which includes processor 41, storage
Device 42 and communication bus 43, in which:
Communication bus 43 is for realizing the connection communication between processor 41 and memory 42;
Processor 41 is for executing the one or more programs stored in memory 42, to realize that above-mentioned first embodiment arrives
Each step of eyeshield based reminding method in second embodiment.
The present embodiment additionally provides a kind of computer readable storage medium, which has one
Or multiple programs, the one or more program can be executed by one or more processor, to realize that above-mentioned first embodiment arrives
Each step of eyeshield suitcase method in second embodiment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) method that executes each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to 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 eyeshield based reminding method of terminal, which is characterized in that be provided at least one display lamp, the side in the terminal
Method includes:
Detect display parameters of the environmental data and terminal under current environment under current display state;
The data extracted in the environmental data are compared with the parameter configuration with the data corresponding in the display parameters;
Judge whether comparison result meets the unlocking condition of eyeshield mode;
If satisfied, then carrying out prompting control at least one display lamp according to preset prompting rule.
2. eyeshield based reminding method as described in claim 1, which is characterized in that the display parameters include display brightness, display
At least one of color, the percentage of each color, font, resolution ratio.
3. eyeshield based reminding method as claimed in claim 2, which is characterized in that if the environmental data include light luminance and/
Or when environmental color, the data extracted in the environmental data parameter with the data corresponding with the display parameters
Configuration, which is compared, includes:
Compare the light luminance value whether be greater than the terminal display brightness value, and calculate difference between the two
Value;
And/or
Whether consistent with the percentage of each color of the terminal compare the environmental color.
4. eyeshield based reminding method as claimed in claim 3, which is characterized in that the unlocking condition of the eyeshield mode includes following
At least one of:
The value of the light luminance is greater than the value of the display brightness of the terminal, and difference between the two is greater than preset value;
The percentage of the environmental color and each color of the terminal is inconsistent.
5. eyeshield based reminding method according to any one of claims 1-4, which is characterized in that described according to preset prompting rule
At least one display lamp remind controlling and includes:
It determines according to the result of the comparison and controls the prompting grade that the display lamp carries out the eyeshield prompting, the prompting grade packet
Include at least two-stage;
Corresponding prompting is inquired from preset prompting grade and the mapping table for reminding rule according to the prompting grade
Rule;
Corresponding indicating mode is opened according to display lamp described in the prompting rule control.
6. eyeshield based reminding method as claimed in claim 5, which is characterized in that described to be determined described in control according to the result of the comparison
The prompting grade that display lamp carries out the eyeshield prompting includes:
If the comparison result is that the difference calculated between the two is greater than the first preset value and less than the second preset value, it is determined that
The prompting grade is the first prompting grade;
If the comparison result is that the difference calculated between the two is greater than the second preset value and is less than third preset value, it is determined that
The prompting grade is the second prompting grade;
If the comparison result is to calculate difference between the two to be greater than third preset value, it is determined that the promptings grade is the
One reminds grade;
Wherein, first preset value is less than the third preset value less than the second preset value, second preset value.
7. eyeshield based reminding method as claimed in claim 8, which is characterized in that at least one display lamp includes being set to institute
It states at least two breath lights of the display screen side of terminal and is set at least one of the flash lamp at the back side of the terminal.
8. eyeshield based reminding method as claimed in claim 7, which is characterized in that it is described according to preset prompting rule to it is described extremely
A kind of few display lamp, which remind controlling, includes:
Control be set to the terminal display screen side at least two breath lights and/or the flash lamp alternately according to
The corresponding flicker frequency of the prompting grade is flashed;
Alternatively, control is set at least two breath lights of the display screen side of the terminal and/or the flash lamp is alternately sent out
Different color out, and flashed according to flicker frequency corresponding with the prompting grade;
Alternatively, control be set to the terminal display screen side at least two breath lights and/or the flash lamp issue with
The corresponding prompting color of the prompting grade, and flashed according to preset flicker frequency;
Alternatively, number corresponding with the prompting grade at least two breath lights of the display screen side that control is set to the terminal
The breath light of amount is lighted.
9. a kind of mobile terminal, which is characterized in that including processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the one or more programs stored in memory, to realize as any in claim 1-8
The step of eyeshield based reminding method described in item.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize as in claim 1-8
The step of described in any item eyeshield based reminding methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811458410.5A CN109819097A (en) | 2018-11-30 | 2018-11-30 | A kind of eyeshield based reminding method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811458410.5A CN109819097A (en) | 2018-11-30 | 2018-11-30 | A kind of eyeshield based reminding method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109819097A true CN109819097A (en) | 2019-05-28 |
Family
ID=66601913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811458410.5A Pending CN109819097A (en) | 2018-11-30 | 2018-11-30 | A kind of eyeshield based reminding method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109819097A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113190197A (en) * | 2021-04-28 | 2021-07-30 | 歌尔股份有限公司 | Head-mounted device, control method thereof, and computer-readable storage medium |
CN113691870A (en) * | 2021-08-25 | 2021-11-23 | 创维集团智能科技有限公司 | Reminding method, reminding device, reminding equipment and computer-readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203675238U (en) * | 2013-12-18 | 2014-06-25 | 冠捷显示科技(厦门)有限公司 | Television capable of automatically adjusting color temperature |
CN105845101A (en) * | 2016-03-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and apparatus for adjusting display brightness of device |
CN106101445A (en) * | 2016-08-01 | 2016-11-09 | 广东欧珀移动通信有限公司 | Control method and mobile terminal |
US20160372053A1 (en) * | 2015-06-18 | 2016-12-22 | Samsung Electronics Co., Ltd. | User terminal device and method for adjusting luminance thereof |
-
2018
- 2018-11-30 CN CN201811458410.5A patent/CN109819097A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203675238U (en) * | 2013-12-18 | 2014-06-25 | 冠捷显示科技(厦门)有限公司 | Television capable of automatically adjusting color temperature |
US20160372053A1 (en) * | 2015-06-18 | 2016-12-22 | Samsung Electronics Co., Ltd. | User terminal device and method for adjusting luminance thereof |
CN105845101A (en) * | 2016-03-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Method and apparatus for adjusting display brightness of device |
CN106101445A (en) * | 2016-08-01 | 2016-11-09 | 广东欧珀移动通信有限公司 | Control method and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113190197A (en) * | 2021-04-28 | 2021-07-30 | 歌尔股份有限公司 | Head-mounted device, control method thereof, and computer-readable storage medium |
CN113691870A (en) * | 2021-08-25 | 2021-11-23 | 创维集团智能科技有限公司 | Reminding method, reminding device, reminding equipment and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108989563A (en) | Display methods, mobile terminal and the computer readable storage medium of double-sided screen | |
CN110175062A (en) | A kind of screen-refresh frame per second method, mobile terminal and the storage medium of mobile terminal | |
CN109634542A (en) | A kind of switching display control method, terminal and computer readable storage medium | |
CN109358831A (en) | A kind of display control method, mobile terminal and computer readable storage medium | |
CN109656371A (en) | Mobile terminal eye care method, device, mobile terminal and storage medium | |
CN109348067A (en) | A kind of method, mobile terminal and computer readable storage medium adjusting screen display brightness | |
CN108881635A (en) | Screen luminance adjustment method, mobile terminal and computer readable storage medium | |
CN108965602A (en) | Application program display methods, mobile terminal and computer readable storage medium | |
CN109543474A (en) | A kind of method for controlling mobile terminal and mobile terminal | |
CN109375846A (en) | Spirogram target display methods and device, mobile terminal and readable storage medium storing program for executing | |
CN109587329A (en) | Screen lighting method, mobile terminal and computer readable storage medium | |
CN109151174A (en) | Message display method, wearable device and computer readable storage medium | |
CN108829302A (en) | A kind of interaction regulation method, equipment and computer readable storage medium | |
CN110347306A (en) | A kind of multi-screen display method, terminal and computer readable storage medium | |
CN109669512A (en) | A kind of display control method, Folding screen terminal and computer readable storage medium | |
CN110086939A (en) | Terminal message processing method, device, mobile terminal and readable storage medium storing program for executing | |
CN109587341A (en) | A kind of voice communication control method, terminal and computer readable storage medium | |
CN109817130A (en) | A kind of colour temperature regulation method, equipment and computer readable storage medium | |
CN109379777A (en) | A kind of network search method, terminal and computer readable storage medium | |
CN109739346A (en) | A kind of key simulating method, double screen terminal and computer readable storage medium | |
CN109840127A (en) | Terminal and its display control method, computer readable storage medium | |
CN109389394A (en) | A kind of multi-screen payment control method, equipment and computer readable storage medium | |
CN109819097A (en) | A kind of eyeshield based reminding method, mobile terminal and computer readable storage medium | |
CN108958932A (en) | A kind of control method of background application, terminal and computer readable storage medium | |
CN110198377A (en) | A kind of double screen terminal control method, double screen 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |