CN104679250A - Method and device for controlling working condition of electronic device - Google Patents

Method and device for controlling working condition of electronic device Download PDF

Info

Publication number
CN104679250A
CN104679250A CN201510104461.8A CN201510104461A CN104679250A CN 104679250 A CN104679250 A CN 104679250A CN 201510104461 A CN201510104461 A CN 201510104461A CN 104679250 A CN104679250 A CN 104679250A
Authority
CN
China
Prior art keywords
electronic equipment
user
mode
facial information
electronic 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.)
Granted
Application number
CN201510104461.8A
Other languages
Chinese (zh)
Other versions
CN104679250B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510104461.8A priority Critical patent/CN104679250B/en
Publication of CN104679250A publication Critical patent/CN104679250A/en
Application granted granted Critical
Publication of CN104679250B publication Critical patent/CN104679250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method and a device for controlling a working condition of an electronic device. The method and the device are used for reasonably controlling the duration of using the electronic device by a user. The method comprises the following steps of detecting facial information of a first user holding the electronic device through a first camera device arranged on the electronic device; detecting gesture action information of a second user through a second camera device arranged on the electronic device; confirming whether the facial information meets a triggering condition or not and confirming if the gesture action information is matched with a preset gesture parameter or not; if confirming that the facial information meets the triggering condition and the gesture action information is matched with the preset gesture parameter, controlling the electronic device to be at a preset first working mode. According to the technical scheme provided by the invention, the duration of using the electronic device by the first user can be reasonably controlled, and the monitoring strength of the second user on the moment that the first user uses the electronic device is improved.

Description

