CN104238770B - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN104238770B
CN104238770B CN201410455999.9A CN201410455999A CN104238770B CN 104238770 B CN104238770 B CN 104238770B CN 201410455999 A CN201410455999 A CN 201410455999A CN 104238770 B CN104238770 B CN 104238770B
Authority
CN
China
Prior art keywords
electronic equipment
attitude parameter
spatial attitude
luminescence unit
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410455999.9A
Other languages
Chinese (zh)
Other versions
CN104238770A (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 CN201410455999.9A priority Critical patent/CN104238770B/en
Publication of CN104238770A publication Critical patent/CN104238770A/en
Application granted granted Critical
Publication of CN104238770B publication Critical patent/CN104238770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of control method and electronic equipment, when electronic equipment is in the first state that the second luminescence unit does not light, by the spatial attitude parameter for obtaining the electronic equipment, then judge whether the spatial attitude parameter meets preparatory condition, when result of determination shows that the spatial attitude parameter meets the preparatory condition, then control electronics enter the second luminescence unit for the second luminous state.Whether can by second luminescence unit of the spatial attitude control electronics that adjust electronic equipment be luminous purpose, the intense light source of electronic equipment can quickly be adjusted by, which realizing, lights, and improves the technique effect of electronic device efficiency if thus reaching.

Description

A kind of control method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of control method and electronic equipment.
Background technology
At present, the intense light source illumination functions of intelligent electronic device generally require the corresponding button operation of user's progress or entered Entering specific editmenu selection could open, and placing oneself in the midst of the environment of dark suddenly as user needs to open illumination work(immediately During energy, although existing intelligent electronic device can realize illumination, this kind of mode by way of lighting screen backlight immediately Lighting hours is short, luminosity is low, is not suitable for environment that is low in light luminance and needing illumination for a long time, therefore, when user needs to beat Open compared with intense light source, when realizing long-time illumination functions, then corresponding intense light source must be opened by various cumbersome operations and is shone Bright system.
As can be seen here, cumbersome, behaviour is opened there is the intense light source illuminator of intelligent electronic device in the prior art Make the defects of inefficient.
The content of the invention
The application provides a kind of control method and electronic equipment, to solve the strong of intelligent electronic device of the prior art Light-source illuminating system opens cumbersome, the not high technical problem of operating efficiency.
On the one hand the application provides a kind of control method, applied in electronic equipment, the electronic equipment includes first Luminescence unit and the second luminescence unit, and the first luminosity of first luminescence unit is less than second luminescence unit Second luminosity, methods described include:
When the electronic equipment is in first state, the spatial attitude parameter of the electronic equipment is obtained, wherein, it is described Spatial attitude parameter characterizes the electronic equipment from the first pose adjustment to the second posture, and in said first condition described Two luminescence units are in not luminous state;
Judge whether the spatial attitude parameter meets preparatory condition;
When result of determination shows that the spatial attitude parameter meets the preparatory condition, the electronic equipment is controlled to enter Second state, in said second condition, second luminescence unit are in luminance.
Preferably, the surface of the electronic equipment is additionally provided with the first detection unit, the acquisition electronic equipment Spatial attitude parameter, including:
In the first preset duration before the spatial attitude parameter for obtaining the electronic equipment, pass through described first Detection unit detects whether to obtain the first input instruction;
If testing result is yes, step is performed:Judge whether the spatial attitude parameter meets preparatory condition;Or,
In the second preset duration after the spatial attitude parameter for obtaining the electronic equipment, pass through described first Detection unit detects whether to obtain first input instruction;
If testing result is yes, step is performed:Judge whether the spatial attitude parameter meets preparatory condition;Or,
Whether the electronic equipment is detected in the first input instruction described in continuous collecting by first detection unit When duration reaches three preset durations, the spatial attitude parameter of the electronic equipment is obtained;
If testing result is yes, step is performed:Judge whether the spatial attitude parameter meets preparatory condition.
Preferably, before the spatial attitude parameter for obtaining the electronic equipment, methods described also includes:
When first luminescence unit, which is in, not to light, the second input instruction is obtained, wherein, second input instruction To control the first luminescence unit never luminance to be adjusted to luminance;
Determine that when first luminescence unit is luminous be the first state.
Preferably, the control electronic equipment enters the second state, is specially:
The electronic equipment is controlled to be in luminance into second luminescence unit, and first luminescence unit is Second state of non-luminance.
Preferably, it is described to judge whether the spatial attitude parameter meets a preparatory condition, be specially:
Judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in second appearance During state, second luminescence unit is towards preset direction.
Preferably, it is described to judge whether the spatial attitude parameter meets a preparatory condition, be specially:
Judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in second appearance During state, second luminescence unit towards the electronic equipment be in the first state when described in the first luminescence unit direction Direction.
Preferably, the electronic equipment also includes the second detection unit, described when the electronic equipment is in the first shape During state, before the spatial attitude parameter for obtaining the electronic equipment, methods described also includes:
Ambient brightness residing for the electronic equipment is detected by second detection unit, obtains ambient brightness value, institute State the light luminance grade that ambient brightness value characterizes the electronic equipment local environment;
When the ambient brightness value is less than predetermined luminance threshold value, step is performed:When the electronic equipment is in the first shape During state, the spatial attitude parameter of the electronic equipment is obtained.
Preferably, the electronic equipment also includes the 3rd detection unit, described when described in spatial attitude parameter satisfaction During preparatory condition, the electronic equipment is controlled to enter the second state, including:
When the spatial attitude parameter meets the preparatory condition, then a detection is obtained by the 3rd detection unit Parameter, the detection parameters characterize whether second luminescence unit light when luminous is irradiated to human eye;
When the detection parameters, which characterize second luminescence unit light when luminous, does not irradiate to human eye, then institute is controlled State electronic equipment and enter second state.
On the other hand, a kind of electronic equipment is additionally provided in the embodiment of the present application, it is luminous that the electronic equipment includes first Unit and the second luminescence unit, and the first luminosity of first luminescence unit is less than the second of second luminescence unit Luminosity, the electronic equipment include:
Spatial attitude parameter acquiring unit, when the electronic equipment is in first state, to obtain the electronics and set Standby spatial attitude parameter, wherein, the spatial attitude parameter characterizes the electronic equipment from the first pose adjustment to second Posture, second luminescence unit is in not luminous state in said first condition;
Identifying unit, to judge whether the spatial attitude parameter meets preparatory condition;
Control unit, when result of determination shows that the spatial attitude parameter meets the preparatory condition, to control institute State electronic equipment and enter the second state, in said second condition, second luminescence unit is in luminance.
Preferably, the surface of the electronic equipment is additionally provided with the first detection unit, to obtain the electronics described In the first preset duration before the spatial attitude parameter of equipment, detect whether to obtain the first input instruction;Or,
First detection unit, it is pre- to second after the spatial attitude parameter for obtaining the electronic equipment If in duration, detect whether to obtain first input instruction;Or,
First detection unit, whether to detect the electronic equipment in the first input instruction described in continuous collecting When duration reaches three preset durations, the spatial attitude parameter of the electronic equipment is obtained;
The identifying unit is specifically, pre- to judge whether the spatial attitude parameter meets when being in testing result If condition.
Preferably, the electronic equipment also includes:
Second input instruction acquiring unit, when first luminescence unit is in not luminous, to obtain the second input Instruction, wherein, second input instruction to control the first luminescence unit never luminance to be adjusted to luminance, And determine that when first luminescence unit is luminous be the first state.
Preferably, described control unit is specially:
To control the electronic equipment to be in luminance into second luminescence unit, and described first is luminous single Member is second state of non-luminance.
Preferably, the identifying unit is specially:
To judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in described During two postures, second luminescence unit is towards preset direction.
It is further preferred that the identifying unit is specially:
To judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in described During two postures, second luminescence unit towards the electronic equipment be in the first state when described in the first luminescence unit court To direction.
Preferably, the electronic equipment also includes the second detection unit, to described when the electronic equipment is in the During one state, before the spatial attitude parameter for obtaining the electronic equipment, the ambient brightness residing for the electronic equipment is detected, is obtained Ambient brightness value is obtained, the ambient brightness value characterizes the light luminance grade of the electronic equipment local environment;
The spatial attitude parameter acquiring unit specifically, to the ambient brightness value less than predetermined luminance threshold value with And when the electronic equipment is in first state, obtain the spatial attitude parameter of the electronic equipment.
Preferably, the electronic equipment also includes the 3rd detection unit, described in meeting when the spatial attitude parameter During preparatory condition, then a detection parameters are obtained by the 3rd detection unit, the detection parameters characterize second hair Whether light unit light when luminous is irradiated to human eye;
Described control unit is specially:
When the detection parameters characterize second luminescence unit light when luminous and do not irradiated to human eye, then to control Make the electronic equipment and enter second state.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
In the embodiment of the present application, when electronic equipment is in the first state that the second luminescence unit does not light, by obtaining The spatial attitude parameter of the electronic equipment is taken, then judges whether the spatial attitude parameter meets preparatory condition, works as judgement When as a result showing that the spatial attitude parameter meets the preparatory condition, then control electronics enter the second luminescence unit for hair Second state of light.Thus reaching can be by the second luminescence unit of the spatial attitude control electronics for adjusting electronic equipment Whether it is luminous purpose, the intense light source of electronic equipment can quickly be adjusted by, which realizing, lights, and improves electronic device efficiency Technique effect.
Further, before the technical scheme in the embodiment of the present application is by setting up electronic equipment the second luminescence unit of startup Condition is put forward, reduces the probability of maloperation so that electronic equipment makes the second luminescence unit light unnecessary when, so as to avoid The energy waste of electronic equipment, therefore, the technical scheme in the embodiment of the present application also have misoperation probability low, avoid electronics from setting The technique effect of standby energy waste.
Further, the technical scheme in the embodiment of the present application can decide whether open according to the light luminance of current environment The second luminescence unit of adjustment is opened as luminous flow, it is single to avoid the adjustment second in the case where light luminance disclosure satisfy that needs Member is luminous situation, and therefore, the technical scheme in the embodiment of the present application also has the intellectuality of further lifting electronic equipment Level, the technique effect of lifting user's impression.
Further, because the second luminescence unit can be intense light source in actual mechanical process, therefore by detecting electricity Whether the light when luminous of the second luminescence unit described in when sub- equipment is in the second posture can be irradiated to human eye, ensure that the second hair Light unit it is luminous when will not direct projection human eye, can effectively protect the eyes of user not by strong light stimulus, therefore the embodiment of the present application In technical scheme technique effect safe to use also be present.
Brief description of the drawings
Fig. 1 is a kind of flow chart of control method provided in an embodiment of the present invention;
Fig. 2 is a kind of electronic equipment structure chart provided in an embodiment of the present invention.
Embodiment
The application provides a kind of information processing method and electronic equipment, to solve intelligent electronic device of the prior art Intense light source illuminator open cumbersome, the not high technical problem of operating efficiency.
Technical scheme in the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
In the embodiment of the present application, when electronic equipment is in the first state that the second luminescence unit does not light, by obtaining The spatial attitude parameter of the electronic equipment is taken, then judges whether the spatial attitude parameter meets preparatory condition, works as judgement When as a result showing that the spatial attitude parameter meets the preparatory condition, then control electronics enter the second luminescence unit for hair Second state of light.Thus reaching can be by the second luminescence unit of the spatial attitude control electronics for adjusting electronic equipment Whether it is luminous purpose, the intense light source of electronic equipment can quickly be adjusted by, which realizing, lights, and improves electronic device efficiency Technique effect.
Technical scheme is described in detail below by accompanying drawing and specific embodiment, it should be understood that the application Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques The restriction of scheme, in the case where not conflicting, the technical characteristic in the embodiment of the present application and embodiment can be mutually combined.
Embodiment one
Fig. 1 is refer to, the embodiment of the present application one provides a kind of control method, and applied in electronic equipment, the electronics is set It is standby to include the first luminescence unit and the second luminescence unit, and the first luminosity of first luminescence unit is less than described second Second luminosity of luminescence unit.
In this respect it is to be noted that the luminescence unit in the embodiment of the present application can be two physically separate luminous lists Member, its set location can be different, and its direction can also be difference, that is to say, that the first luminescence unit and the second luminous list The light direction of illumination of member can also be difference, for example, the first luminescence unit is the display screen for being arranged on electronic equipment main-vision surface, Second luminescence unit is the flash lamp being arranged on electronic equipment backsight face;In another example the first luminescence unit is to be arranged on electronics Flash lamp on equipment left view face, the second luminescence unit are the Special illuminating lamp being arranged on electronic equipment vertical view face.It can be seen that the When one luminescence unit and the second luminescence unit are two separate units, its set location in the electronic device can be a variety of sides Formula.
Also, its function under common application state can also be different, example to the first luminescence unit from the second luminescence unit Such as, the first luminescence unit can be LCDs, and the function under its common application state is provides backlight illumination to facilitate use Family understands the information content on recognition screen, and the second luminescence unit can be flash lamp, and the function under its common application state is Strong light effect is provided under photography state, that is to say, that the first luminescence unit and the second luminescence unit can be used as other functions Using and set, not can only be used as illuminate it is special.
The first luminescence unit and the second luminescence unit in the embodiment of the present application can also be the luminescence unit being re-used, example Such as, the LCDs of flash lamp function and backlight function can be realized simultaneously, when the LCDs is in backlight illumination effect During fruit, it can be used as the first luminescence unit, and when the LCDs is in brightness of flash lamp effect, it can be used as second Luminescence unit.
The first luminescence unit in the embodiment of the present application can also illuminate the lighting unit set to be special, and second The light-emitting device that luminescence unit can be set as other application of function, and it is non-illumination special;It is of course also possible to it is the first hair The light-emitting device that light unit is set for other application of function, and the second luminescence unit is the special lighting unit of illumination;Meanwhile Can also be the special lighting unit of illumination for the first luminescence unit and the second luminescence unit.
First luminosity of first luminescence unit is less than the second luminosity of second luminescence unit, herein Include two aspect implications, on the one hand refer to, it is luminous single to be less than second for its overall brightness value when the first luminescence unit is lights Overall brightness value when member is lights, or refer to, unit area brightness when the first luminescence unit is luminous is less than the second hair Unit area brightness when light unit is luminous.
It can be seen that as long as different two units of luminosity, or different same of luminosity under different conditions Unit, can be as the first luminescence unit or the second luminescence unit in the embodiment of the present application, and the first luminescence unit exists During the concrete application of the embodiment of the present application, its luminosity is less than the luminosity of the second luminescence unit.
Methods described includes:
Step 101:When the electronic equipment is in first state, the spatial attitude parameter of the electronic equipment is obtained, Wherein, the spatial attitude parameter characterizes the electronic equipment from the first pose adjustment to the second posture, in first shape Second luminescence unit is in not luminous state under state.
The first state specifically refers to, the state of the non-light emission time of the second luminescence unit, that is to say, that first state bag Two kinds of situations are included, a kind of is the situation that the first luminescence unit of electronic equipment and the second luminescence unit do not light, another Kind is that the first luminescence unit of electronic equipment lights, and the situation that the second luminescence unit does not light.
The spatial attitude parameter is to characterization of electronic equipment from the first pose adjustment to the second posture, its concrete meaning bag Include two kinds:
A kind of specific direction for certain one side for being the spatial attitude parameter characterization of electronic equipment, for example, working as to show boundary When face is main-vision surface, spatial attitude parameter is characterized as main-vision surface (face where display screen) center of a cuboid electronic equipment Point, it is right regard face central point, overlook three positions of face central point using the central point of electronic equipment as origin, x, y-axis place face For position in the spatial coordinate axle of horizontal plane when, its design parameter numerical value is (0,25,0):(50,0,0):(0,0,100), this When the spatial attitude parameter characterize the posture that electronic equipment is in main-vision surface and left view face is each perpendicular to horizontal plane, if space Attitude parameter isWhen, then characterize The display interface of electronic equipment is perpendicular to horizontal plane, and display interface is 45 degree of the Right deviation posture of being tilted to the right.Work as electronics Equipment from the first pose adjustment to the second posture when, spatial attitude parameter corresponding to the first posture can also adjust to accordingly Whether spatial attitude parameter corresponding to two postures, therefore, can be by the spatial attitude parameter characterization of electronic equipment from first Pose adjustment extremely second posture different from the first posture, and the specific posture that electronic equipment is presently in.
Another kind is the adjustment process that the spatial attitude parameter characterizes the first pose adjustment to the second posture, for example, working as When spatial attitude parameter is characterized as radian or the angle that certain point in electronic equipment is walked within the unit interval, for example one uses top When the spatial attitude parameter that the mobile phone of spiral shell instrument at a time obtains in the horizontal direction is specially 50 °/sec, then electricity is characterized Sub- equipment is rotated at the moment with 50 ° of speed per second toward right, or the mobile phone obtains at another moment and prolonging weight Spatial attitude parameter on force direction for (- 80) °/sec when, then characterize electronic equipment at the moment with 80 ° of speed per second Rotated with user oriented direction, then by obtaining the spinning time duration, then can obtain the rotation that electronic equipment actually occurs Turn total radian.
In another example when spatial attitude parameter is characterized as the acceleration that certain point in electronic equipment obtained within the unit interval When, for example one be specially using the spatial attitude parameter that at a time obtains in the horizontal direction of mobile phone of acceleration transducer 20m/sec2When, then characterize electronic equipment and moved in parallel at the moment with the acceleration of 20 meters of every square of seconds toward right, Or it is (- 30) m/sec that the mobile phone obtains the spatial attitude parameter on gravity direction is prolonged at another moment2When, then characterize Electronic equipment at the moment prolongs gravity direction with the acceleration of 30 meters of every square of seconds and is moved, then is held by obtaining the movement The continuous time, then it can obtain the displacement that electronic equipment actually occurs.
Therefore, when electronic equipment is from the first pose adjustment to the second posture, the spatial attitude parameter table can be passed through Electronic equipment is levied from the specific adjustment direction of the first pose adjustment to the second posture and adjustment degree.
In the specific implementation process of step 101, inductor can be accelerated by sensing unit, such as gyroscope, gravity Etc. the spatial attitude parameter that specific device obtains electronic equipment.
Step 102:Judge whether the spatial attitude parameter meets preparatory condition.
The preparatory condition can be the parameter corresponding to a certain specific posture of electronic equipment, for example, electronic equipment is Be tilted to the right 45 degree of posture, can be expressed as by corresponding spatial attitude parameter
Certainly, the preparatory condition can also be the specific attitudes vibration process of electronic equipment, for example, electronic equipment is by a left side 360 degree upsets are carried out to the right, and 120 °/sec can be then expressed as by corresponding spatial attitude parameter, and when acquisition persistently rotates Between be 3 seconds.
, it is necessary to which the content that is specifically characterized by spatial attitude parameter judges in the specific implementation process of step 102 Whether preparatory condition is met.
The preparatory condition can be tool of the electronic equipment at the first moment and second moment different from the first moment Body posture, the specific posture can be the specific direction of certain one side of electronic equipment, for example, preparatory condition can be at first Electronic equipment is posture of the display screen towards ground during quarter, and at the second moment, electronic equipment is display screen towards sky Posture.
What the specific posture can also be made by electronic equipment in the interval duration between the first moment and the second moment Pose adjustment process, for example, preparatory condition can be electronic equipment under the state that is held, the first moment and the second moment it Between interval duration in complete a sub-level turn over the pose adjustment process turning 90 degrees to the right.
It is important to note that when the first luminescence unit and the second luminescence unit are two separate units, it is in electricity Set location in sub- equipment can be various ways, when the set location of the first luminescence unit and the second luminescence unit is different When, it is also different that it carries out the attitude parameter performance after pose adjustment, therefore, when the preparatory condition of the embodiment of the present application technical scheme It is different according to the set location of the first luminescence unit and the second luminescence unit in actual mechanical process when identical, and reference The difference of standard, the spatial attitude parameter that it is specifically shown is also different, therefore during pose adjustment, electronic equipment Pose adjustment direction and adjustment distance/radian are also not quite similar.
For example, preparatory condition is specially when electronic equipment is in the second posture, the light irradiation side of the second luminescence unit To in the first posture, the light direction of illumination of the first luminescence unit is consistent with electronic equipment, the electronics of existing two kinds of same sizes Equipment, the first electronic equipment are set to be following:First luminescence unit is the display screen on electronic equipment main-vision surface, and second is luminous Unit is the first flash lamp on electronic equipment left view face;Second of electronic equipment is set to be following:First luminescence unit is electricity The second flash lamp on sub- equipment vertical view face, the second luminescence unit look up the Special illuminating lamp on face for electronic equipment.
When spatial attitude parameter be characterized as certain one side of electronic equipment it is specific towards when, the first electronic equipment is first The posture of horizontal plane is each perpendicular to for main-vision surface (face where display screen) and left view face (face where the first flash lamp) under posture, its Spatial attitude parameter can be specially (0, (- 30), 0):(60,0,0):(0,0,90), the first electronic equipment are only needed The first electronic equipment carry out level 90 degree of upset to the right is adjusted into the second posture under one posture can meet preparatory condition, because This, its spatial attitude parameter under the second posture is specially (30,0,0):(0,60,0):(0,0,90);And second of electronics Equipment is each perpendicular under the first posture for main-vision surface (face where the second flash lamp) and left view face (face where the first flash lamp) The posture of horizontal plane, its spatial attitude parameter can be specially (0, (- 90), 0):(60,0,0):(0,0,30), and second of electricity Sub- equipment then needs to prolong gravity direction and carries out 180 degree upset and be adjusted to the second posture can just meeting preparatory condition, and therefore, it is the Design parameter under two postures can be (0,90,0):(60,0,0):(0,0, (- 30)).
When spatial attitude parameter is characterized as the pose adjustment process of electronic equipment, the first electronic equipment is only needed The first electronic equipment carry out level 90 degree of upset to the right is adjusted into the second posture under one posture can meet preparatory condition, because This, its spatial attitude parameter in the horizontal direction can be 30 °/sec, duration 3 seconds, represent that the first electronic equipment enters The rotation gone with the speed occurred level of 30 degree per seconds to the right, and a length of 3 seconds during rotation, the level of being finally completed is overturn to the right 90 degree of adjustment process;And second of electronic equipment then needs to carry out to prolong gravity direction and carries out 180 degree upset and be adjusted to the second appearance State can just meet preparatory condition, and therefore, its spatial attitude parameter on gravity direction is prolonged can be (- 90 °)/sec, when continuing It is long 2 seconds, represent that second of electronic equipment has carried out prolonging the upward rotation of gravity direction with the speed of 90 degree per seconds, and rotate Shi Changwei 3 seconds, the adjustment process that gravity direction carries out 180 degree upset of prolonging has been finally completed it.
Step 103:When result of determination shows that the spatial attitude parameter meets the preparatory condition, the electronics is controlled Equipment enters the second state, and in said second condition, second luminescence unit is in luminance.
Second state specifically refers to, the state of the second luminescence unit light emission time, that is to say, that the second state is also wrapped Two kinds of situations are included, a kind of is the first luminescence unit of electronic equipment and the luminous situation of the second luminescence unit, and another kind is First luminescence unit of electronic equipment does not light, and the situation that the second luminescence unit is luminous.
Specifically, the surface of the electronic equipment is additionally provided with the first detection unit, the acquisition electronic equipment Spatial attitude parameter, including:
In the first preset duration before the spatial attitude parameter for obtaining the electronic equipment, pass through described first Detection unit detects whether to obtain the first input instruction;If testing result is yes, step is performed:Judge the spatial attitude ginseng Whether number meets preparatory condition.
First detection unit is specifically as follows the button set on electronic equipment, or is set on electronic equipment Sensing unit, corresponding, the instruction that first input instruction can generate for electronic equipment in response to button operation, Can be electronic equipment by the sensing unit based on the induction information of acquisition the instruction that generates, for example, working as sensing unit Specially infrared induction unit when, when user places a digit into infrared induction region infrared induction unit can obtain a sensing letter Breath, can accordingly generate an instruction, i.e., described first input instruction based on the induction information electronic equipment.
First preset duration be system in default one section of duration, be specifically as follows within 30 seconds, or 1 minute with It is interior.
In the actual mechanical process of the step, electronic equipment obtains the first input instruction first, then obtains space appearance State parameter, and then judge obtain the first input instruction at the time of and electronic equipment obtain spatial attitude parameter at the time of between Duration is spaced whether more than the first preset duration, if more than the first preset duration, step will not be entered:Judge the space appearance Whether state parameter meets preparatory condition, and whole method flow terminates.
Or, this step can also be another implementation:
In the second preset duration after the spatial attitude parameter for obtaining the electronic equipment, pass through described first Detection unit detects whether to obtain first input instruction;If testing result is yes, step is performed:Judge the space appearance Whether state parameter meets preparatory condition.
In the actual mechanical process of this kind of mode, electronic equipment obtains spatial attitude parameter first, then obtains first Input instruction, and then judge obtain spatial attitude parameter at the time of and obtain the first input instruction at the time of between interval when If whether length more than second preset duration, will not enter step more than the second preset duration:Judge the spatial attitude parameter Whether preparatory condition is met, whole method flow terminates.
Or, this step can also be the third implementation:
Whether the electronic equipment is detected in the first input instruction described in continuous collecting by first detection unit When duration reaches three preset durations, the spatial attitude parameter of the electronic equipment is obtained;If testing result is yes, step is performed Suddenly:Judge whether the spatial attitude parameter meets preparatory condition.
In the actual mechanical process of this kind of mode, step is performed:Judge whether the spatial attitude parameter meets to preset The precondition of condition includes three, first, electronic equipment needs the first input instruction described in continuous collecting, for example, when the first inspection Unit is surveyed when being button, continuous collecting is to first input instruction in the case where button is by Continued depression for electronic equipment, again For example, when the first detection unit is touch sensing unit, the touch sensing unit persistently obtains touch sensible information, so as to hold It is continuous to collect first input instruction;Second, the duration of the first input instruction described in electronic equipment continuous collecting will reach the 3rd Preset duration, for example, when the first detection unit is button, it is pre- that the button of electronic equipment by the duration of Continued depression reaches the 3rd If duration;Third, electronic equipment gets the spatial attitude parameter of electronic equipment;The side on the basis of above three condition is met Executable step:Judge whether the spatial attitude parameter meets preparatory condition, otherwise whole method flow terminates.
It is pointed out that in the actual mechanical process of this kind of mode, can be at the time of obtaining spatial attitude parameter Among the duration of the input instruction of electronic equipment continuous collecting first, or the input of electronic equipment continuous collecting first refers to Before the duration of order, after the duration that can also be the input instruction of electronic equipment continuous collecting first.
It can be seen that the precondition of electronic equipment the second luminescence unit of startup can be set up by above-mentioned several implementations, Reduce the probability of maloperation so that electronic equipment makes the second luminescence unit light unnecessary when, so as to avoid electronics from setting Standby energy waste, therefore, the technical scheme in the embodiment of the present application have misoperation probability low, avoid the electronic equipment energy unrestrained The technique effect taken.
Specifically, before the spatial attitude parameter for obtaining the electronic equipment, methods described also includes:When described When first luminescence unit is in not luminous, the second input instruction is obtained, wherein, second input instruction is controlling described the One luminescence unit never luminance is adjusted to luminance;Determine that when first luminescence unit is luminous be first shape State.
In the specific implementation process of the step, the acquisition modes of the second input instruction can be a variety of, for example, can adopt Take the mode of specific function key operation, or can be using menu by the way of sensing unit carries out inductive operation The mode of selection call relative program carry out the second input instruction acquisition, can also be using predetermined action triggering by the way of, Amplitude is rolled under grip state more than a threshold value for example, being detected by gyroscope and obtaining electronic equipment, then is judged as The second input instruction is obtained, for another example detecting the mobile speed for obtaining electronic equipment under grip state by acceleration induction device Degree change exceedes predetermined threshold, then is judged as obtaining the second input instruction.
In a word, in actual mechanical process, obtain the mode of the second input instruction to be a variety of, can depending on being actually needed and It is fixed.
Meanwhile when obtaining the second input instruction so as to which the first luminescence unit is adjusted into luminous, it is determined that electronics now Equipment is in that the first luminescence unit is luminous and first state that the second luminescence unit does not light.
Further specifically, the control electronic equipment enters the second state, is specially:Control the electronic equipment Luminance is in into second luminescence unit, and first luminescence unit is second shape of non-luminance State, it is possible thereby to avoid the situation of the first luminescence unit and the second luminescence unit while luminous consumption mass energy, realize into one Step saves the technique effect of energy consumption.
Specifically, it is described to judge whether the spatial attitude parameter meets a preparatory condition, Ke Yiwei:
Judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in second appearance During state, second luminescence unit is towards preset direction.
That is, the preparatory condition is specifically to judge the electronic equipment when in the second posture, the electronic equipment The second luminescence unit whether towards a preset direction.Using user as reference position, the preset direction can be it is horizontal forward, Can also be perpendicular to it is horizontal can also be specially upwardly that prolong gravity downwardly direction, it is specific set also to be actually needed and It is fixed.
In actual mechanical process, second luminescence unit can be used as using the light projecting direction of the second luminescence unit Direction
Further specifically, it is described to judge whether the spatial attitude parameter meets a preparatory condition, Ke Yiwei:
Judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in second appearance During state, second luminescence unit towards the electronic equipment be in the first state when described in the first luminescence unit direction Direction.
That is, the preparatory condition can be specifically to judge the electronic equipment when in the second posture, the electronics The direction one of the first luminescence unit when whether the direction of the second luminescence unit of equipment is in the first posture with the electronic equipment Cause.
, can also be luminous single using the light projecting direction of the first luminescence unit as described first in actual mechanical process The direction of member.
For example, one is provided with the mobile phone of flash lamp at the display screen back side, the mobile phone in the first state when display screen Backlight light projecting direction be vertical directive ground, it is therefore contemplated that the first luminescence unit of the mobile phone is in first state Under be oriented it is vertical earthward, also, when spatial attitude parameter is characterized as the main-vision surface of electronic equipment (where display screen Face) central point, right face central point, vertical view three positions of face central point of regarding using the central point of electronic equipment as origin, x, y-axis When place face is the position in the spatial coordinate axle of horizontal plane, the specific spatial attitude parameter of the mobile phone is in the first state (0,0, (- 25)):(50,0,0):(0, (- 100), 0), when the attitude parameter of the mobile phone is changed to (0,0,25):((- 50), 0, 0):(0, (- 100), 0) when, then it can be determined as that the mobile phone has carried out horizontal 180 degree upset by parameter modification, adjustment turns into Second posture, now the light projecting direction of flash lamp also adjust in order to vertically earthward, now it is considered that the mobile phone exists During in the second posture, when the direction of the second luminescence unit is in the first posture with the mobile phone, the direction of its first luminescence unit Unanimously.
In another example one is provided with the mobile phone of flash lamp on the left of display screen, the mobile phone in the first state when display screen The backlight light projecting direction of curtain is vertical directive ground, now it is considered that the first luminescence unit of the mobile phone is in first state Under be oriented it is vertical earthward, and in the first state when the mobile phone attitude parameter be (0,0, (- 25)):(50,0, 0):(0, (- 100), 0), when the attitude parameter of the mobile phone is changed to (25,0,0):(0,0,50):(0, (- 100), 0), then can be with By parameter modification be determined as the mobile phone carried out it is horizontal to the left 90 degree overturn, be adjusted to for the second posture, now flash lamp Light projecting direction also adjust in order to vertically earthward, now it is considered that the mobile phone is when in the second posture, the second hair When the direction of light unit is in the first posture with the mobile phone, the direction of its first luminescence unit is consistent.A for another example display screen With the mobile phone of flash lamp multiplexing, the mobile phone in the first state when display screen backlight light projecting direction for vertical directive Face, also, when spatial attitude parameter is characterized as the acceleration that certain point in electronic equipment is obtained within the unit interval, one The spatial attitude parameter that the mobile phone obtains in the horizontal direction in preset time 3 seconds includes:20m/sec2、(-20)m/sec2, this Shi Ze can determine that mobile phone adjustment for the second posture rocked in horizontal direction, and due to for horizontal jitter, so The light projecting direction of flash lamp is consistent with the light projecting direction of display screen, now it is considered that the mobile phone is in second During posture, when the direction of the second luminescence unit is in the first posture with the mobile phone, the direction of its first luminescence unit is consistent.
At the same time it can also judge the mobile phone when in the second posture by attitude parameter, whether its center position is inclined From center position of mobile phone when in the first posture more than a pre-determined distance, if it is decided that result be more than this it is default away from From, then it is assumed that otherwise it is to be unsatisfactory for preparatory condition that the mobile phone meets preparatory condition when in the second posture.
Specifically, the electronic equipment also includes the second detection unit, described when the electronic equipment is in the first shape During state, before the spatial attitude parameter for obtaining the electronic equipment, methods described also includes:
Ambient brightness residing for the electronic equipment is detected by second detection unit, obtains ambient brightness value, institute State the light luminance grade that ambient brightness value characterizes the electronic equipment local environment;In the ambient brightness value less than default During luminance threshold, step is performed:When the electronic equipment is in first state, the spatial attitude ginseng of the electronic equipment is obtained Number.
In the actual mechanical process of the step, the environment that can be detected by light sensing unit residing for electronic equipment is bright Degree, and obtain corresponding ambient brightness value.
It is pointed out that the ambient brightness value can need what is set according to, it is relative from different bright and dark light grades The numerical value answered.
When the ambient brightness value of acquisition is less than a predetermined luminance threshold value, then shows that ambient light now is dark, there is tune Whole second luminescence unit is luminous necessity, is thus further judged to that step can be performed:When the electronic equipment is in the During one state, the spatial attitude parameter of the electronic equipment is obtained.
Also, the step can be shown as in actual mechanical process, electronic equipment is in the first mould in usual application Formula, the first mode are common application pattern, i.e., do not perform the pattern of technical scheme in the embodiment of the present application, that is to say, that In the case where electronic equipment is in first mode state, before the parameter or operation that electronic equipment is obtained meet the execution of this programme When putting forward condition, otherwise electronic equipment performs other predetermined instructions, otherwise do not make any response processing;When the ring that electronic equipment obtains When border brightness value is less than a predetermined luminance threshold value, then second mode is adjusted into, when electronic equipment under the second mode then can be When the parameter or operation obtained meets the implementing precondition condition of this programme, the technical scheme in the embodiment of the present application is performed.
Adjusted it can be seen that the technical scheme in the embodiment of the present application can decide whether to open according to the light luminance of current environment Whole second luminescence unit is luminous flow, avoids the adjustment second unit in the case where light luminance disclosure satisfy that needs and is Luminous situation, therefore, the technical scheme in the embodiment of the present application also have the intelligent level of further lifting electronic equipment, Lift the technique effect of user's impression.
Specifically, the electronic equipment also includes the 3rd detection unit, described when described in spatial attitude parameter satisfaction During preparatory condition, the electronic equipment is controlled to enter the second state, including:
When the spatial attitude parameter meets the preparatory condition, then a detection is obtained by the 3rd detection unit Parameter, the detection parameters characterize whether second luminescence unit light when luminous is irradiated to human eye;When the detection When the light when luminous of second luminescence unit described in parameter characterization is not irradiated to human eye, then control described in the electronic equipment enters Second state.
In specific operation process, it can be sent out by setting image, picture collection device on an electronic device with second Image, picture collection are carried out on the light direction of illumination identical direction of light unit, then passes through image, picture analyzing technology determination With the presence or absence of human eye;Or can by setting shadow induction installation on an electronic device, shadow projection by way of, Check whether pupillary reflex light on the light direction of illumination identical direction with the second luminescence unit be present, then by anti- The data analysis for penetrating light determines whether human eye be present.
It is pointed out that, it is necessary to be met in the spatial attitude parameter default in the specific implementation process of this step It is further carried out detecting on the basis of condition, is not irradiated to people when detection parameters characterize the second luminescence unit light when luminous At the moment, it is just actual to control the electronic equipment to enter second state.
Certainly, when judging that electronic equipment is in the second posture described in the second luminescence unit light when luminous whether irradiate , can also be by judging to whether there is human eye on the direction different from the light direction of illumination of the second luminescence unit is prolonged to human eye Mode obtain result of determination, now specific implementation procedure is:If human eye be present, judge the second luminescence unit in the luminous time Line will not be irradiated to human eye;If human eye is not present, sentencing the second luminescence unit light when luminous can irradiate to human eye.
For example, a flash lamp (the second luminescence unit) is arranged at the hand of display screen (the first luminescence unit) place left side of face Machine, when preparatory condition is specially:When electronic equipment is in the second posture, the light direction of illumination and electronics of the second luminescence unit Equipment light direction of illumination of the first luminescence unit in the first posture is consistent, and spatial attitude parameter is characterized as electronic equipment Certain one side it is specific towards when, the mobile phone is main-vision surface (display screen where face) and (the first flash of light of left view face under the first posture Face where lamp) posture of horizontal plane is each perpendicular to, its spatial attitude parameter can be specially (0, (- 30), 0):(60,0,0): (0,0,90), therefore, when the spatial attitude parameter that the mobile phone obtains is adjusted to (30,0,0):(0,60,0):When (0,0,90), then Show that it has carried out horizontal 90 degree of upsets to the right and has been adjusted to the second posture, and meet preparatory condition, therefore, expire based on mobile phone Subsequent step can be performed on the basis of the foot preparatory condition, by calling the mobile phone to be set on the whole in display screen Camera collection prolong the picture of display screen backlight light projecting direction, the picture of acquisition is characterized as prolonging display screen backlight Human eye is not present in light projecting direction, therefore, final adjustment electronic equipment enters the second state that the second luminescence unit lights.
In another example the mobile phone of a display screen and flash lamp multiplexing, the mobile phone in the first state when display screen the back of the body Light light projecting direction is vertical directive ground, and the preparatory condition is that electronic equipment carried out horizontal double swerve in 3 seconds, and Acceleration when rocking should exceed 10m/sec2, therefore, when spatial attitude parameter is characterized as in electronic equipment certain point in unit During the acceleration obtained in the time, the mobile phone obtains spatial attitude parameter in the horizontal direction in a preset time 3 seconds Including:20m/sec2、(-20)m/sec2, now then can determine that mobile phone adjustment for the second appearance rocked in horizontal direction State, if with (± 10) m/sec2As a predetermined threshold value, then spatial attitude parameter now has exceeded the predetermined threshold value, The mobile phone meets the preparatory condition, therefore, after it can be performed on the basis of the preparatory condition is met based on mobile phone Continuous step, by call the mobile phone main-vision surface, backsight face, vertical view face, look up face, it is right regard the camera set on face gather from The picture in light projecting direction sent on above-mentioned five faces, the picture of acquisition are characterized as sending from above-mentioned five faces Human eye in light projecting direction be present, therefore, it is possible to determine that do not deposited on the light direction of illumination identical direction with flash lamp In human eye, final adjustment electronic equipment enters the second state that the second luminescence unit lights.
Because the second luminescence unit can be intense light source in actual mechanical process, therefore it is in by detecting electronic equipment Whether the light when luminous of the second luminescence unit described in during the second posture can be irradiated to human eye, to ensure that the second luminescence unit is sent out Light time will not direct projection human eye, effectively protect the eyes of user not by strong light stimulus, therefore the technical scheme in the embodiment of the present application Technique effect safe to use also be present.
Embodiment two
Fig. 2 is refer to, the embodiment of the present application two provides a kind of electronic equipment, and the electronic equipment includes the first luminescence unit 201 and second luminescence unit 202, and the first luminosity of first luminescence unit 201 is less than second luminescence unit 202 the second luminosity, the electronic equipment include:
Spatial attitude parameter acquiring unit 203, when the electronic equipment is in first state, to obtain the electronics The spatial attitude parameter of equipment, wherein, the spatial attitude parameter characterizes the electronic equipment from the first pose adjustment to Two postures, second luminescence unit is in not luminous state in said first condition;
Identifying unit 204, to judge whether the spatial attitude parameter meets preparatory condition;
Control unit 205, when the spatial attitude parameter meets the preparatory condition, to control the electronic equipment Into the second state, in said second condition, second luminescence unit is in luminance.
Specifically, the surface of the electronic equipment is additionally provided with the first detection unit, to obtain the electronics described In the first preset duration before the spatial attitude parameter of equipment, detect whether to obtain the first input instruction;Or,
First detection unit, it is pre- to second after the spatial attitude parameter for obtaining the electronic equipment If in duration, detect whether to obtain first input instruction;Or,
First detection unit, whether to detect the electronic equipment in the first input instruction described in continuous collecting When duration reaches three preset durations, the spatial attitude parameter of the electronic equipment is obtained;
The identifying unit 204 is specifically, to judge whether the spatial attitude parameter is full when being in testing result Sufficient preparatory condition.
Specifically, the electronic equipment also includes:
Second input instruction acquiring unit, when first luminescence unit is in not luminous, to obtain the second input Instruction, wherein, second input instruction to control the first luminescence unit never luminance to be adjusted to luminance, And determine that when first luminescence unit is luminous be the first state.
Further specifically, described control unit 205 is specially:
To control the electronic equipment to be in luminance, and first hair into second luminescence unit 202 Light unit 201 is second state of non-luminance.
Specifically, the identifying unit 204 is specially:
To judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in described During two postures, second luminescence unit 202 is towards preset direction.
Specifically, the identifying unit 204 is specially:
To judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in described During two postures, second luminescence unit 202 towards the electronic equipment be in the first state when described in it is first luminous single The direction of first 201 directions.
Specifically, the electronic equipment also includes the second detection unit, to described when the electronic equipment is in the During one state, before the spatial attitude parameter for obtaining the electronic equipment, the ambient brightness residing for the electronic equipment is detected, is obtained Ambient brightness value is obtained, the ambient brightness value characterizes the light luminance grade of the electronic equipment local environment;
The spatial attitude parameter acquiring unit specifically, to the ambient brightness value less than predetermined luminance threshold value with And when the electronic equipment is in first state, obtain the spatial attitude parameter of the electronic equipment.
Further specifically, the electronic equipment also includes the 3rd detection unit, to expire when the spatial attitude parameter During the foot preparatory condition, then a detection parameters are obtained by the 3rd detection unit, the detection parameters characterize described Whether the second luminescence unit light when luminous is irradiated to human eye;
Described control unit 205 is specially:To characterize second luminescence unit 202 luminous when the detection parameters When light when not irradiating to human eye, then control the electronic equipment to enter second state.
As can be seen here, in the embodiment of the present application, when electronic equipment is in the first state that the second luminescence unit do not light When, by obtaining the spatial attitude parameter of the electronic equipment, then judge whether the spatial attitude parameter meets default bar Part, when result of determination shows that the spatial attitude parameter meets the preparatory condition, then control electronics enter the second hair Light unit is the second luminous state.Thus reaching can be by the of the spatial attitude control electronics for adjusting electronic equipment Whether two luminescence units are luminous purpose, and the intense light source of electronic equipment can quickly be adjusted by, which realizing, lights, and improve electronics and set The technique effect of standby operating efficiency.
The embodiment of the present application at least also has the following technical effect that or advantage:
Further, before the technical scheme in the embodiment of the present application is by setting up electronic equipment the second luminescence unit of startup Condition is put forward, reduces the probability of maloperation so that electronic equipment makes the second luminescence unit light unnecessary when, so as to avoid The energy waste of electronic equipment, therefore, the technical scheme in the embodiment of the present application also have misoperation probability low, avoid electronics from setting The technique effect of standby energy waste.
Further, the technical scheme in the embodiment of the present application can decide whether open according to the light luminance of current environment The second luminescence unit of adjustment is opened as luminous flow, it is single to avoid the adjustment second in the case where light luminance disclosure satisfy that needs Member is luminous situation, and therefore, the technical scheme in the embodiment of the present application also has the intellectuality of further lifting electronic equipment Level, the technique effect of lifting user's impression.
Further, because the second luminescence unit can be intense light source in actual mechanical process, therefore by detecting electricity Whether the light when luminous of the second luminescence unit described in when sub- equipment is in the second posture can be irradiated to human eye, ensure that the second hair Light unit it is luminous when will not direct projection human eye, can effectively protect the eyes of user not by strong light stimulus, therefore the embodiment of the present application In technical scheme technique effect safe to use also be present.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Specifically, a kind of control method in the embodiment of the present application, applied in electronic equipment, the electronic equipment bag The first luminescence unit and the second luminescence unit are included, and first luminescence unit is less than institute in the first luminosity of unit area State second luminosity of second luminescence unit in the unit area, computer program instructions corresponding to methods described can be by It is stored in the storage mediums such as CD, hard disk, USB flash disk, when computer corresponding with a kind of system control method in storage medium When programmed instruction is read or is performed by an electronic equipment, comprise the following steps:
Judge whether the spatial attitude parameter meets preparatory condition;
When result of determination shows that the spatial attitude parameter meets the preparatory condition, the electronic equipment is controlled to enter Second state, in said second condition, second luminescence unit are in luminance.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the application scope.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the application to the application God and scope.So, if these modifications and variations of the application belong to the scope of the application claim and its equivalent technologies Within, then the application is also intended to comprising including these changes and modification.

Claims (12)

1. a kind of control method, applied in electronic equipment, the electronic equipment includes the first luminescence unit and the second luminous list Member, and the first luminosity of first luminescence unit is less than the second luminosity of second luminescence unit, the side Method includes:
When the electronic equipment is in first state, the spatial attitude parameter of the electronic equipment is obtained, wherein, the space Attitude parameter characterizes the electronic equipment from the first pose adjustment to the second posture, described second sends out in said first condition Light unit is in not luminous state and first luminescence unit is in luminous state;
Judge whether the spatial attitude parameter meets preparatory condition;
When the spatial attitude parameter meets the preparatory condition, the electronic equipment is controlled to enter the second state, described Under second state, second luminescence unit is in luminance and first luminescence unit is non-luminance;
It is described to judge whether the spatial attitude parameter meets a preparatory condition, be specially:
Judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment when in second posture, Second luminescence unit is towards preset direction.
2. the method as described in claim 1, it is characterised in that the surface of the electronic equipment is additionally provided with the first detection list Member, the spatial attitude parameter for obtaining the electronic equipment, including:
In the first preset duration before the spatial attitude parameter for obtaining the electronic equipment, detected by described first Unit detects whether to obtain the first input instruction;
If testing result is yes, step is performed:Judge whether the spatial attitude parameter meets preparatory condition;Or,
In the second preset duration after the spatial attitude parameter for obtaining the electronic equipment, detected by described first Unit detects whether to obtain first input instruction;
If testing result is yes, step is performed:Judge whether the spatial attitude parameter meets preparatory condition;Or,
By first detection unit detect the electronic equipment whether the first input instruction described in continuous collecting duration When reaching three preset durations, the spatial attitude parameter of the electronic equipment is obtained;
If testing result is yes, step is performed:Judge whether the spatial attitude parameter meets preparatory condition.
3. the method as described in claim 1, it is characterised in that the spatial attitude parameter for obtaining the electronic equipment it Before, methods described also includes:
When first luminescence unit is in it is not luminous when, obtain the second input instruction, wherein, second input instruction to The first luminescence unit never luminance is controlled to be adjusted to luminance;
Determine that when first luminescence unit is luminous be the first state.
4. the method as described in claim 1, it is characterised in that described to judge whether the spatial attitude parameter meets that one is default Condition, it is specially:
Judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment when in second posture, Second luminescence unit towards the electronic equipment be in the first state when described in the first luminescence unit direction direction.
5. the method as described in claim 1, it is characterised in that the electronic equipment also includes the second detection unit, described When the electronic equipment is in first state, before the spatial attitude parameter for obtaining the electronic equipment, methods described is also wrapped Include:
Ambient brightness residing for the electronic equipment is detected by second detection unit, obtains ambient brightness value, the ring Border brightness value characterizes the light luminance grade of the electronic equipment local environment;
When the ambient brightness value is less than predetermined luminance threshold value, step is performed:When the electronic equipment is in first state, Obtain the spatial attitude parameter of the electronic equipment.
6. the method as described in claim 1-3 is any, it is characterised in that the electronic equipment also includes the 3rd detection unit, It is described to control the electronic equipment to enter the second state when the spatial attitude parameter meets the preparatory condition, including:
When the spatial attitude parameter meets the preparatory condition, then a detection is obtained by the 3rd detection unit and joined Number, the detection parameters characterize whether second luminescence unit light when luminous is irradiated to human eye;
When the detection parameters, which characterize second luminescence unit light when luminous, does not irradiate to human eye, then the electricity is controlled Sub- equipment enters second state.
7. a kind of electronic equipment, the electronic equipment includes the first luminescence unit and the second luminescence unit, and described first is luminous First luminosity of unit is less than the second luminosity of second luminescence unit, and the electronic equipment includes:
Spatial attitude parameter acquiring unit, when the electronic equipment is in first state, to obtain the electronic equipment Spatial attitude parameter, wherein, the spatial attitude parameter characterizes the electronic equipment from the first pose adjustment to the second posture, Second luminescence unit is in not luminous state in said first condition and first luminescence unit is in what is lighted State;
Identifying unit, to judge whether the spatial attitude parameter meets preparatory condition;
Control unit, when the spatial attitude parameter meets the preparatory condition, to control the electronic equipment to enter the Two-state, in said second condition, it is not send out that second luminescence unit, which is in luminance and first luminescence unit, Light state;
The identifying unit is specially:
To judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in second appearance During state, second luminescence unit is towards preset direction.
8. electronic equipment as claimed in claim 7, it is characterised in that the surface of the electronic equipment is additionally provided with the first detection Unit, in the first preset duration before the spatial attitude parameter for obtaining the electronic equipment, to detect whether to obtain Obtain the first input instruction;Or,
First detection unit, to when second after the spatial attitude parameter for obtaining the electronic equipment is default In length, detect whether to obtain first input instruction;Or,
First detection unit, to detect the electronic equipment whether the first input instruction described in continuous collecting duration When reaching three preset durations, the spatial attitude parameter of the electronic equipment is obtained;
The identifying unit is specifically, to judge whether the spatial attitude parameter meets default bar when being in testing result Part.
9. electronic equipment as claimed in claim 7, it is characterised in that the electronic equipment also includes:
Second input instruction acquiring unit, when first luminescence unit is in not luminous, to obtain the second input instruction, Wherein, second input instruction is to control first luminescence unit never luminance to be adjusted to luminance, and really Fixed first luminescence unit is the first state when lighting.
10. electronic equipment as claimed in claim 7, it is characterised in that the identifying unit is specially:
To judge whether the spatial attitude parameter of the electronic equipment characterizes the electronic equipment in second appearance During state, second luminescence unit towards the electronic equipment be in the first state when described in the first luminescence unit direction Direction.
11. electronic equipment as claimed in claim 7, it is characterised in that the electronic equipment also includes the second detection unit, uses , when the electronic equipment is in first state, before the spatial attitude parameter for obtaining the electronic equipment, to be detected described Ambient brightness residing for the electronic equipment, obtains ambient brightness value, and the ambient brightness value characterizes the electronic equipment institute Locate the light luminance grade of environment;
The spatial attitude parameter acquiring unit in the ambient brightness value specifically, less than predetermined luminance threshold value and to work as When the electronic equipment is in first state, the spatial attitude parameter of the electronic equipment is obtained.
12. the electronic equipment as described in claim 7-9 is any, it is characterised in that the electronic equipment also includes the 3rd detection Unit, when the spatial attitude parameter meets the preparatory condition, then to obtain an inspection by the 3rd detection unit Parameter is surveyed, the detection parameters characterize whether second luminescence unit light when luminous is irradiated to human eye;
Described control unit is specially:
When the detection parameters characterize second luminescence unit light when luminous and do not irradiated to human eye, then to control institute State electronic equipment and enter second state.
CN201410455999.9A 2014-09-09 2014-09-09 A kind of control method and electronic equipment Active CN104238770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410455999.9A CN104238770B (en) 2014-09-09 2014-09-09 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410455999.9A CN104238770B (en) 2014-09-09 2014-09-09 A kind of control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104238770A CN104238770A (en) 2014-12-24
CN104238770B true CN104238770B (en) 2018-01-23

Family

ID=52227003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410455999.9A Active CN104238770B (en) 2014-09-09 2014-09-09 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104238770B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278700A (en) * 2015-11-09 2016-01-27 深圳Tcl新技术有限公司 Wireless mouse working mode switching method and device
CN107888780B (en) * 2017-11-29 2021-04-27 维沃移动通信有限公司 Illumination control method of mobile terminal and mobile terminal
CN110300502B (en) * 2019-06-30 2021-03-12 Oppo广东移动通信有限公司 Electronic device and electronic device control method
CN110445933A (en) * 2019-08-06 2019-11-12 珠海格力电器股份有限公司 Adjust method, storage medium and the terminal device of the light illumination mode of terminal device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201450532U (en) * 2009-06-04 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Movable terminal
CN102572040A (en) * 2010-12-30 2012-07-11 希姆通信息技术(上海)有限公司 Mobile terminal
CN102957805A (en) * 2012-11-16 2013-03-06 广东欧珀移动通信有限公司 Method for entering into flashlight mode of mobile phone
CN103025019A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal and rapid lighting method thereof
CN103389596A (en) * 2012-05-09 2013-11-13 联想(北京)有限公司 Display device
CN103593597A (en) * 2013-11-15 2014-02-19 青岛尚慧信息技术有限公司 Method for controlling flashlight of smart mobile terminal
TW201417557A (en) * 2012-10-31 2014-05-01 Chi Mei Comm Systems Inc System and method of opening flashlight function of mobile terminal
EP2760186A1 (en) * 2013-01-29 2014-07-30 LG Electronics Inc. Mobile terminal with external case

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201450532U (en) * 2009-06-04 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Movable terminal
CN102572040A (en) * 2010-12-30 2012-07-11 希姆通信息技术(上海)有限公司 Mobile terminal
CN103389596A (en) * 2012-05-09 2013-11-13 联想(北京)有限公司 Display device
TW201417557A (en) * 2012-10-31 2014-05-01 Chi Mei Comm Systems Inc System and method of opening flashlight function of mobile terminal
CN102957805A (en) * 2012-11-16 2013-03-06 广东欧珀移动通信有限公司 Method for entering into flashlight mode of mobile phone
CN103025019A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal and rapid lighting method thereof
EP2760186A1 (en) * 2013-01-29 2014-07-30 LG Electronics Inc. Mobile terminal with external case
CN103593597A (en) * 2013-11-15 2014-02-19 青岛尚慧信息技术有限公司 Method for controlling flashlight of smart mobile terminal

Also Published As

Publication number Publication date
CN104238770A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104238770B (en) A kind of control method and electronic equipment
CN104641727B (en) A kind of method, apparatus and system for controlling one or more light sources via hand held computer device
JP2021052832A (en) Game machine
KR102002390B1 (en) Dart game system
JP2020174825A (en) Game machine
JP2020195850A (en) Game machine
JP2020174828A (en) Game machine
JP2021053074A (en) Game machine
JP2020199190A (en) Game machine
JP2020199191A (en) Game machine
JP2020199189A (en) Game machine
JP2020199194A (en) Game machine
JP2020199192A (en) Game machine
JP2020199193A (en) Game machine
JP2021053073A (en) Game machine
CN109324739A (en) Control method, device, terminal and the storage medium of virtual objects
JP2020505079A (en) Dart game device and dart game system that output event effects
JP2020174830A (en) Game machine
JP2015155065A (en) Game machine
CN110448905A (en) Virtual object control method, device, equipment and storage medium in virtual environment
JP2021168944A (en) Dart game device
JP6791947B2 (en) Darts game device and darts game system that provide lesson video
CN105204613B (en) A kind of information processing method and wearable device
KR101963774B1 (en) Dart game apparatus and dart game system comprising lightning unit
KR20190079009A (en) Dart game apparatus and dart game system ouputting event image

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