CN106020481B - A kind of implementation method of the hand-held device with the anti-blue light of eyeshield - Google Patents
A kind of implementation method of the hand-held device with the anti-blue light of eyeshield Download PDFInfo
- Publication number
- CN106020481B CN106020481B CN201610357664.2A CN201610357664A CN106020481B CN 106020481 B CN106020481 B CN 106020481B CN 201610357664 A CN201610357664 A CN 201610357664A CN 106020481 B CN106020481 B CN 106020481B
- Authority
- CN
- China
- Prior art keywords
- blue light
- app
- index
- hand
- held device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to a kind of implementation methods of hand-held device with the anti-blue light of eyeshield, the following steps are included: step S1: providing hand-hold device, the hand-held device is provided with an anti-blue light APP to carry out blue light parameter setting to display screen according to different type APP;Step S2: the anti-blue light APP setting different type APP anti-blue light index and anti-blue light executes distance;Step S3: the hand-held device includes a front camera to detect face to display screen distance, and when the front camera detects face, the anti-blue light APP enables anti-blue light protection mechanism.Hand-held device of the invention has the front camera that can detect face distance, anti- blue light index can be set by anti-blue light APP and anti-blue light executes distance, when detecting that face distance is less than set distance, detect currently used APP and using the blue light amount generated, for the use demand of different APP, start different anti-blue light eyeshield mechanism.
Description
Technical field
The present invention relates to anti-blue light eyeshield fields, more particularly to a kind of realization of hand-held device with the anti-blue light of eyeshield
Method.
Background technique
Hand-held device at present comprising mobile phone and plate has been popularized in general popular life, can see manpower everywhere
One hand-held device.But the screen blue light use for a long time of hand-held device can injure human eye, cause indelible injury.One
As anti-blue light eyeshield on the market method, nothing more than reducing screen brightness after a period of use or reduce the B picture in RGB
Element.
Current detecting starts anti-blue light method, after accumulated time, Initiated Mechanism.The disadvantages of this method are as follows: 1.
The blue light amount for accumulation, which is not done, quantifies.2. regardless of using situation to start without exception, do not need or user it is hoped that there will be true
Also start under color regime.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of implementation method of hand-held device with the anti-blue light of eyeshield, hand
Holding device has the front camera that can detect face distance, and anti-blue light index can be set by anti-blue light APP and is resisted
Blue light executes distance, for use demand and the different blue light amount grades of different APP, starts different anti-blue light eyeshield mechanism.
The present invention is realized using following scheme: a kind of implementation method of the hand-held device with the anti-blue light of eyeshield, including with
Lower step:
Step S1: provide hand-hold device, the hand-held device be provided with one to according to different type APP to display screen
Carry out the anti-blue light APP of blue light parameter setting;
Step S2: the anti-blue light APP setting different type APP anti-blue light index and anti-blue light executes distance;
Step S3: the hand-held device includes a front camera to detect face to display screen distance, when described
When front camera detects face, the anti-blue light APP enables anti-blue light protection mechanism.
Further, in the step S3, the start-up course of the anti-blue light protection mechanism specifically includes the following steps:
Step S31: whether the anti-presently described hand-held device of blue light APP real-time detection is using an APP, and judging should
Whether APP is that the anti-blue light APP can set the APP of blue parameters, if then entering step S32, if not then continuing
Real-time detection;
Step S32: the anti-blue light APP is in turn divided into display screen by center in three regions, three areas outward
Domain is respectively arranged with different blue light index weights, and the blue light index weight of central area is 1.2, and the blue light of secondary peripheral region refers to
Number weight is 1, and the blue light index weight of peripheral region is 0.8;And calculate the blue light index cumulative amount of current display screen;
Step S33: the blue light index cumulative amount that the anti-blue light APP judgement is calculated whether be more than setting the type
The anti-blue light index of APP, if then entering step S34, if not then return step S32 re-starts blue light index cumulative amount
It calculates;
Step S34: the anti-blue light APP judges whether the front camera of the hand-held device detects face distance small
In setting the type APP anti-blue light execute apart from when, if then the anti-blue light APP is according to different blue light index rankings
Start corresponding anti-blue light eyeshield mechanism.
Further, in the step S34, the anti-blue light protection mechanism specifically: if the blue light index ranking is
Level-one, then the anti-blue light APP pops up information warning;If the blue light index ranking is second level, the anti-blue light APP is to aobvious
The pixel of display screen is adjusted, and reduces blue light;If the blue light index ranking is three-level, described in the anti-blue light APP control
Display screen enters dormant state.
Further, blue light index cumulative amount, that is, blue light per second index specially divides display screen trizonal
The aggregation of blue light index: calculating each region blue light index is that B is greater than R in the region and B is greater than the pixel of G, wherein R, G, B points
Not Wei red pixel value, green pixel values and blue pixel value, and by the blue light index in each region and blue light index weight
It is added up after multiplication.
Further, the hand-held device includes mobile phone and plate.
Compared with prior art, the present invention has the advantage that hand-held device, which has, can detect the preposition of face distance
Camera can set anti-blue light index and anti-blue light by anti-blue light APP and execute distance, when detecting that face distance is less than
When set distance, detects currently used APP and use the blue light amount generated, for the use demand of different APP, such as
E-book or browsing file do not need true beautiful coloration, start anti-blue light eyeshield mechanism.The hand-held device can be according to not
With blue light amount grade, the different anti-blue light eyeshield mechanism of starting.
Detailed description of the invention
Fig. 1 is method flow schematic diagram of the invention.
Fig. 2 is that display screen area of the invention divides schematic diagram.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings and embodiments.
The present embodiment provides a kind of implementation methods of hand-held device with the anti-blue light of eyeshield, as shown in Figure 1, include with
Lower step:
Step S1: provide hand-hold device, the hand-held device be provided with one to according to different type APP to display screen
Carry out the anti-blue light APP of blue light parameter setting;
Step S2: the anti-blue light APP setting different type APP anti-blue light index and anti-blue light executes distance;
Step S3: the hand-held device includes a front camera to detect face to display screen distance, when described
When front camera detects face, the anti-blue light APP enables anti-blue light protection mechanism.
In the present embodiment, in the step S3, the start-up course of the anti-blue light protection mechanism specifically includes following step
It is rapid:
Step S31: whether the anti-presently described hand-held device of blue light APP real-time detection is using an APP, and judging should
Whether APP is that the anti-blue light APP can set the APP of blue parameters, if then entering step S32, if not then continuing
Real-time detection;
Step S32: the anti-blue light APP is in turn divided into display screen by center in three regions, three areas outward
Domain is respectively arranged with different blue light index weights, and the blue light index weight of central area A1 is 1.2, secondary peripheral region A2's
Blue light index weight is 1, and the blue light index weight of peripheral region A3 is 0.8;And the blue light index for calculating current display screen is accumulative
Amount;
Step S33: the blue light index cumulative amount that the anti-blue light APP judgement is calculated whether be more than setting the type
The anti-blue light index of APP, if then entering step S34, if not then return step S32 re-starts blue light index cumulative amount
It calculates;
Step S34: the anti-blue light APP judges whether the front camera of the hand-held device detects face distance small
In setting the type APP anti-blue light execute apart from when, if then the anti-blue light APP is according to different blue light index rankings
Start corresponding anti-blue light eyeshield mechanism.
In this example it is shown that three regions that screen divides are as shown in Fig. 2, different blue lights is given in three regions respectively
Index weight, intermediate region A1 is because possible human eye is easier to focal attention therefore blue light index weight X=1.2;Secondary peripheral region can
Energy human eye less likely removes focal attention therefore blue light index weight X=1.0;Peripheral region is because content is less susceptible to be watched attentively therefore blue light
Index weight X=0.8.
In the present embodiment, in the step S34, the anti-blue light protection mechanism specifically: if described blue light index etc.
Grade is level-one, then the anti-blue light APP pops up information warning;If the blue light index ranking is second level, the anti-blue light APP
The pixel of display screen is adjusted, blue light is reduced;If the blue light index ranking is three-level, the anti-blue light APP control
The display screen enters dormant state.
In the present embodiment, blue light index cumulative amount, that is, blue light per second index, three areas for specially dividing display screen
The blue light index in domain adds up: calculating each region blue light index is that B is greater than R in the region and B is greater than the pixel of G, wherein R, G, B
Respectively red pixel value, green pixel values and blue pixel value, and by the blue light index in each region and blue light exponential weight
Heavy phase adds up after multiplying.
Specific formula for calculation be blue=A1factor × count (A1 ((B > R) & (B > G)))+A2factor ×
count(A2((B>R)&(B>G))) +A3factor×count(A3((B>R)&(B>G)))
Wherein B:Blue pixel value, R:Red pixel value, G:Green pixel value.
The pixel number that the region A1/A2/A3 B is greater than R and G is counted, is added up respectively multiplied by each area indices.
In the present embodiment, the hand-held device includes mobile phone and plate.
The foregoing is merely presently preferred embodiments of the present invention, all equivalent changes done according to scope of the present invention patent with
Modification, is all covered by the present invention.
Claims (3)
1. a kind of implementation method of the hand-held device with the anti-blue light function of eyeshield, it is characterised in that: the following steps are included:
Step S1: providing hand-hold device, and the hand-held device is provided with one to carry out according to different type APP to display screen
The anti-blue light APP of blue light parameter setting;
Step S2: the anti-blue light APP setting different type APP anti-blue light index and anti-blue light executes distance;
Step S3: the hand-held device includes a front camera to detect face to display screen distance, when described preposition
When camera detection is to face, the anti-blue light APP enables anti-blue light protection mechanism;
Wherein, in the step S3, the start-up course of the anti-blue light protection mechanism specifically includes the following steps:
Step S31: whether the anti-presently described hand-held device of blue light APP real-time detection is using an APP, and judges the APP
It whether is that the anti-blue light APP can set the APP of blue parameters, if then entering step S32, if not then continuing in real time
Detection;
Step S32: the anti-blue light APP is in turn divided into display screen by center in three regions, three regions point outward
It is not provided with different blue light index weights, the blue light index weight of central area is 1.2, the blue light exponential weight of secondary peripheral region
Weight is 1, and the blue light index weight of peripheral region is 0.8;And calculate the blue light index cumulative amount of current display screen;
Step S33: the blue light index cumulative amount that the anti-blue light APP judgement is calculated whether be more than setting the type APP
Anti- blue light index, if then entering step S33, if not then return step S32 re-starts the meter of blue light index cumulative amount
It calculates;
Step S34: the anti-blue light APP judge the front camera of the hand-held device detect face distance whether be less than set
The anti-blue light of fixed the type APP execute apart from when, if then the anti-blue light APP starts according to different blue light index rankings
Corresponding anti-blue light eyeshield mechanism;
Wherein, in the step S34, the anti-blue light protection mechanism specifically: if the blue light index ranking is level-one, institute
State anti-blue light APP pop-up information warning;If the blue light index ranking is second level, picture of the anti-blue light APP to display screen
Element is adjusted, and reduces blue light;If the blue light index ranking is three-level, the anti-blue light APP control the display screen into
Enter dormant state.
2. a kind of implementation method of hand-held device with the anti-blue light function of eyeshield according to claim 1, feature exist
In: blue light index cumulative amount, that is, blue light per second index, the trizonal blue light index for specially dividing display screen add up: meter
Calculating each region blue light index is that B is greater than the pixel that R and B are greater than G in the region, wherein R, G, B be respectively red pixel value, it is green
Color pixel value and blue pixel value, and added up after the blue light index in each region is multiplied with blue light index weight.
3. a kind of implementation method of hand-held device with the anti-blue light function of eyeshield according to claim 1, feature exist
In: the hand-held device includes mobile phone and plate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610357664.2A CN106020481B (en) | 2016-05-26 | 2016-05-26 | A kind of implementation method of the hand-held device with the anti-blue light of eyeshield |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610357664.2A CN106020481B (en) | 2016-05-26 | 2016-05-26 | A kind of implementation method of the hand-held device with the anti-blue light of eyeshield |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106020481A CN106020481A (en) | 2016-10-12 |
CN106020481B true CN106020481B (en) | 2019-03-12 |
Family
ID=57094069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610357664.2A Active CN106020481B (en) | 2016-05-26 | 2016-05-26 | A kind of implementation method of the hand-held device with the anti-blue light of eyeshield |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020481B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107958576A (en) * | 2016-10-17 | 2018-04-24 | 深圳市信息大成网络有限公司 | The method that other people use eye health is reminded in monitoring based on internet |
CN109243375B (en) * | 2018-08-23 | 2020-07-07 | Oppo(重庆)智能科技有限公司 | Device control method, device, storage medium and electronic device |
CN112927659B (en) * | 2021-02-08 | 2023-01-20 | 捷开通讯(深圳)有限公司 | Method, device and storage medium for adjusting basic three-primary-color data of display screen |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331167A (en) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | Display treatment method and display treatment device |
CN104460995A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Display processing method, display processing device and terminal |
CN105354001A (en) * | 2015-10-23 | 2016-02-24 | 广东欧珀移动通信有限公司 | Eye protection method and system for intelligent device |
CN105489150A (en) * | 2015-11-21 | 2016-04-13 | 惠州Tcl移动通信有限公司 | Eye protecting method and device of screen based on virtual reality helmet |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2478693B1 (en) * | 2012-12-21 | 2015-04-29 | Universidad Complutense De Madrid | Short wavelength blocking element in led type lighting sources |
-
2016
- 2016-05-26 CN CN201610357664.2A patent/CN106020481B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331167A (en) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | Display treatment method and display treatment device |
CN104460995A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Display processing method, display processing device and terminal |
CN105354001A (en) * | 2015-10-23 | 2016-02-24 | 广东欧珀移动通信有限公司 | Eye protection method and system for intelligent device |
CN105489150A (en) * | 2015-11-21 | 2016-04-13 | 惠州Tcl移动通信有限公司 | Eye protecting method and device of screen based on virtual reality helmet |
Also Published As
Publication number | Publication date |
---|---|
CN106020481A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020481B (en) | A kind of implementation method of the hand-held device with the anti-blue light of eyeshield | |
CN104468912B (en) | A kind of control method and its display terminal of mobile terminal screen brightness | |
CN107221303A (en) | A kind of method, device and intelligent terminal for adjusting screen intensity | |
CN104934014A (en) | Eyesight protection method and apparatus | |
US10607376B2 (en) | Method and apparatus for adjusting color temperature based upon fuzzy control | |
CN104754219B (en) | A kind of terminal | |
JP2016504615A5 (en) | ||
CN102857697B (en) | A kind of method of previewing photos quality, device and photographing device | |
CN103856707A (en) | Camera switchover method and device and electronic device | |
CN105872399B (en) | Backlighting detecting and backlight detection system | |
CN105489150A (en) | Eye protecting method and device of screen based on virtual reality helmet | |
WO2015192673A1 (en) | Method for preventing myopia and terminal | |
CN105892612A (en) | Method and apparatus for powering off terminal | |
US10181307B2 (en) | Display system, eyewear, and method for controlling display system | |
CN107832029B (en) | Display processing method and device, terminal and computer readable storage medium | |
CN105630164A (en) | Virtual reality spectacle case system and reminding method thereof | |
CN104809482A (en) | Fatigue detecting method based on individual learning | |
CN109088983A (en) | Screen backlight adjusting method, device, readable storage medium storing program for executing and mobile terminal | |
CN104333709A (en) | Method, device and electronic equipment for controlling flash lamp | |
CN104267817B (en) | Method for intelligently adjusting screen and intelligent screen | |
CN105898147B (en) | Survey light processing method and apparatus applied to mobile terminal | |
CN105549927B (en) | A kind of display methods and terminal | |
KR101580918B1 (en) | Method for controlling a displayed screen of application program for the protection of the user of application execution device with a display unit | |
CN105628341A (en) | Method and system for detecting desk lamp light | |
CN107491718A (en) | The method that human hand Face Detection is carried out under different lightness environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 350300 Fuqing City, Fuzhou, Fujian, the reunification of overseas Chinese economic and Technological Development Zone Patentee after: TPV Electronic Technology (Fujian) Co., Ltd Address before: 350301 Fujian JIELIAN Electronics Co., Ltd Patentee before: Fujian Jielian Electronic Co Ltd |