Control method and the device of electronic device works state
Technical field
The disclosure relates to communication technical field, particularly relates to a kind of method and the device that control electronic device works state.
Background technology
Along with popularizing fast of intelligent electronic device (such as, mobile phone, panel computer etc.), minor also becomes the consumer group of intelligent electronic device, and a lot of juvenile even can depend on intelligent electronic device unduly.Because the intelligence of juvenile is not yet ripe, therefore self-control is more weak, and in the use procedure of intelligent electronic device, the eyes of juvenile can be nearer apart from the screen of intelligent electronic device, time longer when deployed, be very easy to cause the eye strain of juvenile and finally cause myopia.
In correlation technique, in the occasion of dark, can by the screen of intelligent electronic device be adjusted to " Night ", now, screen interface background is darker tone, color due to screen interface is no longer the white stimulating eyes, therefore suitably can reduce the stimulation of screen interface to eyes.Although the stimulation of screen exit rays to eyes really can be reduced under " Night ", if the duration of electronic intelligence equipment can not be used by conservative control, when using for a long time, eyes still can be made to feel tired.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides a kind of method and the device that control electronic device works state, uses the duration of electronic equipment in order to conservative control user.
According to the first aspect of disclosure embodiment, provide a kind of method controlling electronic device works state, application on an electronic device, comprising:
The facial information of the first user of hand-held described electronic equipment is detected by the first camera head be arranged on described electronic equipment;
The gesture motion information of the second user is detected by the second camera head be arranged on described electronic equipment;
Determine described facial information whether meet trigger condition and described gesture motion information whether with the gesture match parameters preset;
If determine that described facial information meets described trigger condition and described gesture motion information and described default gesture match parameters; control the first mode of operation that described electronic device works is being preset, described first mode of operation is the safeguard protection pattern of described electronic equipment.
In one embodiment, described facial information comprises the first ratio value, and the described facial information being detected the face of the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment, can be comprised:
Face datection is carried out by the first user of the first camera head to hand-held described electronic equipment be arranged on described electronic equipment;
Determine the first ratio value of the image of the face that the width of described face and described first camera head get.
In one embodiment, describedly determine whether described facial information meets trigger condition, can comprise:
Described first ratio value and first threshold are compared;
When described first ratio value is greater than described first threshold, determine to meet described trigger condition.
In one embodiment, described facial information comprises the second ratio value, and the described facial information being detected the face of the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment, can be comprised:
By be arranged on described electronic equipment first camera head obtain hand-held described electronic equipment first user eyes between distance;
Determine the second ratio value of the image of the face that distance between described eyes and described first camera head get.
In one embodiment, describedly determine whether described facial information meets trigger condition, can comprise:
Described second ratio value and Second Threshold are compared;
When described second ratio value is greater than described Second Threshold, determine to meet described trigger condition.
In one embodiment, described method also can comprise:
The facial information of described first user is being detected in the setting-up time section of described electronic device works after the first mode of operation preset;
When described facial information changes, described electronic equipment is adjusted to normal mode of operation from described first mode of operation, performs the described step being detected the facial information of the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment.
In one embodiment, described method also can comprise:
If described facial information continues to meet described trigger condition in described setting-up time section, control the second mode of operation that described electronic device works is being preset, the safe class of described second mode of operation is higher than the safe class of described first mode of operation.
According to the second aspect of disclosure embodiment, provide a kind of device controlling electronic device works state, application on an electronic device, comprising:
First detection module, is configured to the facial information being detected the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment;
Second detection module, is configured to the gesture motion information being detected the second user by the second camera head be arranged on described electronic equipment;
First determination module, is configured to determine whether the described facial information that described first detection module detects meets trigger condition and determine whether the described gesture motion information that described second detection module detects meets the second trigger condition;
First control module; if be configured to described first determination module determine to meet described trigger condition and determine described gesture motion information and described default gesture match parameters; control the first mode of operation that described electronic device works is being preset, described first mode of operation is the safeguard protection pattern of described electronic equipment.
In one embodiment, described facial information comprises the first ratio value, and described first detection module can comprise:
Detection sub-module, is configured to carry out Face datection by the first user of the first camera head to hand-held described electronic equipment be arranged on described electronic equipment;
First determines submodule, is configured to determine the first ratio value of the image of the face that the width of the described face that described detection sub-module detects and described first camera head get.
In one embodiment, described first determination module can comprise:
First comparison sub-module, is configured to determine that by described first described first ratio value that submodule is determined and first threshold compare;
Second determines submodule, be configured to when the comparative result of described first comparison sub-module be described first ratio value be greater than described first threshold time, determine to meet described trigger condition.
In one embodiment, described facial information comprises the second ratio value, and described first detection module can comprise:
Second obtain submodule, be configured to by be arranged on described electronic equipment first camera head obtain hand-held described electronic equipment first user eyes between distance;
3rd determines submodule, is configured to determine the described second the second ratio value obtaining the image of the face that distance between described eyes that submodule gets and described first camera head get.
In one embodiment, described first determination module can comprise:
Second comparison sub-module, is configured to determine that by the described 3rd described second ratio value that submodule is determined and Second Threshold compare;
4th determines submodule, be configured to when the comparative result of described second comparison sub-module be described second ratio value be greater than described Second Threshold time, determine to meet described trigger condition.
In one embodiment, described device also can comprise:
3rd detection module, be configured to control described electronic device works after the first mode of operation preset in described first control module, in the setting-up time section of described electronic device works after the mode of operation preset, detecting the facial information of described first user;
State adjusting module, be configured to when described 3rd detection module detects that described facial information changes, described electronic equipment is adjusted to normal mode of operation from described first mode of operation, and described first detection module performs the described step being detected the facial information of the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment.
In one embodiment, described device also can comprise:
Second control module, if be configured to described 3rd detection module to detect that described facial information continues to meet described trigger condition in described setting-up time section, control the second mode of operation that described electronic device works is being preset, the safe class of described second mode of operation is higher than the safe class of described first mode of operation.
According to the third aspect of disclosure embodiment, a kind of device controlling electronic device works state is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The facial information of the first user of hand-held described electronic equipment is detected by the first camera head be arranged on described electronic equipment;
The gesture motion information of the second user is detected by the second camera head be arranged on described electronic equipment;
Determine described facial information whether meet trigger condition and described gesture motion whether with the gesture match parameters preset;
If determine to meet described trigger condition and described gesture motion information and described default gesture match parameters, control the first mode of operation that described electronic device works is being preset, described first mode of operation is the safeguard protection pattern of described electronic equipment.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: determine the facial information of first user meet trigger condition and the gesture motion information of the second user with preset gesture match parameters when, control the first mode of operation that electronic device works is being preset, due to the safeguard protection pattern that the first mode of operation is electronic equipment, thus the duration of electronic equipment can be used by conservative control first user, improve the second user to the control and monitoring of first user when using electronic equipment, avoid first user due to the long-time visual fatigue closely using electronic equipment to cause, reduce the stimulation to the eye of first user.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment.
Fig. 2 A is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment one.
Fig. 2 B is the schematic diagram of the face of first user according to an exemplary embodiment one.
Fig. 3 A is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment two.
Fig. 3 B is the schematic diagram of the eye of first user according to an exemplary embodiment two.
Fig. 4 is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment three.
Fig. 5 is a kind of block diagram controlling the device of electronic device works state according to an exemplary embodiment.
Fig. 6 is the block diagram that another kind according to an exemplary embodiment controls the device of electronic device works state.
Fig. 7 is the block diagram that another according to an exemplary embodiment controls the device of electronic device works state.
Fig. 8 is the block diagram that another according to an exemplary embodiment controls the device of electronic device works state.
Fig. 9 is a kind of block diagram being applicable to the device controlling electronic device works state according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment, the method of this control electronic device works state can be applied on electronic equipment (such as: smart mobile phone, panel computer, game machine etc.), can be realized by the mode of set up applications (app) or application software on an electronic device, as shown in Figure 1, the method for this control electronic device works state comprises the following steps S101-S104:
In step S101, detected the facial information of the first user of hand-hold electronic equipments by the first camera head arranged on an electronic device;
In one embodiment, first camera head can be the front-facing camera of electronic equipment, in one embodiment, the facial information of first user can comprise the face information, human eye information etc. of first user, the width of the face of face information such as first user, the distance between the eyes of human eye information such as first user.
In step s 102, the gesture motion information of the second user is detected by the second camera head be arranged on described electronic equipment.
In one embodiment, the second camera head can be the post-positioned pick-up head of electronic equipment, and in one embodiment, the gesture motion of the second user is such as V-shaped, or the gesture motion of the second user is such as finger of the different numbers that the second user stretches out etc.
In step s 103, determine facial information whether meet trigger condition and determine gesture motion information whether with the gesture match parameters preset.
In one embodiment, such as, the first ratio value between the width of the image of the face got when width and first camera head of the face of first user is greater than first threshold, or when the second ratio value between the width of the image of the face that the distance between the eyes of first user and the first camera head get is greater than Second Threshold, illustrate that the screen of the face distance electronic equipment of first user is comparatively near, meet trigger condition.In one embodiment, second user is in the close together found between the face of first user and the screen of electronic equipment and need to prevent first user when continuing to keep same posture to watch the screen of electronic equipment attentively, the gesture motion of setting can be made in the field range of the post-positioned pick-up head of electronic equipment, the second user can be made to use the duration of electronic equipment to carry out remote control to first user by the gesture motion of this setting, the quarrel avoiding the second user to seize electronic equipment by force from first user hand bringing.
In step S104, if determine that facial information meets trigger condition and gesture motion information and the gesture match parameters preset, control the first mode of operation that electronic device works is being preset, the first mode of operation is the safeguard protection pattern of described electronic equipment.
In one embodiment, first mode of operation can be suspension state or the unencryption screen lock state of electronic equipment, suspension state can comprise: close the data cube computation of electronic equipment (such as, the network such as 2G, 3G, 4G connects), close the wireless network (such as, the wireless network such as WIFI, bluetooth) of electronic equipment.It will be appreciated by persons skilled in the art that the first mode of operation in disclosure embodiment can be determined the restriction of first user according to the second user, disclosure embodiment does not limit concrete implementation.
Be minor children for first user and the father and mother that the second user is these children carry out exemplary illustration, before these children use electronic equipment, the method of the control electronic device works state of the present disclosure on its father and mother's unlocking electronic equipment, thus automatically can monitor the custom that these children use electronic equipment, and the screen can preventing the eye distance electronic equipment of children is in time too near.
In the present embodiment, determine the facial information of first user meet trigger condition and the gesture motion information of the second user with preset gesture match parameters when, control the first mode of operation that electronic device works is being preset, due to the safeguard protection pattern that the first mode of operation is electronic equipment, thus the duration of electronic equipment can be used by conservative control first user, improve the second user to the control and monitoring of first user when using electronic equipment, avoid first user due to the long-time visual fatigue closely using electronic equipment to cause, reduce the stimulation to the eye of first user.
In one embodiment, facial information comprises the first ratio value, is detected the facial information of the face of the first user of hand-hold electronic equipments, can comprise by the first camera head be arranged on described electronic equipment:
By the first camera head arranged on an electronic device, Face datection is carried out to the first user of hand-hold electronic equipments;
Determine the first ratio value of the image of the face that the width of face and the first camera head get.
In one embodiment, determine whether facial information meets trigger condition, can comprise:
First ratio value and first threshold are compared;
When the first ratio value is greater than first threshold, determine to meet trigger condition.
In one embodiment, facial information comprises the second ratio value, is detected the facial information of the face of the first user of hand-hold electronic equipments, can comprise by the first camera head be arranged on described electronic equipment:
By arrange on an electronic device first camera head obtain hand-hold electronic equipments first user eyes between distance;
Determine the second ratio value of the image of the face that distance between eyes and the first camera head get.
In one embodiment, determine whether facial information meets trigger condition, can comprise:
Second ratio value and Second Threshold are compared;
When the second ratio value is greater than Second Threshold, determine to meet trigger condition.
In one embodiment, controlling electronic device works after the first mode of operation preset, method also can comprise:
The facial information of first user is being detected in the setting-up time section of electronic device works after the first mode of operation preset;
When facial information changes, electronic equipment is adjusted to normal mode of operation from the first mode of operation, performs the step of the facial information of the first user by arranging the first camera head detection hand-hold electronic equipments on an electronic device and detected the gesture motion information of the second user by the second camera head arranged on an electronic device.
In one embodiment, method also can comprise:
If facial information continues to meet trigger condition in setting-up time section, control the second mode of operation that electronic device works is being preset, the safe class of the second mode of operation is higher than the safe class of the first mode of operation.
The concrete duty of electronic equipment that how to control, please refer to subsequent embodiment.
So far, the said method that disclosure embodiment provides, the duration of electronic equipment can be used by conservative control first user, improve the second user to the control and monitoring of first user when using electronic equipment, avoid first user due to the long-time visual fatigue closely using electronic equipment to cause, reduce the stimulation of the eye to first user.
With specific embodiment, the technical scheme that disclosure embodiment provides is described below.
Fig. 2 A is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment one, and Fig. 2 B is the schematic diagram of the face of first user according to an exemplary embodiment one; The said method that the present embodiment utilizes disclosure embodiment to provide, comprises the first ratio value for facial information and carries out exemplary illustration, as shown in Figure 2 A, comprise the steps:
In step s 201, by the first camera head arranged on an electronic device, Face datection is carried out to the first user of hand-hold electronic equipments.
In one embodiment, first camera head can for being arranged on the front-facing camera on electronic equipment, front-facing camera is after the face of first user is got in detection, by the border of the face of the bound test technology determination first user of face, as shown in Figure 2 B, on the image 20 that front-facing camera obtains, the border of the face of first user is as shown in right angle mark 21.
In step S202, determine the first ratio value of the width of the image of the face that the width of face and the first camera head get.
In one embodiment, such as, as shown in Figure 2 B, the resolution of the image that the first camera head gets is 1080*1920, then the width of the image of face is 1080 pixels, if position in the picture, the border of the face detected from the pixel of the 90th, left side to 954 pixels, then can determine that the width of the face of first user is 954-90=864, thus, this first ratio value is 864/1080=0.8.
In step S203, the first ratio value and first threshold are compared.
In step S204, when the first ratio value is greater than first threshold, determine to meet trigger condition.
In one embodiment, first threshold can be determined according to the concrete restriction request for utilization of first user by the second user, such as, if the second user needs strictly to limit when first user uses electronic equipment and the distance of screen, what then this threshold value can be arranged is less than normal, such as, this first threshold can be set to 0.3.Compare with first threshold 0.3 according to the first ratio value 0.8 that above-mentioned steps S202 calculates, can meet trigger condition in this case thus.
In step S205, detected the gesture motion information of the second user by the second camera head arranged on an electronic device.
The gesture motion information of the second user can be detected by the post-positioned pick-up head of electronic equipment, in one embodiment, the gesture motion of the second user is such as V-shaped, or the gesture motion of the second user is such as finger of the different numbers that the second user stretches out etc.
In step S206, gesture motion information is mated with the gesture parameter preset.
In one embodiment, the gesture parameter preset can the parameter of gesture that gets used to by the second user, this gesture parameter preset stores in the electronic device, by gesture motion information mate with the gesture parameter information preset, thus determine that whether the gesture of the second user is the gesture of the duty of control electronic equipment.
It will be understood by those skilled in the art that, the execution sequence of above-mentioned steps S205-step S206 and step S201-step S204 does not limit by above-mentioned example, S205-step S206 and step S201-step S204 can be performed simultaneously, also first can perform step S205-step S206 and perform step S201-step S204 again.
In step S207; if the first ratio value is greater than first threshold and gesture motion information and the gesture match parameters preset; control the first mode of operation that electronic device works is being preset, wherein, the first mode of operation is the safeguard protection pattern of described electronic equipment.
The description of step S207 see the description of above-mentioned steps S104, can be not described in detail in this.
In the present embodiment, first ratio value of the width of the image of the face got by the width and the first camera head of determining face, determine whether the facial information of first user meets trigger condition according to the size of the first ratio value, when the first ratio value is greater than first threshold, and when the gesture motion information of the second user and the gesture match parameters preset, electronic equipment can be made to be in the first default mode of operation, due to the safeguard protection pattern that the first mode of operation is electronic equipment, thus the duration of electronic equipment can be used by conservative control first user, improve the second user to the control and monitoring of first user when using electronic equipment, avoid first user due to the long-time visual fatigue closely using electronic equipment to cause, reduce the stimulation to the eye of first user.
Fig. 3 A is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment two, and Fig. 3 B is the schematic diagram of the eye of first user according to an exemplary embodiment two; The said method that the present embodiment utilizes disclosure embodiment to provide, comprises the second ratio value for facial information and carries out exemplary illustration, as shown in Figure 3A, comprise the steps:
In step S301, by arrange on an electronic device first camera head obtain hand-hold electronic equipments first user eyes between distance.
In one embodiment, first camera head can for being arranged on the front-facing camera on electronic equipment, front-facing camera is after getting the face of first user, by technology determination human eye positions in the picture such as iris recognition, as shown in Figure 3 B, on the image 20 obtained at front-facing camera, the right eye 31 of first user is positioned at (294,553) place, left eye 32 is positioned at (726,539) place.
In step s 302, the second ratio value of the image of the face that distance between eyes and the first camera head get is determined.
In one embodiment, because first user is when using electronic equipment, eyes substantially with the screen keeping parallelism state of electronic equipment, therefore the disclosure is in order to simplified operation, only can consider the distance of the horizontal direction between the right eye 31 of first user and left eye 32, that is, the distance between the eyes of first user is 726-294=432, thus, this second ratio value is 432/1080=0.4.
In step S303, the second ratio value and Second Threshold are compared.
In step s 304, when the second ratio value is greater than Second Threshold, determine to meet trigger condition.
In one embodiment, the set-up mode of Second Threshold with reference to the set-up mode of the first threshold in above-described embodiment, can be not described in detail in this.
In step S305, monitored the gesture motion information of the second user by the second camera head arranged on an electronic device.
In step S306, gesture motion information is mated with the gesture parameter preset.
The description of above-mentioned steps S305-step S306 please refer to the description of above-mentioned steps S205-step S206, is not described in detail in this.
In step S307, if the first ratio value is greater than first threshold and gesture motion information and the gesture match parameters preset, control the first mode of operation that electronic device works is being preset, the first mode of operation is the safeguard protection pattern of electronic equipment.
The description of step S307 see the description of above-mentioned steps S104, can be not described in detail in this.
In the present embodiment, by determining the second ratio value of the width of the image of the face that distance between eyes and the first camera head get, determine whether the facial information of first user meets trigger condition according to the size of the second ratio value, when the second ratio value is greater than Second Threshold, and when the gesture motion information of the second user and the gesture match parameters preset, electronic equipment can be made to be in the first default mode of operation, due to the safeguard protection pattern that the first mode of operation is electronic equipment, thus the duration of electronic equipment can be used by conservative control first user, improve the second user to the control and monitoring of first user when using electronic equipment, avoid first user due to the long-time visual fatigue closely using electronic equipment to cause, reduce the stimulation to the eye of first user.
Fig. 4 is the process flow diagram of the method for control electronic device works state according to an exemplary embodiment three; The said method that the present embodiment utilizes disclosure embodiment to provide, for detect meet trigger condition and gesture motion information and first user when the gesture match parameters preset still hand-hold electronic equipments carry out exemplary illustration, as shown in Figure 4, comprise the steps:
In step S401, detect the facial information of the first user of hand-hold electronic equipments and detect the gesture motion information of the second user.
In step S402, determine facial information whether meet trigger condition and determine gesture motion information whether with the gesture match parameters preset.
In step S403; determine facial information meet trigger condition and gesture motion parameter with preset gesture match parameters time; control the first mode of operation that electronic device works is being preset, wherein, the first mode of operation is the safeguard protection pattern of described electronic equipment.
The description of step S401-step S403 please refer to the description of above-mentioned steps S101-step S104, is not described in detail in this.
In step s 404, whether change in the facial information detecting first user in the setting-up time section of electronic device works after the mode of operation preset, if facial information changes, perform step S405, if facial information does not change, perform step S406.
In one embodiment, setting-up time section can use custom during electronic equipment to set to first user by the second user, such as, setting-up time section can be set to 1 minute, when the second user prevents first user continuation use electronic equipment by gesture, if first user still use electronic equipment and the facial information of first user change, illustrate that first user likely suitably have adjusted the distance with the screen of electronic equipment under the control of the second user, if the facial information of first user does not change in setting-up time section, even if illustrate that the second user controls electronic device works in the first default mode of operation by gesture, electronic equipment is adjusted to its game state or network state etc. from the first mode of operation by the mode that first user still manually operates, and first user does not obviously adjust the posture that it uses electronic equipment yet, in this case, electronic equipment can be adjusted to the second default mode of operation.
In step S405, electronic equipment is adjusted to normal mode of operation from the first mode of operation, performs step S401.
In such a case, by (namely electronic equipment is adjusted to normal mode of operation by the first mode of operation, screen lock state is returned to by released state to electronic equipment, by electronic equipment from suspension recovering state to reconnecting network etc.), can avoid first user mode manually that electronic equipment is adjusted to normal mode of operation from the first mode of operation, improve first user and use the experience of electronic equipment, and perform step S401 and again use the process of electronic equipment to detect to first user.
In step S406, control the second mode of operation that electronic device works is being preset, the safe class of the second mode of operation is higher than the safe class of the first mode of operation.
In one embodiment, such as, the first mode of operation is unencrypted screen lock state or suspension state, and the second mode of operation is the screen lock state encrypted, by controlling the screen lock state that electronic device works is being encrypted, first user can be made can not to continue to use electronic equipment.
In the present embodiment, by whether changing in the facial information detecting first user in the setting-up time section of electronic device works after the mode of operation preset, if facial information changes, electronic equipment is adjusted to normal mode of operation from the first mode of operation, thus first user can be avoided to adopt the duty of manual mode adjustment electronic equipment, if facial information does not change, direct control electronic device works is in the second mode of operation, because the safe class of the second mode of operation is higher than the safe class of the first mode of operation, therefore effectively can prevent first user to continue to use electronic equipment, thus conservative control first user uses the duration of electronic equipment, improve the second user to the control and monitoring of first user when using electronic equipment, avoid first user due to the long-time visual fatigue closely using electronic equipment to cause, reduce the stimulation to the eye of first user.
Fig. 5 is a kind of block diagram controlling the device of electronic device works state according to an exemplary embodiment, can be applicable on electronic equipment, and as shown in Figure 5, the device controlling electronic device works state comprises:
First detection module 51, is configured to the facial information being detected the first user of hand-hold electronic equipments by the first camera head be arranged on described electronic equipment;
Second detection module 52, is configured to the gesture motion information being detected the second user by the second camera head be arranged on described electronic equipment;
First determination module 53, be configured to determine facial information that first detection module 51 detects whether meet trigger condition and determine gesture motion information that the second detection module 52 detects whether with the gesture match parameters preset;
First control module 54; if be configured to the first determination module 53 determine to meet trigger condition and determine gesture motion information and the gesture match parameters preset; control the first mode of operation that electronic device works is being preset, the first mode of operation is the safeguard protection pattern of electronic equipment.
Fig. 6 is the block diagram that another kind according to an exemplary embodiment controls the device of electronic device works state, and as shown in Figure 6, on the basis of above-described embodiment, facial information comprises the first ratio value, and first detection module 51 can comprise:
Detection sub-module 511, is configured to carry out Face datection by the first camera head arranged on an electronic device to the first user of hand-hold electronic equipments;
First determines submodule 512, is configured to determine the first ratio value of the image of the face that the width of the face that detection sub-module 511 detects and the first camera head get.
In one embodiment, the first determination module 53 can comprise:
First comparison sub-module 531, is configured to determine that by first the first ratio value that submodule 512 is determined and first threshold compare;
First determines submodule 532, be configured to when the comparative result of the first comparison sub-module 531 be the first ratio value be greater than first threshold time, determine to meet trigger condition.
Fig. 7 is the block diagram that another according to an exemplary embodiment controls the device of electronic device works state, and as shown in Figure 7, on above-mentioned Fig. 5 or basis embodiment illustrated in fig. 6, facial information comprises the second ratio value, and first detection module 51 can comprise:
Second obtain submodule 513, be configured to by arrange on an electronic device first camera head obtain hand-hold electronic equipments first user eyes between distance;
Second determines submodule 514, the second ratio value of the image of the face that the distance between the eyes being configured to determine that the second acquisition submodule 513 gets and the first camera head get.
In one embodiment, the first determination module 53 can comprise:
Second comparison sub-module 533, is configured to determine that by the 3rd the second ratio value that submodule 514 is determined and Second Threshold compare;
3rd determines submodule 534, be configured to when the comparative result of the second comparison sub-module 533 be the second ratio value be greater than Second Threshold time, determine to meet trigger condition.
Fig. 8 is the block diagram that another according to an exemplary embodiment controls the device of electronic device works state, and as shown in Figure 8, on above-mentioned Fig. 5, Fig. 6 or basis embodiment illustrated in fig. 7, device also can comprise:
3rd detection module 55, is configured to control electronic device works after the first mode of operation preset in the first control module 54, in the setting-up time section of electronic device works after the mode of operation preset, detecting the facial information of first user;
State adjusting module 56, be configured to when the 3rd detection module 55 detects that facial information changes, electronic equipment is adjusted to normal mode of operation from the first mode of operation, and first detection module 51 performs the step of the facial information of the first user detecting hand-hold electronic equipments.
In one embodiment, device also can comprise:
Second control module 57, if be configured to the 3rd detection module 55 to detect that facial information continues to meet trigger condition in setting-up time section, control the second mode of operation that electronic device works is being preset, the safe class of the second mode of operation is higher than the safe class of the first mode of operation.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 9 is a kind of block diagram being applicable to the device controlling electronic device works state according to an exemplary embodiment.Such as, device 900 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, storer 904, power supply module 906, multimedia groupware 909, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor module 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing element 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Storer 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 906 is device 900 provide electric power.Electric power assembly 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 914 comprises one or more sensor, for providing the state estimation of various aspects for device 900.Such as, sensor module 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of all right pick-up unit 900 of sensor module 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. control a method for electronic device works state, on an electronic device, it is characterized in that, described method comprises in application:
The facial information of the first user of hand-held described electronic equipment is detected by the first camera head be arranged on described electronic equipment;
The gesture motion information of the second user is detected by the second camera head be arranged on described electronic equipment;
Determine described facial information whether meet trigger condition and determine described gesture motion information whether with the gesture match parameters preset;
If determine that described facial information meets described trigger condition and described gesture motion information and described default gesture match parameters; control the first mode of operation that described electronic device works is being preset, described first mode of operation is the safeguard protection pattern of described electronic equipment.
2. method according to claim 1, is characterized in that, described facial information comprises the first ratio value, and the described facial information being detected the face of the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment, being comprised:
Face datection is carried out by the first user of the first camera head to hand-held described electronic equipment be arranged on described electronic equipment;
Determine the first ratio value of the image of the face that the width of described face and described first camera head get.
3. method according to claim 2, is characterized in that, describedly determines whether described facial information meets trigger condition, comprising:
Described first ratio value and first threshold are compared;
When described first ratio value is greater than described first threshold, determine to meet described trigger condition.
4. method according to claim 1, is characterized in that, described facial information comprises the second ratio value, and the described facial information being detected the face of the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment, being comprised:
By be arranged on described electronic equipment first camera head obtain hand-held described electronic equipment first user eyes between distance;
Determine the second ratio value of the image of the face that distance between described eyes and described first camera head get.
5. method according to claim 4, is characterized in that, describedly determines whether described facial information meets trigger condition, comprising:
Described second ratio value and Second Threshold are compared;
When described second ratio value is greater than described Second Threshold, determine to meet described trigger condition.
6. method according to claim 1, is characterized in that, described method also comprises:
The facial information of described first user is detected in the setting-up time section of described electronic device works after the first mode of operation preset;
When described facial information changes, described electronic equipment is adjusted to normal mode of operation from described first mode of operation, and performs the described step being detected the facial information of the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment.
7. method according to claim 6, is characterized in that, described method also comprises:
If described facial information continues to meet described trigger condition in described setting-up time section, control the second mode of operation that described electronic device works is being preset, the safe class of described second mode of operation is higher than the safe class of described first mode of operation.
8. control a device for electronic device works state, on an electronic device, it is characterized in that, described device comprises in application:
First detection module, is configured to the facial information being detected the first user of hand-held described electronic equipment by the first camera head be arranged on described electronic equipment;
Second detection module, is configured to the gesture motion information being detected the second user by the second camera head be arranged on described electronic equipment;
First determination module, be configured to determine described facial information that described first detection module detects whether meet trigger condition and determine described gesture motion information that described second detection module detects whether with the gesture match parameters preset;
First control module; if be configured to described first determination module determine to meet described trigger condition and determine described gesture motion information and described default gesture match parameters; control the first mode of operation that described electronic device works is being preset, described first mode of operation is the safeguard protection pattern of described electronic equipment.
9. device according to claim 8, is characterized in that, described facial information comprises the first ratio value, and described first detection module comprises:
Detection sub-module, is configured to carry out Face datection by the first user of the first camera head to hand-held described electronic equipment be arranged on described electronic equipment;
First determines submodule, is configured to determine the first ratio value of the image of the face that the width of the described face that described detection sub-module detects and described first camera head get.
10. device according to claim 9, is characterized in that, described first determination module comprises:
First comparison sub-module, is configured to determine that by described first described first ratio value that submodule is determined and first threshold compare;
Second determines submodule, be configured to when the comparative result of described first comparison sub-module be described first ratio value be greater than described first threshold time, determine to meet described trigger condition.
11. devices according to claim 8, it is characterized in that, described facial information comprises the second ratio value, described first detection module comprises:
Second obtain submodule, be configured to by be arranged on described electronic equipment first camera head obtain hand-held described electronic equipment first user eyes between distance;
3rd determines submodule, is configured to determine the described second the second ratio value obtaining the image of the face that distance between described eyes that submodule gets and described first camera head get.
12. devices according to claim 11, is characterized in that, described first determination module comprises:
Second comparison sub-module, is configured to determine that by the described 3rd described second ratio value that submodule is determined and Second Threshold compare;
4th determines submodule, be configured to when the comparative result of described second comparison sub-module be described second ratio value be greater than described Second Threshold time, determine to meet described trigger condition.
13. devices according to claim 8, is characterized in that, described device also comprises:
3rd detection module, be configured to control described electronic device works after the first mode of operation preset in described first control module, in the setting-up time section of described electronic device works after the mode of operation preset, detecting the facial information of described first user;
State adjusting module, be configured to when described 3rd detection module detects that described facial information changes, described electronic equipment is adjusted to normal mode of operation from described first mode of operation, and described first detection module performs the step of the facial information of the first user detecting hand-held described electronic equipment.
14. devices according to claim 13, is characterized in that, described device also comprises:
Second control module, if be configured to described 3rd detection module to detect that described facial information continues to meet described trigger condition in described setting-up time section, control the second mode of operation that described electronic device works is being preset, the safe class of described second mode of operation is higher than the safe class of described first mode of operation.
15. 1 kinds of devices controlling electronic device works state, it is characterized in that, described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The facial information of the first user of hand-held described electronic equipment is detected by the first camera head be arranged on described electronic equipment;
The gesture motion information of the second user is detected by the second camera head be arranged on described electronic equipment;
Determine described facial information whether meet trigger condition and described gesture motion whether with the gesture match parameters preset;
If determine to meet described trigger condition and described gesture motion information and described default gesture match parameters, control the first mode of operation that described electronic device works is being preset, described first mode of operation is the safeguard protection pattern of described electronic equipment.
CN201510104461.8A 2015-03-10 2015-03-10 The method and device of control electronics working condition Active CN104679250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510104461.8A CN104679250B (en) 2015-03-10 2015-03-10 The method and device of control electronics working condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510104461.8A CN104679250B (en) 2015-03-10 2015-03-10 The method and device of control electronics working condition

