CN103792958B - A kind of control method of electronic device and device - Google Patents
A kind of control method of electronic device and device Download PDFInfo
- Publication number
- CN103792958B CN103792958B CN201410071972.XA CN201410071972A CN103792958B CN 103792958 B CN103792958 B CN 103792958B CN 201410071972 A CN201410071972 A CN 201410071972A CN 103792958 B CN103792958 B CN 103792958B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- noumenon
- angle
- rotation
- parameter
- 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 embodiment of the present application provides a kind of control method and device, is applied to have in the electronic equipment of sensing unit, and described electronic equipment includes the first noumenon and the second body being connected with described the first noumenon;Described the first noumenon can rotate to an angle by the most described second body;Described method includes: detected the attitude information of described electronic equipment relative level by described sensing unit;Obtain status information when described electronic equipment has a described attitude information;Based on described attitude information and described status information, calculating and obtain rotation parameter, described rotation parameter includes the first direction of rotation and the first angle;The described the first noumenon controlling described electronic equipment rotates according to described first direction of rotation and described first angle relative to described second body, to keep described electronic equipment relative level to keep stable resting state independently.The embodiment of the present application improves the convenience of electronic device.
Description
Technical field
The application relates to electronic technology field, a kind of control method and device.
Background technology
Developing rapidly of electronic technology so that electronic equipment is widely applied, user is to electronic equipment
Requirement more and more higher.
A kind of electronic equipment of the prior art is made up of interconnective two parts, and a part therein can
Using as support to support another part, such that it is able to be user-friendly to, but this electronic equipment need
Want user manually to regulate two-part position, with keep that electronic equipment can be stable as desktop or other
On supporter, particularly under supporter unsure state, user's moment is needed to adjust electronic equipment,
Make electronic device the most not convenient.
Summary of the invention
In view of this, this application provides a kind of control method and device, improve electronic device
Convenience.
For achieving the above object, the application provides following technical scheme:
A kind of control method, is applied to have in the electronic equipment of sensing unit, and described electronic equipment includes
The first noumenon and the second body being connected with described the first noumenon;Described the first noumenon can institute relatively
State the second body to rotate to an angle;Described method includes:
The attitude information of described electronic equipment relative level is detected by described sensing unit;
Obtaining status information when described electronic equipment has a described attitude information, described status information is at least
Center of gravity information including described electronic equipment;
Based on described attitude information and described status information, calculating and obtain rotation parameter, described rotation is joined
Number includes the first direction of rotation and the first angle;
The described the first noumenon controlling described electronic equipment rotates according to described first relative to described second body
Direction and described first angle rotate so that the most described second body of described the first noumenon is described the
One direction of rotation has described first angle, to keep described electronic equipment relative level to keep independently
Stable resting state.
Preferably, described based on described attitude information and described status information, calculate and obtain rotation parameter
Including:
Detect that the center of gravity of the described electronic equipment variable quantity in a Preset Time meets a predetermined condition
Time, based on described attitude information and described status information, calculate and obtain rotation parameter.
Preferably, when described second body is positioned on supporter, and when above support is kept in motion,
Described status information also include described electronic equipment speed parameter and/or acceleration parameter and/or angle speed
Degree parameter;
The described the first noumenon controlling described electronic equipment rotates according to described first relative to described second body
Direction and described first angle rotate so that the most described second body of described the first noumenon is described the
One direction of rotation has described first angle, to keep described electronic equipment relative level to keep independently
Stable resting state includes:
Control the most described second body of the first noumenon of described electronic equipment according to described first direction of rotation
Rotate to described first angle so that described electronic equipment has described speed parameter and/or acceleration parameter
And/or angular velocity parameter, to keep described electronic equipment to keep stable quiet independently relative to above support
Only state.
Preferably, described the first noumenon is connected by connector with described second body, described connector bag
Include driving means;
The first noumenon of the described electronic equipment of described control rotates according to described first relative to described second body
Direction rotates to described first angle and includes:
Control described driving means and drive described connector so that the most described second of described the first noumenon
Body rotates to described first angle according to described first direction of rotation.
Preferably, the described attitude letter being detected described electronic equipment relative level by described sensing unit
Breath includes:
When detecting that above support switches to described kinestate from resting state, pass through sensing unit
Detect the attitude information of described electronic equipment relative level.
Preferably, the described attitude letter being detected described electronic equipment relative level by described sensing unit
Breath includes:
At interval of certain time, detected the appearance of described electronic equipment relative level by described sensing unit
State information, wherein, described certain time determines according to described status information.
A kind of control device, is applied to have in the electronic equipment of sensing unit, and described electronic equipment includes
The first noumenon and the second body being connected with described the first noumenon;Described the first noumenon can institute relatively
State the second body to rotate to an angle;Described device includes:
Detector unit, for detecting the attitude of described electronic equipment relative level by described sensing unit
Information;
Acquiring unit, for obtaining status information when described electronic equipment has described attitude information, institute
State status information and at least include the center of gravity information of described electronic equipment;
Computing unit, for based on described attitude information and described status information, calculates to obtain to rotate and joins
Number, described rotation parameter includes the first direction of rotation and the first angle;
Control unit, presses for controlling the most described second body of described the first noumenon of described electronic equipment
Rotate according to described first direction of rotation and described first angle so that described the first noumenon the most described the
Two bodies have described first angle in described first direction of rotation, to keep described electronic equipment relative to water
Plane keeps stable resting state independently.
Preferably, described computing unit is specifically for detecting that the center of gravity of described electronic equipment is when one presets
When interior variable quantity meets a predetermined condition, based on described attitude information and described status information, meter
Calculate and obtain rotation parameter.
Preferably, when described second body is positioned on supporter, and when above support is kept in motion,
Described status information also includes the speed parameter of described electronic equipment and/or acceleration parameter and/or angular velocity
Parameter;
Described control unit is specifically for controlling the most described second body of the first noumenon of described electronic equipment
Rotate to described first angle according to described first direction of rotation so that described electronic equipment has described speed
Spend parameter and/or acceleration parameter and/or angular velocity parameter, to keep the most described support of described electronic equipment
Thing keeps stable resting state independently.
Preferably, described the first noumenon is connected by connector with described second body, described connector bag
Include driving means;
Described control unit drives described connector specifically for controlling described driving means so that described the
One body rotates to described first angle according to described first direction of rotation relative to described second body.
Preferably, described detector unit is specifically for when detecting that above support switches to from resting state
During described kinestate, detected the attitude information of described electronic equipment relative level by sensing unit.
Preferably, described detector unit is specifically at interval of certain time, examining by described sensing unit
Surveying the attitude information of described electronic equipment relative level, wherein, described certain time is according to described state
Information determines.
Understand via above-mentioned technical scheme, compared with prior art, this application provides a kind of controlling party
Method and device, be applied in electronic equipment, and electronic equipment includes the first noumenon and is connected with the first noumenon
The second body, and the first noumenon can rotate to an angle by the most described second body, by detection electricity
The attitude information of subset relative level, and status information when there is described attitude information, based on
This attitude information and status information, can calculate acquisition rotation parameter, presses such that it is able to control electronic equipment
Control described the first noumenon according to described rotation parameter to rotate relative to described second body so that keep institute
State the resting state that electronic equipment relative level keeps stable independently.From regardless of whether electronic equipment is in
In the case of which kind of, all automatically relative level can keep stable resting state independently, it is not necessary to manually
Adjusting, operation is convenient, adds the usability of electronic equipment.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments herein, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of one embodiment of a kind of control method that Fig. 1 provides for the embodiment of the present application;
A kind of structural representation of the electronic equipment that Fig. 2 provides for the embodiment of the present application;
The another kind of structural representation of the electronic equipment that Fig. 3 provides for the embodiment of the present application;
A kind of structural representation controlling one embodiment of device that Fig. 4 provides for the embodiment of the present application.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out
Clearly and completely describe, it is clear that described embodiment is only some embodiments of the present application, and
It is not all, of embodiment.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of the application protection.
The embodiment of the present application provides a kind of control method and device, is applied in electronic equipment, this electronics
Equipment includes the first noumenon and the second body being connected with the first noumenon, and the first noumenon can institute relatively
State the second body to rotate to an angle, by detecting the attitude information of electronic equipment relative level, and
There is status information during described attitude information, based on this attitude information and status information, can calculate and obtain
Obtain rotation parameter, such that it is able to control electronic equipment to control described the first noumenon phase according to described rotation parameter
Described second body is rotated so that keep described electronic equipment relative level to keep steady independently
Fixed resting state.From regardless of whether in the case of which kind of electronic equipment is in, all can relative level automatically
Keeping stable resting state independently, it is not necessary to manually adjust, operation is convenient, adds electronic equipment
Usability.
Below in conjunction with the accompanying drawings, the application embodiment is described in detail.
The flow chart of one embodiment of a kind of control method that Fig. 1 provides for the embodiment of the present application, described side
Method is applied particularly in the electronic equipment with sensing unit, and wherein, described electronic equipment includes first
Body, and the second body being connected with described the first noumenon, described the first noumenon can the most described second
Body rotates to an angle.
As shown in Figure 2, it is shown that a kind of structure chart of the electronic equipment of the embodiment of the present application application, Fig. 3 shows
Go out the another kind of structure chart of the electronic equipment of the embodiment of the present application application, understand in conjunction with Fig. 2 and Fig. 3, should
Electronic equipment includes the first noumenon 100 and the second body 200, the first noumenon 100 and the second body 200
Connect, by the first noumenon 100 is rotated relative to described second body 200 so that the first noumenon
100 and second when having corresponding angle between body 200, and electronic equipment can keep static with relative level.
The first noumenon can carry out rotating of 90 degree, 180 degree or 360 degree relative to the second body.
It should be noted that the electronic equipment of the embodiment of the present application is not limited to shown in Fig. 2 or Fig. 3
Structure, this electronic equipment can also use other version to realize, and meeting the first noumenon can be relative
Between second body rotatable.
Also, it should be noted the first noumenon and the second body first and second be intended merely to describe
Distinguishing two parts that can assist rotation that electronic equipment includes, the embodiment of the present application does not limit and Fig. 2
Or the first noumenon shown in Fig. 3 and the second body position relation concrete structure, in some cases, first
Body may also mean that the second body 200 shown in Fig. 2 or Fig. 3, and now, the second body i.e. refers to first
Body 100.
The first noumenon of the electronic equipment of the embodiment of the present application and the structural relation of the second body are not limited to
Shown in Fig. 2 or Fig. 3, in some cases, this first noumenon
Described method can include following step:
101: detected the attitude information of described electronic equipment relative level by described sensing unit.
Wherein, described attitude information can include described the first noumenon and described second body respectively with water
Angle between plane.
When electronic equipment is placed on supporter, described attitude information can also include the first noumenon and
Two bodies angle respectively and between supporter.
Described sensing unit is specifically as follows an angular transducer etc..
102: obtain status information when described electronic equipment has a described attitude information, described status information
At least include the center of gravity information of described electronic equipment.
When the attitude of electronic equipment changes, electronic equipment center of gravity i.e. may change, described center of gravity
Information can include gravity center shift information when electronic equipment has a described attitude information.
This center of gravity information can be made a concerted effort equal to zero according to power and principle of moment balance, i.e. electronic equipment are suffered,
Determine when resultant moment is equal to zero.
103: based on described attitude information and described status information, calculate and obtain rotation parameter, described rotation
Turn parameter and include the first direction of rotation and the first angle.
When electronic equipment has described attitude information, electronic equipment may not relative level independence
Ground keeps stable resting state, needs by adjusting the angle between the first noumenon and the second body, with
Adjust the center of gravity of electronic equipment, change the posture of electronic equipment so that electronic equipment can keep independently
Stable resting state.
Therefore in the present embodiment, can weight based on electronic equipment attitude information and time there is attitude information
Heart information, is calculated automatically from rotation parameter.
Such as, the center of gravity information when status information includes that electronic equipment has a described attitude information, this is heavy
When heart information includes position of centre of gravity, according to described attitude information and center of gravity information, first can be calculated
When which kind of attitude body and the second body have, i.e. angle between the first noumenon and the second body or
When why the angle of the first noumenon and the second body relative level respectively is worth, it is possible to make electronic equipment phase
Keep independently horizontal plane stably balancing.Thus the first noumenon and second can be obtained by calculating
The first angle between body, and be may determine that by the first angle between the first noumenon and the second body
Go out the first direction of rotation between the first noumenon and the second body.
104: control the most described second body of described the first noumenon of described electronic equipment according to described first
Direction of rotation and described first angle rotate so that the most described second body of described the first noumenon is in institute
State the first direction of rotation and there is described first angle, to keep described electronic equipment relative level independently
Keep stable resting state.
It is calculated rotation parameter, the most described second of the described the first noumenon of electronic equipment can be controlled
Body rotates according to described rotation parameter, so that the most described second body of the first noumenon is described
First direction of rotation has described first angle, to keep described electronic equipment relative level to protect independently
Keep steady fixed resting state.
The resting state keeping stable independently refers to when electronic equipment has described attitude information, not against
External force, by self pose adjustment, can keep stable resting state.
In actual applications, when user picks up electronic equipment, or electronic equipment is placed in a certain supporter
Time upper, the attitude information that electronic equipment has may not make it keep stable resting state independently,
Therefore by the present embodiment, the electronic equipment rotation parameter when having described attitude information is calculated, from
And the first noumenon that can control electronic equipment rotates automatically relative to the second body, with switch the first noumenon with
The attitude of the second body so that electronic equipment can keep stable resting state independently with relative level,
Manually adjust without user, easy to operate.
Wherein, can be connected by connector between the first noumenon and second body of described electronic equipment,
This connector includes driving means.
As another embodiment, step 104 controls the first noumenon the most described of described electronic equipment
Two bodies according to described first direction of rotation rotate to described first angle can particularly as follows:
Control described driving means and drive described connector so that the most described second of described the first noumenon
Body rotates to described first angle according to described first direction of rotation.
This driving means can be motor.
Wherein, based on described attitude information and described status information, calculate and obtain rotation parameter, specifically
Can be to detect that the center of gravity of the described electronic equipment variable quantity in a Preset Time meets one and presets
During condition, based on described attitude information and described status information, calculate and obtain rotation parameter.
When center of gravity information includes gravity center shift information, according to the gravity center shift amount in described Preset Time, can
To determine the size of gravity center shift, described predetermined condition can be that gravity center shift amount is big in described Preset Time
In preset value.If the gravity center shift amount in described Preset Time of electronic equipment is more than this preset value, then
Show that electronic equipment will be toppled over, it is impossible to enough relative level keep stable resting state independently.
If the gravity center shift amount that electronic equipment is in described Preset Time is less than or equal to this preset value, then
Show that electronic equipment still is able to the resting state that relative level keeps stable independently, it is not necessary to electronics is set
For carrying out pose adjustment.
In actual applications, using for convenience, electronic equipment would generally be placed in support and other can prop up
On the supporter of support electronic equipment thus without hand-hold electronic equipments, convenient operation.But when supporter one
Denier deflects, and electronic equipment also can deflect immediately, causes electronic equipment to fall.
Therefore one of the embodiment of the present application actual application is that described electronic equipment is placed on supporter, electricity
Subset is when relative support thing keeps stable resting state independently, when the kinestate of supporter is sent out
During changing, it is possible to cause electronic equipment to be toppled over, and cannot continue to keep steady independently by relative support thing
Fixed resting state, such as supporter turning, accelerate, when being moved upwardly or downwardly etc. along oblique,
This may result in electronic equipment to topple over.
And by the embodiment of the present application, the attitude information of electronic equipment can be detected and there is described attitude
Status information during information, when detecting that the center of gravity of the electronic equipment variable quantity in a Preset Time meets
During one predetermined condition, then show that electronic equipment relative support thing will be toppled over, it is impossible to continue to keep stable
Resting state.At this point it is possible to according to the attitude information of electronic equipment and status information, calculate and rotate ginseng
Number, and according to rotation parameter, the first noumenon controlling electronic equipment rotates relative to the second body, to adjust
The attitude of electronic equipment, adjusts position of centre of gravity so that electronic equipment relative support thing can keep independently
Stable resting state.
Now, this status information can also include speed parameter and/or the acceleration parameter of described electronic equipment
And/or angular velocity parameter.
Namely electronic equipment relative support thing is when keeping stable resting state independently, need the speed having
Spend parameter and/or acceleration parameter and/or angular velocity parameter.
This speed parameter and/or acceleration parameter and/or angular velocity parameter can be by detecting the speed of supporter
Degree and/or acceleration and/or acceleration determine.
Such as, an application scenarios is: electronic equipment is placed on supporter and when keeping geo-stationary,
Support thing Accelerating running, as a example by supporter is as automobile, automobile starting, when braking or raise speed, electronic equipment
Due to reasons such as inertia, it is possible to can topple over and fall, cause unnecessary loss.And by detection electricity
The attitude information of subset, and status information when there is described attitude information, if according to status information,
Detect that the center of gravity of the electronic equipment variable quantity in a Preset Time meets a predetermined condition, then show electricity
Subset will be toppled over.Status information now include at least including center of gravity information and speed parameter,
One or more etc. in acceleration parameter, based on described attitude information and have described attitude information
Status information, can calculate acquisition rotation parameter, and this rotation parameter includes the first direction of rotation and the first folder
Angle so that the first noumenon and second body of electronic equipment have described first angle in the first direction of rotation
Time, electronic equipment can keep stable resting state independently with relative support thing.
When being adjusted the attitude of electronic equipment according to described rotation parameter, under this scene, this is years old
The angle direction that one direction of rotation can be current with the first noumenon and the second body is consistent, therefore can nothing
Direction of rotation need to be adjusted, by automatically reducing or increasing angle amplitude.
And for example, another application scenarios is: electronic equipment is placed on supporter and when keeping geo-stationary,
Supporter is turned, as a example by supporter is as automobile, when automobile turning, if radius of turn is less than threshold value,
Electronic equipment is likely to topple over and fall.Now, if detecting, the center of gravity of electronic equipment is when one presets
Between variable quantity meet a predetermined condition, then show that electronic equipment will be toppled over, state under this scene letter
Breath at least include in center of gravity information, and speed parameter, angular velocity parameter, acceleration parameter one or
Multiple etc..Based on described attitude information and the status information with described attitude information, can calculate and obtain
Obtain rotation parameter.
When the attitude of electronic equipment being adjusted according to described rotation parameter, owing to supporter is turned,
Therefore the angle direction that the first direction of rotation can be current with the first noumenon and the second body is inconsistent, electronics
The first noumenon of equipment and the second body can realize the rotation of 360 degree, therefore according to described rotation parameter,
The angle direction that can adjust the first noumenon and the second body is described first direction of rotation, and changes
Angle between one body and the second body is described first angle, thereby may be ensured that electronic equipment phase
Supporter is in stable resting state.
And for example, another application scenarios is: electronic equipment is placed on supporter and when keeping geo-stationary,
Supporter is moved upwardly or downwardly along oblique, still as a example by automobile, in vehicle traveling process climbing or
During person's descending, the center of gravity of electronic equipment can change, if detecting, electronic equipment center of gravity is when one presets
Interior variable quantity meets a predetermined condition, and shows that electronic equipment will be toppled over.Now, under this scene
Status information at least include in center of gravity information, and speed parameter, acceleration parameter one or more
Deng.Therefore, based on described attitude information and the status information with described attitude information, i.e. can count
Calculate and obtain rotation parameter.
When the attitude of electronic equipment being adjusted according to described rotation parameter, the first noumenon can be adjusted
And second the angle direction of body be described first direction of rotation, and change the first noumenon and second
Angle between body is described first angle, i.e. can ensure that electronic equipment relative support thing is in stable
Resting state.
Therefore the most described second body of described the first noumenon controlling described electronic equipment in step 104 is pressed
Rotate according to described first direction of rotation and described first angle so that described the first noumenon the most described the
Two bodies have described first angle in described first direction of rotation, to keep described electronic equipment relative to water
Plane keeps the stable resting state just can be specifically independently:
Control the most described second body of the first noumenon of described electronic equipment according to described first direction of rotation
Rotate to described first angle so that described electronic equipment has described speed parameter and/or acceleration parameter
And/or angular velocity parameter, to keep described electronic equipment to keep independently stably relative to above support
Resting state.
In this application scenarios, as a kind of possible implementation, by described sensing in step 101
Unit detects the attitude information of described electronic equipment relative level can be specifically:
When detecting that above support switches to described kinestate from resting state, pass through sensing unit
Detect the attitude information of described electronic equipment relative level.
Therefore by the most described second body of the first noumenon of electronic equipment according to described first direction of rotation
Rotate to described first angle so that described electronic equipment has described speed parameter and/or acceleration parameter
And/or angular velocity parameter, electronic equipment i.e. can be kept relative to above support.So that support
Thing is kept in motion, and still can keep the electronic equipment resting state relative to it, so that electronics sets
For being unlikely to fall or topple over, electronic equipment is caused to damage.
Wherein, supporter is kept in motion, and in order to adjust electronic equipment attitude in real time, keeps electronics to set
The resting state of standby relative support thing, can detect described electronic equipment by described sensing unit in real time
The attitude information of relative level.
Described electronic equipment relative level can also be detected at regular intervals by described sensing unit
Attitude information, is i.e. periodically detected, when being kept in motion due to supporter, and acceleration the most in the same time
Or angular velocity is different, this certain time can be according to the acceleration parameter obtained or angular velocity dynamic state of parameters
Adjust, such as when acceleration is positioned at the first span, when described certain time is corresponding first
Between, when acceleration is positioned at the second span, described certain time is the second corresponding time.From
And i.e. can save power consumption without detecting the attitude information of electronic equipment in real time, inspection can also be improved simultaneously
The accuracy surveyed, enabling electronic equipment relative support thing can keep stable resting state independently.
Concrete, can be to detect that above support switches to described kinestate from resting state and is
Time starting point, detects the appearance of described electronic equipment relative level at regular intervals by sensing unit
State information.
For aforesaid embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action
Combination, but those skilled in the art should know, the application not limiting by described sequence of movement
System, because according to the application, some step can use other orders or carry out simultaneously.Secondly, originally
Skilled person also should know, embodiment described in this description belongs to preferred embodiment, institute
Necessary to the action related to and module not necessarily the application.
A kind of structural representation controlling one embodiment of device that Fig. 4 provides for the embodiment of the present application, institute
Stating device to be applied particularly in electronic equipment, it is desirably integrated in the processor of electronic equipment, as place
The function that reason device can realize, or be connected with the processor of electronic equipment as single module.
Wherein, described electronic equipment has sensing unit, described electronic equipment include the first noumenon and
The second body being connected with described the first noumenon;Described the first noumenon can rotate relative to described second body
Certain angle, the structure of described electronic equipment can be referring specifically to shown in Fig. 2 or Fig. 3.
It should be noted that Fig. 2 or 3 is the exemplary a kind of structural representation providing electronic equipment,
In actual applications, this electronic equipment can also use other version, and this electronic equipment can be
Notebook, has standoff panel computer etc..
When electronic equipment is notebook, the first noumenon can be the part that electronic equipment includes display screen,
Second body can be the part including keyboard.
The described control device that the embodiment of the present application provides may include that
Detector unit 401, for detecting the appearance of described electronic equipment relative level by described sensing unit
State information.
Wherein, described attitude information can include described the first noumenon and described second body respectively with water
Angle between plane.
When electronic equipment is placed on supporter, described attitude information can also include the first noumenon and
Two bodies angle respectively and between supporter.
Described sensing unit is specifically as follows an angular transducer etc..
Acquiring unit 402, for obtaining status information when described electronic equipment has described attitude information,
Described status information at least includes the center of gravity information of described electronic equipment.
When the attitude of electronic equipment changes, electronic equipment center of gravity i.e. may change, described center of gravity
Information can include gravity center shift information when electronic equipment has a described attitude information.
This center of gravity information can be made a concerted effort equal to zero according to power and principle of moment balance, i.e. electronic equipment are suffered,
Determine when resultant moment is equal to zero.
Computing unit 403, for based on described attitude information and described status information, calculates and obtains rotation
Parameter, described rotation parameter includes the first direction of rotation and the first angle.
When electronic equipment has described attitude information, electronic equipment may not relative level independently
Keep stable resting state, need by adjusting the angle between the first noumenon and the second body, to adjust
The center of gravity of whole electronic equipment so that electronic equipment can keep stable resting state independently.
Therefore in the present embodiment, can weight based on electronic equipment attitude information and time there is attitude information
Heart information, is calculated automatically from rotation parameter.
Such as, the center of gravity information when status information includes that electronic equipment has a described attitude information, this is heavy
When heart information includes position of centre of gravity, according to described attitude information and center of gravity information, first can be calculated
When which kind of attitude body and the second body have, i.e. angle between the first noumenon and the second body or
When why the angle of the first noumenon and the second body relative level respectively is worth, it is possible to electronic equipment is existed
Keep independently under described center of gravity information stably balancing.Thus by calculate can obtain the first noumenon with
The first angle between second body, and can by the first angle between the first noumenon and the second body
To determine the first direction of rotation between the first noumenon and the second body.
Control unit 404, for controlling the most described second body of described the first noumenon of described electronic equipment
Rotate according to described first direction of rotation and described first angle so that described the first noumenon is relatively described
Second body has described first angle in described first direction of rotation, to keep described electronic equipment relative
Horizontal plane keeps stable resting state independently.
In the present embodiment, by detecting the attitude information of electronic equipment, and electronic equipment has described
Status information during attitude information, can calculate acquisition electronics based on this attitude information and this status information
The rotation parameter of equipment, such that it is able to control the first noumenon of electronic equipment relative to the according to this rotation parameter
Two bodies rotate automatically, to switch the first noumenon and the attitude of the second body so that electronic equipment can phase
Horizontal plane is kept independently stable resting state, it is not necessary to user manually adjusts, easy to operate.
Wherein, can be connected by connector between the first noumenon of described electronic equipment and the second body,
This connector includes driving means.
Accordingly, as another embodiment, described control unit can be specifically for controlling described driving means
Drive described connector so that described the first noumenon relative to described second body according to described first side of rotation
To rotating to described first angle.
This driving means can be motor.
Wherein, the attitude information of detection electronic equipment relative level can detect in real time, naturally it is also possible to
It it is the attitude letter detecting electronic equipment relative level when center of gravity electronic equipment being detected changes
Breath.When electronic equipment center of gravity is constant, it relative level can keep stable resting state independently,
When its center of gravity changes, show that electronic equipment relative level can not keep stable quiet independently
Only state.
Accordingly, as another embodiment, described computing unit can be specifically for detecting that described electronics sets
When standby center of gravity variable quantity in a Preset Time meets a predetermined condition, based on described attitude information with
And described status information, calculate and obtain rotation parameter.
This predetermined condition can be in this Preset Time gravity center shift amount more than preset value.If electronic equipment
Gravity center shift amount in this Preset Time is more than this preset value, then show that electronic equipment will be toppled over, no
Relative level can keep stable resting state independently.
In actual applications, using for convenience, electronic equipment would generally be placed in support and other can prop up
On the supporter of support electronic equipment thus without hand-hold electronic equipments, convenient operation.But when supporter one
Denier deflects, and electronic equipment also can deflect immediately, causes electronic equipment to fall.
Therefore an actual application scenarios of the embodiment of the present application is that described electronic equipment is placed on supporter,
Electronic equipment is when relative support thing keeps stable resting state independently, when the kinestate of supporter
When changing, it is possible to cause electronic equipment to be toppled over, and cannot continue to keep independently by relative support thing
The turning when motion of stable resting state, such as supporter, acceleration, along oblique up or down
During cloud top etc., it is possible to cause electronic equipment to be toppled over.
And pass through the embodiment of the present application, when detecting the attitude information of electronic equipment and there is attitude information
Status information, when detecting that the center of gravity of electronic equipment variable quantity within a certain period of time meets predetermined condition,
Then show that electronic equipment relative support thing will be toppled over, it is impossible to continue to keep stable resting state.Now,
Rotation parameter can be calculated according to the attitude information of electronic equipment and status information, and according to rotating ginseng
Number, the first noumenon controlling electronic equipment rotates relative to the second body, to adjust the attitude of electronic equipment,
Adjust position of centre of gravity so that electronic equipment relative support thing can keep stable resting state independently.
Now, this status information can also include speed parameter and/or the acceleration parameter of described electronic equipment
And/or angular velocity parameter.
This speed parameter and/or acceleration parameter and/or angular velocity parameter can be by detecting the speed of supporter
Degree and/or acceleration and/or acceleration determine.
According to the center of gravity information in status information, and speed parameter and/or acceleration parameter and/or angular velocity
Parameter, when can be calculated supporter motion, keeps electronic equipment relative support thing to be in independent stable
Resting state time rotation parameter.
As another embodiment, described control unit can be specifically for controlling the first of described electronic equipment
Body rotates to described first angle according to described first direction of rotation relative to described second body so that institute
State electronic equipment and there is described speed parameter and/or acceleration parameter and/or angular velocity parameter, to keep described
Electronic equipment keeps stable resting state independently relative to above support.
In this application scenarios, as another embodiment, described detector unit can be specifically for when detection
To above support when resting state switches to described kinestate, detect described electricity by sensing unit
The attitude information of subset relative level.
Now, the most i.e. to refer to that supporter is in static for the attitude information of described electronic equipment relative level
During state, electronic equipment is in attitude information during the most stable resting state relative to above support.
Therefore by the most described second body of the first noumenon of electronic equipment according to described first direction of rotation
Rotate to described first angle so that described electronic equipment has described speed parameter and/or acceleration parameter
And/or angular velocity parameter, electronic equipment i.e. can be kept relative to above support.So that support
Thing is kept in motion, and still can keep the electronic equipment resting state relative to it, so that electronics sets
For being unlikely to fall or topple over, electronic equipment is caused to damage.
Time especially, when supporter is automobile, electronic equipment is placed on the automobile of motion, and no matter automobile adds
Speed, turn or climb, descending time, all relatively can keep stable resting state independently, no by automobile
Electronic equipment only it is possible to prevent to crash, the most convenient for users.
Wherein, supporter is kept in motion, and in order to adjust electronic equipment attitude in real time, keeps electronics to set
The resting state of standby relative support thing, can detect described electronic equipment by described sensing unit in real time
The attitude information of relative level.
Described electronic equipment relative level can also be detected at regular intervals by described sensing unit
Attitude information, is i.e. periodically detected.
Accordingly, as another embodiment, described detector unit can specifically at interval of certain time,
The attitude information of described electronic equipment relative level, wherein, described one is detected by described sensing unit
Fix time and determine according to described status information.
When being kept in motion due to supporter, acceleration or angular velocity the most in the same time are different, and this is one years old
Fix time and can adjust, such as when acceleration position according to the acceleration parameter obtained or angular velocity dynamic state of parameters
Time in the first span, described certain time is the corresponding very first time, when acceleration is positioned at second
Time in span, described pre-certain time is the second corresponding time.Thus i.e. can be without inspection in real time
Survey the attitude information of electronic equipment, save power consumption, the accuracy of detection can also be improved so that energy simultaneously
Enough electronic equipment relative support things can keep stable resting state independently.
Wherein, concrete, described detector unit can be to detect that above support is cut from resting state
Shifting to described kinestate is time starting point, detects described electronics by sensing unit at regular intervals
The attitude information of equipment relative level.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing
Fairly simple, relevant part sees method part and illustrates.
For convenience of description, it is divided into various unit to be respectively described with function when describing apparatus above.Certainly,
The function of each unit can be realized in same or multiple softwares and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that arrive
The application can add the mode of required general hardware platform by software and realize.Based on such understanding,
The part that prior art is contributed by the technical scheme of the application the most in other words can be with software product
Form embody, this computer software product can be stored in storage medium, as ROM/RAM,
Magnetic disc, CD etc., including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform each embodiment of the application or some part institute of embodiment
The method stated.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses
The application.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can in the case of without departing from spirit herein or scope,
Realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.
Claims (12)
1. a control method for electronic equipment, described electronic equipment has sensing unit, and described electronics sets
For including: the first noumenon and the second body being connected with described the first noumenon;Described first physical ability
The most described enough second body rotates to an angle;Described method includes:
The attitude information of described electronic equipment relative level is detected by described sensing unit;
Obtaining status information when described electronic equipment has a described attitude information, described status information is at least
Center of gravity information including described electronic equipment;
Based on described attitude information and described status information, calculating and obtain rotation parameter, described rotation is joined
Number includes the first direction of rotation and the first angle;
The described the first noumenon controlling described electronic equipment rotates according to described first relative to described second body
Direction and described first angle rotate so that the most described second body of described the first noumenon is described the
One direction of rotation has described first angle, to keep described electronic equipment relative level to keep independently
Stable resting state.
Method the most according to claim 1, it is characterised in that described based on described attitude information with
And described status information, calculate and obtain rotation parameter and include:
Detect that the center of gravity of the described electronic equipment variable quantity in a Preset Time meets a predetermined condition
Time, based on described attitude information and described status information, calculate and obtain rotation parameter.
Method the most according to claim 1, it is characterised in that when described second body is positioned at support
On thing, and when above support is kept in motion, described status information also includes described electronic equipment
Speed parameter and/or acceleration parameter and/or angular velocity parameter;
The described the first noumenon controlling described electronic equipment rotates according to described first relative to described second body
Direction and described first angle rotate so that the most described second body of described the first noumenon is described the
One direction of rotation has described first angle, to keep described electronic equipment relative level to keep independently
Stable resting state includes:
Control the most described second body of the first noumenon of described electronic equipment according to described first direction of rotation
Rotate to described first angle so that described electronic equipment has described speed parameter and/or acceleration parameter
And/or angular velocity parameter, to keep described electronic equipment to keep stable quiet independently relative to above support
Only state.
Method the most according to claim 3, it is characterised in that described the first noumenon and described second
Body is connected by connector, and described connector includes driving means;
The first noumenon of the described electronic equipment of described control rotates according to described first relative to described second body
Direction rotates to described first angle and includes:
Control described driving means and drive described connector so that the most described second of described the first noumenon
Body rotates to described first angle according to described first direction of rotation.
Method the most according to claim 3, it is characterised in that described examined by described sensing unit
The attitude information surveying described electronic equipment relative level includes:
When detecting that above support switches to described kinestate from resting state, pass through sensing unit
Detect the attitude information of described electronic equipment relative level.
Method the most according to claim 3, it is characterised in that described examined by described sensing unit
The attitude information surveying described electronic equipment relative level includes:
At interval of certain time, detected the appearance of described electronic equipment relative level by described sensing unit
State information, wherein, described certain time determines according to described status information.
7. a control device for electronic equipment, described electronic equipment has sensing unit, and described electronics sets
For including: the first noumenon and the second body being connected with described the first noumenon;Described first physical ability
The most described enough second body rotates to an angle;Described device includes:
Detector unit, for detecting the attitude of described electronic equipment relative level by described sensing unit
Information;
Acquiring unit, for obtaining status information when described electronic equipment has described attitude information, institute
State status information and at least include the center of gravity information of described electronic equipment;
Computing unit, for based on described attitude information and described status information, calculates to obtain to rotate and joins
Number, described rotation parameter includes the first direction of rotation and the first angle;
Control unit, presses for controlling the most described second body of described the first noumenon of described electronic equipment
Rotate according to described first direction of rotation and described first angle so that described the first noumenon the most described the
Two bodies have described first angle in described first direction of rotation, to keep described electronic equipment relative to water
Plane keeps stable resting state independently.
Device the most according to claim 7, it is characterised in that described computing unit is specifically for inspection
Measure the center of gravity of the described electronic equipment variable quantity in a Preset Time when meeting a predetermined condition, based on
Described attitude information and described status information, calculate and obtain rotation parameter.
Device the most according to claim 7, it is characterised in that when described second body is positioned at support
On thing, and when above support is kept in motion, described status information also includes described electronic equipment
Speed parameter and/or acceleration parameter and/or angular velocity parameter;
Described control unit is specifically for controlling the most described second body of the first noumenon of described electronic equipment
Rotate to described first angle according to described first direction of rotation so that described electronic equipment has described speed
Spend parameter and/or acceleration parameter and/or angular velocity parameter, to keep the most described support of described electronic equipment
Thing keeps stable resting state independently.
Device the most according to claim 9, it is characterised in that described the first noumenon and described the
Two bodies are connected by connector, and described connector includes driving means;
Described control unit drives described connector specifically for controlling described driving means so that described the
One body rotates to described first angle according to described first direction of rotation relative to described second body.
11. devices according to claim 9, it is characterised in that described detector unit specifically for
When detecting that above support switches to described kinestate from resting state, detected by sensing unit
The attitude information of described electronic equipment relative level.
12. devices according to claim 9, it is characterised in that described detector unit specifically for
At interval of certain time, the attitude being detected described electronic equipment relative level by described sensing unit is believed
Breath, wherein, described certain time determines according to described status information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410071972.XA CN103792958B (en) | 2014-02-28 | 2014-02-28 | A kind of control method of electronic device and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410071972.XA CN103792958B (en) | 2014-02-28 | 2014-02-28 | A kind of control method of electronic device and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103792958A CN103792958A (en) | 2014-05-14 |
CN103792958B true CN103792958B (en) | 2016-08-17 |
Family
ID=50668741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410071972.XA Active CN103792958B (en) | 2014-02-28 | 2014-02-28 | A kind of control method of electronic device and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103792958B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102602B (en) * | 2014-08-05 | 2018-04-27 | 联想(北京)有限公司 | control method and device |
CN104156072B (en) * | 2014-08-25 | 2017-05-24 | 联想(北京)有限公司 | Control method and device and electronic device |
CN113596213B (en) * | 2020-04-30 | 2024-01-30 | 维沃移动通信有限公司 | Bracket control method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102955431A (en) * | 2011-08-22 | 2013-03-06 | 联想(北京)有限公司 | Electronic equipment and control method thereof |
CN103185652A (en) * | 2011-12-30 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | Article falling prevention device and article falling prevention method |
CN103246323A (en) * | 2012-02-08 | 2013-08-14 | 仁宝电脑工业股份有限公司 | Electronic device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4616597B2 (en) * | 2004-08-27 | 2011-01-19 | 富士通株式会社 | Electronic equipment |
US7558013B2 (en) * | 2006-01-12 | 2009-07-07 | Hewlett-Packard Development Company, L.P. | Programming a sensitivity level into an inertial sensor based on a proxy of whether a system is in transit |
-
2014
- 2014-02-28 CN CN201410071972.XA patent/CN103792958B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102955431A (en) * | 2011-08-22 | 2013-03-06 | 联想(北京)有限公司 | Electronic equipment and control method thereof |
CN103185652A (en) * | 2011-12-30 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | Article falling prevention device and article falling prevention method |
CN103246323A (en) * | 2012-02-08 | 2013-08-14 | 仁宝电脑工业股份有限公司 | Electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN103792958A (en) | 2014-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11311778B2 (en) | Interactive exercise machine support and mounting system | |
EP3445462B1 (en) | Self-propelled personal transportation device and control system | |
US10894321B1 (en) | Mobile robot | |
CN106292741A (en) | A kind of mobile machine user tripod head system based on brushless electric machine | |
WO2018032707A1 (en) | Fall protection method for mobile terminal, fall protection device, and computer storage medium | |
CN103792958B (en) | A kind of control method of electronic device and device | |
CN106681369A (en) | Cloud deck gesture control method and system | |
CN107263486A (en) | A kind of robot overturning-preventing method, device and overturning-preventing robot | |
CN104860202B (en) | Device and method for measuring swinging angle of double-lifting tool bridge crane | |
CN105793186A (en) | Method and system for controlling a load | |
CN207045785U (en) | A kind of electronic unmanned plane dynamical system is test bed and test system | |
CN105947046B (en) | A kind of control system of balance car and balance car | |
JP6156605B1 (en) | Unmanned air vehicle, charging system, and control method of charging system | |
CN107922025A (en) | Self-balancing carrier | |
CA2943443C (en) | Absolute vector gravimeter and methods of measuring an absolute gravity vector | |
TW201643579A (en) | System and method for automatically driving UAV | |
CN209290651U (en) | A kind of propulsion device and underwater robot for underwater robot | |
CN113310471B (en) | High-stability high-precision geographic information mapping device | |
CN104865961B (en) | Control method, device and electronic equipment | |
CN106155077A (en) | A kind of four-rotor aircraft control system and control method | |
US11397429B2 (en) | Apparatus for detecting tilt, lean, movement, rotation, of a user, rider, payload | |
KR101745864B1 (en) | Apparatus for measuring body movement | |
Aphiratsakun et al. | Implementation of AU balancing ballbot (AUB 3 | |
Kim et al. | A rolling robot: Design and implementation | |
CN106737747A (en) | A kind of Robot Dual-Arm self-balance method and robot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |