CN104571881B - A kind of control method and device of solution lock screen - Google Patents

A kind of control method and device of solution lock screen Download PDF

Info

Publication number
CN104571881B
CN104571881B CN201310499411.5A CN201310499411A CN104571881B CN 104571881 B CN104571881 B CN 104571881B CN 201310499411 A CN201310499411 A CN 201310499411A CN 104571881 B CN104571881 B CN 104571881B
Authority
CN
China
Prior art keywords
user
distant view
view picture
eye strain
camera
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
Application number
CN201310499411.5A
Other languages
Chinese (zh)
Other versions
CN104571881A (en
Inventor
简文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201310499411.5A priority Critical patent/CN104571881B/en
Publication of CN104571881A publication Critical patent/CN104571881A/en
Application granted granted Critical
Publication of CN104571881B publication Critical patent/CN104571881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/011Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses it is a kind of solution lock screen control method and device, the method includes:After user is unlocked, eye strain is detected automatically to obtain eye strain data;Judge whether to reach preset fatigue data according to the eye strain data, be that unlock is prompted to fail, otherwise normal release.Described device includes:Operational module and judgment module, the present invention work according to the eyeshield mode of preset detection pattern by the way that preset time is arranged, can effectively eliminate the fatigue of eyes, to protect eyes eyesight, user is made to form a good habit.

Description

A kind of control method and device of solution lock screen
Technical field
The present invention relates to field of computer technology, more particularly to a kind of control method and device of solution lock screen.
Background technology
It is universal with the screens class product such as tablet computer and smart mobile phone, when people are to the use of tablet and smart mobile phone Between increase, the screens class product such as tablet computer and smart mobile phone also can be excessively relied in life, especially very to the influence of child Greatly, since child is in the stage of growth and development, person's character fond of play and self-control be not strong.
The application installed on tablet currently on the market is answered only by pop-up prompting frame to prompt user to shut down or exit With, but the method is difficult really to play a role, excessive prolonged use tablet computer and smart mobile phone step on the production of screen class Product can allow it is artificial at some bad habits, on health generate it is certain influence, especially eye eyesight is had an impact.
Invention content
Certain influence is generated on health using products such as tablet computers for the long-time of solution, especially to eye The problem of eyeball eyesight has an impact, an embodiment of the present invention provides a kind of control method and device of solution lock screen.The technology Scheme is as follows:
In a first aspect, the present invention provides a kind of control method of solution lock screen, the method includes:
After user is unlocked, eye strain is detected automatically to obtain eye strain data;
Judge whether to reach preset fatigue data according to the eye strain data, is that unlock is prompted to fail, otherwise just Often unlock.
Preferably, described when user solves lock screen, automatically to eye strain be detected to obtain eye strain data it Before, further include:
When user starts smart machine, triggering timing device starts timing,
It is screen lock state by screens switch when the time of the timer reaching preset time.
Preferably, described when user starts smart machine, triggering timing device starts timing, further includes specifically:
When user starts smart machine, the camera for opening the smart machine carries out camera shooting acquisition figure to user Picture matches the image of acquisition with the user images to prestore, the image when acquisition and the user images successful match that prestores When, backstage starts detection pattern, and starts timing by timer;Wherein, the smart machine is the screen with camera function Equipment.
Preferably, described after user is unlocked, eye strain degree is detected automatically to obtain eye strain data, It specifically includes:
Contrast images group is shown, and user is prompted to search the difference region in contrast images group;
Front camera is automatically turned on, the regulating time of eyes of user is recorded by front camera to determine variation speed Degree, according to the trigger event that user generates on touch screen determine user search difference region as a result, according to the pace of change Eye strain data are obtained with the result in the difference region.
Preferably, the method further includes:
The preset time of timer operation is set.
Preferably, described to show contrast images group, and user is prompted to search the difference region in contrast images group Before, further include:
Distant view picture is obtained by camera and is preserved,
Judge whether the distant view picture meets presetted pixel condition,
When the distant view picture meets presetted pixel condition, handled to obtain that treated is remote to the distant view picture Scape picture, according to the distant view picture, distant view picture obtains image group with treated.
Second aspect, the present invention provides a kind of control device of solution lock screen, described device includes:
Operational module is detected eye strain to obtain eye strain degree for working according to detection pattern;
Judgment module is automatically detected eye strain to obtain eye strain data for working as after user is unlocked.
Preferably, described device further includes:
Starting module, for when user starts smart machine, triggering timing device to start timing;
Handover module, for being screen lock state by screens switch when the time of the timer reaching preset time.
Preferably, the starting module is specifically used for, when user starts smart machine, opening taking the photograph for the smart machine Image is obtained as head carries out camera shooting to user, the image of acquisition is matched with the user images to prestore, when the figure of acquisition When picture is with the user images successful match to prestore, backstage starts detection pattern, and starts timing by timer;Wherein, described Smart machine is the screen equipment with camera function.
Preferably, the operational module is specifically used for showing contrast images group, and user is prompted to search comparison diagram As the difference region in group;Front camera is automatically turned on, the regulating time of eyes of user is recorded come really by front camera Determine pace of change, according to the trigger event that user generates on touch screen determine user search difference region as a result, according to described Pace of change and the result in the difference region obtain eye strain data.
Preferably, which is characterized in that described device further includes:
Setup module, the preset time for timer operation to be arranged.
Preferably, described device further includes:Picture processing module, for obtaining distant view picture by camera and preserving, Judge whether the distant view picture meets presetted pixel condition, when the distant view picture meets presetted pixel condition, to described Distant view picture is handled to obtain treated distant view picture, and according to the distant view picture and treated that distant view picture obtains figure As group.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
By be arranged preset time, after user reaches preset time using flat panel time according to preset eyeshield mode into Row work far sees nearly method according to seeing, carries out the adjusting activity of eyesight, to eliminate the fatigue of eyes, thus protect eyes eyesight, User is set to form a good habit.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of control method flow chart for solution lock screen that the embodiment of the present invention one provides;
Fig. 2 is the detail flowchart of the step 101 in Fig. 1;
Fig. 3 is a kind of control device structure chart of solution lock screen provided by Embodiment 2 of the present invention;
Fig. 4 is another control device structure chart for solving lock screen provided by Embodiment 2 of the present invention;
Fig. 5 is also a kind of control device structure chart of solution lock screen provided by Embodiment 2 of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
The embodiment of the present invention one provides a kind of control method of solution lock screen, as shown in Figure 1, the method flow packet It includes:
Step 101:After user is unlocked, eye strain is detected automatically to obtain eye strain data.
Specifically, as shown in Fig. 2, step 101 specifically includes step 201-202:
Step 201:Contrast images group is shown, and user is prompted to search the difference region in contrast images group;
Wherein, step 201 further includes:
Distant view picture is obtained by camera and is preserved, and judges whether the distant view picture meets presetted pixel condition, when When the distant view picture meets presetted pixel condition, handled to obtain treated distant view picture, root to the distant view picture According to the distant view picture, distant view picture obtains image group with treated.
For example, when user is unlocked, detection pattern is cut automatically, and eye strain is detected.Wherein it is possible to pre- The working method of detection pattern is first set, and the working method obtains distant view picture by camera and preserves, to the distant view Picture is handled to obtain treated distant view picture, and according to the distant view picture and treated that distant view picture obtains image Group.
Step 202:Front camera is automatically turned on, the regulating time of eyes of user is recorded by front camera to determine Pace of change, according to the trigger event that user generates on touch screen determine user search difference region as a result, according to the change The result for changing speed and the difference region obtains eye strain data.
Specifically, front camera is automatically turned on, when switching between distance by front camera detection eye sight line Pace of change, to determine the fatigue data of eyes.
Step 102:Judge whether to reach preset fatigue data according to the eye strain data, is that unlock is prompted to lose It loses, otherwise normal release.
Further include step 100 before step 101 in conjunction with embodiment described above:When user's startup smart machine, touch Hair timer starts timing, is screen lock state by screens switch when the time of the timer reaching preset time.
Specifically, when user starts smart machine, triggering timing device starts timing and includes:
When user starts smart machine, the camera for opening the smart machine carries out camera shooting acquisition figure to user Picture matches the image of acquisition with the user images to prestore, the image when acquisition and the user images successful match that prestores When, backstage starts detection pattern, and starts timing by timer;Wherein, the smart machine is the screen with camera function Equipment.
Wherein, the timer is used to control the time that user uses smart machine, when user starts the smart machine time When reaching preset time, then lock screen automatically.
In conjunction with the above embodiment, further include before the step 101:The preset time of timer operation is set.
It is screen lock state by screens switch when the time of the timer reaching preset time;Wherein, when described default Between refer to user use mobile phone time, can be preset according to specific circumstances.
This method embodiment is by being arranged preset time, according to default after user reaches preset time using flat panel time Eyeshield mode work, far see nearly method according to seeing, carry out the adjusting activity of eyesight, to eliminate the fatigue of eyes, to Protect eyes eyesight, makes user form a good habit.
Embodiment two
A kind of control device of solution lock screen is present embodiments provided, referring to Fig. 3, described device includes:
Operational module 301 is automatically detected eye strain to obtain eye strain number for working as after user is unlocked According to;
The operational module 301 is specifically used for showing contrast images group, and user is prompted to search contrast images group In difference region;Front camera is automatically turned on, record the regulating time of eyes of user by front camera becomes to determine Change speed, according to the trigger event that user generates on touch screen determine user search difference region as a result, according to the variation Speed and the result in the difference region obtain eye strain data.
Judgment module 302 is to prompt for judging whether to reach preset fatigue data according to the eye strain data Unlock fails, otherwise normal release.
In conjunction with above-mentioned apparatus, as shown in figure 4, described device further includes:
Starting module 401, for when user starts smart machine, triggering timing device to start timing;
Wherein, the starting module 401 is specifically used for for when user starts smart machine, opening the smart machine Camera to user carry out camera shooting obtain image, the image of acquisition is matched with the user images to prestore, works as acquisition Image and prestore user images successful match when, backstage starts detection pattern, and starts timing by timer;Wherein, The smart machine is the screen equipment with camera function.
Handover module 402, for being screen locking shape by screens switch when the time of the timer reaching preset time State.
In conjunction with above-mentioned apparatus, as shown in figure 5, described device further includes:
Setup module 501, the preset time for timer operation to be arranged.
In conjunction with above-mentioned apparatus, the starting module is additionally operable to obtain distant view picture by camera and preserve, described in judgement Whether distant view picture meets presetted pixel condition, when the distant view picture meets presetted pixel condition, to the distant view picture Handled to obtain treated distant view picture, according to the distant view picture and treated that distant view picture obtains image group.
Present apparatus embodiment is by being arranged preset time, according to default after user reaches preset time using flat panel time Eyeshield mode work, far see nearly method according to seeing, carry out the adjusting activity of eyesight, to eliminate the fatigue of eyes, to Protect eyes eyesight, makes user form a good habit.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of control method of solution lock screen, which is characterized in that the method includes:
After user is unlocked, the automatic incision detection pattern in backstage is detected eye strain to obtain eye strain data; Judge whether to reach preset fatigue data according to the eye strain data, be that unlock is prompted to fail, otherwise normal release;
Wherein, described after user is unlocked, eye strain degree is detected automatically to obtain eye strain data, it is specific to wrap It includes:
Contrast images group is shown, and user is prompted to search the difference region in contrast images group, the contrast images group Including distant view picture and treated distant view picture;
Front camera is automatically turned on, the regulating time of eyes of user is recorded by front camera to determine pace of change, root According to the trigger event that user generates on touch screen determine user search difference region as a result, according to the pace of change and institute really The result that the fixed user searches difference region obtains eye strain data.
2. according to the method described in claim 1, it is characterized in that, it is described when user solve lock screen when, automatically to eye strain Before being detected to obtain eye strain data, further include:
When user starts smart machine, triggering timing device starts timing;
It is screen lock state by screens switch when the time of the timer reaching preset time.
3. according to the method described in claim 2, it is characterized in that, described when user starts smart machine, triggering timing device is opened Beginning timing further includes specifically:
When user starts smart machine, the camera for opening the smart machine carries out camera shooting acquisition image to user, will The image of acquisition is matched with the user images to prestore, when the image of acquisition and the user images successful match to prestore, after Platform starts detection pattern, and starts timing by timer;Wherein, the smart machine is the screen equipment with camera function.
4. according to claim 1-3 any one of them methods, which is characterized in that the method further includes:
The preset time of timer operation is set.
5. according to the method described in claim 1, it is characterized in that, described show contrast images group, and prompting user Before searching the difference region in contrast images group, further include:
Distant view picture is obtained by camera and is preserved,
Judge whether the distant view picture meets presetted pixel condition,
When the distant view picture meets presetted pixel condition, handled to obtain treated prospect map to the distant view picture Piece, according to the distant view picture, distant view picture obtains image group with treated.
6. a kind of control device of solution lock screen, which is characterized in that described device includes:
Operational module, for working as after user is unlocked, the automatic incision detection pattern in backstage is detected to obtain to eye strain Eye strain data;
The operational module is specifically used for showing contrast images group, and user is prompted to search the difference in contrast images group Region, the contrast images group include distant view picture and treated distant view picture;Front camera is automatically turned on, by preposition Camera records the regulating time of eyes of user to determine pace of change, is determined according to the trigger event that user generates on touch screen User search difference region as a result, the result for searching difference region according to the pace of change and the identified user obtains To eye strain data;
Judgment module is that unlock is prompted to lose for judging whether to reach preset fatigue data according to the eye strain data It loses, otherwise normal release.
7. device according to claim 6, which is characterized in that described device further includes:
Starting module, for when user starts smart machine, triggering timing device to start timing;
Handover module, for being screen lock state by screens switch when the time of the timer reaching preset time.
8. device according to claim 7, which is characterized in that the starting module is specifically used for setting when user starts intelligence When standby, the camera for opening the smart machine carries out camera shooting acquisition image to user, by the image of acquisition and the use to prestore Family image is matched, and when the image of acquisition and the user images successful match to prestore, backstage starts detection pattern, and passes through Timer starts timing;Wherein, the smart machine is the screen equipment with camera function.
9. according to claim 6-8 any one of them devices, which is characterized in that described device further includes:
Setup module, the preset time for timer operation to be arranged.
10. according to claim 6-8 any one of them devices, which is characterized in that described device further includes:
It is pre- to judge whether the distant view picture meets for obtaining distant view picture by camera and preserving for picture processing module If pixel condition, when the distant view picture meets presetted pixel condition, the distant view picture is handled after obtaining processing Distant view picture, according to the distant view picture and treated that distant view picture obtains image group.
CN201310499411.5A 2013-10-22 2013-10-22 A kind of control method and device of solution lock screen Active CN104571881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310499411.5A CN104571881B (en) 2013-10-22 2013-10-22 A kind of control method and device of solution lock screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310499411.5A CN104571881B (en) 2013-10-22 2013-10-22 A kind of control method and device of solution lock screen

Publications (2)

Publication Number Publication Date
CN104571881A CN104571881A (en) 2015-04-29
CN104571881B true CN104571881B (en) 2018-08-21

Family

ID=53088088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310499411.5A Active CN104571881B (en) 2013-10-22 2013-10-22 A kind of control method and device of solution lock screen

Country Status (1)

Country Link
CN (1) CN104571881B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915007B (en) * 2015-06-17 2019-04-02 福州瑞芯微电子股份有限公司 The judgment method and circuit of display device use state
CN106308740A (en) * 2015-06-19 2017-01-11 宇龙计算机通信科技(深圳)有限公司 A method and a device for eye using adjustment and a terminal apparatus
CN105138881A (en) * 2015-07-30 2015-12-09 广东欧珀移动通信有限公司 Screen locking method and device
CN106200928A (en) * 2016-06-28 2016-12-07 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN109558847A (en) * 2018-11-30 2019-04-02 朱朝峰 Bathing countdown sets platform
CN110248024B (en) * 2019-06-11 2020-12-18 Oppo广东移动通信有限公司 Unlocking method and device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833410A (en) * 2012-08-23 2012-12-19 惠州Tcl移动通信有限公司 Method for controlling usage time of mobile phone
CN103315754A (en) * 2013-07-01 2013-09-25 深圳市飞瑞斯科技有限公司 Method and device for detecting fatigue

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053566A (en) * 2009-10-30 2011-05-11 鸿富锦精密工业(深圳)有限公司 Health protection method and electronic equipment using same
CN102063809A (en) * 2010-12-29 2011-05-18 鸿富锦精密工业(深圳)有限公司 Electronic reading device and control method thereof
CN103019917B (en) * 2012-12-14 2016-01-06 广东欧珀移动通信有限公司 The mobile terminal monitoring method of excess eye-using, system and mobile terminal
CN103116404A (en) * 2013-02-25 2013-05-22 广东欧珀移动通信有限公司 Face recognition unlocking method and mobile smart terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833410A (en) * 2012-08-23 2012-12-19 惠州Tcl移动通信有限公司 Method for controlling usage time of mobile phone
CN103315754A (en) * 2013-07-01 2013-09-25 深圳市飞瑞斯科技有限公司 Method and device for detecting fatigue

Also Published As

Publication number Publication date
CN104571881A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104571881B (en) A kind of control method and device of solution lock screen
CN105279459B (en) A kind of terminal glance prevention method and mobile terminal
CN103885589B (en) Eye movement tracking method and device
CN103218579B (en) A kind of method preventing screen content from being peeped and mobile terminal thereof
CN105072327B (en) A kind of method and apparatus of the portrait processing of anti-eye closing
US10986276B2 (en) Mobile device
CN105022981A (en) Method and device for detecting health state of human eyes and mobile terminal
CN108062400A (en) Examination cosmetic method, smart mirror and storage medium based on smart mirror
CN105095885B (en) A kind of detection method and detection device of human eye state
KR20160017854A (en) Blink device of display device and method for inducing blink
CN105657500B (en) A kind of video playing control method and device
CN108040291A (en) Display device and its standby controlling method and computer-readable recording medium
CN108600555A (en) A kind of screen color method of adjustment, mobile terminal and computer readable storage medium
CN108848268A (en) Intelligent adjusting method, mobile terminal and the readable storage medium storing program for executing of screen intensity
CN105549967A (en) Myopia prevention method of intelligent electronic device
CN106599664A (en) Iris unlocking method and device and mobile terminal
CN108549802A (en) A kind of unlocking method, device and mobile terminal based on recognition of face
CN110534073A (en) A kind of screen luminance adjustment method and device
CN106375855A (en) Household intelligent equipment dormancy method
CN104375648A (en) Wrist type device and using method thereof
CN105845101A (en) Method and apparatus for adjusting display brightness of device
CN105867605A (en) Functional menu page-turning method and apparatus for virtual reality helmet, and helmet
CN107451529A (en) Eye care method, device, mobile terminal and the storage medium of mobile terminal
CN106022036A (en) Retina recognition based intelligent glasses operation interface security verification method and intelligent glasses
CN107273732A (en) It is a kind of for the unlocking method of mobile terminal, device, equipment and storage medium

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