CN106125919A - A kind of condition control method and electronic equipment - Google Patents

A kind of condition control method and electronic equipment Download PDF

Info

Publication number
CN106125919A
CN106125919A CN201610446903.1A CN201610446903A CN106125919A CN 106125919 A CN106125919 A CN 106125919A CN 201610446903 A CN201610446903 A CN 201610446903A CN 106125919 A CN106125919 A CN 106125919A
Authority
CN
China
Prior art keywords
electronic equipment
current environment
environmental condition
capacitance
eyeball
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
CN201610446903.1A
Other languages
Chinese (zh)
Other versions
CN106125919B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610446903.1A priority Critical patent/CN106125919B/en
Publication of CN106125919A publication Critical patent/CN106125919A/en
Application granted granted Critical
Publication of CN106125919B publication Critical patent/CN106125919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements

Abstract

The invention discloses a kind of condition control method, be applied to electronic equipment, described method includes: obtain the environmental information of electronic equipment place current environment;Judge whether current environment meets according to environmental information and preset environmental condition, and generate judged result, preset environmental condition sign electronic equipment and contact with user;When judged result shows that current environment meets default environmental condition, control equipment is in eyeball/Eye-controlling focus state;When judged result shows that current environment is unsatisfactory for presetting environmental condition, control equipment is closed.The present invention can be according to the varying environment residing for electronic equipment, the state of automatic switchover electronic equipment, solves electronic equipment when being in varying environment, needs the state of manual switching electronic equipment, be easily caused the problem that electronic equipment energy resource consumption strengthens.

Description

