CN104238770A - Control method and electronic equipment - Google Patents
Control method and electronic equipment Download PDFInfo
- Publication number
- CN104238770A CN104238770A CN201410455999.9A CN201410455999A CN104238770A CN 104238770 A CN104238770 A CN 104238770A CN 201410455999 A CN201410455999 A CN 201410455999A CN 104238770 A CN104238770 A CN 104238770A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- luminescence unit
- spatial attitude
- attitude parameter
- described electronic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a control method and electronic equipment. The control method comprises the following steps: when the electronic equipment is in a first state that a second light-emitting unit does not emit light, obtaining spatial attitude parameters of the electronic equipment, and then judging whether the spatial attitude parameters meet the preset condition; when the judgment result shows that the spatial attitude parameters meet the preset condition, controlling the electronic equipment to enter a second state that the second light-emitting unit emits the light, thereby reaching the target of controlling whether the second light-emitting unit of the electronic equipment emits the light or not by adjusting the spatial attitude of the electronic equipment; therefore, the technical effects of quickly adjusting an intense light source of the electronic equipment to emit the light, and improving the operation efficiency of the electronic equipment are achieved.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of control method and electronic equipment.
Background technology
At present, the intense light source illumination functions of intelligent electronic device often needs user to carry out corresponding button operation or enters specific editmenu to select to open, when the need for environment that user places oneself in the midst of dark suddenly opens illumination functions immediately, although existing intelligent electronic device can realize illumination by the mode lighting screen backlight immediately, but this kind of mode lighting hours is short, luminosity is low, be not suitable at light luminance low and need the environment of long-time illumination, therefore, when user needs to open comparatively intense light source, when realizing long-time illumination functions, then must by various loaded down with trivial details operation to open corresponding intense light source illuminator.
As can be seen here, the intense light source illuminator open operation that there is intelligent electronic device in prior art is loaded down with trivial details, the defect that operating efficiency is not high.
Summary of the invention
The application provides a kind of control method and electronic equipment, loaded down with trivial details in order to the intense light source illuminator open operation solving intelligent electronic device of the prior art, the technical matters that operating efficiency is not high.
The application provides a kind of control method on the one hand, be applied in electronic equipment, described electronic equipment comprises the first luminescence unit and the second luminescence unit, and the first luminosity of described first luminescence unit is less than the second luminosity of described second luminescence unit, and described method comprises:
When described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment, wherein, the described electronic equipment of described spatial attitude parameter characterization is from the first pose adjustment to the second attitude, and described second luminescence unit is in not luminous state in said first condition;
Judge whether described spatial attitude parameter meets pre-conditioned;
When result of determination show described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, in said second condition, described second luminescence unit is in luminance.
Preferably, the surface of described electronic equipment is also provided with the first detecting unit, and the spatial attitude parameter of the described electronic equipment of described acquisition, comprising:
In the first preset duration before the spatial attitude parameter of the described electronic equipment of described acquisition, detect whether obtain the first input instruction by described first detecting unit;
If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned; Or,
In the second preset duration after the spatial attitude parameter of the described electronic equipment of described acquisition, detect whether obtain described first input instruction by described first detecting unit;
If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned; Or,
Detect described electronic equipment whether when the duration of the first input instruction described in continuous collecting reaches the 3rd preset duration by described first detecting unit, obtain the spatial attitude parameter of described electronic equipment;
If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned.
Preferably, before the spatial attitude parameter of the described electronic equipment of described acquisition, described method also comprises:
When described first luminescence unit is in luminous, obtain the second input instruction, wherein, described second input instruction in order to control described first luminescence unit never luminance be adjusted to luminance;
Be described first state when determining that described first luminescence unit is luminous.
Preferably, the described electronic equipment of described control enters the second state, is specially:
Control described electronic equipment to enter described second luminescence unit and be in luminance, and described first luminescence unit is described second state of non-luminance.
Preferably, whether described judgement described spatial attitude parameter meets one pre-conditioned, is specially:
Judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, described second luminescence unit is towards preset direction.
Preferably, whether described judgement described spatial attitude parameter meets one pre-conditioned, is specially:
Judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, the first luminescence unit described in when described second luminescence unit is in described first state towards described electronic equipment towards direction.
Preferably, described electronic equipment also comprises the second detecting unit, described be in the first state when described electronic equipment time, before obtaining the spatial attitude parameter of described electronic equipment, described method also comprises:
Detect the ambient brightness residing for described electronic equipment by described second detecting unit, obtain ambient brightness value, described ambient brightness value characterizes the light luminance grade of environment residing for described electronic equipment;
When described ambient brightness value is lower than predetermined luminance threshold value, perform step: when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment.
Preferably, described electronic equipment also comprises the 3rd detecting unit, described when described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, comprising:
When described spatial attitude parameter meet described pre-conditioned time, then obtain a detected parameters by described 3rd detecting unit, whether described detected parameters characterizes described second luminescence unit light when luminescence and irradiates to human eye;
When light does not irradiate to human eye when described detected parameters characterizes described second luminescence unit in luminescence, then control described electronic equipment and enter described second state.
On the other hand, a kind of electronic equipment is additionally provided in the embodiment of the present application, described electronic equipment comprises the first luminescence unit and the second luminescence unit, and the first luminosity of described first luminescence unit is less than the second luminosity of described second luminescence unit, and described electronic equipment comprises:
Spatial attitude parameter acquiring unit, in order to when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment, wherein, the described electronic equipment of described spatial attitude parameter characterization is from the first pose adjustment to the second attitude, and described second luminescence unit is in not luminous state in said first condition;
Identifying unit, in order to judge whether described spatial attitude parameter meets pre-conditioned;
Control module, in order to show when result of determination described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, in said second condition, described second luminescence unit is in luminance.
Preferably, the surface of described electronic equipment is also provided with the first detecting unit, in order in the first preset duration before the spatial attitude parameter of the described electronic equipment of described acquisition, detects whether obtain the first input instruction; Or,
Described first detecting unit, in order in the second preset duration after the spatial attitude parameter of the described electronic equipment of described acquisition, detects and whether obtains described first input instruction; Or,
Described first detecting unit, in order to detect described electronic equipment whether when the duration of the first input instruction described in continuous collecting reaches the 3rd preset duration, obtains the spatial attitude parameter of described electronic equipment;
Described identifying unit is specially, in order to judge when testing result is for being whether described spatial attitude parameter meets pre-conditioned.
Preferably, described electronic equipment also comprises:
Second input instruction fetch unit, during in order to be in not luminous when described first luminescence unit, obtain the second input instruction, wherein, described second input instruction in order to control described first luminescence unit never luminance be adjusted to luminance, and be described first state when determining that described first luminescence unit is luminous.
Preferably, described control module is specially:
Enter described second luminescence unit be in luminance in order to control described electronic equipment, and described first luminescence unit is described second state of non-luminance.
Preferably, described identifying unit is specially:
In order to judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, described second luminescence unit is towards preset direction.
Further preferably, described identifying unit is specially:
In order to judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, the first luminescence unit described in when described second luminescence unit is in described first state towards described electronic equipment towards direction.
Preferably, described electronic equipment also comprises the second detecting unit, in order to described be in the first state when described electronic equipment time, before obtaining the spatial attitude parameter of described electronic equipment, detect the ambient brightness residing for described electronic equipment, obtain ambient brightness value, described ambient brightness value characterizes the light luminance grade of environment residing for described electronic equipment;
Described spatial attitude parameter acquiring unit is specially, in order in described ambient brightness value lower than predetermined luminance threshold value and when being in the first state when described electronic equipment, obtain the spatial attitude parameter of described electronic equipment.
Preferably, described electronic equipment also comprises the 3rd detecting unit, in order to meet when described spatial attitude parameter described pre-conditioned time, then obtain a detected parameters by described 3rd detecting unit, whether described detected parameters characterizes described second luminescence unit light when luminescence and irradiates to human eye;
Described control module is specially:
In order to when light does not irradiate to human eye when described detected parameters characterizes described second luminescence unit in luminescence, then control described electronic equipment and enter described second state.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
In the embodiment of the present application, when electronic equipment is in not luminous the first state of the second luminescence unit, by obtaining the spatial attitude parameter of described electronic equipment, then judge whether described spatial attitude parameter meets pre-conditioned, when result of determination show described spatial attitude parameter meet described pre-conditioned time, then controlling electronic equipment, to enter the second luminescence unit be the second luminous state.Whether reach second luminescence unit that can control electronic equipment by the spatial attitude of adjustment electronic equipment thus be luminous object, achieve can the intense light source of rapid adjustment electronic equipment luminous, improve the technique effect of electronic equipment operating efficiency.
Further, technical scheme in the embodiment of the present application starts the precondition of the second luminescence unit by setting up electronic equipment, reduce the probability of maloperation, electronic equipment is made to make the second luminescence unit luminous in unnecessary, thus avoid the energy dissipation of electronic equipment, therefore, it is low that the technical scheme in the embodiment of the present application also has misoperation probability, avoids the technique effect of electronic equipment energy dissipation.
Further, according to the light luminance of current environment, technical scheme in the embodiment of the present application can determine that whether opening adjustment second luminescence unit is luminous flow process, avoiding and adjusting second unit when light luminance can be satisfied the demand is luminous situation, therefore, technical scheme in the embodiment of the present application also has the intelligent level promoting electronic equipment further, promotes the technique effect of user's impression.
Further; because the second luminescence unit can be intense light source in actual mechanical process; whether the light when luminescence of the second luminescence unit described in when being therefore in the second attitude by detected electrons equipment can irradiate to human eye; can not direct projection human eye when ensure that the second luminescence unit is luminous; can the eyes of available protecting user not stimulate by high light, also there is the technique effect of use safety in the technical scheme therefore in the embodiment of the present application.
Accompanying drawing explanation
The process flow diagram of a kind of control method that Fig. 1 provides for the embodiment of the present invention;
A kind of electronic devices structure figure that Fig. 2 provides for the embodiment of the present invention.
Embodiment
The application provides a kind of information processing method and electronic equipment, loaded down with trivial details in order to the intense light source illuminator open operation solving intelligent electronic device of the prior art, the technical matters that operating efficiency is not high.
Technical scheme in the embodiment of the present application is for solving the problems of the technologies described above, and general thought is as follows:
In the embodiment of the present application, when electronic equipment is in not luminous the first state of the second luminescence unit, by obtaining the spatial attitude parameter of described electronic equipment, then judge whether described spatial attitude parameter meets pre-conditioned, when result of determination show described spatial attitude parameter meet described pre-conditioned time, then controlling electronic equipment, to enter the second luminescence unit be the second luminous state.Whether reach second luminescence unit that can control electronic equipment by the spatial attitude of adjustment electronic equipment thus be luminous object, achieve can the intense light source of rapid adjustment electronic equipment luminous, improve the technique effect of electronic equipment operating efficiency.
Below by accompanying drawing and specific embodiment, technical scheme is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical scheme, instead of the restriction to technical scheme, when not conflicting, the technical characteristic in the embodiment of the present application and embodiment can combine mutually.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application one provides a kind of control method, be applied in electronic equipment, described electronic equipment comprises the first luminescence unit and the second luminescence unit, and the first luminosity of described first luminescence unit is less than the second luminosity of described second luminescence unit.
It is to be noted at this, luminescence unit in the embodiment of the present application can be two physically independently luminescence units, its setting position can be different, it is towards being also difference, that is, the light direction of illumination of the first luminescence unit and the second luminescence unit also can be different, such as, first luminescence unit is the display screen being arranged on electronic equipment main-vision surface, and the second luminescence unit is be arranged on the flashlamp on electronic equipment backsight face; Again such as, the first luminescence unit is be arranged on an electronic equipment left side to look flashlamp on face, and the second luminescence unit is be arranged on electronic equipment to overlook Special illuminating lamp on face.Visible, when the first luminescence unit and the second luminescence unit are two separate units, its setting position in the electronic device can be various ways.
And, first luminescence unit and the second luminescence unit its function under common application state also can be different, such as, first luminescence unit can be LCDs, function under its common application state knows the information content on recognition screen for providing backlight illumination to facilitate user, second luminescence unit can be flashlamp, function under its common application state for providing high light effect under photography state, that is, first luminescence unit and the second luminescence unit can be applied as other function and arrange, not can only be special as illumination.
The first luminescence unit in the embodiment of the present application and the second luminescence unit also can for the luminescence units be re-used, such as, the LCDs of flashlamp function and backlight function can be realized simultaneously, when this LCDs is in backlight illumination effect, it can as the first luminescence unit, when this LCDs is in brightness of flash lamp effect, it can as the second luminescence unit.
The first luminescence unit in the embodiment of the present application can also be special illumination and the lighting unit that arranges, and the light-emitting device that the second luminescence unit can be arranged as the application of other function, and non-illumination is special; Certainly, also can be the first luminescence unit be that other function applies the light-emitting device arranged, and the second luminescence unit lighting unit that to be illumination special; Meanwhile, can also be that the first luminescence unit and the second luminescence unit are the special lighting unit that throws light on.
First luminosity of described first luminescence unit is less than the second luminosity of described second luminescence unit, implication in this includes two, refer on the one hand, when the first luminescence unit is luminescence, its overall brightness value is less than overall brightness value when the second luminescence unit is luminescence, or refer to, unit area brightness when the first luminescence unit is luminous is less than unit area brightness during the second luminescence unit luminescence.
Visible, as long as two unit that luminosity is different, or the same unit that luminosity is different under different conditions, all can as the first luminescence unit in the embodiment of the present application or the second luminescence unit, and the first luminescence unit is in the embody rule process of the embodiment of the present application, and its luminosity is less than the luminosity of the second luminescence unit.
Described method comprises:
Step 101: when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment, wherein, the described electronic equipment of described spatial attitude parameter characterization is from the first pose adjustment to the second attitude, and described second luminescence unit is in not luminous state in said first condition.
Described first state specifically refers to, the state of the non-light emission time of the second luminescence unit, that is, first state includes two kinds of situations, a kind of is that the first luminescence unit of electronic equipment and the second luminescence unit all do not have luminous situation, another kind is that the first luminescence unit of electronic equipment is luminous, and the situation that the second luminescence unit is not luminous.
Described spatial attitude parameter is in order to characterize electronic equipment from the first pose adjustment to the second attitude, and its concrete meaning comprises two kinds:
A kind of be described spatial attitude parameter characterization electronic equipment certain one side specifically towards, such as, when taking display interface as main-vision surface, spatial attitude parameter characterization is main-vision surface (face, the display screen place) central point of a rectangular parallelepiped electronic equipment, face central point is looked on the right side, overlook face central point three some positions with the central point of electronic equipment for initial point, x, when face, y-axis place is the position in the spatial coordinate axle of surface level, its design parameter numerical value is (0, 25, 0): (50, 0, 0): (0, 0, 100), now this spatial attitude parameter characterization electronic equipment is in main-vision surface and leftly looks face all perpendicular to the attitude of surface level, if spatial attitude parameter is
time, then the display interface characterizing electronic equipment is for perpendicular to surface level, and display interface is the Right deviation attitude of 45 degree of being tilted to the right.When electronic equipment from the first pose adjustment to the second attitude time, spatial attitude parameter corresponding to the first attitude also can be adjusted to spatial attitude parameter corresponding to the second attitude accordingly, therefore, can by described spatial attitude parameter characterization electronic equipment whether from the first pose adjustment to second attitude different from the first attitude, and the current residing concrete attitude of electronic equipment.
Another kind is the adjustment process of described spatial attitude parameter characterization first pose adjustment to the second attitude, such as, when the radian that during spatial attitude parameter characterization is for electronic equipment, certain a bit walks within the unit interval or angle, when such as the gyrostatic mobile phone of the employing spatial attitude parameter at a time obtained in the horizontal direction is specially 50 °/sec, then characterize electronic equipment to rotate toward right with 50 ° of speed per second in this moment, or this mobile phone obtains when prolonging the spatial attitude parameter on gravity direction for (-80) °/sec in another moment, then characterize electronic equipment to rotate with user oriented direction with 80 ° of speed per second in this moment, again by obtaining this spinning time duration, then can obtain the total radian of rotation of the actual generation of electronic equipment.
Again such as, when during spatial attitude parameter characterization is for electronic equipment certain a bit obtain within the unit interval acceleration time, the such as one spatial attitude parameter adopting the mobile phone of acceleration transducer at a time to obtain in the horizontal direction is specially 20m/sec
2time, then characterize electronic equipment and move in parallel toward right with the acceleration of 20 meters of every square of seconds in this moment, or this mobile phone is prolonging the spatial attitude parameter on gravity direction for (-30) m/sec in the acquisition of another moment
2time, then characterize electronic equipment and prolong gravity direction in this moment with the acceleration of 30 meters of every square of seconds and be moved, then move the lasting time by obtaining this, then can obtain the displacement of the actual generation of electronic equipment.
Therefore, when electronic equipment is from the first pose adjustment to the second attitude, can by described spatial attitude parameter characterization electronic equipment from the concrete adjustment direction of the first pose adjustment to the second attitude and adjustment degree.
In the specific implementation process of step 101, can pass through sensing unit, such as gyroscope, gravity accelerate the spatial attitude parameter that the concrete devices such as inductor obtain electronic equipment.
Step 102: judge whether described spatial attitude parameter meets pre-conditioned.
Described pre-conditioned can parameter corresponding to a certain concrete attitude of electronic equipment, such as, electronic equipment is the attitude of 45 degree of being tilted to the right, and can be expressed as by the spatial attitude parameter of correspondence
Certainly, described pre-conditioned also can be the concrete attitudes vibration process of electronic equipment, such as, electronic equipment carries out 360 degree of upsets from left to right, then can be expressed as 120 °/sec by the spatial attitude parameter of correspondence, and obtains that to continue rotational time be 3 seconds.
In the specific implementation process of step 102, need to determine whether to meet by the content that spatial attitude parameter is concrete characterized pre-conditioned.
This is pre-conditioned can be the concrete attitude of electronic equipment when the first moment and second moment different from the first moment, this concrete attitude can be electronic equipment certain one side specifically towards, such as, pre-conditioned can be that electronic equipment is the attitude of display screen towards ground when the first moment, and when the second moment, electronic equipment is that display screen is towards skyward attitude.
This concrete attitude also can for the pose adjustment process done in the interval duration of electronic equipment between the first moment and the second moment, such as, pre-conditionedly can be held under state for electronic equipment, complete a sub-level in the interval duration between the first moment and the second moment and turn over the pose adjustment process turn 90 degrees to the right.
It needs to be noted, when the first luminescence unit and the second luminescence unit are two separate units, its setting position in the electronic device can be various ways, when the first luminescence unit is different with the setting position of the second luminescence unit, it is also different that it carries out the performance of the attitude parameter after pose adjustment, therefore, when the embodiment of the present application technical scheme pre-conditioned identical, in actual mechanical process, different with the setting position of the second luminescence unit according to the first luminescence unit, and the difference of normative reference, its concrete shown spatial attitude parameter is also different, therefore in pose adjustment process, pose adjustment direction and the adjustment distance/radian of electronic equipment are also not quite similar.
Such as, pre-conditionedly be specially when electronic equipment is in the second attitude, the light direction of illumination of the light direction of illumination of the second luminescence unit and electronic equipment the first luminescence unit when the first attitude is consistent, the electronic equipment of existing two kinds of same sizes, the first electronic equipment is following setting: the first luminescence unit is the display screen on electronic equipment main-vision surface, and the second luminescence unit is the first flashlamp that an electronic equipment left side looks on face; The second electronic equipment is following setting: the first luminescence unit is the second flashlamp that electronic equipment overlooks on face, and the second luminescence unit is the Special illuminating lamp that electronic equipment looks up on face.
When spatial attitude parameter characterization be electronic equipment certain one side specifically towards time, the first electronic equipment looks face (the first face, flashlamp place) all perpendicular to the attitude of surface level for main-vision surface (face, display screen place) and a left side under the first attitude, its spatial attitude parameter can be specially (0, (-30), 0): (60, 0, 0): (0, 0, 90), the first electronic equipment only needs to be carried out by the first electronic equipment level 90 degree of upsets to the right under the first attitude and is adjusted to the second attitude and can meets pre-conditioned, therefore, its spatial attitude parameter under the second attitude is specially (30, 0, 0): (0, 60, 0): (0, 0, 90), and the second electronic equipment looks face (the first face, flashlamp place) all perpendicular to the attitude of surface level for main-vision surface (the second face, flashlamp place) and a left side under the first attitude, its spatial attitude parameter can be specially (0, (-90), 0): (60, 0, 0): (0, 0, 30), the second electronic equipment then needs to prolong gravity direction to carry out 180 degree of upsets and is adjusted to the second attitude and just can meets pre-conditioned, therefore, its design parameter under the second attitude can be (0, 90, 0): (60, 0, 0): (0, 0, (-30)).
When spatial attitude parameter characterization is the pose adjustment process of electronic equipment, the first electronic equipment only needs to be carried out by the first electronic equipment level 90 degree of upsets to the right under the first attitude and is adjusted to the second attitude and can meets pre-conditioned, therefore, its spatial attitude parameter in the horizontal direction can be 30 °/sec, continue duration 3 seconds, represent that the first electronic equipment has carried out with 30 degree of speed occurred level rotations to the right per second, and rotation duration is 3 seconds, the level that finally completes turns over the adjustment process turn 90 degrees to the right; The second electronic equipment then needs to carry out to prolong gravity direction to carry out 180 degree of upsets and is adjusted to the second attitude and just can meets pre-conditioned, therefore, it can be (-90 °)/sec prolonging the spatial attitude parameter on gravity direction, continue duration 2 seconds, represent that the second electronic equipment has carried out prolonging gravity direction rotation upwards with 90 degree of speed per second, and rotation duration is 3 seconds, finally completes and prolongs the adjustment process that gravity direction carries out 180 degree of upsets.
Step 103: when result of determination show described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, in said second condition, described second luminescence unit is in luminance.
Described second state specifically refers to, the state of the second luminescence unit light emission time, that is, second state also includes two kinds of situations, a kind of is the first luminescence unit of electronic equipment and the situation of the equal luminescence of the second luminescence unit, another kind is that the first luminescence unit of electronic equipment is not luminous, and the situation of the second luminescence unit luminescence.
Particularly, the surface of described electronic equipment is also provided with the first detecting unit, and the spatial attitude parameter of the described electronic equipment of described acquisition, comprising:
In the first preset duration before the spatial attitude parameter of the described electronic equipment of described acquisition, detect whether obtain the first input instruction by described first detecting unit; If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned.
Described first detecting unit is specifically as follows the button that electronic equipment is arranged, also can for the sensing unit that electronic equipment is arranged, corresponding, described first input instruction can for the instruction that electronic equipment responds button operation and generate, the instruction that also can be generated based on the induction information obtained by described sensing unit for electronic equipment, such as, when sensing unit is specially infrared induction unit, when finger is put into infrared induction region by user, infrared induction unit can obtain an induction information, can corresponding generation one instruction based on this induction information electronic equipment, i.e. described first input instruction.
Described first preset duration is the one section of duration preset in system, within being specifically as follows 30 seconds, or within 1 minute.
In the actual mechanical process of this step, first electronic equipment obtains the first input instruction, then spatial attitude parameter is obtained, and then judge that whether acquisition first inputs interval duration between moment that moment of instruction and electronic equipment obtain spatial attitude parameter more than the first preset duration, if more than the first preset duration, then step can not be entered: judge whether described spatial attitude parameter meets pre-conditioned, and whole method flow terminates.
Or this step can also be another kind of implementation:
In the second preset duration after the spatial attitude parameter of the described electronic equipment of described acquisition, detect whether obtain described first input instruction by described first detecting unit; If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned.
In the actual mechanical process of this kind of mode, first electronic equipment obtains spatial attitude parameter, then the first input instruction is obtained, whether the moment and then judging to obtain spatial attitude parameter and the interval duration that obtains between the first moment inputting instruction be more than the second preset duration, if more than the second preset duration, then step can not be entered: judge whether described spatial attitude parameter meets pre-conditioned, and whole method flow terminates.
Or this step can also be the third implementation:
Detect described electronic equipment whether when the duration of the first input instruction described in continuous collecting reaches the 3rd preset duration by described first detecting unit, obtain the spatial attitude parameter of described electronic equipment; If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned.
In the actual mechanical process of this kind of mode, perform step: judge whether described spatial attitude parameter meets pre-conditioned precondition and comprise three, one is that electronic equipment needs the first input instruction described in continuous collecting, such as, when the first detecting unit is button, electronic equipment is inputted instruction by continuous collecting when Continued depression to described first at button, again such as, when the first detecting unit is touch sensing unit, this touch sensing unit continues to obtain touch sensible information, thus continuous collecting is to described first input instruction; Two is that described in electronic equipment continuous collecting, the first duration inputting instruction will reach the 3rd preset duration, and such as, when the first detecting unit is button, the button of electronic equipment is reached the 3rd preset duration by the duration of Continued depression; Three is spatial attitude parameters that electronic equipment gets electronic equipment; The basis meeting above-mentioned three conditions can perform step: judge whether described spatial attitude parameter meets pre-conditioned, otherwise whole method flow terminates.
It is to be noted, in the actual mechanical process of this kind of mode, the moment obtaining spatial attitude parameter can input among the duration of instruction for electronic equipment continuous collecting first, before the duration that also can input instruction for electronic equipment continuous collecting first, after the duration that can also input instruction for electronic equipment continuous collecting first.
Visible, the precondition that electronic equipment starts the second luminescence unit can be set up by above-mentioned several implementation, reduce the probability of maloperation, electronic equipment is made to make the second luminescence unit luminous in unnecessary, thus avoid the energy dissipation of electronic equipment, therefore, it is low that the technical scheme in the embodiment of the present application has misoperation probability, avoids the technique effect of electronic equipment energy dissipation.
Particularly, before the spatial attitude parameter of the described electronic equipment of described acquisition, described method also comprises: when described first luminescence unit is in not luminous, obtain the second input instruction, wherein, described second input instruction in order to control described first luminescence unit never luminance be adjusted to luminance; Be described first state when determining that described first luminescence unit is luminous.
In the specific implementation process of this step, the obtain manner of the second input instruction can be multiple, such as, the mode of specific function key operation can be taked, also can for the mode adopting sensing unit to carry out inductive operation, the acquisition that relative program carries out the second input instruction can be called for adopting the mode of menu setecting, can also for the mode adopting predetermined action to trigger, such as, detect acquisition electronic equipment by gyroscope and under grip state, roll amplitude more than a threshold value, then be judged as acquisition second and input instruction, again such as, detect the translational speed change of acquisition electronic equipment under grip state by acceleration induction device and exceed predetermined threshold, then be judged as acquisition second and input instruction.
In a word, in actual mechanical process, the mode obtaining the second input instruction is multiple, can depending on actual needs.
Meanwhile, when acquisition second inputs instruction thus the first luminescence unit is adjusted to luminescence, the electronic equipment determining now is in luminous and the first state that the second luminescence unit is not luminous of the first luminescence unit.
Further particularly, the described electronic equipment of described control enters the second state, be specially: control described electronic equipment and enter described second luminescence unit and be in luminance, and described first luminescence unit is described second state of non-luminance, the first luminescence unit and the second luminescence unit luminous situation consuming mass energy simultaneously can be avoided thus, realize the technique effect saving energy consumption further.
Particularly, whether described judgement described spatial attitude parameter meets one pre-conditioned, Ke Yiwei:
Judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, described second luminescence unit is towards preset direction.
That is, describedly pre-conditionedly specifically judge that this electronic equipment is when being in the second attitude, whether the second luminescence unit of this electronic equipment is towards a preset direction.Take user as reference position, this preset direction can be horizontal forward, also can be perpendicular to surface level upwards, can also be specially and prolong the downward direction of gravity, and concrete setting is also determined with actual needs.
In actual mechanical process, can using the ray cast direction of the second luminescence unit as described second luminescence unit towards
Further particularly, described to judge that whether described spatial attitude parameter meets one pre-conditioned, Ke Yiwei:
Judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, the first luminescence unit described in when described second luminescence unit is in described first state towards described electronic equipment towards direction.
That is, described pre-conditioned can be specifically judge that this electronic equipment is when being in the second attitude, the second luminescence unit of this electronic equipment be in the first attitude towards whether with this electronic equipment time the first luminescence unit towards consistent.
In actual mechanical process, also can using the ray cast direction of the first luminescence unit as described first luminescence unit towards.
Such as, one is provided with the mobile phone of flashlamp at the display screen back side, this mobile phone in a first state time display screen backlight ray cast direction be vertical sand shooting earthward, therefore, can think this mobile phone the first luminescence unit in a first state be oriented Vertical dimension ground, and, when main-vision surface (face, the display screen place) central point that spatial attitude parameter characterization is electronic equipment, face central point is looked on the right side, overlook face central point three some positions with the central point of electronic equipment for initial point, x, when face, y-axis place is the position in the spatial coordinate axle of surface level, the concrete spatial attitude parameter of this mobile phone is (0 in a first state, 0, (-25)): (50, 0, 0): (0, (-100), 0), when the attitude parameter of this mobile phone changes to (0, 0, 25): ((-50), 0, 0): (0, (-100), 0) time, then can be judged to be that this mobile phone has carried out level 180 degree upset by parameter modification, be adjusted in order to the second attitude, now the ray cast direction of flashlamp also adjusts in order to Vertical dimension ground, now can think that this mobile phone is when being in the second attitude, second luminescence unit towards when being in the first attitude with this mobile phone, its the first luminescence unit towards unanimously.
Again such as, one mobile phone being provided with flashlamp on the left of display screen, this mobile phone in a first state time display screen backlight ray cast direction be vertical sand shooting earthward, now can think this mobile phone the first luminescence unit in a first state be oriented Vertical dimension ground, and the attitude parameter of this mobile phone is (0 time in a first state, 0, (-25)): (50, 0, 0): (0, (-100), 0), when the attitude parameter of this mobile phone changes to (25, 0, 0): (0, 0, 50): (0, (-100), 0), then can be judged to be that this mobile phone has carried out level 90 degree of upsets left by parameter modification, be adjusted in order to the second attitude, now the ray cast direction of flashlamp also adjusts in order to Vertical dimension ground, now can think that this mobile phone is when being in the second attitude, second luminescence unit towards when being in the first attitude with this mobile phone, its the first luminescence unit towards unanimously.Again such as, one display screen and the multiplexing mobile phone of flashlamp, this mobile phone in a first state time display screen backlight ray cast direction be vertical sand shooting earthward, and, when during spatial attitude parameter characterization is for electronic equipment certain a bit obtain within the unit interval acceleration time, the spatial attitude parameter that this mobile phone obtains in the horizontal direction in a Preset Time 3 seconds comprises: 20m/sec
2, (-20) m/sec
2now then can judge that the adjustment of this mobile phone is in order to carry out the second attitude that horizontal direction is rocked, and owing to being horizontal jitter, so the ray cast direction of flashlamp and the ray cast direction of display screen consistent, now can think that this mobile phone is when being in the second attitude, second luminescence unit towards when being in the first attitude with this mobile phone, its first luminescence unit towards unanimously.
Simultaneously, can also judge that this mobile phone is when being in the second attitude by attitude parameter, whether its center position departs from the center position of this mobile phone when being in the first attitude more than a predeterminable range, if it is determined that result is for exceeding this predeterminable range, then think this mobile phone meet when being in the second attitude pre-conditioned otherwise for do not meet pre-conditioned.
Particularly, described electronic equipment also comprises the second detecting unit, described be in the first state when described electronic equipment time, before obtaining the spatial attitude parameter of described electronic equipment, described method also comprises:
Detect the ambient brightness residing for described electronic equipment by described second detecting unit, obtain ambient brightness value, described ambient brightness value characterizes the light luminance grade of environment residing for described electronic equipment; When described ambient brightness value is lower than predetermined luminance threshold value, perform step: when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment.
In the actual mechanical process of this step, by the ambient brightness residing for light sensing unit inspection electronic equipment, and corresponding ambient brightness value can be obtained.
It is pointed out that this ambient brightness value can be what arrange as required, the numerical value corresponding with different light rays light and shade grade.
When the ambient brightness value obtained is lower than a predetermined luminance threshold value, then show that ambient light is now darker, adjustment second luminescence unit is had to be luminous necessity, be judged to further thus to perform step: when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment.
And, this step can show as in actual mechanical process, electronic equipment is in first mode in usually applying, described first mode is common application pattern, does not namely perform the pattern of technical scheme in the embodiment of the present application, that is, under electronic equipment is in first mode state, when the parameter that electronic equipment obtains or operation meet the implementing precondition condition of this programme, electronic equipment or perform other predetermined instruction, or do not do any response process; When the ambient brightness value that electronic equipment obtains is lower than a predetermined luminance threshold value, then adjustment enters the second pattern, when electronic equipment then can meet the implementing precondition condition of this programme in obtained parameter or operation under the second mode, perform the technical scheme in the embodiment of the present application.
Visible, according to the light luminance of current environment, technical scheme in the embodiment of the present application can determine that whether opening adjustment second luminescence unit is luminous flow process, avoiding and adjusting second unit when light luminance can be satisfied the demand is luminous situation, therefore, technical scheme in the embodiment of the present application also has the intelligent level promoting electronic equipment further, promotes the technique effect of user's impression.
Particularly, described electronic equipment also comprises the 3rd detecting unit, described when described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, comprising:
When described spatial attitude parameter meet described pre-conditioned time, then obtain a detected parameters by described 3rd detecting unit, whether described detected parameters characterizes described second luminescence unit light when luminescence and irradiates to human eye; When light does not irradiate to human eye when described detected parameters characterizes described second luminescence unit in luminescence, then control described electronic equipment and enter described second state.
In specific operation process, can by arranging image, picture collection device on an electronic device, image, picture collection are carried out in the direction that light direction of illumination with the second luminescence unit is identical, more whether there is human eye by image, picture analyzing technology determination; Or, can by arranging shadow induction installation on an electronic device, by the mode that shadow projects, check whether on the direction that the light direction of illumination with the second luminescence unit is identical, there is pupillary reflex light, then through determining whether to there is human eye to the data analysis of reflection ray.
It is to be noted, in the specific implementation process of this step, need to meet on pre-conditioned basis in described spatial attitude parameter to detect further again, when when detected parameters characterizes the second luminescence unit in luminescence, light does not irradiate to human eye, just described in working control, electronic equipment enters described second state.
Certainly, whether the light when luminescence of the second luminescence unit described in when judging that electronic equipment is in the second attitude irradiates to human eye, also can by judging to obtain result of determination prolonging the mode whether direction different from the light direction of illumination of the second luminescence unit existing human eye, now concrete implementation is: if there is human eye, then judge that the second luminescence unit light when luminescence can not irradiate to human eye; If there is not human eye, then sentence the second luminescence unit light when luminescence and can irradiate to human eye.
Such as, one flashlamp (the second luminescence unit) is arranged at the mobile phone of display screen (the first luminescence unit) place left side of face, be specially when pre-conditioned: when electronic equipment is in the second attitude, the light direction of illumination of the light direction of illumination of the second luminescence unit and electronic equipment the first luminescence unit when the first attitude is consistent, and spatial attitude parameter characterization be electronic equipment certain one side specifically towards time, this mobile phone looks face (the first face, flashlamp place) all perpendicular to the attitude of surface level for main-vision surface (face, display screen place) and a left side under the first attitude, its spatial attitude parameter can be specially (0, (-30), 0): (60, 0, 0): (0, 0, 90), therefore, the spatial attitude parameter adjustment obtained when this mobile phone is (30, 0, 0): (0, 60, 0): (0, 0, 90) time, then show that it has carried out level 90 degree of upsets to the right and has been adjusted to the second attitude, and meet pre-conditioned, therefore, meeting based on mobile phone on described pre-conditioned basis and can perform subsequent step, to prolong the picture in display screen backlight ray cast direction at the camera collection that display screen is arranged on the whole by calling this mobile phone, the picture obtained is characterized by does not exist human eye prolonging on display screen backlight ray cast direction, therefore, final adjustment electronic equipment enters the second state of the second luminescence unit luminescence.
Again such as, one display screen and the multiplexing mobile phone of flashlamp, this mobile phone in a first state time display screen backlight ray cast direction be vertical sand shooting earthward, describedly pre-conditionedly in 3 seconds, carry out horizontal double swerve for electronic equipment, and acceleration when rocking should more than 10m/sec
2, therefore, when during spatial attitude parameter characterization is for electronic equipment certain a bit obtain within the unit interval acceleration time, the spatial attitude parameter that this mobile phone obtains in the horizontal direction in a Preset Time 3 seconds comprises: 20m/sec
2, (-20) m/sec
2, now then can judge that the adjustment of this mobile phone is in order to carry out the second attitude that horizontal direction is rocked, if with (± 10) m/sec
2as the words of a predetermined threshold value, then spatial attitude parameter has now exceeded this predetermined threshold value, this mobile phone meets described pre-conditioned, therefore, meeting based on mobile phone on described pre-conditioned basis and can perform subsequent step, by calling this mobile phone at main-vision surface, backsight face, overlook face, look up face, the right side depending on camera collection that face is arranged from the picture on the ray cast direction that above-mentioned five faces send, there is human eye in the ray cast direction that the picture obtained is characterized by sending from above-mentioned five faces, therefore, can judge to there is not human eye on the direction that the light direction of illumination with flashlamp is identical, final adjustment electronic equipment enters the second state of the second luminescence unit luminescence.
Because the second luminescence unit can be intense light source in actual mechanical process; whether the light when luminescence of the second luminescence unit described in when being therefore in the second attitude by detected electrons equipment can irradiate to human eye; can not direct projection human eye during in order to ensure that the second luminescence unit is luminous; the eyes of available protecting user do not stimulate by high light, and the technical scheme therefore in the embodiment of the present application also exists the technique effect of use safety.
Embodiment two
Please refer to Fig. 2, the embodiment of the present application two provides a kind of electronic equipment, described electronic equipment comprises the first luminescence unit 201 and the second luminescence unit 202, and the first luminosity of described first luminescence unit 201 is less than the second luminosity of described second luminescence unit 202, described electronic equipment comprises:
Spatial attitude parameter acquiring unit 203, in order to when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment, wherein, the described electronic equipment of described spatial attitude parameter characterization is from the first pose adjustment to the second attitude, and described second luminescence unit is in not luminous state in said first condition;
Identifying unit 204, in order to judge whether described spatial attitude parameter meets pre-conditioned;
Control module 205, in order to meet when described spatial attitude parameter described pre-conditioned time, control described electronic equipment and enter the second state, in said second condition, described second luminescence unit is in luminance.
Particularly, the surface of described electronic equipment is also provided with the first detecting unit, in order in the first preset duration before the spatial attitude parameter of the described electronic equipment of described acquisition, detects whether obtain the first input instruction; Or,
Described first detecting unit, in order in the second preset duration after the spatial attitude parameter of the described electronic equipment of described acquisition, detects and whether obtains described first input instruction; Or,
Described first detecting unit, in order to detect described electronic equipment whether when the duration of the first input instruction described in continuous collecting reaches the 3rd preset duration, obtains the spatial attitude parameter of described electronic equipment;
Described identifying unit 204 is specially, in order to judge when testing result is for being whether described spatial attitude parameter meets pre-conditioned.
Particularly, described electronic equipment also comprises:
Second input instruction fetch unit, during in order to be in not luminous when described first luminescence unit, obtain the second input instruction, wherein, described second input instruction in order to control described first luminescence unit never luminance be adjusted to luminance, and be described first state when determining that described first luminescence unit is luminous.
Further particularly, described control module 205 is specially:
Enter described second luminescence unit 202 be in luminance in order to control described electronic equipment, and described first luminescence unit 201 is described second state of non-luminance.
Particularly, described identifying unit 204 is specially:
In order to judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, described second luminescence unit 202 is towards preset direction.
Particularly, described identifying unit 204 is specially:
In order to judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, the first luminescence unit 201 described in when described second luminescence unit 202 is in described first state towards described electronic equipment towards direction.
Particularly, described electronic equipment also comprises the second detecting unit, in order to described be in the first state when described electronic equipment time, before obtaining the spatial attitude parameter of described electronic equipment, detect the ambient brightness residing for described electronic equipment, obtain ambient brightness value, described ambient brightness value characterizes the light luminance grade of environment residing for described electronic equipment;
Described spatial attitude parameter acquiring unit is specially, in order in described ambient brightness value lower than predetermined luminance threshold value and when being in the first state when described electronic equipment, obtain the spatial attitude parameter of described electronic equipment.
Further particularly, described electronic equipment also comprises the 3rd detecting unit, in order to meet when described spatial attitude parameter described pre-conditioned time, then obtain a detected parameters by described 3rd detecting unit, whether described detected parameters characterizes described second luminescence unit light when luminescence and irradiates to human eye;
Described control module 205 is specially: in order to when light does not irradiate to human eye when described detected parameters characterizes described second luminescence unit 202 in luminescence, then control described electronic equipment and enter described second state.
As can be seen here, in the embodiment of the present application, when electronic equipment is in not luminous the first state of the second luminescence unit, by obtaining the spatial attitude parameter of described electronic equipment, then judge whether described spatial attitude parameter meets pre-conditioned, when result of determination show described spatial attitude parameter meet described pre-conditioned time, then controlling electronic equipment, to enter the second luminescence unit be the second luminous state.Whether reach second luminescence unit that can control electronic equipment by the spatial attitude of adjustment electronic equipment thus be luminous object, achieve can the intense light source of rapid adjustment electronic equipment luminous, improve the technique effect of electronic equipment operating efficiency.
The embodiment of the present application at least also has following technique effect or advantage:
Further, technical scheme in the embodiment of the present application starts the precondition of the second luminescence unit by setting up electronic equipment, reduce the probability of maloperation, electronic equipment is made to make the second luminescence unit luminous in unnecessary, thus avoid the energy dissipation of electronic equipment, therefore, it is low that the technical scheme in the embodiment of the present application also has misoperation probability, avoids the technique effect of electronic equipment energy dissipation.
Further, according to the light luminance of current environment, technical scheme in the embodiment of the present application can determine that whether opening adjustment second luminescence unit is luminous flow process, avoiding and adjusting second unit when light luminance can be satisfied the demand is luminous situation, therefore, technical scheme in the embodiment of the present application also has the intelligent level promoting electronic equipment further, promotes the technique effect of user's impression.
Further; because the second luminescence unit can be intense light source in actual mechanical process; whether the light when luminescence of the second luminescence unit described in when being therefore in the second attitude by detected electrons equipment can irradiate to human eye; can not direct projection human eye when ensure that the second luminescence unit is luminous; can the eyes of available protecting user not stimulate by high light, also there is the technique effect of use safety in the technical scheme therefore in the embodiment of the present application.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The application describes with reference to according to the process flow diagram of the method for the embodiment of the present application, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, a kind of control method in the embodiment of the present application, be applied in electronic equipment, described electronic equipment comprises the first luminescence unit and the second luminescence unit, and described first luminescence unit is less than second luminosity of described second luminescence unit in described unit area at the first luminosity of unit area, computer program instructions corresponding to described method can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with a kind of system control method in storage medium is read by an electronic equipment or is performed, comprise the steps:
Judge whether described spatial attitude parameter meets pre-conditioned;
When result of determination show described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, in said second condition, described second luminescence unit is in luminance.
Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.
Obviously, those skilled in the art can carry out various change and modification to the application and not depart from the spirit and scope of the application.Like this, if these amendments of the application and modification belong within the scope of the application's claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.
Claims (16)
1. a control method, is applied in electronic equipment, and described electronic equipment comprises the first luminescence unit and the second luminescence unit, and the first luminosity of described first luminescence unit is less than the second luminosity of described second luminescence unit, and described method comprises:
When described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment, wherein, the described electronic equipment of described spatial attitude parameter characterization is from the first pose adjustment to the second attitude, and described second luminescence unit is in not luminous state in said first condition;
Judge whether described spatial attitude parameter meets pre-conditioned;
When described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, in said second condition, described second luminescence unit is in luminance.
2. the method for claim 1, is characterized in that, the surface of described electronic equipment is also provided with the first detecting unit, and the spatial attitude parameter of the described electronic equipment of described acquisition, comprising:
In the first preset duration before the spatial attitude parameter of the described electronic equipment of described acquisition, detect whether obtain the first input instruction by described first detecting unit;
If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned; Or,
In the second preset duration after the spatial attitude parameter of the described electronic equipment of described acquisition, detect whether obtain described first input instruction by described first detecting unit;
If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned; Or,
Detect described electronic equipment whether when the duration of the first input instruction described in continuous collecting reaches the 3rd preset duration by described first detecting unit, obtain the spatial attitude parameter of described electronic equipment;
If testing result is yes, then perform step: judge whether described spatial attitude parameter meets pre-conditioned.
3. the method for claim 1, is characterized in that, before the spatial attitude parameter of the described electronic equipment of described acquisition, described method also comprises:
When described first luminescence unit is in luminous, obtain the second input instruction, wherein, described second input instruction in order to control described first luminescence unit never luminance be adjusted to luminance;
Be described first state when determining that described first luminescence unit is luminous.
4. method as claimed in claim 3, it is characterized in that, the described electronic equipment of described control enters the second state, is specially:
Control described electronic equipment to enter described second luminescence unit and be in luminance, and described first luminescence unit is described second state of non-luminance.
5. the method as described in as arbitrary in claim 1-4, is characterized in that, it is one pre-conditioned whether described judgement described spatial attitude parameter meets, and is specially:
Judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, described second luminescence unit is towards preset direction.
6. method as claimed in claim 5, is characterized in that, it is one pre-conditioned whether described judgement described spatial attitude parameter meets, and is specially:
Judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, the first luminescence unit described in when described second luminescence unit is in described first state towards described electronic equipment towards direction.
7. the method for claim 1, is characterized in that, described electronic equipment also comprises the second detecting unit, described be in the first state when described electronic equipment time, before obtaining the spatial attitude parameter of described electronic equipment, described method also comprises:
Detect the ambient brightness residing for described electronic equipment by described second detecting unit, obtain ambient brightness value, described ambient brightness value characterizes the light luminance grade of environment residing for described electronic equipment;
When described ambient brightness value is lower than predetermined luminance threshold value, perform step: when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment.
8. the method as described in as arbitrary in claim 1-4, it is characterized in that, described electronic equipment also comprises the 3rd detecting unit, described when described spatial attitude parameter meet described pre-conditioned time, control described electronic equipment and enter the second state, comprising:
When described spatial attitude parameter meet described pre-conditioned time, then obtain a detected parameters by described 3rd detecting unit, whether described detected parameters characterizes described second luminescence unit light when luminescence and irradiates to human eye;
When light does not irradiate to human eye when described detected parameters characterizes described second luminescence unit in luminescence, then control described electronic equipment and enter described second state.
9. an electronic equipment, described electronic equipment comprises the first luminescence unit and the second luminescence unit, and the first luminosity of described first luminescence unit is less than the second luminosity of described second luminescence unit, and described electronic equipment comprises:
Spatial attitude parameter acquiring unit, in order to when described electronic equipment is in the first state, obtain the spatial attitude parameter of described electronic equipment, wherein, the described electronic equipment of described spatial attitude parameter characterization is from the first pose adjustment to the second attitude, and described second luminescence unit is in not luminous state in said first condition;
Identifying unit, in order to judge whether described spatial attitude parameter meets pre-conditioned;
Control module, in order to meet when described spatial attitude parameter described pre-conditioned time, control described electronic equipment and enter the second state, in said second condition, described second luminescence unit is in luminance.
10. electronic equipment as claimed in claim 9, it is characterized in that, the surface of described electronic equipment is also provided with the first detecting unit, in order in the first preset duration before the spatial attitude parameter of the described electronic equipment of described acquisition, detects whether obtain the first input instruction; Or,
Described first detecting unit, in order in the second preset duration after the spatial attitude parameter of the described electronic equipment of described acquisition, detects and whether obtains described first input instruction; Or,
Described first detecting unit, in order to detect described electronic equipment whether when the duration of the first input instruction described in continuous collecting reaches the 3rd preset duration, obtains the spatial attitude parameter of described electronic equipment;
Described identifying unit is specially, in order to judge when testing result is for being whether described spatial attitude parameter meets pre-conditioned.
11. electronic equipments as claimed in claim 9, it is characterized in that, described electronic equipment also comprises:
Second input instruction fetch unit, during in order to be in not luminous when described first luminescence unit, obtain the second input instruction, wherein, described second input instruction in order to control described first luminescence unit never luminance be adjusted to luminance, and be described first state when determining that described first luminescence unit is luminous.
12. electronic equipments as claimed in claim 11, it is characterized in that, described control module is specially:
Enter described second luminescence unit be in luminance in order to control described electronic equipment, and described first luminescence unit is described second state of non-luminance.
13. as arbitrary in claim 9-12 as described in electronic equipment, it is characterized in that, described identifying unit is specially:
In order to judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, described second luminescence unit is towards preset direction.
14. electronic equipments as claimed in claim 13, it is characterized in that, described identifying unit is specially:
In order to judge whether the spatial attitude parameter of described electronic equipment characterizes described electronic equipment when being in described second attitude, the first luminescence unit described in when described second luminescence unit is in described first state towards described electronic equipment towards direction.
15. electronic equipments as claimed in claim 9, it is characterized in that, described electronic equipment also comprises the second detecting unit, in order to described be in the first state when described electronic equipment time, before obtaining the spatial attitude parameter of described electronic equipment, detect the ambient brightness residing for described electronic equipment, obtain ambient brightness value, described ambient brightness value characterizes the light luminance grade of environment residing for described electronic equipment;
Described spatial attitude parameter acquiring unit is specially, in order in described ambient brightness value lower than predetermined luminance threshold value and when being in the first state when described electronic equipment, obtain the spatial attitude parameter of described electronic equipment.
16. as arbitrary in claim 9-12 as described in electronic equipment, it is characterized in that, described electronic equipment also comprises the 3rd detecting unit, in order to meet when described spatial attitude parameter described pre-conditioned time, then obtain a detected parameters by described 3rd detecting unit, whether described detected parameters characterizes described second luminescence unit light when luminescence and irradiates to human eye;
Described control module is specially:
In order to when light does not irradiate to human eye when described detected parameters characterizes described second luminescence unit in luminescence, then control described electronic equipment and enter described second state.
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 true CN104238770A (en) | 2014-12-24 |
CN104238770B 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) |
Cited By (4)
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 |
CN107888780A (en) * | 2017-11-29 | 2018-04-06 | 维沃移动通信有限公司 | The illumination control method and mobile terminal of a kind of mobile terminal |
CN110300502A (en) * | 2019-06-30 | 2019-10-01 | Oppo广东移动通信有限公司 | Electronic equipment and control method of electronic device |
CN110445933A (en) * | 2019-08-06 | 2019-11-12 | 珠海格力电器股份有限公司 | Method for adjusting illumination mode of terminal device, storage medium and terminal device |
Citations (8)
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 |
-
2014
- 2014-09-09 CN CN201410455999.9A patent/CN104238770B/en active Active
Patent Citations (8)
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 |
Cited By (4)
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 |
CN107888780A (en) * | 2017-11-29 | 2018-04-06 | 维沃移动通信有限公司 | The illumination control method and mobile terminal of a kind of mobile terminal |
CN110300502A (en) * | 2019-06-30 | 2019-10-01 | Oppo广东移动通信有限公司 | Electronic equipment and control method of electronic device |
CN110445933A (en) * | 2019-08-06 | 2019-11-12 | 珠海格力电器股份有限公司 | Method for adjusting illumination mode of terminal device, storage medium and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN104238770B (en) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10855938B2 (en) | Gaze tracking variations using selective illumination | |
US9962078B2 (en) | Gaze tracking variations using dynamic lighting position | |
TWI714131B (en) | Control method, microprocessor, computer-readable storage medium and computer device | |
CN105425905B (en) | A kind of information processing method and electronic equipment | |
TWI719971B (en) | Head mounted display and filtering methods | |
EP2987389B1 (en) | A method of characterizing a light source and a mobile device | |
US8159682B2 (en) | Lens system | |
CN109314751B (en) | Light supplementing method, light supplementing device and electronic equipment | |
EP3096184B1 (en) | Method and device for controlling flash light and terminal | |
CN104238770A (en) | Control method and electronic equipment | |
US20140265874A1 (en) | Adaptive Optical Distribution System | |
TWI608735B (en) | Image capturing device and brightness adjusting method | |
EP2779652A1 (en) | Veiling zone control | |
JP2013513914A5 (en) | ||
US10212788B2 (en) | Central unit of a bus system, bus system and method for locating bus subscribers | |
CN103885675A (en) | Control method and electronic device | |
US10789729B2 (en) | System and method(s) for determining projectile impact location | |
CN110267416A (en) | Control method and device of lighting equipment | |
US10783370B2 (en) | Iris image acquisition method, mobile terminal and storage medium | |
JP2017028376A5 (en) | ||
JP6611038B2 (en) | Lighting control apparatus and lighting system | |
CN109657035A (en) | Method for controlling lamp and device based on lamp library file | |
CN105245805A (en) | Projection method and electronic equipment | |
CN104460936A (en) | Control method and electronic device | |
CN114245906A (en) | Selecting image analysis regions based on a comparison of levels of dynamics |
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 |