CN104468943A - A controlling method and electronic apparatus - Google Patents
A controlling method and electronic apparatus Download PDFInfo
- Publication number
- CN104468943A CN104468943A CN201310421595.3A CN201310421595A CN104468943A CN 104468943 A CN104468943 A CN 104468943A CN 201310421595 A CN201310421595 A CN 201310421595A CN 104468943 A CN104468943 A CN 104468943A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- environment
- described electronic
- judged result
- less
- 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.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
Abstract
The present invention discloses a controlling method, for enhancing prompt strength for the electronic apparatus. The method includes: when obtaining a first event, determining a luminance value of an environmental light of a preset environment where the electronic apparatus locates is lower than a preset luminance value, to obtain a first determining result; when the first determining result shows the luminance value of the environmental light is lower than the preset luminance value, controlling the electronic apparatus to be a first mode which enables a user to be perceptive about the first event. The present invention further discloses an electronic apparatus for achieving the method.
Description
Technical field
The present invention relates to computer and built-in field, particularly a kind of control method and electronic equipment.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic product also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.The comfortable life that present people can be brought along with development in science and technology by various types of electronic equipment enjoyment.Such as, the electronic equipments such as mobile phone have become an indispensable part in people's life, and people can be strengthened and contacting between other people in mode of making a phone call, send short messages etc. by electronic equipments such as mobile phones.
Widely, the operating system in smart mobile phone has multiple in the application of present smart mobile phone, such as, have Android(operating system, be also called Android) operating system, iOS(operating system) operating system etc.Wherein Android system can be applied in various different mobile phone, and its scope of application widely.But under Android system, when cell phone incoming call, if press POWER(switching on and shutting down) button or volume key, mobile phone will transfer silent mode to automatically, and does not also have vibration prompt.
In this case, if user is hand held by mobile phone, may can not miss incoming call, if but user is in being placed on by mobile phone in pocket or wrapping, POWER button or volume key may be touched because of carelessness during incoming call, now mobile phone transfers to quiet, and user also just cannot know there is incoming call, can cause missing phone.
Visible, in prior art, the prompting intensity of mobile phone is more weak, and prompting effect is poor, and there is not reasonably situation in mobile phone operating system of the prior art, reduces user experience.
Summary of the invention
The embodiment of the present invention provides a kind of control method and electronic equipment, the technical problem that the prompting intensity for solving mobile phone in prior art is more weak, achieves the technique effect of the prompting intensity improving mobile phone.
A kind of control method, is applied to electronic equipment, said method comprising the steps of:
When acquisition the first event, judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result;
When described first judged result shows described environment bright angle value lower than described predetermined luminance value, control described electronic equipment and be in the first mode enabling described first event for the perception of user institute.
Preferably, the step obtaining the first event comprises: receive the first incoming call.
Preferably, described electronic equipment has optical sensor, and judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than described predetermined luminance value, the step obtaining the first judged result comprises:
First environment optical information is gathered by described optical sensor;
Judge whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, obtains the first judged result; Wherein, when described first environment light intensity is less than described first Intensity threshold, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Preferably, described electronic equipment has optical sensor and proximity transducer, and judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than described predetermined luminance value, the step obtaining the first judged result comprises:
Gather first environment optical information by described optical sensor, and block the first distance between the first object of described electronic equipment and described electronic equipment by described proximity transducer collection;
Judge whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, and judge whether described first distance is less than predeterminable range, obtains the first judged result;
Wherein, when described first environment light intensity is less than described first Intensity threshold, and described first distance is when being less than described predeterminable range, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Preferably, control the step that described electronic equipment is in the first mode enabling described first event for the perception of user institute to comprise:
Control described electronic equipment and be in non-mute pattern, and/or control described electronic equipment and be in vibration mode.
Preferably, control described electronic equipment be in enable the first mode of described first event for the perception of user institute after also comprise step:
Obtain the first operation that user presses the first button of described electronic equipment;
First operation information corresponding according to described first operation, determines to forbid responding described first operation.
A kind of electronic equipment, described electronic equipment comprises:
Judge module, for when acquisition the first event, judges that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result;
Control module, for when described first judged result shows described environment bright angle value lower than described predetermined luminance value, controls described electronic equipment and is in the first mode enabling described first event for the perception of user institute.
Preferably, described electronic equipment also comprises the first acquisition module, for obtaining described first event.
Preferably, described first acquisition module specifically for: receive the first incoming call.
Preferably, described electronic equipment has optical sensor, and described judge module comprises the first acquisition submodule and first and judges submodule;
Described first obtains submodule is used for gathering first environment optical information by described optical sensor;
Described first judges that submodule is for judging whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, obtains the first judged result; Wherein, when described first environment light intensity is less than described first Intensity threshold, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Preferably, described electronic equipment has optical sensor and proximity transducer, and described judge module comprises the second acquisition submodule and second and judges submodule;
Described second obtains submodule is used for gathering first environment optical information by described optical sensor, and blocks the first distance between the first object of described electronic equipment and described electronic equipment by described proximity transducer collection;
Described second judges that submodule is for judging whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, and judges whether described first distance is less than predeterminable range, obtains the first judged result;
Wherein, when described first environment light intensity is less than described first Intensity threshold, and described first distance is when being less than described predeterminable range, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Preferably, described control module specifically for: control described electronic equipment and be in non-mute pattern, and/or control described electronic equipment and be in vibration mode.
Preferably, described electronic equipment also comprises the second acquisition module and determination module;
Described second acquisition module presses the first operation of the first button of described electronic equipment for obtaining user;
Described determination module is used for first operation information corresponding according to described first operation, determines to forbid responding described first operation.
A kind of control method is provided in the embodiment of the present invention, described method can be applied to electronic equipment, described method can comprise the following steps: when acquisition the first event, judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result; When described first judged result shows described environment bright angle value lower than described predetermined luminance value, control described electronic equipment and be in the first mode enabling described first event for the perception of user institute.
In the embodiment of the present invention, described first event can be such as receive incoming call, so, when receiving incoming call, can judge whether described electronic equipment is in the lower environment of environment bright angle value, if described first judged result shows that described electronic equipment is in the lower environment of environment bright angle value, so can think that described electronic equipment may be placed in the bag of user, or described electronic equipment may be in the state of being blocked by some objects, described electronic equipment is current in a word may not easily be easily noticed by the users, so now can control described electronic equipment and be in described first mode, in the embodiment of the present invention, described first mode can be enable described first event for the pattern of user institute perception, such as described first mode can be non-silent mode, or also can be vibration mode, or also can be other indicating modes, when described electronic equipment is in described first mode, described electronic equipment can produce good reminding effect to user when receiving described first event, strengthen the prompting effect of described electronic equipment, described electronic equipment can be prevented like this when receiving incoming call, if user presses switch switch or volume key because of carelessness and automatically enters silent mode, thus user's missed call may be caused.After adopting the technical scheme in the embodiment of the present invention, the prompting intensity of described electronic equipment obviously strengthens, and user experience also can increase naturally.
Accompanying drawing explanation
Fig. 1 is the main flow figure of control method in the embodiment of the present invention;
Fig. 2 is the detailed structure view of electronic equipment in the embodiment of the present invention.
Embodiment
A kind of control method is provided in the embodiment of the present invention, described method can be applied to electronic equipment, described method can comprise the following steps: when acquisition the first event, judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result; When described first judged result shows described environment bright angle value lower than described predetermined luminance value, control described electronic equipment and be in the first mode enabling described first event for the perception of user institute.
In the embodiment of the present invention, described first event can be such as receive incoming call, so, when receiving incoming call, can judge whether described electronic equipment is in the lower environment of environment bright angle value, if described first judged result shows that described electronic equipment is in the lower environment of environment bright angle value, so can think that described electronic equipment may be placed in the bag of user, or described electronic equipment may be in the state of being blocked by some objects, described electronic equipment is current in a word may not easily be easily noticed by the users, so now can control described electronic equipment and be in described first mode, in the embodiment of the present invention, described first mode can be enable described first event for the pattern of user institute perception, such as described first mode can be non-silent mode, or also can be vibration mode, or also can be other indicating modes, when described electronic equipment is in described first mode, described electronic equipment can produce good reminding effect to user when receiving described first event, strengthen the prompting effect of described electronic equipment, described electronic equipment can be prevented like this when receiving incoming call, if user presses switch switch or volume key because of carelessness and automatically enters silent mode, thus user's missed call may be caused.After adopting the technical scheme in the embodiment of the present invention, the prompting intensity of described electronic equipment obviously strengthens, and user experience also can increase naturally.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the embodiment of the present invention, described electronic equipment can be PC(personal computer), notebook, PAD(panel computer), the different electronic equipment of mobile phone etc., the present invention is not restricted this.
In addition, term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
Embodiment one
Refer to Fig. 1, the embodiment of the present invention provides a kind of control method, and described method can be applied to electronic equipment, and the main flow of described method can be as follows:
Step 101: when acquisition the first event, judges that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result.
In the embodiment of the present invention, described first event can be different event, and such as described first event can be receive the first incoming call, or described first event can be receive the first note, or described first event also can be other events.
Preferably, described first event in the embodiment of the present invention can refer to the event receiving described first incoming call.
When obtaining described first event, described electronic equipment can judge that whether the described environment bright angle value of the described default environment residing for self is lower than described predetermined luminance value, can obtain described first judged result.
In the embodiment of the present invention, judge that whether the described environment bright angle value of the described default environment residing for self is lower than described predetermined luminance value, obtains described first judged result, can have different modes to realize.
Optionally, described electronic equipment can have optical sensor (ALS), judge that whether the described environment bright angle value of the described default environment residing for self is lower than described predetermined luminance value, obtain described first judged result, can be specifically: gather first environment optical information by described optical sensor, after the described first environment optical information of collection, the first environment light intensity corresponding to described first environment optical information can be obtained, so can judge whether described first environment light intensity is less than the first Intensity threshold, obtain described first judged result.
In the embodiment of the present invention, if described first environment light intensity is less than described first Intensity threshold, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value, if described first environment light intensity is not less than described first Intensity threshold, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value.
Optionally, described electronic equipment can have described optical sensor and described proximity transducer, judge that whether the described environment bright angle value of the described default environment residing for self is lower than described predetermined luminance value, obtain described first judged result, can be specifically: gather first environment optical information by described optical sensor, and block the first distance between the first object of described electronic equipment and described electronic equipment by described proximity transducer collection.After the described first environment optical information of acquisition, can first environment light intensity corresponding to corresponding acquisition described first environment optical information, so can judge whether described first environment light intensity is less than described first Intensity threshold, and can judge whether described first distance is less than described predeterminable range, can obtain described first judged result after two determining steps.
In the embodiment of the present invention, when described first environment light intensity is less than described first Intensity threshold, and described first distance is when being less than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value; When described first environment light intensity is less than described first Intensity threshold, when described first distance is greater than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value; When described first environment light intensity is greater than described first Intensity threshold, when described first distance is less than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value; When described first environment light intensity is greater than described first Intensity threshold, when described first distance is greater than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value.
In the embodiment of the present invention, if need to carry out two determining steps, namely need to judge whether described first environment light intensity is less than described first Intensity threshold, and judge whether described first distance is less than described predeterminable range, and so the order of these two determining steps can be any.
Preferably, in the embodiment of the present invention, described first object can be positioned at described electronic equipment front end, and namely gathered described first distance can be the distance between described first object and described electronic equipment of described electronic equipment front end.But, described first object also can be positioned at described electronic equipment rear end, and namely gathered described first distance can be the distance between described first object and described electronic equipment of described electronic equipment rear end.
In the embodiment of the present invention, if described electronic equipment has display unit, the front end of so described electronic equipment can refer to the one end at described display unit place, and the rear end of described electronic equipment can refer to the other end relative with the front end of described electronic equipment.
Wherein, in the embodiment of the present invention, if block not only one, the object of described electronic equipment, such as, the second object is had to be positioned at described electronic equipment front end, have third body to be positioned at described electronic equipment rear end, described second object and described third body have all blocked described electronic equipment.So, described electronic equipment first can gather the second distance between described second object and described electronic equipment and the 3rd distance between described third body and described electronic equipment respectively, after collecting described second distance and described 3rd distance, described electronic equipment first can determine the magnitude relationship between described second distance and described 3rd distance, and is defined as described first distance by less in described second distance and described 3rd distance.Namely, such as, if described second distance is less than described 3rd distance, described second distance just can be defined as described first distance by so described electronic equipment, if described second distance is greater than described 3rd distance, described 3rd distance just can be defined as described first distance by so described electronic equipment.
It should be noted that: mainly solve in the embodiment of the present invention be if described electronic equipment be positioned at user bag in or to be blocked by other shelters, if and in prior art when receiving incoming call user press switch switch or volume key because of carelessness, described electronic equipment can proceed to silent mode again automatically, and so user may missed call.Therefore in the embodiment of the present invention obtain described first event time, whether the described environment bright angle value of the described default environment judged residing for described electronic equipment is lower than described predetermined luminance value, because, no matter described electronic equipment is positioned in the bag of user, or block by other shelters, can think that the environment bright angle value of the described default environment residing for described electronic equipment is lower, therefore can adopt this deterministic process.
Step 102: when described first judged result shows described environment bright angle value lower than described predetermined luminance value, controls described electronic equipment and is in the first mode enabling described first event for the perception of user institute.
In the embodiment of the present invention, if described first judged result shows that described environment bright angle value is lower than described predetermined luminance value, so described electronic equipment can control self to be in described first mode.
Preferably, in the embodiment of the present invention, described first mode can refer to the pattern that can play suggesting effect to user, and namely described first mode can be instigate described first event can be the pattern of user institute perception.
Such as, described first mode can refer to non-mute pattern, or described first mode can refer to vibration mode, or described first mode can be refer to non-mute pattern and vibration mode simultaneously, or described first mode also can be that other have the pattern of suggesting effect.
Because, generally, if described electronic equipment is in silent mode, so described electronic equipment is when obtaining described first event, if user is not by hand held for described electronic equipment, so described first event may be perceived by user.Therefore, in the embodiment of the present invention, when described first judged result shows described environment bright angle value lower than described predetermined luminance value, described electronic equipment be controlled and be in the described first mode enabling described first event for the perception of user institute.
Concrete, user presses the switch switch of described electronic equipment or presses the volume key of described electronic equipment, is all to be equivalent to create an interruption, in prior art, described electronic equipment directly can respond this interruption, and the result that response is interrupted makes described electronic equipment enter silent mode exactly.And in the embodiment of the present invention, when obtaining described first event, first described electronic equipment can carry out the deterministic process as described in the embodiment of the present invention, if described first judged result shows that described environment bright angle value is lower than described predetermined luminance value, so just can control described electronic equipment and be in described first mode, at this moment, even if user presses the switch switch of described electronic equipment or presses the volume key of described electronic equipment, described electronic equipment creates interruption, but described electronic equipment also can be determined not respond this interruption, also described electronic equipment would not be made to enter described silent mode.Therefore, adopt the technical scheme in the embodiment of the present invention, effective suggesting effect can be played to user.
In a word, in the embodiment of the present invention, controlling the object that described electronic equipment is in described first mode makes described electronic equipment can play suggesting effect to user exactly, such as, if described first event is described first incoming call, so make described electronic equipment be in described first mode, just can avoid user's missed call as far as possible.
Preferably, in an alternative embodiment of the invention, after the described electronic equipment of control is in described first mode, described method can also comprise: obtain the first operation that user presses the first button of described electronic equipment, after described first operation of acquisition, the first operation information corresponding to described first operation can be determined, thus can, according to described first operation information, determine to forbid responding described first operation.
In the embodiment of the present invention, described first operation can be the operation that user presses the switch switch of described electronic equipment, or described first operation also can be the operation that user presses the volume key of described electronic equipment.That is, described first button can refer to the switch switch of described electronic equipment, or described first button can refer to the volume key of described electronic equipment.
Described electronic equipment is after described first operation of acquisition, described first operation information that described first operation is corresponding can be determined, in general, described first operation information is interrupting information, so described electronic equipment is according to the technical scheme in the embodiment of the present invention, because described electronic equipment now meets Rule of judgment, described electronic equipment has controlled self to be in described first mode, so, described electronic equipment can be refused to respond this interruption, that is, described electronic equipment can be forbidden responding described first operation.Like this, even if user presses switch switch or the volume key of described electronic equipment, described electronic equipment also can not enter silent mode, still can play suggesting effect to user.
Introduce the control method in the present invention below by way of several specific embodiment, the following examples are mainly used in several possible application scenarios introducing described method.It should be noted that, the embodiment in the present invention only for explaining the present invention, and can not be used for limiting the present invention.Every embodiment meeting inventive concept is all within protection scope of the present invention, and those skilled in the art know how should carry out modification according to thought of the present invention naturally.
Embodiment two
Described electronic equipment is mobile phone, and described mobile phone has communication function.
In the bag using the user of described mobile phone to be put into by this mobile phone to carry with, be exactly so the default environment residing for this mobile phone in bag.
In the first moment, mobile phone obtains the first event, and in the embodiment of the present invention, described first event can refer to and have received the first incoming call.
When receiving described first incoming call, can judge that whether the environment bright angle value of the described default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result.
Concrete, in the embodiment of the present invention, described electronic equipment can have optical sensor, then, in the embodiment of the present invention, judge that whether the described environment bright angle value of the described default environment residing for self is lower than described predetermined luminance value, obtain described first judged result, can be specifically: gather first environment optical information by described optical sensor, after the described first environment optical information of collection, the first environment light intensity corresponding to described first environment optical information can be obtained, so can judge whether described first environment light intensity is less than the first Intensity threshold, obtain described first judged result.
In the embodiment of the present invention, if described first environment light intensity is less than described first Intensity threshold, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value, if described first environment light intensity is not less than described first Intensity threshold, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value.
Wherein, in the embodiment of the present invention, judge to determine that described first environment light intensity is less than described first Intensity threshold, therefore described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Because described first judged result represents that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value, therefore described electronic equipment can control self to be in first mode.
In the embodiment of the present invention, described first mode can be non-silent mode.
In the embodiment of the present invention, before receiving described first incoming call, described electronic equipment is in described non-mute pattern.So, when receiving described first incoming call, by judgement, described electronic equipment can determine that described mobile phone is positioned in user's bag, then described electronic equipment can control self to keep described non-mute pattern, do not enter silent mode, like this, even if user is because of carelessness by the switch switch arriving described mobile phone or volume key, described electronic equipment also can not enter silent mode, the tinkle of bells of described electronic equipment still can ring, user can answer described first incoming call after hearing the tinkle of bells, thus avoid user's missed call as far as possible, also enhance the prompting intensity of described electronic equipment.
Embodiment three
Described electronic equipment is mobile phone, and described mobile phone has communication function.
Using the user of described mobile phone to be put in pocket by this mobile phone, is exactly so the default environment residing for this mobile phone in pocket.
In the first moment, mobile phone obtains the first event, and in the embodiment of the present invention, described first event can refer to and have received the first incoming call.
When receiving described first incoming call, can judge that whether the environment bright angle value of the described default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result.
Concrete, in the embodiment of the present invention, described electronic equipment can have optical sensor and proximity transducer, judge that whether the described environment bright angle value of the described default environment residing for self is lower than described predetermined luminance value, obtain described first judged result, can be specifically: gather first environment optical information by described optical sensor, and block the first distance between the first object of described electronic equipment and described electronic equipment by described proximity transducer collection.After the described first environment optical information of acquisition, can first environment light intensity corresponding to corresponding acquisition described first environment optical information, so can judge whether described first environment light intensity is less than described first Intensity threshold, and can judge whether described first distance is less than described predeterminable range, can obtain described first judged result after two determining steps.
In the embodiment of the present invention, when described first environment light intensity is less than described first Intensity threshold, and described first distance is when being less than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value; When described first environment light intensity is less than described first Intensity threshold, when described first distance is greater than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value; When described first environment light intensity is greater than described first Intensity threshold, when described first distance is less than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value; When described first environment light intensity is greater than described first Intensity threshold, when described first distance is greater than described predeterminable range, described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is not less than described predetermined luminance value.
In the embodiment of the present invention, if need to carry out two determining steps, namely need to judge whether described first environment light intensity is less than described first Intensity threshold, and judge whether described first distance is less than described predeterminable range, and so the order of these two determining steps can be any.
Wherein, in the embodiment of the present invention, judge to determine that described first environment light intensity is less than described first Intensity threshold, and described first distance is less than described predeterminable range, therefore described first judged result may be used for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Because described first judged result represents that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value, therefore described electronic equipment can control self to be in first mode.
In the embodiment of the present invention, described first mode can be non-silent mode+vibration mode.
In the embodiment of the present invention, before receiving described first incoming call, described electronic equipment is in silent mode, and under the silent mode, mobile phone also can not vibrate.So, when receiving described first incoming call, described electronic equipment can by judging to determine that described mobile phone is positioned in the pocket of user, then described electronic equipment can control self and enter described non-mute pattern+described vibration mode from described silent mode, like this, even if user is because of carelessness by the switch switch arriving described mobile phone or volume key, described electronic equipment also can not keep described silent mode, described electronic equipment can vibrate, and the tinkle of bells of described electronic equipment also can ring, because mobile phone is in the pocket of user, user comparatively easily perceives the vibration of described electronic equipment, and also comparatively easily hear the tinkle of bells, user can answer described first incoming call after perceiving vibration and/or hearing the tinkle of bells, thus avoid user's missed call as far as possible.In the embodiment of the present invention, described first mode can be described non-mute pattern+described vibration mode, and the prompting intensity of described electronic equipment strengthens further.
The electronic equipment in the embodiment of the present invention is introduced below in conjunction with accompanying drawing.
Embodiment four
Refer to Fig. 2, the embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment can comprise judge module 201 and control module 202.
Judge module 201 may be used for when acquisition the first event, judges that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result.
In the embodiment of the present invention, described electronic equipment can have optical sensor, and judge module 201 can comprise the first acquisition submodule and first and judge submodule.
Described first obtains submodule may be used for gathering first environment optical information by described optical sensor.
Described first judges that submodule may be used for judging whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, obtains the first judged result; Wherein, when described first environment light intensity is less than described first Intensity threshold, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
In the embodiment of the present invention, described electronic equipment can have described optical sensor and proximity transducer, and judge module 201 can comprise the second acquisition submodule and second and judge submodule.
Described second obtains submodule is used for gathering first environment optical information by described optical sensor, and blocks the first distance between the first object of described electronic equipment and described electronic equipment by described proximity transducer collection.
Described second judges that submodule is for judging whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, and judges whether described first distance is less than predeterminable range, obtains the first judged result.
Wherein, when described first environment light intensity is less than described first Intensity threshold, and described first distance is when being less than described predeterminable range, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Preferably, described second judges that can comprise described first in submodule judges submodule, can comprise described first and obtain submodule in described second acquisition submodule.
Control module 202 may be used for when described first judged result shows described environment bright angle value lower than described predetermined luminance value, controls described electronic equipment and is in the first mode enabling described first event for the perception of user institute.
In the embodiment of the present invention, control module 202 specifically may be used for controlling described electronic equipment and is in non-mute pattern, and/or controls described electronic equipment and be in vibration mode.
Preferably, in the embodiment of the present invention, described electronic equipment can also comprise the first acquisition module 203, first acquisition module 203 and may be used for obtaining described first event.
In the embodiment of the present invention, the first acquisition module 203 specifically may be used for receiving the first incoming call.
Preferably, in the embodiment of the present invention, described electronic equipment can also comprise the second acquisition module 204 and determination module 205.
Second acquisition module 204 may be used for obtaining the first operation that user presses the first button of described electronic equipment.
In the embodiment of the present invention, described first button can refer to the switch switch of described electronic equipment, or described first button can refer to the volume key of described electronic equipment.
Determination module 205 may be used for first operation information corresponding according to described first operation, determines to forbid responding described first operation.
A kind of control method is provided in the embodiment of the present invention, described method can be applied to electronic equipment, described method can comprise the following steps: when acquisition the first event, judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result; When described first judged result shows described environment bright angle value lower than described predetermined luminance value, control described electronic equipment and be in the first mode enabling described first event for the perception of user institute.
In the embodiment of the present invention, described first event can be such as receive incoming call, so, when receiving incoming call, can judge whether described electronic equipment is in the lower environment of environment bright angle value, if described first judged result shows that described electronic equipment is in the lower environment of environment bright angle value, so can think that described electronic equipment may be placed in the bag of user, or described electronic equipment may be in the state of being blocked by some objects, described electronic equipment is current in a word may not easily be easily noticed by the users, so now can control described electronic equipment and be in described first mode, in the embodiment of the present invention, described first mode can be enable described first event for the pattern of user institute perception, such as described first mode can be non-silent mode, or also can be vibration mode, or also can be other indicating modes, when described electronic equipment is in described first mode, described electronic equipment can produce good reminding effect to user when receiving described first event, strengthen the prompting effect of described electronic equipment, described electronic equipment can be prevented like this when receiving incoming call, if user presses switch switch or volume key because of carelessness and automatically enters silent mode, thus user's missed call may be caused.After adopting the technical scheme in the embodiment of the present invention, the prompting intensity of described electronic equipment obviously strengthens, and user experience also can increase naturally.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that the technical scheme of the application contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the application.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment is only in order to be described in detail the technical scheme of the application, but the explanation of above embodiment just understands method of the present invention and core concept thereof for helping, and should not be construed as limitation of the present invention.Those skilled in the art are in the technical scope that the present invention discloses, and the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.
Claims (13)
1. a control method, is applied to electronic equipment, it is characterized in that, said method comprising the steps of:
When acquisition the first event, judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result;
When described first judged result shows described environment bright angle value lower than described predetermined luminance value, control described electronic equipment and be in the first mode enabling described first event for the perception of user institute.
2. the method for claim 1, is characterized in that, the step obtaining the first event comprises: receive the first incoming call.
3. the method for claim 1, is characterized in that, described electronic equipment has optical sensor, and judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than described predetermined luminance value, the step obtaining the first judged result comprises:
First environment optical information is gathered by described optical sensor;
Judge whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, obtains the first judged result; Wherein, when described first environment light intensity is less than described first Intensity threshold, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
4. the method for claim 1, it is characterized in that, described electronic equipment has optical sensor and proximity transducer, and judge that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than described predetermined luminance value, the step obtaining the first judged result comprises:
Gather first environment optical information by described optical sensor, and block the first distance between the first object of described electronic equipment and described electronic equipment by described proximity transducer collection;
Judge whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, and judge whether described first distance is less than predeterminable range, obtains the first judged result;
Wherein, when described first environment light intensity is less than described first Intensity threshold, and described first distance is when being less than described predeterminable range, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
5. the method as described in claim as arbitrary in claim 1-4, is characterized in that, controls the step that described electronic equipment is in the first mode enabling described first event for the perception of user institute and comprises:
Control described electronic equipment and be in non-mute pattern, and/or control described electronic equipment and be in vibration mode.
6. the method as described in claim as arbitrary in claim 1-4, is characterized in that, control described electronic equipment be in enable the first mode of described first event for the perception of user institute after also comprise step:
Obtain the first operation that user presses the first button of described electronic equipment;
First operation information corresponding according to described first operation, determines to forbid responding described first operation.
7. an electronic equipment, is characterized in that, described electronic equipment comprises:
Judge module, for when acquisition the first event, judges that whether the environment bright angle value of the default environment residing for described electronic equipment is lower than a predetermined luminance value, obtains the first judged result;
Control module, for when described first judged result shows described environment bright angle value lower than described predetermined luminance value, controls described electronic equipment and is in the first mode enabling described first event for the perception of user institute.
8. electronic equipment as claimed in claim 7, it is characterized in that, described electronic equipment also comprises the first acquisition module, for obtaining described first event.
9. electronic equipment as claimed in claim 8, is characterized in that, described first acquisition module specifically for: receive the first incoming call.
10. electronic equipment as claimed in claim 7, it is characterized in that, described electronic equipment has optical sensor, and described judge module comprises the first acquisition submodule and first and judges submodule;
Described first obtains submodule is used for gathering first environment optical information by described optical sensor;
Described first judges that submodule is for judging whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, obtains the first judged result; Wherein, when described first environment light intensity is less than described first Intensity threshold, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
11. electronic equipments as claimed in claim 7, it is characterized in that, described electronic equipment has optical sensor and proximity transducer, and described judge module comprises the second acquisition submodule and second and judges submodule;
Described second obtains submodule is used for gathering first environment optical information by described optical sensor, and blocks the first distance between the first object of described electronic equipment and described electronic equipment by described proximity transducer collection;
Described second judges that submodule is for judging whether the first environment light intensity that described first environment optical information is corresponding is less than the first Intensity threshold, and judges whether described first distance is less than predeterminable range, obtains the first judged result;
Wherein, when described first environment light intensity is less than described first Intensity threshold, and described first distance is when being less than described predeterminable range, described first judged result is for representing that the described environment bright angle value of the described default environment determined residing for described electronic equipment is lower than described predetermined luminance value.
Electronic equipment as described in 12. claims as arbitrary in claim 7-11, is characterized in that, described control module specifically for: control described electronic equipment and be in non-mute pattern, and/or control described electronic equipment and be in vibration mode.
Electronic equipment as described in 13. claims as arbitrary in claim 7-11, it is characterized in that, described electronic equipment also comprises the second acquisition module and determination module;
Described second acquisition module presses the first operation of the first button of described electronic equipment for obtaining user;
Described determination module is used for first operation information corresponding according to described first operation, determines to forbid responding described first operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310421595.3A CN104468943A (en) | 2013-09-16 | 2013-09-16 | A controlling method and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310421595.3A CN104468943A (en) | 2013-09-16 | 2013-09-16 | A controlling method and electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104468943A true CN104468943A (en) | 2015-03-25 |
Family
ID=52914284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310421595.3A Pending CN104468943A (en) | 2013-09-16 | 2013-09-16 | A controlling method and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104468943A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376405A (en) * | 2015-10-28 | 2016-03-02 | 宁波萨瑞通讯有限公司 | Method and device for automatically switching contextual model |
CN105373004A (en) * | 2015-12-01 | 2016-03-02 | 小米科技有限责任公司 | Method and device for controlling smart device |
CN109510896A (en) * | 2018-10-24 | 2019-03-22 | Oppo广东移动通信有限公司 | Selection method, device, storage medium and the electronic equipment of proximity sensor |
CN112106121A (en) * | 2018-05-11 | 2020-12-18 | 三星电子株式会社 | Electronic device and control method thereof |
CN113691655A (en) * | 2021-08-02 | 2021-11-23 | 维沃移动通信有限公司 | Electronic equipment |
-
2013
- 2013-09-16 CN CN201310421595.3A patent/CN104468943A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376405A (en) * | 2015-10-28 | 2016-03-02 | 宁波萨瑞通讯有限公司 | Method and device for automatically switching contextual model |
CN105373004A (en) * | 2015-12-01 | 2016-03-02 | 小米科技有限责任公司 | Method and device for controlling smart device |
CN105373004B (en) * | 2015-12-01 | 2018-11-30 | 小米科技有限责任公司 | Smart machine control method and device |
CN112106121A (en) * | 2018-05-11 | 2020-12-18 | 三星电子株式会社 | Electronic device and control method thereof |
US11270565B2 (en) | 2018-05-11 | 2022-03-08 | Samsung Electronics Co., Ltd. | Electronic device and control method therefor |
CN109510896A (en) * | 2018-10-24 | 2019-03-22 | Oppo广东移动通信有限公司 | Selection method, device, storage medium and the electronic equipment of proximity sensor |
CN113691655A (en) * | 2021-08-02 | 2021-11-23 | 维沃移动通信有限公司 | Electronic equipment |
CN113691655B (en) * | 2021-08-02 | 2024-02-06 | 维沃移动通信有限公司 | Electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110413134B (en) | Wearing state detection method and related equipment | |
CN105549858B (en) | A kind of display methods and user terminal | |
CN108924910B (en) | AI model updating method and related product | |
US10805708B2 (en) | Headset sound channel control method and system, and related device | |
CN104468943A (en) | A controlling method and electronic apparatus | |
CN106068020A (en) | Hinting abnormal states method and device | |
CN104345876A (en) | Information processing method and electronic equipment | |
CN108595003A (en) | Function control method and relevant device | |
CN106209608B (en) | Method and device for distinguishing and synchronizing chat information | |
CN108668328A (en) | A kind of method for switching network and mobile terminal | |
CN103605429A (en) | Processing method for response key operation and mobile terminal | |
CN106936993A (en) | Terminal screen control method and device | |
CN110930964B (en) | Display screen brightness adjusting method and device, storage medium and terminal | |
CN105872158A (en) | Alarm clock ringing method and device | |
CN110381200B (en) | Screen-off control method and mobile terminal | |
CN106488391A (en) | A kind of data migration method and terminal device | |
CN106126170B (en) | Sound effect setting method of terminal and terminal | |
CN104469513A (en) | Display method and electronic device | |
CN105391850A (en) | Response method and response device of mobile terminal to user operation, and mobile terminal | |
CN106792434A (en) | A kind of focus method for building up and terminal device | |
CN103826013A (en) | Method for switching communication modes and mobile terminal | |
CN106446633A (en) | Method and device for storage requiring identification and terminal | |
CN106201223A (en) | A kind of notification message display packing and device | |
CN104869211A (en) | Information processing method and electronic device | |
CN111898542A (en) | Display screen control method and device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150325 |