A kind of condition control method and electronic equipment
Technical field
The present invention relates to technical field of data transmission, particularly relate to a kind of condition control method and electronic equipment.
Background technology
Along with the development of electronic technology, various electronic apparatus application are in the life of people, and the work making people is raw Live the most convenient.
At present, being operated to make electronic equipment be easier to, most electronic equipment all possesses eyeball/Eye-controlling focus merit Can, determine position by eyeball/Eye-controlling focus function, in order to reduce the consumption of the electronic equipment energy, be made without position Put when determining, close eyeball/Eye-controlling focus function by assembling mechanical switch on an electronic device.Traditional this pass through machine Tool switch cuts out the mode of eyeball/Eye-controlling focus function, adds the complexity of electronic equipment processing technique, simultaneously need to artificially Closing switch, easily exist user forget close situation, add the energy resource consumption of electronic equipment.
Summary of the invention
In view of this, the present invention provides a kind of condition control method and electronic equipment, it is possible to residing for electronic equipment Varying environment, the state of automatic switchover electronic equipment, solve electronic equipment when being in varying environment, need manual switching electricity The state of subset, is easily caused the problem that electronic equipment energy resource consumption strengthens.
The invention provides a kind of condition control method, be applied to electronic equipment, described method includes:
Obtain the environmental information of described electronic equipment place current environment;
Judge whether described current environment meets according to described environmental information and preset environmental condition, and generate judged result, Described default environmental condition characterizes described electronic equipment and contacts with user;
When described judged result show described current environment meet preset environmental condition time, control equipment is in eyeball/regard State followed the trail of by line;
When described judged result shows that described current environment is unsatisfactory for presetting environmental condition, control equipment is in closedown shape State.
Preferably, described control equipment is in eyeball/Eye-controlling focus state and includes:
Start infrared LED and face is detected by infrared camera;
Whether facial image is detected, the most then by eyeball/Eye-controlling focus algorithm output location in judging Preset Time Coordinate, if it is not, then:
Start eyeball/Eye-controlling focus low-power consumption mode.
Preferably, described startup eyeball/Eye-controlling focus low-power consumption mode includes:
Close infrared LED and infrared camera, start visible image capturing head and motion or light sensation are detected;
Judge whether described motion or light sensation running parameter meet pre-conditioned, the most then:
Start visible ray face to be detected, until detecting facial image.
Preferably, described by also including after eyeball/Eye-controlling focus algorithm output elements of a fix:
Receive and trigger the triggering signal confirming that button generates;
Eyeball/Eye-controlling focus position is determined according to described triggering signal and the elements of a fix.
Preferably, described electronic equipment is provided with sensor, then obtain the environment of described electronic equipment place current environment According to described environmental information, information, judges that whether described current environment meets and presets environmental condition, and generate judged result and include:
Obtaining the detection data of described sensor, described detection data are the pressure of described electronic equipment predetermined position Value;
Described force value is compared with a pressure threshold preset;
When described force value is more than described pressure threshold, it is judged that described current environment meets presets environmental condition;
Otherwise, described current environment is unsatisfactory for described default environmental condition.
Preferably, described electronic equipment is provided with sensor, then obtain the environment of described electronic equipment place current environment According to described environmental information, information, judges that whether described current environment meets and presets environmental condition, and generate judged result and include:
Obtaining the detection data of described sensor, described detection data are the temperature of described electronic equipment predetermined position Value;
Described temperature value and a temperature values preset are compared;
When described temperature value meets and is in condition within the scope of described default temperature, it is judged that described current environment meets pre- If environmental condition;
Otherwise, described current environment is unsatisfactory for presetting environmental condition.
Preferably, described electronic equipment is provided with sensor, then obtain the environment of described electronic equipment place current environment According to described environmental information, information, judges that whether described current environment meets and presets environmental condition, and generate judged result and include:
Obtaining the detection data of described sensor, described detection data are the capacitance of described electronic equipment;
Described capacitance is compared with the first capacitance threshold value preset;
When described capacitance is more than described first capacitance threshold value, it is judged that described current environment meets presets environmental condition;
Otherwise, described current environment is unsatisfactory for presetting environmental condition.
Preferably, described method also includes:
Being compared with the second capacitance threshold value preset by described capacitance, described second capacitance threshold value is higher than described first Capacitance threshold value;
When described capacitance is more than described second capacitance threshold value, it is judged that described current environment meets presets environmental condition;
Otherwise, described current environment is unsatisfactory for presetting environmental condition.
A kind of electronic equipment, including:
Acquisition module, for obtaining the environmental information of described electronic equipment place current environment;
First judge module, presets environment bar for judging whether described current environment meets according to described environmental information Part, and generate judged result, described default environmental condition characterizes described electronic equipment and contacts with user;
Control module, for when described judged result shows that described current environment meets default environmental condition, controlling to set For being in eyeball/Eye-controlling focus state;When described judged result shows that described current environment is unsatisfactory for presetting environmental condition, control Control equipment is closed.
Preferably, described control module includes:
First start unit, is used for starting infrared LED and face is detected by infrared camera;
Whether the first judging unit, detect facial image in being used for judging Preset Time;
First output unit, for when judging to detect facial image in Preset Time, is calculated by eyeball/Eye-controlling focus The method output elements of a fix;
Whether the second start unit, detect the result of facial image in judge Preset Time when being no, start eye Ball/Eye-controlling focus low-power consumption mode.
Preferably, described second start unit includes:
3rd start unit, is used for closing infrared LED and infrared camera, starts visible image capturing head to motion or light sensation Detect;
Second judging unit, is used for judging whether described motion or light sensation running parameter meet pre-conditioned;
4th start unit, for when judging described motion or light sensation parameter meets pre-conditioned, starts visible ray pair Face is detected, until detecting facial image.
Preferably, described electronic equipment also includes:
Receive unit, trigger, for receiving, the triggering signal confirming that button generates;
Determine unit, for determining eyeball/Eye-controlling focus position according to described triggering signal and the elements of a fix.
Preferably, described electronic equipment is provided with sensor, and the most described first judge module includes:
First acquiring unit, for obtaining the detection data of described sensor, described detection data are described electronic equipment The force value of predetermined position;
3rd judging unit, for comparing described force value with a pressure threshold preset;When described force value is more than During described pressure threshold, it is judged that described current environment meets presets environmental condition;Otherwise, described current environment is unsatisfactory for described pre- If environmental condition.
Preferably, described electronic equipment is provided with sensor, and the most described first judge module includes:
Second acquisition unit, for obtaining the detection data of described sensor, described detection data are described electronic equipment The temperature value of predetermined position;
4th judging unit, for comparing described temperature value and a temperature values preset;When described temperature value is full When foot is in condition within the scope of described default temperature, it is judged that described current environment meets presets environmental condition;Otherwise, described work as Front environment is unsatisfactory for presetting environmental condition.
Preferably, described electronic equipment is provided with sensor, and the most described first judge module includes:
3rd acquiring unit, for obtaining the detection data of described sensor, described detection data are described electronic equipment Capacitance;
5th judging unit, for comparing described capacitance with the first capacitance threshold value preset;When described electric capacity When value is more than described first capacitance threshold value, it is judged that described current environment meets presets environmental condition;Otherwise, described current environment is not Meet and preset environmental condition.
Preferably, described first judge module also includes:
6th judging unit, for described capacitance is compared with the second capacitance threshold value preset, described second electricity Hold threshold value higher than described first capacitance threshold value;When described capacitance is more than described second capacitance threshold value, it is judged that described work as front ring Border meets presets environmental condition;Otherwise, described current environment is unsatisfactory for presetting environmental condition.
From technique scheme it can be seen that condition control method disclosed in the present application, it is applied to electronic equipment, the most logical Cross the environmental information obtaining electronic equipment place current environment, judge whether current environment meets electronic equipment according to environmental information Contacting with user, when judging that electronic equipment contacts with user, control equipment is in eyeball/Eye-controlling focus state, when judging electricity When subset does not contacts with user, show that now user need not use electronic equipment, controls equipment by eyeball/Eye-controlling focus shape State switches to closed mode, solves when user need not use electronic equipment, needs the state of manual switching electronic equipment, It is easily caused the problem that electronic equipment energy resource consumption strengthens.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of condition control method embodiment 1 disclosed by the invention;
Fig. 2 is the flow chart of a kind of condition control method embodiment 2 disclosed by the invention;
Fig. 3 is the flow chart of a kind of condition control method embodiment 3 disclosed by the invention;
Fig. 4 is the flow chart of a kind of condition control method embodiment 4 disclosed by the invention;
Fig. 5 is the flow chart of a kind of condition control method embodiment 5 disclosed by the invention;
Fig. 6 is the flow chart of a kind of condition control method embodiment 6 disclosed by the invention;
Fig. 7 is the flow chart of a kind of condition control method embodiment 7 disclosed by the invention;
Fig. 8 is the flow chart of a kind of condition control method embodiment 8 disclosed by the invention;
Fig. 9 is the structural representation of a kind of electronic equipment embodiment 1 disclosed by the invention;
Figure 10 is the structural representation of a kind of electronic equipment embodiment 2 disclosed by the invention;
Figure 11 is the structural representation of a kind of electronic equipment embodiment 3 disclosed by the invention;
Figure 12 is the structural representation of a kind of electronic equipment embodiment 4 disclosed by the invention;
Figure 13 is the structural representation of a kind of electronic equipment embodiment 5 disclosed by the invention;
Figure 14 is the structural representation of a kind of electronic equipment embodiment 6 disclosed by the invention;
Figure 15 is the structural representation of a kind of electronic equipment embodiment 7 disclosed by the invention;
Figure 16 is the structural representation of a kind of electronic equipment embodiment 8 disclosed by the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
In order to more specifically emphasize the independence implemented, this specification relates to number of modules or unit.For example, mould Block or unit can be realized by hardware circuit, and this hardware circuit includes special VLSI circuit or gate array, such as logic chip, crystal Pipe, or other assembly.Module or unit also can realize in programmable hard ware, and such as field is imitated programmable gate array, can be compiled Journey array logic, programmable logic device etc..
Module or unit also can realize in by the software performed by various forms of processors.Such as, one can hold Row code module can include one or more entity or logic computer instruction block, and this block is formed into, such as, Object, program or function.But, can executable portion need not physically put together of identification module or unit, but can be by The different instruction being stored in diverse location is formed, and when combining in logic, forms module or unit and reaches this module Or the purpose required by unit.
It practice, executable code module or unit can be a single instruction or multiple instruction, it might even be possible to distribution is in place Several different code section in different programs, and across several storage devices.Similarly, operation data can be identified And be shown in this module or unit, and can implement in any suitable form and at any suitable data structure form Inner tissue.Operation data can assemble single data set, maybe can be distributed in the different position with different storage devices, And only it is present in a system or network in electronic signal mode at least in part.
" embodiment " mentioned by this specification or similar term represent characteristic, structure or the feature relevant with embodiment, It is included at least one embodiment of the present invention.Therefore, this specification is occurred term " in one embodiment ", " implementing In example " and similar term may but be not necessarily all sensing identical embodiment.
Furthermore, characteristic of the present invention, structure or feature can combine in one or more embodiments by any way. Following description will provide many specific details, and such as programming, software module, user's selection, network trading, data base look into The examples such as inquiry, database structure, hardware module, hardware circuit, hardware chip, to provide the understanding to the embodiment of the present invention.So And it is not those of ordinary skill in the related art are it will be seen that the present invention, even if utilizing wherein one or more specific detail or sharp Also can implement with other method, assembly, material etc..On the other hand, for the present invention that avoids confusion, known structure, material or behaviour Make not describe in detail.
The flow chart of a kind of condition control method embodiment 1 that the application as shown in Figure 1 provides, the method may be used for One electronic equipment, described electronic equipment can be the electronic equipments such as bluetooth earphone, intelligent watch, Wearable device, described electricity It is changeable that subset has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state, when this electronic equipment not with When user contacts, it is closed.
This method can be achieved by the steps of:
S101: obtain the environmental information of described electronic equipment place current environment;
Wherein, this electronic equipment can have different states in different environment, as in first environment for eyeball/regard State followed the trail of by line, is closed mode in other environments.
Wherein, this environmental information is the information that this electronic equipment is currently located environment, and concrete may include that temperature, pressure The various information relevant to this electronic device environment such as power, light intensity.
Wherein, this environmental information can be one or more, temperature described above, pressure, one of light persistent erection of the penis or several Individual set.
Wherein, this electronic equipment place current environment can be determined whether according to this environmental information.
It should be noted that this environmental information can be the environmental information that this electronic equipment detects self, it is possible to for The environmental information that the equipment Inspection that this electronic equipment is connected is arrived, does not limits in the present embodiment.
S102: judge whether described current environment meets according to described environmental information and preset environmental condition, and generate judgement Result;
Wherein, the described electronic equipment of described default environmental condition sign contacts with user;
Wherein, it is judged that whether described current environment meets is preset environmental condition, and detailed process comprises the steps that working as this acquisition The environmental information of front environment, compares with corresponding type condition in this default environmental condition, and generates judged result.As, This environmental information is temperature, then compare with the corresponding temperature conditions in default environmental condition, when this environmental information is pressure Power, then compare with the corresponding temperature conditions in default environmental condition, or, when this environmental information is temperature and pressure Time, temperature conditions corresponding with default environmental condition and pressure condition are compared respectively.This is not sentenced by the present embodiment Disconnected concrete mode is defined, and can judge according to practical situation in actual enforcement.
Wherein, this judged result includes two kinds of situations: one is, current environment meets presets environmental condition, i.e. this electronics sets The standby environment being presently in is for presetting environment;Two are, current environment is unsatisfactory for presetting environmental condition, i.e. this electronic equipment is current Residing environment is not to preset environment.
Certainly, in reality is implemented, the kind according to this environmental information is the most, it is judged that the shape of this electronic equipment current environment The accuracy of state is the highest.
Wherein, described judged result shows, when current environment meets default environmental condition, to perform step S103;Otherwise, hold Row step S104.
S103: control equipment is in eyeball/Eye-controlling focus state;
Wherein, when this electronic equipment current environment meet preset environmental condition time, it is known that this electronic equipment work as front ring Border meets it and runs in eyeball/Eye-controlling focus state, then control electronic equipment and be in eyeball/Eye-controlling focus state
It should be noted that when obtaining the environmental information of this electronic equipment current environment, this electronic equipment is in cut out State, and judge when the current environment of this electronic equipment meets default environmental condition, then to control this electronic equipment by closed mode Switch to eyeball/Eye-controlling focus state.
S104: control equipment is closed.
Wherein, when this electronic equipment current environment be unsatisfactory for preset environmental condition time, i.e. this electronic equipment no longer with user Contact, then the current environment of this electronic equipment is unsatisfactory for its condition run in eyeball/Eye-controlling focus state, and meets it and closing The service condition of closed state, switches to closed mode by the state of described electronic equipment.
Needing explanation, when obtaining the environmental information of this electronic equipment current environment, this electronic equipment is in cut out shape State, and judge when the current environment of this electronic equipment is unsatisfactory for presetting environmental condition, this electronic equipment only need to be maintained for closing shape State.
It should be noted that when this electronic equipment is connected with other electronic equipments, and the information processing capability of electronic equipment Poor, when coupled electronic equipment has stronger information processing capability, it is possible to its environmental information is transferred to and its phase In electronic equipment even, this electronic equipment being connected judges, and controls this electronic equipment in eyeball/Eye-controlling focus state And the switching between closed mode.
In the present embodiment, first pass through the environmental information obtaining electronic equipment place current environment, sentence according to environmental information Whether disconnected current environment meets electronic equipment contacts with user, and when judging that electronic equipment contacts with user, control equipment is in Eyeball/Eye-controlling focus state, when judging that electronic equipment does not contacts with user, shows that now user need not use electronics to set Standby, control equipment is switched to closed mode by duty, solves when user need not use electronic equipment, needs manually The state of switching electronic equipment, is easily caused the problem that electronic equipment energy resource consumption strengthens.
The flow chart of a kind of condition control method embodiment 2 that the application as shown in Figure 2 provides, the method may be used for One electronic equipment, described electronic equipment can be the electronic equipments such as bluetooth earphone, intelligent watch, Wearable device, described electricity It is changeable that subset has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state, when this electronic equipment not with When user contacts, it is closed.
This method can be achieved by the steps of:
S201: obtain the environmental information of described electronic equipment place current environment;
S202: judge whether described current environment meets according to described environmental information and preset environmental condition, and generate judgement Result;
Wherein, the described electronic equipment of described default environmental condition sign contacts with user;
Wherein, described judged result shows, when current environment meets default environmental condition, to perform step S203~S206;No Then, step S207 is performed.
Wherein, step S201-S202 is consistent with step S101-S102 in embodiment 1, in step S207 and embodiment 1 Step S104 consistent, the present embodiment repeats no more.
S203: start infrared LED and face is detected by infrared camera;
When judging that current environment meets default environmental condition, i.e. judge when electronic equipment contacts with user, show now Need to use electronic equipment, in order to realize eyeball/Eye-controlling focus positioning function, by opening infrared LED and infrared camera, its In, infrared LED and infrared camera can be integrated on described electronic equipment, detected face by infrared camera.
S204: whether detect facial image in judging Preset Time, the most then perform step S205, if it is not, then perform Step S206:
S205: by eyeball/Eye-controlling focus algorithm output elements of a fix;
S206: start eyeball/Eye-controlling focus low-power consumption mode;
When in Preset Time for detecting facial image, show now to need not realize eyeball/Eye-controlling focus location Function, now starts eyeball/realization and follows the trail of low-power consumption mode, reduce the energy resource consumption of electronic equipment.
S207: control equipment is closed.
In the present embodiment, first pass through the environmental information obtaining electronic equipment place current environment, sentence according to environmental information Whether disconnected current environment meets electronic equipment contacts with user, and when judging that electronic equipment contacts with user, control equipment is in Eyeball/Eye-controlling focus state, when judging that electronic equipment does not contacts with user, shows that now user need not use electronics to set Standby, control equipment is switched to closed mode by duty, solves when user need not use electronic equipment, needs manually The state of switching electronic equipment, is easily caused the problem that electronic equipment energy resource consumption strengthens.Meanwhile, it is in eye at control equipment During ball/realize tracking state, by opening infrared LED and infrared camera, it is judged that whether detect in Preset Time Facial image, when judging not detect facial image in Preset Time, starts eyeball/Eye-controlling focus low-power consumption mode, enters one Step reduces the energy resource consumption of electronic equipment.
The flow chart of a kind of condition control method embodiment 3 that the application as shown in Figure 3 provides, the method may be used for One electronic equipment, described electronic equipment can be the electronic equipments such as bluetooth earphone, intelligent watch, Wearable device, described electricity It is changeable that subset has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state, when this electronic equipment not with When user contacts, it is closed.
This method can be achieved by the steps of:
S301: obtain the environmental information of described electronic equipment place current environment;
S302: judge whether described current environment meets according to described environmental information and preset environmental condition, and generate judgement Result;
Wherein, the described electronic equipment of described default environmental condition sign contacts with user;
Wherein, described judged result shows, when current environment meets default environmental condition, to perform step S303~S308;No Then, step S309 is performed.
Wherein, step S301-S302 is consistent with step S101-S102 in embodiment 1, in step S309 and embodiment 1 Step S104 consistent, the present embodiment repeats no more.
S303: start infrared LED and face is detected by infrared camera;
When judging that current environment meets default environmental condition, i.e. judge when electronic equipment contacts with user, show now Need to use electronic equipment, in order to realize eyeball/Eye-controlling focus positioning function, by opening infrared LED and infrared camera, its In, infrared LED and infrared camera can be integrated on described electronic equipment, detected face by infrared camera.
S304: whether detect facial image in judging Preset Time, the most then perform step S305, if it is not, then perform Step S306:
S305: by eyeball/Eye-controlling focus algorithm output elements of a fix;
Wherein, step S303-S305 is consistent with step S203-S205 in embodiment 2, repeats no more in the present embodiment.
S306: close infrared LED and infrared camera, starts visible image capturing head and detects motion or light sensation;
When judging not detect facial image in Preset Time, show now to need not start eyeball/Eye-controlling focus fixed Bit function, now, closes infrared LED and infrared camera, starts visible image capturing head and detect motion or light sensation.
It should be noted that infrared camera and visible image capturing head can be the photographic head of independent function, it is also possible to be Photographic head infrared camera and visible image capturing head integrated, the photographic head i.e. integrated both had had infrared taking the photograph Function as head also has the function of visible image capturing head.
S307: judge whether described motion or light sensation running parameter meet pre-conditioned, the most then entrance step S308:
S308: start visible ray and face is detected, until detecting facial image.
S309: control equipment is closed.
The present embodiment is on the basis of above-described embodiment, when not detecting facial image in Preset Time, shows this Time need not realize eyeball/Eye-controlling focus positioning function, now start eyeball/realization and follow the trail of low-power consumption mode, low power consumption mould The bigger infrared LED of energy consumption and infrared camera is closed, by the visible image capturing head of low-power consumption to running or light under formula Sense is detected, thus reduce further the energy resource consumption of electronic equipment.
The flow chart of a kind of condition control method embodiment 4 that the application as shown in Figure 4 provides, the method may be used for One electronic equipment, described electronic equipment can be the electronic equipments such as bluetooth earphone, intelligent watch, Wearable device, described electricity It is changeable that subset has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state, when this electronic equipment not with When user contacts, it is closed.
This method can be achieved by the steps of:
S401: obtain the environmental information of described electronic equipment place current environment;
S402: judge whether described current environment meets according to described environmental information and preset environmental condition, and generate judgement Result;
Wherein, the described electronic equipment of described default environmental condition sign contacts with user;
Wherein, described judged result shows, when current environment meets default environmental condition, to perform step S403~S410;No Then, step S411 is performed.
Wherein, step S401-S402 is consistent with step S101-S102 in embodiment 1, in step S411 and embodiment 1 Step S104 consistent, the present embodiment repeats no more.
S403: start infrared LED and face is detected by infrared camera;
S404: whether detect facial image in judging Preset Time, the most then perform step S405, if it is not, then perform Step S408:
S405: by eyeball/Eye-controlling focus algorithm output elements of a fix;
S406: receive and trigger the triggering signal confirming that button generates;
After by eyeball/Eye-controlling focus algorithm output elements of a fix, eyeball fixes point is used merely to determine position, when needing During eyeball to be positioned/Eye-controlling focus algorithm output elements of a fix, need to receive and trigger the triggering signal that acknowledgement key generates.
The action confirmed must be accurate and timely, and to strengthen the real experiences of user, therefore the position of acknowledgement key can set Put in the region facilitating user to touch, such as, as a example by yoga notebook is under plate mode, user right-hand man's thumb with 4 outer fingers are exactly in the position of applicable acknowledgement key.
S407: determine eyeball/Eye-controlling focus position according to described triggering signal and the elements of a fix.
Wherein, step S403-S405 is consistent with step S203-S205 in embodiment 2, repeats no more in the present embodiment.
S408: close infrared LED and infrared camera, starts visible image capturing head and detects motion or light sensation;
S409: judge whether described motion or light sensation running parameter meet pre-conditioned, the most then entrance step S410:
S410: start visible ray and face is detected, until detecting facial image;
Wherein, step S408-S410 is consistent with step S306-S308 in embodiment 3, repeats no more in the present embodiment.
S411: control equipment is closed.
Wherein, it is provided with sensor in the electronic device, the environmental information of the current environment of this electronic equipment can be carried out Gather, and carry out follow-up judgement.Wherein, this sensor can be pressure transducer, gathers predetermined position in electronic equipment Force value.
See the flow chart of a kind of condition control method embodiment 5 that Fig. 5 shows that the application provides, including:
Step S501: obtain the detection data of described sensor, described detection data are described electronic equipment predeterminated position The force value at place;
Wherein, this predeterminated position is can to produce, with user, the position contacted in this electronic equipment, when user and this electronics During equipment contact, the detection data of described sensor change.
Wherein, when this sensor is pressure transducer, the data of sensor detection are that this electronic equipment is in this default position Put the force value at place.
Concrete, when this electronic equipment is contactless with user, this force value can be a less numerical value, when this electronics When equipment contacts with user, this force value is bigger.
Step S502: judge the pressure threshold whether described force value is preset more than one;If greater than, it is judged that described currently Environment meets presets environmental condition, performs step S503;Otherwise, it is judged that described current environment is unsatisfactory for presetting environmental condition, holds Row step S504;
Wherein, the detection data of this sensor obtained are compared, when this force value is big with the pressure threshold preset When this pressure threshold, show that this electronic equipment current environment meets default environmental condition, i.e. this electronic equipment and contacts with user; When this force value is less than this pressure threshold, show that this electronic equipment current environment is unsatisfactory for presetting environmental condition, i.e. this electronics Equipment does not contacts with user.
Wherein, described judged result shows, when described current environment meets default environmental condition, to perform step S503;No Then, step S504 is performed.
Step S503: control equipment is in eyeball/Eye-controlling focus state;
Step S504: control equipment is closed.
Wherein, step S503-504 is consistent with step S103-104 in embodiment 1, repeats no more in the present embodiment.
Wherein, it is provided with sensor in the electronic device, the environmental information of the current environment of this electronic equipment can be carried out Gather, and carry out follow-up judgement.Wherein, this sensor can be temperature sensor, gathers predetermined position in electronic equipment Temperature value.
See the flow chart of a kind of condition control method embodiment 6 that Fig. 6 shows that the application provides, including:
Step S601: obtain the detection data of described sensor, described detection data are described electronic equipment predeterminated position The temperature value at place;
Wherein, this predeterminated position is can to produce, with user, the position contacted in this electronic equipment, when user and this electronics During equipment contact, the detection data of described sensor change.
Wherein, when this sensor is temperature sensor, the data of sensor detection are that this electronic equipment is in this default position Put the temperature value at place.
Concrete, owing to ambient temperature is generally below human body temperature, when this electronic equipment is contactless with user, this temperature Value can be a relatively low numerical value, and when this electronic equipment contacts with user, this temperature value raises, close with human body temperature.
Step S602: judge whether described temperature value meets a temperature values preset;If it is, judge described currently Environment meets presets environmental condition;Otherwise, described current environment is unsatisfactory for presetting environmental condition;
Wherein, the detection data of this sensor obtained are compared, when this temperature value with the temperature values preset When being positioned at this temperature values, show that this electronic equipment current environment meets and preset environmental condition, i.e. this electronic equipment and user Contact;When this temperature value is introduced into this temperature values, show that this electronic equipment current environment is unsatisfactory for presetting environmental condition, This electronic equipment i.e. does not contacts with user, can be considered consistent with ambient temperature.
Wherein, described judged result shows, when described current environment meets default environmental condition, to perform step S603;No Then, step S604 is performed.
Step S603: control equipment is in eyeball/Eye-controlling focus state;
Step S604: control equipment is closed.
Wherein, step S603-604 is consistent with step S103-104 in embodiment 1, repeats no more in the present embodiment.
Wherein, it is provided with sensor in the electronic device, the environmental information of the current environment of this electronic equipment can be carried out Gather, and carry out follow-up judgement.Wherein, this sensor can be capacitance sensor, gathers electronic equipment capacitance.
See the flow chart of a kind of condition control method embodiment 7 that Fig. 7 shows that the application provides, including:
Step S701: obtain the detection data of described sensor, described detection data are the capacitance of described electronic equipment;
Wherein, being provided with capacitance sensor in this electronic equipment, when user contacts with this electronic equipment, this capacitance becomes Change, e.g., be 0 time contactless, when having contact, become 1 or bigger numerical value.
Step S702: judge that whether described capacitance is more than the first capacitance threshold value preset;When described capacitance is more than institute When stating the first capacitance threshold value, it is judged that described current environment meets presets environmental condition;Otherwise, described current environment is unsatisfactory for presetting Environmental condition.
Wherein, the detection data of this sensor obtained are compared with the first capacitance threshold value, when this capacitance is more than During this first capacitance threshold value, show that this electronic equipment current environment meets default environmental condition, i.e. this electronic equipment and connects with user Touch;Otherwise, show that this electronic equipment current environment is unsatisfactory for presetting environmental condition, i.e. this electronic equipment and does not contacts with user.
Wherein, described first judged result shows, when described current environment meets default environmental condition, to perform step S703; Otherwise, step S704 is performed.
Step S703: control equipment is in eyeball/Eye-controlling focus state;
Step S704: control equipment is closed.
Wherein, step S703-704 is consistent with step S103-104 in embodiment 1, repeats no more in the present embodiment.
In actual enforcement, this capacitance sensor will produce capacitance when electronic equipment is different from human contact's mode Change, so, judge in the case of difference is also contacted by the application.
See the flow chart of a kind of condition control method embodiment 8 that Fig. 8 shows that the application provides, including:
Step S801: obtain the detection data of described sensor, described detection data are the capacitance of described electronic equipment;
Step S802: described capacitance is compared with the first capacitance threshold value preset;
Wherein, step S801-802 is consistent with step S701-702 in embodiment 7, repeats no more in the present embodiment.
Step S803: when described capacitance is more than described first capacitance threshold value, it is judged that whether described capacitance is more than pre- If the second capacitance threshold value, when described capacitance more than described second capacitance threshold value time, it is judged that described current environment meet preset Environmental condition;Otherwise, described current environment is unsatisfactory for presetting environmental condition.
Wherein, described second capacitance threshold value is higher than described first capacitance threshold value.
Wherein, when user and electronic equipment be first way of contact contact time, the capacitance of this capacitance sensor was more than should First capacitance threshold value, but it is less than this second capacitance threshold value, and when user and electronic equipment are second way of contact, this electric capacity The capacitance of sensor is more than this second capacitance threshold value.
It should be noted that in this second way of contact, the mode that user used or wore this electronic equipment is more accurate Really, when second way of contact, user is more than first way of contact with the contact area of the first electronic equipment.
Such as, when this electronic equipment is bluetooth earphone, this first way of contact is the hand-held bluetooth earphone of user, the second contact Mode is that bluetooth earphone is worn on ear by user, due to this bluetooth earphone profile and human ear form fit, works as user When bluetooth earphone is worn on ear, big when its contact area rate is hand-held, during such as user this bluetooth earphone hand-held, capacitance Being 1, be worn on ear, capacitance is 3, according to the threshold value 2 arranged, so that it may when judging that obtaining capacitance is 3, it is judged that institute State electronic equipment current environment and meet default environmental condition, maintain described electronic equipment to be in running status;Otherwise switch to pass Closed state.
It should be noted that in the present embodiment, first capacitance and first capacitance threshold value of this electronic equipment are compared Relatively, after obtaining the comparative result more than this first capacitance threshold value, then this capacitance and the second capacitance threshold value are compared, but It is that the order of this judgement is not limited to this, actual implements, it is possible to directly by capacitance and second electric capacity of this capacitance sensor Sensor ratio relatively, obtains comparative result.
Wherein, described first judged result shows, when described current environment meets default environmental condition, to perform step S804; Otherwise, step S805 is performed.
Step S804: control equipment is in eyeball/Eye-controlling focus state;
Step S805: control equipment is closed.
Wherein, step S804-805 is consistent with step S103-104 in embodiment 1, repeats no more in the present embodiment.
A kind of condition control method embodiment provided with above-mentioned the application is corresponding, present invention also provides a kind of electronics Apparatus embodiments.
As shown in Figure 9, it is shown that the structural representation of a kind of electronic equipment that the application provides, described electronic equipment is permissible Being the electronic equipments such as bluetooth earphone, intelligent watch, Wearable, it is changeable that described electronic equipment has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state and runs, when this electronic equipment When not contacting with user, it is closed.
This electronic equipment includes:
Acquisition module 901, for obtaining the environmental information of described electronic equipment place current environment;
Wherein, this electronic equipment can have different states in different environment, as in first environment for eyeball/regard State followed the trail of by line, is closed mode in other environments.
Wherein, this environmental information is the information that this electronic equipment is currently located environment, and concrete may include that temperature, pressure The various information relevant to this electronic device environment such as power, light intensity.
Wherein, this environmental information can be one or more, temperature described above, pressure, one of light persistent erection of the penis or several Individual set.
Wherein, this electronic equipment place current environment can be determined whether according to this environmental information.
It should be noted that this environmental information can be the environmental information that this electronic equipment detects self, it is possible to for The environmental information that the equipment Inspection that this electronic equipment is connected is arrived, does not limits in the present embodiment.
First judge module 902, presets environment for judging whether described current environment meets according to described environmental information Condition, and generate judged result;
Wherein, the described electronic equipment of described default environmental condition sign contacts with user;
Wherein, it is judged that whether described current environment meets is preset environmental condition, and detailed process comprises the steps that working as this acquisition The environmental information of front environment, compares with corresponding type condition in this default environmental condition, and generates judged result.As, This environmental information is temperature, then compare with the corresponding temperature conditions in default environmental condition, when this environmental information is pressure Power, then compare with the corresponding temperature conditions in default environmental condition, or, when this environmental information is temperature and pressure Time, temperature conditions corresponding with default environmental condition and pressure condition are compared respectively.This is not sentenced by the present embodiment Disconnected concrete mode is defined, and can judge according to practical situation in actual enforcement.
Wherein, this judged result includes two kinds of situations: one is, current environment meets presets environmental condition, i.e. this electronics sets The standby environment being presently in is for presetting environment;Two are, current environment is unsatisfactory for presetting environmental condition, i.e. this electronic equipment is current Residing environment is not to preset environment.
Certainly, in reality is implemented, the kind according to this environmental information is the most, it is judged that the shape of this electronic equipment current environment The accuracy of state is the highest.
Control module 903, for when described judged result shows that described current environment meets default environmental condition, controlling Equipment is in eyeball/Eye-controlling focus state;When described judged result shows that described current environment is unsatisfactory for presetting environmental condition, Control equipment is closed.
Wherein, when this electronic equipment current environment meet preset environmental condition time, it is known that this electronic equipment work as front ring Border meets it and runs in eyeball/Eye-controlling focus state, then control electronic equipment and be in eyeball/Eye-controlling focus state
It should be noted that when obtaining the environmental information of this electronic equipment current environment, this electronic equipment is in cut out State, and judge when the current environment of this electronic equipment meets default environmental condition, then to control this electronic equipment by closed mode Switch to eyeball/Eye-controlling focus state.
Wherein, when this electronic equipment current environment be unsatisfactory for preset environmental condition time, i.e. this electronic equipment no longer with user Contact, then the current environment of this electronic equipment is unsatisfactory for its condition run in eyeball/Eye-controlling focus state, and meets it and closing The service condition of closed state, switches to closed mode by the state of described electronic equipment.
Needing explanation, when obtaining the environmental information of this electronic equipment current environment, this electronic equipment is in cut out shape State, and judge when the current environment of this electronic equipment is unsatisfactory for presetting environmental condition, this electronic equipment only need to be maintained for closing shape State.
It should be noted that when this electronic equipment is connected with other electronic equipments, and the information processing capability of electronic equipment Poor, when coupled electronic equipment has stronger information processing capability, it is possible to its environmental information is transferred to and its phase In electronic equipment even, this electronic equipment being connected judges, and controls this electronic equipment in eyeball/Eye-controlling focus state And the switching between closed mode.
In the present embodiment, first pass through the environmental information obtaining electronic equipment place current environment, sentence according to environmental information Whether disconnected current environment meets electronic equipment contacts with user, and when judging that electronic equipment contacts with user, control equipment is in Eyeball/Eye-controlling focus state, when judging that electronic equipment does not contacts with user, shows that now user need not use electronics to set Standby, control equipment is switched to closed mode by duty, solves when user need not use electronic equipment, needs manually The state of switching electronic equipment, is easily caused the problem that electronic equipment energy resource consumption strengthens.
As shown in Figure 10, it is shown that the structural representation of a kind of electronic equipment that the application provides, described electronic equipment can To be the electronic equipments such as bluetooth earphone, intelligent watch, Wearable, it is changeable that described electronic equipment has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state and runs, when this electronic equipment When not contacting with user, it is closed.
This electronic equipment includes:
Acquisition module 1001, for obtaining the environmental information of described electronic equipment place current environment;
First judge module 1002, presets environment for judging whether described current environment meets according to described environmental information Condition, and generate judged result;
First start unit 1003, for presetting environmental condition when described judged result shows that described current environment meets Time, start infrared LED and face is detected by infrared camera;
When judging that current environment meets default environmental condition, i.e. judge when electronic equipment contacts with user, show now Need to use electronic equipment, in order to realize eyeball/Eye-controlling focus positioning function, by opening infrared LED and infrared camera, its In, infrared LED and infrared camera can be integrated on described electronic equipment, detected face by infrared camera.
Whether the first judging unit 1004, detect facial image in being used for judging Preset Time;
First output unit 1005, for when judging to detect facial image in Preset Time, is chased after by eyeball/sight line The track algorithm output elements of a fix;
Whether the second start unit 1006, detect the result of facial image in judge Preset Time when being no, open Dynamic eyeball/Eye-controlling focus low-power consumption mode.
When in Preset Time for detecting facial image, show now to need not realize eyeball/Eye-controlling focus location Function, now starts eyeball/realization and follows the trail of low-power consumption mode, reduce the energy resource consumption of electronic equipment.
Control module 1007, is used for when described judged result shows that described current environment is unsatisfactory for presetting environmental condition, Control equipment is closed.
In the present embodiment, first pass through the environmental information obtaining electronic equipment place current environment, sentence according to environmental information Whether disconnected current environment meets electronic equipment contacts with user, and when judging that electronic equipment contacts with user, control equipment is in Eyeball/Eye-controlling focus state, when judging that electronic equipment does not contacts with user, shows that now user need not use electronics to set Standby, control equipment is switched to closed mode by duty, solves when user need not use electronic equipment, needs manually The state of switching electronic equipment, is easily caused the problem that electronic equipment energy resource consumption strengthens.Meanwhile, it is in eye at control equipment During ball/realize tracking state, by opening infrared LED and infrared camera, it is judged that whether detect in Preset Time Facial image, when judging not detect facial image in Preset Time, starts eyeball/Eye-controlling focus low-power consumption mode, enters one Step reduces the energy resource consumption of electronic equipment.
As shown in figure 11, it is shown that the structural representation of a kind of electronic equipment that the application provides, described electronic equipment can To be the electronic equipments such as bluetooth earphone, intelligent watch, Wearable, it is changeable that described electronic equipment has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state and runs, when this electronic equipment When not contacting with user, it is closed.
This electronic equipment includes:
Acquisition module 1101, for obtaining the environmental information of described electronic equipment place current environment;
First judge module 1102, presets environment for judging whether described current environment meets according to described environmental information Condition, and generate judged result;
Wherein, the described electronic equipment of described default environmental condition sign contacts with user;
First start unit 1103, for presetting environmental condition when described judged result shows that described current environment meets Time, start infrared LED and face is detected by infrared camera;
When judging that current environment meets default environmental condition, i.e. judge when electronic equipment contacts with user, show now Need to use electronic equipment, in order to realize eyeball/Eye-controlling focus positioning function, by opening infrared LED and infrared camera, its In, infrared LED and infrared camera can be integrated on described electronic equipment, detected face by infrared camera.
Whether the first judging unit 1104, detect facial image in being used for judging Preset Time;
First output unit 1105, for by eyeball/Eye-controlling focus algorithm output elements of a fix;
Whether the 3rd start unit 1106, detect the result of facial image in judge Preset Time when being no, close Close infrared LED and infrared camera, start visible image capturing head and motion or light sensation are detected;
When judging not detect facial image in Preset Time, show now to need not start eyeball/Eye-controlling focus fixed Bit function, now, closes infrared LED and infrared camera, starts visible image capturing head and detect motion or light sensation.
It should be noted that infrared camera and visible image capturing head can be the photographic head of independent function, it is also possible to be Photographic head infrared camera and visible image capturing head integrated, the photographic head i.e. integrated both had had infrared taking the photograph Function as head also has the function of visible image capturing head.
Second judging unit 1107, is used for judging whether described motion or light sensation running parameter meet pre-conditioned;
4th start unit 1108, for when judging described motion or light sensation parameter meets pre-conditioned, starts visible Face is detected by light, until detecting facial image.
Control module 1109, is used for when described judged result shows that described current environment is unsatisfactory for presetting environmental condition, Control equipment is closed.
The present embodiment is on the basis of above-described embodiment, when not detecting facial image in Preset Time, shows this Time need not realize eyeball/Eye-controlling focus positioning function, now start eyeball/realization and follow the trail of low-power consumption mode, low power consumption mould The bigger infrared LED of energy consumption and infrared camera is closed, by the visible image capturing head of low-power consumption to running or light under formula Sense is detected, thus reduce further the energy resource consumption of electronic equipment.
As shown in figure 12, it is shown that the structural representation of a kind of electronic equipment that the application provides, described electronic equipment can To be the electronic equipments such as bluetooth earphone, intelligent watch, Wearable, it is changeable that described electronic equipment has two states.
Wherein, when this electronic equipment contacts with user, it is in eyeball/Eye-controlling focus state and runs, when this electronic equipment When not contacting with user, it is closed.
This electronic equipment includes:
Acquisition module 1201, for obtaining the environmental information of described electronic equipment place current environment;
First judge module 1202, presets environment for judging whether described current environment meets according to described environmental information Condition, and generate judged result;
Wherein, the described electronic equipment of described default environmental condition sign contacts with user;
First start unit 1203, for presetting environmental condition when described judged result shows that described current environment meets Time, start infrared LED and face is detected by infrared camera;
Whether the first judging unit 1204, detect facial image in being used for judging Preset Time;
First output unit 1205, for when judging to detect facial image in Preset Time, is chased after by eyeball/sight line The track algorithm output elements of a fix;
Receive unit 1206, trigger, for receiving, the triggering signal confirming that button generates;
After by eyeball/Eye-controlling focus algorithm output elements of a fix, eyeball fixes point is used merely to determine position, when needing During eyeball to be positioned/Eye-controlling focus algorithm output elements of a fix, need to receive and trigger the triggering signal that acknowledgement key generates.
The action confirmed must be accurate and timely, and to strengthen the real experiences of user, therefore the position of acknowledgement key can set Put in the region facilitating user to touch, such as, as a example by yoga notebook is under plate mode, user right-hand man's thumb with 4 outer fingers are exactly in the position of applicable acknowledgement key.
Determine unit 1207, for determining eyeball/Eye-controlling focus position according to described triggering signal and the elements of a fix.
3rd start unit 1208, is used for closing infrared LED and infrared camera, start visible image capturing head to motion or Light sensation is detected;
Second judging unit 1209, is used for judging whether described motion or light sensation running parameter meet pre-conditioned;
4th start unit 1210, for when judging described motion or light sensation parameter meets pre-conditioned, starts visible Face is detected by light, until detecting facial image
Control module 1211, is used for when described judged result shows that described current environment is unsatisfactory for presetting environmental condition, Control equipment is closed.
Wherein, it is provided with sensor in the electronic device, the environmental information of the current environment of electronic equipment can be adopted Collection, and carry out follow-up judgement.
See the structural representation of a kind of electronic equipment embodiment 5 that Figure 13 shows that the application provides, including: obtain mould Block the 1301, first judge module 1302 and control module 1303;Wherein, this first judge module 1302 includes the first acquiring unit 1304 and the 3rd judging unit 1305.
First acquiring unit 1304, for obtaining the detection data of described sensor, described detection data are described electronics The force value of equipment predetermined position;
Wherein, this predeterminated position is can to produce, with user, the position contacted in this electronic equipment, when user and this electronics During equipment contact, the detection data of described sensor change.
Wherein, when this sensor is pressure transducer, the data of sensor detection are that this electronic equipment is in this default position Put the force value at place.
Concrete, when this electronic equipment is contactless with user, this force value can be a less numerical value, when this electronics When equipment contacts with user, this force value is bigger.
3rd judging unit 1305, for judging the pressure threshold whether described force value is preset more than one;When described pressure When force value is more than described pressure threshold, it is judged that described current environment meets presets environmental condition;Otherwise, described current environment is discontented with Foot presets environmental condition.
Wherein, the detection data of this sensor obtained are compared, when this force value is big with the pressure threshold preset When this pressure threshold, show that this electronic equipment current environment meets default environmental condition, i.e. this electronic equipment and contacts with user; When this force value is less than this pressure threshold, show that this electronic equipment current environment is unsatisfactory for presetting environmental condition, i.e. this electronics Equipment does not contacts with user.
Wherein, described first judged result shows, when described current environment meets default environmental condition, to control described electronics Equipment is in eyeball/Eye-controlling focus state;Otherwise, control module 1303 is activated, by described electronic equipment by eyeball/Eye-controlling focus State switches to closed mode.
See the structural representation of a kind of electronic equipment embodiment 6 that Figure 14 shows that the application provides, including: obtain mould Block the 1401, first judge module 1402 and control module 1403;Wherein, this first judge module 1402 includes second acquisition unit 1404 and the 4th judging unit 1405.
Second acquisition unit 1404, for obtaining the detection data of described sensor, described detection data are described electronics The temperature value of equipment predetermined position;
Wherein, this predeterminated position is can to produce, with user, the position contacted in this electronic equipment, when user and this electronics During equipment contact, the detection data of described sensor change.
Wherein, when this sensor is temperature sensor, the data of sensor detection are that this electronic equipment is in this default position Putting the temperature value at place, this second acquisition unit 1404 obtains the temperature value of this sensor detection.
Concrete, owing to ambient temperature is generally below human body temperature, when this electronic equipment is contactless with user, this temperature Value can be a relatively low numerical value, and when this electronic equipment contacts with user, this temperature value raises, close with human body temperature.
4th judging unit 1405, for comparing described temperature value and a temperature values preset;When described temperature Value meets when being in condition in described temperature range, it is judged that described current environment meets presets first environment condition;Otherwise, described Current environment is unsatisfactory for presetting first environment condition.
Wherein, the detection data of this sensor obtained are compared, when this temperature value with the temperature values preset When being positioned at this temperature values, show that this electronic equipment current environment meets and preset environmental condition, i.e. this electronic equipment and user Contact;When this temperature value is introduced into this temperature values, show that this electronic equipment current environment is unsatisfactory for presetting environmental condition, This electronic equipment i.e. does not contacts with user, can be considered consistent with ambient temperature.
Wherein, described first judged result shows, when described current environment meets default environmental condition, to maintain described electronics Equipment is in eyeball/Eye-controlling focus state;Otherwise, control module 1403 is activated, by described electronic equipment by eyeball/Eye-controlling focus State switches to closed mode.
See the structural representation of a kind of electronic equipment embodiment 7 that Figure 15 shows that the application provides, including: obtain mould Block the 1501, first judge module 1502 and control module 1503;Wherein, this first judge module 1502 includes the 3rd acquiring unit 1504 and the 5th judging unit 1505.
3rd acquiring unit 1504, for obtaining the detection data of described sensor, described detection data are described electronics The capacitance of equipment;
Wherein, being provided with capacitance sensor in this electronic equipment, when user contacts with this electronic equipment, this capacitance becomes Change, e.g., be 0 time contactless, when having contact, become 1 or bigger numerical value.
Wherein, the 3rd acquiring unit 1504 obtains the capacitance of described capacitance sensor detection.
5th judging unit 1505, for comparing described capacitance with the first capacitance threshold value preset;When described When capacitance is more than described first capacitance threshold value, it is judged that described current environment meets presets environmental condition;Otherwise, described front ring is worked as Border is unsatisfactory for presetting environmental condition.
Wherein, the detection data of this sensor obtained are compared by the 5th judging unit 1505 with the first capacitance threshold value Relatively, when this capacitance is more than this first capacitance threshold value, shows that this electronic equipment current environment meets and preset environmental condition, i.e. should Electronic equipment contacts with user;Otherwise, show that this electronic equipment current environment is unsatisfactory for presetting environmental condition, i.e. this electronic equipment Do not contact with user.
Wherein, described first judged result shows, when described current environment meets default environmental condition, to maintain described electronics Equipment is in eyeball/Eye-controlling focus state;Otherwise, control module 1503 is activated, by described electronic equipment by eyeball/Eye-controlling focus State switches to closed mode.
See the structural representation of a kind of electronic equipment embodiment 8 that Figure 16 shows that the application provides, including: obtain mould Block the 1601, first judge module 1602 and control module 1603;Wherein, this first judge module 1602 includes the 3rd acquiring unit 1604, the 5th judging unit 1605 and the 6th judging unit 1606.
4th judging unit 1006, for described capacitance is compared with the second default capacitance threshold value, described the Two capacitance threshold value are higher than described first capacitance threshold value;When described capacitance more than described second capacitance threshold value time, it is judged that described work as Front environment meets presets environmental condition;Otherwise, described current environment is unsatisfactory for presetting environmental condition.
Wherein, described second capacitance threshold value is higher than described first capacitance threshold value.
Wherein, when user and electronic equipment be first way of contact contact time, the capacitance of this capacitance sensor was more than should First capacitance threshold value, but it is less than this second capacitance threshold value, and when user and electronic equipment are second way of contact, this electric capacity The capacitance of sensor is more than this second capacitance threshold value.
It should be noted that in this second way of contact, the mode that user used or wore this electronic equipment is more accurate Really, when second way of contact, user is more than first way of contact with the contact area of electronic equipment.
Wherein, when the capacitance of this capacitance sensor is more than this first capacitance threshold value, the 6th judging unit 1606 should Capacitance compares with the second capacitance threshold value preset, and determines whether that user uses this electronics to set the most in the correct way Standby, and then electronic equipment current environment meets default environmental condition to use this electronic equipment to be judged as according to user's correct way, Otherwise it is unsatisfactory for.
Such as, when this electronic equipment is bluetooth earphone, this first way of contact is the hand-held bluetooth earphone of user, the second contact Mode is that bluetooth earphone is worn on ear by user, due to this bluetooth earphone profile and human ear form fit, works as user When bluetooth earphone is worn on ear, big when its contact area rate is hand-held, during such as user this bluetooth earphone hand-held, capacitance Being 1, be worn on ear, capacitance is 3, according to the threshold value 2 arranged, so that it may when judging that obtaining capacitance is 3, it is judged that institute State electronic equipment current environment and meet default environmental condition, maintain described electronic equipment to be in running status;Otherwise switch to pass Closed state.
It should be noted that in the present embodiment, first capacitance and first capacitance threshold value of this electronic equipment are compared Relatively, after obtaining the comparative result more than this first capacitance threshold value, then this capacitance and the second capacitance threshold value are compared, but It is that the order of this judgement is not limited to this, actual implements, it is possible to directly by capacitance and second electric capacity of this capacitance sensor Sensor ratio relatively, obtains comparative result.
In this specification, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is and other The difference of embodiment, between each embodiment, identical similar portion sees mutually.For device disclosed in embodiment For, owing to it corresponds to the method disclosed in Example, so describe is fairly simple, relevant part sees method part and says Bright.
Professional further appreciates that, in conjunction with the unit of each example that the embodiments described herein describes And algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, the most generally describes composition and the step of each example according to function.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can direct hardware, processor be held The software module of row, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention. Multiple amendment to these embodiments will be apparent from for those skilled in the art, as defined herein General Principle can realize without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention It is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein and features of novelty phase one The widest scope caused.

Claims (16)

1. a condition control method, it is characterised in that be applied to electronic equipment, described method includes:
Obtain the environmental information of described electronic equipment place current environment;
Judge whether described current environment meets according to described environmental information and preset environmental condition, and generate judged result, described Preset the environmental condition described electronic equipment of sign to contact with user;
When described judged result shows that described current environment meets default environmental condition, control equipment is in eyeball/sight line and chases after Track state;
When described judged result shows that described current environment is unsatisfactory for presetting environmental condition, control equipment is closed.
Method the most according to claim 1, it is characterised in that described control equipment is in eyeball/Eye-controlling focus state bag Include:
Start infrared LED and face is detected by infrared camera;
Whether detect facial image in judging Preset Time, the most then sat by eyeball/Eye-controlling focus algorithm output location Mark, if it is not, then:
Start eyeball/Eye-controlling focus low-power consumption mode.
Method the most according to claim 2, it is characterised in that described startup eyeball/Eye-controlling focus low-power consumption mode includes:
Close infrared LED and infrared camera, start visible image capturing head and motion or light sensation are detected;
Judge whether described motion or light sensation running parameter meet pre-conditioned, the most then:
Start visible ray face to be detected, until detecting facial image.
The most according to the method in claim 2 or 3, it is characterised in that described by eyeball/Eye-controlling focus algorithm output location Also include after coordinate:
Receive and trigger the triggering signal confirming that button generates;
Eyeball/Eye-controlling focus position is determined according to described triggering signal and the elements of a fix.
Method the most according to claim 1, it is characterised in that described electronic equipment is provided with sensor, then obtain described According to described environmental information, the environmental information of electronic equipment place current environment, judges whether described current environment meets and presets ring Border condition, and generate judged result and include:
Obtaining the detection data of described sensor, described detection data are the force value of described electronic equipment predetermined position;
Described force value is compared with a pressure threshold preset;
When described force value is more than described pressure threshold, it is judged that described current environment meets presets environmental condition;
Otherwise, described current environment is unsatisfactory for described default environmental condition.
Method the most according to claim 1, it is characterised in that described electronic equipment is provided with sensor, then obtain described According to described environmental information, the environmental information of electronic equipment place current environment, judges whether described current environment meets and presets ring Border condition, and generate judged result and include:
Obtaining the detection data of described sensor, described detection data are the temperature value of described electronic equipment predetermined position;
Described temperature value and a temperature values preset are compared;
When described temperature value meets and is in condition within the scope of described default temperature, it is judged that described current environment meets presets ring Border condition;
Otherwise, described current environment is unsatisfactory for presetting environmental condition.
Method the most according to claim 1, it is characterised in that described electronic equipment is provided with sensor, then obtain described According to described environmental information, the environmental information of electronic equipment place current environment, judges whether described current environment meets and presets ring Border condition, and generate judged result and include:
Obtaining the detection data of described sensor, described detection data are the capacitance of described electronic equipment;
Described capacitance is compared with the first capacitance threshold value preset;
When described capacitance is more than described first capacitance threshold value, it is judged that described current environment meets presets environmental condition;
Otherwise, described current environment is unsatisfactory for presetting environmental condition.
Method the most according to claim 7, it is characterised in that also include:
Being compared with the second capacitance threshold value preset by described capacitance, described second capacitance threshold value is higher than described first electric capacity Threshold value;
When described capacitance is more than described second capacitance threshold value, it is judged that described current environment meets presets environmental condition;
Otherwise, described current environment is unsatisfactory for presetting environmental condition.
9. an electronic equipment, it is characterised in that including:
Acquisition module, for obtaining the environmental information of described electronic equipment place current environment;
First judge module, presets environmental condition for judging whether described current environment meets according to described environmental information, and Generating judged result, described default environmental condition characterizes described electronic equipment and contacts with user;
Control module, for when described judged result shows that described current environment meets default environmental condition, controlling at equipment In eyeball/Eye-controlling focus state;When described judged result shows that described current environment is unsatisfactory for presetting environmental condition, control to set For being closed.
Electronic equipment the most according to claim 9, it is characterised in that described control module includes:
First start unit, is used for starting infrared LED and face is detected by infrared camera;
Whether the first judging unit, detect facial image in being used for judging Preset Time;
First output unit, for when judging to detect facial image in Preset Time, defeated by eyeball/Eye-controlling focus algorithm Go out the elements of a fix;
Whether the second start unit, detect the result of facial image in judge Preset Time when being no, starts eyeball/regard Low-power consumption mode followed the trail of by line.
11. electronic equipments according to claim 10, it is characterised in that described second start unit includes:
3rd start unit, is used for closing infrared LED and infrared camera, starts visible image capturing head and carries out motion or light sensation Detecting;
Second judging unit, is used for judging whether described motion or light sensation running parameter meet pre-conditioned;
4th start unit, for when judging described motion or light sensation parameter meets pre-conditioned, starts visible ray to face Detect, until detecting facial image.
12. according to the electronic equipment described in claim 10 or 11, it is characterised in that also include:
Receive unit, trigger, for receiving, the triggering signal confirming that button generates;
Determine unit, for determining eyeball/Eye-controlling focus position according to described triggering signal and the elements of a fix.
13. electronic equipments according to claim 9, it is characterised in that described electronic equipment is provided with sensor, then described First judge module includes:
First acquiring unit, for obtaining the detection data of described sensor, described detection data are that described electronic equipment is preset The force value of position;
3rd judging unit, for comparing described force value with a pressure threshold preset;When described force value is more than described During pressure threshold, it is judged that described current environment meets presets environmental condition;Otherwise, described current environment is unsatisfactory for described default ring Border condition.
14. electronic equipments according to claim 9, it is characterised in that described electronic equipment is provided with sensor, then described First judge module includes:
Second acquisition unit, for obtaining the detection data of described sensor, described detection data are that described electronic equipment is preset The temperature value of position;
4th judging unit, for comparing described temperature value and a temperature values preset;When described temperature value meets place Within the scope of described default temperature during condition, it is judged that described current environment meets presets environmental condition;Otherwise, described front ring is worked as Border is unsatisfactory for presetting environmental condition.
15. electronic equipments according to claim 9, it is characterised in that described electronic equipment is provided with sensor, then described First judge module includes:
3rd acquiring unit, for obtaining the detection data of described sensor, described detection data are the electricity of described electronic equipment Capacitance;
5th judging unit, for comparing described capacitance with the first capacitance threshold value preset;When described capacitance is big When described first capacitance threshold value, it is judged that described current environment meets presets environmental condition;Otherwise, described current environment is unsatisfactory for Preset environmental condition.
16. electronic equipments according to claim 15, it is characterised in that described first judge module also includes:
6th judging unit, for described capacitance is compared with the second capacitance threshold value preset, described second electric capacity threshold Value is higher than described first capacitance threshold value;When described capacitance is more than described second capacitance threshold value, it is judged that described current environment is full Foot presets environmental condition;Otherwise, described current environment is unsatisfactory for presetting environmental condition.
CN201610446903.1A 2016-06-20 2016-06-20 A kind of condition control method and electronic equipment Active CN106125919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610446903.1A CN106125919B (en) 2016-06-20 2016-06-20 A kind of condition control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610446903.1A CN106125919B (en) 2016-06-20 2016-06-20 A kind of condition control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106125919A true CN106125919A (en) 2016-11-16
CN106125919B CN106125919B (en) 2019-04-26

