CN106055097A - Screen lighting control method and apparatus, and electronic device - Google Patents

Screen lighting control method and apparatus, and electronic device Download PDF

Info

Publication number
CN106055097A
CN106055097A CN201610348342.1A CN201610348342A CN106055097A CN 106055097 A CN106055097 A CN 106055097A CN 201610348342 A CN201610348342 A CN 201610348342A CN 106055097 A CN106055097 A CN 106055097A
Authority
CN
China
Prior art keywords
electronic equipment
amplitude value
screen
value
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610348342.1A
Other languages
Chinese (zh)
Other versions
CN106055097B (en
Inventor
王福钋
李健涛
吴滔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Intelligent Technology Co Ltd
Original Assignee
Beijing Sogou Technology Development Co 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201610348342.1A priority Critical patent/CN106055097B/en
Publication of CN106055097A publication Critical patent/CN106055097A/en
Application granted granted Critical
Publication of CN106055097B publication Critical patent/CN106055097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to the technical field of electronics, discloses a screen lighting control method and apparatus, and an electronic device, and aims at solving the technical problem that in the prior art, gestures of a user cannot be effectively detected when the user is a motion state. The method comprises determining the motion amplitude value of the electronic device in a first preset period; smoothing the motion amplitude value, and obtaining a smoothed motion amplitude value; determining whether the variation trend of the smoothed motion amplitude value satisfies a preset variation trend, and obtaining a first determination result; and determining whether a screen is controlled to enter a lighting state based on the first determination result. According to the screen lighting control method and apparatus, and the electronic device, the gestures generated for the electronic device by the user during a motion process can be effectively detected.

Description

A kind of bright screen control method, device and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of bright screen control method, device and electronic equipment.
Background technology
In prior art, utilize the acceleration transducer carried on intelligent watch, can automatically sense user and raise one's hand and see intelligence Can the action of wrist-watch, and then light screen, it is not necessary to user key-press operates, and also can automatically sense user and hand down action, And then close screen back light modulation, save power consumption.
Under normal circumstances, raise one's hand and check that the action of intelligent watch can be decomposed into two continuous print actions: action of raising one's hand+quiet Stop is made, but when user is kept in motion, it does not has static process, so cannot be by action of raising one's hand+static dynamic The gesture making to produce user effectively detects.
Summary of the invention
The present invention provides a kind of bright screen control method, device and electronic equipment, is in fortune solving user in prior art The gesture of user cannot be carried out effective detection technique problem during dynamic state.
First aspect, the embodiment of the present invention provides a kind of bright screen control method, including:
The motion amplitude value of described electronic equipment in determining the first preset time period;
Described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;
Judge whether the variation tendency of the motion amplitude value after described smoothing meets and preset variation tendency, it is thus achieved that first judges Result;
Based on described first judged result, determine whether that controlling described screen enters described illuminating state.
Optionally, described first preset time period includes: the first sub-time period and after being positioned at the described first sub-time period The second sub-time period, described default variation tendency, including: within the described first sub-time period increase, at described second period of the day from 11 p.m. to 1 a.m Between the trend that reduces in section.
Optionally, described method also includes:
In judging the second preset time period before described first preset time period, the motion amplitude value of described electronic equipment is No less than predetermined amplitude value;
If described motion amplitude value is not less than described predetermined amplitude value, described in performing to determine the first preset time period The step of the motion amplitude value of electronic equipment.
Optionally, described method also includes:
If described motion amplitude value is less than described predetermined amplitude value, obtain the 3rd preset time period inner electronic equipment The waveform of accekeration;
Being mated with predetermined waveform by the waveform of described accekeration, described predetermined waveform is the fortune of described electronic equipment Dynamic state meets waveform corresponding during bright screen condition;
Based on matching result, it is determined whether the screen controlling electronic equipment enters illuminating state;
Wherein, if the waveform of described accekeration mates with predetermined waveform, control described screen and enter described point Bright state.
Optionally, described in determine whether control electronic equipment screen enter illuminating state, also include:
Obtain in the 4th preset time period, the quadratic sum of the accekeration of three change in coordinate axis direction of described electronic equipment, Described 4th preset time period is less than described 3rd preset time period;
Judge whether described quadratic sum is positioned at default value scope, it is thus achieved that the second judged result;
Based on described second judged result, it is determined whether control described screen and enter described illuminating state;
Wherein, if described second judged result is yes, controls described screen and enter described illuminating state.
Optionally, described based on matching result, it is determined whether the screen controlling electronic equipment enters illuminating state, also wraps Include:
Whether exist based on Waveform Matching control in the 5th preset time period before judging described 3rd preset time period Described screen carries out the lighting operation of described illuminating state;
If there is described lighting operation, it is judged that whether described screen is more than pre-relative to the rotation angle value in user direction If angle value, it is thus achieved that the 3rd judged result, described rotation angle value is that described lighting operation place time point is to current point in time Described screen relative to the rotation angle value in user direction;
Based on described 3rd judged result, it is determined whether control described electronic equipment and enter described illuminating state;
Wherein, if described 3rd judged result is yes, controls described electronic equipment and enter described illuminating state.
Optionally, in described predetermined waveform, the variable quantity of the accekeration of at least one change in coordinate axis direction changes more than presetting Value.
Optionally, determine whether that controlling described screen enters described illuminating state, also includes described in:
Obtain the angle of rotation angle value relative to preset reference thing of described electronic equipment;
Judge whether described angle of rotation angle value is positioned at the first predetermined angle scope, it is thus achieved that the 4th judged result;
Based on described 4th judged result, it is determined whether control described screen and enter described illuminating state;
Wherein, if described 4th judged result is yes, controls described screen and enter described illuminating state.
Optionally, the angle of rotation angle value of the described electronic equipment of described acquisition, including:
If the motion amplitude value of described electronic equipment is less than described predetermined amplitude value, obtain in the 6th preset time period, The accekeration of three change in coordinate axis direction of described electronic equipment;Accekerations based on described three change in coordinate axis direction determine Go out the angle of rotation angle value of described screen;Or,
If the motion amplitude value of described electronic equipment is not less than described predetermined amplitude value, obtain the 6th preset time period In, the accekeration of three change in coordinate axis direction of described electronic equipment;Described accekeration is smoothed, it is thus achieved that smooth Described accekeration after process;Described angle of rotation angle value is determined based on the described accekeration after smoothing processing.
Optionally, if described angle of rotation angle value includes: the angle value of roll angle, first corresponding to described roll angle is pre- If angular range includes :-45 °~45 °;And/or,
If described angle of rotation angle value includes: the angle value of the angle of pitch, if described motion amplitude value is less than predetermined amplitude Value, the first predetermined angle scope that the described angle of pitch is corresponding includes :-15 °~150 °;If described motion amplitude value is not less than Described preset angle angle value, the first predetermined angle scope that the described angle of pitch is corresponding includes :-15 °~90 °.
Optionally, described method also includes:
After controlling described electronic equipment and entering described illuminating state, obtain described electronic equipment relative to preset reference The rotation angle value of thing;
Judge whether described rotation angle value is positioned at the second predetermined angle scope;
If located in described second predetermined angle scope, control described screen and enter OFF state.
Second aspect, the embodiment of the present invention provides a kind of bright screen to control device, including:
First determines module, the motion amplitude value of described electronic equipment in determining the first preset time period;
Leveling Block, for being smoothed described motion amplitude value, it is thus achieved that the motion amplitude value after Ping Hua;
First judge module, whether the variation tendency of the motion amplitude value after judging described smoothing meets is preset change Trend, it is thus achieved that the first judged result;
Second determines module, for based on described first judged result, determines whether that controlling described screen enters described Illuminating state.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, includes memorizer, and one or one with On program, one of them or more than one program is stored in memorizer, and be configured to by one or more than one Processor performs one or more than one program and comprises the instruction for carrying out following operation:
The motion amplitude value of described electronic equipment in determining the first preset time period;
Described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;
Judge whether the variation tendency of the motion amplitude value after described smoothing meets and preset variation tendency, it is thus achieved that first sentences Disconnected result;
Based on described first judged result, determine whether that controlling described screen enters described illuminating state.
The present invention has the beneficial effect that:
Due in embodiments of the present invention, it is first determined the motion amplitude of described electronic equipment in going out the first preset time period Value;Then described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;Then after judging described smoothing The variation tendency of motion amplitude value whether meet and preset variation tendency, it is thus achieved that the first judged result;It is finally based on described first Judged result, determines whether that controlling described screen enters described illuminating state.Under normal circumstances, if user is in motor process In check intelligent watch if, its motion amplitude often step-down, so can exist to user by the change of motion amplitude value The gesture produced for electronic equipment in motor process effectively detects.
Accompanying drawing explanation
Fig. 1 is the flow chart of bright screen control method in the embodiment of the present invention;
Fig. 2 be the embodiment of the present invention bright screen control method in the structure chart of intelligent watch;
Fig. 3 is the waveform of the accekeration of electronic equipment detected in the bright screen control method of the embodiment of the present invention Schematic diagram;
Fig. 4 be the embodiment of the present invention bright screen control method in the schematic diagram of motion amplitude curve;
Fig. 5 be the embodiment of the present invention bright screen control method in user remain static down determine whether control screen enter Enter the flow chart of illuminating state;
Fig. 6 be the embodiment of the present invention bright screen control method in rotation angle value based on electronic equipment determine whether control The screen of electronic equipment enters the flow chart of illuminating state;
Fig. 7 is the structure chart of the bright screen control device of the embodiment of the present invention;
Fig. 8 is the block diagram of the electronic equipment of a kind of bright screen control method illustrating enforcement according to an exemplary embodiment;
Fig. 9 is the structural representation of server in the embodiment of the present invention.
Detailed description of the invention
The present invention provides a kind of bright screen control method, device and electronic equipment, to solve to raise one's hand in prior art bright screen Detection mode also exists the technical problem that time delay is longer.
Technical scheme in the embodiment of the present application is to solve above-mentioned technical problem, and general thought is as follows:
First the motion amplitude value of described electronic equipment in determining the first preset time period;Then to described motion amplitude Value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;Then judge that the change of the motion amplitude value after described smoothing becomes Whether gesture meets is preset variation tendency, it is thus achieved that the first judged result;It is finally based on described first judged result, determines whether Control described screen and enter described illuminating state.Under normal circumstances, if user checks intelligent watch in motor process, Its motion amplitude often step-down, so can set for electronics in motor process user by the change of motion amplitude value The standby gesture produced effectively detects.
In order to be better understood from technique scheme, below by accompanying drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment is detailed to technical solution of the present invention Thin explanation rather than the restriction to technical solution of the present invention, in the case of not conflicting, the embodiment of the present invention and embodiment In technical characteristic can be mutually combined.
First aspect, the embodiment of the present invention provides a kind of bright screen control method, refer to Fig. 1, including:
Step S101: the motion amplitude value of described electronic equipment in determining the first preset time period;
Step S102: described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;
Step S103: judge whether the variation tendency of the motion amplitude value after described smoothing meets and preset variation tendency, obtain Obtain the first judged result;
Step S104: based on described first judged result, determines whether that controlling described screen enters described illuminating state.
For example, the program is applied in the electronic equipment comprising screen, such as: intelligent watch, bracelet, mobile phone, flat Plate computer etc..As in figure 2 it is shown, be the structural representation of an intelligent watch, comprising: acceleration transducer, be connected to accelerate Spend the microcontroller of sensor, be connected to the AP (Application Processor: application processor) of microcontroller, pass through After acceleration transducer detects the accekeration of electronic equipment, passed through bus (such as: I2C bus) and sent to micro-control Device processed, microcontroller by accekeration is carried out process judge user whether produce screen is controlled gesture (such as: Raise one's hand and see screen gesture, turn over hands and go out screen gesture etc.), if producing corresponding gesture, then produce the control corresponding with gesture Instruction, then sends this control instruction to AP, to realize the control of the illuminating state to screen and OFF state.
In step S101, the first preset time period for example: under user movement state produce raise one's hand sees screen gesture required for Expend duration, its duration for example: 1s, 2s, 3s etc..
In step S101, for example, can first determine the waveform of the accekeration of electronic equipment, such as: pass through Acceleration transducer persistently detects electronic equipment accekeration on each change in coordinate axis direction, and then for each coordinate axes side To obtaining the waveform of its correspondence, the coordinate system of electronic equipment such as includes: X-axis, Y-axis and Z axis, at the screen of electronic equipment Curtain level upwards time, with the geometric center of screen as initial point, be X-axis from left to right, be Y-axis from inside to outside, be Z from bottom to top Axle.When screen level is the most static, due to acceleration of gravity effect, z-axis has the output of an acceleration of gravity, is designated as 1g, G is gravity unit of acceleration, 1g ≈ 9.8m/s2.The oscillogram of three change in coordinate axis direction obtained is for example, shown in Fig. 3, Fig. 3 In vertical coordinate represent accekeration (unit is g), abscissa represents sampled point sequence number.Certainly, motion based on electronic equipment State is different, and the oscillogram obtained is likely to difference, and the embodiment of the present invention no longer itemizes, and is not restricted.
Then estimated the motion amplitude value of electronic equipment by calculus of differences, its estimation mode is as follows:
A (n)=| x (n)-x (n-1) |+y (n)-y (n-1) |+z (n)-z (n-1) |
………………………………[1]
Wherein, n represents that current sampling point, n-1 represent a sampled point;
A (n) represents the motion amplitude value of current sampling point;
X (n) represents the accekeration of the X-axis of current sampling point;
X (n-1) represents the accekeration of the X-axis of a sampled point;
Y (n) represents the accekeration of the Y-axis of current sampling point;
Y (n-1) represents the accekeration of the Y-axis of a sampled point;
Z (n) represents the accekeration of the Z axis of current sampling point;
Z (n-1) represents the accekeration of the Z axis of a sampled point.
It is, of course, also possible to estimate the motion amplitude value of electronic equipment by other means, the embodiment of the present invention is the most detailed Enumerate, and be not restricted.
In step S102, by many algorithms, motion amplitude value can be smoothed, such as: addition is smooth to be calculated Method, interpolation smoothing algorithm, figure spirit smoothing algorithm etc..Smoothing processing can use long smooth manner, it would however also be possible to employ short smooth Mode, its smoothing algorithm for example:
S (n)=α s (n-1)+(1-α) A (n), 0≤α≤1
………………………………[2]
Wherein, α represents smoothing factor, and the biggest then corresponding smooth duration of α value is the longest;
S (n) represents the sharpening result of the n-th sampled point;
S (n-1) represents the sharpening result of (n-1)th point.
The benefit using aforesaid way to carry out smoothing is that operand is little, simultaneously without caching mass data, i.e. can save Memory consumption.During user movement, the accekeration amplitude of variation of electronic equipment is relatively big, so in order to realize preferably Smooth effect, smooths motion amplitude value often through long smooth manner, for example, it is possible to take α=0.975=1-1/40, (smooth length is 40 sampled points) is smoothed, during actual treatment, it may be considered that smooth length is 20-100, or 20-for long 1000 sampled points etc. are for long smooth, and different based on sampled point quantity, the smoothing factor obtained is the most different, the embodiment of the present invention It is not restricted.
In step S103, the kinestate of the electronic equipment meeting bright screen condition can be multi-motion state, such as: fortune The kinestate that dynamic+static kinestate (action of raising one's hand that corresponding user remains static), motion+movement velocity are slack-off (action of raising one's hand that corresponding user is kept in motion) etc..Thus different based on the user's gesture meeting bright screen condition, and then Set default variation tendency is the most different, the bright screen gesture of raising one's hand that produces when being to be kept in motion with user's gesture (motion+ The kinestate that movement velocity is slack-off) as a example by, its motion amplitude value generally rises to held stationary (corresponding user after certain amplitude Motor process), then continuous decrease is to held stationary after certain amplitude (corresponding user raise one's hand process), so described first pre- If the time period such as includes: the first sub-time period and be positioned at the second sub-time period after the described first sub-time period, described pre- If variation tendency, including: the trend increasing within the described first sub-time period, reducing within the described second sub-time period.Wherein, First sub-time period was user movement and did not raise one's hand the corresponding time period, and user is kept in motion during this period of time, so The motion amplitude value of electronic equipment is in growth state;Second sub-time period was that user movement and raising one's hand is checked corresponding to screen Time period, in this case, the motion amplitude of user often reduces, so the motion amplitude value of electronic equipment is in reduction State.
Bright screen gesture (the motion that motion+movement velocity is slack-off of raising one's hand produced when being to be kept in motion with user's gesture State) as a example by, then preset variation tendency such as: first the most constant, after the movement tendency that is gradually increased etc., certainly, default change becomes Gesture can also be other default variation tendencies, and the embodiment of the present invention no longer itemizes, and is not restricted.
In specific implementation process, can judge whether motion amplitude value meets in several ways and preset variation tendency, It is set forth below two kinds therein to be introduced, certainly, in specific implementation process, is not limited to following two situation.
Judgment mode is 1.: determine the first preset time period based on motion amplitude value of each point in the first preset time period Interior motion amplitude curve, it is judged that whether this motion amplitude curve is in first increasing the trend reduced afterwards, if in this trend, the most really The variable quantity determining motion amplitude value meets default variation tendency.As shown in Figure 4, part shown in wherein in oval 40 for user at In the waveform of the accekeration of running state, part shown in oval 41 is raise one's hand after being in running state for user when seeing screen The waveform of the accekeration of electronic equipment, waveform 42 is the curve of the motion amplitude value after smoothing processing, wherein it is possible to judge ripple Whether shape 42 is positioned at the part of the first preset time period and exists and first increase the trend reduced afterwards, if it is present determine motion The variable quantity of range value meets presets variation tendency.
Judgment mode is 2.: obtain the sampled point of predetermined number from the motion amplitude value of electronic equipment (such as: 10,12 etc. Deng), the most therefrom determine the sampled point (such as: the 7th) that value is the highest, it is judged that the fortune of other sampled points before this sampled point Whether dynamic range value is both less than the motion amplitude value of this sampled point, and judges the fortune of other sampled points after this sampled point Whether dynamic range value is both greater than the motion amplitude value of this sampled point, if it is judged that be yes, it is determined that motion amplitude value Variable quantity meets presets variation tendency.
In step S104, if the first judged result is yes, then illustrate that the kinestate of electronic equipment meets the point of screen Bright wisp part, if other ignition condition, then the screen that can directly control electronic equipment enters illuminating state, as If fruit exists other ignition condition, then in the case of other ignition condition also meet, the screen just controlling electronic equipment enters Enter illuminating state.
In specific implementation process, directly can determine whether user produces by the motion amplitude value of electronic equipment bright Screen gesture, and then determine whether that the screen controlling electronic equipment enters illuminating state, but under normal circumstances, user is at static shape Under state produce raise one's hand see screen gesture with under kinestate produce raise one's hand see screen gesture time, the kinestate of electronic equipment not phase With, whether so can be kept in motion based on electronic equipment, the kinestate of the electronic equipment meeting bright screen condition is permissible For different kinestates.Such as: in judging the second preset time period before described first preset time period, described electronic equipment Motion amplitude value whether less than predetermined amplitude value;If described motion amplitude value is not less than described predetermined amplitude value, perform really The step of the motion amplitude value of described electronic equipment in making the first preset time period.
Second preset time period is for example: 1s, 2s etc., predetermined amplitude value for example: 0.01g, 0.02g etc., wherein, Can determine that the motion amplitude value of electronic equipment is by the absolute value sum of the accekeration difference of three change in coordinate axis direction No less than predetermined amplitude value, such as: if the absolute value sum of accekeration difference is positioned at default value scope, then motion to be described Range value is less than predetermined amplitude value, otherwise, illustrates that motion amplitude value is not less than predetermined amplitude value etc..And if motion amplitude value If predetermined amplitude value, then explanation user is probably that being kept in motion down raises one's hand sees screen, in this case, due to There is not a static action, so the waveform of accekeration does not exist obvious feature, but owing to user checks electronics The screen of equipment, so the motion amplitude value of user can reduce, therefore can be determined by the change of motion amplitude value accurately Go out whether user produces control gesture for electronic equipment in motor process.Wherein, default value is generally in the range of about 1, Such as: 0.8~1.2,0.7~1.2 etc..If the second judged result is yes, it is possible to further confirm electronic equipment Remain static.
And if motion amplitude value is less than predetermined amplitude value, then illustrating that the user of electronic equipment is likely to be at static shape State, in this case, as a kind of optional embodiment, refer to Fig. 5, can judge whether in the following manner to control electricity The screen entrance illuminating state of subset:
Step S501: if described motion amplitude value is less than described predetermined amplitude value, obtains electricity in the 3rd preset time period The waveform of the accekeration of subset;
Step S502: mated with predetermined waveform by the waveform of described accekeration, described predetermined waveform is described electricity The kinestate of subset meets waveform corresponding during bright screen condition;
Step S503: based on matching result, it is determined whether the screen controlling electronic equipment enters illuminating state.
In step S501, for how obtaining the waveform of the accekeration of electronic equipment, owing to being the most described, so Do not repeat them here.
In specific implementation process, the 3rd preset time period for example: user completes the time period corresponding to predetermined registration operation, This predetermined registration operation usually meet bright screen condition operation (such as: raise one's hand when user remains static spent by action time Between), its duration for example: 0.2s, 0.1s, 0.3s etc., the duration of the 3rd preset time period can be with the first preset time period Identical, it is also possible to different, the embodiment of the present invention is not restricted.Wherein after obtaining the waveform of accekeration of electronic equipment, Can just obtain the waveform in the 3rd preset time period every prefixed time interval (such as: 0.1s, 0.2s etc.), be then based on This waveform performs subsequent step.
In step S502, when the motion amplitude value of user is less than predetermined amplitude value (such as: user remains static), The kinestate of the electronic equipment meeting bright screen condition can be multi-motion state, and then causes predetermined waveform the most different.Example As: if the kinestate of the electronic equipment corresponding to bright screen condition is motion+static kinestate, then can be for sampling User, allows it produce the most static action of first moving, and detection obtains electronic equipment during user produces this action Accekeration, the waveform corresponding to this accekeration is predetermined waveform, it is generally the case that each coordinate axes can comprise one Individual predetermined waveform, if so coordinate axes includes X-axis, Y-axis and Z axis, then including the default ripple of the predetermined waveform of X-axis, Y-axis Shape, the predetermined waveform etc. of Z axis.In wherein said predetermined waveform, at least one change in coordinate axis direction is (such as: X-axis, Y-axis, Z axis etc. Deng), accekeration variable quantity more than preset changing value, default changing value for example, 0.5g, 0.4g, 1g etc., with Fig. 3 institute Being shown as example, in this predetermined waveform, part shown in oval interior 30 represents that electronic equipments remain static (such as: user stands with hands down Vertical), part shown in oval 31 represent electronic equipments be kept in motion (such as: user raises one's hand), part shown in oval 32 Representing that electronic equipment remains static (such as: user checks screen), when user stands with hands down, the accekeration of X-axis is close- 1g, the accekeration of Z axis is close to 0;During user raises one's hand, X, Y, Z tri-axle output change of all occurring by a relatively large margin, Ye Jiqi Variable quantity is more than presetting changing value;During user checks screen, x-axis exports close to 0, and z-axis is close to 1g;Move for other State, its predetermined waveform acquisition pattern is similar to therewith, so not repeating them here.
If the waveform that matching result shows accekeration mates with predetermined waveform, electronic equipment is the most often described Kinestate meet bright screen condition, in such a case, it is possible to directly control electronic equipment screen enter illuminating state, its The waveform of middle accekeration mates for example, with predetermined waveform: what the waveform at least one coordinate axes can be corresponding presets Predetermined waveform coupling etc. completely that waveform mates completely or waveform on all of coordinate axes can be corresponding.And In order to the kinestate of electronic equipment is detected more accurately, it is also possible to by some conditions subsequent to whether controlling electricity The screen of subset enters illuminating state and is further judged, therein two kind conditions is set forth below and is introduced, certainly, In specific implementation process, it is not limited to following two situation, it addition, in the case of not conflicting, following two situation can group Close and use.
The first, described in determine whether control electronic equipment screen enter illuminating state, also include:
Obtain in the 4th preset time period, the quadratic sum of the accekeration of three change in coordinate axis direction of described electronic equipment, Described 4th preset time period is less than described 3rd preset time period;
Judge whether described quadratic sum is positioned at default value scope, it is thus achieved that the second judged result;
Based on described second judged result, it is determined whether control described screen and enter described illuminating state;
Wherein, if described second judged result is yes, controls described screen and enter described illuminating state.
For example, the 4th preset time period for example: 0.01s, 0.02s etc., it typically is the 3rd preset time period The fast time period corresponding to latter end, if the fortune that the kinestate meeting the electronic equipment of bright screen condition is motion+static If dynamic state, then the 4th preset time period be usually electronic equipment static time corresponding time period;If meeting bright screen bar If the kinestate of the electronic equipment of part is the kinestate that motion+movement velocity slows down, then the 4th preset time period is often Movement velocity for electronic equipment slows down corresponding time period etc..
It is also possible to when quadratic sum is positioned at default value scope, shape is lighted in the screen entrance directly controlling electronic equipment State, and if there is also other screen ignition condition, it is also possible in the case of the ignition condition of each screen all meets, The screen that can control electronic equipment enters illuminating state.
Wherein, it is judged that whether described quadratic sum is positioned at the process of default value scope, can tie in the coupling of step S502 Fruit shows that the waveform of accekeration is carried out after mating with predetermined waveform, it is also possible to carries out with Waveform Matching simultaneously or is positioned at Performing before Waveform Matching, the embodiment of the present invention is not restricted.
The second, described in determine whether control electronic equipment screen enter illuminating state, also include:
Whether exist based on Waveform Matching control in the 5th preset time period before judging described 3rd preset time period Described screen carries out the lighting operation of described illuminating state;
If there is described lighting operation, it is judged that whether the rotation angle value relative to user direction of described electronic equipment More than preset angle angle value, it is thus achieved that the 3rd judged result, described rotation angle value is that described lighting operation place time point is to currently The described screen of time point is relative to the rotation angle value in user direction;
Based on described 3rd judged result, it is determined whether control described electronic equipment and enter described illuminating state;
Wherein, if described 3rd judged result is yes, controls described electronic equipment and enter described illuminating state.
For example, the 5th preset time period for example: 2s, 3s, 5s etc., wherein, it is generally the case that user will not be The shortest time period checks the screen of electronic equipment for twice simultaneously, if so having existed in the 5th preset time period and passed through ripple If the mode of shape coupling lights the operation of screen, though the waveform of the most currently detected accekeration and predetermined waveform Join, it is also possible to maloperation (such as: hands is placed on by user), so in order to prevent this maloperation, one can be arranged Individual further trigger condition is (such as: judge that whether the screen rotation angle value relative to user direction is more than predetermined angle Value), if greater than this preset angle angle value, then explanation user is desirable to light the screen of electronic equipment really, so just controlling electricity The screen of subset enters illuminating state, and this preset angle angle value can be set, such as according to the actual requirements: 20 °, 30 °, 40 ° etc..Wherein, refer to screen relative to the rotation angle value in user direction more than preset angle angle value inwardly overturn, along X The rotation angle value (meeting the right-hand rule) of axle is more than preset angle angle value (such as: 30 °).
Equally when the 3rd judged result is for being, the directly screen entrance illuminating state of control electronic equipment, and such as If fruit exists multiple ignition condition, then in the case of each ignition condition all meets, the screen just controlling electronic equipment enters Illuminating state.
As a kind of optional embodiment, described in determine whether that controlling described screen enters described illuminating state, refer to Fig. 6, also includes:
Step S601: obtain the angle of rotation angle value relative to preset reference thing of described electronic equipment;
Step S602: judge whether described angle of rotation angle value is positioned at the first predetermined angle scope, it is thus achieved that the 4th judged result;
Step S603: based on described 4th judged result, it is determined whether control described screen and enter described illuminating state;Its In, if described 4th judged result is yes, controls described screen and enter described illuminating state.
In step S601, this angle of rotation angle value can include the angle of rotation angle value corresponding to each change in coordinate axis direction, based on Corresponding change in coordinate axis direction is different, and preset reference thing can also be different, such as: if angle of rotation angle value is turning of X-direction Dynamic angle value, the plane that this preset reference thing for example, Y-axis and Z axis are constituted, the rotational angle along X-direction is pitching angle theta; If the angle of rotation angle value that angle of rotation angle value is Y direction, the plane that this preset reference thing for example, X-axis and Z axis are constituted, edge The rotational angle of Y direction is roll angle;If the angle of rotation angle value that angle of rotation angle value is Z-direction, this preset reference thing example Such as plane of being constituted by: X-axis and Y-axis etc..
In specific implementation process, kinestate based on user is different, determines that the mode of angle of rotation angle value is the most different, It is set forth below two kinds therein to be introduced, certainly, in specific implementation process, is not limited to following two situation.
The first, if the motion amplitude value of described electronic equipment is less than described predetermined amplitude value, when acquisition the 6th is preset Between in section, the accekeration of three change in coordinate axis direction of described electronic equipment;Acceleration based on described three change in coordinate axis direction Value determines the angle of rotation angle value of described screen.Wherein, the second preset time period is typically smaller than the first preset time period (or Three preset time period), for the time period corresponding to both fast latter end, its for example: 0.01s, 0.02s etc..Generally In the case of, if motion amplitude value is less than predetermined amplitude value, then little, at this with smooth rear difference before accekeration is smooth In the case of Zhong, directly determine angle of rotation angle value by accekeration, it is possible to reduce the processing load of electronic equipment.
The second, if the motion amplitude value of described electronic equipment is not less than described predetermined amplitude value, obtains the 6th and presets In time period, the accekeration of three change in coordinate axis direction of described electronic equipment;Described accekeration is smoothed, obtains Obtain the described accekeration after smoothing processing;Described angle of rotation angle value is determined based on the described accekeration after smoothing processing.
For example, when being not less than predetermined amplitude value due to the motion amplitude value of electronic equipment, its amplitude of variation is relatively big, therefore And the angle of rotation angle value of electronic equipment cannot be directly determined by accekeration, and in this case, then can be first to adding Velocity amplitude is smoothed, and the rotation of electronic equipment can be determined more accurately out by the accekeration after smoothing processing Angle value.Various ways can be used to smooth the accekeration of three change in coordinate axis direction, and smoothing algorithm is due to the most It is described, so not repeating them here.Wherein, again may be by long smooth manner or short smooth manner to three coordinate axess The accekeration in direction smooths, and its smoothing formula is similar with formula [2].
As a kind of optional embodiment, can by short smooth by the way of each accekeration is smoothed, It is then based on the accekeration after smoothing processing and determines the angle of rotation angle value of screen, such as, can take α=0.83 ≈ 1-1/6, It is about smooth (smooth length is six sampled point points) of 6 points, during actual treatment, it may be considered that smooth length is 2-10 and adopts Sampling points etc. are as short smooth.
In step S602, it is judged that whether angle of rotation angle value is positioned at the purpose of the first predetermined angle scope is to judge that user produces After raw action of raising one's hand, if there is the action checking screen, if it exists, then further instruction user needs to check Screen, in this case, if just control screen is in illuminating state, it is possible to achieve more accurate to screen illuminating state Control.
Under normal circumstances, it is considered to user is in postures such as standing or lie on the back, if described angle of rotation angle value includes: roll The angle value at angle, the first predetermined angle scope corresponding to described roll angle includes :-45 °~45 °;If described rotational angle Value includes: the angle value of the angle of pitch, if described motion amplitude value is less than predetermined amplitude value (such as: user is in static shape State), the first predetermined angle scope that the described angle of pitch is corresponding includes :-15 °~150 °;If described motion amplitude value is not less than Described preset angle angle value (such as: user is kept in motion), the first predetermined angle scope that the described angle of pitch is corresponding includes :- 15 °~90 °.
In step S603, if angle of rotation angle value is positioned at the first predetermined angle scope, then explanation user there may be Check the action of screen, in this case, then can determine that angle of rotation angle value meets bright screen condition, then can directly control The screen of electronic equipment enters illuminating state, it is also possible in the case of other bright screen conditions all meet, and controls electronic equipment Screen enters illuminating state;And if angle of rotation angle value is not positioned at the first predetermined angle scope, then explanation angle of rotation angle value Do not meet bright screen condition, then the screen that can not control electronic equipment enters illuminating state.
As a kind of optional embodiment, described method also includes: light shape described in entering at the described electronic equipment of control After state, obtain the described electronic equipment rotation angle value relative to preset reference thing;Judge described rotation angle value whether position In the second predetermined angle scope;If located in described second predetermined angle scope, control described screen and enter OFF state.
In specific implementation process, user is after the screen controlling electronic equipment enters illuminating state, if making to be finished Electronic equipment, then for power saving, the screen that can control electronic equipment enters OFF state.Second preset angle angle value be often with Other angle values that first preset angle angle value is different, if the angle of rotation angle value of electronic equipment is not positioned at the first predetermined angle model Enclose, then explanation user un-watched screen, so the screen that can control electronic equipment enters OFF state.
Wherein, it is generally the case that if described angle of rotation angle value includes: the angle value of roll angle, described roll angle institute is right The the second predetermined angle scope answered includes: γ>60 ° or γ<-60 °;If described angle of rotation angle value includes: the angle of the angle of pitch Value, then the second predetermined angle scope of its correspondence includes: θ<-30 ° or θ>165 ° etc..Due to the second predetermined angle scope and the Other angular ranges outside one predetermined angle scope are the most completely overlapped, so can ensure that the robustness of algorithm, prevent from needing Frequently to control screen to switch between illuminating state and OFF state.
Second aspect, based on same inventive concept, the embodiment of the present invention provides a kind of bright screen to control device, refer to Fig. 7, Including:
First determines module 70, the motion amplitude value of described electronic equipment in determining the first preset time period;
Leveling Block 71, for being smoothed described motion amplitude value, it is thus achieved that the motion amplitude value after Ping Hua;
First judge module 72, whether the variation tendency of the motion amplitude value after judging described smoothing meets to preset becomes Change trend, it is thus achieved that the first judged result;
Second determines module, for based on described first judged result, determines whether that controlling described screen enters described Illuminating state.
Optionally, described first preset time period includes: the first sub-time period and after being positioned at the described first sub-time period The second sub-time period, described default variation tendency, including: within the described first sub-time period increase, at described second period of the day from 11 p.m. to 1 a.m Between the trend that reduces in section.
Optionally, described device also includes:
Second judge module, in the second preset time period before judging described first preset time period, described electronics Whether the motion amplitude value of equipment is less than predetermined amplitude value;
Perform module, if for described motion amplitude value not less than described predetermined amplitude value, perform to determine that first is pre- If the step of the motion amplitude value of described electronic equipment in the time period.
Optionally, described device also includes:
First acquisition module, if for described motion amplitude value less than described predetermined amplitude value, when acquisition the 3rd is preset Between the waveform of accekeration of section inner electronic equipment;
Matching module, for being mated with predetermined waveform by the waveform of described accekeration, described predetermined waveform is institute The kinestate stating electronic equipment meets waveform corresponding during bright screen condition;
3rd determines module, for based on matching result, it is determined whether the screen controlling electronic equipment enters illuminating state;
Wherein, if the waveform of described accekeration mates with predetermined waveform, control described screen and enter described point Bright state.
Optionally, described device also includes:
Second acquisition module, in obtaining the 4th preset time period, three change in coordinate axis direction of described electronic equipment The quadratic sum of accekeration, described 4th preset time period is less than described 3rd preset time period;
3rd judge module, is used for judging whether described quadratic sum is positioned at default value scope, it is thus achieved that the second judged result;
4th determines module, for based on described second judged result, it is determined whether controls described screen and enters described point Bright state;
Wherein, if described second judged result is yes, controls described screen and enter described illuminating state.
Optionally, the described 3rd determines module, including:
Whether the first judging unit, deposit in the 5th preset time period before judging described 3rd preset time period The lighting operation of described illuminating state is carried out controlling described screen based on Waveform Matching;
Second judging unit, for if there is described lighting operation, it is judged that described screen is relative to the rotation in user direction Whether corner angle value is more than preset angle angle value, it is thus achieved that the 3rd judged result, described rotation angle value is described lighting operation place Time point to the described screen of current point in time relative to the rotation angle value in user direction;
Determine unit, for based on described 3rd judged result, it is determined whether control described electronic equipment and enter described point Bright state;
Wherein, if described 3rd judged result is yes, controls described electronic equipment and enter described illuminating state.
Optionally, in described predetermined waveform, the variable quantity of the accekeration of at least one change in coordinate axis direction changes more than presetting Value.
Optionally, described device, also include:
3rd acquisition module, for obtaining the angle of rotation angle value relative to preset reference thing of described electronic equipment;
4th judge module, is used for judging whether described angle of rotation angle value is positioned at the first predetermined angle scope, it is thus achieved that the 4th Judged result;
5th determines module, for based on described 4th judged result, it is determined whether controls described screen and enters described point Bright state;
Wherein, if described 4th judged result is yes, controls described screen and enter described illuminating state.
Optionally, described 3rd acquisition module, it is used for:
If the motion amplitude value of described electronic equipment is less than described predetermined amplitude value, obtain in the 6th preset time period, The accekeration of three change in coordinate axis direction of described electronic equipment;Accekerations based on described three change in coordinate axis direction are determined The angle of rotation angle value of described screen;Or,
If the motion amplitude value of described electronic equipment is not less than described predetermined amplitude value, obtain the 6th preset time period In, the accekeration of three change in coordinate axis direction of described electronic equipment;Described accekeration is smoothed, it is thus achieved that smooth Described accekeration after process;Described angle of rotation angle value is determined based on the described accekeration after smoothing processing.
Optionally, if described angle of rotation angle value includes: the angle value of roll angle, first corresponding to described roll angle is pre- If angular range includes :-45 °~45 °;And/or,
If described angle of rotation angle value includes: the angle value of the angle of pitch, if described motion amplitude value is less than predetermined amplitude Value, the first predetermined angle scope that the described angle of pitch is corresponding includes :-15 °~150 °;If described motion amplitude value is not less than Described preset angle angle value, the first predetermined angle scope that the described angle of pitch is corresponding includes :-15 °~90 °.
Optionally, described device also includes:
4th acquisition module, for, after controlling described electronic equipment and entering described illuminating state, obtaining described electronics Equipment is relative to the rotation angle value of preset reference thing;
5th judge module, is used for judging whether described rotation angle value is positioned at the second predetermined angle scope;
Control module, for if located in described second predetermined angle scope, controls described screen and enters OFF state.
The bright screen control device introduced due to second aspect present invention is situated between by implementing embodiment of the present invention first aspect The device that the bright screen control method continued is used, the bright screen control method introduced based on embodiment of the present invention first aspect, this Those skilled in the art can the concrete structure of device introduced of embodiment of the present invention second aspect and deformation, so at this Repeat no more, the device that the bright screen control method of every enforcement embodiment of the present invention first aspect is used, broadly fall into the present invention The scope that embodiment to be protected.
The third aspect, based on same inventive concept, the embodiment of the present invention provides a kind of electronic equipment, includes memorizer, And one or more than one program, one of them or more than one program is stored in memorizer, and is configured to Performed one by one or more than one processor or more than one program comprises the finger for carrying out following operation Order:
The motion amplitude value of described electronic equipment in determining the first preset time period;
Described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;
Judge whether the variation tendency of the motion amplitude value after described smoothing meets and preset variation tendency, it is thus achieved that first judges Result;
Based on described first judged result, determine whether that controlling described screen enters described illuminating state.
The electronic equipment introduced due to third aspect present invention is by implementing what embodiment of the present invention first aspect was introduced The electronic equipment that bright screen control method is used, the bright screen control method introduced based on embodiment of the present invention first aspect, this Those skilled in the art can the concrete structure of electronic equipment introduced of the embodiment of the present invention third aspect and deformation, so Do not repeat them here, the electronic equipment that the bright screen control method of every enforcement embodiment of the present invention first aspect is used, all belong to In the scope that the embodiment of the present invention to be protected.
Fig. 8 is the block diagram of the electronic equipment 800 according to a kind of bright screen control method shown in an exemplary embodiment.Example As, electronic equipment 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat board Equipment, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 8, electronic equipment 800 can include following one or more assembly: processes assembly 802, memorizer 804, Power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, And communications component 816.
Processing assembly 802 and generally control the integrated operation of electronic equipment 800, such as with display, call, data are led to The operation that letter, camera operation and record operation are associated.Treatment element 802 can include that one or more processor 820 is held Row instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more mould Block, it is simple to process between assembly 802 and other assemblies is mutual.Such as, processing component 802 can include multi-media module, with Facilitate multimedia groupware 808 and process between assembly 802 mutual.
Memorizer 804 is configured to store various types of data to support the operation at equipment 800.Showing of these data Example includes any application program for operation on electronic equipment 800 or the instruction of method, contact data, telephone directory number According to, message, picture, video etc..Memorizer 804 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, quick flashing Memorizer, disk or CD.
The various assemblies that electric power assembly 806 is electronic equipment 800 provide electric power.Electric power assembly 806 can include power supply pipe Reason system, one or more power supplys, and other generate, manage and distribute, with for electronic equipment 800, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 808 is included between described electronic equipment 800 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or slide The border of action, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, Multimedia groupware 808 includes a front-facing camera and/or post-positioned pick-up head.When electronic equipment 800 is in operator scheme, as clapped When taking the photograph pattern or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition Photographic head and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.Such as, audio-frequency assembly 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 804 or via logical Letter assembly 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, is used for exporting audio signal.
I/O interface 812 provides interface for processing between assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 814 includes one or more sensor, for providing the state of various aspects for electronic equipment 800 Assessment.Such as, what sensor cluster 814 can detect equipment 800 opens/closed mode, the relative localization of assembly, such as institute Stating display and keypad that assembly is electronic equipment 800, sensor cluster 814 can also detect electronic equipment 800 or electronics The position change of 800 1 assemblies of equipment, the presence or absence that user contacts with electronic equipment 800, electronic equipment 800 orientation Or acceleration/deceleration and the variations in temperature of electronic equipment 800.Sensor cluster 814 can include proximity transducer, is configured to The object near detection when not having any physical contact.Sensor cluster 814 can also include optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 is all right Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to facilitate the communication of wired or wireless mode between electronic equipment 800 and other equipment. Electronic equipment 800 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Show at one In example embodiment, communication component 816 receives the broadcast singal from external broadcasting management system or broadcast via broadcast channel Relevant information.In one exemplary embodiment, described communication component 816 also includes near-field communication (NFC) module, short to promote Cheng Tongxin.Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuits (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 804 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of electronic equipment 800.Example If, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Dish and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the process of electronic equipment When device performs so that electronic equipment is able to carry out a kind of bright screen control method, and described method includes:
The motion amplitude value of described electronic equipment in determining the first preset time period;
Described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;
Judge whether the variation tendency of the motion amplitude value after described smoothing meets and preset variation tendency, it is thus achieved that first judges Result;
Based on described first judged result, determine whether that controlling described screen enters described illuminating state.
Fig. 9 is the structural representation of server in the embodiment of the present invention.This server 1900 can be different because of configuration or performance And produce bigger difference, can include one or more central processing units (central processing units, CPU) 1922 (such as, one or more processors) and memorizer 1932, one or more store application program 1942 or the storage medium 1930 (such as one or more mass memory units) of data 1944.Wherein, memorizer 1932 Can be of short duration storage with storage medium 1930 or persistently store.Be stored in the program of storage medium 1930 can include one or More than one module (diagram does not marks), each module can include a series of command operatings in server.Further Ground, central processing unit 1922 could be arranged to communicate with storage medium 1930, performs storage medium 1930 on server 1900 In a series of command operatings.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
The one or more embodiment of the present invention, at least has the advantages that
Due in embodiments of the present invention, it is first determined the motion amplitude of described electronic equipment in going out the first preset time period Value;Then described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;Then after judging described smoothing The variation tendency of motion amplitude value whether meet and preset variation tendency, it is thus achieved that the first judged result;It is finally based on described first Judged result, determines whether that controlling described screen enters described illuminating state.Under normal circumstances, if user is in motor process In check intelligent watch if, its motion amplitude often step-down, so can exist to user by the change of motion amplitude value The gesture produced for electronic equipment in motor process effectively detects.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The equipment of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of equipment, this commander equipment realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (13)

1. a bright screen control method, it is characterised in that including:
The motion amplitude value of described electronic equipment in determining the first preset time period;
Described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;
Judge whether the variation tendency of the motion amplitude value after described smoothing meets and preset variation tendency, it is thus achieved that first judges knot Really;
Based on described first judged result, determine whether that controlling described screen enters described illuminating state.
2. the method for claim 1, it is characterised in that described first preset time period includes: the first sub-time period and It is positioned at the second sub-time period after the described first sub-time period, described default variation tendency, including: in the described first sub-time The trend increasing in section, reducing within the described second sub-time period.
3. the method for claim 1, it is characterised in that described method also includes:
In judging the second preset time period before described first preset time period, the motion amplitude value of described electronic equipment is the least In predetermined amplitude value;
If described motion amplitude value is not less than described predetermined amplitude value, described electronics in performing to determine the first preset time period The step of the motion amplitude value of equipment.
4. method as claimed in claim 3, it is characterised in that described method also includes:
If described motion amplitude value is less than described predetermined amplitude value, obtain the acceleration of the 3rd preset time period inner electronic equipment The waveform of value;
Being mated with predetermined waveform by the waveform of described accekeration, described predetermined waveform is the motion shape of described electronic equipment State meets waveform corresponding during bright screen condition;
Based on matching result, it is determined whether the screen controlling electronic equipment enters illuminating state;
Wherein, if the waveform of described accekeration mates with predetermined waveform, control to light shape described in the entrance of described screen State.
5. method as claimed in claim 4, it is characterised in that described in determine whether to control the screen of electronic equipment and enter and light State, also includes:
Obtain in the 4th preset time period, the quadratic sum of the accekeration of three change in coordinate axis direction of described electronic equipment, described 4th preset time period is less than described 3rd preset time period;
Judge whether described quadratic sum is positioned at default value scope, it is thus achieved that the second judged result;
Based on described second judged result, it is determined whether control described screen and enter described illuminating state;
Wherein, if described second judged result is yes, controls described screen and enter described illuminating state.
6. method as claimed in claim 4, it is characterised in that described based on matching result, it is determined whether to control electronic equipment Screen enter illuminating state, also include:
Whether exist based on Waveform Matching control described in the 5th preset time period before judging described 3rd preset time period Screen carries out the lighting operation of described illuminating state;
If there is described lighting operation, it is judged that whether described screen is more than preset angle relative to the rotation angle value in user direction Angle value, it is thus achieved that the 3rd judged result, described rotation angle value is described lighting operation place time point to the institute of current point in time State the screen rotation angle value relative to user direction;
Based on described 3rd judged result, it is determined whether control described electronic equipment and enter described illuminating state;
Wherein, if described 3rd judged result is yes, controls described electronic equipment and enter described illuminating state.
7. method as claimed in claim 4, it is characterised in that the acceleration of at least one change in coordinate axis direction in described predetermined waveform The variable quantity of angle value is more than presetting changing value.
8. the method as described in claim 1-7 is arbitrary, it is characterised in that described in determine whether to control described screen and enter described Illuminating state, also includes:
Obtain the angle of rotation angle value relative to preset reference thing of described electronic equipment;
Judge whether described angle of rotation angle value is positioned at the first predetermined angle scope, it is thus achieved that the 4th judged result;
Based on described 4th judged result, it is determined whether control described screen and enter described illuminating state;
Wherein, if described 4th judged result is yes, controls described screen and enter described illuminating state.
9. method as claimed in claim 8, it is characterised in that the angle of rotation angle value of the described electronic equipment of described acquisition, including:
If the motion amplitude value of described electronic equipment is less than described predetermined amplitude value, obtain in the 6th preset time period, described The accekeration of three change in coordinate axis direction of electronic equipment;Accekerations based on described three change in coordinate axis direction are determined described The angle of rotation angle value of screen;Or,
If the motion amplitude value of described electronic equipment is not less than described predetermined amplitude value, obtain in the 6th preset time period, institute State the accekeration of three change in coordinate axis direction of electronic equipment;Described accekeration is smoothed, it is thus achieved that smoothing processing After described accekeration;Described angle of rotation angle value is determined based on the described accekeration after smoothing processing.
10. method as claimed in claim 9, it is characterised in that if described angle of rotation angle value includes: the angle of roll angle Value, the first predetermined angle scope corresponding to described roll angle includes :-45 °~45 °;And/or,
If described angle of rotation angle value includes: the angle value of the angle of pitch, if described motion amplitude value is less than predetermined amplitude value, institute The the first predetermined angle scope stating the angle of pitch corresponding includes :-15 °~150 °;If described motion amplitude value is not less than described pre- If angle value, the first predetermined angle scope that the described angle of pitch is corresponding includes :-15 °~90 °.
11. methods as described in claim 1-7 is arbitrary, it is characterised in that described method also includes:
After controlling described electronic equipment and entering described illuminating state, obtain described electronic equipment relative to preset reference thing Rotation angle value;
Judge whether described rotation angle value is positioned at the second predetermined angle scope;
If located in described second predetermined angle scope, control described screen and enter OFF state.
12. 1 kinds of bright screens control device, it is characterised in that including:
First determines module, the motion amplitude value of described electronic equipment in determining the first preset time period;
Leveling Block, for being smoothed described motion amplitude value, it is thus achieved that the motion amplitude value after Ping Hua;
First judge module, whether the variation tendency of the motion amplitude value after judging described smoothing meets default change is become Gesture, it is thus achieved that the first judged result;
Second determines module, for based on described first judged result, determines whether to light described in controlling described screen enters State.
13. 1 kinds of electronic equipments, it is characterised in that include memorizer, and one or more than one program, Qi Zhongyi Individual or more than one program is stored in memorizer, and is configured to be performed described one by one or more than one processor Individual or more than one program comprises the instruction for carrying out following operation:
The motion amplitude value of described electronic equipment in determining the first preset time period;
Described motion amplitude value is smoothed, it is thus achieved that the motion amplitude value after Ping Hua;
Judge whether the variation tendency of the motion amplitude value after described smoothing meets and preset variation tendency, it is thus achieved that first judges knot Really;
Based on described first judged result, determine whether that controlling described screen enters described illuminating state.
CN201610348342.1A 2016-05-24 2016-05-24 Bright screen control method and device and electronic equipment Active CN106055097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610348342.1A CN106055097B (en) 2016-05-24 2016-05-24 Bright screen control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610348342.1A CN106055097B (en) 2016-05-24 2016-05-24 Bright screen control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106055097A true CN106055097A (en) 2016-10-26
CN106055097B CN106055097B (en) 2022-01-11

Family

ID=57174213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610348342.1A Active CN106055097B (en) 2016-05-24 2016-05-24 Bright screen control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106055097B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020670A (en) * 2016-05-24 2016-10-12 北京搜狗科技发展有限公司 Screen lightening control method, device and electronic equipment
CN106775345A (en) * 2016-11-11 2017-05-31 努比亚技术有限公司 Mobile terminal bright screen control device and method
CN107102717A (en) * 2017-04-26 2017-08-29 广东小天才科技有限公司 Screen control method and device
CN107277257A (en) * 2017-06-30 2017-10-20 深圳天珑无线科技有限公司 Mobile terminal and its screen lighting method, the device with store function
CN107562306A (en) * 2017-08-08 2018-01-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and storage device for controlling mobile terminal display brightness
CN107765545A (en) * 2017-12-06 2018-03-06 深圳Tcl新技术有限公司 Automatic bright screen method, apparatus and computer-readable storage medium
CN107896276A (en) * 2017-10-30 2018-04-10 珠海市魅族科技有限公司 Display panel control method and device, terminal installation and computer-readable recording medium
CN108650422A (en) * 2018-05-14 2018-10-12 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium
CN108803896A (en) * 2018-05-28 2018-11-13 Oppo(重庆)智能科技有限公司 Control method, apparatus, terminal and the storage medium of screen
CN108803897A (en) * 2018-06-07 2018-11-13 北京握奇智能科技有限公司 A kind of bright screen control method and device of wearable device
CN108874177A (en) * 2018-05-31 2018-11-23 联想(北京)有限公司 A kind of display methods, apparatus and system
CN110187759A (en) * 2019-05-08 2019-08-30 安徽华米信息科技有限公司 Display methods, device, intelligent wearable device and storage medium
CN110308791A (en) * 2019-06-28 2019-10-08 努比亚技术有限公司 Wearable device application method, device, wearable device and medium
CN111225105A (en) * 2018-11-26 2020-06-02 奇酷互联网络科技(深圳)有限公司 Method for controlling screen work, mobile terminal and storage medium
CN113282261A (en) * 2021-06-10 2021-08-20 歌尔科技有限公司 Intelligent display method, device, computer program product and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130147712A1 (en) * 2010-08-24 2013-06-13 Lenovo (Beijing) Co., Ltd. Information Processing Device And Control Method Thereof
CN103728874A (en) * 2013-12-27 2014-04-16 上海斐讯数据通信技术有限公司 Method for intelligently lighting watch screen and watch
CN103793075A (en) * 2014-02-14 2014-05-14 北京君正集成电路股份有限公司 Recognition method applied to intelligent wrist watch and intelligent wrist watch
CN104598143A (en) * 2015-01-12 2015-05-06 联想(北京)有限公司 Electronic equipment and wakeup method thereof
CN104749943A (en) * 2015-04-13 2015-07-01 深圳市欧珀通信软件有限公司 Screen light-up method and device and intelligent watch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130147712A1 (en) * 2010-08-24 2013-06-13 Lenovo (Beijing) Co., Ltd. Information Processing Device And Control Method Thereof
CN103728874A (en) * 2013-12-27 2014-04-16 上海斐讯数据通信技术有限公司 Method for intelligently lighting watch screen and watch
CN103793075A (en) * 2014-02-14 2014-05-14 北京君正集成电路股份有限公司 Recognition method applied to intelligent wrist watch and intelligent wrist watch
CN104598143A (en) * 2015-01-12 2015-05-06 联想(北京)有限公司 Electronic equipment and wakeup method thereof
CN104749943A (en) * 2015-04-13 2015-07-01 深圳市欧珀通信软件有限公司 Screen light-up method and device and intelligent watch

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020670B (en) * 2016-05-24 2020-02-14 北京搜狗科技发展有限公司 Screen lighting control method and device and electronic equipment
CN106020670A (en) * 2016-05-24 2016-10-12 北京搜狗科技发展有限公司 Screen lightening control method, device and electronic equipment
CN106775345A (en) * 2016-11-11 2017-05-31 努比亚技术有限公司 Mobile terminal bright screen control device and method
CN107102717A (en) * 2017-04-26 2017-08-29 广东小天才科技有限公司 Screen control method and device
CN107277257A (en) * 2017-06-30 2017-10-20 深圳天珑无线科技有限公司 Mobile terminal and its screen lighting method, the device with store function
CN107562306A (en) * 2017-08-08 2018-01-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and storage device for controlling mobile terminal display brightness
CN107562306B (en) * 2017-08-08 2022-01-11 惠州Tcl移动通信有限公司 Method for controlling display brightness of mobile terminal, mobile terminal and storage device
CN107896276A (en) * 2017-10-30 2018-04-10 珠海市魅族科技有限公司 Display panel control method and device, terminal installation and computer-readable recording medium
CN107765545A (en) * 2017-12-06 2018-03-06 深圳Tcl新技术有限公司 Automatic bright screen method, apparatus and computer-readable storage medium
CN108650422B (en) * 2018-05-14 2020-08-14 Oppo(重庆)智能科技有限公司 Terminal bright screen control method and device, terminal and storage medium
CN108650422A (en) * 2018-05-14 2018-10-12 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium
CN108803896A (en) * 2018-05-28 2018-11-13 Oppo(重庆)智能科技有限公司 Control method, apparatus, terminal and the storage medium of screen
CN108803896B (en) * 2018-05-28 2021-07-16 Oppo(重庆)智能科技有限公司 Method, device, terminal and storage medium for controlling screen
CN108874177A (en) * 2018-05-31 2018-11-23 联想(北京)有限公司 A kind of display methods, apparatus and system
CN108803897A (en) * 2018-06-07 2018-11-13 北京握奇智能科技有限公司 A kind of bright screen control method and device of wearable device
CN108803897B (en) * 2018-06-07 2021-08-20 北京握奇智能科技有限公司 Screen-lighting control method and device for wearable equipment
CN111225105A (en) * 2018-11-26 2020-06-02 奇酷互联网络科技(深圳)有限公司 Method for controlling screen work, mobile terminal and storage medium
CN110187759A (en) * 2019-05-08 2019-08-30 安徽华米信息科技有限公司 Display methods, device, intelligent wearable device and storage medium
CN110308791A (en) * 2019-06-28 2019-10-08 努比亚技术有限公司 Wearable device application method, device, wearable device and medium
CN113282261A (en) * 2021-06-10 2021-08-20 歌尔科技有限公司 Intelligent display method, device, computer program product and storage medium
CN113282261B (en) * 2021-06-10 2023-03-14 歌尔科技有限公司 Intelligent display method, device, computer program product and storage medium

Also Published As

Publication number Publication date
CN106055097B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN106055097A (en) Screen lighting control method and apparatus, and electronic device
CN106020670A (en) Screen lightening control method, device and electronic equipment
CN107817939B (en) Image processing method and mobile terminal
CN104315662A (en) Method and device for controlling work of air purifier
CN107661634B (en) Control the method, apparatus and vehicle of Vehicular turn
EP3130969A1 (en) Method and device for showing work state of a device
CN108061426B (en) Refrigerator control method, refrigerator and computer-readable storage medium
CN107656682B (en) Mobile terminal and bending angle calculation method
CN107680033A (en) Image processing method and device
CN111127509B (en) Target tracking method, apparatus and computer readable storage medium
CN101598972A (en) Electronic installation and function change method thereof
CN104598104A (en) Widget processing method and device
CN104376239A (en) Terminal unlocking method and device
CN107529699A (en) Control method of electronic device and device
CN107370899A (en) A kind of method and apparatus for sending vibration signal
CN108920922A (en) unlocking method, device, mobile terminal and computer-readable medium
CN107341777A (en) image processing method and device
WO2022156598A1 (en) Bluetooth connection method and apparatus, and electronic device
CN104182967A (en) Image processing method, device and terminal
CN108174110B (en) Photographing method and flexible screen terminal
CN105005445B (en) Control display methods and device
CN111127541B (en) Method and device for determining vehicle size and storage medium
CN108469875B (en) Control method of functional component and mobile terminal
CN104573642A (en) Face recognition method and device
CN106791169A (en) Screen control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210621

Address after: 100084 Room 802, 8th floor, building 9, yard 1, Zhongguancun East Road, Haidian District, Beijing

Applicant after: Beijing Sogou Intelligent Technology Co.,Ltd.

Address before: 100084. Room 9, floor 01, cyber building, building 9, building 1, Zhongguancun East Road, Haidian District, Beijing

Applicant before: BEIJING SOGOU TECHNOLOGY DEVELOPMENT Co.,Ltd.

GR01 Patent grant
GR01 Patent grant