Publications (2)

Publication Number Publication Date
CN104679250A true CN104679250A (en) 2015-06-03
CN104679250B CN104679250B (en) 2017-09-01

Family

ID=53314443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510104461.8A Active CN104679250B (en) 2015-03-10 2015-03-10 The method and device of control electronics working condition

Country Status (1)

Country Link
CN (1) CN104679250B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608351A (en) * 2015-12-23 2016-05-25 广东威创视讯科技股份有限公司 Data protecting method and device
WO2017028235A1 (en) * 2015-08-18 2017-02-23 赵政荣 Unlocking method based on iris authentication, and portable safe
WO2017028238A1 (en) * 2015-08-18 2017-02-23 赵政荣 Information notification method for unlocking based on face recognition, and portable safe
WO2017028237A1 (en) * 2015-08-18 2017-02-23 赵政荣 Unlocking method based on face recognition, and portable safe
CN108924417A (en) * 2018-07-02 2018-11-30 Oppo(重庆)智能科技有限公司 Filming control method and Related product
CN110225199A (en) * 2019-06-06 2019-09-10 深圳市汇顶科技股份有限公司 Method, terminal and storage medium for controlling terminal operating mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100253766A1 (en) * 2009-04-01 2010-10-07 Mann Samuel A Stereoscopic Device
CN102109903A (en) * 2010-12-28 2011-06-29 中兴通讯股份有限公司 Method and device for protecting eyesight
CN103389794A (en) * 2012-05-08 2013-11-13 联发科技股份有限公司 Interaction display system and method thereof
CN104077122A (en) * 2013-03-29 2014-10-01 纬创资通股份有限公司 Computer system for automatically detecting fatigue and method for automatically detecting fatigue
CN104102345A (en) * 2014-06-23 2014-10-15 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100253766A1 (en) * 2009-04-01 2010-10-07 Mann Samuel A Stereoscopic Device
CN102109903A (en) * 2010-12-28 2011-06-29 中兴通讯股份有限公司 Method and device for protecting eyesight
CN103389794A (en) * 2012-05-08 2013-11-13 联发科技股份有限公司 Interaction display system and method thereof
CN104077122A (en) * 2013-03-29 2014-10-01 纬创资通股份有限公司 Computer system for automatically detecting fatigue and method for automatically detecting fatigue
CN104102345A (en) * 2014-06-23 2014-10-15 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028235A1 (en) * 2015-08-18 2017-02-23 赵政荣 Unlocking method based on iris authentication, and portable safe
WO2017028238A1 (en) * 2015-08-18 2017-02-23 赵政荣 Information notification method for unlocking based on face recognition, and portable safe
WO2017028237A1 (en) * 2015-08-18 2017-02-23 赵政荣 Unlocking method based on face recognition, and portable safe
CN105608351A (en) * 2015-12-23 2016-05-25 广东威创视讯科技股份有限公司 Data protecting method and device
CN108924417A (en) * 2018-07-02 2018-11-30 Oppo(重庆)智能科技有限公司 Filming control method and Related product
CN110225199A (en) * 2019-06-06 2019-09-10 深圳市汇顶科技股份有限公司 Method, terminal and storage medium for controlling terminal operating mode