Family

ID=57470942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610446903.1A Active CN106125919B (en) 2016-06-20 2016-06-20 A kind of condition control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106125919B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783710A (en) * 2017-10-25 2018-03-09 珠海市魅族科技有限公司 Camera control method and device, terminal and readable storage medium storing program for executing
CN110069124A (en) * 2018-01-22 2019-07-30 简韶逸 Double mode Eye-controlling focus method and system
WO2020063077A1 (en) * 2018-09-30 2020-04-02 北京七鑫易维信息技术有限公司 Eyeball tracking information processing method and apparatus applied to terminal
WO2020103619A1 (en) * 2018-11-22 2020-05-28 深圳光启超材料技术有限公司 Smart wearable device and control method for power consumption thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232743A (en) * 2007-01-24 2008-07-30 鸿富锦精密工业(深圳)有限公司 Audio playing device and used earphone, automatic control method
CN103312874A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Mobile equipment operation state converting method and mobile equipment
CN103813023A (en) * 2014-03-10 2014-05-21 联想(北京)有限公司 State control method and device and electronic device
CN104516474A (en) * 2013-10-08 2015-04-15 联想(北京)有限公司 Information processing method and electronic device
CN105204638A (en) * 2015-09-18 2015-12-30 联想(北京)有限公司 Electronic device and information processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232743A (en) * 2007-01-24 2008-07-30 鸿富锦精密工业(深圳)有限公司 Audio playing device and used earphone, automatic control method
CN103312874A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Mobile equipment operation state converting method and mobile equipment
CN104516474A (en) * 2013-10-08 2015-04-15 联想(北京)有限公司 Information processing method and electronic device
CN103813023A (en) * 2014-03-10 2014-05-21 联想(北京)有限公司 State control method and device and electronic device
CN105204638A (en) * 2015-09-18 2015-12-30 联想(北京)有限公司 Electronic device and information processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783710A (en) * 2017-10-25 2018-03-09 珠海市魅族科技有限公司 Camera control method and device, terminal and readable storage medium storing program for executing
CN110069124A (en) * 2018-01-22 2019-07-30 简韶逸 Double mode Eye-controlling focus method and system
CN110069124B (en) * 2018-01-22 2022-02-18 简韶逸 Dual-mode gaze tracking method and system
WO2020063077A1 (en) * 2018-09-30 2020-04-02 北京七鑫易维信息技术有限公司 Eyeball tracking information processing method and apparatus applied to terminal
WO2020103619A1 (en) * 2018-11-22 2020-05-28 深圳光启超材料技术有限公司 Smart wearable device and control method for power consumption thereof

Also Published As

Publication number Publication date
CN106125919B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN106125919A (en) A kind of condition control method and electronic equipment
Poggi et al. A wearable mobility aid for the visually impaired based on embedded 3D vision and deep learning
DE102014019651A1 (en) Electronic device and display control method
CN103530978B (en) A kind of dangerous criminal towards special population and warning system
CN104656888A (en) Device control using a wearable device
WO2017071172A1 (en) Intelligent wearable device and power supply method therefor
CN114127669A (en) Trackability enhancement for passive stylus
US10274901B2 (en) Wearable article
Mattoccia et al. 3D glasses as mobility aid for visually impaired people
JP2002534888A (en) Proximity sensor based on micropower capacitance
CN109799624A (en) A kind of intelligence children's protective spectacles and terminal device
CN106647942A (en) Wearable equipment control method and device and wearable equipment
CN212089543U (en) Posture detection equipment and necklace
KR20170016885A (en) Battery isolation circuit
CN103149695A (en) Three-dimensional (3D) glasses with health detection function
CN104932782A (en) Information processing method and apparatus and smart glasses
CN109036332A (en) Intelligent terminal and its adjusting method of screen intensity, the device with store function
CN109101112A (en) A kind of wear-type electronic equipment and its control method
CN111084624A (en) Body posture detection method and device and necklace
CN106125886A (en) A kind of condition control method and electronic equipment
CN111160165A (en) Self-adaptive posture error correction detection method and device
CN109701262A (en) A kind of game station and its mobile method and device of control VR game role
CN204650728U (en) Rear mountedly wear eyesight protector
CN104536556B (en) Information processing method and electronic equipment
US20170155252A1 (en) Chargeable device and charger thereof

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