CN106095117A - The determination method and device of picture display mode - Google Patents
The determination method and device of picture display mode Download PDFInfo
- Publication number
- CN106095117A CN106095117A CN201610654005.5A CN201610654005A CN106095117A CN 106095117 A CN106095117 A CN 106095117A CN 201610654005 A CN201610654005 A CN 201610654005A CN 106095117 A CN106095117 A CN 106095117A
- Authority
- CN
- China
- Prior art keywords
- smart machine
- gravitational acceleration
- acceleration component
- frame
- state
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to the determination method and device of picture display mode.The method includes: obtain the touch information of touch sensor;Obtain smart machine gravitational acceleration component on preset direction;According to touch information and gravitational acceleration component, determine smart machine is held state;The target picture display mode of smart machine is defined as the picture display mode suitable with the state that is held.This technical scheme, after getting touch information and gravitational acceleration component, can be more intelligent and accurately determine the state that is held of smart machine according to touch information and gravitational acceleration component both information, and then the target picture display mode of smart machine is defined as the picture display mode suitable with the state that is held, so that smart machine current picture can take whole display screen, to improve the utilization rate to on-screen display (osd) area, the display direction simultaneously also making picture is consistent with the view direction of user.
Description
Technical field
It relates to field of terminal technology, particularly relate to the determination method and device of picture display mode.
Background technology
At present, increasing user uses intelligent terminal, and the intelligent terminal in correlation technique is substantially use weight
Force transducer and/or acceleration transducer judge the state that is held of terminal or direct prompting user lock-screen side
To, it is impossible to accomplish intelligence and the state that is held of identification terminal exactly, cause the picture display mode in some cases cannot be with
Being held of terminal is condition adapted, and display efficiency is the highest or display effect is poor.
Summary of the invention
Disclosure embodiment provides the determination method and device of picture display mode.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of determination method of picture display mode, determines that method is fitted
For being provided with the smart machine of touch sensor, and described method includes:
Obtain the touch information of described touch sensor;
Obtain described smart machine gravitational acceleration component on preset direction;
According to described touch information and described gravitational acceleration component, determine described smart machine is held state;
It is defined as the target picture display mode of described smart machine showing with the described picture being held state suitable
Show mode.
In one embodiment, the touch information of the described touch sensor of described acquisition, including:
Determine and whether touch operation detected on the predeterminated position being provided with described touch sensor, wherein, described pre-
If position includes at least one position following:
In the middle part of the left side vertical edges frame bottom in display screen front, the vertical frame in left side, left side vertical edges arch, right side erect
Bottom frame, in the middle part of the vertical frame in right side and the vertical edges arch of right side;
Described acquisition described smart machine gravitational acceleration component on preset direction, including:
Obtain acceleration of gravity the first gravitational acceleration component in the X-axis direction, acceleration of gravity in the Y-axis direction
In second gravitational acceleration component and acceleration of gravity the 3rd gravitational acceleration component in the Z-axis direction, at least one gravity adds
Velocity component, wherein, described smart machine with frame horizontal along bottom and away from the vertical frame in described left side direction for X-axis just
To, be Y-axis forward with the direction along the vertical frame in described left side and away from the horizontal frame in described bottom, with described smart machine
The direction that display screen is just facing outwardly is Z axis forward;
The described state that is held includes:
Described smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
In one embodiment, the state that is held described in also includes: described smart machine is in perpendicular to be held state or horizontal holds shape
Relative position relation between frame during state.
In one embodiment, described according to described touch information with described gravitational acceleration component, determine described intelligence
Equipment be held state, including:
When described touch information is for all to detect at described left side vertical edges frame bottom and described right side vertical edges frame bottom
Described touch operation and be all not detected by described touch at described left side vertical edges arch and described right side vertical edges arch
During operation, if the absolute value of described second gravitational acceleration component is more than the absolute value of described first gravitational acceleration component, then
Determine that described smart machine is in perpendicular to hold the horizontal frame of state and described bottom and be positioned at the horizontal frame in top of described smart machine
Lower section.
In one embodiment, described according to described touch information with described gravitational acceleration component, determine described intelligence
Equipment be held state, including:
When described touch information is not for all to detect at described left side vertical edges frame bottom and described right side vertical edges frame bottom
To described touch operation, all detect that described touch is grasped at described left side vertical edges arch and described right side vertical edges arch
When the absolute value of work and described second gravitational acceleration component is more than the absolute value of described first gravitational acceleration component, determine institute
State smart machine to be in and perpendicular hold the horizontal frame of state and described bottom and be positioned at the top of the horizontal frame in described top.
In one embodiment, described predeterminated position also includes: four corners of the horizontal frame of described smart machine, its
In, described horizontal frame includes: the horizontal frame in top of the horizontal frame in described bottom and described smart machine;
Described according to described touch information with described gravitational acceleration component, determine described smart machine is held shape
State, including:
When described touch information be detect at least one corner in four corners of described horizontal frame described
During touch operation, determine that described smart machine is in and horizontal hold state;
Or
Described according to described touch information with described gravitational acceleration component, determine described smart machine is held shape
State, including
When described touch information is for and all detecting in the middle part of the vertical frame in described right side in the middle part of the vertical frame in described left side
Described touch operation and in described predeterminated position except in the middle part of the vertical frame in described left side and the vertical frame in described right side in addition to
When other positions are all not detected by described touch operation, determine that described smart machine is in and horizontal hold state.
In one embodiment, described according to described touch information with described gravitational acceleration component, determine described intelligence
Equipment be held state, including:
Determine described smart machine be in horizontal hold state time, it is judged that whether described first gravitational acceleration component is less than
Zero;
When described first gravitational acceleration component is less than zero, determine that the vertical frame in described left side is positioned at described right side vertical
The lower section of frame;
When described first gravitational acceleration component is more than zero, determine that the vertical frame in described left side is positioned at described right side vertical
The top of frame;
When described first gravitational acceleration component is equal to zero, determine that described smart machine is in horizontal positioned state.
In one embodiment, described according to described touch information with described gravitational acceleration component, determine described intelligence
Equipment be held state, including:
According in described touch information and described first gravitational acceleration component and the second gravitational acceleration component extremely
One item missing information cannot determine described in when being held state, it is judged that whether the absolute value of described 3rd gravitational acceleration component is less than
Preset acceleration of gravity threshold value;
When the absolute value of described 3rd gravitational acceleration component is more than or equal to described default acceleration of gravity threshold value, really
Fixed described smart machine is in described horizontal positioned state;
Or
When the absolute value of described 3rd gravitational acceleration component is less than described default acceleration of gravity threshold value, it is judged that described
Whether the absolute value of the second gravitational acceleration component is more than the absolute value of described first gravitational acceleration component;
When the absolute value of described second gravitational acceleration component is more than the absolute value of described first gravitational acceleration component,
Determine that described smart machine is in erect and hold state.
In one embodiment, described method also includes:
When described smart machine is in and erects state of holding and described second gravitational acceleration component less than zero, determine the described end
The horizontal frame in portion is positioned at the lower section of the horizontal frame in top of described smart machine;
When described smart machine is in and erects state of holding and described second gravitational acceleration component more than zero, determine the described end
The horizontal frame in portion is positioned at the top of the horizontal frame in top of described smart machine.
In one embodiment, described method also includes:
When the absolute value of described second gravitational acceleration component is not more than the absolute value of described first gravitational acceleration component
Time, determine that described smart machine is in and horizontal hold state;
Determine described smart machine be in horizontal hold state after, when described first gravitational acceleration component less than zero time,
Determine that the vertical frame in described left side is positioned at the lower section of the vertical frame in described right side;
When described first gravitational acceleration component is more than zero, determine that the vertical frame in described left side is positioned at described right side vertical
The top of frame.
In one embodiment, described touch sensor includes:
The independent touch sensor being respectively provided with on the described predeterminated position that each are different;
Described determine whether touch operation detected on the predeterminated position being provided with described touch sensor, including:
Determine whether each independent touch sensor detects described touch operation.
In one embodiment, described touch sensor includes:
The 7th touch sensor being separately positioned on the vertical frame in described left side and be arranged on the vertical frame in described right side
On the 8th touch sensor;
The touch information of the described touch sensor of described acquisition, including:
When determining that described 7th touch sensor and/or described 8th touch sensor detect described touch operation,
Obtain described 7th touch sensor and/or the touch location of described touch operation that described 8th touch sensor detects.
In one embodiment, described it is defined as being held with described by the target picture display mode of described smart machine
The suitable picture display mode of state includes:
When the currently displaying picture of described smart machine does not takes display screen or the display side of described currently displaying picture
When the picture view direction current with user is inconsistent, adjust the display mode of described currently displaying picture so that after adjustment
The display mode of currently displaying picture be described target picture display mode.
Second aspect according to disclosure embodiment, it is provided that the determination device of a kind of picture display mode, described device is fitted
For being provided with the smart machine of touch sensor, and described device includes:
First acquisition module, for obtaining the touch information of described touch sensor;
Second acquisition module, for obtaining described smart machine gravitational acceleration component on preset direction;
First determines module, for according to described touch information and described gravitational acceleration component, determines that described intelligence sets
Standby is held state;
Second determines module, for being defined as being held shape with described by the target picture display mode of described smart machine
The picture display mode that state is suitable.
In one embodiment, described first acquisition module includes:
First determines submodule, for determine whether detect on the predeterminated position being provided with described touch sensor tactile
Touching operation, wherein, described predeterminated position includes at least one position following:
In the middle part of the left side vertical edges frame bottom in display screen front, the vertical frame in left side, left side vertical edges arch, right side erect
Bottom frame, in the middle part of the vertical frame in right side and the vertical edges arch of right side;
Described second acquisition module includes:
First obtains submodule, for obtaining acceleration of gravity the first gravitational acceleration component in the X-axis direction, gravity
Acceleration the second gravitational acceleration component in the Y-axis direction and acceleration of gravity the 3rd acceleration of gravity in the Z-axis direction
At least one gravitational acceleration component in component, wherein, described smart machine is with frame horizontal along bottom and away from described left side
The direction of vertical frame be X-axis forward, with along the vertical frame in described left side and away from the direction of the horizontal frame in described bottom as Y-axis
Forward, with direction that the display screen of described smart machine is just facing outwardly for Z axis forward;
The described state that is held includes:
Described smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
In one embodiment, the state that is held described in also includes: described smart machine is in perpendicular to be held state or horizontal holds shape
Relative position relation between frame during state.
In one embodiment, described first determines that module includes:
Second determines submodule, is used for when described touch information is to erect at described left side vertical edges frame bottom and described right side
Described touch operation is all detected and at described left side vertical edges arch and described right side vertical edges arch bottom frame
When being all not detected by described touch operation, if the absolute value of described second gravitational acceleration component accelerates more than described first gravity
The absolute value of degree component, it is determined that described smart machine is in the perpendicular horizontal frame of state and described bottom of holding and is positioned at described intelligence and sets
The lower section of the horizontal frame in standby top.
In one embodiment, described first determines that module includes:
3rd determines submodule, is used for when described touch information is to erect at described left side vertical edges frame bottom and described right side
Described touch operation all it is not detected by, at described left side vertical edges arch and described right side vertical edges arch bottom frame
All detect that the absolute value of described touch operation and described second gravitational acceleration component divides more than described first acceleration of gravity
During the absolute value of amount, determine that described smart machine is in and perpendicular hold the horizontal frame of state and described bottom and be positioned at described top widthwise edge
The top of frame.
In one embodiment, described predeterminated position also includes: four corners of the horizontal frame of described smart machine, its
In, described horizontal frame includes: the horizontal frame in top of the horizontal frame in described bottom and described smart machine;
Described first determines that module includes:
4th determines submodule, is used for when described touch information is at least in four corners of described horizontal frame
When described touch operation being detected on individual corner, determine that described smart machine is in and horizontal hold state;
Or
Described first determines that module includes
5th determines submodule, is used for when described touch information is to erect with described right side in the middle part of the vertical frame in described left side
In the middle part of frame, described touch operation all detected and remove in described predeterminated position in the middle part of the vertical frame in described left side with described
When other positions outside the vertical frame in right side are all not detected by described touch operation, determine that described smart machine is in and horizontal hold shape
State.
In one embodiment, described first determines that module includes:
First judges submodule, for determine described smart machine be in horizontal hold state time, it is judged that described first gravity
Whether component of acceleration is less than zero;
6th determines submodule, for when described first gravitational acceleration component is less than zero, determining that described left side is vertical
Frame is positioned at the lower section of the vertical frame in described right side;
7th determines submodule, for when described first gravitational acceleration component is more than zero, determining that described left side is vertical
Frame is positioned at the top of the vertical frame in described right side;
8th determines submodule, for when described first gravitational acceleration component is equal to zero, determining described smart machine
It is in horizontal positioned state.
In one embodiment, described first determines that module includes:
Second judges submodule, for according to described touch information and described first gravitational acceleration component and the second weight
At least one information in power component of acceleration cannot determine described in when being held state, it is judged that described 3rd acceleration of gravity divides
Whether the absolute value of amount is less than presetting acceleration of gravity threshold value;
9th determines submodule, for presetting more than or equal to described when the absolute value of described 3rd gravitational acceleration component
During acceleration of gravity threshold value, determine that described smart machine is in described horizontal positioned state;
Or
3rd judges submodule, for adding less than described default gravity when the absolute value of described 3rd gravitational acceleration component
During threshold speed, it is judged that whether the absolute value of described second gravitational acceleration component is more than described first gravitational acceleration component
Absolute value;
Tenth determines submodule, for adding more than described first gravity when the absolute value of described second gravitational acceleration component
During the absolute value of velocity component, determine that described smart machine is in and perpendicular hold state.
In one embodiment, described device also includes:
3rd determines module, for perpendicular holding state and described second gravitational acceleration component is little when described smart machine is in
In zero time, determine that the horizontal frame in described bottom is positioned at the lower section of the horizontal frame in top of described smart machine;
4th determines module, for perpendicular holding state and described second gravitational acceleration component is big when described smart machine is in
In zero time, determine that the horizontal frame in described bottom is positioned at the top of the horizontal frame in top of described smart machine.
In one embodiment, described device also includes:
5th determines module, for adding when the absolute value of described second gravitational acceleration component is not more than described first gravity
During the absolute value of velocity component, determine that described smart machine is in and horizontal hold state;
6th determines module, for determine described smart machine be in horizontal hold state after, when described first gravity adds
When velocity component is less than zero, determine that the vertical frame in described left side is positioned at the lower section of the vertical frame in described right side;
7th determines module, for when described first gravitational acceleration component is more than zero, determining described left side vertical edges
Frame is positioned at the top of the vertical frame in described right side.
In one embodiment, described touch sensor includes:
The independent touch sensor being respectively provided with on the described predeterminated position that each are different;
Described first determines that submodule includes:
First determines unit, for determining whether each independent touch sensor detects described touch operation.
In one embodiment, described touch sensor includes:
The 7th touch sensor being separately positioned on the vertical frame in described left side and be arranged on the vertical frame in described right side
On the 8th touch sensor;
Described first acquisition module includes:
Second obtains submodule, for when determining described 7th touch sensor and/or described 8th touch sensor inspection
When measuring described touch operation, obtain described 7th touch sensor and/or that described 8th touch sensor detects is described
The touch location of touch operation.
In one embodiment, described second determines that module includes:
Adjust submodule, for not taking display screen or described current aobvious when the currently displaying picture of described smart machine
Show when the display direction of the picture picture view direction current with user is inconsistent, adjust the display side of described currently displaying picture
Formula so that the display mode of the currently displaying picture after adjustment is described target picture display mode.
The third aspect according to disclosure embodiment, it is provided that the determination device of a kind of picture display mode, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the touch information of described touch sensor;
Obtain described smart machine gravitational acceleration component on preset direction;
According to described touch information and described gravitational acceleration component, determine described smart machine is held state;
It is defined as the target picture display mode of described smart machine showing with the described picture being held state suitable
Show mode.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The technical scheme of offer is provided, after getting touch information and gravitational acceleration component, can
With more intelligent and accurately determine being held of smart machine according to touch information and gravitational acceleration component both information
State, and then the target picture display mode of smart machine is defined as the picture display mode suitable with the state that is held,
So that smart machine current picture can take whole display screen, to improve the utilization rate to on-screen display (osd) area, simultaneously
Also the display direction making picture is consistent with the view direction of user, improves display effect.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe
The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure
Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of the determination method according to a kind of picture display mode shown in an exemplary embodiment.
Fig. 2 is the flow chart of the determination method according to the another kind of picture display mode shown in an exemplary embodiment.
Fig. 3 A is the flow chart of the determination method according to another the picture display mode shown in an exemplary embodiment.
Fig. 3 B is the flow chart of the determination method according to another the picture display mode shown in an exemplary embodiment.
Fig. 4 is the block diagram of the determination device according to a kind of picture display mode shown in an exemplary embodiment.
Fig. 5 is the block diagram according to a kind of smart machine being provided with touch sensor shown in an exemplary embodiment.
Fig. 6 is the block diagram of the determination device according to the another kind of picture display mode shown in an exemplary embodiment.
Fig. 7 is the block diagram of the determination device according to another the picture display mode shown in an exemplary embodiment.
Fig. 8 A is the block diagram of the determination device according to another the picture display mode shown in an exemplary embodiment.
Fig. 8 B is the block diagram of the determination device according to another the picture display mode shown in an exemplary embodiment.
Fig. 9 is the block diagram of the determination device according to another the picture display mode shown in an exemplary embodiment.
Figure 10 is the block diagram of the determination device according to another the picture display mode shown in an exemplary embodiment.
Figure 11 is the block diagram according to the determination device being applicable to picture display mode shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended
The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
At present, increasing user uses intelligent terminal, and the intelligent terminal in correlation technique is substantially use weight
Force transducer and/or acceleration transducer judge the state that is held of terminal or direct prompting user lock-screen side
To, it is impossible to accomplish intelligence and the state that is held of identification terminal exactly, cause user when using intelligent terminal, picture aobvious
Show that mode is not mated with the state that is held of terminal.
In order to solve above-mentioned technical problem, disclosure embodiment provides a kind of determination method of picture display mode, should
Method can be used in determination program, system or the device of picture display mode, and executive agent corresponding to the method can be to use
The mobile phone of family use, flat board, computer etc. are provided with the smart machine of touch sensor, as it is shown in figure 1, the method comprising the steps of
S101 is to step S104:
In step S101, obtain the touch information of touch sensor;
Touch sensor can be capacitive touch sensors.
In step s 102, smart machine gravitational acceleration component on preset direction is obtained.
This preset direction can be X-direction, Y direction or the Z-direction set.
In step s 103, according to touch information and gravitational acceleration component, determine smart machine is held state.
In step S104, the target picture display mode of smart machine is defined as the picture suitable with the state that is held
Face display mode, wherein, target picture display mode is: currently displaying picture takes display screen and the display of currently displaying picture
The direction picture view direction current with user is consistent.
After getting touch information and gravitational acceleration component, can be according to touch information and gravitational acceleration component
Both information is more intelligent and accurately determines the state that is held of smart machine, and then the target picture of smart machine is shown
The mode of showing is defined as the picture display mode suitable with the state that is held, so that smart machine current picture can take
Whole display screen, to improve the utilization rate to on-screen display (osd) area, also makes the display direction of picture and the viewing of user simultaneously
Direction is consistent.
In one embodiment, step S101 in above-mentioned Fig. 1 can be performed as:
Determine and whether touch operation detected on the predeterminated position be provided with touch sensor, wherein, predeterminated position bag
Include at least one position following:
In the middle part of the left side vertical edges frame bottom in display screen front, the vertical frame in left side, left side vertical edges arch, right side erect
Bottom frame, in the middle part of the vertical frame in right side and the vertical edges arch of right side.
Left side vertical edges frame bottom can be the position in 2/5ths regions bottom display screen left border, left side vertical edges
Can be the position in 1/5th regions in the middle part of display screen left border in the middle part of frame, left side vertical edges arch can be display screen
The position in region, left border top 1/5th.
Similarly, right side vertical edges frame bottom can be the position in 2/5ths regions bottom display screen Right Border, right
Can be the position in 1/5th regions in the middle part of display screen Right Border in the middle part of the vertical frame in side, right side vertical edges arch be permissible
It it is the position in region, display screen Right Border top 1/5th.
Step S102 in above-mentioned Fig. 1 can be performed as:
Obtain acceleration of gravity the first gravitational acceleration component in the X-axis direction, acceleration of gravity in the Y-axis direction
In second gravitational acceleration component and acceleration of gravity the 3rd gravitational acceleration component in the Z-axis direction, at least one gravity adds
Velocity component, wherein, the smart machine direction with frame horizontal along bottom and away from the vertical frame in left side is X-axis forward, with edge
The vertical frame in left side and the direction away from the horizontal frame in bottom are Y-axis forward, just face being perpendicular to the display screen of smart machine
Outer direction is Z axis forward.
As it is shown in figure 5, in Figure 5, the horizontal frame in bottom is the sign position bottom smart machine near the X-axis shown in Fig. 5
The horizontal frame put, the horizontal frame in top is the smart machine top horizontal frame away from the marker location of the X-axis shown in Fig. 5,
The vertical frame in left side is the vertical frame of marker location near the Y-axis shown in Fig. 5 on the left of smart machine in Fig. 5, and right side is vertical
Frame is the vertical frame of marker location away from the Y-axis shown in Fig. 5 on the right side of smart machine in Fig. 5, it addition, the label 1 in Fig. 5
Black region to 6 correspondences represents each position in predeterminated position respectively, and the black region place of label 1 to 3 correspondence in Fig. 5
Position represent respectively left side vertical edges frame bottom to top, the position at the black region place of label 4 to 6 correspondence represents respectively
Right side vertical edges frame bottom is to top.
It addition, the direction that smart machine is with frame horizontal along bottom and away from the vertical frame in left side represents for X-axis forward: intelligence
Can the actual frame of equipment horizontal frame with the bottom direction away from the vertical frame in left side that is as the criterion for X-axis forward, such as smart machine
Laying state when being the state shown in Fig. 5, X-axis forward the most to the right, will not the most to the left.
Similarly, and smart machine with frame vertical along left side and away from the direction of the horizontal frame in bottom for Y-axis forward table
Show: the actual frame of smart machine vertical frame with the left side direction away from the horizontal frame in bottom that is as the criterion is for Y-axis forward, such as intelligence
When the laying state of equipment is the state shown in Fig. 5, Y-axis forward, will not be along straight down only along direction straight up.
The state of being held includes:
Smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
In one embodiment, it is held state also to include: smart machine is in perpendicular holds state or horizontal frame when holding state
Between relative position relation.
The state of being held can also include that smart machine is in and perpendicular hold state or horizontal phase para-position when holding state between frame
Put relation, in order to determine the display direction of currently displaying picture in target display mode, it is to avoid picture stands upside down.
In one embodiment, step S103 shown in above-mentioned Fig. 1 can be performed as:
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom all detect touch operation and
When left side vertical edges arch and right side vertical edges arch are all not detected by touch operation, if the second gravitational acceleration component
Absolute value is more than the absolute value of the first gravitational acceleration component, it is determined that smart machine is in erect holds the horizontal frame of state and bottom
It is positioned at the lower section of the horizontal frame in top of smart machine.
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom all detect touch operation and
When left side vertical edges arch and right side vertical edges arch are all not detected by touch operation, user's one hand/both hands are described
Perpendicular hold smart machine or singlehanded horizontal hold smart machine (i.e. thumb and forefinger button hold horizontal take/perpendicular take smart machine), thus, intelligence
The state that is held of equipment can be in perpendicular state or the horizontal state of holding of holding, and specifically which kind of state, the method for there is no determines, so,
Need to determine the size between the first gravitational acceleration component and the second gravitational acceleration component further, and then determining this
When the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component, illustrate that smart machine is in perpendicular
Hold state, and owing to left side vertical edges frame bottom and right side vertical edges frame bottom all detect touch operation but left side vertical edges
Arch and right side vertical edges arch are all not detected by touch operation, thus, user grips the position respectively, position of smart machine
In the bottom of two vertical frames, near the position of the horizontal frame in bottom, and then according to the operating habit of user, can be the most true
Fixed bottom laterally frame is positioned at the lower section of the horizontal frame in top.
In one embodiment, in one embodiment, step S103 shown in above-mentioned Fig. 1 can be performed as:
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom be all not detected by touch operation,
Left side vertical edges arch and right side vertical edges arch all detect the absolute of touch operation and the second gravitational acceleration component
When value is more than the absolute value of the first gravitational acceleration component, determines that smart machine is in and perpendicular hold the horizontal frame of state and bottom and be positioned at
The top of the horizontal frame in top.
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom be all not detected by touch operation,
When left side vertical edges arch and right side vertical edges arch all detect touch operation, illustrate that user's one hand/both hands erect
Hold smart machine or singlehanded horizontal hold smart machine (i.e. thumb and forefinger button hold horizontal take/perpendicular take smart machine), further
If the absolute value of this second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component, then smart machine is described
Be in and perpendicular hold state, simultaneously because be all not detected by touch operation at left side vertical edges frame bottom and right side vertical edges frame bottom but
Touch operation is all detected at left side vertical edges arch and right side vertical edges arch, thus, user grips smart machine
Position lays respectively at the top of two vertical frames, near the position of the horizontal frame in top, and then according to the operating habit of user,
Can accurately determine that bottom laterally frame is positioned at the top of the horizontal frame in top.
In one embodiment, predeterminated position also includes: four corners of the horizontal frame of smart machine, wherein, laterally
Frame includes: the horizontal frame in top of the horizontal frame in bottom and smart machine, wherein, in the position of these four corners such as Fig. 5
Shown in the black region of four corners.
Step S103 shown in above-mentioned Fig. 1 can be performed as:
When touch information is touch operation to be detected at least one corner in four corners of horizontal frame, really
Determine smart machine to be in and horizontal hold state.
When touch operation being detected at least one corner in four corners, illustrate that user is the most using finger
Hold the corner of smart machine, and when user holds the corner of smart machine, may often be such that horizontal that hold smart machine, thus, according to
The operating habit of user may determine that smart machine is in and horizontal holds state, certainly, in order to avoid erroneous judgement, and still can be further
Ground determines whether the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component, if not quite
In, then can accurately determine that smart machine is in and horizontal hold state.
Or
Step S103 shown in above-mentioned Fig. 1 also can be performed as:
When touch information in the middle part of the vertical frame in left side and the vertical frame in right side in the middle part of all detect touch operation and
In predeterminated position when other positions in the middle part of the vertical frame in left side and in addition to the vertical frame in right side are all not detected by touch operation,
Determine that smart machine is in and horizontal hold state.
The custom of smart machine is gripped, when touch information is in the middle part of the vertical frame in left side and right side vertical edges according to user
Touch operation is all detected and except its in the middle part of the vertical frame in left side and in addition to the vertical frame in right side in predeterminated position in the middle part of frame
When his position is all not detected by touch operation, the middle part of the vertical frame in user's Intelligent handhold both sides is described, therefore, it is possible to determine intelligence
Can be in and horizontal hold state by equipment.
As in figure 2 it is shown, in one embodiment, step S103 shown in above-mentioned Fig. 1 also can be performed as:
In step A1, determine smart machine be in horizontal hold state time, it is judged that the first gravitational acceleration component is the least
In zero.
In step A2, when the first gravitational acceleration component is less than zero, determine that the vertical frame in left side is positioned at right side vertical
The lower section of frame.
When smart machine be in horizontal hold state time, owing to X-axis forward is horizontal frame and away from left side vertical edges along bottom
The direction of frame is X-axis forward, and the direction of acceleration of gravity is straight down all the time, thus, if the first acceleration of gravity divides
Amount is less than zero, then the direction of explanation X-axis forward is obtuse angle with the angle of vertically downward direction, so, can accurately determine a left side
The vertical frame in side is positioned at the lower section of the vertical frame in right side.
In step A3, when the first gravitational acceleration component is more than zero, determine that the vertical frame in left side is positioned at right side vertical
The top of frame.
When smart machine be in horizontal hold state time, the direction due to frame horizontal along bottom and away from the vertical frame in left side is
X-axis forward, the direction of acceleration of gravity is straight down all the time, thus, if the first gravitational acceleration component is more than zero, then
Illustrate that the direction of X-axis forward and the angle of vertically downward direction are acute angle, so, can accurately determine vertical frame position, left side
The top of vertical frame in right side.
In step A4, when the first gravitational acceleration component is equal to zero, determine that smart machine is in horizontal positioned state.
When smart machine be in horizontal hold state time, owing to X-axis forward is horizontal frame and away from left side vertical edges along bottom
The direction of frame is X-axis forward, and the direction of acceleration of gravity is straight down all the time, thus, if the first acceleration of gravity divides
Amount is equal to zero, then the direction of explanation X-axis forward is right angle with the angle of vertically downward direction, so, can accurately determine intelligence
Horizontal positioned state can be in by equipment.
As shown in Figure 3A, in one embodiment, step S103 shown in above-mentioned Fig. 1 also can be performed as:
In step bl is determined., according in touch information and the first gravitational acceleration component and the second gravitational acceleration component
At least one information cannot determine when being held state, it is judged that whether the absolute value of the 3rd gravitational acceleration component is less than presetting weight
Power acceleration rate threshold.
In step B2, when the absolute value of the 3rd gravitational acceleration component is more than or equal to presetting acceleration of gravity threshold value
Time, determine that smart machine is in horizontal positioned state, wherein, preset acceleration of gravity threshold value and can approximate acceleration of gravity,
As being 9.77m/s2。
When according at least one letter in touch information and the first gravitational acceleration component and the second gravitational acceleration component
Breath cannot determine that smart machine is in and perpendicular hold state or horizontal when holding state, can obtain acceleration of gravity in the Z-axis direction
3rd gravitational acceleration component, if the absolute value of the 3rd gravitational acceleration component is more than or equal to presetting acceleration of gravity threshold
Value, illustrates that Z-direction is less than predetermined angle (such as 5 degree), therefore, it is possible to accurately determine intelligence with the angle of vertically downward direction
Equipment is in horizontal positioned state,
Or
As shown in Figure 3 B, in one embodiment, step S103 shown in above-mentioned Fig. 1 also can be performed as:
In step B3, when the absolute value of the 3rd gravitational acceleration component is less than when presetting acceleration of gravity threshold value, it is judged that
Whether the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component.
In step B4, when the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component
Time, determine that smart machine is in erect and hold state.
If the absolute value of the 3rd gravitational acceleration component is less than presetting acceleration of gravity threshold value, first explanation Z axis side
To the angle with vertically downward direction more than predetermined angle (such as 5 degree), smart machine is not in horizontal positioned state, and then
When the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component, illustrate Y-axis with vertical to
Under angle be less than X-axis and angle straight down, therefore, it is possible to accurately determine that smart machine is in perpendicular to hold state.
In one embodiment, method also includes:
When smart machine is in and erects state of holding and the second gravitational acceleration component less than zero, determine laterally frame position, bottom
Lower section in the horizontal frame in the top of smart machine.
When smart machine be in perpendicular hold state time, owing to Y-axis forward is vertical frame and away from bottom widthwise edge along left side
The direction of frame, the direction of acceleration of gravity is straight down all the time, when the second gravitational acceleration component is less than zero, Y is described
The direction of axle forward and the angle of vertically downward direction are acute angle, are accustomed to according to the gripping of user, and the position that user grips is leaned on
Nearly bottom laterally frame, thus can accurately determine that bottom laterally frame is positioned at the lower section of the horizontal frame in top of smart machine.
When smart machine is in and erects state of holding and the second gravitational acceleration component more than zero, determine laterally frame position, bottom
Top in the horizontal frame in the top of smart machine.
When smart machine be in perpendicular hold state time, due to Y-axis forward along left side vertical frame and away from the horizontal frame in bottom
Direction, the direction of acceleration of gravity is straight down all the time, when the second gravitational acceleration component more than zero time, Y-axis is described
The direction of forward and the angle of vertically downward direction are acute angle, are accustomed to according to the gripping of user, and what user gripped is located proximate to
The horizontal frame in top, thus can accurately determine that bottom laterally frame is positioned at the top of the horizontal frame in top of smart machine.
In one embodiment, method also includes:
When the absolute value of the second gravitational acceleration component is not more than the absolute value of the first gravitational acceleration component, determine intelligence
Can be in and horizontal hold state by equipment.
Determine smart machine be in horizontal hold state after, when the first gravitational acceleration component less than zero time, determine left side
Vertical frame is positioned at the lower section of the vertical frame in right side.
When smart machine be in horizontal hold state time, owing to X-axis forward is horizontal frame and away from left side vertical edges along bottom
The direction of frame is X-axis forward, and the direction of acceleration of gravity is straight down all the time, thus, if the first acceleration of gravity divides
Amount is less than zero, then the direction of explanation X-axis forward is obtuse angle with the angle of vertically downward direction, so, can accurately determine a left side
The vertical frame in side is positioned at the lower section of the vertical frame in right side.
When the first gravitational acceleration component is more than zero, determine that the vertical frame in left side is positioned at the top of the vertical frame in right side.
When smart machine be in horizontal hold state time, the direction due to frame horizontal along bottom and away from the vertical frame in left side is
X-axis forward, the direction of acceleration of gravity is straight down all the time, thus, if the first gravitational acceleration component is more than zero, then
Illustrate that the direction of X-axis forward and the angle of vertically downward direction are acute angle, so, can accurately determine vertical frame position, left side
The top of vertical frame in right side.
In one embodiment, touch sensor includes:
The independent touch sensor being respectively provided with on the predeterminated position that each are different.
Above-mentioned determine that step touch operation whether being detected on the predeterminated position be provided with touch sensor can be held
Behavior:
Determine whether each independent touch sensor detects touch operation.
Each independent touch sensor owing to pre-setting on predeterminated position can be used for detecting touch operation, because of
And, each independent touch sensor can be determined by and whether detect whether touch operation detects on predeterminated position to determine
Touch operation.
It addition, each independent touch sensor can be arranged on front or the execution of the display screen at predeterminated position place
The back side of main body, or be arranged on the frame at predeterminated position place.
In one embodiment, touch sensor includes:
It is separately positioned on the 7th touch sensor on the vertical frame in left side and the be arranged on the vertical frame in right side the 8th
Touch sensor.
Step S101 shown in above-mentioned Fig. 1 can be performed as:
When determining that the 7th touch sensor and/or the 8th touch sensor detect touch operation, obtain the 7th touch
The touch location of the touch operation that sensor and/or the 8th touch sensor detect.
When touch sensor can detect the concrete touch location of touch operation, can be on the vertical frame in the left and right sides
One touch sensor is respectively set, is so determining that the 7th touch sensor and/or the 8th touch sensor detect touch behaviour
When making, the 7th touch sensor can be obtained further and/or the touch position of touch operation that the 8th touch sensor detects
Put, in order to combine that the touch information that gets judges smart machine is held state.
In one embodiment, step S104 shown in above-mentioned Fig. 1 can be performed as:
When the currently displaying picture of smart machine does not takes display screen or the display direction of currently displaying picture and user
When current picture view direction is inconsistent, adjust the display mode of currently displaying picture so that the currently displaying picture after adjustment
The display mode in face is target picture display mode.
When the currently displaying picture of smart machine does not takes display screen or the display direction of currently displaying picture and user
When current picture view direction is inconsistent, illustrate currently displaying picture and underuse display screen whole viewing area or
The currently displaying picture of person is stand upside down, therefore, it is possible to adjust the display mode of currently displaying picture so that currently showing after adjustment
The display mode showing picture is target picture display mode, so that it is guaranteed that the display mode of the currently displaying picture after Tiao Zhenging takes
The display direction of display screen and the currently displaying picture picture view direction current with user is consistent.
In addition, it is necessary to explanation:
Above-described embodiment of the disclosure is the intelligence more than the length of horizontal frame of the length with the vertical frame shown in Fig. 5
Determine as a example by equipment that it is held state, and skilled person would appreciate that: for the length of vertical frame
Less than the smart machine of the length of horizontal frame, its horizontal state of holding is exactly the perpendicular state of holding in the disclosure, and the perpendicular state of holding is exactly
Horizontal in the disclosure holds state.
The determination method of the above-mentioned picture display mode that corresponding disclosure embodiment provides, disclosure embodiment also provides for one
The determination device of kind of picture display mode, device fits the smart machine being configured to be provided with touch sensor, as shown in Figure 4,
This device includes:
First acquisition module 401, is configured to obtain the touch information of touch sensor.
Second acquisition module 402, is configured to obtain smart machine gravitational acceleration component on preset direction.
First determines module 403, is configured to, according to touch information and gravitational acceleration component, determine the quilt of smart machine
Held state.
Second determines module 404, is configured to be defined as the target picture display mode of smart machine and is held shape
The picture display mode that state is suitable.
As shown in Figure 6, in one embodiment, the first acquisition module 401 shown in above-mentioned Fig. 4 may include that
Whether first determines submodule 4011, be configured to determine that on the predeterminated position be provided with touch sensor and detect
To touch operation, wherein, predeterminated position includes at least one position following:
In the middle part of the left side vertical edges frame bottom in display screen front, the vertical frame in left side, left side vertical edges arch, right side erect
Bottom frame, in the middle part of the vertical frame in right side and the vertical edges arch of right side.
The second acquisition module 402 shown in above-mentioned Fig. 4 may include that
First obtains submodule 4021, is configured to obtain acceleration of gravity the first acceleration of gravity in the X-axis direction
Component, acceleration of gravity the second gravitational acceleration component in the Y-axis direction and acceleration of gravity in the Z-axis direction triple
At least one gravitational acceleration component in power component of acceleration, wherein, smart machine is with frame horizontal along bottom and away from left side
The direction of vertical frame is X-axis forward, direction with frame vertical along left side and away from the horizontal frame in bottom is Y-axis forward, with
The direction that the display screen of smart machine is just facing outwardly is Z axis forward.
The state of being held includes:
Smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
In one embodiment, it is held state also to include: smart machine is in perpendicular holds state or horizontal frame when holding state
Between relative position relation.
In one embodiment, first shown in above-mentioned Fig. 4 determines that module 403 may include that
Second determines submodule, is configured as touch information at the bottom of the vertical frame of left side vertical edges frame bottom and right side
Portion all detects touch operation and when left side vertical edges arch and right side vertical edges arch are all not detected by touch operation,
If the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component, it is determined that smart machine is in
Erect the lower section holding the horizontal frame in top that the horizontal frame of state and bottom is positioned at smart machine.
In one embodiment, first shown in above-mentioned Fig. 4 determines that module 403 may include that
3rd determines submodule, is configured as touch information at the bottom of the vertical frame of left side vertical edges frame bottom and right side
Portion is all not detected by touch operation, touch operation and is all detected at left side vertical edges arch and right side vertical edges arch
When the absolute value of two gravitational acceleration components is more than the absolute value of the first gravitational acceleration component, determine that smart machine is in perpendicular holding
The horizontal frame of state and bottom is positioned at the top of the horizontal frame in top.
In one embodiment, predeterminated position also includes: four corners of the horizontal frame of smart machine, wherein, laterally
Frame includes: the horizontal frame in top of the horizontal frame in bottom and smart machine.
Shown in above-mentioned Fig. 4 first determines that module 403 may include that
4th determines submodule, and being configured as touch information is at least one limit in four corners of horizontal frame
When touch operation being detected on angle, determine that smart machine is in and horizontal hold state.
Or
Shown in above-mentioned Fig. 4 first determines that module 403 may include that
5th determines submodule, is configured as touch information in the middle part of the vertical frame in left side and in the vertical frame in right side
Portion all detects touch operation and except other positions in the middle part of the vertical frame in left side and in addition to the vertical frame in right side in predeterminated position
Put when being all not detected by touch operation, determine that smart machine is in and horizontal hold state.
As it is shown in fig. 7, in one embodiment, first shown in above-mentioned Fig. 4 determines that module 403 may include that
First judges submodule 4031, be configured to determine smart machine be in horizontal hold state time, it is judged that the first gravity
Whether component of acceleration is less than zero.
6th determines submodule 4032, when being configured as the first gravitational acceleration component less than zero, determines that left side is vertical
Frame is positioned at the lower section of the vertical frame in right side.
7th determines submodule 4033, when being configured as the first gravitational acceleration component more than zero, determines that left side is vertical
Frame is positioned at the top of the vertical frame in right side.
8th determines submodule 4034, when being configured as the first gravitational acceleration component equal to zero, determines smart machine
It is in horizontal positioned state.
As shown in Figure 8 A, in one embodiment, first shown in above-mentioned Fig. 6 determines that module 403 may include that
Second judges submodule 4031, is configured to according to touch information and the first gravitational acceleration component and the second weight
At least one information in power component of acceleration cannot determine when being held state, it is judged that the 3rd gravitational acceleration component absolute
Whether value is less than presetting acceleration of gravity threshold value.
9th determines submodule 4032, is configured as the absolute value of the 3rd gravitational acceleration component more than or equal to presetting
During acceleration of gravity threshold value, determine that smart machine is in horizontal positioned state.
Or
As shown in Figure 8 B, in one embodiment, first shown in above-mentioned Fig. 6 determines that module 403 may include that
3rd judges submodule 4033, and the absolute value being configured as the 3rd gravitational acceleration component adds less than presetting gravity
During threshold speed, it is judged that whether the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component.
Tenth determines submodule 4034, and the absolute value being configured as the second gravitational acceleration component adds more than the first gravity
During the absolute value of velocity component, determine that smart machine is in and perpendicular hold state.
As it is shown in figure 9, in one embodiment, the device shown in above-mentioned Fig. 8 B may also include that
3rd determines module 901, is configured as smart machine and is in and perpendicular holds state and the second gravitational acceleration component is little
In zero time, determine that bottom laterally frame is positioned at the lower section of the horizontal frame in top of smart machine.
4th determines module 902, is configured as smart machine and is in and perpendicular holds state and the second gravitational acceleration component is big
In zero time, determine that bottom laterally frame is positioned at the top of the horizontal frame in top of smart machine.
As shown in Figure 10, in one embodiment, the device shown in above-mentioned Fig. 8 B may also include that
5th determines module 1001, and absolute value the no more than first gravity being configured as the second gravitational acceleration component adds
During the absolute value of velocity component, determine that smart machine is in and horizontal hold state.
6th determines module 1002, be configured to determine smart machine be in horizontal hold state after, when the first gravity adds
When velocity component is less than zero, determine that the vertical frame in left side is positioned at the lower section of the vertical frame in right side.
7th determines module 1003, when being configured as the first gravitational acceleration component more than zero, determines left side vertical edges
Frame is positioned at the top of the vertical frame in right side.
In one embodiment, touch sensor includes:
The independent touch sensor being respectively provided with on the predeterminated position that each are different.
First determines that submodule 4011 includes:
First determines unit, is configured to determine that whether each independent touch sensor detects touch operation.
In one embodiment, touch sensor includes:
It is separately positioned on the 7th touch sensor on the vertical frame in left side and the be arranged on the vertical frame in right side the 8th
Touch sensor.
The first acquisition module 401 shown in above-mentioned Fig. 4 may include that
Second obtains submodule, is configured as determining that the 7th touch sensor and/or the 8th touch sensor detect
During touch operation, the touch location of the touch operation that acquisition the 7th touch sensor and/or the 8th touch sensor detect.
In one embodiment, second shown in above-mentioned Fig. 4 determines that module 404 may include that
Adjusting submodule, the currently displaying picture being configured as smart machine does not takes display screen or currently displaying picture
When the display direction in the face picture view direction current with user is inconsistent, adjust the display mode of currently displaying picture so that
The display mode of the currently displaying picture after adjustment is target picture display mode.
The third aspect according to disclosure embodiment, it is provided that the determination device of a kind of picture display mode, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
Obtain the touch information of touch sensor;
Obtain smart machine gravitational acceleration component on preset direction;
According to touch information and gravitational acceleration component, determine smart machine is held state;
The target picture display mode of smart machine is defined as the picture display mode suitable with the state that is held.
Above-mentioned processor is also configured to:
Obtain the touch information of touch sensor, including:
Determine and whether touch operation detected on the predeterminated position be provided with touch sensor;
Obtain smart machine gravitational acceleration component on preset direction, including:
Obtain acceleration of gravity the first gravitational acceleration component in X-direction, Y direction and Z-direction respectively, the
At least one gravitational acceleration component in two gravitational acceleration components and the 3rd gravitational acceleration component;
The state of being held includes:
Smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
Above-mentioned processor is also configured to:
The state that is held also includes: smart machine is in perpendicular holds state or horizontal relative position when holding state between frame is closed
System.
Above-mentioned processor is also configured to:
According to touch information and gravitational acceleration component, determine smart machine is held state, including:
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom all detect touch operation and
When left side vertical edges arch and right side vertical edges arch are all not detected by touch operation, if the second gravitational acceleration component
Absolute value is more than the absolute value of the first gravitational acceleration component, it is determined that smart machine is in erect holds the horizontal frame of state and bottom
It is positioned at the lower section of the horizontal frame in top of smart machine.
Above-mentioned processor is also configured to:
According to touch information and gravitational acceleration component, determine smart machine is held state, including:
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom be all not detected by touch operation,
Left side vertical edges arch and right side vertical edges arch all detect the absolute of touch operation and the second gravitational acceleration component
When value is more than the absolute value of the first gravitational acceleration component, determines that smart machine is in and perpendicular hold the horizontal frame of state and bottom and be positioned at
The top of the horizontal frame in top.
Above-mentioned processor is also configured to:
Predeterminated position also includes: four corners of the horizontal frame of smart machine;
According to touch information and gravitational acceleration component, determine smart machine is held state, including:
When touch information is touch operation to be detected at least one corner in four corners of horizontal frame, really
Determine smart machine to be in and horizontal hold state;
Or
According to touch information and gravitational acceleration component, determine smart machine is held state, including
When touch information in the middle part of the vertical frame in left side and the vertical frame in right side in the middle part of all detect touch operation and
In predeterminated position when other positions in the middle part of the vertical frame in left side and in addition to the vertical frame in right side are all not detected by touch operation,
Determine that smart machine is in and horizontal hold state.
Above-mentioned processor is also configured to:
According to touch information and gravitational acceleration component, determine smart machine is held state, including:
Determine smart machine be in horizontal hold state time, it is judged that whether the first gravitational acceleration component less than zero;
The relative position relation of the vertical frame in left side and the vertical frame in right side is determined according to judged result.
Above-mentioned processor is also configured to:
According to touch information and gravitational acceleration component, determine smart machine is held state, including:
According at least one letter in touch information and the first gravitational acceleration component and the second gravitational acceleration component
Breath cannot determine when being held state, it is judged that whether the absolute value of the 3rd gravitational acceleration component is less than presetting acceleration of gravity threshold
Value;
When the absolute value of the 3rd gravitational acceleration component is more than or equal to when presetting acceleration of gravity threshold value, determine that intelligence sets
For being in horizontal positioned state;
Or
When the absolute value of the 3rd gravitational acceleration component is less than when presetting acceleration of gravity threshold value, it is judged that the second gravity accelerates
Whether the absolute value of degree component is more than the absolute value of the first gravitational acceleration component;
When the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component, determine intelligence
Equipment is in erect holds state.
Above-mentioned processor is also configured to:
Method also includes:
When smart machine is in and erects state of holding and the second gravitational acceleration component less than zero, determine laterally frame position, bottom
Lower section in the horizontal frame in the top of smart machine;
When smart machine is in and erects state of holding and the second gravitational acceleration component more than zero, determine laterally frame position, bottom
Top in the horizontal frame in the top of smart machine.
Above-mentioned processor is also configured to:
When the absolute value of the second gravitational acceleration component is not more than the absolute value of the first gravitational acceleration component, determine intelligence
Can be in and horizontal hold state by equipment;
Determine smart machine be in horizontal hold state after, determine that the vertical frame in left side is vertical with right side according to judged result
The relative position relation of frame.
Above-mentioned processor is also configured to:
Touch sensor includes:
The independent touch sensor being respectively provided with on the predeterminated position that each are different;
Determine and whether touch operation detected on the predeterminated position be provided with touch sensor, including:
Determine whether each independent touch sensor detects touch operation.
Above-mentioned processor is also configured to:
Touch sensor includes:
It is separately positioned on the 7th touch sensor on the vertical frame in left side and the be arranged on the vertical frame in right side the 8th
Touch sensor;
Obtain the touch information of touch sensor, including:
When determining that the 7th touch sensor and/or the 8th touch sensor detect touch operation, obtain the 7th touch
The touch location of the touch operation that sensor and/or the 8th touch sensor detect.
Above-mentioned processor is also configured to:
The target picture display mode of smart machine is defined as the picture display mode bag suitable with the state that is held
Include:
When the currently displaying picture of smart machine does not takes display screen or the display direction of currently displaying picture and user
When current picture view direction is inconsistent, adjust the display mode of currently displaying picture so that the currently displaying picture after adjustment
The display mode in face is target picture display mode.
Figure 11 is the frame according to a kind of determination device 1100 for picture display mode shown in an exemplary embodiment
Figure, this device is applicable to terminal unit.Such as, device 1100 can be mobile phone, computer, digital broadcast terminal, message
Transceiver, game console, tablet device, armarium, body-building equipment, individual number assistant etc..
With reference to Figure 11, device 1100 can include with next or at least two assembly: processes assembly 1102, memorizer
1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, input/output (I/O) interface 1112, sensor group
Part 1114, and communications component 1116.
Process assembly 1102 and generally control the integrated operation of device 1100, such as with display, call, data communication,
The operation that camera operation and record operation are associated.Process assembly 1102 and can include one or at least two processor 1120
Perform instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1102 can include one or at least
Two modules, it is simple to process between assembly 1102 and other assemblies is mutual.Such as, process assembly 1102 and can include multimedia
Module, with facilitate multimedia groupware 1108 and process between assembly 1102 mutual.
Memorizer 1104 is configured to store various types of data to support the operation at device 1100.These data
Example includes any storage object for operation on device 1100 or the instruction of method, contacts user data, telephone directory number
According to, message, picture, video etc..Memorizer 1104 can by any kind of volatibility or non-volatile memory device or it
Combination realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable
Except programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, soon
Flash memory, disk or CD.
The various assemblies that power supply module 1106 is device 1100 provide power supply.Power supply module 1106 can include power management
System, one or at least two power supply, and other generate, manage and distribute, with for device 1100, the assembly that power supply is associated.
The screen of one output interface of offer that multimedia groupware 1108 is included between device 1100 and user.At some
In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
May be implemented as touch screen, to receive the input signal from user.Touch panel includes that one or touch sensor are with sense
Survey the gesture on touch, slip and touch panel.Touch sensor can not only sense touch or the border of sliding action, and
Also detect and touch or persistent period that slide is relevant and pressure.In certain embodiments, multimedia groupware 1108 includes
One front-facing camera and/or post-positioned pick-up head.When device 1100 is in operator scheme, during such as screening-mode or video mode,
Front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and post-positioned pick-up head
Can be a fixing optical lens system or there is focal length and optical zoom ability.
Audio-frequency assembly 1110 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1110 includes a wheat
Gram wind (MIC), when device 1100 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt
It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 1104 or via communication
Assembly 1116 sends.In certain embodiments, audio-frequency assembly 1110 also includes a speaker, is used for exporting audio signal.
I/O interface 1112 provides interface, above-mentioned peripheral interface module for processing between assembly 1102 and peripheral interface module
Can be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and
Locking press button.
Sensor cluster 1114 includes one or at least two sensor, for providing the shape of various aspects for device 1100
State is assessed.Such as, what sensor cluster 1114 can detect device 1100 opens/closed mode, the relative localization of assembly, example
Such as display that assembly is device 1100 and keypad, sensor cluster 1114 can also detect device 1100 or device 1,100 1
The position change of individual assembly, the presence or absence that user contacts with device 1100, device 1100 orientation or acceleration/deceleration and dress
Put the variations in temperature of 1100.Sensor cluster 1114 can include proximity transducer, is configured to do not having any physics
The existence of object near detection during contact.Sensor cluster 1114 can also include optical sensor, as CMOS or ccd image sense
Device, for using in imaging applications.In certain embodiments, this sensor cluster 1114 can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1116 is configured to facilitate the communication of wired or wireless mode between device 1100 and other equipment.Dress
Put 1100 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one
In embodiment, broadcast singal or broadcast that communications component 1116 receives from external broadcasting management system via broadcast channel are relevant
Information.In one exemplary embodiment, communications component 1116 also includes near-field communication (NFC) module, to promote junction service.
Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) skill
Art, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1100 can by one or at least two application specific integrated circuit (ASIC),
Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field-programmable gate array
Row (FPGA), controller, microcontroller, microprocessor or other electronic building bricks realize, and are used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided
As included the memorizer 1104 of instruction, above-mentioned instruction can have been performed said method by the processor 1120 of device 1100.Example
As, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and
Optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is by the process of said apparatus 1100
When device performs so that said apparatus 1100 is able to carry out a kind of determination method of picture display mode, including:
Obtain the touch information of touch sensor;
Obtain smart machine gravitational acceleration component on preset direction;
According to touch information and gravitational acceleration component, determine smart machine is held state;
The target picture display mode of smart machine is defined as the picture display mode suitable with the state that is held.
In one embodiment, obtain the touch information of touch sensor, including:
Determine and whether touch operation detected on the predeterminated position be provided with touch sensor;
Obtain smart machine gravitational acceleration component on preset direction, including:
Obtain acceleration of gravity the first gravitational acceleration component in X-direction, Y direction and Z-direction respectively, the
At least one gravitational acceleration component in two gravitational acceleration components and the 3rd gravitational acceleration component;
The state of being held includes:
Smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
In one embodiment, it is held state also to include: smart machine is in perpendicular holds state or horizontal frame when holding state
Between relative position relation.
In one embodiment, according to touch information and gravitational acceleration component, determine smart machine is held state,
Including:
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom all detect touch operation and
When left side vertical edges arch and right side vertical edges arch are all not detected by touch operation, if the second gravitational acceleration component
Absolute value is more than the absolute value of the first gravitational acceleration component, it is determined that smart machine is in erect holds the horizontal frame of state and bottom
It is positioned at the lower section of the horizontal frame in top of smart machine.
In one embodiment, according to touch information and gravitational acceleration component, determine smart machine is held state,
Including:
When touch information for left side vertical edges frame bottom and right side vertical edges frame bottom be all not detected by touch operation,
Left side vertical edges arch and right side vertical edges arch all detect the absolute of touch operation and the second gravitational acceleration component
When value is more than the absolute value of the first gravitational acceleration component, determines that smart machine is in and perpendicular hold the horizontal frame of state and bottom and be positioned at
The top of the horizontal frame in top.
In one embodiment, predeterminated position also includes: four corners of the horizontal frame of smart machine, wherein, laterally
Frame includes: the horizontal frame in top of the horizontal frame in bottom and smart machine;
According to touch information and gravitational acceleration component, determine smart machine is held state, including:
When touch information is touch operation to be detected at least one corner in four corners of horizontal frame, really
Determine smart machine to be in and horizontal hold state;
Or
According to touch information and gravitational acceleration component, determine smart machine is held state, including
When touch information in the middle part of the vertical frame in left side and the vertical frame in right side in the middle part of all detect touch operation and
In predeterminated position when other positions in the middle part of the vertical frame in left side and in addition to the vertical frame in right side are all not detected by touch operation,
Determine that smart machine is in and horizontal hold state.
In one embodiment, according to touch information and gravitational acceleration component, determine smart machine is held state,
Including:
Determine smart machine be in horizontal hold state time, it is judged that whether the first gravitational acceleration component less than zero;
The relative position relation of the vertical frame in left side and the vertical frame in right side is determined according to judged result.
In one embodiment, according to touch information and gravitational acceleration component, determine smart machine is held state,
Including:
According at least one letter in touch information and the first gravitational acceleration component and the second gravitational acceleration component
Breath cannot determine when being held state, it is judged that whether the absolute value of the 3rd gravitational acceleration component is less than presetting acceleration of gravity threshold
Value;
When the absolute value of the 3rd gravitational acceleration component is more than or equal to when presetting acceleration of gravity threshold value, determine that intelligence sets
For being in horizontal positioned state;
Or
When the absolute value of the 3rd gravitational acceleration component is less than when presetting acceleration of gravity threshold value, it is judged that the second gravity accelerates
Whether the absolute value of degree component is more than the absolute value of the first gravitational acceleration component;
When the absolute value of the second gravitational acceleration component is more than the absolute value of the first gravitational acceleration component, determine intelligence
Equipment is in erect holds state.
In one embodiment, method also includes:
When smart machine is in and erects state of holding and the second gravitational acceleration component less than zero, determine laterally frame position, bottom
Lower section in the horizontal frame in the top of smart machine;
When smart machine is in and erects state of holding and the second gravitational acceleration component more than zero, determine laterally frame position, bottom
Top in the horizontal frame in the top of smart machine.
In one embodiment, method also includes:
When the absolute value of the second gravitational acceleration component is not more than the absolute value of the first gravitational acceleration component, determine intelligence
Can be in and horizontal hold state by equipment;
Determine smart machine be in horizontal hold state after, determine that the vertical frame in left side is vertical with right side according to judged result
The relative position relation of frame.
In one embodiment, touch sensor includes:
The independent touch sensor being respectively provided with on the predeterminated position that each are different;
Determine and whether touch operation detected on the predeterminated position be provided with touch sensor, including:
Determine whether each independent touch sensor detects touch operation.
In one embodiment, touch sensor includes:
It is separately positioned on the 7th touch sensor on the vertical frame in left side and the be arranged on the vertical frame in right side the 8th
Touch sensor;
Obtain the touch information of touch sensor, including:
When determining that the 7th touch sensor and/or the 8th touch sensor detect touch operation, obtain the 7th touch
The touch location of the touch operation that sensor and/or the 8th touch sensor detect.
In one embodiment, the target picture display mode of smart machine is defined as with to be held state suitable
Picture display mode includes:
When the currently displaying picture of smart machine does not takes display screen or the display direction of currently displaying picture and user
When current picture view direction is inconsistent, adjust the display mode of currently displaying picture so that the currently displaying picture after adjustment
The display mode in face is target picture display mode.
Art technology user person, after considering description and putting into practice disclosure disclosed herein, will readily occur to the disclosure
Other embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes
Or adaptations follow the disclosure general principle and include the disclosure undocumented in the art known often
Know or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim point out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (27)
1. the determination method of a picture display mode, it is characterised in that described determine that method is applicable to be provided with touch sensing
The smart machine of device, and described method includes:
Obtain the touch information of described touch sensor;
Obtain described smart machine gravitational acceleration component on preset direction;
According to described touch information and described gravitational acceleration component, determine described smart machine is held state;
It is defined as the target picture display mode of described smart machine being held, with described, the picture display side that state is suitable
Formula.
Method the most according to claim 1, it is characterised in that
The touch information of the described touch sensor of described acquisition, including:
Determine and whether touch operation detected on the predeterminated position being provided with described touch sensor, wherein, described default position
Put and include at least one position following:
In the middle part of the left side vertical edges frame bottom in display screen front, the vertical frame in left side, left side vertical edges arch, right side vertical edges
In the middle part of frame bottom, the vertical frame in right side and the vertical edges arch of right side;
Described acquisition described smart machine gravitational acceleration component on preset direction, including:
Obtain acceleration of gravity the first gravitational acceleration component in the X-axis direction, acceleration of gravity second in the Y-axis direction
At least one acceleration of gravity in gravitational acceleration component and acceleration of gravity the 3rd gravitational acceleration component in the Z-axis direction
Component, wherein, the described smart machine direction with frame horizontal along bottom and away from the vertical frame in described left side is X-axis forward,
It is Y-axis forward with the direction along the vertical frame in described left side and away from the horizontal frame in described bottom, sets being perpendicular to described intelligence
The direction that standby display screen is just facing outwardly is Z axis forward;
The described state that is held includes:
Described smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
Method the most according to claim 2, it is characterised in that
The described state that is held also includes: described smart machine is in perpendicular holds state or horizontal phase para-position when holding state between frame
Put relation.
Method the most according to claim 3, it is characterised in that
Described according to described touch information with described gravitational acceleration component, determine the state that is held of described smart machine, bag
Include:
When described touch information is described for all detecting at described left side vertical edges frame bottom and described right side vertical edges frame bottom
Touch operation and be all not detected by described touch operation at described left side vertical edges arch and described right side vertical edges arch
Time, if the absolute value of described second gravitational acceleration component is more than the absolute value of described first gravitational acceleration component, it is determined that
Described smart machine is in perpendicular holding under the horizontal frame in top that the horizontal frame of state and described bottom is positioned at described smart machine
Side.
Method the most according to claim 3, it is characterised in that
Described according to described touch information with described gravitational acceleration component, determine the state that is held of described smart machine, bag
Include:
When described touch information is for being all not detected by institute at described left side vertical edges frame bottom and described right side vertical edges frame bottom
State touch operation, described left side vertical edges arch and described right side vertical edges arch all detect described touch operation and
When the absolute value of described second gravitational acceleration component is more than the absolute value of described first gravitational acceleration component, determine described intelligence
Can be in and perpendicular hold the horizontal frame of state and described bottom and be positioned at the top of the horizontal frame in described top by equipment.
Method the most according to claim 3, it is characterised in that
Described predeterminated position also includes: four corners of the horizontal frame of described smart machine, wherein, and described horizontal frame bag
Include: the horizontal frame in top of the horizontal frame in described bottom and described smart machine;
Described according to described touch information with described gravitational acceleration component, determine the state that is held of described smart machine, bag
Include:
When described touch information is described touch to be detected at least one corner in four corners of described horizontal frame
During operation, determine that described smart machine is in and horizontal hold state;
Or
Described according to described touch information with described gravitational acceleration component, determine the state that is held of described smart machine, bag
Include
When described touch information is described for all detecting in the middle part of the vertical frame in described left side and in the middle part of the vertical frame in described right side
Touch operation and in described predeterminated position except in the middle part of the vertical frame in described left side and the vertical frame in described right side in addition to other
When position is all not detected by described touch operation, determines that described smart machine is in and horizontal hold state.
Method the most according to claim 6, it is characterised in that
Described according to described touch information with described gravitational acceleration component, determine the state that is held of described smart machine, bag
Include:
Determine described smart machine be in horizontal hold state time, it is judged that whether described first gravitational acceleration component less than zero;
When described first gravitational acceleration component is less than zero, determine that the vertical frame in described left side is positioned at the vertical frame in described right side
Lower section;
When described first gravitational acceleration component is more than zero, determine that the vertical frame in described left side is positioned at the vertical frame in described right side
Top;
When described first gravitational acceleration component is equal to zero, determine that described smart machine is in horizontal positioned state.
Method the most according to claim 3, it is characterised in that
Described according to described touch information with described gravitational acceleration component, determine the state that is held of described smart machine, bag
Include:
According to described touch information and at least in described first gravitational acceleration component and the second gravitational acceleration component
Information cannot determine described in when being held state, it is judged that whether the absolute value of described 3rd gravitational acceleration component less than presetting
Acceleration of gravity threshold value;
When the absolute value of described 3rd gravitational acceleration component is more than or equal to described default acceleration of gravity threshold value, determine institute
State smart machine and be in described horizontal positioned state;
Or
When the absolute value of described 3rd gravitational acceleration component is less than described default acceleration of gravity threshold value, it is judged that described second
Whether the absolute value of gravitational acceleration component is more than the absolute value of described first gravitational acceleration component;
When the absolute value of described second gravitational acceleration component is more than the absolute value of described first gravitational acceleration component, determine
Described smart machine is in erect holds state.
Method the most according to claim 8, it is characterised in that described method also includes:
When described smart machine is in and erects state of holding and described second gravitational acceleration component less than zero, determine described bottom transverse
The lower section of the horizontal frame in top of described smart machine it is positioned to frame;
When described smart machine is in and erects state of holding and described second gravitational acceleration component more than zero, determine described bottom transverse
The top of the horizontal frame in top of described smart machine it is positioned to frame.
Method the most according to claim 8, it is characterised in that described method also includes:
When the absolute value of described second gravitational acceleration component is not more than the absolute value of described first gravitational acceleration component, really
Fixed described smart machine is in horizontal holds state;
Determine described smart machine be in horizontal hold state after, when described first gravitational acceleration component less than zero time, determine
The vertical frame in described left side is positioned at the lower section of the vertical frame in described right side;
When described first gravitational acceleration component is more than zero, determine that the vertical frame in described left side is positioned at the vertical frame in described right side
Top.
11. according to the method according to any one of claim 2 to 10, it is characterised in that
Described touch sensor includes:
The independent touch sensor being respectively provided with on the described predeterminated position that each are different;
Described determine whether touch operation detected on the predeterminated position being provided with described touch sensor, including:
Determine whether each independent touch sensor detects described touch operation.
12. according to the method according to any one of claim 2 to 10, it is characterised in that
Described touch sensor includes:
The 7th touch sensor being separately positioned on the vertical frame in described left side and being arranged on the vertical frame in described right side
8th touch sensor;
The touch information of the described touch sensor of described acquisition, including:
When determining that described 7th touch sensor and/or described 8th touch sensor detect described touch operation, obtain
The touch location of the described touch operation that described 7th touch sensor and/or described 8th touch sensor detect.
13. according to the method according to any one of claim 2 to 10, it is characterised in that
The described target picture display mode of described smart machine being defined as shows with the described picture being held state suitable
The mode of showing includes:
When the currently displaying picture of described smart machine do not take the display direction of display screen or described currently displaying picture with
When the current picture view direction of user is inconsistent, adjust the display mode of described currently displaying picture so that working as after adjustment
The display mode of front display picture is described target picture display mode.
The determination device of 14. 1 kinds of picture display modes, it is characterised in that described device is applicable to be provided with touch sensor
Smart machine, and described device includes:
First acquisition module, for obtaining the touch information of described touch sensor;
Second acquisition module, for obtaining described smart machine gravitational acceleration component on preset direction;
First determines module, for according to described touch information and described gravitational acceleration component, determines described smart machine
It is held state;
Second determines module, for being defined as being held state phase with described by the target picture display mode of described smart machine
Adaptive picture display mode.
15. devices according to claim 14, it is characterised in that
Described first acquisition module includes:
First determines submodule, touch behaviour whether detected for determining on the predeterminated position being provided with described touch sensor
Making, wherein, described predeterminated position includes at least one position following:
In the middle part of the left side vertical edges frame bottom in display screen front, the vertical frame in left side, left side vertical edges arch, right side vertical edges
In the middle part of frame bottom, the vertical frame in right side and the vertical edges arch of right side;
Described second acquisition module includes:
First obtains submodule, and for obtaining acceleration of gravity the first gravitational acceleration component in the X-axis direction, gravity accelerates
Spend the second gravitational acceleration component in the Y-axis direction and acceleration of gravity the 3rd gravitational acceleration component in the Z-axis direction
In at least one gravitational acceleration component, wherein, described smart machine is with frame horizontal along bottom and vertical away from described left side
The direction of frame be X-axis forward, with along the vertical frame in described left side and away from the horizontal frame in described bottom direction for Y-axis just
To, with direction that the display screen being perpendicular to described smart machine is just facing outwardly for Z axis forward;
The described state that is held includes:
Described smart machine is in and perpendicular holds state, horizontal holds state or horizontal positioned state.
16. devices according to claim 15, it is characterised in that
The described state that is held also includes: described smart machine is in perpendicular holds state or horizontal phase para-position when holding state between frame
Put relation.
17. devices according to claim 16, it is characterised in that
Described first determines that module includes:
Second determines submodule, is used for when described touch information is in described left side vertical edges frame bottom and described right side vertical edges
Frame bottom all detects described touch operation and at described left side vertical edges arch and described right side vertical edges arch the most not
When described touch operation being detected, if the absolute value of described second gravitational acceleration component divides more than described first acceleration of gravity
The absolute value of amount, it is determined that described smart machine is in perpendicular to be held the horizontal frame of state and described bottom and be positioned at described smart machine
The lower section of the horizontal frame in top.
18. devices according to claim 16, it is characterised in that
Described first determines that module includes:
3rd determines submodule, is used for when described touch information is in described left side vertical edges frame bottom and described right side vertical edges
Frame bottom is all not detected by described touch operation, all examines at described left side vertical edges arch and described right side vertical edges arch
Measure the absolute value of described touch operation and described second gravitational acceleration component more than described first gravitational acceleration component
During absolute value, determine that described smart machine is in and perpendicular hold the horizontal frame of state and described bottom and be positioned at the horizontal frame in described top
Top.
19. devices according to claim 16, it is characterised in that
Described predeterminated position also includes: four corners of the horizontal frame of described smart machine, wherein, and described horizontal frame bag
Include: the horizontal frame in top of the horizontal frame in described bottom and described smart machine;
Described first determines that module includes:
4th determines submodule, is used for when described touch information is at least one limit in four corners of described horizontal frame
When described touch operation being detected on angle, determine that described smart machine is in and horizontal hold state;
Or
Described first determines that module includes
5th determines submodule, is used for when described touch information is in the middle part of the vertical frame in described left side and described right side vertical edges
Described touch operation is all detected and except in the middle part of the vertical frame in described left side and described right side in described predeterminated position in the middle part of frame
When other positions outside vertical frame are all not detected by described touch operation, determine that described smart machine is in and horizontal hold state.
20. devices according to claim 19, it is characterised in that
Described first determines that module includes:
First judges submodule, for determine described smart machine be in horizontal hold state time, it is judged that described first gravity accelerate
Whether degree component is less than zero;
6th determines submodule, for when described first gravitational acceleration component is less than zero, determining the vertical frame in described left side
It is positioned at the lower section of the vertical frame in described right side;
7th determines submodule, for when described first gravitational acceleration component is more than zero, determining the vertical frame in described left side
It is positioned at the top of the vertical frame in described right side;
8th determines submodule, for when described first gravitational acceleration component is equal to zero, determining that described smart machine is in
Horizontal positioned state.
21. devices according to claim 16, it is characterised in that
Described first determines that module includes:
Second judges submodule, for adding with described first gravitational acceleration component and the second gravity according to described touch information
At least one information in velocity component cannot determine described in when being held state, it is judged that described 3rd gravitational acceleration component
Whether absolute value is less than presetting acceleration of gravity threshold value;
9th determines submodule, for the absolute value when described 3rd gravitational acceleration component more than or equal to described default gravity
During acceleration rate threshold, determine that described smart machine is in described horizontal positioned state;
Or
3rd judges submodule, for the absolute value when described 3rd gravitational acceleration component less than described default acceleration of gravity
During threshold value, it is judged that whether the absolute value of described second gravitational acceleration component is more than the absolute of described first gravitational acceleration component
Value;
Tenth determines submodule, for the absolute value when described second gravitational acceleration component more than described first acceleration of gravity
During the absolute value of component, determine that described smart machine is in and perpendicular hold state.
22. devices according to claim 21, it is characterised in that described device also includes:
3rd determines module, for being in perpendicular state and described second gravitational acceleration component held less than zero when described smart machine
Time, determine that the horizontal frame in described bottom is positioned at the lower section of the horizontal frame in top of described smart machine;
4th determines module, for being in perpendicular state and described second gravitational acceleration component held more than zero when described smart machine
Time, determine that the horizontal frame in described bottom is positioned at the top of the horizontal frame in top of described smart machine.
23. device according to claim 21, it is characterised in that described device also includes:
5th determines module, for being not more than described first acceleration of gravity when the absolute value of described second gravitational acceleration component
During the absolute value of component, determine that described smart machine is in and horizontal hold state;
6th determines module, for determine described smart machine be in horizontal hold state after, when described first acceleration of gravity
When component is less than zero, determine that the vertical frame in described left side is positioned at the lower section of the vertical frame in described right side;
7th determines module, for when described first gravitational acceleration component is more than zero, determining vertical frame position, described left side
Top in the vertical frame in described right side.
24. according to the device according to any one of claim 15 to 23, it is characterised in that
Described touch sensor includes:
The independent touch sensor being respectively provided with on the described predeterminated position that each are different;
Described first determines that submodule includes:
First determines unit, for determining whether each independent touch sensor detects described touch operation.
25. according to the device according to any one of claim 15 to 23, it is characterised in that
Described touch sensor includes:
The 7th touch sensor being separately positioned on the vertical frame in described left side and being arranged on the vertical frame in described right side
8th touch sensor;
Described first acquisition module includes:
Second obtains submodule, for when determining that described 7th touch sensor and/or described 8th touch sensor detect
During described touch operation, obtain described 7th touch sensor and/or described touch that described 8th touch sensor detects
The touch location of operation.
26. according to the device according to any one of claim 15 to 23, it is characterised in that
Described second determines that module includes:
Adjust submodule, for not taking display screen or described currently displaying picture when the currently displaying picture of described smart machine
When the display direction in the face picture view direction current with user is inconsistent, adjust the display mode of described currently displaying picture,
The display mode making the currently displaying picture after adjusting is described target picture display mode.
The determination device of 27. 1 kinds of picture display modes, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the touch information of described touch sensor;
Obtain described smart machine gravitational acceleration component on preset direction;
According to described touch information and described gravitational acceleration component, determine described smart machine is held state;
It is defined as the target picture display mode of described smart machine being held, with described, the picture display side that state is suitable
Formula.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610654005.5A CN106095117A (en) | 2016-08-10 | 2016-08-10 | The determination method and device of picture display mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610654005.5A CN106095117A (en) | 2016-08-10 | 2016-08-10 | The determination method and device of picture display mode |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106095117A true CN106095117A (en) | 2016-11-09 |
Family
ID=57455524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610654005.5A Pending CN106095117A (en) | 2016-08-10 | 2016-08-10 | The determination method and device of picture display mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095117A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106989743A (en) * | 2017-03-31 | 2017-07-28 | 上海电机学院 | A kind of energy automatic sensing passes in and out the apparatus for vehicle navigation of overpass information |
CN109189244A (en) * | 2018-08-02 | 2019-01-11 | 珠海格力电器股份有限公司 | A kind of terminal display method, apparatus, terminal and readable storage medium storing program for executing |
CN109561210A (en) * | 2018-11-26 | 2019-04-02 | 努比亚技术有限公司 | A kind of interaction regulation method, equipment and computer readable storage medium |
CN112099746A (en) * | 2020-09-17 | 2020-12-18 | 北京小米移动软件有限公司 | Display device, method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100188371A1 (en) * | 2009-01-27 | 2010-07-29 | Research In Motion Limited | Handheld electronic device having a touchscreen and a method of using a touchscreen of a handheld electronic device |
CN101800816A (en) * | 2010-04-08 | 2010-08-11 | 华为终端有限公司 | Method for horizontal and vertical switching of touch screen of mobile terminal and mobile terminal |
CN101989126A (en) * | 2009-08-07 | 2011-03-23 | 深圳富泰宏精密工业有限公司 | Handheld electronic device and automatic screen picture rotating method thereof |
CN103197858A (en) * | 2012-01-04 | 2013-07-10 | 广州三星通信技术研究有限公司 | Portable terminal and method for controlling screen display direction of portable terminal |
CN103226396A (en) * | 2012-01-31 | 2013-07-31 | 广达电脑股份有限公司 | Portable electronic device and method for adjusting screen picture display mode thereof |
-
2016
- 2016-08-10 CN CN201610654005.5A patent/CN106095117A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100188371A1 (en) * | 2009-01-27 | 2010-07-29 | Research In Motion Limited | Handheld electronic device having a touchscreen and a method of using a touchscreen of a handheld electronic device |
CN101989126A (en) * | 2009-08-07 | 2011-03-23 | 深圳富泰宏精密工业有限公司 | Handheld electronic device and automatic screen picture rotating method thereof |
CN101800816A (en) * | 2010-04-08 | 2010-08-11 | 华为终端有限公司 | Method for horizontal and vertical switching of touch screen of mobile terminal and mobile terminal |
CN103197858A (en) * | 2012-01-04 | 2013-07-10 | 广州三星通信技术研究有限公司 | Portable terminal and method for controlling screen display direction of portable terminal |
CN103226396A (en) * | 2012-01-31 | 2013-07-31 | 广达电脑股份有限公司 | Portable electronic device and method for adjusting screen picture display mode thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106989743A (en) * | 2017-03-31 | 2017-07-28 | 上海电机学院 | A kind of energy automatic sensing passes in and out the apparatus for vehicle navigation of overpass information |
CN109189244A (en) * | 2018-08-02 | 2019-01-11 | 珠海格力电器股份有限公司 | A kind of terminal display method, apparatus, terminal and readable storage medium storing program for executing |
CN109189244B (en) * | 2018-08-02 | 2020-07-07 | 珠海格力电器股份有限公司 | Terminal display method and device, terminal and readable storage medium |
CN109561210A (en) * | 2018-11-26 | 2019-04-02 | 努比亚技术有限公司 | A kind of interaction regulation method, equipment and computer readable storage medium |
CN112099746A (en) * | 2020-09-17 | 2020-12-18 | 北京小米移动软件有限公司 | Display device, method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107786743A (en) | Prevent the method and device of terminal false touch | |
US8634872B2 (en) | Mobile terminal for distinguishing an ear during a call and method thereof | |
CN106603835A (en) | Method and device for adjusting position of target object | |
CN106095117A (en) | The determination method and device of picture display mode | |
CN103927080A (en) | Method and device for controlling control operation | |
CN106101365A (en) | Communication process adjusts the method and device of mike | |
CN106648412A (en) | Projector control method, device and projector | |
CN104035559A (en) | Method and device for controlling mobile terminal | |
EP3136206B1 (en) | Method and apparatus for setting threshold | |
CN108108113B (en) | Webpage switching method and device | |
CN105282441A (en) | Photographing method and device | |
CN106547466A (en) | Display control method and device | |
CN106055145A (en) | Operating mode determination method and apparatus of terminal | |
CN103995666A (en) | Method and device for setting work mode | |
CN107102801A (en) | Terminal screen spinning solution and device | |
US20170147089A1 (en) | Method and device for optimizing air mouse remote controller and terminal device | |
CN105094318A (en) | Mode switching method and apparatus | |
CN105159496A (en) | Touch event response method and mobile terminal | |
CN106201285A (en) | Prevent power key by the method and device of false touch, electronic equipment | |
WO2021190390A1 (en) | Focusing method, electronic device, storage medium and program product | |
CN104244045A (en) | Method and device for controlling displaying of video pictures | |
CN106130663A (en) | Adjust the method and device of antenna condition, electronic equipment | |
CN104936039A (en) | Image processing method and device | |
CN109688253A (en) | A kind of image pickup method and terminal | |
CN106168877A (en) | Enter the method and device of singlehanded pattern |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |