CN105183133B - A kind of control method and device - Google Patents
A kind of control method and device Download PDFInfo
- Publication number
- CN105183133B CN105183133B CN201510552928.5A CN201510552928A CN105183133B CN 105183133 B CN105183133 B CN 105183133B CN 201510552928 A CN201510552928 A CN 201510552928A CN 105183133 B CN105183133 B CN 105183133B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- motion state
- state
- under
- acceleration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The present invention provides a kind of control method and device, when the travel rate of electronic equipment meets preset condition, and electronic equipment exist be different from direction of travel on movement when, disable the phonetic function of electronic equipment, the phonetic function of electronic equipment is changed according to the variation of the motion state of electronic equipment, the phonetic function of electronic equipment in this way is no longer under the state of continuing working, and reduces the power consumption of electronic equipment.And when the movement that the first motion state of electronic equipment indicates is that travel rate meets preset condition, and electronic equipment exist be different from direction of travel on movement when, it can be shown that user's wearable electronic device outdoor carry out road-work, and doped with various sound in outdoor environment, disabling phonetic function in such a case can be effectively reduced the probability of phonetic function false triggering.
Description
Technical field
The present invention relates to equipment control technology fields, more specifically, in particular to a kind of control method and device.
Background technique
With the development of technology, more and more electronic equipments have voice assistant function at present, wherein voice assistant function
It can refer to and operation is executed come controlling electronic devices by the voice assistant of electronic equipment.Such as it can be incited somebody to action by voice assistant function
The screen of electronic equipment switches under bright screen state from black state;Or it can be set by voice assistant function control electronics
It is standby to call an application, it such as makes a phone call to apply.
But the voice assistant function of electronic equipment is in continuing working under state at present, so that electronic equipment is in multiple
The sound in environment can still be identified when under heterocycle border, the generation for causing false triggering to operate, and at voice assistant function
In continuing working the power consumption that will increase equipment under state.
Summary of the invention
In view of this, the present invention provides a kind of control method and device, for reducing the probability of power consumption and false triggering.Skill
Art scheme is as follows:
The present invention provides a kind of control method, which comprises
The first state information of electronic equipment is obtained by the sensor of electronic equipment;
First state information based on the electronic equipment obtains the electronic equipment and is presently in motion state;
When it is under the first motion state that the electronic equipment, which is presently in motion state, the language of the electronic equipment is disabled
Sound function;Wherein, under first motion state, the travel rate of the electronic equipment meets preset condition, and the electricity
There is the movement being different from direction of travel in sub- equipment.
Preferably, the sensor by electronic equipment obtains the first state information of electronic equipment, comprising:
The travel rate of the electronic equipment is obtained by the velocity sensor of the electronic equipment;
The acceleration of the electronic equipment is obtained by the acceleration transducer of the electronic equipment;
The electronic equipment is obtained by the gravity sensor of the electronic equipment or the angular movement detection sensor
Relative to the motion state under stationary state.
Preferably, the first state information based on the electronic equipment, obtains the electronic equipment and is presently in fortune
Dynamic state, comprising:
Acceleration and the electronic equipment based on the electronic equipment are obtained relative to the motion state under stationary state
The direction of motion of the electronic equipment;
Judge whether the travel rate of the electronic equipment is in the first traveling speed range, and judges the electronics
Whether the direction of motion of equipment is different from the direction of travel of the electronic equipment;
When the travel rate of the electronic equipment is in the first traveling speed range, and the movement side of the electronic equipment
To be different from electronic equipment direction of travel when, determine that the electronic equipment is currently under the first motion state.
Preferably, described when it is under the first motion state that the electronic equipment, which is presently in motion state, described in disabling
The phonetic function of electronic equipment, comprising:
When it is the first motion state that the electronic equipment, which is presently in motion state, the voice of the electronic equipment is disabled
Assistant's function, and the second status information of electronic equipment is further obtained at interval of preset time by the sensor;
The second status information based on the electronic equipment, judges whether the electronic equipment is continuously in the first movement shape
Under state;
When the electronic equipment is continuously under the first motion state, the voice for disabling the electronic equipment wakes up function
Energy.
Preferably, described when the electronic equipment is continuously under the first motion state, disable the electronic equipment
Voice arousal function, comprising:
When the electronic equipment is continuously under the first motion state, obtains the electronic equipment and be continuously in the first fortune
The first run duration under dynamic state;
Based on first run duration and the first minimum persistent movement time, obtains the electronic equipment and be continuously in the
The second run duration under one motion state;
The voice arousal function of the electronic equipment is disabled in second run duration.
Preferably, after disabling the voice arousal function of the electronic equipment in second run duration, the side
Method further include: after the time for the voice arousal function for disabling the electronic equipment reaches second run duration, pass through electricity
The sensor of sub- equipment obtains the third state information of electronic equipment;
Whether the third state information based on the electronic equipment judges the electronic equipment still in the first motion state
Under;
If so, obtaining the 4th status information of electronic equipment until described at interval of preset time by the sensor
Electronic equipment is under relative static conditions;
The electronic equipment is obtained from being initially located under the first motion state the third fortune under relative static conditions
The dynamic time;
Based on the third run duration, adjusted for the described first minimum persistent movement time.
Preferably, the method also includes: by the sensor at interval of preset time obtain electronic equipment the 5th
Status information;
The travel rate and acceleration of the electronic equipment are obtained from each 5th status information;
Based on each travel rate obtained and the acceleration, obtain the current travel rate of electronic equipment and
Acceleration;
Based on electronic equipment current travel rate and acceleration, the minimum persistent movement time of prediction second;
When the difference of the 4th run duration of electronic equipment and the second minimum persistent movement time is poor at the first time, obtain
The acceleration of the electronic equipment;
Judge whether the acceleration of the electronic equipment currently obtained and the acceleration obtained before are different, if not
Together, then maintained for the first minimum persistent movement time constant;If identical, using the described second minimum persistent movement time as institute
Stated for the first minimum persistent movement time;
Within the described first minimum persistent movement time, increase the second status information that the sensor obtains electronic equipment
With the preset time of the 5th status information.
The present invention provides a kind of control device, and described device includes:
First acquisition unit obtains the first state information of electronic equipment for the sensor by electronic equipment;
It is current to obtain the electronic equipment for the first state information based on the electronic equipment for second acquisition unit
Locating motion state;
Control unit, for disabling institute when it is under the first motion state that the electronic equipment, which is presently in motion state,
State the phonetic function of electronic equipment;Wherein, under first motion state, the travel rate of the electronic equipment meets default
Condition, and there is the movement being different from direction of travel in the electronic equipment.
Preferably, the first acquisition unit is used for: obtaining the electronics by the velocity sensor of the electronic equipment
The travel rate of equipment;
The acceleration of the electronic equipment is obtained by the acceleration transducer of the electronic equipment;
The electronic equipment is obtained by the gravity sensor of the electronic equipment or the angular movement detection sensor
Relative to the motion state under stationary state.
Preferably, the second acquisition unit includes:
The direction of motion obtain subelement, for based on the electronic equipment acceleration and the electronic equipment relative to quiet
The only motion state under state obtains the direction of motion of the electronic equipment;
Judgment sub-unit, for judging whether the travel rate of the electronic equipment is in the first traveling speed range,
And judge whether the direction of motion of the electronic equipment is different from the direction of travel of the electronic equipment;
Determine subelement, is in the first traveling speed range for the travel rate when the electronic equipment, and described
When the direction of motion of electronic equipment is different from the direction of travel of electronic equipment, determine that the electronic equipment is currently at the first movement
Under state.
Preferably, described control unit includes:
First control subelement, for prohibiting when it is the first motion state that the electronic equipment, which is presently in motion state,
Electronic equipment is obtained at interval of preset time by the sensor with the voice assistant function of the electronic equipment, and further
The second status information;
State judgment sub-unit judges that the electronic equipment is for the second status information based on the electronic equipment
It is no to be continuously under the first motion state;
Second control subelement, for disabling the electricity when the electronic equipment is continuously under the first motion state
The voice arousal function of sub- equipment.
Preferably, the second control subelement, for when the electronic equipment is continuously under the first motion state,
Obtain the first run duration that the electronic equipment is continuously under the first motion state;Based on first run duration and
One minimum persistent movement time, obtain the second run duration that the electronic equipment is continuously under the first motion state;And
The voice arousal function of the disabling electronic equipment in second run duration.
Preferably, described device further include:
Third acquiring unit reaches second fortune for the time in the voice arousal function for disabling the electronic equipment
After the dynamic time, the third state information of electronic equipment is obtained by the sensor of electronic equipment;
Judging unit judges whether the electronic equipment is still located for the third state information based on the electronic equipment
Under the first motion state;
4th acquiring unit, for passing through the sensor every when electronic equipment is still under the first motion state
The 4th status information of electronic equipment is obtained every preset time until the electronic equipment is under relative static conditions;
5th acquiring unit, it is relatively quiet from be initially located under the first motion state to being in for obtaining the electronic equipment
The only third run duration under state;
The first adjustment unit adjusted for the described first minimum persistent movement time for being based on the third run duration.
Preferably, described device further include:
6th acquiring unit, the 5th state for obtaining electronic equipment at interval of preset time by the sensor are believed
Breath;
7th acquiring unit, for obtaining travel rate and the acceleration of the electronic equipment from each 5th status information
Degree;
First computing unit obtains electronics and sets for being based on each travel rate obtained and the acceleration
Standby current travel rate and acceleration;
Second computing unit, for the travel rate and acceleration current based on electronic equipment, prediction second is minimum to be continued
Run duration;
8th acquiring unit, for being when the difference of the 4th run duration of electronic equipment and the second minimum persistent movement time
When poor at the first time, the acceleration of the electronic equipment is obtained;
Second adjustment unit, for judging the acceleration of the electronic equipment currently obtained and the acceleration obtained before
It is whether different, if it is different, then maintaining for the first minimum persistent movement time constant;If identical, second minimum is held
Continuous run duration is as the described first minimum persistent movement time;
Third adjustment unit, for increasing the sensor and obtaining electronics within the described first minimum persistent movement time
The preset time of second status information of equipment and the 5th status information.
Compared with prior art, the present invention includes the following advantages:
In above-mentioned technical proposal provided by the invention, when the travel rate of electronic equipment meets preset condition, and electronics is set
When for there is the movement being different from direction of travel, the phonetic function of electronic equipment is disabled, so that the phonetic function of electronic equipment
It can be changed according to the variation of the motion state of electronic equipment, the phonetic function of such electronic equipment, which is no longer on, to be continued working
Under state, the power consumption of electronic equipment is reduced.And when the movement that the first motion state of electronic equipment indicates is travel rate
Meet preset condition, and when electronic equipment has the movement being different from direction of travel, can be shown that user's wearable electronic device
Outdoor carry out road-work, and doped with various sound in outdoor environment, disabling phonetic function in such a case can be with
The probability of phonetic function false triggering is effectively reduced.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is the first flow chart of control method provided in an embodiment of the present invention;
Fig. 2 is the partial process view of control method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the direction of motion provided in an embodiment of the present invention;
Fig. 4 is second of flow chart of control method provided in an embodiment of the present invention;
Fig. 5 is the third flow chart of control method provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the minimum persistent movement time of adjustment first in control method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of control device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of second acquisition unit in control device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of control unit in control device provided in an embodiment of the present invention;
Figure 10 is another structural schematic diagram of control device provided in an embodiment of the present invention;
Figure 11 is another structural schematic diagram of control device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, it illustrates a kind of flow chart of control method provided in an embodiment of the present invention, for being based on electronics
The motion state of equipment controls phonetic function, may comprise steps of:
101: the first state information of electronic equipment is obtained by the sensor of electronic equipment.
102: the first state information based on electronic equipment obtains electronic equipment and is presently in motion state.In the present invention
In embodiment, the instruction of first state information is in each under a kind of state by the electronic equipment that the sensor of electronic equipment obtains
Item parameter, therefore the first state information based on electronic equipment can obtain electronic equipment and be currently under which kind of state.
Such as the travel rate of electronic equipment can be obtained by the velocity sensor of electronic equipment, when the row of electronic equipment
When into rate close to zero, then it can determine that electronic equipment is currently under stationary state;When the travel rate of electronic equipment is one
When biggish travel rate, then it can determine that electronic equipment is currently under motion state.Again because in different travel rate models
In enclosing, the motion state of electronic equipment is different, therefore can determine that electronic equipment is in based on the travel rate of electronic equipment
Under which kind of motion state, as under the first motion state or under the second motion state.
In embodiments of the present invention, which kind of motion state electronic equipment, which is under, refers to user just at wearable electronic device
Under which kind of motion state.When such as the first motion state is outdoor sport state, electronic equipment is under outdoor sport state then
Refer to user just in wearable electronic device in outdoor carry out road-work, corresponding second motion state is motion state of riding
When, electronic equipment, which is under state by bus, then refers to that user's wearable electronic device is under state by bus.
103: when it is under the first motion state that electronic equipment, which is presently in motion state, disabling the voice function of electronic equipment
Energy.Wherein under the first motion state, the travel rate of electronic equipment meets preset condition, and electronic equipment exists different from row
Into the movement on direction.Direction of travel is used to indicate user wearable electronic device during the motion in embodiments of the present invention
Direction, such as user's wearable electronic device is in outdoor carry out road-work, direction of travel are then a directions horizontally forward.
And electronic equipment exist be different from direction of travel on movement then refer to electronic equipment except follow user carry out water
There is also the movements on other directions except the movement of flat forward direction, are still run with user's wearable electronic device in outdoor
For movement, in user's wearable electronic device in outdoor carry out road-work, body when electronic equipment can follow user to run
Rock, especially arm swing generate about one either from the horizontal by certain angle oblique movement, and this
A oblique movement is then different from the movement on direction of travel.When detecting that electronic equipment is under such motion state, then
Need to disable the phonetic function of electronic equipment, to prevent planting influence of the noise to electronic equipment in environment under motion state here, with
Reduce the probability of false triggering.
And above-mentioned preset condition is at least used to indicate the travel rate range of electronic equipment under the first motion state, described
Travel rate range can distinguish stationary state and other motion states.Wherein other motion states are used to indicate electronics
The movement being different from direction of travel is not present in equipment.
From above-mentioned technical proposal it is found that when the travel rate of electronic equipment meets preset condition, and electronic equipment exists not
When the movement being same as on direction of travel, disable the phonetic function of electronic equipment, allow the phonetic function of electronic equipment according to
The variation of the motion state of electronic equipment and change, the phonetic function of such electronic equipment is no longer under the state of continuing working,
Reduce the power consumption of electronic equipment.And when the movement that the first motion state of electronic equipment indicates is that travel rate satisfaction is default
Condition, and electronic equipment exist be different from direction of travel on movement when, can be shown that user's wearable electronic device is outdoor
Road-work is carried out, and doped with various sound in outdoor environment, disabling phonetic function in such a case can be effectively reduced
The probability of phonetic function false triggering.
In embodiments of the present invention, the travel rate of electronic equipment meets preset condition, and electricity under the first motion state
There is the movement being different from direction of travel in sub- equipment, that is to say, that in embodiments of the present invention in order to improve judgement electronic equipment
The accuracy of motion state can be combined with the direction of motion of electronic equipment in addition to it can be based on travel rate to judge,
Flow chart as shown in Figure 2 is determined the motion state of electronic equipment based on multi-motion parameter, may comprise steps of:
201: the travel rate of electronic equipment is obtained by the velocity sensor of electronic equipment.
202: the acceleration of electronic equipment is obtained by the acceleration transducer of electronic equipment.
203: electronic equipment is obtained relative to static by the gravity sensor or angular movement detection sensor of electronic equipment
Motion state under state.Wherein, gravity sensor or angular movement detection sensor can obtain electronic equipment relative to water
The tilt angle of plane, therefore tilt angle can be divided into different range in embodiments of the present invention, and by each inclination
Angular range corresponds to a kind of motion state.Inclination angle under the tilt angle of acquisition remains static relative to electronic equipment
Degree is when changing, can the corresponding relationship based on range of tilt angles and motion state, determine that electronic equipment is in movement shape
Under state.
204: acceleration and electronic equipment based on electronic equipment obtain electronics relative to the motion state under stationary state
The direction of motion of equipment.In embodiments of the present invention, the direction of the acceleration instruction of electronic equipment is the direction of external force synthesis, and
Electronic equipment can indicate that the tilt angle of electronic equipment with respect to the horizontal plane relative to the motion state under stationary state, i.e.,
Inclined direction with respect to the horizontal plane, therefore the inclination side of direction and electronic equipment based on acceleration instruction with respect to the horizontal plane
To obtaining the direction of motion of electronic equipment.
In embodiments of the present invention, the inclination side of the direction and electronic equipment that acceleration can be indicated with respect to the horizontal plane
To the direction of motion for synthesizing electronic equipment, as shown in Figure 3.WhereinFor acceleration instruction direction,For electronic equipment
The direction of motion of inclined direction with respect to the horizontal plane, the then electronic equipment both obtained after synthesis is
205: judging whether the travel speed of electronic equipment is in the first traveling speed range, and judge electronic equipment
The direction of motion whether be different from the direction of travel of electronic equipment.
206: when the travel rate of electronic equipment is in the first traveling speed range, and the direction of motion of electronic equipment is not
When being same as the direction of travel of electronic equipment, determine that electronic equipment is currently under the first motion state.Wherein the first travel rate
Range be the first motion state under preset travel rate range, can according to the first motion state be which kind of motion state come
Setting.Such as first motion state be above-mentioned outdoor sport state when, the first traveling speed range can be 2.0km/h (km/
Per hour) to 7.5km/h.
From above-mentioned technical proposal it is found that the embodiment of the present invention can judge in terms of travel rate and the direction of motion two
Which kind of motion state electronic equipment is under, and the current generally existing travel rate of various motion states and the direction of motion this two
A kinematic parameter, and travel rate and the direction of motion will be different under different motion state, therefore be based on travel rate and fortune
The accuracy of judgement can be improved in the judgment mode in dynamic direction for single movement parameter judgment mode.
Referring to Fig. 4, it illustrates another flow chart of control method provided in an embodiment of the present invention, may include with
Lower step:
401: the first state information of electronic equipment is obtained by the sensor of electronic equipment.
402: the first state information based on electronic equipment obtains electronic equipment and is presently in motion state.Wherein step
401 and step 402 it is identical as above-mentioned steps 101 and step 102, this embodiment of the present invention is no longer illustrated.
403: when it is the first motion state that electronic equipment, which is presently in motion state, disabling the voice assistant of electronic equipment
Function, and the second status information of electronic equipment is further obtained at interval of preset time by sensor.
404: the second status information based on electronic equipment judges whether electronic equipment is continuously in the first motion state
Under.
405: when electronic equipment is continuously under the first motion state, disabling the voice arousal function of electronic equipment.
The phonetic function of electronic equipment includes voice arousal function and voice assistant function at present, wherein voice arousal function
For starting some applications in electronic equipment by speech recognition, and voice assistant function be then used for by interactive voice come
It is inquired and is operated on an electronic device, the manual of operating body can replace by voice arousal function and voice assistant function
Operation, to improve the convenience of operation in practical applications.It can be based on itself fortune for both function electronic equipments
Dynamic state determines when to disable voice arousal function and voice assistant function.
In embodiments of the present invention when electronic equipment is under the first motion state, the voice of electronic equipment can be disabled
Assistant's function, and voice arousal function then needs the continued case to the first motion state to decide whether to disable after judging.
Wherein electronic equipment whether be continuously under the first motion state be by the second motion state of electronic equipment come
Judgement.In embodiments of the present invention, at electronic equipment of the second status information instruction by the sensor acquisition of electronic equipment
A kind of parameters under state, parameters phase contained by parameters and first state information contained by the second status information
Together, such as the second status information may include: travel rate, acceleration and electronic equipment relative to the movement shape under stationary state
State may determine that whether the travel speed of electronic equipment is in the first traveling speed range by these parameters, and judgement
Whether the direction of motion of electronic equipment is different from the direction of travel of electronic equipment, to judge whether electronic equipment is continuously in
Under first motion state.
When the travel rate of electronic equipment is still in the first traveling speed range, and the direction of motion of electronic equipment is still not
It is same as the direction of travel of electronic equipment, then can be determined that electronic equipment is continuously under the first motion state, can then prohibit at this time
With the voice arousal function of electronic equipment.
Furthermore when electronic equipment is continuously under the first motion state, control method provided in an embodiment of the present invention may be used also
Further to obtain the first run duration that electronic equipment is continuously under the first motion state, it is then based on the first run duration
With the first minimum persistent movement time, the second run duration that electronic equipment is continuously under the first motion state is obtained, and
The voice arousal function of disabling electronic equipment in second run duration.
Wherein the first minimum persistent movement time was that electronic equipment is initially located in the first motion state to the first movement of termination
The duration of state, this duration obtain according to the previous exercise habit of operating body, therefore are based on the first run duration
With the first minimum persistent movement time, available electronic equipment can still be in the second run duration under the first motion state,
The voice arousal function of electronic equipment can be thus disabled in the second run duration.When the disabling time reaching the second movement
Between after, electronic equipment can then enable voice arousal function automatically, and can be continued with trigger sensor obtain electronic equipment first
Status information is to judge motion state locating for electronic equipment, if when judging electronic equipment still under the first motion state then
Voice arousal function can be disabled herein.
In embodiments of the present invention, the first minimum persistent movement time was that electronic equipment is initially located in the first motion state and arrives
The duration of the first motion state is terminated, this duration can obtain in advance according to the previous exercise habit of operating body,
And can be adjusted according to the exercise habit in operating body subsequent period of time, flow chart as described in Figure 5 increases on the basis of Fig. 4
Add the adjustment process to the first minimum persistent movement time, may comprise steps of:
406: after the time of the voice arousal function of disabling electronic equipment reaches the second run duration, passing through electronic equipment
Sensor obtain electronic equipment third state information.
407: whether the third state information based on electronic equipment judges electronic equipment still under the first motion state.
408: when electronic equipment is still under the first motion state, electronics being obtained at interval of preset time by sensing and is set
The 4th standby status information is until electronic equipment is under relative static conditions.
In embodiments of the present invention, third motion state and the 4th motion state are identical as above-mentioned first motion state, together
Sample is used to indicate the parameters being under a kind of state by the electronic equipment that the sensor of electronic equipment obtains, such as can be with
By flow chart shown in Fig. 2, the travel rate of electronic equipment is obtained by the velocity sensor of electronic equipment;Pass through electronic equipment
Acceleration transducer obtain electronic equipment acceleration;Pass through the gravity sensor or angular movement detection sensor of electronic equipment
Electronic equipment is obtained relative to the motion state under stationary state, thus based on travel rate and electronic equipment can be based on
Acceleration and the electronic equipment direction of motion of electronic equipment that obtains relative to the motion state under stationary state judge electricity
The motion state of sub- equipment.
When the travel rate of electronic equipment is in the first traveling speed range, and the direction of motion of electronic equipment is different from
When the direction of travel of electronic equipment, then it can be determined that electronic equipment still under the first motion state;When the traveling of electronic equipment
Rate then can be determined that electronics is set close to zero, and when the direction of motion of electronic equipment is consistent with the direction of travel of electronic equipment
It is standby to remain static down.
409: obtaining electronic equipment from being initially located under the first motion state the third fortune under relative static conditions
The dynamic time.
410: being based on third run duration, the minimum persistent movement time of adjustment first.In embodiments of the present invention, in order to mention
The reasonability of the first minimum persistent movement time, needs to be adjusted after obtaining multiple third run durations after height adjustment.Its
Middle adjustment process may is that when the average value of obtained multiple third run durations was greater than for the first minimum persistent movement time,
Increased for the first minimum persistent movement time, and the maximum value of the first minimum persistent movement time is equal to multiple third run durations
The maximum value of average value or the first minimum persistent movement time are equal to the maximum value in multiple third run durations;When what is obtained
When the average value of multiple third run durations is less than the first minimum persistent movement time, reduced for the first minimum persistent movement time,
And first the minimum value of minimum persistent movement time be equal to the average value or the first minimum lasting fortune of multiple third run durations
The minimum value of dynamic time is equal to the minimum value in multiple third run durations.
In addition to the adjustment mode shown in above-mentioned Fig. 5, the embodiment of the present invention can also be minimum using other modes adjustment first
Persistent movement time, adjustment mode as shown in Figure 6 may comprise steps of:
601: obtaining the 5th status information of electronic equipment at interval of preset time by sensor.
602: the travel rate and acceleration of electronic equipment are obtained from each 5th status information.
603: being based on each travel rate obtained and acceleration, obtain the current travel rate of electronic equipment and acceleration
Degree.
604: based on electronic equipment current travel rate and acceleration, the minimum persistent movement time of prediction second.
In embodiments of the present invention, the 5th motion state is identical as above-mentioned first motion state, again indicates that and passes through
The electronic equipment that the sensor of electronic equipment obtains is in the parameters under a kind of state, such as can be by flowing shown in Fig. 2
Cheng Tu obtains the travel rate of electronic equipment by the velocity sensor of electronic equipment;Pass through the acceleration sensing of electronic equipment
The acceleration of device acquisition electronic equipment.In this way after obtaining multiple travel rates and acceleration, multiple travel rates are carried out
Equalization obtains the current travel rate of electronic equipment, and it is current also to average to obtain electronic equipment to multiple acceleration
Acceleration, thus in the case where the current movement of electronic equipment is considered as uniform variable motion, it can be current based on electronic equipment
Travel rate and acceleration, predicted for the second minimum persistent movement time.
605: when the difference of the 4th run duration of electronic equipment and the second minimum persistent movement time is poor at the first time,
Obtain the acceleration of electronic equipment.
After predicting for the second minimum persistent movement time, can also the motion state to electronics and equipment carry out continuing to supervise
Control is to determine whether to adjust for the first minimum persistent movement time based on the second minimum persistent movement time.In the embodiment of the present invention
In its monitor mode can be before the run duration in electronic equipment reached for the second minimum persistent movement time, to electronic equipment
Acceleration carries out one-time detection, if acceleration changes, maintains for the first minimum persistent movement time constant, if not becoming
Change, then using the second minimum persistent movement time as the first minimum persistent movement time.
Such as after prediction obtained for the second minimum persistent movement time, obtained for the second minimum persistent movement time from prediction and open
Beginning obtains the 4th run duration of electronic equipment, when the difference of the 4th run duration and the second minimum persistent movement time is first
Between difference when obtain electronic equipment acceleration.It is wherein poor at the first time to can be a preset monitoring point, such as the second minimum
It is poor at the first time to can be 10s when the persistent movement time is 20s (second), i.e., obtained for the second minimum persistent movement time from prediction
10s obtains the acceleration of electronic equipment afterwards.
606: whether the acceleration for the electronic equipment that judgement currently obtains and the acceleration obtained before are different, if not
Together, then maintained for the first minimum persistent movement time constant.If identical, most using the second minimum persistent movement time as first
The small persistent movement time.
607: within the first minimum persistent movement time, increasing the second status information and that sensor obtains electronic equipment
The preset time of five status informations.In embodiments of the present invention, above-mentioned preset time is that sensor obtains each state letter every time
The interval time of breath.Do not determine electronic equipment be presently in motion state when, preset time can using one it is lesser when
Between be worth, it can more frequently obtain electronic equipment each status information to determine that electronic equipment is presently in movement shape
State, and after determining the motion state of electronic equipment, it, can within the motion state corresponding first minimum persistent movement time
To increase preset time, such sensor can be spaced the long period to obtain each status information of electronic equipment, with drop
The power consumption of low electronic equipment.
Corresponding with above method embodiment, the embodiment of the present invention also provides a kind of control device, and structural schematic diagram is such as
It may include: first acquisition unit 11, second acquisition unit 12 and control unit 13 shown in Fig. 7.
First acquisition unit 11 obtains the first state information of electronic equipment for the sensor by electronic equipment.?
In the embodiment of the present invention, the instruction of first state information is in a kind of state by the electronic equipment that the sensor of electronic equipment obtains
Under parameters, such as first acquisition unit 11 can pass through the velocity sensor of electronic equipment obtain electronic equipment traveling
Rate;The acceleration of electronic equipment is obtained by the acceleration transducer of electronic equipment and passes through the gravity sensitive of electronic equipment
Device or angular movement detection sensor obtain electronic equipment relative to the motion state under stationary state.
Second acquisition unit 12 obtains electronic equipment and is presently in fortune for the first state information based on electronic equipment
Dynamic state.In embodiments of the present invention, at electronic equipment of the first state information instruction by the sensor acquisition of electronic equipment
A kind of parameters under state, therefore the first state information based on electronic equipment can obtain electronic equipment and be currently at
Under which kind of state.
Such as second acquisition unit can determine which kind of electronic equipment is currently at based on travel rate and the direction of motion
Under state, the structure of second acquisition unit 12 as shown in Figure 8 may include: that the direction of motion obtains subelement 121, judgement
Unit 122 and judgement subelement 123.
The direction of motion obtain subelement 121, for based on electronic equipment acceleration and electronic equipment relative to static shape
Motion state under state obtains the direction of motion of electronic equipment.In embodiments of the present invention, the acceleration of electronic equipment indicates
Direction is the direction of external force synthesis, and electronic equipment can indicate that electronic equipment phase relative to the motion state under stationary state
For the tilt angle of horizontal plane, i.e., inclined direction with respect to the horizontal plane, therefore direction and electronics based on acceleration instruction
The inclined direction of equipment with respect to the horizontal plane obtains the direction of motion of electronic equipment, the mode used can with as shown in fig.3,
This embodiment of the present invention is no longer described in detail.
Judgment sub-unit 122, for judging whether the travel rate of electronic equipment is in the first traveling speed range, with
And judge whether the direction of motion of electronic equipment is different from the direction of travel of electronic equipment.
Determine subelement 123, is in the first traveling speed range for the travel rate when electronic equipment, and electronics is set
When the standby direction of motion is different from the direction of travel of electronic equipment, determine that electronic equipment is currently under the first motion state.Its
In the first traveling speed range be the first motion state under preset travel rate range, can be according to the first motion state
Which kind of motion state is set.Such as first motion state when being above-mentioned outdoor sport state, the first traveling speed range can be with
It is 2.0km/h (km/per hour) to 7.5km/h.It follows that second acquisition unit 12 can be from travel rate and movement side
Judge which kind of motion state electronic equipment is under in terms of two, and the generally existing traveling speed of current various motion states
Rate and the direction of motion the two kinematic parameters, and travel rate and the direction of motion will be different under different motion state, therefore
Judgement can be improved for single movement parameter judgment mode in judgment mode based on travel rate and the direction of motion
Accuracy.
Control unit 13, for disabling electronics when it is under the first motion state that electronic equipment, which is presently in motion state,
The phonetic function of equipment.Wherein, under the first motion state, the travel rate of electronic equipment meets preset condition, and electronics is set
It is standby to there is the movement being different from direction of travel.
Direction of travel is used to indicate the direction of user's wearable electronic device during the motion, example in embodiments of the present invention
If user's wearable electronic device is in outdoor carry out road-work, direction of travel is then a direction horizontally forward.
And electronic equipment exist be different from direction of travel on movement then refer to electronic equipment except follow user carry out water
There is also the movements on other directions except the movement of flat forward direction, are still run with user's wearable electronic device in outdoor
For movement, in user's wearable electronic device in outdoor carry out road-work, body when electronic equipment can follow user to run
Rock, especially arm swing generate about one either from the horizontal by certain angle oblique movement, and this
A oblique movement is then different from the movement on direction of travel.When detecting that electronic equipment is under such motion state, then
Need to disable the phonetic function of electronic equipment, to prevent planting influence of the noise to electronic equipment in environment under motion state here, with
Reduce the probability of false triggering.
And above-mentioned preset condition is at least used to indicate the travel rate range of electronic equipment under the first motion state, described
Travel rate range can distinguish stationary state and other motion states.Wherein other motion states are used to indicate electronics
The movement being different from direction of travel is not present in equipment.
From above-mentioned technical proposal it is found that when the travel rate of electronic equipment meets preset condition, and electronic equipment exists not
When the movement being same as on direction of travel, disable the phonetic function of electronic equipment, allow the phonetic function of electronic equipment according to
The variation of the motion state of electronic equipment and change, the phonetic function of such electronic equipment is no longer under the state of continuing working,
Reduce the power consumption of electronic equipment.And when the movement that the first motion state of electronic equipment indicates is that travel rate satisfaction is default
Condition, and electronic equipment exist be different from direction of travel on movement when, can be shown that user's wearable electronic device is outdoor
Road-work is carried out, and doped with various sound in outdoor environment, disabling phonetic function in such a case can be effectively reduced
The probability of phonetic function false triggering.
The phonetic function of electronic equipment includes voice arousal function and voice assistant function at present, wherein voice arousal function
For starting some applications in electronic equipment by speech recognition, and voice assistant function be then used for by interactive voice come
It is inquired and is operated on an electronic device, the manual of operating body can replace by voice arousal function and voice assistant function
Operation, to improve the convenience of operation in practical applications.For both function control units 13 can based on itself
Motion state determines when to disable voice arousal function and voice assistant function.
The structure of control unit 13 as shown in Figure 9, may include: the first control subelement 131, state judgment sub-unit
132 and second control subelement 133.
First control subelement 131, for disabling when it is the first motion state that electronic equipment, which is presently in motion state,
The voice assistant function of electronic equipment, and the second state of electronic equipment is further obtained at interval of preset time by sensor
Information.
State judgment sub-unit 132 judges whether electronic equipment continues for the second status information based on electronic equipment
Under the first motion state.
Second control subelement 133, for disabling electronic equipment when electronic equipment is continuously under the first motion state
Voice arousal function.
In embodiments of the present invention, at electronic equipment of the second status information instruction by the sensor acquisition of electronic equipment
A kind of parameters under state, parameters phase contained by parameters and first state information contained by the second status information
Together, such as the second status information may include: travel rate, acceleration and electronic equipment relative to the movement shape under stationary state
State may determine that whether the travel speed of electronic equipment is in the first traveling speed range by these parameters, and judgement
Whether the direction of motion of electronic equipment is different from the direction of travel of electronic equipment, to judge whether electronic equipment is continuously in
Under first motion state.
When the travel rate of electronic equipment is still in the first traveling speed range, and the direction of motion of electronic equipment is still not
It is same as the direction of travel of electronic equipment, then can be determined that electronic equipment is continuously under the first motion state, trigger second at this time
Control the voice arousal function that subelement 133 disables electronic equipment.
Furthermore when electronic equipment is continuously under the first motion state, the second control subelement 133 can also be further
It obtains electronic equipment and is continuously in the first run duration under the first motion state, be then based on the first run duration and first most
The small persistent movement time obtains the second run duration that electronic equipment is continuously under the first motion state, and in the second movement
The voice arousal function of disabling electronic equipment in time.
Wherein the first minimum persistent movement time was that electronic equipment is initially located in the first motion state to the first movement of termination
The duration of state, this duration obtain according to the previous exercise habit of operating body, therefore are based on the first run duration
With the first minimum persistent movement time, available electronic equipment can still be in the second run duration under the first motion state,
The voice arousal function of electronic equipment can be thus disabled in the second run duration.When the disabling time reaching the second movement
Between after, electronic equipment can then enable voice arousal function automatically, and can be continued with trigger sensor obtain electronic equipment first
Status information is to judge motion state locating for electronic equipment, if when judging electronic equipment still under the first motion state then
Voice arousal function can be disabled herein.
Referring to Fig. 10, it illustrates another structural schematic diagrams of control device provided in an embodiment of the present invention, in Fig. 7
On the basis of can also include: third acquiring unit 14, judging unit 15, the 4th acquiring unit 16, the 5th acquiring unit 17 and
One adjustment unit 18.
Third acquiring unit 14, the time for the voice arousal function in disabling electronic equipment reach the second run duration
Afterwards, the third state information of electronic equipment is obtained by the sensor of electronic equipment.
Whether judging unit 15 judges electronic equipment still in first for the third state information based on electronic equipment
Under motion state.
4th acquiring unit 16, for when electronic equipment is still under the first motion state, by sensor at interval of
Preset time obtains the 4th status information of electronic equipment until electronic equipment is under relative static conditions.
In embodiments of the present invention, third motion state and the 4th motion state are identical as above-mentioned first motion state, together
Sample is used to indicate the parameters being under a kind of state by the electronic equipment that the sensor of electronic equipment obtains, such as can be with
By flow chart shown in Fig. 2, the travel rate of electronic equipment is obtained by the velocity sensor of electronic equipment;Pass through electronic equipment
Acceleration transducer obtain electronic equipment acceleration;Pass through the gravity sensor or angular movement detection sensor of electronic equipment
Electronic equipment is obtained relative to the motion state under stationary state, thus based on travel rate and electronic equipment can be based on
Acceleration and the electronic equipment direction of motion of electronic equipment that obtains relative to the motion state under stationary state judge electricity
The motion state of sub- equipment.
When the travel rate of electronic equipment is in the first traveling speed range, and the direction of motion of electronic equipment is different from
When the direction of travel of electronic equipment, then it can be determined that electronic equipment still under the first motion state;When the traveling of electronic equipment
Rate then can be determined that electronics is set close to zero, and when the direction of motion of electronic equipment is consistent with the direction of travel of electronic equipment
It is standby to remain static down.
5th acquiring unit 17, it is opposing stationary from be initially located under the first motion state to being in for obtaining electronic equipment
Third run duration under state.
The first adjustment unit 18, for being based on third run duration, the minimum persistent movement time of adjustment first.In the present invention
In embodiment, in order to improve the reasonability of the first minimum persistent movement time after adjustment, need when obtaining the movement of multiple thirds
Between after be adjusted.Wherein adjustment process may is that when the average value of obtained multiple third run durations is greater than the first minimum
When the persistent movement time, increased for the first minimum persistent movement time, and the maximum value of the first minimum persistent movement time is equal to more
The maximum value of the average value of a third run duration or the first minimum persistent movement time are equal in multiple third run durations
Maximum value;When the average value of obtained multiple third run durations is less than the first minimum persistent movement time, reduce first
The minimum persistent movement time, and the minimum value of the first minimum persistent movement time be equal to multiple third run durations average value or
The minimum value of the minimum persistent movement time of person first is equal to the minimum value in multiple third run durations.
Figure 11 is please referred to, it illustrates the yet another construction schematic diagrames of control device provided in an embodiment of the present invention, in Fig. 7
On the basis of can also include: the 6th acquiring unit 19, the 7th acquiring unit 20, the first computing unit 21, the second computing unit 22,
8th acquiring unit 23, second adjustment unit 24 and third adjustment unit 25.
6th acquiring unit 19, the 5th state for obtaining electronic equipment at interval of preset time by sensor are believed
Breath.
7th acquiring unit 20, for obtaining travel rate and the acceleration of electronic equipment from each 5th status information
Degree.
It is current to obtain electronic equipment for being based on each travel rate obtained and acceleration for first computing unit 21
Travel rate and acceleration.
Second computing unit 22 predicts that the second minimum is held for the travel rate and acceleration current based on electronic equipment
Continuous run duration.
In embodiments of the present invention, the 5th motion state is identical as above-mentioned first motion state, again indicates that and passes through
The electronic equipment that the sensor of electronic equipment obtains is in the parameters under a kind of state, such as can be by flowing shown in Fig. 2
Cheng Tu obtains the travel rate of electronic equipment by the velocity sensor of electronic equipment;Pass through the acceleration sensing of electronic equipment
The acceleration of device acquisition electronic equipment.In this way after obtaining multiple travel rates and acceleration, multiple travel rates are carried out
Equalization obtains the current travel rate of electronic equipment, and it is current also to average to obtain electronic equipment to multiple acceleration
Acceleration, thus in the case where the current movement of electronic equipment is considered as uniform variable motion, it can be current based on electronic equipment
Travel rate and acceleration, predicted for the second minimum persistent movement time.
8th acquiring unit 23, for the difference when the 4th run duration of electronic equipment and the second minimum persistent movement time
When being poor at the first time, the acceleration of electronic equipment is obtained.It, can also be to electricity after predicting for the second minimum persistent movement time
The motion state of son and equipment carries out continuing monitoring to determine whether to adjust first most based on the second minimum persistent movement time
The small persistent movement time.Its monitor mode can be the run duration in electronic equipment and reach second most in embodiments of the present invention
Before the small persistent movement time, one-time detection is carried out to the acceleration of electronic equipment, if acceleration changes, maintenance first is most
The small persistent movement time is constant, if not changing, using the second minimum persistent movement time as the first minimum persistent movement
Time.
Such as after prediction obtained for the second minimum persistent movement time, obtained for the second minimum persistent movement time from prediction and open
Beginning obtains the 4th run duration of electronic equipment, when the difference of the 4th run duration and the second minimum persistent movement time is first
Between difference when obtain electronic equipment acceleration.It is wherein poor at the first time to can be a preset monitoring point, such as the second minimum
It is poor at the first time to can be 10s when the persistent movement time is 20s (second), i.e., obtained for the second minimum persistent movement time from prediction
10s obtains the acceleration of electronic equipment afterwards.
Second adjustment unit 24, for judging that the acceleration of the electronic equipment currently obtained is with the acceleration obtained before
No difference, if it is different, then maintaining for the first minimum persistent movement time constant.If identical, by the second minimum persistent movement
Time is as the first minimum persistent movement time.
Third adjustment unit 25, for increasing sensor and obtaining electronic equipment within the first minimum persistent movement time
The preset time of second status information and the 5th status information.In embodiments of the present invention, above-mentioned preset time is that sensor is every
The secondary interval time for obtaining each status information.When not determining that electronic equipment is presently in motion state, preset time can be with
Using a lesser time value, it can obtain each status information of electronic equipment frequently more to determine electronic equipment
It is presently in motion state, and after determining the motion state of electronic equipment, it is held in corresponding first minimum of motion state
In continuous run duration, preset time can be increased, such sensor can be spaced the long period to obtain each of electronic equipment
A status information, to reduce the power consumption of electronic equipment.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention
Method described in part.
A kind of control method and device provided by the present invention are described in detail above, it is used herein specifically
Principle and implementation of the present invention are described for a example, the present invention that the above embodiments are only used to help understand
Method and its core concept;At the same time, for those skilled in the art is being embodied according to the thought of the present invention
There will be changes in mode and application range, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (8)
1. a kind of control method, which is characterized in that the described method includes:
The first state information of electronic equipment is obtained by the sensor of electronic equipment;
First state information based on the electronic equipment obtains the electronic equipment and is presently in motion state;
When it is under the first motion state that the electronic equipment, which is presently in motion state, the voice function of the electronic equipment is disabled
Energy;Wherein, under first motion state, the travel rate of the electronic equipment meets preset condition, and the electronics is set
It is standby to there is the movement being different from direction of travel;
It is described when the electronic equipment be presently in motion state be the first motion state under when, disable the language of the electronic equipment
Sound function, comprising:
When it is the first motion state that the electronic equipment, which is presently in motion state, the voice assistant of the electronic equipment is disabled
Function, and the second status information of electronic equipment is further obtained at interval of preset time by the sensor;
The second status information based on the electronic equipment, judges whether the electronic equipment is continuously in the first motion state
Under;
When the electronic equipment is continuously under the first motion state, obtains the electronic equipment and be continuously in the first movement shape
The first run duration under state;
Based on first run duration and the first minimum persistent movement time, obtains the electronic equipment and be continuously in the first fortune
The second run duration under dynamic state;
The voice arousal function of the electronic equipment is disabled in second run duration;
After the time for the voice arousal function for disabling the electronic equipment reaches second run duration, pass through electronic equipment
Sensor obtain electronic equipment third state information;
Whether the third state information based on the electronic equipment judges the electronic equipment still under the first motion state;
If so, obtaining the 4th status information of electronic equipment until the electronics at interval of preset time by the sensor
Equipment is under relative static conditions;
Obtain the electronic equipment from be initially located in moved under the first motion state to the third under the relative static conditions when
Between;
Based on the third run duration, adjusted for the described first minimum persistent movement time.
2. the method according to claim 1, wherein the sensor by electronic equipment obtains electronic equipment
First state information, comprising:
The travel rate of the electronic equipment is obtained by the velocity sensor of the electronic equipment;
The acceleration of the electronic equipment is obtained by the acceleration transducer of the electronic equipment;
The electronic equipment is obtained relative to quiet by the gravity sensor or angular movement detection sensor of the electronic equipment
The only motion state under state.
3. according to the method described in claim 2, it is characterized in that, the first state information based on the electronic equipment,
It obtains the electronic equipment and is presently in motion state, comprising:
Acceleration and the electronic equipment based on the electronic equipment obtain described relative to the motion state under stationary state
The direction of motion of electronic equipment;
Judge whether the travel rate of the electronic equipment is in the first traveling speed range, and judges the electronic equipment
The direction of motion whether be different from the direction of travel of the electronic equipment;
When the travel rate of the electronic equipment is in the first traveling speed range, and the direction of motion of the electronic equipment is not
When being same as the direction of travel of electronic equipment, determine that the electronic equipment is currently under the first motion state.
4. the method according to claim 1, wherein the method also includes: by the sensor at interval of
5th status information of preset time acquisition electronic equipment;
The travel rate and acceleration of the electronic equipment are obtained from each 5th status information;
Based on each travel rate obtained and the acceleration, the current travel rate of electronic equipment and acceleration are obtained
Degree;
Based on electronic equipment current travel rate and acceleration, the minimum persistent movement time of prediction second;
When the difference of the 4th run duration of electronic equipment and the second minimum persistent movement time is poor at the first time, described in acquisition
The acceleration of electronic equipment;
Judge whether the acceleration of the electronic equipment currently obtained and the acceleration obtained before are different, if it is different, then
Maintained for the first minimum persistent movement time constant;If identical, using the described second minimum persistent movement time as described the
One minimum persistent movement time;
Within the described first minimum persistent movement time, increase the second status information and institute that the sensor obtains electronic equipment
State the preset time of the 5th status information.
5. a kind of control device, which is characterized in that described device includes:
First acquisition unit obtains the first state information of electronic equipment for the sensor by electronic equipment;
Second acquisition unit obtains the electronic equipment and is presently in for the first state information based on the electronic equipment
Motion state;
Control unit, for disabling the electricity when it is under the first motion state that the electronic equipment, which is presently in motion state,
The phonetic function of sub- equipment;Wherein, under first motion state, the travel rate of the electronic equipment meets default item
Part, and there is the movement being different from direction of travel in the electronic equipment;
First control subelement, for disabling institute when it is the first motion state that the electronic equipment, which is presently in motion state,
The voice assistant function of electronic equipment is stated, and further obtains the of electronic equipment at interval of preset time by the sensor
Two-state information;
State judgment sub-unit judges whether the electronic equipment is held for the second status information based on the electronic equipment
It is continuous to be under the first motion state;
Second control subelement, for obtaining the electronics and setting when the electronic equipment is continuously under the first motion state
Standby the first run duration being continuously under the first motion state;Based on first run duration and the first minimum persistent movement
Time obtains the second run duration that the electronic equipment is continuously under the first motion state;And in the described second movement
The voice arousal function of the interior disabling electronic equipment;
Third acquiring unit, for when the time for the voice arousal function for disabling the electronic equipment reaching the described second movement
Between after, the third state information of electronic equipment is obtained by the sensor of electronic equipment;
Whether judging unit judges the electronic equipment still in for the third state information based on the electronic equipment
Under one motion state;
4th acquiring unit is used for when electronic equipment is still under the first motion state, by the sensor at interval of pre-
If the time obtains the 4th status information of electronic equipment until the electronic equipment is under relative static conditions;
5th acquiring unit, for obtaining the electronic equipment from be initially located under the first motion state to being in opposing stationary shape
Third run duration under state;
The first adjustment unit adjusted for the described first minimum persistent movement time for being based on the third run duration.
6. device according to claim 5, which is characterized in that the first acquisition unit is used for: being set by the electronics
Standby velocity sensor obtains the travel rate of the electronic equipment;
The acceleration of the electronic equipment is obtained by the acceleration transducer of the electronic equipment;
The electronic equipment is obtained relative to quiet by the gravity sensor or angular movement detection sensor of the electronic equipment
The only motion state under state.
7. device according to claim 6, which is characterized in that the second acquisition unit includes:
The direction of motion obtain subelement, for based on the electronic equipment acceleration and the electronic equipment relative to static shape
Motion state under state obtains the direction of motion of the electronic equipment;
Judgment sub-unit, for judging whether the travel rate of the electronic equipment is in the first traveling speed range, and
Judge whether the direction of motion of the electronic equipment is different from the direction of travel of the electronic equipment;
Determine subelement, is in the first traveling speed range for the travel rate when the electronic equipment, and the electronics
When the direction of motion of equipment is different from the direction of travel of electronic equipment, determine that the electronic equipment is currently at the first motion state
Under.
8. device according to claim 5, which is characterized in that described device further include:
6th acquiring unit, for obtaining the 5th status information of electronic equipment at interval of preset time by the sensor;
7th acquiring unit, for obtaining the travel rate and acceleration of the electronic equipment from each 5th status information;
First computing unit obtains electronic equipment and works as being based on each travel rate obtained and the acceleration
Preceding travel rate and acceleration;
Second computing unit, for the travel rate and acceleration current based on electronic equipment, the minimum persistent movement of prediction second
Time;
8th acquiring unit, for being first when the difference of the 4th run duration of electronic equipment and the second minimum persistent movement time
When the time difference, the acceleration of the electronic equipment is obtained;
Second adjustment unit, for judging whether are the acceleration of the electronic equipment currently obtained and the acceleration that obtains before
Difference, if it is different, then maintaining for the first minimum persistent movement time constant;If identical, by the described second minimum lasting fortune
The dynamic time is as the described first minimum persistent movement time;
Third adjustment unit, for increasing the sensor and obtaining electronic equipment within the described first minimum persistent movement time
The second status information and the 5th status information preset time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510552928.5A CN105183133B (en) | 2015-09-01 | 2015-09-01 | A kind of control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510552928.5A CN105183133B (en) | 2015-09-01 | 2015-09-01 | A kind of control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105183133A CN105183133A (en) | 2015-12-23 |
CN105183133B true CN105183133B (en) | 2019-01-15 |
Family
ID=54905263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510552928.5A Active CN105183133B (en) | 2015-09-01 | 2015-09-01 | A kind of control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105183133B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107317924B (en) * | 2017-06-20 | 2020-11-06 | 上海传英信息技术有限公司 | Mobile terminal and dormancy method of mobile terminal |
CN107704284A (en) * | 2017-09-25 | 2018-02-16 | 咪咕互动娱乐有限公司 | A kind of function prohibited method and device, storage medium |
EP3962048A4 (en) * | 2019-04-26 | 2022-04-27 | Shenzhen Heytap Technology Corp., Ltd. | Voice broadcasting control method and apparatus, storage medium, and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102377871A (en) * | 2010-08-24 | 2012-03-14 | 联想(北京)有限公司 | Information processing equipment and control method thereof |
CN102884841A (en) * | 2010-05-05 | 2013-01-16 | 摩托罗拉移动有限责任公司 | Mobile device with temperature sensing capability and method of operating same |
US20140342699A1 (en) * | 2013-05-20 | 2014-11-20 | Sean Patrick Smith | Software application to reduce distractions while in motion |
CN104205010A (en) * | 2012-03-30 | 2014-12-10 | 英特尔公司 | Voice-enabled touchscreen user interface |
CN104536569A (en) * | 2014-12-26 | 2015-04-22 | 中科创达软件股份有限公司 | Mobile terminal and method and device for controlling mobile terminal |
-
2015
- 2015-09-01 CN CN201510552928.5A patent/CN105183133B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102884841A (en) * | 2010-05-05 | 2013-01-16 | 摩托罗拉移动有限责任公司 | Mobile device with temperature sensing capability and method of operating same |
CN102377871A (en) * | 2010-08-24 | 2012-03-14 | 联想(北京)有限公司 | Information processing equipment and control method thereof |
CN104205010A (en) * | 2012-03-30 | 2014-12-10 | 英特尔公司 | Voice-enabled touchscreen user interface |
US20140342699A1 (en) * | 2013-05-20 | 2014-11-20 | Sean Patrick Smith | Software application to reduce distractions while in motion |
CN104536569A (en) * | 2014-12-26 | 2015-04-22 | 中科创达软件股份有限公司 | Mobile terminal and method and device for controlling mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105183133A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9776042B2 (en) | Exercise system and method for controlling a vehicle | |
CN105183133B (en) | A kind of control method and device | |
US20150105220A1 (en) | Trainer control method and fitness device using the same | |
US11467180B2 (en) | Context awareness of a smart device through sensing transient and continuous events | |
CN110638421B (en) | Method, system, and apparatus for displaying visibility changes in response to user gestures | |
CN104767888B (en) | A kind of screen luminance adjustment method and device | |
CN104202466B (en) | A kind of method for carrying out safety instruction using mobile phone in traveling | |
CN109937152A (en) | Driving condition supervision method and apparatus, driver's monitoring system, vehicle | |
JP6868778B2 (en) | Information processing equipment, information processing methods and programs | |
CN106643708A (en) | IMU-based interactive sitting posture correction device, sitting posture correction appliance and monitoring software | |
US10867013B2 (en) | Information processing apparatus, information processing method, and program | |
CN105611443A (en) | Control method and system of earphone and earphone | |
CN110151152B (en) | Sedentary period detection with wearable electronics | |
CN105046886B (en) | Realize driving behavior supervision and method, vehicle and the mobile terminal reminded | |
CN105575045B (en) | Surface conditions based reminding method, device and mobile terminal for mobile terminal | |
CN106033255B (en) | A kind of information processing method and electronic equipment | |
JP6762157B2 (en) | Methods and devices for predicting the direction of the occupant's line of sight | |
CN105528076A (en) | Terminal alarm control method and device | |
US20220324459A1 (en) | Determination device and recording medium | |
CN109375859A (en) | Screen control method, device, terminal and storage medium | |
CN108852333A (en) | A kind of heart rate monitoring method and system based on intelligent wearable device | |
CN107948438A (en) | One mode control method, device and mobile terminal | |
CN110169761A (en) | A kind of motion monitoring information transmission method and intelligent pedometer | |
CN104504853B (en) | A kind of mobile terminal and its control device | |
CN106293199A (en) | A kind of method and device controlling touch screen |
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 |