CN110032351A - Screen blue light adjusting method and device, electronic equipment and storage medium - Google Patents
Screen blue light adjusting method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110032351A CN110032351A CN201910321540.2A CN201910321540A CN110032351A CN 110032351 A CN110032351 A CN 110032351A CN 201910321540 A CN201910321540 A CN 201910321540A CN 110032351 A CN110032351 A CN 110032351A
- Authority
- CN
- China
- Prior art keywords
- time
- blue light
- current
- day
- sunrise
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000001914 filtration Methods 0.000 claims abstract description 13
- 230000007613 environmental effect Effects 0.000 claims description 39
- 230000015654 memory Effects 0.000 claims description 23
- 230000001105 regulatory effect Effects 0.000 claims description 9
- 230000005611 electricity Effects 0.000 claims description 5
- 230000001276 controlling effect Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 230000006378 damage Effects 0.000 abstract description 14
- 230000000007 visual effect Effects 0.000 abstract description 5
- 238000012545 processing Methods 0.000 description 7
- 241001062009 Indigofera Species 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000007812 deficiency Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004020 luminiscence type Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 208000020564 Eye injury Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 239000012491 analyte Substances 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000012528 membrane Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000009885 systemic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the application discloses a method and a device for adjusting blue light of a screen, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the sunrise time of the day, the sunset time of the day and the sunrise time of the next day, wherein a first time interval is formed between the sunrise time of the day and the sunset time of the day, and a second time interval is formed between the sunset time of the day and the sunrise time of the next day; if the current time belongs to a first time period, detecting the brightness of the current environment, determining that the brightness of the current environment is smaller than a set brightness threshold, and controlling the current electronic equipment to enter a first preset blue light filtering mode; and if the current moment belongs to a second time interval, controlling the current electronic equipment to enter a second preset blue light filtering mode. The blue light of the screen is filtered in a targeted manner, so that the harm of the blue light is reduced to the maximum extent, and clear visual enjoyment is provided for users.
Description
Technical field
The invention relates to field of electronic devices more particularly to a kind of screen blue light adjusting method, device, electronics to set
Standby and storage medium.
Background technique
With advances in technology and the improvement of people's living standards, electronic equipment is more more and more universal, and especially children use
The case where electronic equipment, is also more and more common.But LED (the Light Emitting that existing electronic equipment screen issues
Diode, light emitting diode) the high energy blue light in light is very big to the eye injury of children.
Currently, to solve the above-mentioned problems, such as the electronic equipments such as study plate mainly use in terms of filter blue light
A kind of blue light membrane material of high analyte, can absorb blue light energy and be converted into other energy, thus reach filter effect, but this
It cannot fundamentally solve the problems, such as the blue light injury of popular electronic devices.
In addition, there are also part electronic equipments by adjusting RGB in LED screen (Red-Green-Blue, RGB) three colors
In blue light components, to reach filter effect.It is different but since sunlight and LED light are not the same luminescence systems
The harm of light environment, blue light is different, in this way, the method effect of above-mentioned adjusting blue light is poor, and does not have specific aim.
Summary of the invention
This application provides a kind of screen blue light adjusting method, device, electronic equipment and storage mediums, to solve existing skill
The problem of screen blue light in art cannot targetedly and effectively be filtered bring harm users eyes.
The application adopts the following technical scheme that
In a first aspect, the embodiment of the present application provides a kind of screen blue light adjusting method, this method comprises:
Obtain the sunrise time on the same day, the sunset time on the same day and second day sunrise time, wherein the day on the same day
The first period, the sunset time on the same day and second day day are constituted between time and the sunset time on the same day out
Constituted for the second period between the time out;
If current time belonged to for the first period, current environmental light brightness is detected, determines that the current environmental light brightness is small
In setting brightness threshold value, then current electronic device is controlled into the first default blue light filtered model;
If current time belonged to for the second period, the current electronic device is controlled into the second default blue light filter module
Formula.
Second aspect, the embodiment of the present application provide a kind of screen blue light regulating device, which includes:
Time-obtaining module, sunset time and second day sunrise time for sunrise time, the same day on the day of obtaining,
Wherein, constituted for the first period between the sunrise time on the same day and the sunset time on the same day, the same day is at sunset
Between constituted for the second period between second day sunrise time;
First control module detects current environmental light brightness for when belonging to for the first period at current time, determine described in
Current environmental light brightness is less than setting brightness threshold value, and control current electronic device enters the first default blue light filtered model;
Second control module enters for when belonging to for the second period at current time, controlling the current electronic device
Two default blue light filtered models.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including memory and one or more processing
Device;
The memory, for storing one or more programs;
Light sensor, for detecting current environmental light brightness;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes screen blue light adjusting method as described in relation to the first aspect.
Fourth aspect, the embodiment of the present application provide a kind of storage medium comprising computer executable instructions, the meter
Calculation machine executable instruction by computer processor when being executed for executing screen blue light adjusting method as described in relation to the first aspect.
Have the advantages that in the technical solution that the application uses: sunrise time, the same day on the day of obtaining are at sunset
Between and second day sunrise time, wherein constitute first between the sunrise time on the same day and the sunset time on the same day
Period constituted for the second period between the sunset time on the same day and second day sunrise time;Come with this targeted
Determination user's applying electronic equipment at the time of should select corresponding blue light filtered model;If current time belongs to first
Section, then detect current environmental light brightness, determines that the current environmental light brightness is less than setting brightness threshold value, then the current electricity of control
Sub- equipment enters the first default blue light filtered model, in still environmental light brightness deficiency on daytime, also to current electronic equipment
Screen blue light be adjusted;If current time belonged to for the second period, it is default into second to control the current electronic device
Blue light filtered model is directly adjusted the screen blue light of current electronic equipment at night.Targetedly to screen indigo plant
Light is filtered, and reduces blue light harm to greatest extent, provides clearly visual enjoyment for user.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of screen blue light adjusting method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another screen blue light adjusting method provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of screen blue light regulating device provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
It is specifically real to the application with reference to the accompanying drawing in order to keep the purposes, technical schemes and advantages of the application clearer
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the application,
Rather than the restriction to the application.It also should be noted that illustrating only for ease of description, in attached drawing related to the application
Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail
It applies example and is described as the processing or method described as flow chart.Although operations (or step) are described as sequence by flow chart
Processing, but many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations
It can be rearranged.The processing can be terminated when its operations are completed, be not included in attached drawing it is also possible to have
Additional step.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
The application scenarios of the embodiment of the present application are illustrated first, in electronic equipment used at present, the indigo plant of screen hair
Light is very big to eyes of user harm, and especially children are in the puberty, bigger to the harm of children's eyes.But because sunlight with
LED light is not the same luminescence system, and under different light environments, the harm of blue light is simultaneously different, such as in sunlight on daytime
In the case where abundance, due to the supplement of sunlight, the blue light harm of LED is not obvious, but has arrived half-light environment (sunlight is inadequate
In the case where abundance) or night (no sunlight), the high energy blue light harm of LED is just especially prominent, using the technology of the application
Scheme can improve such situation.
Fig. 1 gives a kind of flow chart of screen blue light adjusting method provided by the embodiments of the present application, the present embodiment provides
Screen blue light adjusting method can be executed by screen blue light regulating device, which can pass through hardware
And/or the mode of software is realized.With reference to Fig. 1, this method be can specifically include:
S101, the sunrise time for obtaining the same day, the sunset time on the same day and second day sunrise time, wherein described to work as
The first period, the sunset time on the same day and described second are constituted between it sunrise time and the sunset time on the same day
Constituted for the second period between it sunrise time.
Specifically, the sunset time and second day sunrise time, acquisition modes of sunrise time, the same day on the day of obtaining can
It, can also be with reference to day on the same day over the years being obtained from the application software of profession or official website by internet
Time, sunset time and second day sunrise time out, certainly, this may be larger with the difference of real time, is only used to
With reference to.Date information can also be carried in the sunrise time got in actual application and sunset time, be for distinguishing
Sunrise time when or sunset time.In a specific example, March in 2019, the sunrise time of Guangzhou on the 5th was
06:45:16, sunset time 18:31:45, the sunrise time of Guangzhou on the 6th March in 2019 is 06:44:22.
Illustratively, first is determined according to the sunrise time on the same day, the sunset time on the same day and second day sunrise time
Period and the second period, in above-mentioned example on March in 2019 5 Guangzhou sunrise time and sunset time, and, 2019
On March 6, Guangzhous sunrise time for, then be the between March 5 06:45:16 to 18:31:45 on March 5 in the same day
One period was the second period between March 5 18:31:45 to 06:44:22 on March 6 in second day.
It should be noted that within a consecutive days, that is, sunrise time and sunset time are between 0 point to 24 points
It determines, need to only obtain primary.In addition, second day sunrise time had also determined that in a detection cycle, need to only obtain
It takes primary.That is, getting the sunrise time on the above-mentioned same day, the sunset time on the same day in advance in a detection cycle
With second day sunrise time.Wherein, a detection cycle refers to, the time that the first time period and the second time period has determined respectively
Period.
If S102, current time belonged to for the first period, current environmental light brightness is detected, determines that the current environment is bright
Degree is less than setting brightness threshold value, then controls current electronic device into the first default blue light filtered model.
Optionally, the current time is the system time of the electronic equipment.It is set specifically, system obtains electronics automatically
The standby time, that is, current time, wherein electronic equipment can be child intelligence wrist-watch or study plate etc..Current time with
For 17:45:55, judges that current time belongs to above-mentioned first period, then can determine whether that current time belongs to after sunrise and in sunset
Before, that is, current time is daytime, have from light.At this point, detection current environmental light brightness, is determining that current environmental light brightness is small
When setting brightness threshold value, show that current natural light is insufficient, the situation more dark in one, such as the room that do not turn on light
Between, then at this point, control current electronic device enters the first default blue light filtered model.
Illustratively, brightness threshold value is set to be set according to the actual conditions and self-condition of electronic device user
Fixed, this sets brightness threshold value as the minimum brightness values in the case where satisfaction not harm users eyes.In actual application
The case where Cheng Zhong, user's difference, the possible difference of the setting brightness threshold value, such as user are children or user is old man, should
Setting brightness threshold value may be different.In addition, the setting brightness threshold value can be adjusted by user according to actual use situation
Section.In addition, in the first default blue light filtered model filtering relevant to current environmental light brightness can be carried out, for example, working as front ring
Border brightness is A, by blue light filter 23 0%, current environmental light brightness B, the first default indigo plant in the first default blue light filtered model
Blue light is filtered 60% in light filtered model, is used only to here for example, actual filtering situation can be according to working as front ring
The corresponding relationship of border brightness and blue light degree of filtration determines.
If S103, current time belonged to for the second period, the current electronic device is controlled into the second default blue light mistake
Filter mode.
Current time by taking 20:45:52 as an example, judges that current time belongs to above-mentioned second period, then can determine whether current time
Belong to post sunset and before sunrise, that is, current time is that at night, available light is insufficient, directly controls electronic equipment and enter the
Two default blue light filtered models.Specifically, can be adjusted according to the use habit of user blue in the second default blue light filtered model
The degree of filtration of light, also available current environmental light brightness are carried out pair with this for example, the bright dark situation etc. of indoor light
The filtering of blue light.Can also according to system carry for the filter criteria of night indoor environment or the mistake of night outdoor environment
Filter standard carries out blue light filtering, here without limiting, is also no longer repeated.
Have the advantages that in the technical solution that the application uses: sunrise time, the same day on the day of obtaining are at sunset
Between and second day sunrise time, wherein constitute first between the sunrise time on the same day and the sunset time on the same day
Period constituted for the second period between the sunset time on the same day and second day sunrise time;Come with this targeted
Determination user's applying electronic equipment at the time of should select corresponding blue light filtered model;If current time belongs to first
Section, then detect current environmental light brightness, determines that the current environmental light brightness is less than setting brightness threshold value, then the current electricity of control
Sub- equipment enters the first default blue light filtered model, in still environmental light brightness deficiency on daytime, also to current electronic equipment
Screen blue light be adjusted;If current time belonged to for the second period, it is default into second to control the current electronic device
Blue light filtered model is directly adjusted the screen blue light of current electronic equipment at night.Targetedly to screen indigo plant
Light is filtered, and reduces blue light harm to greatest extent, provides clearly visual enjoyment for user.
On the basis of the above embodiments, Fig. 2 gives another screen blue light adjusting side provided by the embodiments of the present application
The flow chart of method.The screen blue light adjusting method is the materialization to above-mentioned screen blue light adjusting method.With reference to Fig. 2, the screen
Blue light adjusting method includes:
S201, the control electronic equipment are in intelligent dimming mode.
Under normal conditions, it in order to save the electric energy of electronic equipment, in normal mode of operation or is in standby,
Intelligent dimming mode is in close state.It, can be with hand if user begins to use electronic equipment in specific application scenarios
Dynamic to be adjusted, controlling electronic devices is in intelligent dimming mode, alternatively, electronic equipment is adjusted to intelligent dimming mode.?
In intelligent dimming mode, electronic equipment can carry out intelligent adjusting to screen blue light, that is, software filtered model is opened, so as to
Carry out strong filtering.
S202, the sunrise time for obtaining the same day, the sunset time on the same day and second day sunrise time, wherein described to work as
The first period, the sunset time on the same day and described second are constituted between it sunrise time and the sunset time on the same day
Constituted for the second period between it sunrise time.
If S203, current time belonged to for the first period, current environmental light brightness is detected, determines that the current environment is bright
Degree is less than setting brightness threshold value, then controls current electronic device into the first default blue light filtered model.
S204, blue light filtered index is adjusted according to the current environmental light brightness.
When belonging to for the first period at current time and when current environmental light brightness is less than setting brightness threshold value, electronic equipment
In entering the first default blue light filtered model, blue light filtered index is adjusted according to current environmental light brightness.Illustratively, blue light
Filtered index can refer to the percentage of the blue light filtered out, that is, blue light filtered index is higher, show that the blue light filtered out is got over
It is more, conversely, blue light filtered index is lower, show that the blue light filtered out is fewer.In a specific example, blue light filtered index
It can be 0% to 68%.
If S205, current time belonged to for the second period, the current electronic device is controlled into the second default blue light mistake
Filter mode.
S206, blue light filtered index is adjusted to default index threshold.
Belonged to for the second period at current time, that is, when current time does not have natural light, it can be by controlling Current electronic
Equipment enters in the second default blue light filtered model, and blue light filtered index is adjusted to default index threshold.Wherein, index is preset
Threshold value can be electronic equipment systemic presupposition when leaving the factory, can also be modified manually by user, and the foundation of modification can
To be the habit of user's applying electronic equipment, for example, user's habit sees brighter screen or darker screen;The foundation of modification
It can also be user type, user is children or old man etc..
In the embodiment of the present application, so that the electric energy of electronic equipment is saved, when using electronic equipment, just it is adjusted to intelligence
Can light-modulating mode, may be at standby mode or normal mode of operation in the case of other;In addition, current time is in daytime
When, blue light filtered index is adjusted according to current environmental light brightness and is adjusted to blue light filtered index when current time is in evening
Default index threshold.It realizes according to different usage scenarios, the screen blue light of electronic equipment is targetedly adjusted.
In addition, on the one hand the technical solution of the application also has the advantages that, in the case where available light abundance
It can guarantee suitable degree of filtration and clearly visual enjoyment;On the other hand, in the case where available light is not sufficient enough
It can guarantee strong degree of filtration, reduce the high energy blue light harm of LED as far as possible.
In addition, once intelligent dimming mode is in the open state, then above-mentioned dimming process real-time perfoming, that is, with certain
Period or frequency detecting current time are in the first period or the second period, targetedly carry out to screen blue light
It adjusts.Eyes of user is protected, user experience is improved, keeps electronic equipment more intelligent, the product for improving electronic equipment is competing
Strive power.
On the basis of the above embodiments, Fig. 3 is a kind of knot of screen blue light regulating device provided by the embodiments of the present application
Structure schematic diagram.With reference to Fig. 3, screen blue light regulating device provided in this embodiment is specifically included: time-obtaining module 301, first
Control module 302 and the second control module 303.
Time-obtaining module 301, for obtain the same day sunrise time, the same day sunset time and second day at sunrise
Between, wherein the first period, the sunset on the same day are constituted between the sunrise time on the same day and the sunset time on the same day
Constituted for the second period between time and second day sunrise time;First control module 302, for belonging at current time
When the first period, current environmental light brightness is detected, determines that the current environmental light brightness is less than setting brightness threshold value, control is worked as
Preceding electronic equipment enters the first default blue light filtered model;Second control module 303, for belonging to for the second period at current time
When, the current electronic device is controlled into the second default blue light filtered model.
Have the advantages that in the technical solution that the application uses: sunrise time, the same day on the day of obtaining are at sunset
Between and second day sunrise time, wherein constitute first between the sunrise time on the same day and the sunset time on the same day
Period constituted for the second period between the sunset time on the same day and second day sunrise time;Come with this targeted
Determination user's applying electronic equipment at the time of should select corresponding blue light filtered model;If current time belongs to first
Section, then detect current environmental light brightness, determines that the current environmental light brightness is less than setting brightness threshold value, then the current electricity of control
Sub- equipment enters the first default blue light filtered model, in still environmental light brightness deficiency on daytime, also to current electronic equipment
Screen blue light be adjusted;If current time belonged to for the second period, it is default into second to control the current electronic device
Blue light filtered model is directly adjusted the screen blue light of current electronic equipment at night.Targetedly to screen indigo plant
Light is filtered, and reduces blue light harm to greatest extent, provides clearly visual enjoyment for user.
Further, further include mode conversion module, on the day of acquisition sunrise time, on the day of sunset time and
Before second day sunrise time, controls the electronic equipment and be in intelligent dimming mode.
It further, further include the first adjustment module, for entering the first default blue light mistake in control current electronic device
After filter mode, blue light filtered index is adjusted according to the current environmental light brightness.
It further, further include the second adjustment module, control current electronic device enters the second default blue light filtered model
Afterwards, further includes:
Blue light filtered index is adjusted to default index threshold.
Further, the current time is the system time of the electronic equipment.
It is blue that screen blue light regulating device provided by the embodiments of the present application can be used for executing screen provided by the above embodiment
Light regulation method has corresponding function and beneficial effect.
The embodiment of the present application provides a kind of electronic equipment, and can integrate in the electronic equipment provided by the embodiments of the present application
Screen blue light regulating device.Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.With reference to Fig. 4, the electricity
Sub- equipment includes: processor 40, memory 41 and light sensor 42.The quantity of processor 40 can be one in the electronic equipment
It is a or multiple, in Fig. 4 by taking a processor 40 as an example.The quantity of memory 41 can be one or more in the electronic equipment
It is a, in Fig. 4 by taking a memory 41 as an example.The processor 40 and memory 41 of the electronic equipment can by bus or other
Mode connects, in Fig. 4 for being connected by bus.
Memory 41 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, as described in the application any embodiment the corresponding program instruction/module of screen blue light adjusting method (for example,
Time-obtaining module 301, the first control module 302 and the second control module 303).Memory 41 can mainly include storage program
Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function;Storage
Data field, which can be stored, uses created data etc. according to electronic equipment.In addition, memory 41 may include that high speed is deposited at random
Access to memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other are non-
Volatile solid-state part.In some instances, memory 41 can further comprise remotely located relative to processor 40
Memory, these remote memories can pass through network connection to electronic equipment.Light sensor 42, for detecting current ring
Border brightness, the model and structure of light sensor are without limiting, all light levels for being capable of measuring current environmental light brightness
The technical solution of the application can be achieved in device.The example of above-mentioned network includes but is not limited to internet, intranet, local
Net, mobile radio communication and combinations thereof.
Software program, instruction and the module that processor 40 is stored in memory 41 by operation, thereby executing electronics
The various function application and data processing of equipment realize above-mentioned screen blue light adjusting method, the screen blue light adjusting side
Method includes: to obtain the sunrise time on the same day, the sunset time on the same day and second day sunrise time, wherein the day on the same day
The first period, the sunset time on the same day and second day day are constituted between time and the sunset time on the same day out
Constituted for the second period between the time out;If current time belonged to for the first period, current environmental light brightness is detected, is worked as described in determination
Preceding environmental light brightness is less than setting brightness threshold value, then controls current electronic device into the first default blue light filtered model;If
Current time belonged to for the second period, then controlled the current electronic device into the second default blue light filtered model.
The electronic equipment of above-mentioned offer can be used for executing screen blue light adjusting method provided by the above embodiment, have corresponding
Function and beneficial effect.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
Instruction is used to execute a kind of screen blue light adjusting method when being executed by computer processor, the screen blue light adjusting method packet
It includes: obtaining the sunrise time on the same day, the sunset time on the same day and second day sunrise time, wherein the same day is at sunrise
Between constituted for the first period between the sunset time on the same day, the sunset time on the same day and described second day are at sunrise
Between between constituted for the second period;If current time belonged to for the first period, current environmental light brightness is detected, determination is described to work as front ring
Border brightness is less than setting brightness threshold value, then controls current electronic device into the first default blue light filtered model;If current
Moment belonged to for the second period, then controlled the current electronic device into the second default blue light filtered model.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location (such as by network connection different computer systems in) two or
More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The screen blue light adjusting method that executable instruction is not limited to the described above, can also be performed provided by the application any embodiment
Relevant operation in screen blue light adjusting method.
It is any that the application can be performed in screen blue light regulating device, storage medium and the electronic equipment provided in above-described embodiment
Screen blue light adjusting method provided by embodiment, the not technical detail of detailed description in the above-described embodiments, reference can be made to this Shen
It please screen blue light adjusting method provided by any embodiment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. a kind of screen blue light adjusting method characterized by comprising
Obtain the sunrise time on the same day, the sunset time on the same day and second day sunrise time, wherein the same day is at sunrise
Between constituted for the first period between the sunset time on the same day, the sunset time on the same day and described second day are at sunrise
Between between constituted for the second period;
If current time belonged to for the first period, current environmental light brightness is detected, determines that the current environmental light brightness is less than and sets
Determine brightness threshold value, then controls current electronic device into the first default blue light filtered model;
If current time belonged to for the second period, the current electronic device is controlled into the second default blue light filtered model.
2. the method according to claim 1, wherein on the day of acquisition sunrise time, on the day of sunset time
Before second day sunrise time, further includes:
It controls the electronic equipment and is in intelligent dimming mode.
3. the method according to claim 1, wherein control current electronic device enters the first default blue light filtering
After mode, further includes:
Blue light filtered index is adjusted according to the current environmental light brightness.
4. the method according to claim 1, wherein control current electronic device enters the second default blue light filtering
After mode, further includes:
Blue light filtered index is adjusted to default index threshold.
5. method according to claim 1-4, which is characterized in that the current time is the electronic equipment
System time.
6. a kind of screen blue light regulating device characterized by comprising
Time-obtaining module, sunset time and second day sunrise time for sunrise time, the same day on the day of obtaining,
In, the first period, the sunset time on the same day are constituted between the sunrise time on the same day and the sunset time on the same day
Constituted for the second period between second day sunrise time;
First control module determines described current for detecting current environmental light brightness when belonging to for the first period at current time
Environmental light brightness is less than setting brightness threshold value, and control current electronic device enters the first default blue light filtered model;
Second control module, it is pre- into second for when belonging to for the second period at current time, controlling the current electronic device
If blue light filtered model.
7. device according to claim 6, which is characterized in that further include mode conversion module, on the day of acquisition
Sunrise time, the sunset time on the same day and before second day sunrise time, control the electronic equipment and are in intelligent dimming mould
Formula.
8. device according to claim 6, which is characterized in that further include the first adjustment module, in the current electricity of control
After sub- equipment enters the first default blue light filtered model, blue light filtered index is adjusted according to the current environmental light brightness.
9. a kind of electronic equipment characterized by comprising
Memory and one or more processors;
The memory, for storing one or more programs;
Light sensor, for detecting current environmental light brightness;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Existing screen blue light adjusting method a method as claimed in any one of claims 1 to 5.
10. a kind of storage medium comprising computer executable instructions, which is characterized in that the computer executable instructions by
For executing screen blue light adjusting method a method as claimed in any one of claims 1 to 5 when computer processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910321540.2A CN110032351A (en) | 2019-04-22 | 2019-04-22 | Screen blue light adjusting method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910321540.2A CN110032351A (en) | 2019-04-22 | 2019-04-22 | Screen blue light adjusting method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110032351A true CN110032351A (en) | 2019-07-19 |
Family
ID=67239547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910321540.2A Withdrawn CN110032351A (en) | 2019-04-22 | 2019-04-22 | Screen blue light adjusting method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110032351A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113391778A (en) * | 2021-06-17 | 2021-09-14 | 广东小天才科技有限公司 | Paper-like screen display method, device and equipment |
CN113870810A (en) * | 2021-11-08 | 2021-12-31 | 合肥杰发科技有限公司 | Color adjusting method and device and display equipment |
CN116052607A (en) * | 2023-04-03 | 2023-05-02 | 荣耀终端有限公司 | Electronic equipment control method, device, chip, electronic equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2299723A1 (en) * | 2009-09-14 | 2011-03-23 | Kabushiki Kaisha Toshiba | Video display apparatus and video display method |
CN104335144A (en) * | 2014-09-09 | 2015-02-04 | 华为技术有限公司 | Blue-ray adjusting method, apparatus and terminal |
CN105632413A (en) * | 2016-01-11 | 2016-06-01 | 京东方科技集团股份有限公司 | Backlight regulation method, adjustment device and display device |
CN105933526A (en) * | 2016-04-29 | 2016-09-07 | 乐视控股(北京)有限公司 | Method and apparatus for adjusting display state of terminal screen |
CN107045417A (en) * | 2017-04-07 | 2017-08-15 | 广东欧珀移动通信有限公司 | Screen color temp adjusting method, device and its equipment |
CN107885475A (en) * | 2017-10-31 | 2018-04-06 | 广东小天才科技有限公司 | Screen blue light filtering method of terminal equipment and terminal equipment |
-
2019
- 2019-04-22 CN CN201910321540.2A patent/CN110032351A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2299723A1 (en) * | 2009-09-14 | 2011-03-23 | Kabushiki Kaisha Toshiba | Video display apparatus and video display method |
CN104335144A (en) * | 2014-09-09 | 2015-02-04 | 华为技术有限公司 | Blue-ray adjusting method, apparatus and terminal |
CN105632413A (en) * | 2016-01-11 | 2016-06-01 | 京东方科技集团股份有限公司 | Backlight regulation method, adjustment device and display device |
CN105933526A (en) * | 2016-04-29 | 2016-09-07 | 乐视控股(北京)有限公司 | Method and apparatus for adjusting display state of terminal screen |
CN107045417A (en) * | 2017-04-07 | 2017-08-15 | 广东欧珀移动通信有限公司 | Screen color temp adjusting method, device and its equipment |
CN107885475A (en) * | 2017-10-31 | 2018-04-06 | 广东小天才科技有限公司 | Screen blue light filtering method of terminal equipment and terminal equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113391778A (en) * | 2021-06-17 | 2021-09-14 | 广东小天才科技有限公司 | Paper-like screen display method, device and equipment |
CN113870810A (en) * | 2021-11-08 | 2021-12-31 | 合肥杰发科技有限公司 | Color adjusting method and device and display equipment |
WO2023078250A1 (en) * | 2021-11-08 | 2023-05-11 | 合肥杰发科技有限公司 | Color adjustment method and apparatus, and display device |
CN116052607A (en) * | 2023-04-03 | 2023-05-02 | 荣耀终端有限公司 | Electronic equipment control method, device, chip, electronic equipment and medium |
CN116052607B (en) * | 2023-04-03 | 2023-09-19 | 荣耀终端有限公司 | Electronic equipment control method, device, chip, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110032351A (en) | Screen blue light adjusting method and device, electronic equipment and storage medium | |
CN107277989B (en) | Intelligent House Light control method and device | |
CN105228313B (en) | Lighting control method and related equipment | |
CN107566227A (en) | Control method and device of household appliance, intelligent device and storage medium | |
CN111179878A (en) | Brightness control method for display device of washing equipment | |
CN105528228A (en) | Apparatus and method for automatically closing applications | |
CN101858783A (en) | Reading prompt method in electronic reading terminal and electronic reading terminal | |
CN103061650A (en) | Intelligent liquid crystal window controlling system and method thereof | |
CN104166530A (en) | Display parameter adjustment method and device and terminal | |
CN107172790B (en) | A kind of office's light intelligent regulating system | |
CN103226438A (en) | Method and system for desktop subject display mode based on light intensity adjustable panel terminal | |
CN105005390A (en) | Terminal adjusting method, terminal adjusting device, and terminal | |
CN204653143U (en) | A kind of intelligent flowerpot | |
CN106657676A (en) | Screen brightness adjusting method and device | |
CN203287726U (en) | Internet of things based indoor light regulating system | |
CN108112116A (en) | Automatically adjust the method and device of lamp brightness | |
CN108762176B (en) | Energy-saving regulation and control method and system for intelligent home inspection robot | |
CN109272944A (en) | Backlight adjusting method, device, terminal device and computer-readable storage medium | |
CN107567153A (en) | A kind of system and method for adjusting room light | |
CN110930945A (en) | Method, device and system for adjusting brightness of display screen | |
CN105575364A (en) | Intelligent watch and brightness adaptive adjusting system and method | |
CN108063870B (en) | Interface display method and device and mobile terminal | |
WO2023124092A1 (en) | Method and apparatus for controlling air conditioner, and air conditioner | |
CN107148136A (en) | A kind of lamp system with voice broadcast | |
CN110597079B (en) | Adjusting method and device for distributed intelligent household equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190719 |
|
WW01 | Invention patent application withdrawn after publication |