CN103458111B - A kind of method of cell phone intelligent sleep - Google Patents

A kind of method of cell phone intelligent sleep Download PDF

Info

Publication number
CN103458111B
CN103458111B CN201310359779.1A CN201310359779A CN103458111B CN 103458111 B CN103458111 B CN 103458111B CN 201310359779 A CN201310359779 A CN 201310359779A CN 103458111 B CN103458111 B CN 103458111B
Authority
CN
China
Prior art keywords
screen
human eye
mobile phone
now
time
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
CN201310359779.1A
Other languages
Chinese (zh)
Other versions
CN103458111A (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 Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310359779.1A priority Critical patent/CN103458111B/en
Publication of CN103458111A publication Critical patent/CN103458111A/en
Application granted granted Critical
Publication of CN103458111B publication Critical patent/CN103458111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the method for a kind of cell phone intelligent sleep, comprise the steps: S1, put out the screen time and arrive, now do not extinguish screen at once, but open camera, start timer T1; S2, unlatching front-facing camera, take pictures, and carry out graphical analysis, judge whether to there is human eye; If S3 exists human eye, so timeing closing device T1, resets and puts out the screen time, and now screen keeps illuminating state; S4, if there is no human eye, so start gyroscope, within the timer T1 time, reads the data of gyroscope three axle always; If S5 is close to 0, so illustrate mobile phone be in static and without operation state, so timeing closing device T1, allow mobile phone enter simultaneously and put out screen state, if some axles of three axles are greater than the maximal value of setting, so illustrate that now mobile phone exists shake, just reset and put out the screen time.The improvement that the present invention can compare current intelligent sleep, reduces the problem that nonrecognition was lost efficacy.

Description

A kind of method of cell phone intelligent sleep
Technical field
The present invention relates to the technical field of cell phone, particularly a kind of cell phone intelligent method of sleeping.
Background technology
In the function of smart mobile phone integrated intelligent body sense more and more, wherein intelligent sleep is more typical one.The effect of intelligent sleep is exactly when bright screen, even if user does not have operating handset, arrived the time of automatic extinguishing screen, as long as eyes stare at screen, so screen would not extinguish.Its principle is exactly the eye recognition by camera, when mobile phone will put out screen, automatically opens front-facing camera, detects whether there is human eye, carries out putting out screen and controls.
But the intelligent sleep of this mode due to the visual angle of camera and distance all restricted, than be easier to occur to identify less than situation, such as when mobile phone distance eye is comparatively far away, or eyes do not face camera.
Summary of the invention
The object of the invention is to overcome the shortcoming of prior art and deficiency, a kind of method that cell phone intelligent is slept is provided.
Object of the present invention is achieved through the following technical solutions:
The method of cell phone intelligent sleep of the present invention, comprises the steps:
S1, put out the screen time and arrive, now do not extinguish screen at once, but open camera, start timer T1;
S2, unlatching front-facing camera, take pictures, and carry out graphical analysis, carry out eye recognition, judge whether to there is human eye;
If S3 exists human eye, so timeing closing device T1, resets and puts out the screen time, and now screen keeps illuminating state;
S4, if there is no human eye, so start gyroscope, and within the timer T1 time, read the data of gyroscope three axle always, and judge x, whether the value of y, z tri-axles is close to 0;
If S5 is close to 0, so illustrate mobile phone be in static and without operation state, so timeing closing device T1, allow mobile phone enter simultaneously and put out screen state, if some axles of three axles are greater than the maximal value of setting, so illustrate that now mobile phone exists shake, just reset and put out the screen time.
Preferably, the time that described timer T1 is arranged is 8-15 second.
Preferably, in step S2, the method for carrying out graphical analysis is:
S21, binary conversion treatment is carried out to image;
The binaryzation feature database of the various human eye picture of S22, embedded in mobile phone;
S23, travel through whole pictures, check the multiple Feature Combinations that whether there is human eye, if existed, so think and comprise human eye in this pictures.
Preferably, in step S5, the maximal value of described setting be 20 degree per second.
Preferably, after step S5, re-execute step S1-S5; When again performing step S5, if state is now camera human eye do not detected, mobile phone is still in dither state simultaneously, now then carries out putting out screen process.
Preferably, in step S5, it is 8-15 second that the screen time is put out in replacement.
The present invention has following advantage and effect relative to prior art:
1, after using the present invention, the improvement that we can compare current intelligent sleep, reduces the problem that nonrecognition was lost efficacy.
2, the present invention is by the detection to human eye, can detect whether mobile phone really needs to be in illuminating state more accurately.
Accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment
As shown in Figure 1, the method for a kind of cell phone intelligent sleep of the present invention, comprises the steps:
Step 1: put out the screen time and arrive, now do not extinguish screen at once, but open camera, start timer T1(such as 10s timing).
Step 2: open front-facing camera, take pictures, and carry out graphical analysis, carry out eye recognition, judge whether to there is human eye.
The concrete steps of carrying out graphical analysis and eye recognition are:
1, binary conversion treatment is carried out to image, i.e. black and white process, because when eye recognition, just need black and white picture just passable;
2, the binaryzation feature database of the various human eye picture of embedded in mobile phone;
3, travel through whole pictures, check the multiple Feature Combinations that whether there is human eye, if existed, so think and comprise human eye in this pictures.
Step 3: if there is human eye, so timeing closing device T1, reset and put out the screen time, now screen can not extinguish naturally.
Step 4: if there is no human eye, (gyroscope is also called angular-rate sensor, can detect x so to start gyroscope, y, z tri-angular velocity of axle, when mobile phone is static, the value of three axles is close to 0, if mobile phone is held on hand, so the value of three axles is scarcely can close to 0), in timer T1 time-out time, read the data of gyroscope three axle always, and judge x, whether the value of y, z tri-axles is close to 0.
Step 5: if close to 0, so illustrate mobile phone be in static and without operation state, so timeing closing device T1, allow mobile phone enter simultaneously and put out screen state, if some axles of three axles are greater than setting value, so illustrating that now mobile phone exists shake, is exactly probably that user is by hand held for mobile phone reading, so just reset and put out the screen time, again perform one time from step 1.
Step 6: when again performing step 5, state so is now that camera does not detect human eye, and mobile phone is still in dither state simultaneously, now then carries out putting out screen process, in order to the environment avoiding mobile phone to be in shake for a long time, but user does not consult this situation of mobile phone.
One of ordinary skill in the art will appreciate that all or part of step realized in the various embodiments described above method is that the hardware that can carry out instruction relevant by program has come, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
Above-described embodiment is the present invention's preferably embodiment; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (4)

1. a method for cell phone intelligent sleep, is characterized in that, comprise the steps:
S1, put out the screen time and arrive, now do not extinguish screen at once, but open camera, start timer T1;
S2, unlatching front-facing camera, take pictures, and carry out graphical analysis, carry out eye recognition, judge whether to there is human eye; The method of carrying out graphical analysis is:
S21, binary conversion treatment is carried out to image;
The binaryzation feature database of the various human eye picture of S22, embedded in mobile phone;
S23, travel through whole pictures, check the multiple Feature Combinations that whether there is human eye, if existed, so comprise human eye in this pictures;
If S3 exists human eye, so timeing closing device T1, resets and puts out the screen time, and now screen keeps illuminating state;
S4, if there is no human eye, so start gyroscope, and within the timer T1 time, read the data of gyroscope three axle always, and judge x, whether the value of y, z tri-axles is close to 0;
If S5 is close to 0, so illustrate mobile phone be in static and without operation state, so timeing closing device T1, allow mobile phone enter simultaneously and put out screen state, if some axles of three axles are greater than the maximal value of setting, so illustrate that now mobile phone exists shake, just reset and put out the screen time;
S6, re-execute step S1-S5; When again performing step S5, if state is now camera human eye do not detected, mobile phone is still in dither state simultaneously, now then carries out putting out screen process.
2. the method for cell phone intelligent sleep according to claim 1, it is characterized in that, the time that described timer T1 is arranged is 8-15 second.
3. the method for cell phone intelligent according to claim 1 sleep, is characterized in that, in step S5, the maximal value of described setting be 20 degree per second.
4. the method for cell phone intelligent sleep according to claim 1, is characterized in that, in step S5, it is 8-15 second that the screen time is put out in replacement.
CN201310359779.1A 2013-08-17 2013-08-17 A kind of method of cell phone intelligent sleep Active CN103458111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310359779.1A CN103458111B (en) 2013-08-17 2013-08-17 A kind of method of cell phone intelligent sleep

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310359779.1A CN103458111B (en) 2013-08-17 2013-08-17 A kind of method of cell phone intelligent sleep

Publications (2)

Publication Number Publication Date
CN103458111A CN103458111A (en) 2013-12-18
CN103458111B true CN103458111B (en) 2015-09-02

Family

ID=49740051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310359779.1A Active CN103458111B (en) 2013-08-17 2013-08-17 A kind of method of cell phone intelligent sleep

Country Status (1)

Country Link
CN (1) CN103458111B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902044B (en) * 2014-04-09 2018-06-19 努比亚技术有限公司 Intelligence puts out screen method and mobile terminal
CN103986873B (en) * 2014-05-28 2017-12-01 广州视源电子科技股份有限公司 A kind of display device image pickup method and display device
CN104093071A (en) * 2014-06-18 2014-10-08 惠州Tcl移动通信有限公司 Playing method and playing device
CN104252230B (en) * 2014-09-04 2018-04-27 苏州三星电子电脑有限公司 Laptop screen method of controlling switch
CN104506728A (en) * 2014-12-25 2015-04-08 昆山工研院新型平板显示技术中心有限公司 Mobile phone identity authentication device and mobile phone identity authentication method
CN106033253A (en) * 2015-03-12 2016-10-19 中国移动通信集团公司 A terminal control method and device
EP3499852B1 (en) 2016-09-09 2021-03-24 Huawei Technologies Co., Ltd. Method and device for controlling screen of mobile terminal
CN106547358B (en) * 2016-11-25 2019-06-04 维沃移动通信有限公司 A kind of display methods and terminal of terminal time information
CN107219914B (en) * 2017-05-31 2020-10-20 广东小天才科技有限公司 Method and device for saving electric quantity
CN107241648B (en) * 2017-06-26 2019-05-24 中广热点云科技有限公司 The mobile terminal of video is played under a kind of screen lock state under video broadcasting method and screen lock state

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594999A (en) * 2012-01-30 2012-07-18 郑凯 Method and system for performing adaptive mobile phone energy conservation through face identification
CN102999162A (en) * 2012-11-20 2013-03-27 广东欧珀移动通信有限公司 Mobile terminal as well as automatic bright screen state keeping method and system thereof
CN103024146A (en) * 2012-11-20 2013-04-03 广东欧珀移动通信有限公司 Method for controlling display screen and mobile intelligent terminal
CN103150194A (en) * 2013-04-10 2013-06-12 天津三星光电子有限公司 Sleep control method of mobile terminal and mobile terminal thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465100A (en) * 2007-12-19 2009-06-24 诚实科技香港有限公司 Method for and device controlling screen backlight unit switch of portable electronic device
CN102648615B (en) * 2009-10-16 2015-11-25 罗姆股份有限公司 Mobile device
CN101697563A (en) * 2009-10-26 2010-04-21 宇龙计算机通信科技(深圳)有限公司 Power saving method for mobile terminal and mobile terminal
CN102984372A (en) * 2012-11-21 2013-03-20 广东欧珀移动通信有限公司 Method and device for extinguishing and lighting screen and mobile terminal
CN103067578B (en) * 2012-12-24 2015-12-23 惠州Tcl移动通信有限公司 A kind of intelligent screen lock function realizing method based on mobile terminal and mobile terminal
CN103105922A (en) * 2013-02-19 2013-05-15 广东欧珀移动通信有限公司 Method and device for mobile terminal backlight control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594999A (en) * 2012-01-30 2012-07-18 郑凯 Method and system for performing adaptive mobile phone energy conservation through face identification
CN102999162A (en) * 2012-11-20 2013-03-27 广东欧珀移动通信有限公司 Mobile terminal as well as automatic bright screen state keeping method and system thereof
CN103024146A (en) * 2012-11-20 2013-04-03 广东欧珀移动通信有限公司 Method for controlling display screen and mobile intelligent terminal
CN103150194A (en) * 2013-04-10 2013-06-12 天津三星光电子有限公司 Sleep control method of mobile terminal and mobile terminal thereof

Also Published As

Publication number Publication date
CN103458111A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103458111B (en) A kind of method of cell phone intelligent sleep
US11574611B2 (en) Electronic device and method for controlling the same
KR102349428B1 (en) Method for processing image and electronic device supporting the same
US20180329055A1 (en) Method and apparatus for detecting that a device is immersed in a liquid
CN107851422A (en) Display control method in electronic equipment and electronic equipment
KR102317820B1 (en) Method for processing image and electronic device supporting the same
CN109257484A (en) A kind of brightness of display screen processing method and terminal device
KR102278945B1 (en) Image processing method and electronic device supporting the same
US20200249821A1 (en) Notification Handling Method and Electronic Device
KR102272108B1 (en) Image processing apparatus and method
CN103412643B (en) Terminal and its method for remote control
CN106557135A (en) Temperature of processor regulates and controls method and device
CN106062706A (en) Device and method for controlling display
CN110214375A (en) Imaging sensor and electronic equipment including it
CN106210532B (en) One kind is taken pictures processing method and terminal device
KR102151135B1 (en) Method for managing power and electronic device thereof
EP3287924B1 (en) Electronic device and method for measuring heart rate based on infrared rays sensor using the same
CN103024163A (en) Method and system for protecting eyesight and mobile terminal
CN104092822A (en) Mobile phone state switching method and system based on face detection and eyeball tracking
CN107613283A (en) The focus control based on object or region in video
KR102424296B1 (en) Method, storage medium and electronic device for providing a plurality of images
CN107664841A (en) Intelligent glasses and the method for controlling intelligent glasses dormancy awakening
CN105204651A (en) Control method and device
CN107888838A (en) For handling the method for image and supporting the electronic equipment of this method
US20160150478A1 (en) Data Processing Method, Terminal, Subscriber Identity Module Card, and System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder