WO2021208924A1 - 移动终端屏幕旋转控制方法、装置及计算机设备 - Google Patents

移动终端屏幕旋转控制方法、装置及计算机设备 Download PDF

Info

Publication number
WO2021208924A1
WO2021208924A1 PCT/CN2021/086996 CN2021086996W WO2021208924A1 WO 2021208924 A1 WO2021208924 A1 WO 2021208924A1 CN 2021086996 W CN2021086996 W CN 2021086996W WO 2021208924 A1 WO2021208924 A1 WO 2021208924A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
mobile terminal
holding
determined
screen rotation
Prior art date
Application number
PCT/CN2021/086996
Other languages
English (en)
French (fr)
Inventor
王瑶
邱长平
Original Assignee
深圳市万普拉斯科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2021208924A1 publication Critical patent/WO2021208924A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • This application relates to the technical field of mobile terminal screen rotation, and in particular to a method, device, computer equipment, and storage medium for controlling screen rotation of a mobile terminal.
  • a method for controlling screen rotation of a mobile terminal comprising:
  • the screen rotation direction is determined according to the user's holding posture and the absolute direction.
  • the method further includes:
  • first query information is generated; the first query information is used to query the user whether to pick up the mobile terminal;
  • the first user feedback information is feedback made by the user according to the first query information
  • the screen rotation direction is the rotation to the first display direction.
  • the step of judging the user's holding posture according to the contacted area includes:
  • the user's holding posture is determined according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture.
  • the step of judging whether the user is holding the mobile terminal according to the touch signal of the contacted area includes:
  • the touch signal area of the contacted area reaches the preset holding contact signal area threshold, and the touch signal duration of the contacted area reaches the preset holding contact time threshold, then it is determined that the user is holding the movement terminal.
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction includes:
  • the step of determining that the screen rotation direction is rotated to the second display direction includes:
  • the second query information is used to query whether the user is lying down;
  • the second user feedback information is feedback made by the user according to the second query information
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction further includes:
  • the step of determining that the screen rotation direction is rotated to the first display direction includes:
  • the third inquiry information is used to inquire whether the user is lying down;
  • the third user feedback information is feedback made by the user according to the third query information
  • a device for controlling screen rotation of a mobile terminal comprising:
  • a rotation event judging module which is used to identify whether the mobile terminal is rotated
  • An absolute direction determining module configured to determine the absolute direction of the mobile terminal in space when it is determined that the mobile terminal is rotating;
  • the contact recognition module is used to recognize whether there is a touched area on the edge of the touch screen of the mobile terminal;
  • the holding posture judgment module is used to judge the holding posture of the user according to the contacted area
  • the screen rotation direction determination module is configured to determine the screen rotation direction according to the user's holding posture and the absolute direction.
  • the device further includes:
  • the first query information generating module is used to generate first query information when there is no touched area on the edge of the touch screen of the mobile terminal and it is determined that the user is not close to the mobile terminal; the first query information is used to query the user whether to hold Up the mobile terminal;
  • the first user feedback information obtaining module is configured to obtain first user feedback information; the first user feedback information is feedback made by the user according to the first query information;
  • the first determining module is configured to determine that the screen rotation direction is the rotation to the first display direction when it is determined that the user picks up the mobile terminal according to the first user feedback information.
  • the holding posture judgment module includes:
  • the holding state judgment module is used to judge whether the user holds the mobile terminal according to the touch signal of the touched area
  • the posture determination module is used to determine the user's holding posture according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture when it is determined that the user is holding the mobile terminal.
  • the holding state judgment module is used to determine when the touch signal area of the contacted area reaches a preset holding contact signal area threshold, and the duration of the touch signal of the contacted area reaches a predetermined threshold.
  • the holding contact time threshold is set, it is determined that the user holds the mobile terminal.
  • the screen rotation direction determination module includes:
  • the first horizontal grip determining module is configured to determine whether the user's holding posture is a horizontal grip when the absolute direction is the first direction;
  • the second determining module is configured to determine that the screen rotation direction is the rotation to the first display direction when it is determined that the user's holding posture is a horizontal grip;
  • the third determining module is configured to determine that the screen rotation direction is the rotation to the second display direction when it is determined that the user's holding posture is a vertical holding.
  • the third determining module includes:
  • the second query information generating module is used to generate second query information; the second query information is used to query whether the user is in a lying state;
  • the second user feedback information obtaining module is configured to obtain second user feedback information; the second user feedback information is feedback made by the user according to the second query information;
  • the first rotation determining module is configured to determine that the screen rotation direction is the rotation to the second display direction when it is determined that the screen is in the lying state according to the second user feedback information.
  • the screen rotation direction determination module further includes:
  • the second horizontal grip determining module is configured to determine whether the user's holding posture is a horizontal grip when the absolute direction is the second direction;
  • a fourth determining module configured to determine that the screen rotation direction is the rotation to the first display direction when it is determined that the user's holding posture is a horizontal grip
  • the fifth determining module is configured to determine that the screen rotation direction is the rotation to the second display direction when it is determined that the user's holding posture is a vertical holding.
  • the fourth determining module includes:
  • the third query information generating module is used to generate third query information; the third query information is used to query whether the user is lying down;
  • the third user feedback information obtaining module is configured to obtain third user feedback information; the third user feedback information is feedback made by the user according to the third query information;
  • the second rotation determination module is configured to determine that the screen rotation direction is the rotation to the first display direction when it is determined that the screen is in the lying state according to the third user feedback information.
  • a computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, a method for controlling screen rotation of a mobile terminal is implemented, and the method includes:
  • the screen rotation direction is determined according to the user's holding posture and the absolute direction.
  • the method further includes:
  • first query information is generated; the first query information is used to query the user whether to pick up the mobile terminal;
  • the first user feedback information is feedback made by the user according to the first query information
  • the screen rotation direction is the rotation to the first display direction.
  • the step of judging the user's holding posture according to the contacted area includes:
  • the user's holding posture is determined according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture.
  • the step of judging whether the user is holding the mobile terminal according to the touch signal of the contacted area includes:
  • the touch signal area of the contacted area reaches the preset holding contact signal area threshold, and the touch signal duration of the contacted area reaches the preset holding contact time threshold, then it is determined that the user is holding the movement terminal.
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction includes:
  • the step of determining that the screen rotation direction is rotated to the second display direction includes:
  • the second query information is used to query whether the user is lying down;
  • the second user feedback information is feedback made by the user according to the second query information
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction further includes:
  • the step of determining that the screen rotation direction is rotated to the first display direction includes:
  • the third inquiry information is used to inquire whether the user is lying down;
  • the third user feedback information is feedback made by the user according to the third query information
  • a computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, a method for controlling screen rotation of a mobile terminal is implemented, the method comprising:
  • the screen rotation direction is determined according to the user's holding posture and the absolute direction.
  • the method further includes:
  • first query information is generated; the first query information is used to query the user whether to pick up the mobile terminal;
  • the first user feedback information is feedback made by the user according to the first query information
  • the screen rotation direction is the rotation to the first display direction.
  • the step of judging the user's holding posture according to the contacted area includes:
  • the user's holding posture is determined according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture.
  • the step of judging whether the user is holding the mobile terminal according to the touch signal of the contacted area includes:
  • the touch signal area of the contacted area reaches the preset holding contact signal area threshold, and the touch signal duration of the contacted area reaches the preset holding contact time threshold, then it is determined that the user is holding the movement terminal.
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction includes:
  • the step of determining that the screen rotation direction is rotated to the second display direction includes:
  • the second query information is used to query whether the user is lying down;
  • the second user feedback information is feedback made by the user according to the second query information
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction further includes:
  • the step of determining that the screen rotation direction is rotated to the first display direction includes:
  • the third inquiry information is used to inquire whether the user is lying down;
  • the third user feedback information is feedback made by the user according to the third query information
  • the above-mentioned mobile terminal screen rotation control method, device and computer equipment recognize whether the mobile terminal is rotated and determine the absolute direction of the mobile terminal in space.
  • the touch area of the touch screen edge of the mobile terminal is used to identify the user's holding posture according to the user's holding
  • the posture and absolute direction determine the screen rotation direction for rotation control. According to the contact recognition feedback of the touched area on the edge of the touch screen, combined with the absolute direction of the mobile terminal, the screen rotation direction that the user really needs is determined to achieve precise control of the screen rotation.
  • FIG. 1 is a schematic flowchart of a method for controlling screen rotation of a mobile terminal in an embodiment of this application;
  • FIG. 2 is a schematic diagram of a posture of holding a mobile terminal vertically in an embodiment of the application
  • FIG. 3 is a schematic diagram of a posture of holding the mobile terminal horizontally in an embodiment of the application
  • FIG. 4 is a schematic flowchart of the step of determining the user's holding posture according to the touched area of the touch screen in an embodiment of the application;
  • FIG. 5 is a schematic flowchart of a step of determining whether a user is holding a mobile terminal in an embodiment of the application
  • FIG. 6 is a schematic flowchart of the step of determining the screen rotation direction according to the user's holding posture and absolute direction in an embodiment of the application;
  • FIG. 7 is a schematic flowchart of the step of determining the screen rotation direction to rotate to the second display direction in an embodiment of the application
  • FIG. 8 is a schematic flowchart of the step of determining the screen rotation direction according to the user's holding posture and the absolute direction in another embodiment of the application;
  • FIG. 9 is a schematic flowchart of the step of determining the screen rotation direction as the first display direction in an embodiment of the application.
  • FIG. 10 is a structural block diagram of an apparatus for controlling screen rotation of a mobile terminal in an embodiment of the application
  • FIG. 11 is a structural block diagram of an apparatus for controlling screen rotation of a mobile terminal in another embodiment of the application.
  • FIG. 12 is a structural block diagram of a holding posture judgment module in an embodiment of this application.
  • FIG. 13 is a structural block diagram of a screen rotation direction determination module in an embodiment of this application.
  • FIG. 14 is a structural block diagram of a first vertical display determining module in an embodiment of this application.
  • FIG. 15 is a structural block diagram of a screen rotation direction determination module in another embodiment of the application.
  • FIG. 16 is a structural block diagram of a third horizontal display determining module in an embodiment of this application.
  • FIG. 17 is a diagram of the internal structure of a computer device in an embodiment of the application.
  • the method for controlling the screen rotation of a mobile terminal can be applied to a mobile terminal equipped with a touch flat screen, and can also be applied to a mobile terminal equipped with a touch curved screen, where the edges of the curved screen extend to both sides of the mobile terminal With the characteristics of the edge, the recognition accuracy of this application is higher.
  • curved screens which visually reduce the existence of bezels, while also visually reducing the thickness of smart mobile terminals to provide better Sense of use. Based on this design, when the user uses a smart mobile terminal with a curved screen, it is easy to accidentally touch the edge of the curved screen.
  • the detection result of the false touch point on the edge of the curved screen and the rotation direction of the mobile terminal is used to identify the user's holding posture for holding the mobile terminal, and then analyze the user's need for the screen rotation direction to perform horizontal display or Vertical screen display realizes precise control of screen rotation.
  • smart mobile terminals can be, but are not limited to, various smart phones, tablet computers, and portable wearable devices.
  • a method for controlling screen rotation of a mobile terminal which includes the following steps:
  • Step S100 Identify whether the mobile terminal rotates.
  • the mobile terminal is equipped with gravity sensors, acceleration sensors, or gyroscopes that can detect the angular deflection of the mobile terminal in space.
  • the gravity sensor can analyze the gravity acceleration change of the mobile terminal to identify whether the mobile terminal is Rotation occurs, and the inclination angle of the mobile terminal corresponding to the first direction can be calculated, combined with the inclination angle of the mobile terminal corresponding to the first direction in the previous state, the rotation angle of the mobile terminal can be calculated.
  • step S200 if it is recognized that the mobile terminal is rotating, the absolute direction of the mobile terminal in space is determined.
  • the absolute direction takes the main viewing direction of the mobile terminal screen as the viewing angle, including four main directions: the first direction, the second direction, the third direction, and the fourth direction.
  • the four directions differ by 90° in sequence, assuming that the first direction is 0° , The second direction is 90°, the third direction is 180°, and the fourth direction is 270°.
  • the absolute direction is used as one of the basis for judging the screen rotation direction, in general, for the two directions In between, the approximate judgment can be made by judging whether the current tilt angle of the mobile terminal is closer to which direction to perform screen rotation control. For example, when the angle between the mobile terminal and the first direction is 30°, the If the included angle is 60°, it is approximately judged that the mobile terminal is in the first direction, and the subsequent steps are continued.
  • Step S300 Identify whether there is a touched area on the edge of the touch screen of the mobile terminal.
  • the hand when the user is holding the mobile terminal, the hand may come into contact with the edge of the touch screen. If contact occurs, the touched area can be used to judge the user's holding posture.
  • step S400 if yes, determine the user's holding posture according to the touched area.
  • the user's holding posture includes horizontal and vertical holding.
  • the main direction of the mobile terminal (the default direction under normal use) is used as the reference, and the direction of holding the mobile terminal is The palm direction is basically perpendicular to the main direction; as shown in Figure 3, when holding the mobile terminal horizontally, the main direction of the mobile terminal is used as the reference, and the palm direction holding the mobile terminal is basically the same direction as the main direction, or It is basically the same direction as the reverse extension line of the main direction.
  • it can be divided into one-handed horizontal grip, one-handed vertical grip, two-handed horizontal grip, and two-handed vertical grip.
  • the touched area of the touch screen is different. Analyzing the touched area can determine the user's holding posture.
  • step S500 the screen rotation direction is determined according to the user's holding posture and the absolute direction.
  • the screen rotation direction includes: rotating to a first display direction and rotating to a second display direction.
  • the first display direction may be a horizontal screen display in a conventional sense
  • the second display direction may be a vertical screen display in a conventional sense.
  • the screen rotation direction can be determined according to the absolute direction of the mobile terminal.
  • the screen rotation direction may specifically be 90°, 180°, or 270°.
  • the above mobile terminal screen rotation control method recognizes whether the mobile terminal is rotated, and determines the absolute direction of the mobile terminal in space, recognizes the user's holding posture through the touched area of the touch screen edge of the mobile terminal, and determines the user's holding posture and absolute direction
  • the screen rotation direction is used for rotation control. According to the touch recognition feedback of the touched area on the edge of the touch screen, combined with the absolute direction of the mobile terminal, the screen rotation direction that the user really needs is determined to achieve precise control of the screen rotation.
  • the method for controlling screen rotation of a mobile terminal further includes:
  • step S600 if there is no touched area on the edge of the touch screen of the mobile terminal, and it is determined that the user is not close to the mobile terminal, first query information is generated; the first query information is used to query the user whether to pick up the mobile terminal.
  • the rotation control can be performed only by the detection result of the gravity sensor.
  • the gravity sensor detects that the mobile terminal is rotated by 90°, and the display is controlled. Rotate the direction by 90°.
  • the proximity sensor in the mobile terminal can be used to identify whether the user is close to the mobile terminal.
  • the holding posture adopted by the user will not make contact with the touch screen.
  • the curved edges of the curved screen do not extend to the top and bottom of the mobile terminal. Instead, it only covers both sides of the mobile terminal. Therefore, the user applies pressure to the top and bottom of the mobile terminal with both hands to form a clamping posture, so that there is no contact with the touch screen.
  • this kind of holding posture is difficult to use when lying down. Therefore, it can be judged that the user is not lying down, and the user holds the mobile terminal horizontally. At this time, the screen display direction needs to be rotated to horizontal display.
  • the touch screen has no touched area, it is difficult to distinguish whether the user has picked up the mobile terminal. Therefore, the first query message is generated to ask the user whether to pick up the mobile terminal, and the screen rotation control is performed according to the user's feedback.
  • Step S700 Obtain first user feedback information; the first user feedback information is feedback made by the user according to the first query information.
  • step S800 if it is determined that the user has picked up the mobile terminal according to the first user feedback information, it is determined that the screen rotation direction is the rotation to the first display direction.
  • step S900 if it is determined according to the first user feedback information that the user has not picked up the mobile terminal, the rotation control is performed according to the detection structure of the gravity sensor.
  • the screen rotation direction is determined to be rotated to The first display direction; if the mobile terminal is not picked up, rotate according to the rotation direction detected by the gravity sensor. Improve the accuracy of the user's actual demand for the screen display direction when there is no touched area on the touch screen.
  • the step of judging the user's holding posture according to the contacted area includes:
  • Step S410 Determine whether the user is holding the mobile terminal according to the touch signal of the touched area.
  • the edge of the touch screen is accidentally touched, which may be caused by the user holding the mobile terminal, or it may be caused by the user unintentionally touching it. It is necessary to analyze whether the user is holding the mobile terminal to avoid controlling the rotation of the screen display direction due to misjudgment.
  • Step S420 if yes, determine the user's holding posture according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture. If not, step S900 is executed.
  • the contact coordinate information of the contacted area can reflect the area of the contacted area, the number of contacted areas, the location of the contacted area, and the duration of the contact.
  • the contact coordinate information of the contacted area corresponding to different holding postures will be different, such as ,
  • the position of the touched area may be different in the horizontal and vertical holding state, and the touched area may be closer to the top or bottom of the mobile terminal in the horizontal holding state; it is located on the touch screen in the one-hand holding state and the two-hand holding state
  • the number and area of the contact point area on both sides may be different. If it is a one-handed grip, the area size of the contact point area on both sides is larger.
  • the area of the contact point area near the palm is larger, and the contact area near the finger is larger.
  • the area of the dot area is smaller; if it is held with both hands, there may be two situations: hold both hands vertically, then the edges on both sides of the touch screen are in contact with the palms of both hands, and there is a touched area on both sides, and the two sides are touched.
  • the area difference is relatively small; if both hands are held horizontally, one side of the touch screen is in contact with the fingers of both hands at the same time, and the other side is in contact with the palms of both hands at the same time, so there will be four areas of contact points, and they are located on the same side edge of the touch screen.
  • the area of the point area has a small difference, and the area of the contact point area located on the edge of the touch screen is relatively large.
  • the corresponding relationship between the coordinates and the holding posture can be obtained, and the corresponding relationship between the coordinates and the holding posture can be preset in the mobile terminal for comparison and analysis with the contact coordinate information of the contacted area. Then the user's holding posture can be determined.
  • the user's holding posture can also be entered according to the user's habit, and the user's holding posture can be accurately determined according to the holding habit of different users.
  • the step of judging whether the user is holding the mobile terminal according to the touch signal of the contacted area includes:
  • Step S411 If the touch signal area of the contacted area reaches the preset holding contact signal area threshold, and the touch signal duration of the contacted area reaches the preset holding contact time threshold, then it is determined that the user is holding the mobile terminal.
  • the area of the contacted area is larger than the contact area produced by touching the screen, and the touch signal is relatively more durable. Therefore, if the amount of touch signal in the contacted area reaches the preset grip Hold the contact signal threshold, and the touch signal duration of the contacted area reaches the preset holding contact time threshold, which means that the user has been in contact with the mobile terminal for a period of time, and the area of the contacted area is not the contact that can be produced by tapping Area, so it can be determined that the user is holding the mobile terminal.
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction includes:
  • step S510 if the absolute direction is the first direction, it is determined whether the user's holding posture is a horizontal holding.
  • the first direction is perpendicular to the direction in which the mobile terminal is located in the main direction of the general use situation.
  • the first direction may be a horizontal direction, which may be The user is holding the mobile terminal horizontally when the user is in a non-lying state, or the user is holding the mobile terminal vertically when the user is in a lying state, so the screen rotation direction required by the user can be determined according to whether the user's holding posture is horizontal.
  • step S520 if yes, it is determined that the screen rotation direction is the rotation to the first display direction.
  • the screen display direction should be consistent with the absolute direction. Make sure that the screen rotation direction is rotated to the first display direction. For example, when the first direction is horizontal, the first display direction is horizontal display, if the first direction is horizontal, the third direction is the horizontal direction opposite to the first direction, and the second display direction is vertical. show.
  • the control screen in conjunction with whether the rotation direction detected by the gravity sensor is rotated 90° counterclockwise or 90° clockwise, the control screen is correspondingly rotated to the first display direction corresponding to the first direction, or to the third display direction.
  • the direction corresponds to the third display direction, and the first display direction is opposite to the third display direction. For example, if the first display direction is horizontal to the right, the third display direction is horizontal to the left.
  • step S530 if not, it is determined that the screen rotation direction is the rotation to the second display direction.
  • the screen display direction should be consistent with the user's holding direction, and the screen rotation direction is determined to be rotated to the second display direction.
  • the step of determining that the screen rotation direction is rotated to the second display direction includes:
  • Step S531 Generate second query information; the second query information is used to query whether the user is lying down.
  • Step S532 Obtain second user feedback information; the second user feedback information is feedback made by the user according to the second query information.
  • the second user feedback information is feedback made by the user based on the second query information to determine whether the user is lying down.
  • step S533 if it is determined that it is in the lying state according to the second user feedback information, it is determined that the screen rotation direction is the rotation to the second display direction.
  • the screen display direction should be consistent with the user's holding direction, that is, it is determined that the screen rotation direction is rotated to the second display direction.
  • the user status is determined through the second query information, the accuracy of the screen rotation control is increased, and the user experience is optimized.
  • the step of determining the screen rotation direction according to the user's holding posture and the absolute direction further includes:
  • step S540 if the absolute direction is the second direction, it is determined whether the user's holding posture is a horizontal holding.
  • the second direction can be the vertical direction.
  • the user may be holding the mobile terminal vertically when the user is not lying down, or the user may be holding the mobile terminal horizontally when the user is lying down. Therefore, the user’s desired screen rotation direction can be determined according to whether the user’s holding posture is horizontal or not. .
  • step S550 if yes, it is determined that the screen rotation direction is the rotation to the first display direction.
  • the screen display direction should be consistent with the user's holding direction.
  • the first display direction is the horizontal display
  • the third direction is the horizontal direction opposite to the first direction
  • the second display direction is Vertical screen display.
  • the control screen in conjunction with whether the rotation direction detected by the gravity sensor is rotated 90° counterclockwise or 90° clockwise, the control screen is correspondingly rotated to the first display direction corresponding to the first direction, or to the third display direction.
  • the direction corresponds to the third display direction, and the first display direction is opposite to the third display direction. For example, if the first display direction is horizontal to the right, the third display direction is horizontal to the left.
  • step S560 if not, it is determined that the screen rotation direction is the rotation to the second display direction.
  • the screen display direction should be consistent with the absolute direction of the mobile terminal, and the screen rotation direction is determined to be rotated to the second display direction.
  • the step of determining that the screen rotation direction is the first display direction includes:
  • Step S551 Generate a third query message; the third query message is used to query whether the user is lying down.
  • the user Since the foregoing judgment of the user's state is based on the general state, in order to eliminate the judgment of special circumstances that does not meet the user's needs, the user is asked through the third inquiry information to know whether the user is lying down.
  • Step S552 Obtain third user feedback information; the third user feedback information is feedback made by the user according to the third query information.
  • the third user feedback information is feedback made by the user based on the third query information to determine whether the user is lying down.
  • step S553 if it is determined that it is in the lying state according to the third user feedback information, it is determined that the screen rotation direction is the rotation to the first display direction.
  • the screen display direction should be consistent with the user's holding direction, that is, it is determined that the screen rotation direction is rotated to the first display direction.
  • the user status is determined through the third query information, the accuracy of the screen rotation control is increased, and the user experience is optimized.
  • a device for controlling screen rotation of a mobile terminal including: a rotation event determination module 100, an absolute direction determination module 200, a contact recognition module 300, a holding posture determination module 400, and The screen rotation direction determining module 500, where:
  • the rotation event judgment module 100 is used to identify whether the mobile terminal is rotated
  • the absolute direction determining module 200 is used to determine the absolute direction of the mobile terminal in space when it is determined that the mobile terminal is rotating;
  • the contact recognition module 300 is used to recognize whether there is a touched area on the edge of the touch screen of the mobile terminal;
  • the holding posture judgment module 400 is used for judging the holding posture of the user according to the contacted area;
  • the screen rotation direction determination module 500 is used to determine the screen rotation direction according to the user's holding posture and the absolute direction.
  • the device for controlling screen rotation of a mobile terminal further includes:
  • the first query information generating module 600 is configured to generate first query information when there is no touched area on the edge of the touch screen of the mobile terminal and it is determined that the user is not close to the mobile terminal; the first query information is used to query the user whether to pick up the mobile terminal;
  • the first user feedback information obtaining module 700 is configured to obtain first user feedback information; the first user feedback information is feedback made by the user according to the first query information;
  • the first determining module 800 is configured to determine that the screen rotation direction is the rotation to the first display direction when judging that the user picks up the mobile terminal according to the first user feedback information.
  • the holding posture judgment module 400 includes:
  • the holding state judging module 410 is used to judge whether the user is holding the mobile terminal according to the touch signal of the touched area;
  • the posture determination module 420 is used to determine the user's holding posture according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture when it is determined that the user is holding the mobile terminal.
  • the screen rotation direction determining module 500 includes:
  • the first horizontal grip determination module 510 is configured to determine whether the user's holding posture is a horizontal grip when the absolute direction is a horizontal direction;
  • the second determining module 520 is configured to determine that the screen rotation direction is the rotation to the first display direction when it is determined that the user's holding posture is a horizontal grip;
  • the third determining module 530 is configured to determine that the screen rotation direction is the rotation to the second display direction when it is determined that the user's holding posture is a vertical holding.
  • the third determining module 530 includes:
  • the second query information generating module 531 is configured to generate second query information; the second query information is used to query whether the user is in a lying state;
  • the second user feedback information obtaining module 532 is configured to obtain second user feedback information; the second user feedback information is feedback made by the user according to the second inquiry information;
  • the first rotation determination module 533 is configured to determine that the screen rotation direction is the rotation to the second display direction when it is determined that the screen is in the lying state according to the second user feedback information.
  • the screen rotation direction determining module 500 further includes:
  • the second horizontal grip determination module 540 is configured to determine whether the user's holding posture is a horizontal grip when the absolute direction of the mobile terminal is a vertical direction;
  • the fourth determining module 550 is configured to determine that the screen rotation direction is the rotation to the first display direction when it is determined that the user's holding posture is a horizontal grip;
  • the fifth determining module 560 is configured to determine that the screen rotation direction is the rotation to the second display direction when it is determined that the user's holding posture is a vertical holding.
  • the fourth determining module 550 includes:
  • the third query information generating module 551 is used to generate third query information; the third query information is used to query whether the user is lying down;
  • the third user feedback information obtaining module 552 is configured to obtain third user feedback information; the third user feedback information is feedback made by the user according to the third query information;
  • the second rotation determination module 553 is configured to determine that the screen rotation direction is the rotation to the first display direction when it is determined that the screen is in the lying state according to the third user feedback information.
  • Each module in the above-mentioned mobile terminal screen rotation control device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a mobile terminal, and its internal structure diagram may be as shown in FIG. 17.
  • the computer equipment includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, an operator's network, NFC (near field communication) or other technologies.
  • the computer program is executed by the processor to realize a method for controlling screen rotation of a mobile terminal.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touch pad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
  • FIG. 17 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
  • the processor further implements the following steps when executing the computer program:
  • the first query information is generated; the first query information is used to query the user whether to pick up the mobile terminal;
  • the first user feedback information is feedback made by the user according to the first query information
  • the screen rotation direction is the rotation to the first display direction.
  • the processor further implements the following steps when executing the computer program:
  • the user's holding posture is determined according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture.
  • the processor further implements the following steps when executing the computer program:
  • the touch signal area of the contacted area reaches the preset holding contact signal area threshold, and the touch signal duration of the contacted area reaches the preset holding contact time threshold, then it is determined that the user is holding the mobile terminal.
  • the processor further implements the following steps when executing the computer program:
  • the absolute direction is the first direction, it is determined whether the user's holding posture is a horizontal grip
  • the processor further implements the following steps when executing the computer program:
  • the second inquiry information is used to inquire whether the user is lying down;
  • the second user feedback information is feedback made by the user according to the second query information
  • the processor further implements the following steps when executing the computer program:
  • the processor further implements the following steps when executing the computer program:
  • the third user feedback information is the feedback made by the user according to the third query information
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the first query information is generated; the first query information is used to query the user whether to pick up the mobile terminal;
  • the first user feedback information is feedback made by the user according to the first query information
  • the screen rotation direction is the rotation to the first display direction.
  • the user's holding posture is determined according to the contact coordinate information of the touched area and the correspondence between the preset coordinates and the holding posture.
  • the touch signal area of the contacted area reaches the preset holding contact signal area threshold, and the touch signal duration of the contacted area reaches the preset holding contact time threshold, then it is determined that the user is holding the mobile terminal.
  • the absolute direction is the first direction, it is determined whether the user's holding posture is a horizontal grip
  • the second inquiry information is used to inquire whether the user is lying down;
  • the second user feedback information is feedback made by the user according to the second query information
  • the third user feedback information is the feedback made by the user according to the third query information
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical storage.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.

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

本申请涉及一种移动终端屏幕旋转控制方法、装置及计算机设备。方法包括:识别移动终端是否发生旋转;若是,则确定移动终端在空间中的绝对方向;识别移动终端触摸屏边缘是否有被接触区域;若有,则根据被接触区域判断用户握持姿势;根据用户握持姿势及绝对方向确定屏幕旋转方向。本发明根据触摸屏边缘被接触区域的触点识别反馈,结合移动终端的绝对方向,确定用户真实需要的屏幕旋转方向,实现屏幕旋转的精准控制。

Description

移动终端屏幕旋转控制方法、装置及计算机设备 【技术领域】
本申请涉及移动终端屏幕旋转技术领域,特别是涉及一种移动终端屏幕旋转控制方法、装置、计算机设备和存储介质。
【背景技术】
随着移动终端智能化的不断发展,移动终端除了满足通信需要,越来越多的娱乐、办公都能在移动终端上实现,对于其中一些应用,例如视频播放、游戏等应用,横向显示能够带给用户更好的体验,因此出现了屏幕自动旋转技术。
目前的智能移动终端中一般都具有重力感应装置,并且能够通过重力感应传感器检测的旋转方向,调整显示屏幕旋转至相应方向。但仅根据重力感应传感器角检测的方向进行屏幕旋转容易出现误判,难以满足用户实际需要,例如在用户处于侧卧状态时,若用户希望横屏显示,而移动终端根据重力传感器检测的旋转方向则会是移动终端处于竖直方向,则与用户的需要不匹配。
【发明内容】
基于此,有必要针对上述技术问题,提供一种能够根据用户实际需要精准控制的移动终端屏幕旋转控制方法、装置及计算机设备。
一种移动终端屏幕旋转控制方法,所述方法包括:
识别移动终端是否发生旋转;
若是,则确定所述移动终端在空间中的绝对方向;
识别所述移动终端触摸屏边缘是否有被接触区域;
若有,则根据所述被接触区域判断用户握持姿势;
根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向。
在其中一个实施例中,所述方法还包括:
若所述移动终端触摸屏边缘无被接触区域,且判定用户未贴近所述移动终端,则生成第一询问信息;所述第一询问信息用于询问用户是否拿起所述移动终端;
获取第一用户反馈信息;所述第一用户反馈信息为用户根据所述第一询问信息作出的反馈;
若根据所述第一用户反馈信息判断用户拿起所述移动终端,则确定所述屏幕旋转方向为旋转至第一显示方向。
在其中一个实施例中,所述根据所述被接触区域判断用户握持姿势的步骤包括:
根据所述被接触区域的触摸信号判断用户是否握持所述移动终端;
若是,则根据所述被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
在其中一个实施例中,所述根据所述被接触区域的触摸信号判断用户是否握持所述移动终端的步骤包括:
若所述被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且所述被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持所述移动终端。
在其中一个实施例中,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤包括:
若所述绝对方向为第一方向,则判断所述用户握持姿势是否为横握;
若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述确定所述屏幕旋转方向为旋转至第二显示方向的步骤包括:
生成第二询问信息;所述第二询问信息用于询问用户是否处于躺卧状态;
获取第二用户反馈信息;所述第二用户反馈信息为用户根据所述第二询问信息作出的反馈;
若根据所述第二用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤还包括:
若所述绝对方向为第二方向,则判断所述用户握持姿势是否为横握;
若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述确定所述屏幕旋转方向为旋转至第一显示方向的步骤包括:
生成第三询问信息;所述第三询问信息用于询问用户是否处于躺卧状态;
获取第三用户反馈信息;所述第三用户反馈信息为用户根据所述第三询问信息作出的反馈;
若根据所述第三用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第一显示方向。
一种移动终端屏幕旋转控制装置,所述装置包括:
旋转事件判断模块,用于识别所述移动终端是否发生旋转;
绝对方向确定模块,用于在判定移动终端发生旋转时,确定所述移动终端在空间中的绝对方向;
接触识别模块,用于识别所述移动终端触摸屏边缘是否有被接触区域;
握持姿势判断模块,用于根据所述被接触区域判断用户握持姿势;
屏幕旋转方向确定模块,用于根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向。
在其中一个实施例中,所述装置还包括:
第一询问信息生成模块,用于在所述移动终端触摸屏边缘无被接触区域,且判定用户未贴近所述移动终端时,生成第一询问信息;所述第一询问信息用于询问用户是否拿起所述移动终端;
第一用户反馈信息获取模块,用于获取第一用户反馈信息;所述第一用户反馈信息为用户根据所述第一询问信息作出的反馈;
第一确定模块,用于在根据所述第一用户反馈信息判断用户拿起所述移动终端时,确定所述屏幕旋转方向为旋转至第一显示方向。
在其中一个实施例中,所述握持姿势判断模块包括:
握持状态判断模块,用于根据所述被接触区域的触摸信号判断用户是否握持所述移动终端;
姿态确定模块,用于在判定用户握持所述移动终端时,根据所述被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
在其中一个实施例中,所述握持状态判断模块用于在所述被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且所述被接触区域的触摸信号持续时间达到预设的握持接触时间阈值时,判定用户握持所述移动终端。
在其中一个实施例中,所述屏幕旋转方向确定模块包括:
第一横握确定模块,用于在所述绝对方向为第一方向时,判断所述用户握持姿势是否为横握;
第二确定模块,用于在判断所述用户握持姿势为横握时,确定所述屏幕旋转方向为旋转至第一显示方向;
第三确定模块,用于在判断所述用户握持姿势为竖握时,确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述第三确定模块包括:
第二询问信息生成模块,用于生成第二询问信息;所述第二询问信息用于询问用户是否处于躺卧状态;
第二用户反馈信息获取模块,用于获取第二用户反馈信息;所述第二用户反馈信息为用户根据所述第二询问信息作出的反馈;
第一旋转确定模块,用于在根据所述第二用户反馈信息确定处于躺卧状态时,确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述屏幕旋转方向确定模块还包括:
第二横握确定模块,用于在所述绝对方向为第二方向时,判断所述用户握持姿势是否为横握;
第四确定模块,用于在判断所述用户握持姿势为横握时,确定所述屏幕旋转方向为旋转至第一显示方向;
第五确定模块,用于在判断所述用户握持姿势为竖握时,确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述第四确定模块包括:
第三询问信息生成模块,用于生成第三询问信息;所述第三询问信息用于询问用户是否处于躺卧状态;
第三用户反馈信息获取模块,用于获取第三用户反馈信息;所述第三用户反馈信息为用户根据所述第三询问信息作出的反馈;
第二旋转确定模块,用于在根据所述第三用户反馈信息确定处于躺卧状态时,确定所述屏幕旋转方向为旋转至第一显示方向。
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现移动终端屏幕旋转控制方法,所述方法包括:
识别移动终端是否发生旋转;
若是,则确定所述移动终端在空间中的绝对方向;
识别所述移动终端触摸屏边缘是否有被接触区域;
若有,则根据所述被接触区域判断用户握持姿势;
根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向。
在其中一个实施例中,所述方法还包括:
若所述移动终端触摸屏边缘无被接触区域,且判定用户未贴近所述移动终端,则生成第一询问信息; 所述第一询问信息用于询问用户是否拿起所述移动终端;
获取第一用户反馈信息;所述第一用户反馈信息为用户根据所述第一询问信息作出的反馈;
若根据所述第一用户反馈信息判断用户拿起所述移动终端,则确定所述屏幕旋转方向为旋转至第一显示方向。
在其中一个实施例中,所述根据所述被接触区域判断用户握持姿势的步骤包括:
根据所述被接触区域的触摸信号判断用户是否握持所述移动终端;
若是,则根据所述被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
在其中一个实施例中,所述根据所述被接触区域的触摸信号判断用户是否握持所述移动终端的步骤包括:
若所述被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且所述被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持所述移动终端。
在其中一个实施例中,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤包括:
若所述绝对方向为第一方向,则判断所述用户握持姿势是否为横握;
若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述确定所述屏幕旋转方向为旋转至第二显示方向的步骤包括:
生成第二询问信息;所述第二询问信息用于询问用户是否处于躺卧状态;
获取第二用户反馈信息;所述第二用户反馈信息为用户根据所述第二询问信息作出的反馈;
若根据所述第二用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤还包括:
若所述绝对方向为第二方向,则判断所述用户握持姿势是否为横握;
若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述确定所述屏幕旋转方向为旋转至第一显示方向的步骤包括:
生成第三询问信息;所述第三询问信息用于询问用户是否处于躺卧状态;
获取第三用户反馈信息;所述第三用户反馈信息为用户根据所述第三询问信息作出的反馈;
若根据所述第三用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第一显示方向。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现移动终端屏幕旋转控制方法,所述方法包括:
识别移动终端是否发生旋转;
若是,则确定所述移动终端在空间中的绝对方向;
识别所述移动终端触摸屏边缘是否有被接触区域;
若有,则根据所述被接触区域判断用户握持姿势;
根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向。
在其中一个实施例中,所述方法还包括:
若所述移动终端触摸屏边缘无被接触区域,且判定用户未贴近所述移动终端,则生成第一询问信息;所述第一询问信息用于询问用户是否拿起所述移动终端;
获取第一用户反馈信息;所述第一用户反馈信息为用户根据所述第一询问信息作出的反馈;
若根据所述第一用户反馈信息判断用户拿起所述移动终端,则确定所述屏幕旋转方向为旋转至第一显示方向。
在其中一个实施例中,所述根据所述被接触区域判断用户握持姿势的步骤包括:
根据所述被接触区域的触摸信号判断用户是否握持所述移动终端;
若是,则根据所述被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
在其中一个实施例中,所述根据所述被接触区域的触摸信号判断用户是否握持所述移动终端的步骤包括:
若所述被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且所述被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持所述移动终端。
在其中一个实施例中,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤包括:
若所述绝对方向为第一方向,则判断所述用户握持姿势是否为横握;
若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述确定所述屏幕旋转方向为旋转至第二显示方向的步骤包括:
生成第二询问信息;所述第二询问信息用于询问用户是否处于躺卧状态;
获取第二用户反馈信息;所述第二用户反馈信息为用户根据所述第二询问信息作出的反馈;
若根据所述第二用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤还包括:
若所述绝对方向为第二方向,则判断所述用户握持姿势是否为横握;
若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,所述确定所述屏幕旋转方向为旋转至第一显示方向的步骤包括:
生成第三询问信息;所述第三询问信息用于询问用户是否处于躺卧状态;
获取第三用户反馈信息;所述第三用户反馈信息为用户根据所述第三询问信息作出的反馈;
若根据所述第三用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第一显示方向。
上述移动终端屏幕旋转控制方法、装置及计算机设备,识别移动终端是否发生旋转,并确定移动终端在空间中的绝对方向,通过移动终端的触摸屏边缘被接触区域识别用户握持姿势,根据用户握持姿势及绝对方向确定屏幕旋转方向以进行旋转控制,根据触摸屏边缘被接触区域的触点识别反馈,结合移动终端的绝对方向,确定用户真实需要的屏幕旋转方向,实现屏幕旋转的精准控制。
【附图说明】
图1为本申请一个实施例中移动终端屏幕旋转控制方法的流程示意图;
图2为本申请一个实施例中竖握移动终端的姿势示意图;
图3为本申请一个实施例中横握移动终端的姿势示意图;
图4为本申请一个实施例中根据触摸屏被接触区域判断用户握持姿势步骤的流程示意图;
图5为本申请一个实施例中判断用户是否握持移动终端步骤的流程示意图;
图6为本申请一个实施例中根据用户握持姿势及绝对方向确定屏幕旋转方向步骤的流程示意图;
图7为本申请一个实施例中确定屏幕旋转方向为旋转至第二显示方向步骤的流程示意图;
图8为本申请另一个实施例中根据用户握持姿势及绝对方向确定屏幕旋转方向步骤的流程示意图;
图9为本申请一个实施例中确定屏幕旋转方向为第一显示方向步骤的流程示意图;
图10为本申请一个实施例中移动终端屏幕旋转控制装置的结构框图;
图11为本申请另一个实施例中移动终端屏幕旋转控制装置的结构框图;
图12为本申请一个实施例中握持姿势判断模块的结构框图;
图13为本申请一个实施例中屏幕旋转方向确定模块的结构框图;
图14为本申请一个实施例中第一竖向显示确定模块的结构框图;
图15为本申请另一个实施例中屏幕旋转方向确定模块的结构框图;
图16为本申请一个实施例中第三横向显示确定模块的结构框图;
图17为本申请一个实施例中计算机设备的内部结构图。
【具体实施方式】
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的移动终端屏幕旋转控制方法,可以应用于配置了触摸平面屏的移动终端中,也可以应用于配置了触摸曲面屏的移动终端中,其中,由于曲面屏边缘延伸至移动终端两侧边缘的特点,应用本申请的识别精度更高。目前随着智能移动终端大屏化趋势的发展,越来越多的智能移动终端采用曲面屏,从视觉上减小边框的存在,同时还能从视觉上缩减智能移动终端的厚度,提供更好的使用感。基于这样的设计,用户在使用配置曲面屏的智能移动终端时,在曲面屏的边缘容易发生误触,为了避免因误触导致的误操作,会通过对曲面屏边缘误触报点进行适当屏蔽。但在本发明中则通过利用曲面屏边缘误触报点配合移动终端旋转方向的检测结果,识别出用户握持移动终端的握持姿势,进而分析用户对于屏幕旋转方向的需要进行横屏显示或竖屏显示,实现对屏幕旋转的精准控制。其中,智能移动终端可以但不限于各种智能手机、平板电脑和便携式可穿戴设备。
在其中一个实施例中,如图1所示,提供了一种移动终端屏幕旋转控制方法,包括以下步骤:
步骤S100,识别移动终端是否发生旋转。
移动终端中设有重力传感器、加速度传感器或陀螺仪等能够检测移动终端在空间中的角度偏转的装置,以重力传感器为例:通过重力传感器分析移动终端的重力加速度变化情况,可以识别移动终端是否发生旋转,并且能够计算出移动终端相对应于第一方向的倾斜角度,结合上一状态移动终端相对应第一方向的倾斜角度,即可计算出移动终端的旋转角度。
步骤S200,若识别到移动终端发生旋转,则确定移动终端在空间中的绝对方向。
其中,绝对方向以移动终端屏幕主视方向为视角,包括第一方向、第二方向、第三方向及第四方向四个主方向,四个方向依次相差90°,假设第一方向为0°,则第二方向则为90°,第三方向为180°,第四方向为270°,由于绝对方向用以作为屏幕旋转方向的判断依据之一,在一般情况下,对于介于两种方向之间的情况,可以通过判断当前移动终端倾斜角度是否更接近于哪种方向进行近似判断,以进行屏幕旋转控制,例如当移动终端与第一方向的夹角为30°,与第二方向的夹角为60°,则近似判断移动终端处于第一方向,继续执行后续步骤。
步骤S300,识别移动终端触摸屏边缘是否有被接触区域。
其中,用户在握持移动终端时,手部可能会与触摸屏边缘产生接触,若产生接触,则可以利用被接触区域对用户的握持姿势进行判断。
步骤S400,若有,则根据被接触区域判断用户握持姿势。
用户握持姿势包括横握与竖握,如图2所示,竖握即为握持移动终端时,以移动终端的主方向(默认普通使用状态下的方向)作为基准,握持移动终端的手掌方向与主方向基本保持垂直;如图3所示,横握即为握持移动终端时,以移动终端的主方向作为基准,握持移动终端的手掌方向与主方向基本保持同方向,或是与主方向的反向延长线基本保持同方向。具体的还可以分为单手横握、单手竖握、双手横握和双手竖握,不同的握持姿势下,触摸屏被接触区域存在差异。分析被接触区域即可判断出用户握持姿势。
步骤S500,根据用户握持姿势及绝对方向确定屏幕旋转方向。
其中,屏幕旋转方向包括:旋转至第一显示方向及旋转至第二显示方向。以普通触摸屏手机为例,第一显示方向可以是常规意义理解的横屏显示,第二显示方向可以是常规意义理解的竖屏显示。确定了用户握持姿势,根据移动终端的绝对方向即可确定屏幕旋转方向。在其中一个实施例中,结合重力传感器检测的旋转角度,屏幕旋转方向具体可以是旋转90°、180°或270°。
上述移动终端屏幕旋转控制方法,识别移动终端是否发生旋转,并确定移动终端在空间中的绝对方向,通过移动终端的触摸屏边缘被接触区域识别用户握持姿势,根据用户握持姿势及绝对方向确定屏幕旋转方向以进行旋转控制,根据触摸屏边缘被接触区域的触点识别反馈,结合移动终端的绝对方向,确定用户真实需要的屏幕旋转方向,实现屏幕旋转的精准控制。
在一个实施例中,如图1所示,移动终端屏幕旋转控制方法还包括:
步骤S600,若移动终端触摸屏边缘无被接触区域,且判定用户未贴近移动终端,则生成第一询问信息;第一询问信息用于询问用户是否拿起移动终端。
若移动终端触摸屏边缘无被接触区域,但识别到移动终端发生了旋转,因此用户可能并未拿起移动终端,或是用户采用的握持姿势不会与触摸屏产生接触,同时用户将移动终端进行了旋转。若用户未拿起移动终端,则可以判断用户将移动终端旋转后放置于平台,此时可以仅通过重力传感器的检测结果进行旋转控制,例如重力传感器检测到移动终端旋转90°,则控制屏幕显示方向旋转90°。在一个实施例中,可以通过移动终端中的接近传感器识别用户是否贴近移动终端。
若用户拿起移动终端,则判断用户采用的握持姿势不会与触摸屏产生接触,结合移动终端的设计,即使是曲面屏,曲面屏的曲边也并未延伸至移动终端的顶部和底部,而是仅覆盖到移动终端的两侧,因此用户通过双手分别向移动终端的顶部和底部施加压力,形成夹持的姿势,则不会与触摸屏产生接触。一般这种握持姿势难以在躺卧时使用,因此可以判断用户并未处于躺卧状态,并且用户将移动终端横向握持,此时需要将屏幕显示方向旋转至横向显示。
但由于触摸屏并无被接触区域,难以区分用户是否拿起移动终端,因此生成第一询问信息询问用户是否拿起移动终端,并根据用户的反馈作出屏幕旋转控制。
步骤S700,获取第一用户反馈信息;第一用户反馈信息为用户根据第一询问信息作出的反馈。
步骤S800,若根据第一用户反馈信息判断用户拿起移动终端,则确定屏幕旋转方向为旋转至第一显示方向。
步骤S900,若根据第一用户反馈信息判断用户未拿起移动终端,则根据重力传感器的检测结构进行旋转控制。
本实施例中,在触摸屏无被接触区域时,通过生成第一询问信息询问用户是否拿起移动终端,能够判断用户是否拿起移动终端,若拿起移动终端,则确定屏幕旋转方向为旋转至第一显示方向;若未拿起移动终端,则根据重力传感器检测的旋转方向进行旋转。提高对于触摸屏无被接触区域时用户实际对于屏幕显示方向需求判断的准确性。
在其中一个实施例中,如图4所示,根据被接触区域判断用户握持姿势的步骤包括:
步骤S410,根据被接触区域的触摸信号判断用户是否握持移动终端。
触摸屏边缘被误触,可能是因为用户握持移动终端造成的,也可能是用户无意中触碰造成的,需要分析用户是否握持移动终端,避免由于误判而控制屏幕显示方向旋转。
步骤S420,若是,则根据被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握 持姿势。若否,则执行步骤S900。
被接触区域的触点坐标信息能够反映被接触区域的面积、被接触区域数量、被接触区域位置以及触点持续时间,不同的握持姿势对应的被接触区域触点坐标信息会存在差异,例如,横握状态与竖握状态下,被接触区域的位置可能会不同,横握状态下被接触区域可能会更靠近移动终端的顶部或者底部;单手持握状态和双手持握状态下,位于触摸屏两侧的接触点区域数量和面积可能会不同,若为单手持握,则两侧的接触点区域面积大小差异较大,靠近手掌一侧的接触点区域面积更大,靠近手指一侧的接触点区域面积更小;若为双手持握,可能会有两种情况:双手竖握,则触摸屏两侧边缘分别与双手的手掌接触,两侧分别有一个被接触区域,且两侧的被接触区域面积相差较小;双手横握,则触摸屏的其中一侧同时与双手的手指接触,另一侧同时与双手的手掌接触,因此会有四个接触点区域,并且位于触摸屏同侧边缘的接触点区域面积相差较小,位于触摸屏异侧边缘的接触点区域面积相差较大。根据如前述的用户习惯分析,能够得到坐标与握持姿势的对应关系,将坐标与握持姿势的对应关系预设于移动终端内,用于与被接触区域的触点坐标信息进行比较分析,即可确定用户握持姿势。
在其中一个实施例中,还可以通过用户习惯对用户的握持姿势进行录入,能够根据不同用户的握持习惯准确判断用户的握持姿势。
在其中一个实施例中,如图5所示,根据被接触区域的触摸信号判断用户是否握持移动终端的步骤包括:
步骤S411,若被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持移动终端。
若用户握持移动终端,则被接触区域的面积与点触屏幕产生的接触面积相比而言更大,并且触摸信号相对更为持久,因此若被接触区域的触摸信号量达到预设的握持接触信号量阈值,且被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,即表示用户保持与移动终端接触了一段时间,并且被接触区域的面积并非点触能够产生的接触面积,因此可以判定用户是处于握持移动终端的状态。
在其中一个实施例中,如图6所示,根据用户握持姿势及绝对方向确定屏幕旋转方向的步骤包括:
步骤S510,若绝对方向为第一方向,则判断用户握持姿势是否为横握。
在本实施例中,若绝对方向为第一方向,假设第一方向与移动终端在一般使用情况的主方向所处的方向垂直,以手机为例,第一方向可以是水平方向,则可能是用户处于非躺卧状态下横握移动终端,也可能是用户处于躺卧状态下竖握移动终端,因此根据用户握持姿势是否为横握即可判断用户所需的屏幕旋转方向。
步骤S520,若是,则确定屏幕旋转方向为旋转至第一显示方向。
若用户握持姿势为横握,则表示用户处于非躺卧状态下横握移动终端,此时屏幕显示方向应与绝对方向保持一致,确定屏幕旋转方向为旋转至第一显示方向,以手机为例,在第一方向为水平方向时,第一显示方向为横屏显示,若第一方向为水平方向,则第三方向是与第一方向反向的水平方向,第二显示方向为竖屏显示。在其中一个实施例中,结合重力传感器检测的旋转方向是逆时针旋转90°还是顺时针旋转90°,控制屏幕对应地旋转至与第一方向相对应的第一显示方向,或是与第三方向相对应的第三显示方向,第一显示方向与第三显示方向反向,例如若第一显示方向为水平向右,则第三显示方向为水平向左。
步骤S530,若否,则确定屏幕旋转方向为旋转至第二显示方向。
若用户握持姿势并非横握,则表示用户处于躺卧状态下竖握移动终端,此时屏幕显示方向应与用户握持方向保持一致,确定屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,如图7所示,确定屏幕旋转方向为旋转至第二显示方向的步骤包括:
步骤S531,生成第二询问信息;第二询问信息用于询问用户是否处于躺卧状态。
由于前述对用户状态的判断是考虑一般情况下的状态,因此为了消除特殊情况的判断不符合用户需要,通过第二询问信息向用户进行询问,以获知用户是否处于躺卧状态。
步骤S532,获取第二用户反馈信息;第二用户反馈信息为用户根据第二询问信息作出的反馈。
第二用户反馈信息为用户基于第二询问信息作出的反馈,用以确定用户是否处于躺卧状态。
步骤S533,若根据第二用户反馈信息确定处于躺卧状态,则确定屏幕旋转方向为旋转至第二显示方向。
若确定用户处于躺卧状态,则可以确定屏幕显示方向应该与用户握持方向保持一致,即确定屏幕旋转方向为旋转至第二显示方向。
通过第二询问信息对用户状态进行确定,增加屏幕旋转控制的精准度,优化用户体验。
在其中一个实施例中,如图8所示,根据用户握持姿势及绝对方向确定屏幕旋转方向的步骤还包括:
步骤S540,若绝对方向为第二方向,则判断用户握持姿势是否为横握。
在本实施例中,若移动终端的绝对方向为第二方向,假设第二方向与移动终端在一般使用情况的主方向所处的方向一致,以手机为例,第二方向可以是竖直方向,则可能是用户处于非躺卧状态下竖握移动终端,也可能是用户处于躺卧状态下横握移动终端,因此根据用户握持姿势是否为横握即可判断用户所需的 屏幕旋转方向。
步骤S550,若是,则确定屏幕旋转方向为旋转至第一显示方向。
若用户握持姿势为横握,则表示用户处于躺卧状态下横握移动终端,此时屏幕显示方向应与用户握持方向保持一致,确定屏幕旋转方向为旋转至第一显示方向,以手机为例,在第二方向为竖直方向时,第一显示方向为横屏显示,若第一方向为水平方向,则第三方向是与第一方向反向的水平方向,第二显示方向为竖屏显示。在其中一个实施例中,结合重力传感器检测的旋转方向是逆时针旋转90°还是顺时针旋转90°,控制屏幕对应地旋转至与第一方向相对应的第一显示方向,或是与第三方向相对应的第三显示方向,第一显示方向与第三显示方向反向,例如若第一显示方向为水平向右,则第三显示方向为水平向左。
步骤S560,若否,则确定屏幕旋转方向为旋转至第二显示方向。
若用户握持姿势并非横握,则表示用户处于非躺卧状态下竖握移动终端,此时屏幕显示方向应与移动终端的绝对方向保持一致,确定屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,如图9所示,确定屏幕旋转方向为第一显示方向的步骤包括:
步骤S551,生成第三询问信息;第三询问信息用于询问用户是否处于躺卧状态。
由于前述对用户状态的判断是考虑一般情况下的状态,因此为了消除特殊情况的判断不符合用户需要,通过第三询问信息向用户进行询问,以获知用户是否处于躺卧状态。
步骤S552,获取第三用户反馈信息;第三用户反馈信息为用户根据第三询问信息作出的反馈。
第三用户反馈信息为用户基于第三询问信息作出的反馈,用以确定用户是否处于躺卧状态。
步骤S553,若根据第三用户反馈信息确定处于躺卧状态,则确定屏幕旋转方向为旋转至第一显示方向。
若确定用户处于躺卧状态,则可以确定屏幕显示方向应该与用户握持方向保持一致,即确定屏幕旋转方向为旋转至第一显示方向。
通过第三询问信息对用户状态进行确定,增加屏幕旋转控制的精准度,优化用户体验。
应该理解的是,虽然图1、4-9的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1、4-9中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。
在其中一个实施例中,如图10所示,提供了一种移动终端屏幕旋转控制装置,包括:旋转事件判断模块100、绝对方向确定模块200、接触识别模块300、握持姿势判断模块400和屏幕旋转方向确定模块500,其中:
旋转事件判断模块100,用于识别移动终端是否发生旋转;
绝对方向确定模块200,用于在判定移动终端发生旋转时,确定移动终端在空间中的绝对方向;
接触识别模块300,用于识别移动终端触摸屏边缘是否有被接触区域;
握持姿势判断模块400,用于根据被接触区域判断用户握持姿势;
屏幕旋转方向确定模块500,用于根据用户握持姿势及绝对方向确定屏幕旋转方向。
在其中一个实施例中,如图11所示,移动终端屏幕旋转控制装置还包括:
第一询问信息生成模块600,用于在移动终端触摸屏边缘无被接触点区域,且判定用户未贴近移动终端时,生成第一询问信息;第一询问信息用于询问用户是否拿起移动终端;
第一用户反馈信息获取模块700,用于获取第一用户反馈信息;第一用户反馈信息为用户根据第一询问信息作出的反馈;
第一确定模块800,用于在根据第一用户反馈信息判断用户拿起移动终端时,确定屏幕旋转方向为旋转至第一显示方向。
在其中一个实施例中,如图12所示,握持姿势判断模块400包括:
握持状态判断模块410,用于根据被接触区域的触摸信号判断用户是否握持移动终端;
姿态确定模块420,用于在判定用户握持移动终端时,根据被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
在其中一个实施例中,如图13所示,屏幕旋转方向确定模块500包括:
第一横握确定模块510,用于在绝对方向为水平方向时,判断用户握持姿势是否为横握;
第二确定模块520,用于在判断用户握持姿势为横握时,确定屏幕旋转方向为旋转至第一显示方向;
第三确定模块530,用于在判断用户握持姿势为竖握时,确定屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,如图14所示,第三确定模块530包括:
第二询问信息生成模块531,用于生成第二询问信息;第二询问信息用于询问用户是否处于躺卧状态;
第二用户反馈信息获取模块532,用于获取第二用户反馈信息;第二用户反馈信息为用户根据第二询 问信息作出的反馈;
第一旋转确定模块533,用于在根据第二用户反馈信息确定处于躺卧状态时,确定屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,如图15所示,屏幕旋转方向确定模块500还包括:
第二横握确定模块540,用于在移动终端绝对方向为竖直方向时,判断用户握持姿势是否为横握;
第四确定模块550,用于在判断用户握持姿势为横握时,确定屏幕旋转方向为旋转至第一显示方向;
第五确定模块560,用于在判断用户握持姿势为竖握时,确定屏幕旋转方向为旋转至第二显示方向。
在其中一个实施例中,如图16所示,第四确定模块550包括:
第三询问信息生成模块551,用于生成第三询问信息;第三询问信息用于询问用户是否处于躺卧状态;
第三用户反馈信息获取模块552,用于获取第三用户反馈信息;第三用户反馈信息为用户根据第三询问信息作出的反馈;
第二旋转确定模块553,用于在根据第三用户反馈信息确定处于躺卧状态时,确定屏幕旋转方向为旋转至第一显示方向。
关于移动终端屏幕旋转控制装置的具体限定可以参见上文中对于移动终端屏幕旋转控制方法的限定,在此不再赘述。上述移动终端屏幕旋转控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是移动终端,其内部结构图可以如图17所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种移动终端屏幕旋转控制方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图17中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:
识别移动终端是否发生旋转;
若是,则确定移动终端在空间中的绝对方向;
识别移动终端触摸屏边缘是否有被接触区域;
若有,则根据被接触区域判断用户握持姿势;
根据用户握持姿势及绝对方向确定屏幕旋转方向。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
若移动终端触摸屏边缘无被接触区域,且判定用户未贴近移动终端,则生成第一询问信息;第一询问信息用于询问用户是否拿起移动终端;
获取第一用户反馈信息;第一用户反馈信息为用户根据第一询问信息作出的反馈;
若根据第一用户反馈信息判断用户拿起移动终端,则确定屏幕旋转方向为旋转至第一显示方向。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
根据被接触区域的触摸信号判断用户是否握持移动终端;
若是,则根据被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
若被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持移动终端。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
若绝对方向为第一方向,则判断用户握持姿势是否为横握;
若是,则确定屏幕旋转方向为旋转至第一显示方向;
若否,则确定屏幕旋转方向为旋转至第二显示方向。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
生成第二询问信息;第二询问信息用于询问用户是否处于躺卧状态;
获取第二用户反馈信息;第二用户反馈信息为用户根据第二询问信息作出的反馈;
若根据第二用户反馈信息确定处于躺卧状态,则确定屏幕旋转方向为旋转至第二显示方向。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
若绝对方向为第二方向,则判断用户握持姿势是否为横握;
若是,则确定屏幕旋转方向为旋转至第一显示方向;
若否,则确定屏幕旋转方向为旋转至第二显示方向。
在一个实施例中,处理器执行计算机程序时还实现以下步骤:
生成第三询问信息;第三询问信息用于询问用户是否处于躺卧状态;
获取第三用户反馈信息;第三用户反馈信息为用户根据第三询问信息作出的反馈;
若根据第三用户反馈信息确定处于躺卧状态,则确定屏幕旋转方向为旋转至第一显示方向。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:
识别移动终端是否发生旋转;
若是,则确定移动终端在空间中的绝对方向;
识别移动终端触摸屏边缘是否有被接触区域;
若有,则根据被接触区域判断用户握持姿势;
根据用户握持姿势及绝对方向确定屏幕旋转方向。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
若移动终端触摸屏边缘无被接触区域,且判定用户未贴近移动终端,则生成第一询问信息;第一询问信息用于询问用户是否拿起移动终端;
获取第一用户反馈信息;第一用户反馈信息为用户根据第一询问信息作出的反馈;
若根据第一用户反馈信息判断用户拿起移动终端,则确定屏幕旋转方向为旋转至第一显示方向。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
根据被接触区域的触摸信号判断用户是否握持移动终端;
若是,则根据被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
若被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持移动终端。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
若绝对方向为第一方向,则判断用户握持姿势是否为横握;
若是,则确定屏幕旋转方向为旋转至第一显示方向;
若否,则确定屏幕旋转方向为旋转至第二显示方向。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
生成第二询问信息;第二询问信息用于询问用户是否处于躺卧状态;
获取第二用户反馈信息;第二用户反馈信息为用户根据第二询问信息作出的反馈;
若根据第二用户反馈信息确定处于躺卧状态,则确定屏幕旋转方向为旋转至第二显示方向。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
若绝对方向为第二方向,则判断用户握持姿势是否为横握;
若是,则确定屏幕旋转方向为旋转至第一显示方向;
若否,则确定屏幕旋转方向为旋转至第二显示方向。
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:
生成第三询问信息;第三询问信息用于询问用户是否处于躺卧状态;
获取第三用户反馈信息;第三用户反馈信息为用户根据第三询问信息作出的反馈;
若根据第三用户反馈信息确定处于躺卧状态,则确定屏幕旋转方向为旋转至第一显示方向。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所 有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (25)

  1. 一种移动终端屏幕旋转控制方法,其特征在于,所述方法包括:
    识别移动终端是否发生旋转;
    若是,则确定所述移动终端在空间中的绝对方向;
    识别所述移动终端触摸屏边缘是否有被接触区域;
    若有,则根据所述被接触区域判断用户握持姿势;
    根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向。
  2. 根据权利要求1所述的移动终端屏幕旋转控制方法,其特征在于,所述方法还包括:
    若所述移动终端触摸屏边缘无被接触区域,且判定用户未贴近所述移动终端,则生成第一询问信息;所述第一询问信息用于询问用户是否拿起所述移动终端;
    获取第一用户反馈信息;所述第一用户反馈信息为用户根据所述第一询问信息作出的反馈;
    若根据所述第一用户反馈信息判断用户拿起所述移动终端,则确定所述屏幕旋转方向为旋转至第一显示方向。
  3. 根据权利要求1所述的移动终端屏幕旋转控制方法,其特征在于,所述根据所述被接触区域判断用户握持姿势的步骤包括:
    根据所述被接触区域的触摸信号判断用户是否握持所述移动终端;
    若是,则根据所述被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
  4. 根据权利要求3所述的移动终端屏幕旋转控制方法,其特征在于,所述根据所述被接触区域的触摸信号判断用户是否握持所述移动终端的步骤包括:
    若所述被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且所述被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持所述移动终端。
  5. 根据权利要求1所述的移动终端屏幕旋转控制方法,其特征在于,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤包括:
    若所述绝对方向为第一方向,则判断所述用户握持姿势是否为横握;
    若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
    若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
  6. 根据权利要求5所述的移动终端屏幕旋转控制方法,其特征在于,所述确定所述屏幕旋转方向为旋转至第二显示方向的步骤包括:
    生成第二询问信息;所述第二询问信息用于询问用户是否处于躺卧状态;
    获取第二用户反馈信息;所述第二用户反馈信息为用户根据所述第二询问信息作出的反馈;
    若根据所述第二用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第二显示方向。
  7. 根据权利要求1所述的移动终端屏幕旋转控制方法,其特征在于,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤还包括:
    若所述绝对方向为第二方向,则判断所述用户握持姿势是否为横握;
    若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
    若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
  8. 根据权利要求7所述的移动终端屏幕旋转控制方法,其特征在于,
    所述确定所述屏幕旋转方向为旋转至第一显示方向的步骤包括:
    生成第三询问信息;所述第三询问信息用于询问用户是否处于躺卧状态;
    获取第三用户反馈信息;所述第三用户反馈信息为用户根据所述第三询问信息作出的反馈;
    若根据所述第三用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第一显示方向。
  9. 一种移动终端屏幕旋转控制装置,其特征在于,所述装置包括:
    旋转事件判断模块,用于识别所述移动终端是否发生旋转;
    绝对方向确定模块,用于在判定移动终端发生旋转时,确定所述移动终端在空间中的绝对方向;
    接触识别模块,用于识别所述移动终端触摸屏边缘是否有被接触区域;
    握持姿势判断模块,用于根据所述被接触区域判断用户握持姿势;
    屏幕旋转方向确定模块,用于根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向。
  10. 根据权利要求9所述的移动终端屏幕旋转控制装置,其特征在于,所述装置还包括:
    第一询问信息生成模块,用于在所述移动终端触摸屏边缘无被接触区域,且判定用户未贴近所述移动终端时,生成第一询问信息;所述第一询问信息用于询问用户是否拿起所述移动终端;
    第一用户反馈信息获取模块,用于获取第一用户反馈信息;所述第一用户反馈信息为用户根据所述第一询问信息作出的反馈;
    第一确定模块,用于在根据所述第一用户反馈信息判断用户拿起所述移动终端时,确定所述屏幕旋转方向为旋转至第一显示方向。
  11. 根据权利要求9所述的移动终端屏幕旋转控制装置,其特征在于,所述握持姿势判断模块包括:
    握持状态判断模块,用于根据所述被接触区域的触摸信号判断用户是否握持所述移动终端;
    姿态确定模块,用于在判定用户握持所述移动终端时,根据所述被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
  12. 根据权利要求11所述的移动终端屏幕旋转控制装置,其特征在于,所述握持状态判断模块用于在所述被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且所述被接触区域的触摸信号持续时间达到预设的握持接触时间阈值时,判定用户握持所述移动终端。
  13. 根据权利要求9所述的移动终端屏幕旋转控制装置,其特征在于,所述屏幕旋转方向确定模块包括:
    第一横握确定模块,用于在所述绝对方向为第一方向时,判断所述用户握持姿势是否为横握;
    第二确定模块,用于在判断所述用户握持姿势为横握时,确定所述屏幕旋转方向为旋转至第一显示方向;
    第三确定模块,用于在判断所述用户握持姿势为竖握时,确定所述屏幕旋转方向为旋转至第二显示方向。
  14. 根据权利要求13所述的移动终端屏幕旋转控制装置,其特征在于,所述第三确定模块包括:
    第二询问信息生成模块,用于生成第二询问信息;所述第二询问信息用于询问用户是否处于躺卧状态;
    第二用户反馈信息获取模块,用于获取第二用户反馈信息;所述第二用户反馈信息为用户根据所述第二询问信息作出的反馈;
    第一旋转确定模块,用于在根据所述第二用户反馈信息确定处于躺卧状态时,确定所述屏幕旋转方向为旋转至第二显示方向。
  15. 根据权利要求9所述的移动终端屏幕旋转控制装置,其特征在于,所述屏幕旋转方向确定模块还包括:
    第二横握确定模块,用于在所述绝对方向为第二方向时,判断所述用户握持姿势是否为横握;
    第四确定模块,用于在判断所述用户握持姿势为横握时,确定所述屏幕旋转方向为旋转至第一显示方向;
    第五确定模块,用于在判断所述用户握持姿势为竖握时,确定所述屏幕旋转方向为旋转至第二显示方向。
  16. 根据权利要求15所述的移动终端屏幕旋转控制装置,其特征在于,所述第四确定模块包括:
    第三询问信息生成模块,用于生成第三询问信息;所述第三询问信息用于询问用户是否处于躺卧状态;
    第三用户反馈信息获取模块,用于获取第三用户反馈信息;所述第三用户反馈信息为用户根据所述第三询问信息作出的反馈;
    第二旋转确定模块,用于在根据所述第三用户反馈信息确定处于躺卧状态时,确定所述屏幕旋转方向为旋转至第一显示方向。
  17. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述计算机程序被执行时,所述处理器实现移动终端屏幕旋转控制方法,所述方法包括:
    识别移动终端是否发生旋转;
    若是,则确定所述移动终端在空间中的绝对方向;
    识别所述移动终端触摸屏边缘是否有被接触区域;
    若有,则根据所述被接触区域判断用户握持姿势;
    根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向。
  18. 根据权利要求17所述的计算机设备,其特征在于,所述方法还包括:
    若所述移动终端触摸屏边缘无被接触区域,且判定用户未贴近所述移动终端,则生成第一询问信息;所述第一询问信息用于询问用户是否拿起所述移动终端;
    获取第一用户反馈信息;所述第一用户反馈信息为用户根据所述第一询问信息作出的反馈;
    若根据所述第一用户反馈信息判断用户拿起所述移动终端,则确定所述屏幕旋转方向为旋转至第一显示方向。
  19. 根据权利要求17所述的计算机设备,其特征在于,所述根据所述被接触区域判断用户握持姿势的步骤包括:
    根据所述被接触区域的触摸信号判断用户是否握持所述移动终端;
    若是,则根据所述被接触区域的触点坐标信息及预设的坐标与握持姿势的对应关系确定用户握持姿势。
  20. 根据权利要求19所述的计算机设备,其特征在于,所述根据所述被接触区域的触摸信号判断用户是否握持所述移动终端的步骤包括:
    若所述被接触区域的触摸信号面积达到预设的握持接触信号面积阈值,且所述被接触区域的触摸信号持续时间达到预设的握持接触时间阈值,则判定用户握持所述移动终端。
  21. 根据权利要求17所述的计算机设备,其特征在于,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤包括:
    若所述绝对方向为第一方向,则判断所述用户握持姿势是否为横握;
    若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
    若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
  22. 根据权利要求21所述的计算机设备,其特征在于,所述确定所述屏幕旋转方向为旋转至第二显示方向的步骤包括:
    生成第二询问信息;所述第二询问信息用于询问用户是否处于躺卧状态;
    获取第二用户反馈信息;所述第二用户反馈信息为用户根据所述第二询问信息作出的反馈;
    若根据所述第二用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第二显示方向。
  23. 根据权利要求17所述的计算机设备,其特征在于,所述根据所述用户握持姿势及所述绝对方向确定屏幕旋转方向的步骤还包括:
    若所述绝对方向为第二方向,则判断所述用户握持姿势是否为横握;
    若是,则确定所述屏幕旋转方向为旋转至第一显示方向;
    若否,则确定所述屏幕旋转方向为旋转至第二显示方向。
  24. 根据权利要求23所述的计算机设备,其特征在于,所述确定所述屏幕旋转方向为旋转至第一显示方向的步骤包括:
    生成第三询问信息;所述第三询问信息用于询问用户是否处于躺卧状态;
    获取第三用户反馈信息;所述第三用户反馈信息为用户根据所述第三询问信息作出的反馈;
    若根据所述第三用户反馈信息确定处于躺卧状态,则确定所述屏幕旋转方向为旋转至第一显示方向。
  25. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至8中任一项所述的方法的步骤。
PCT/CN2021/086996 2020-04-14 2021-04-13 移动终端屏幕旋转控制方法、装置及计算机设备 WO2021208924A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010289749.8 2020-04-14
CN202010289749.8A CN113535051A (zh) 2020-04-14 2020-04-14 移动终端屏幕旋转控制方法、装置及计算机设备

Publications (1)

Publication Number Publication Date
WO2021208924A1 true WO2021208924A1 (zh) 2021-10-21

Family

ID=78083964

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/086996 WO2021208924A1 (zh) 2020-04-14 2021-04-13 移动终端屏幕旋转控制方法、装置及计算机设备

Country Status (2)

Country Link
CN (1) CN113535051A (zh)
WO (1) WO2021208924A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902194A (zh) * 2012-12-28 2014-07-02 鸿富锦精密工业(武汉)有限公司 电子装置及其屏幕画面旋转控制方法
US20140375582A1 (en) * 2013-06-20 2014-12-25 Samsung Electronics Co., Ltd. Electronic device and method of controlling electronic device using grip sensing
CN104898957A (zh) * 2014-03-07 2015-09-09 中国移动通信集团公司 一种控制屏幕旋转的方法、装置及用户终端
CN105511770A (zh) * 2015-12-09 2016-04-20 广东欧珀移动通信有限公司 移动终端的控制方法、装置及移动终端
CN106598441A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种终端横竖屏模式的设置装置、终端及方法
CN107977079A (zh) * 2017-11-28 2018-05-01 维沃移动通信有限公司 一种屏幕旋转方法和移动终端
CN110851067A (zh) * 2019-10-29 2020-02-28 华为技术有限公司 屏幕显示模式的切换方法、装置及电子设备
CN111459380A (zh) * 2020-03-30 2020-07-28 Oppo广东移动通信有限公司 一种画面旋转控制方法、装置、存储介质和显示设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092344A (zh) * 2013-01-11 2013-05-08 深圳市金立通信设备有限公司 一种控制终端屏幕画面旋转的方法及终端
KR101482867B1 (ko) * 2013-07-23 2015-01-15 원혁 테두리 터치를 이용하는 입력 및 포인팅을 위한 방법 및 장치

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902194A (zh) * 2012-12-28 2014-07-02 鸿富锦精密工业(武汉)有限公司 电子装置及其屏幕画面旋转控制方法
US20140375582A1 (en) * 2013-06-20 2014-12-25 Samsung Electronics Co., Ltd. Electronic device and method of controlling electronic device using grip sensing
CN104898957A (zh) * 2014-03-07 2015-09-09 中国移动通信集团公司 一种控制屏幕旋转的方法、装置及用户终端
CN105511770A (zh) * 2015-12-09 2016-04-20 广东欧珀移动通信有限公司 移动终端的控制方法、装置及移动终端
CN106598441A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种终端横竖屏模式的设置装置、终端及方法
CN107977079A (zh) * 2017-11-28 2018-05-01 维沃移动通信有限公司 一种屏幕旋转方法和移动终端
CN110851067A (zh) * 2019-10-29 2020-02-28 华为技术有限公司 屏幕显示模式的切换方法、装置及电子设备
CN111459380A (zh) * 2020-03-30 2020-07-28 Oppo广东移动通信有限公司 一种画面旋转控制方法、装置、存储介质和显示设备

Also Published As

Publication number Publication date
CN113535051A (zh) 2021-10-22

Similar Documents

Publication Publication Date Title
US9959040B1 (en) Input assistance for computing devices
US11119575B2 (en) Gesture based user interface supporting preexisting symbols
EP2603844B1 (en) Finger identification on a touchscreen
US7763842B2 (en) Motion determination apparatus and method thereof
US8654085B2 (en) Multidimensional navigation for touch sensitive display
US9983717B2 (en) Disambiguation of false touch inputs at an information handling system projected user interface
US20120284427A1 (en) Method of device selection using sensory input and portable electronic device configured for same
CN107704179B (zh) 决定画面显示方向的方法及使用其的电子装置
WO2021213274A1 (zh) 移动终端防误触方法、装置、计算机设备及存储介质
KR20150019352A (ko) 전자장치에서 그립상태를 인지하기 위한 방법 및 장치
JP2014531688A (ja) 全方向ジェスチャー入力
US20220321120A1 (en) Touch button, control method, and electronic device
WO2021004306A1 (zh) 操作控制方法及终端
US9760189B2 (en) Method and apparatus for controlling touch-key operation
JP6483556B2 (ja) 操作認識装置、操作認識方法及びプログラム
US9471154B1 (en) Determining which hand is holding a device
US10498879B2 (en) Electronic device, protection method and related product
CN111078002A (zh) 一种悬空手势识别方法及终端设备
CN107943406B (zh) 一种触摸屏触控点确定方法及终端
US9235338B1 (en) Pan and zoom gesture detection in a multiple touch display
EP3528103B1 (en) Screen locking method, terminal and screen locking device
WO2021208924A1 (zh) 移动终端屏幕旋转控制方法、装置及计算机设备
TW201504929A (zh) 電子裝置及其手勢控制方法
EP2521342A1 (en) Method of device selection using sensory input and portable electronic device configured for same
US11520481B2 (en) Touch display screen operation method and user equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21789595

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21789595

Country of ref document: EP

Kind code of ref document: A1