Also Published As

Publication number Publication date
CN104679250B (en) 2017-09-01

Similar Documents

Publication Publication Date Title
EP3154270B1 (en) Method and device for adjusting and displaying an image
CN104679250A (en) Method and device for controlling working condition of electronic device
US10063760B2 (en) Photographing control methods and devices
US10610152B2 (en) Sleep state detection method, apparatus and system
KR20180136776A (en) Mobile terminal and method for controlling the same
US9924090B2 (en) Method and device for acquiring iris image
CN104391635A (en) Device and method for unlocking screen
CN104850769A (en) Method and device for executing operation
CN103914150A (en) Camera control method and device
CN105357466A (en) Video communication method and video communication device
CN103955365A (en) Method and device for controlling terminal when terminal falls off
CN106231419A (en) Operation performs method and device
CN104850995A (en) Operation executing method and device
CN106527682B (en) Method and device for switching environment pictures
CN105469056A (en) Face image processing method and device
KR20130030735A (en) Method of communication and associated system of glasses type for a user using a viewing station
CN104615240A (en) Terminal unlocking method and device
CN106101786A (en) The method and apparatus controlling target device
CN105678133A (en) Terminal unlocking method and device
CN104331228A (en) Screen locking method and device
EP3226119B1 (en) Method and apparatus for displaying image data from a terminal on a wearable display
CN104765163B (en) Display methods, device and the intelligent glasses of framing information
CN105426079A (en) Picture brightness adjustment method and apparatus
CN107102801A (en) Terminal screen spinning solution and device
CN106487996A (en) The emergency communication method of intelligent terminal and device

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