The determination methods of display device using state and circuit
[technical field]
The present invention relates to determination methods and circuit that whether a kind of display device is in using state.
[background technology]
Along with the arithmetic capability of mobile electronic device is increasing, resolution of screen and refresh rate more and more higher, the equipment in working order interior power consumption consumed of lower unit interval also improves rapidly, and the battery technology of mobile device does not significantly develop, this service time just causing mobile electronic device is fewer and feweri, and usual every day all will charge.Reading, surf the Net, watching video is the most important application scenarios of mobile electronic device, and being the scene that electric quantity consumption is maximum, if way can be had when not affecting Consumer's Experience effectively to reduce the working time of these scenes, will be significantly work.
Method common at present pre-sets a dormancy time, when not having user to operate in the time that duty continues, then equipment entered dormant state.The bad place of this method is, if user continues to use, then must carry out some useless operations at set intervals to allow equipment maintenance work to allow equipment not carry out dormancy, bringing very large redundant operation and bad Consumer's Experience like this to user; Or when the auto sleep time is longer, user has left but equipment time that still will by the time arrange just enters dormancy, waste the energy so also in a large number.
Therefore the present invention proposes a kind of batch (-type) using state determination methods, by at set intervals to whether there being user using equipment to judge before screen, if have user in use, keep running status, otherwise enter dormant state immediately to save power consumption, then between rest period, observation User Status is still kept, after waiting for that user returns, recover equipment state when user leaves at once.
[summary of the invention]
One of the technical problem to be solved in the present invention, be the determination methods that a kind of display device using state is provided, before at set intervals to screen, whether there is user using equipment to judge, if have user in use, keep running status, otherwise enter dormant state immediately to save power consumption, then between rest period, still keep observation User Status, after waiting for that user returns, recover equipment state when user leaves at once.
One of the technical problem to be solved in the present invention is achieved in that a kind of determination methods of display device using state, specifically comprises the steps:
Step 10, arrange the timing cycle duration under duty and the timing cycle duration under holding state and store, the timing cycle duration wherein under holding state can be grown up than during timing cycle under duty;
Step 20, after display device enters the mode of operation pre-set, timing starts, and when reaching the timing cycle duration under described duty when timing duration, opens camera;
Step 30, the image information of camera collection to be identified, judge whether there is human face's relevant information in image, and whether have user before judging screen with this in use;
If step 40 judged result is using equipment for user, then this is judging to terminate, and gets back to step 10, to carry out next round judgement; If judged result is not for user is at use equipment, CPU enters standby mode in saving scene relief system, allows screen close, and timing cycle becomes the timing cycle under holding state.
Further, in described step 20, described camera comprises common camera and infrared camera; Before unlatching camera, first gather intensity signal, and judge and choice for use common camera or infrared camera according to intensity signal.
Further, whether judging in described step 30 exists human face's relevant information mode in image comprises complete recognition of face judgement, eyes identification judges, simple eye identify judge, at least one that nose identification judgement or mouth identification judge.
One of the technical problem to be solved in the present invention two, be the decision circuitry that a kind of display device using state is provided, before at set intervals to screen, whether there is user using equipment to judge, if have user in use, keep running status, otherwise enter dormant state immediately to save power consumption, then between rest period, still keep observation User Status, after waiting for that user returns, recover equipment state when user leaves at once.
Two of the technical problem to be solved in the present invention is achieved in that a kind of decision circuitry of display device using state, comprise preset value mode of operation storage unit, interval time storage unit, timer, camera unit, recognition of face judging unit, final judging unit and screen controller; Described preset value mode of operation storage unit, the equal connection timer of storage unit interval time; Described timer, camera unit, recognition of face judging unit, final judging unit and screen controller connect successively;
Described interval time, storage unit stored the timing cycle duration under duty and the timing cycle duration under holding state, and the timing cycle duration wherein under holding state can be grown up than during timing cycle under duty;
After display device enters the mode of operation pre-set, timer starts timing, and when reaching the timing cycle duration under described duty when timing duration, will complete timing signal and be sent to described camera unit, camera unit also opens camera; The image information of described recognition of face judging unit to camera collection identifies, judge whether there is human face's relevant information in image, and judged result is sent to described final judging unit, whether conclusive judgement unit is responsible for comprehensively adjudicating exists human face's relevant information in image, and whether has user before judging screen with this in use; If judged result is using equipment for user, then this is judging that terminating preparation carries out next round judgement; If judged result is not for user is at use equipment, CPU enters standby mode in saving scene relief system, and screen controller can quit work, and allows screen close; The timing cycle of timer becomes the timing cycle under holding state.
Further, decision circuitry of the present invention, also comprises light intensity decision threshold storage unit, light intensity sensor and camera selection unit, and described camera unit is dual camera unit; Described light intensity decision threshold storage unit, light intensity sensor all connect described camera selection unit, and described camera selection unit connects dual camera unit, strong sensor also connection timer; This dual camera unit connects common camera and infrared camera respectively.
Further, described recognition of face judging unit comprises at least one of complete recognition of face judge module, eyes identification judge module, simple eye identification judge module, nose identification judge module or mouth identification judge module; Described complete recognition of face judge module, eyes identification judge module, simple eye identification judge module, nose identification judge module or mouth identification judge module connect described camera unit and conclusive judgement unit respectively.
Tool of the present invention has the following advantages:
1. the invention provides a kind of batch (-type) using state determination methods, by at set intervals to whether there being user using equipment to judge before screen, if have user in use, keep running status, otherwise enter dormant state immediately to save power consumption, then between rest period, observation User Status is still kept, after waiting for that user returns, recover equipment state when user leaves at once;
2., time in order to prevent mobile device from using, user distance equipment more closely causes image acquisition can only collect face local, so propose the structure of multiple local judging unit, the result judged according to multiple local carrys out the using state of comprehensive descision user;
3., in order to adapt to the identification to user under varying environment optical condition, use light intensity sensor to judge under home light-intensity conditions, use common camera still under weak environmental light intensity condition, to use infrared camera;
4. the present invention can not only be applied to mobile device, also can be applied to the equipment of TV and other band display screens.
[accompanying drawing explanation]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the FB(flow block) of determination methods one of the present invention preferred embodiment.
Fig. 2 is the theory structure block diagram of decision circuitry one of the present invention preferred embodiment.
[embodiment]
As shown in Figure 1, the preferred embodiment of the determination methods of display device using state of the present invention, specifically comprises the steps:
Step 10, arrange the timing cycle duration under duty and the timing cycle duration under holding state and store, the timing cycle duration wherein under holding state can be grown up than during timing cycle under duty.
Step 20, enter reading when display device, online, after the mode of operation that viewing video etc. pre-sets, timing starts, and when reaching the timing cycle duration under described duty when timing duration, opens camera; Described camera comprises common camera and infrared camera; Before unlatching camera, first gather intensity signal, and judge and choice for use common camera or infrared camera according to intensity signal, when light intensity is more than or equal to the threshold values pre-set, choice for use common camera, when light intensity is less than this threshold values, choice for use infrared camera.
Step 30, the image information of camera collection to be identified, judge whether there is human face's relevant information in image, and whether have user before judging screen with this in use; Judgment mode comprises at least one that complete recognition of face judgement, eyes identification judgement, simple eye identification judgement, nose identification judgement or mouth identification judge.
If step 40 judged result is using equipment for user, then this is judging to terminate, and gets back to step 10, to carry out next round judgement; If judged result is not for user is at use equipment, CPU enters standby mode in saving scene relief system, allows screen close, and timing cycle becomes the timing cycle under holding state.
Again as depicted in figs. 1 and 2, the preferred embodiment of the decision circuitry 100 of display device using state of the present invention, comprise preset value mode of operation storage unit 1, interval time storage unit 2, timer 3, camera unit, recognition of face judging unit 5, final judging unit 6 and screen controller 7; Also comprise light intensity decision threshold storage unit 8, light intensity sensor 9 and camera selection unit 10, and described camera unit is dual camera unit 4.Described preset value mode of operation storage unit 1, the equal connection timer 3 of storage unit 2 interval time; Described timer 3, dual camera unit 4, recognition of face judging unit 5, final judging unit 6 and screen controller 7 connect successively, and final judging unit 6 also connects CPU; Described light intensity decision threshold storage unit 8, light intensity sensor 9 all connect described camera selection unit 10, and light intensity sensor 9 goes back connection timer 3, and described camera selection unit 10 connects dual camera unit 4; This dual camera unit 4 connects common camera (not shown) and infrared camera (not shown) respectively.
Described recognition of face judging unit 5 comprises complete recognition of face judge module 51, eyes identification judge module 52, simple eye identification judge module 53, nose identification judge module 54 and mouth identification judge module 55; Described complete recognition of face judge module 51, eyes identification judge module 52, simple eye identification judge module 53, nose identification judge module 54 or mouth identification judge module 55 connect described dual camera unit 4 and conclusive judgement unit 6 respectively.
Described interval time, storage unit 2 stored the timing cycle duration under duty and the timing cycle duration under holding state, and the timing cycle duration wherein under holding state can be grown up than during timing cycle under duty; Before circuit working, need first to the preset value mode of operation storage unit 1 in circuit, light intensity decision threshold storage unit 8 and interval time storage unit 2 to be configured. then circuit just can start normal work.Its course of work is:
S1, after display device enters the mode of operation pre-set, timer 3 starts timing, when reaching the timing cycle duration under described duty when timing duration, will complete timing signal and be sent to described dual camera unit 4 and light intensity sensor 9;
After S2, light intensity sensor 9 have received timing signal, start to gather intensity signal, and light intensity data has been sent to camera selection unit 10;
S3, camera selection unit 10, according to the storing value of light intensity decision threshold storage unit 8, judge to use common camera or infrared camera, and judged result are sent to dual camera unit 4; When light intensity be more than or equal to threshold values is set time, dual camera unit 4 choice for use common camera, when light intensity be less than threshold values is set time, choice for use infrared camera;
S4, after dual camera unit 4 has received timing signal, and according to the judged result of camera selection unit 10, open among common camera and infrared camera, and the image information of camera collection is sent to 5 judge modules in recognition of face judging unit 5;
The image information of S5, described recognition of face judging unit 5 pairs of camera collections identifies, judges whether there is human face's relevant information in image, and judged result is sent to described final judging unit 6, specifically:
(1), full face identification judge module 51 carries out complete recognition of face by face full face identification circuit to the image gathered and judges, judges the full face that whether there are the mankind in image, and judged result is sent to final judging unit;
(2), eyes identification judge module 52 carries out eyes identification judgement by the identification circuit of two eyes in face to the image gathered, and judges the eyes that whether there are the mankind in image, and judged result is sent to final judging unit;
(3), simple eye identification judge module 53 carries out simple eye identifications judgement by the identification circuit of eye to the image gathered, and judges the eyes that whether there are the mankind in image, and judged result is sent to final judging unit;
(4), nose identification judge module 54 carries out nose identification judgement by the identification circuit of nose in face to the image gathered, and judges the nose that whether there are the mankind in image, and judged result is sent to final judging unit;
(5), face identification judge module 55 carries out mouth identification judgement by the identification circuit of face in face to the image gathered, and judges the mouth that whether there are the mankind in image, and judged result is sent to final judging unit.
Whether S6, conclusive judgement unit 6 are responsible for comprehensively adjudicating exists human face's relevant information in image, and whether has user before judging screen with this in use; And judged result is sent to CPU and screen controller 7 and timer 3; If in 5 judge modules, any one judged result is the effective face part of appearance above, then conclusive judgement is using equipment for user, if all 5 judge modules are all judged as not occurring effective face part, then conclusive judgement is not for user is at use equipment; If judged result is using equipment for user, then this is judging that terminating preparation carries out next round judgement; If judged result is not for user is at use equipment, CPU enters standby mode in saving scene relief system, and screen controller 7 can quit work, and allows screen close; The timing cycle of timer becomes the timing cycle under holding state.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.