WO2015106647A1 - 一种界面操作的方法及终端 - Google Patents

一种界面操作的方法及终端 Download PDF

Info

Publication number
WO2015106647A1
WO2015106647A1 PCT/CN2015/070284 CN2015070284W WO2015106647A1 WO 2015106647 A1 WO2015106647 A1 WO 2015106647A1 CN 2015070284 W CN2015070284 W CN 2015070284W WO 2015106647 A1 WO2015106647 A1 WO 2015106647A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
touch screen
terminal
screen
tilt 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.)
Ceased
Application number
PCT/CN2015/070284
Other languages
English (en)
French (fr)
Inventor
王红军
杨之言
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201410020478.0A external-priority patent/CN103927075A/zh
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to ES15736987T priority Critical patent/ES2731398T3/es
Priority to EP19158721.1A priority patent/EP3557393A1/en
Priority to JP2016546994A priority patent/JP2017513081A/ja
Priority to US15/112,026 priority patent/US20160349991A1/en
Priority to EP15736987.7A priority patent/EP3096211B8/en
Priority to KR1020167022124A priority patent/KR20160110453A/ko
Publication of WO2015106647A1 publication Critical patent/WO2015106647A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing 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 three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0489Interaction 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 dedicated keyboard keys or combinations thereof
    • G06F3/04897Special input arrangements or commands for improving display capability

Definitions

  • the present invention relates to the field of terminals, and in particular to a method and terminal for interface operation.
  • the screen of the mobile touch screen device is getting larger and larger, and the interface displayed on the screen is also getting larger and larger.
  • the finger It is often difficult to touch the interface-operable content on the interface that is outside the range of the gripper's activity.
  • the interface operable content is arranged as far as possible under the interface, so as to reduce the occurrence of the interface operable content in the upper part of the interface, but there are still some interfaces.
  • the operation content is outside the range of the gripper's activity, which makes it impossible for the user to operate the interface operable content conveniently and quickly.
  • the embodiment of the invention provides a method and a terminal for operating an interface, which can facilitate the user to operate the interface operable content on the screen outside the range of the grip activity when the screen of the terminal is large.
  • an embodiment of the present invention provides a method for interface operation, where the method includes:
  • the tilting state includes an inclined angle within a preset range in a preset direction, or has a preset range in a preset direction Acceleration or displacement;
  • the second interface is an interface obtained according to the movement of part or all of the first interface; according to the tilt state of the touch screen, moving the first interface of the user currently on the screen of the touch screen according to a predetermined rule Part or all of the following: according to the tilt state of the touch screen, the display position of the part of the interface operable content on the first interface is exchanged according to a predetermined rule;
  • the portion of the first interface is part or all of the interface operable content on the first interface, and the interface operable content includes at least one of an icon, a button, and a user selection button.
  • the second interface is specifically a part or all of the moved interface of the first interface.
  • the tilting state of the touch screen includes: tilting to the left, tilting to the right, tilting upward, tilting downward, Tilt to the left, tilt to the left, tilt to the right, or tilt to the right.
  • an embodiment of the present invention provides a method for interface operation, where the method includes:
  • the tilting state includes an inclined angle within a preset range in a preset direction, or has a preset range in a preset direction Acceleration or displacement;
  • part or all of the first interface where the user is currently located on the screen of the touch screen is moved according to a predetermined rule to obtain a second interface, where the second interface is obtained.
  • an interface obtained according to the movement of part or all of the first interface; according to the tilt state of the touch screen, moving part or all of the first interface where the user is currently on the screen of the touch screen according to a predetermined rule includes: when When the tilt state of the touch screen is tilted up/down/left/right, the distance that some or all of the first interface on the screen should be moved upward/downward/left/right is calculated according to a predetermined formula, and Moving the calculated distance up/down/left/right to part or all of the first interface;
  • the portion of the first interface is part or all of the interface operable content on the first interface, and the interface operable content includes at least one of an icon, a button, and a user selection button.
  • the interface operable content on the first interface includes a virtual keyboard; when the touch screen of the terminal is detected to be in a tilt state, according to the touch screen In the tilt state, part or all of the first interface where the user is currently located on the screen of the touch screen is moved according to a predetermined rule to obtain a second interface, which includes at least one of the following situations:
  • the virtual keyboard When detecting that the touch screen tilt state of the terminal is tilted to the left, according to the tilt state of the touch screen, the virtual keyboard is reduced, and the virtual keyboard of the first interface on the screen is calculated to move to the left according to a predetermined formula. Distance, moving the virtual keyboard to the left according to the calculated distance to obtain a second interface;
  • the virtual keyboard When it is detected that the touch screen tilt state of the terminal is tilted to the right, the virtual keyboard is reduced according to the tilt state of the touch screen, and the virtual keyboard of the first interface on the screen is calculated to move to the right according to a predetermined formula. Distance, moving the virtual keyboard to the right according to the calculated distance to obtain a second interface;
  • the distance of the virtual keyboard of the first interface on the screen is calculated upward according to a predetermined formula, and the calculated distance is upward. Moving the virtual keyboard to obtain a second interface;
  • the interface operable content on the first interface includes an input window; when the touch screen of the terminal is detected to be in an inclined state, according to the touch screen In the tilt state, part or all of the first interface where the user is currently located on the screen of the touch screen is moved according to a predetermined rule to obtain a second interface, which includes at least one of the following situations:
  • the second interface includes a portion of the interface after the partial or total movement of the interface, and after moving part or all of the first interface, the third interface presented by the space on the screen;
  • the receiving user's operation on the second interface includes at least one of the following:
  • the touch screen The tilt state includes: tilting to the left, tilting to the right, tilting upward, tilting downward, tilting to the left, tilting to the left, tilting to the right, or tilting to the right.
  • an embodiment of the present invention provides a terminal, where the terminal includes:
  • a touch screen for presenting an interface on a screen of the touch screen
  • the tilting state includes an inclination angle within a preset range in a preset direction, or an acceleration within a preset range in a preset direction Or displacement;
  • a processor configured to: when the gravity sensor or the gyroscope detects that the touch screen of the terminal is in a tilt state, move a portion of the first interface where the user is currently located on the screen of the touch screen according to a predetermined rule according to the tilt state of the touch screen or All, obtaining a second interface, wherein the second interface is an interface obtained according to the movement of part or all of the first interface; the processor is configured to move the user on the screen of the touch screen according to a predetermined rule according to the tilt state of the touch screen Part or all of the first interface currently located is:
  • the processor is configured to exchange, according to a predetermined state, a display position of a part of the interface operable content on the first interface according to a tilt state of the touch screen;
  • the processor is further configured to receive an operation of the user on the second interface, and restore part or all of the moved first interface to the mobile after the user ends the operation on the second interface Front position
  • the portion of the first interface is part or all of the interface operable content on the first interface, and the interface operable content includes at least one of an icon, a button, and a user selection button.
  • the second interface is specifically a part or all of the moved interface of the first interface.
  • the tilting state of the touch screen includes: tilting to the left, tilting to the right, tilting upward, tilting downward, Tilt to the left, tilt to the left, tilt to the right, or tilt to the right.
  • an embodiment of the present invention provides a terminal, where the terminal includes:
  • a touch screen for presenting an interface on a screen of the touch screen
  • the tilting state includes an inclination angle within a preset range in a preset direction, or an acceleration within a preset range in a preset direction Or displacement;
  • a processor configured to: when the gravity sensor or the gyroscope detects that the touch screen of the terminal is in a tilt state, move a portion of the first interface where the user is currently located on the screen of the touch screen according to a predetermined rule according to the tilt state of the touch screen or All, obtaining a second interface, wherein the second interface is an interface obtained according to the movement of part or all of the first interface; the processor is configured to move the user on the screen of the touch screen according to a predetermined rule according to the tilt state of the touch screen Part or all of the first interface currently located is:
  • the processor is configured to calculate, when the tilt state of the touch screen is tilted up/down/left/right, part or all of the first interface on the screen should be up/down/left according to a predetermined formula / the distance moved to the right, and the calculated distance is moved up/down/left/right to part or all of the first interface;
  • the processor is further configured to receive an operation of the user on the second interface, and restore part or all of the moved first interface to the mobile after the user ends the operation on the second interface Front position
  • the portion of the first interface is part or all of the interface operable content on the first interface, and the interface operable content includes at least one of an icon, a button, and a user selection button.
  • the interface operable content on the first interface includes a virtual keyboard; and the processor is configured to detect the terminal when the gravity sensor or the gyroscope When the touch screen is in the tilt state, according to the tilt state of the touch screen, part or all of the first interface where the user is currently located on the screen of the touch screen is moved according to a predetermined rule, and the second interface is obtained, including:
  • the processor is configured to: when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted to the left, reduce the virtual keyboard according to the tilt state of the touch screen, and calculate the screen according to a predetermined formula a distance at which the virtual keyboard of the first interface moves to the left, and moves the virtual keyboard to the left according to the calculated distance to obtain a second interface; or
  • the processor is configured to reduce the virtual keyboard according to a tilt state of the touch screen when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted to the right. And calculating, according to a predetermined formula, a distance that the virtual keyboard of the first interface on the screen moves to the right, and moving the virtual keyboard to the right according to the calculated distance to obtain a second interface; or
  • the processor is configured to calculate a virtual keyboard of the first interface on the screen according to a predetermined formula according to a tilt state of the touch screen when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is upward tilt Moving the distance upward, and moving the virtual keyboard upward according to the calculated distance to obtain a second interface; or,
  • the processor is configured to calculate a virtuality of the first interface on the screen according to a predetermined formula according to a tilt state of the touch screen when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is downwardly inclined The distance moved by the keyboard downwards, and the virtual keyboard is moved downward according to the calculated distance to obtain a second interface.
  • the interface operable content on the first interface includes an input window
  • the processor is configured to detect the terminal when the gravity sensor or the gyroscope When the touch screen is in the tilt state, according to the tilt state of the touch screen, part or all of the first interface where the user is currently located on the screen of the touch screen is moved according to a predetermined rule, and the second interface is obtained, including:
  • the processor is configured to calculate, when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted to the left, calculate the input of the first interface on the screen according to a predetermined formula according to the tilt state of the touch screen The distance that the window moves to the left, and moves the input window to the left according to the calculated distance to obtain a second interface; or,
  • the processor is configured to, when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted to the right, calculate an input of the first interface on the screen according to a predetermined formula according to the tilt state of the touch screen The distance that the window moves to the right, and moves the input window to the right according to the calculated distance to obtain a second interface; or,
  • the processor is configured to, when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted upward, calculate an input window of the first interface on the screen according to a predetermined formula according to the tilt state of the touch screen Moving the distance upward and moving the input window upward according to the calculated distance to obtain a second interface; or,
  • the processor is configured to, when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted downward, calculate an input of the first interface on the screen according to a predetermined formula according to the tilt state of the touch screen The distance the window moves downward, and moves the input window downward according to the calculated distance to obtain a second interface.
  • the second interface includes part or all of the first interface a moved interface, and after moving part or all of the first interface, a third interface presented by the space on the screen;
  • the processor is configured to receive a user operation on the second interface, including at least one of the following:
  • the processor is configured to receive an operation of a user on a part or all of the moved interface of the first interface; or
  • the processor is configured to receive an operation of a user on the third interface; or
  • the processor is configured to receive an interaction operation between the user after the partial or all movement of the first interface and the third interface.
  • the touch screen The tilt state includes: tilting to the left, tilting to the right, tilting upward, tilting downward, tilting to the left, tilting to the left, tilting to the right, or tilting to the right.
  • the embodiment of the invention has the following beneficial effects:
  • the method and the terminal provided by the embodiment of the present invention detect that the touch screen of the terminal is in a tilt state by using a gravity sensor or a gyroscope in the terminal, adjust the position of the entire interface or the position of the content in the interface according to the tilt state of the touch screen, so that the user It is more convenient to operate the interface operable content outside the range of the grip activity.
  • the adjusted interface is restored to the interface before the adjustment, so that the user can continue to view the interface comfortably.
  • the user can view the comfort of the interface and the convenience of the user to operate the interface, improve the user-friendliness of the terminal interface, and enhance the user experience.
  • FIG. 1 is a flowchart of a method for interface operation according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a tilt angle detected in a method of interface operation according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an effect of a method for interface operation according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram showing the effect of another method for interface operation according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram showing the effect of another method for interface operation according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing the effect of another method for interface operation according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram showing the effect of another method for interface operation according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram showing the effect of another method for interface operation according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram showing the effect of another method for interface operation according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram showing the effect of another method for interface operation according to an embodiment of the present invention.
  • the method may include the following steps:
  • the tilting state includes a tilt angle within a preset range in a preset direction (eg, the user may implement the tilting of the mobile phone) ), or have a preset range of acceleration or displacement (such as can be achieved by the user moving or shaking the phone);
  • the preset direction may include up/down/left/right/left up/down left/upper right/down right, and the object referred to by the preset direction may include one or more of the following:
  • the mobile phone itself, the plane on which the touch screen of the mobile phone is located, the horizontal plane, the vertical plane, the X-axis/Y-axis of the horizontal plane, or the X-axis/Y-axis of the plane where the touch screen of the mobile phone is located, can be selected and understood according to actual conditions. Other related places in this document can be referred to herein and will not be described again.
  • part or all of the first interface where the user is currently located on the screen of the touch screen according to a predetermined rule includes: according to the tilt state of the touch screen, part of the interface on the first interface according to a predetermined rule
  • the display positions of the operable content are interchanged. For example, as shown in FIG.
  • the mobile phone when the right-handed user cannot reach the toolbar icon such as the icon 51 on the left side of the mobile phone toolbar, the mobile phone (such as tilting left or right) or tilting the mobile phone (such as Left or right ⁇ ), etc., so that the mobile phone is in a certain preset tilt state, so that the display position of the icon (which can be understood as the part of the first interface) on the toolbar in the first interface where the mobile phone is currently located is mutually change.
  • the display position of the icon which can be understood as the part of the first interface
  • the toolbar icons 51 and 52 near the left edge of the mobile phone toolbar are respectively interchanged with the display positions of the toolbar icons 55 and 54 near the right edge; Or the rotation of the animation effect or the like causes the display position of the icon to change, the toolbar icons 51 and 52 that adjust the display of the icon to the left edge are displayed to the right, and the toolbar icons 55 and 54 that are located on the right are displayed to the left. That is, as shown in FIG. 5, the toolbar icons 51, 52, 53, 54, and 55 above and below the interface of the mobile phone, such as the mobile phone, are displayed as icons 55 and 54 after some or all of the icons are adjusted for the display position interchange.
  • the icon 53 is located at the middle of the interface, its display position may not be adjusted, and it may be understood that the adjusted display position is the same as the original display position. Therefore, the toolbar icon 51 near the left edge of the mobile phone toolbar enters the user's right hand operable range, and the offset toolbar icon returns to the original position after the user clicks the operation, that is, the icons 51, 52, and 53 are displayed. 54 and 55, see step 103 for details.
  • the display positions of the icons 51 and 52 and the icons 54 and 55, respectively, may be interchanged, or the icons 51 and 52 as a whole and the overall display positions of the icons 54 and 55 may be displayed.
  • the interchange that is, the adjustment of the display position interchange, is displayed as icons 54, 55, 53, 51, and 52.
  • the icon 51 located at the leftmost position can be adjusted to the position of the middle of the interface after being adjusted by the display position, so that the icon 51 enters the user's right hand operable range, and the convenience of the user's right hand click icon 51 is further improved. Comfort.
  • the terminal may automatically restore part or all of the moved first interface to the position before the movement.
  • the second case is that the terminal is based on a gravity sensor or a gyroscope in the terminal.
  • the detected change of the state of the touch screen of the terminal (for example, after the user ends the operation on the second interface, the mobile phone is rotated to restore the mobile phone from the previous tilt state to the initial non-tilt state), and Part or all of the first interface after the movement is restored to the position before the movement.
  • the terminal is usually restored by the user to a predetermined non-tilted state angle range, so that the terminal can detect the touch screen of the terminal according to the gravity sensor or the gyroscope in the terminal.
  • the change of the state restores the offset toolbar icon to the original position, or even if the terminal is still within the angle range of the predetermined tilt state, the user generally completes the operation on the first interface, so The terminal can automatically restore the offset toolbar icon to its original location.
  • the user can continue to view the interface comfortably, and the user can view the comfort of the interface and the convenience of the user to operate the interface. In both cases, you can choose to use according to actual needs.
  • the portion of the first interface is part or all of the interface operable content on the first interface, and the interface operable content includes at least one of an icon, a button, and a user selection button.
  • the position of the entire interface or the position of the partial content in the interface is adjusted according to the tilt state of the touch screen, so that the user can more conveniently operate the interface operable content that is outside the range of the grip activity.
  • the adjusted interface is restored to the interface before the adjustment, so that the user can continue to view the interface that has been used habitually in a familiar manner, and can take into consideration the comfort of the user viewing interface and the operation of the interface by the user.
  • the convenience improve the user-friendliness of the terminal interface, and enhance the user experience.
  • the tilt state of the touch screen may include: tilting to the left, tilting to the right, tilting upward, tilting downward, tilting to the left, tilting to the left, tilting to the right, or tilting to the right.
  • the user can tilt the mobile phone by tilting up/down/left/right, and the touch screen of the mobile phone is tilted up/down/left/right.
  • the user can specifically go to the left/right direction. Right click on the phone to tilt the phone's touch screen to the left/right.
  • the second interface may specifically be a part or all of the moved interface of the first interface. After the position of the part or all of the first interface is adjusted, the second interface is obtained, and the user operates on the second interface. After the user ends the operation on the second interface, the terminal moves the mobile terminal. Part or all of the first interface after the restoration is restored to the position before the movement.
  • step 102 may be replaced by step 202, according to the tilt state of the touch screen, the user on the screen of the touch screen is moved according to a predetermined rule.
  • Part or all of the first interface in which the front screen is located includes: when the tilt state of the touch screen is tilted upward/downward/leftward/rightward, calculating part or all of the first interface on the screen according to a predetermined formula The distance moved upward/downward/left/right, and the calculated distance is moved up/down/left/right to part or all of the first interface. For example, as shown in FIG. 6 or FIG.
  • the mobile phone when the user who is accustomed to the right hand cannot reach the toolbar icon such as 51 on the left side of the mobile phone toolbar, the mobile phone can be tilted right (ie, the left side is high and the lower side is low) or the right side is tilted.
  • the mobile phone is such that an icon on the toolbar in the first interface where the mobile phone is currently located (which can be understood as a part of the first interface) is offset to the right by a certain distance.
  • the tool can be used by understanding the toolbar below the interface (the toolbar can be understood as the first interface, or the interface currently displayed in the entire screen area of the mobile phone can be understood as the first interface).
  • the bar is understood to be part of the first interface) or some or all of the icons contained in the toolbar are offset to the right by a certain distance.
  • the icons 54, 55 are not visible on the interface, icons 51, 52, 53 is offset to the right by a certain distance, so that the icon 51 enters the user's right hand operable range, and the offset toolbar icon returns to the original position after the user clicks the operation, for example, the display icons 51, 52 can be restored. 53, 54, and 55. Or, as shown in FIG.
  • the toolbar can be understood as the first interface, or the interface currently displayed in the entire screen area of the mobile phone can be understood as the first interface
  • Some or all of the icons on the part of the first interface are offset to the right by a certain distance. After the offset, the icons 51, 52, 53 54, 55 is still visible on the interface, the spacing between the icon and the icon becomes smaller, so that the icon 51 enters the user's right hand operable range, and the toolbar icon after the user's finger click operation is restored to the original position, such as The icons 51, 52, 53, 54, and 55 under the original spacing can be restored.
  • the mobile phone when the right-handed user cannot reach the toolbar icon on the left side of the mobile phone toolbar such as 51, the mobile phone can be tilted right (ie, the left side is high and the right side is low) or the mobile phone is turned to the right.
  • the first interface where the mobile phone is currently located (the interface currently displayed in the entire screen area of the mobile phone can be understood as the first interface) is offset to the right by a certain distance, as shown in FIG. 8 , the entire interface can be The right is offset by a certain distance.
  • the right half of the first interface includes the icons 54, 55 not visible on the interface
  • the left half of the first interface includes the icons 51, 52, 53 as a whole offset to the right.
  • the fourth interface displayed on the screen area of the mobile phone shown in FIG. 9A may be the previous interface or the latter interface of the first interface shown in FIG. 9B.
  • the fourth interface is an example of the previous interface of the first interface.
  • the phone can tilt the phone to the right (ie, the left side is high and the right side is low) or tilt the phone to the right, so that the first interface where the mobile phone is currently located is shifted to the right by a certain distance.
  • the first interface can be turned to the right as a whole.
  • the right half of the first interface includes the icons 98, 99 not visible on the interface
  • the left half of the first interface includes the icons 95, 96, 97 as a whole offset to the right by a certain distance.
  • the icon 95 enters the user's right hand operable range, and the user's finger click operation ends after the offset interface or icon restores the original position, such as the first interface can be restored, including the recovery icons 95, 96, 97, 98, and The display position of 99.
  • the second interface includes a part or all of the moved interface of the first interface, and after moving part or all of the first interface, the space on the screen is presented.
  • the third interface may be part or all of the fourth interface, and the third interface shown in FIG.
  • 9C is a part of the fourth interface, when the third interface is the first interface
  • the user may perform an interactive operation on the partially or fully moved interface of the first interface and the third interface, for example, an icon may be Dragging an interface to another interface, such as dragging and dropping the icon 95 onto the third interface, facilitates the user to implement the interaction between the two interfaces, and provides a new implementation method for realizing the interaction between the two interfaces. It enriches the functions of the terminal and enhances the user experience.
  • the tilt state of the touch screen may include: tilting to the left, tilting to the right, tilting upward, tilting downward, tilting to the left, tilting to the left, tilting to the right, or tilting to the right.
  • the user can tilt the mobile phone by tilting up/down/left/right, and the touch screen of the mobile phone is tilted up/down/left/right.
  • the user can specifically go to the left/right direction. Right click on the phone to tilt the phone's touch screen to the left/right.
  • the interface operable content on the first interface may be a virtual keyboard.
  • the interface operable content on the first interface may be an input window.
  • the embodiment of the present invention does not limit the application scenario of the virtual keyboard and the input window.
  • the virtual keyboard may be a digital virtual keyboard; in a text editing interface, such as short message editing.
  • the virtual keyboard may be a pinyin/letter virtual keyboard, or may be a virtual keyboard with a special symbol; the input window may be a text input window corresponding to the virtual keyboard. It is also possible to input a window for text, voice, etc. preset by the terminal on the first interface.
  • the virtual keyboard when detecting that the touch screen tilt state of the terminal is tilted to the left, the virtual keyboard is reduced according to the tilt state of the touch screen, and the screen is calculated according to a predetermined formula.
  • the virtual keyboard of the first interface is moved to the left by a distance, and the virtual keyboard is moved to the left according to the calculated distance to obtain a second interface.
  • the terminal reduces the virtual dialing keyboard, and moves the virtual dialing keyboard to the left according to the distance calculated by the predetermined formula, and the reduced virtual dialing keyboard is close to the screen.
  • the left side shows that the user can improve the one-hand operation efficiency of the user by one-hand operation with the left hand.
  • the coverage area of the original virtual dialing keyboard of the first interface on the screen may include a rightward pointing arrow, and the rightward pointing arrow may be used to prompt the user to click the right.
  • the recovery of the original virtual dial pad is implemented to the indicator arrow, that is, the adjusted virtual dial pad is enlarged, and the virtual dial pad is presented in the coverage area of the original virtual dial pad.
  • the virtual keyboard may also be an input window, that is, when the tilt state of the touch screen of the terminal is detected to be tilted to the left, according to the tilt state of the touch screen, the predetermined formula is calculated.
  • the terminal may simultaneously move the virtual keyboard and the input window to the left.
  • the virtual keyboard when detecting that the touch screen tilt state of the terminal is tilted to the right, the virtual keyboard is reduced according to the tilt state of the touch screen, and the screen is calculated according to a predetermined formula.
  • the virtual keyboard of the first interface is moved to the right by the distance, and the virtual keyboard is moved to the right according to the calculated distance to obtain a second interface.
  • the terminal reduces the virtual dialing keyboard, and moves the virtual dialing keyboard to the right according to the distance calculated by the predetermined formula, and the reduced virtual dialing keyboard is close to the screen.
  • the user can improve the one-handed operation efficiency of the user by one-hand operation through the right hand.
  • the coverage area of the original virtual dialing keyboard of the first interface on the screen may include a leftward pointing arrow, and the leftward pointing arrow may be used to prompt the user to click the left.
  • the recovery of the original virtual dial pad is implemented to the indicator arrow, that is, the adjusted virtual dial pad is enlarged, and the virtual dial pad is presented in the coverage area of the original virtual dial pad.
  • the virtual keyboard may also be an input window, that is, when detecting When the tilt state of the touch screen to the terminal is tilted to the right, according to the tilt state of the touch screen, the distance of the input window of the first interface on the screen to the right is calculated according to a predetermined formula, and the distance is calculated according to the calculated distance Move the input window to the right to get the second interface. After the input window is moved to the right, it is convenient for the user to revise the editing content in the input window with one hand, thereby improving the efficiency of one-hand operation.
  • the terminal may simultaneously move the virtual keyboard and the input window to the right.
  • the virtual keyboard when detecting that the touch screen tilt state of the terminal is upward tilting, calculating a virtual keyboard of the first interface on the screen according to a predetermined formula according to the tilt state of the touch screen Moving the distance upward and moving the virtual keyboard upward according to the calculated distance to obtain a second interface; the virtual keyboard may also be replaced with an input window.
  • the virtual keyboard or the input window is disposed in a middle or a lower portion of the first interface.
  • the first interface includes a virtual keyboard and an input window at the same time.
  • the terminal when detecting that the touch screen tilt state of the terminal is downward tilting, calculating a virtuality of the first interface on the screen according to a predetermined formula according to the tilt state of the touch screen The distance moved by the keyboard downwards, and the virtual keyboard is moved downward according to the calculated distance to obtain a second interface.
  • the virtual keyboard may also be replaced with an input window.
  • the virtual keyboard or the input window is disposed in a middle or an upper portion of the first interface.
  • the first interface includes a virtual keyboard and an input window at the same time.
  • the terminal may use the virtual keyboard and/or Or the input window is restored to the position before the move.
  • the terminal may restore the virtual keyboard and/or the input window to the position before the movement by a corresponding operation on the second interface, for example, in FIG. 11 or FIG. 12, The user can click the small arrow near the virtual keyboard to complete the position recovery of the virtual keyboard.
  • the user can restore the virtual keyboard and/or the input window to the position before the movement by tilting the terminal, for example, In FIG. 11, after the terminal detects tilting to the left and generates the second interface, when the terminal detects that the terminal is tilted to the right, the terminal can restore the virtual keyboard to the position before the movement.
  • the corresponding tilting operation can be performed according to the user's selection.
  • the terminal provides a tilting action and a virtual keyboard/input window setting option for the user to set a correspondence between the tilting action and the virtual keyboard/input window.
  • the user can tilt the terminal device to the right to set the virtual keyboard and/or The input window is moved to the left, and the terminal device is tilted to the left to set the "virtual keyboard and/or input window" to the right, which is not limited.
  • the second interface may include part or all of the moved interface of the first interface, and after moving part or all of the first interface, the space presented by the space on the screen Three interface
  • the receiving user's operation on the second interface includes at least one of the following:
  • the user may conveniently operate the interface operable content on the first interface outside the range of the grip activity; or,
  • the user may conveniently locate the first interface on the outside of the range of the grip activity
  • the interface can operate the content to operate, and also facilitates the user to operate the interface operable content on the interface hidden under the current interface, and provides a new way for the user to interact between the two interfaces compared with the prior art. Enriched the functions of the terminal and improved the user experience.
  • the interaction can drag and drop icons from one interface to another.
  • the third interface may be part or all of the previous interface or the next interface of the first interface.
  • a method for detecting whether the terminal is in an inclined state and moving part or all of the content according to the tilted angle is provided, which is related to the content in other embodiments. , can be implemented by referring to the following content, or by other means. details as follows:
  • ABCD is the midpoint of the four sides of the terminal device.
  • the position and angle of the terminal in space can be detected by the gyroscope, and the angle ⁇ and the CD two-point connection and XY between the two-point connection line and the XY plane of the terminal AB are respectively recorded.
  • is greater than the preset value ⁇ 0 or ⁇ is greater than the preset value ⁇ 0, it may be referred to as a tilt state;
  • Left and right movement displacement movement coefficient 1 * preset maximum movable range 1;
  • Up and down movement displacement movement coefficient 2 * preset maximum movable range 2;
  • the movement coefficient 2 1 when ⁇ ⁇ 90.
  • the preset maximum movable range of 1 or 2 may range from 0 (ie, cannot be moved) to the screen width or length.
  • the interface content on the terminal screen moves to the corresponding position according to the calculated displacement. Depending on the design, some content may be moved on the interface, and some content may not be moved.
  • the embodiment of the present invention further provides a terminal, as shown in FIG. 4, which is an embodiment of the terminal provided by the present invention.
  • the terminal 300 includes:
  • a touch screen 310 for presenting an interface on a screen of the touch screen 310
  • a gravity sensor or a gyroscope 320 configured to detect whether the touch screen 310 is in a tilt state; the tilting state includes a tilt angle within a preset range in a preset direction (eg, can be implemented by the user by tilting the mobile phone), Or have a preset range of acceleration or displacement (such as can be achieved by the user moving or shaking the phone);
  • the processor 330 is configured to: when the gravity sensor or the gyroscope 320 detects that the touch screen 310 of the terminal is in an inclined state, move the user on the screen of the touch screen 310 according to a predetermined rule according to the tilt state of the touch screen 310. Part or all of an interface, the second interface is obtained, the second interface is an interface obtained according to the movement of part or all of the first interface; the processor 330 is further configured to receive the user at the second interface The above operation, and after the user ends the operation on the second interface, restore part or all of the moved first interface to before moving position;
  • the processor 330 of the terminal 300 may automatically restore part or all of the moved first interface to the position before the movement.
  • the second case is that the terminal 300 changes the state of the touch screen 310 of the terminal 300 detected by the gravity sensor or the gyroscope 320 in the terminal 300 (eg, after the user ends the operation on the second interface, Rotating the terminal 300 such as a mobile phone to return the mobile phone from the previous tilt state to the initial non-tilt state), and restoring part or all of the moved first interface to the position before the move.
  • the terminal is usually restored by the user to a predetermined non-tilted state angle range, so that the terminal can detect the touch screen of the terminal according to the gravity sensor or the gyroscope in the terminal.
  • the change of the state restores the offset toolbar icon to the original position, or even if the terminal is still within the angle range of the predetermined tilt state, the user generally completes the operation on the first interface, so The terminal can automatically restore the offset toolbar icon to its original location.
  • the user can continue to view the interface comfortably, and the user can view the comfort of the interface and the convenience of the user to operate the interface. In both cases, you can choose to use according to actual needs.
  • the portion of the first interface is part or all of the interface operable content on the first interface, and the interface operable content includes at least one of an icon, a button, and a user selection button.
  • the interface operable content on the first interface includes a virtual keyboard;
  • the processor 330 is configured to detect, when the gravity sensor or the gyroscope detects the touch screen tilt of the terminal When the state is tilted to the left, the virtual keyboard is reduced according to the tilt state of the touch screen, and the distance of the virtual keyboard of the first interface on the screen to the left is calculated according to a predetermined formula, and the calculated distance is leftward.
  • the processor 330 may be configured to: when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted to the right, according to the tilt state of the touch screen And reducing the virtual keyboard, and calculating a distance that the virtual keyboard of the first interface on the screen moves to the right according to a predetermined formula, and moving the virtual keyboard to the right according to the calculated distance to obtain a second interface; or
  • the processor 330 can be configured to, when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted upward, according to Describe the tilt state of the touch screen, calculate a distance that the virtual keyboard of the first interface on the screen moves upward according to a predetermined formula, and move the virtual keyboard upward according to the calculated distance to obtain a second interface; or, the processor 330 can be used when the gravity sensor or gyroscope When detecting that the tilt state of the touch screen of the terminal is downward tilting, according to the tilt state
  • the interface operable content on the first interface includes an input window;
  • the processor 330 is configured to detect, when the gravity sensor or the gyroscope detects the touch screen tilt of the terminal When the state is tilted to the left, according to the tilt state of the touch screen, the distance of the input window of the first interface on the screen to the left is calculated according to a predetermined formula, and the input window is moved to the left according to the calculated distance.
  • the processor 330 is configured to calculate, according to a tilting state of the touch screen, according to a tilting state of the touch screen when the gravity sensor or the gyroscope detects that the touch screen tilt state of the terminal is tilted to the right a distance that the input window of the first interface on the screen moves to the right, and moves the input window to the right according to the calculated distance to obtain a second interface; or the processor 330 can be used when the gravity sensor or When the gyroscope detects that the tilt state of the touch screen of the terminal is upward tilting, according to the tilt state of the touch screen, it is calculated according to a predetermined formula.
  • the processor 330 can be used for the gravity sensor or the gyroscope When detecting that the touch screen tilt state of the terminal is downward tilting, according to the tilt state of the touch screen, calculating a downward moving distance of the input window of the first interface on the screen according to a predetermined formula, and calculating the distance according to the calculation Move the input window down to get the second interface.
  • the tilt state of the touch screen 310 includes: tilting to the left, tilting to the right, tilting upward, tilting downward, tilting to the left, tilting to the left, tilting to the right, or tilting to the right.
  • the user can tilt the mobile phone by tilting up/down/left/right, and the touch screen of the mobile phone is tilted up/down/left/right.
  • the user can specifically go to the left/right direction. Turning the phone to the right causes the touch screen of the phone to be tilted to the left/right (may have acceleration in the left/right direction).
  • the processor 330 is configured to: according to the tilt state of the touch screen 310, move part or all of the first interface of the user currently on the screen of the touch screen 310 according to a predetermined rule:
  • the processor 330 is configured to exchange display positions of the partial interface operable content on the first interface according to a predetermined rule according to the tilt state of the touch screen 310.
  • the second interface may specifically be part or all of the first interface After the action.
  • the processor 330 is configured to move part or all of the first interface where the user is currently on the screen of the touch screen 310 according to a predetermined rule according to the tilt state of the touch screen 310.
  • the processor 330 is configured to calculate, when the tilt state of the touch screen 310 is tilted up/down/left/right, part or all of the first interface on the screen should be upward/direction according to a predetermined formula. The distance moved downward/left/right, and the calculated distance is moved up/down/left/right to part or all of the first interface.
  • the second interface may include part or all of the moved interface of the first interface, and after moving part or all of the first interface, the space presented by the space on the screen is third. interface;
  • the processor 330 is configured to receive a user operation on the second interface, including at least one of the following:
  • the processor 330 is configured to receive an operation of a user on an interface after the part or all of the first interface is moved; or
  • the processor 330 is configured to receive an operation of a user on the third interface; or
  • the processor 330 is configured to receive an interaction operation between the user after the partial or all movement of the first interface and the third interface.
  • the upward tilt and the downward tilt in the tilt state of the touch screen described herein may include the user tilting the mobile phone to tilt the mobile phone relative to the plane of the touch screen of the mobile phone or tilting a certain angle with respect to the horizontal surface, or The user has a certain acceleration or displacement in the forward and backward directions relative to the mobile phone or the Y-axis relative to the plane of the touch screen of the mobile phone by moving or shaking the mobile phone, and the magnitude of the acceleration or displacement may be within a preset range.
  • Other tilting states can be referred to the foregoing, and are understood based on actual conditions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

一种界面操作的方法及终端,其中方法包括:通过终端内的重力传感器或陀螺仪,检测终端的触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置。

Description

一种界面操作的方法及终端 技术领域
本发明涉及终端领域,尤指一种界面操作的方法及终端。
背景技术
目前移动触屏设备的屏幕越来越大,在屏幕上显示的界面也越来越大,用户单手握持手机或双手同时握持平板设备(如iPAD)的时候,在一个界面上,手指往往很难触按到该界面上位于握持手活动范围外的界面可操作内容。目前可以通过在设计界面时,把界面可操作内容都尽量安排在界面下方,以减少位于界面内上部的界面可操作内容触按不到的情况的发生,但依然还会存在有部分的界面可操作内容位于握持手活动范围外的情况,导致用户无法方便快捷地操作这部分的界面可操作内容。
发明内容
本发明实施例提供一种界面操作的方法及终端,可在终端的屏幕较大的情况下,方便用户对屏幕上原来在握持手活动范围外的界面可操作内容进行操作。
一方面,本发明实施例提供了一种界面操作的方法,所述方法包括:
通过终端内的重力传感器或陀螺仪,检测终端的触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到
第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部包括:根据触摸屏的倾斜状态,按预定的规则将所述第一界面上的部分界面可操作内容的显示位置互换;
接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
结合第一方面,在第一方面的第一种实施方式中,所述第二界面具体为所述第一界面的部分或全部移动后的界面。
结合第一方面或第一方面的第一种实施方式,在第一方面的第二种实施方式中,所述触摸屏的倾斜状态包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。
第二方面,本发明实施例提供了一种界面操作的方法,所述方法包括:
通过终端内的重力传感器或陀螺仪,检测终端的触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部包括:当所述触摸屏的倾斜状态为向上/向下/向左/向右倾斜时,按预定公式计算所述屏幕上的第一界面的部分或全部应向向上/向下/左/向右移动的距离,并按计算得到的距离向上/向下/向左/向右移动所述第一界面的部分或全部;
接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
结合第二方面,在第二方面的第一种实施方式中,所述第一界面上的界面可操作内容包括虚拟键盘;所述当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,至少包括如下一种情形:
当检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向左移动的距离,按计算得到的距离向左移动所述虚拟键盘,得到第二界面;
当检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向右移动的距离,按计算得到的距离向右移动所述虚拟键盘,得到第二界面;
当检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向上移动的距离,并按计算得到的距离向上移动所述虚拟键盘,得到第二界面;
当检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向下移动的距离,并按计算得到的距离向下移动所述虚拟键盘,得到第二界面。
结合第二方面,在第二方面的第二种实施方式中,所述第一界面上的界面可操作内容包括输入窗口;所述当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,至少包括如下一种情形:
当检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向左移动的距离,并按计算得到的距离向左移动所述输入窗口,得到第二界面;
当检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向右移动的距离,并按计算得到的距离向右移动所述输入窗口,得到第二界面;
当检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向上移动的距离,并按计算得到的距离向上移动所述输入窗口,得到第二界面;
当检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向下移动的距离,并按计算得到的距离向下移动所述输入窗口,得到第二界面。
结合第二方面或第二方面的第一种实现方式或第二方面的第二种实现方式中的任一实现方式,在第二方面的第三种实现方式中,所述第二界面包括第一界面的部分或全部移动后的界面,和移动所述第一界面的部分或全部后,所述屏幕上空出来的空间所呈现的第三界面;
所述接收用户在所述第二界面上的操作包括以下中的至少一种:
接收用户在所述第一界面的部分或全部移动后的界面上的操作;或,
接收用户在所述第三界面上的操作;或,
接收用户在所述第一界面的部分或全部移动后的界面和所述第三界面上的交互操作。
结合第二方面或第二方面的第一种实现方式或第二方面的第二种实现方式或第二方面的第三种实现方式,在第二方面的第四种实现方式中,所述触摸屏的倾斜状态包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。
第三方面,本发明实施例提供了一种终端,所述终端包括:
触摸屏,用于在所述触摸屏的屏幕上呈现界面;
重力传感器或陀螺仪,用于检测所述触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
处理器,用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述处理器用于根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部具体为:
所述处理器用于根据触摸屏的倾斜状态,按预定的规则将所述第一界面上的部分界面可操作内容的显示位置互换;
所述处理器还用于接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
结合第三方面,在第三方面的第一种实现方式中,所述第二界面具体为所述第一界面的部分或全部移动后的界面。
结合第三方面或第三方面的第一种实现方式,在第三方面的第二种实现方式中,所述触摸屏的倾斜状态包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。
第四方面,本发明实施例提供了一种终端,所述终端包括:
触摸屏,用于在所述触摸屏的屏幕上呈现界面;
重力传感器或陀螺仪,用于检测所述触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
处理器,用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述处理器用于根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部具体为:
所述处理器用于当所述触摸屏的倾斜状态为向上/向下/向左/向右倾斜时,按预定公式计算所述屏幕上的第一界面的部分或全部应向向上/向下/左/向右移动的距离,并按计算得到的距离向上/向下/向左/向右移动所述第一界面的部分或全部;
所述处理器还用于接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
结合第四方面,在第四方面的第一种实现方式中,所述第一界面上的界面可操作内容包括虚拟键盘;所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,包括:
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向左移动的距离,按计算得到的距离向左移动所述虚拟键盘,得到第二界面;或者,
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘, 并按预定公式计算所述屏幕上的第一界面的虚拟键盘向右移动的距离,按计算得到的距离向右移动所述虚拟键盘,得到第二界面;或者,
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向上移动的距离,并按计算得到的距离向上移动所述虚拟键盘,得到第二界面;或者,
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向下移动的距离,并按计算得到的距离向下移动所述虚拟键盘,得到第二界面。
结合第四方面,在第四方面的第二种实现方式中,所述第一界面上的界面可操作内容包括输入窗口;所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,包括:
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向左移动的距离,并按计算得到的距离向左移动所述输入窗口,得到第二界面;或者,
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向右移动的距离,并按计算得到的距离向右移动所述输入窗口,得到第二界面;或者,
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向上移动的距离,并按计算得到的距离向上移动所述输入窗口,得到第二界面;或者,
所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向下移动的距离,并按计算得到的距离向下移动所述输入窗口,得到第二界面。
结合第四方面或第四方面的第一种实现方式或第四方面的第二种实现方式,在第四方面的第三种实现方式中,所述第二界面包括第一界面的部分或全部移动后的界面,和移动所述第一界面的部分或全部后,所述屏幕上空出来的空间所呈现的第三界面;
所述处理器用于接收用户在所述第二界面上的操作包括以下中的至少一种:
所述处理器用于接收用户在所述第一界面的部分或全部移动后的界面上的操作;或,
所述处理器用于接收用户在所述第三界面上的操作;或,
所述处理器用于接收用户在所述第一界面的部分或全部移动后的界面和所述第三界面上的交互操作。
结合第四方面或第四方面的第一种实现方式或第四方面的第二种实现方式或第四方面的第三种实现方式,在第四方面的第四种实现方式中,所述触摸屏的倾斜状态包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。
与现有技术相比,本发明实施例具有如下有益效果:
本发明实施例提供的方法及终端通过终端内的重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态来调整整个界面位置或界面内部分内容的位置,使用户可以更方便地对原来在握持手活动范围外的界面可操作内容进行操作,在用户操作完成后,又将调整后的界面恢复到调整前的界面,使得用户可以继续舒适地查看界面,能够兼顾用户查看界面的舒适度和用户对界面进行操作的便捷度,提高终端界面的人性化程度,提升用户的体验。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一种界面操作的方法流程图;
图2为本发明实施例又一种界面操作的方法流程图;
图3为本发明实施例一种界面操作的方法中检测的倾斜角度的示意图;
图4为本发明实施例一种终端的结构示意图;
图5为本发明实施例一种界面操作的方法的效果示意图;
图6为本发明实施例又一种界面操作的方法的效果示意图;
图7为本发明实施例又一种界面操作的方法的效果示意图;
图8为本发明实施例又一种界面操作的方法的效果示意图;
图9为本发明实施例又一种界面操作的方法的效果示意图;
图10为本发明实施例又一种界面操作的方法的效果示意图;
图11为本发明实施例又一种界面操作的方法的效果示意图;
图12为本发明实施例又一种界面操作的方法的效果示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
如图1所示,在本发明提供的一种界面操作的方法的一个实施例中,所述方法可以包括以下步骤:
101:通过终端内的重力传感器或陀螺仪,检测终端的触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度(如可以为用户通过倾斜手机来实现),或在预设方向上具有预设范围内的加速度或位移(如可以为用户通过移动或甩动手机来实现);
所述预设方向可以包括向上/向下/左/向右/向左上/向左下/向右上/向右下,所述预设方向所参照的对象,可以包括以下中的一个或多个:手机本身、手机触摸屏所在的平面、水平面、垂直面、水平面X轴/Y轴、或手机触摸屏所在平面的X轴/Y轴等,具体可以根据实际情况进行选择和理解。文中其他与此相关的地方,可以参考此处描述而不再赘述。
102:当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;
所述根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部包括:根据触摸屏的倾斜状态,按预定的规则将所述第一界面上的部分界面可操作内容的显示位置互换。例如,如图5所示,当右手习惯的用户在够不到手机工具栏上靠近左边缘的工具栏图标如图标51时,可以通过倾斜手机(如左倾或右倾)或甩动手机(如向左甩或向右甩)等使手机处于某一预设的倾斜状态,使得手机当前所在的第一界面内工具栏上的图标(可以理解为所述第一界面的部分)的显示位置进行互换。如可以右倾或向右甩动手机,使得手机工具栏上靠近左边缘的工具栏图标51和52分别和靠近右边缘的工具栏图标55和54的显示位置互换;又如可以通过简单的移动或动画效果的旋转等方式来使得图标的显示位置发生变化,将图标的显示调整为靠近左边缘的工具栏图标51和52显示到右边,原来位于右边的工具栏图标55和54显示到左边。即如图5中所示,终端如手机的界面上下方的工具栏图标51、52、53、54和55,经过其中部分或全部图标进行显示位置互换的调整后,显示为图标55、54、53、52和51,图标53因为位于界面中间位置,其显示位置可以不进行调整,也可以理解为其经过调整后的显示位置和原来的显示位置一样。从而手机工具栏上靠近左边缘的工具栏图标51进入用户的右手可操作范围内,用户手指点击操作结束后偏移后的工具栏图标恢复原来的位置,即显示为图标51、52、53、54和55,具体可参见步骤103。
在工具栏图标进行显示位置互换时,也可以为图标51和52分别和图标54和55的显示位置互换,也可以为图标51和52作为一个整体和图标54和55的整体的显示位置互换,即进行显示位置互换的调整后,显示为图标54、55、53、51和52。可以使得原来位于最左边的图标51经过显示位置的调整后,显示到界面偏中间的位置,使图标51进入用户的右手可操作范围内的同时,进一步提高了用户右手点击图标51的便捷度和舒适度。
103:接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
具体地,可以包括两种情况。第一种情况是在用户结束在所述第二界面上的操作后,所述终端可以自动将所述移动后的第一界面的部分或全部恢复到移动前的位置。第二种情况是所述终端根据终端内的重力传感器或陀螺仪 所检测到的所述终端的触摸屏的状态的改变(如用户结束在所述第二界面上的操作后,转动手机,使手机由之前的倾斜状态恢复为起初的不倾斜状态),而将所述移动后的第一界面的部分或全部恢复到移动前的位置。一般情况下用户手指点击操作结束后,终端通常会被用户还原到预定的非倾斜状态的角度范围内,于是所述终端可以根据终端内的重力传感器或陀螺仪所检测到的所述终端的触摸屏的状态的改变,将偏移后的工具栏图标恢复原来的位置,或者,就算终端依然处于预定的倾斜状态的角度范围内,用户一般已经完成在所述第一界面上的此次操作,于是终端可以自动将偏移后的工具栏图标恢复原来的位置。两种情况均可以便于用户继续舒适地查看界面,能够兼顾用户查看界面的舒适度和用户对界面进行操作的便捷度。两种情况可以根据实际需要进行选择使用。
其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
根据触摸屏的倾斜状态来调整整个界面的位置或界面内部分内容的位置,使用户可以更方便地对原来在握持手活动范围外的界面可操作内容进行操作。在用户操作完成后,又将调整后的界面恢复到调整前的界面,使得用户可以继续舒适地按以往熟悉的方式查看已经习惯的界面,能够兼顾用户查看界面的舒适度和用户对界面进行操作的便捷度,提高终端界面的人性化程度,提升用户的体验。
具体地,所述触摸屏的倾斜状态可以包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。例如,用户具体可以通过向上/向下/向左/向右倾斜手机,而使手机的触摸屏处于向上/向下/向左/向右的倾斜状态,又如,用户具体可以通过向左/向右甩动手机使手机的触摸屏处于向左/向右的倾斜状态。
在本实施例中,所述第二界面具体可以为所述第一界面的部分或全部移动后的界面。所述第一界面的部分或全部的位置调整后,得到所述第二界面,用户在所述第二界面上进行操作,用户结束在所述第二界面上的操作后,终端将所述移动后的第一界面的部分或全部恢复到移动前的位置。
在本发明的另一种实施例中,如图2所示,步骤102可以用步骤202替代,所述根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当 前所在的第一界面的部分或全部包括:当所述触摸屏的倾斜状态为向上/向下/向左/向右倾斜时,按预定公式计算所述屏幕上的第一界面的部分或全部应向向上/向下/左/向右移动的距离,并按计算得到的距离向上/向下/向左/向右移动所述第一界面的部分或全部。例如,如图6或图7所示,当右手习惯的用户在够不到手机工具栏上靠近左边缘的工具栏图标如51时,可以右倾手机(即左边高右边低)或向右甩动手机,使得手机当前所在的第一界面内工具栏上的图标(可以理解为所述第一界面的部分)向右偏移一定的距离。如图6所示,可以通过将界面下方的工具栏(可以将所述工具栏理解为第一界面,也可以在将手机整个屏幕区域当前显示的界面理解为第一界面时,将所述工具栏理解为所述第一界面的部分)或工具栏所包含的图标中的部分或全部向右偏移一定的距离,偏移后,图标54、55在界面上不可见,图标51、52、53整体向右偏移了一定的距离,从而图标51进入用户的右手可操作范围内,用户手指点击操作结束后偏移后的工具栏图标恢复原来的位置,如可以恢复显示图标51、52、53、54和55。或,如图7所示,可以通过将界面下方的工具栏(可以将所述工具栏理解为第一界面,也可以在将手机整个屏幕区域当前显示的界面理解为第一界面时,将所述工具栏理解为所述第一界面的部分)上的图标(可以理解为第一界面的部分)中的部分或全部向右偏移一定的距离,偏移后,图标51、52、53、54、55在界面上依然可见,图标与图标之间的间距变小,从而图标51进入用户的右手可操作范围内,用户手指点击操作结束后偏移后的工具栏图标恢复原来的位置,如可以恢复显示原有间距下的图标51、52、53、54和55。又如,如图8所示,当右手习惯的用户在够不到手机工具栏上靠近左边缘的工具栏图标如51时,可以右倾手机(即左边高右边低)或向右甩动手机,使得手机当前所在的第一界面(可以将手机整个屏幕区域当前显示的界面理解为所述第一界面)整体向右偏移一定的距离,如图8所示,可以通过将第一界面整体向右偏移一定的距离,偏移后,第一界面的右半部分包括图标54、55在界面上不可见,第一界面的左半部分包括图标51、52、53整体向右偏移了一定的距离,从而图标51进入用户的右手可操作范围内,用户手指点击操作结束后偏移后的工具栏图标恢复原来的位置,如可以恢复显示第一界面,从而恢复显示图标51、52、53、54和55。又如图9所示,其中,图9A所示的手机屏幕区域显示的第四界面可以是图9B所示的第一界面的前一界面或后一界面,此处以所述 第四界面为所述第一界面的前一界面为例进行说明。当右手习惯的用户在如图9B所示的手机当前所在的第一界面(可以将手机整个屏幕区域当前显示的界面理解为所述第一界面)够不到靠近左边缘的图标如95时,可以右倾手机(即左边高右边低)或向右甩动手机,使得手机当前所在的第一界面整体向右偏移一定的距离,如图9C所示,可以通过将第一界面整体向右偏移一定的距离,偏移后,第一界面的右半部分包括图标98、99在界面上不可见,第一界面的左半部分包括图标95、96、97整体向右偏移了一定的距离,从而图标95进入用户的右手可操作范围内,用户手指点击操作结束后偏移后的界面或图标恢复原来的位置,如可以恢复显示第一界面,包括恢复图标95、96、97、98和99的显示位置。如图9C所示的第二界面,所述第二界面包括第一界面的部分或全部移动后的界面,和移动所述第一界面的部分或全部后,所述屏幕上空出来的空间所呈现的第三界面,所述第三界面可以为所述第四界面的部分或全部,图9C中所示所述第三界面为所述第四界面的部分,当第三界面与所述第一界面的部分或全部移动后的界面同时呈现在手机屏幕上时,用户可以在所述第一界面的部分或全部移动后的界面和所述第三界面上进行交互操作,如可以将一个图标从一个界面拖拽到另一个界面,如可以将图标95拖放到第三界面上,方便用户实现两个界面间的交互操作,提供了实现两个界面间的交互操作的一种新的实现方式,丰富了终端的功能,提升了用户的体验。
具体地,所述触摸屏的倾斜状态可以包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。例如,用户具体可以通过向上/向下/向左/向右倾斜手机,而使手机的触摸屏处于向上/向下/向左/向右的倾斜状态,又如,用户具体可以通过向左/向右甩动手机使手机的触摸屏处于向左/向右的倾斜状态。
在本发明的一些实施例中,如图10所示,所述第一界面上的界面可操作内容可以为虚拟键盘。在本发明的一些实施例中,所述第一界面上的界面可操作内容可以为输入窗口。本发明实施例不限定所述虚拟键盘和所述输入窗口的应用场景,例如在如图10所示的拨号界面中,所述虚拟键盘可以为数字虚拟键盘;在文本编辑界面,如短信息编辑界面、微信编辑界面等文本输入编辑界面中,所述虚拟键盘可以为拼音/字母虚拟键盘,还可以为特殊符号的虚拟键盘;所述输入窗口可以为与所述虚拟键盘对应的文本输入窗口, 也可以为终端在第一界面预设的文本、语音等输入窗口。
在本发明实施例的一种实现方式中,当检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向左移动的距离,按计算得到的距离向左移动所述虚拟键盘,得到第二界面。当检测到触摸屏向左倾斜时,一般为用户左手操作,如图11,此时终端缩小虚拟拨号键盘,并按照预定公式计算的距离向左移动虚拟拨号键盘,缩小后的虚拟拨号键盘靠近屏幕的左侧显示,用户可以通过可通过左手进行单手操作,提高了用户的单手操作效率。优选地,所述虚拟拨号键盘缩小并左移后,在屏幕上第一界面的原虚拟拨号键盘的覆盖区域可包含右向指示箭头,所述右向指示箭头可用于提示用户可点击所述右向指示箭头实现原虚拟拨号键盘的恢复,即扩大显示调整后的虚拟拨号键盘,并在原虚拟拨号键盘的覆盖区域呈现所述虚拟拨号键盘。可选地,在该实现方式中,所述虚拟键盘也可以为输入窗口,即当检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向左移动的距离,并按计算得到的距离向左移动所述输入窗口,得到第二界面。在输入窗口左移后,方便用户单手对输入窗口内的编辑内容进行修订,提高了单手操作效率。可选地,若第一界面同时包含虚拟键盘和输入窗口,在终端检测到触摸屏倾斜状态为向左倾斜时,终端可同时左移虚拟键盘和输入窗口。
在本发明实施例的一种实现方式中,当检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向右移动的距离,按计算得到的距离向右移动所述虚拟键盘,得到第二界面。当检测到触摸屏向右倾斜时,一般为用户右手操作,如图12中,此时终端缩小虚拟拨号键盘,并按照预定公式计算的距离向右移动虚拟拨号键盘,缩小后的虚拟拨号键盘靠近屏幕的右侧显示,用户可以通过可通过右手进行单手操作,提高了用户的单手操作效率。优选地,所述虚拟拨号键盘缩小并右移后,在屏幕上第一界面的原虚拟拨号键盘的覆盖区域可包含左向指示箭头,所述左向指示箭头可用于提示用户可点击所述左向指示箭头实现原虚拟拨号键盘的恢复,即扩大显示调整后的虚拟拨号键盘,并在原虚拟拨号键盘的覆盖区域呈现所述虚拟拨号键盘。可选地,在该实现方式中,所述虚拟键盘也可以为输入窗口,即当检测 到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向右移动的距离,并按计算得到的距离向右移动所述输入窗口,得到第二界面。在输入窗口右移后,方便用户单手对输入窗口内的编辑内容进行修订,提高了单手操作效率。可选地,若第一界面同时包含虚拟键盘和输入窗口,在终端检测到触摸屏倾斜状态为向右倾斜时,终端可同时右移虚拟键盘和输入窗口。
在本发明实施例的一种实现方式中,当检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向上移动的距离,并按计算得到的距离向上移动所述虚拟键盘,得到第二界面;所述虚拟键盘也可以替换为输入窗口。在本实现方式中,所述虚拟键盘或所述输入窗口布局在所述第一界面的中部或下部。在所述第一界面同时包含虚拟键盘和输入窗口,在终端检测到触摸屏倾斜状态为向上倾斜时,终端可同时上移虚拟键盘和输入窗口,方便用户在屏幕的上方执行单手操作。
在本发明实施例的一种实现方式中,当检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向下移动的距离,并按计算得到的距离向下移动所述虚拟键盘,得到第二界面。可选地,所述虚拟键盘也可以替换为输入窗口。在本实现方式中,所述虚拟键盘或所述输入窗口布局在所述第一界面的中部或上部。在所述第一界面同时包含虚拟键盘和输入窗口,终端检测到触摸屏倾斜状态为向上倾斜时,终端可同时下移虚拟键盘和输入窗口,方便用户在屏幕的下方执行单手操作。
在本发明的上述实施例中,当用户结束在虚拟键盘和/或输入窗口的操作后,如终端检测到拨出电话、发出信息、完成记事本编辑等,终端可将所述虚拟键盘和/或输入窗口恢复到移动前的位置。或者,在终端生成第二界面后,用户可通过在所述第二界面上的相应操作,将所述虚拟键盘和/或输入窗口恢复到移动前的位置,例如在图11或图12中,用户可点击虚拟键盘附近的小箭头,完成虚拟键盘的位置恢复;可选地,用户也可以通过对终端的倾斜操作,将所述虚拟键盘和/或输入窗口恢复到移动前的位置,例如在图11中,在终端检测到向左倾斜,生成第二界面后,在终端检测到终端向右倾斜时,终端可将虚拟键盘恢复到移动前的位置。
当然,在本发明的上述实施例中,仅提供了一些优选的实现方式。在实际执行中,可根据用户的选择执行相应的倾斜操作。例如,终端提供倾斜动作与虚拟键盘/输入窗口的设置选项,供用户设置倾斜动作与虚拟键盘/输入窗口之间的对应关系,如用户可将终端设备向右倾斜设置为“虚拟键盘和/或输入窗口”向左移动,将终端设备向左倾斜设置为“虚拟键盘和/或输入窗口”向右移动,对此不做限定。
在本发明实施例中,所述第二界面可以包括第一界面的部分或全部移动后的界面,和移动所述第一界面的部分或全部后,所述屏幕上空出来的空间所呈现的第三界面;
所述接收用户在所述第二界面上的操作包括以下中的至少一种:
接收用户在所述第一界面的部分或全部移动后的界面上的操作,这种情况下,可以方便用户对所述第一界面上位于握持手活动范围外的界面可操作内容进行操作;或,
接收用户在所述第三界面上的操作,这种情况下,所述屏幕上空出来的空间所呈现的第三界面原本是潜藏在当前用户所在的第一界面下的,通过移动所述第一界面的部分或全部后,露出所述第三界面,方便了用户对潜藏在当前界面下的界面上的界面可操作内容进行操作;或,
接收用户在所述第一界面的部分或全部移动后的界面和所述第三界面上的交互操作,这种情况下,可以方便用户对所述第一界面上位于握持手活动范围外的界面可操作内容进行操作,也方便了用户对潜藏在当前界面下的界面上的界面可操作内容进行操作,同时相比现有技术,提供了用户在两个界面间进行交互操作的新方式,丰富了终端的功能,提升了用户体验。所述交互操作可以为图标从一个界面拖拽到另一个界面。
其中,所述第三界面具体可以为第一界面的上一界面或下一界面的部分或全部。
在本发明提供的界面操作的方法的一个实施例中,提供了如下检测终端是否位于倾斜状态及根据倾斜的角度进行界面的部分或全部内容的移动的方式,其他实施例中与此内容相关的,可以参考以下内容来实现,或者采用其他方式来实现。具体如下:
图3中ABCD分别为终端设备左右上下四条边的中点位置。
1、当开启了单手倾斜操作功能时,可以通过陀螺仪检测终端在空间中的位置和角度,分别记录终端AB两点连线与XY平面之间的角度α和CD两点连线与XY平面之间的角度β;
2、当α大于预设值α0或β大于预设值β0时,可以称为倾斜状态;
3、当终端处于倾斜状态时,根据上述记录的角度α和/或β按照如下公式计算屏幕内界面内容的移动位置:
左右移动位移=移动系数1*预设最大可移动范围1;
当90>α>α0时移动系数1=(α-α0)/(90-α0);
当α≥90时移动系数1=1;
上下移动位移=移动系数2*预设最大可移动范围2;
当90>β>β0时移动系数2=(β-β0)/(90-β0);
当β≥90时移动系数2=1。
针对不同的设计方案,预设最大可移动范围1或2的大小可能从0(即不能移动)到屏幕宽度或长度。
以上公式仅为一种示例,具体可根据实际需要进行预设或调整。
4、终端屏幕上的界面内容根据计算出来的位移移动到对应的位置。根据不同的设计,界面上可能有些内容进行移动,有些内容不进行移动。
本发明实施例还提供了一种终端,如图4所示为本发明提供的终端的一个实施例,在该实施例中,所述终端300包括:
触摸屏310,用于在所述触摸屏310的屏幕上呈现界面;
重力传感器或陀螺仪320,用于检测所述触摸屏310是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度(如可以为用户通过倾斜手机来实现),或在预设方向上具有预设范围内的加速度或位移(如可以为用户通过移动或甩动手机来实现);
处理器330,用于当所述重力传感器或陀螺仪320检测到所述终端的触摸屏310处于倾斜状态时,根据触摸屏310的倾斜状态,按预定规则来移动触摸屏310的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述处理器330还用于接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的 位置;
具体地,可以包括两种情况。第一种情况是在用户结束在所述第二界面上的操作后,所述终端300的处理器330可以自动将所述移动后的第一界面的部分或全部恢复到移动前的位置。第二种情况是所述终端300根据终端300内的重力传感器或陀螺仪320所检测到的所述终端300的触摸屏310的状态的改变(如用户结束在所述第二界面上的操作后,转动终端300如手机,使手机由之前的倾斜状态恢复为起初的不倾斜状态),而将所述移动后的第一界面的部分或全部恢复到移动前的位置。一般情况下用户手指点击操作结束后,终端通常会被用户还原到预定的非倾斜状态的角度范围内,于是所述终端可以根据终端内的重力传感器或陀螺仪所检测到的所述终端的触摸屏的状态的改变,将偏移后的工具栏图标恢复原来的位置,或者,就算终端依然处于预定的倾斜状态的角度范围内,用户一般已经完成在所述第一界面上的此次操作,于是终端可以自动将偏移后的工具栏图标恢复原来的位置。两种情况均可以便于用户继续舒适地查看界面,能够兼顾用户查看界面的舒适度和用户对界面进行操作的便捷度。两种情况可以根据实际需要进行选择使用。
其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
在本发明实施例的一种实现方式中,所述第一界面上的界面可操作内容包括虚拟键盘;所述处理器330可用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向左移动的距离,按计算得到的距离向左移动所述虚拟键盘,得到第二界面;或者,所述处理器330可用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向右移动的距离,按计算得到的距离向右移动所述虚拟键盘,得到第二界面;或者,所述处理器330可用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向上移动的距离,并按计算得到的距离向上移动所述虚拟键盘,得到第二界面;或者,所述处理器330可用于当所述重力传感器或陀螺 仪检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向下移动的距离,并按计算得到的距离向下移动所述虚拟键盘,得到第二界面。
在本发明实施例的一种实现方式中,所述第一界面上的界面可操作内容包括输入窗口;所述处理器330可用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向左移动的距离,并按计算得到的距离向左移动所述输入窗口,得到第二界面;或者,所述处理器330可用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向右移动的距离,并按计算得到的距离向右移动所述输入窗口,得到第二界面;或者,所述处理器330可用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向上移动的距离,并按计算得到的距离向上移动所述输入窗口,得到第二界面;或者,所述处理器330可用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向下移动的距离,并按计算得到的距离向下移动所述输入窗口,得到第二界面。
具体地,所述触摸屏310的倾斜状态包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。例如,用户具体可以通过向上/向下/向左/向右倾斜手机,而使手机的触摸屏处于向上/向下/向左/向右的倾斜状态,又如,用户具体可以通过向左/向右甩动手机使手机的触摸屏处于向左/向右的倾斜状态(可以为在向左/向右方向上具有加速度)。
在本发明提供的终端的一个实施例中,所述处理器330用于根据触摸屏310的倾斜状态,按预定规则来移动触摸屏310的屏幕上用户当前所在的第一界面的部分或全部具体为:
所述处理器330用于根据触摸屏310的倾斜状态,按预定的规则将所述第一界面上的部分界面可操作内容的显示位置互换。
在该实施例中,所述第二界面具体可以为所述第一界面的部分或全部移 动后的界面。
在本发明提供的终端的另一个实施例中,所述处理器330用于根据触摸屏310的倾斜状态,按预定规则来移动触摸屏310的屏幕上用户当前所在的第一界面的部分或全部具体为:
所述处理器330用于当所述触摸屏310的倾斜状态为向上/向下/向左/向右倾斜时,按预定公式计算所述屏幕上的第一界面的部分或全部应向向上/向下/左/向右移动的距离,并按计算得到的距离向上/向下/向左/向右移动所述第一界面的部分或全部。
在该实施例中,所述第二界面可以包括第一界面的部分或全部移动后的界面,和移动所述第一界面的部分或全部后,所述屏幕上空出来的空间所呈现的第三界面;
所述处理器330用于接收用户在所述第二界面上的操作包括以下中的至少一种:
所述处理器330用于接收用户在所述第一界面的部分或全部移动后的界面上的操作;或,
所述处理器330用于接收用户在所述第三界面上的操作;或,
所述处理器330用于接收用户在所述第一界面的部分或全部移动后的界面和所述第三界面上的交互操作。
上述描述的终端的具体工作过程,可以参考前述方法实施例中的对应过程,而不再赘述。
需要说明的是,本文中所述触摸屏的倾斜状态中的向上倾斜、向下倾斜可以包括用户通过倾斜手机使手机相对于手机触摸屏所在平面或相对于水平面向上、向下倾斜一定的角度,或,用户通过移动或甩动手机使手机在相对于手机或相对于手机触摸屏所在平面的Y轴的向前、向后方向上具有一定的加速度或位移,加速度或位移的大小可以在预设的范围内。其他倾斜状态可以参考前述,根据实际情况进行理解。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括 一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关硬件来完成,所述的程序可以存储于一终端的可读存储介质中,该程序在执行时,包括上述全部或部分步骤,所述的存储介质,如:FLASH、EEPROM等。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,不同的实施例可以进行组合,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何组合、修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (14)

  1. 一种界面操作的方法,其特征在于,所述方法包括:
    通过终端内的重力传感器或陀螺仪,检测终端的触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
    当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部包括:根据触摸屏的倾斜状态,按预定的规则将所述第一界面上的部分界面可操作内容的显示位置互换;
    接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
    其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
  2. 如权利要求1所述的方法,其特征在于,所述第二界面具体为所述第一界面的部分或全部移动后的界面。
  3. 一种界面操作的方法,其特征在于,所述方法包括:
    通过终端内的重力传感器或陀螺仪,检测终端的触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
    当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界
    面;所述根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部包括:当所述触摸屏的倾斜状态为向上/向下/向左/向右倾斜时,按预定公式计算所述屏幕上的第一界面的部分或全部应向向上/向下/左/向右移动的距离,并按计算得到的距离向上/向下/向左/向右移动所述第一界面的部分或全部;
    接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
    其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
  4. 如权利要求3所述的方法,其特征在于,所述第一界面上的界面可操作内容包括虚拟键盘;所述当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,至少包括如下一种情形:
    当检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向左移动的距离,按计算得到的距离向左移动所述虚拟键盘,得到第二界面;
    当检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向右移动的距离,按计算得到的距离向右移动所述虚拟键盘,得到第二界面;
    当检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向上移动的距离,并按计算得到的距离向上移动所述虚拟键盘,得到第二界面;
    当检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向下移动的距离,并按计算得到的距离向下移动所述虚拟键盘,得到第二界面。
  5. 如权利要求3所述的方法,其特征在于,所述第一界面上的界面可操作内容包括输入窗口;所述当检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,至少包括如下一种情形:
    当检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向左移动的距离,并按计算得到的距离向左移动所述输入窗口,得到第二界面;
    当检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向右移动的距 离,并按计算得到的距离向右移动所述输入窗口,得到第二界面;
    当检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向上移动的距离,并按计算得到的距离向上移动所述输入窗口,得到第二界面;
    当检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向下移动的距离,并按计算得到的距离向下移动所述输入窗口,得到第二界面。
  6. 如权利要求3-5任一所述的方法,其特征在于,所述第二界面包括第一界面的部分或全部移动后的界面,和移动所述第一界面的部分或全部后,所述屏幕上空出来的空间所呈现的第三界面;
    所述接收用户在所述第二界面上的操作包括以下中的至少一种:
    接收用户在所述第一界面的部分或全部移动后的界面上的操作;或,
    接收用户在所述第三界面上的操作;或,
    接收用户在所述第一界面的部分或全部移动后的界面和所述第三界面上的交互操作。
  7. 如权利要求1~6任一所述的方法,其特征在于,所述触摸屏的倾斜状态包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。
  8. 一种终端,其特征在于,所述终端包括:
    触摸屏,用于在所述触摸屏的屏幕上呈现界面;
    重力传感器或陀螺仪,用于检测所述触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
    处理器,用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述处理器用于根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部具体为:
    所述处理器用于根据触摸屏的倾斜状态,按预定的规则将所述第一界面 上的部分界面可操作内容的显示位置互换;
    所述处理器还用于接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
    其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
  9. 如权利要求7所述的终端,其特征在于,所述第二界面具体为所述第一界面的部分或全部移动后的界面。
  10. 一种终端,其特征在于,所述终端包括:
    触摸屏,用于在所述触摸屏的屏幕上呈现界面;
    重力传感器或陀螺仪,用于检测所述触摸屏是否处于倾斜状态;所述处于倾斜状态包括在预设方向上具有预设范围内的倾斜角度,或在预设方向上具有预设范围内的加速度或位移;
    处理器,用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,所述第二界面为根据所述第一界面的部分或全部的移动得到的界面;所述处理器用于根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部具体为:
    所述处理器用于当所述触摸屏的倾斜状态为向上/向下/向左/向右倾斜时,按预定公式计算所述屏幕上的第一界面的部分或全部应向向上/向下/左/向右移动的距离,并按计算得到的距离向上/向下/向左/向右移动所述第一界面的部分或全部;
    所述处理器还用于接收用户在所述第二界面上的操作,并在用户结束在所述第二界面上的操作后,将所述移动后的第一界面的部分或全部恢复到移动前的位置;
    其中,所述第一界面的部分为所述第一界面上的界面可操作内容的部分或全部,所述界面可操作内容包括图标、按键、用户选择按钮中的至少一个。
  11. 根据权利要求10所述的终端,其特征在于,所述第一界面上的界面可操作内容包括虚拟键盘;所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规 则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,包括:
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向左移动的距离,按计算得到的距离向左移动所述虚拟键盘,得到第二界面;或者,
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,缩小所述虚拟键盘,并按预定公式计算所述屏幕上的第一界面的虚拟键盘向右移动的距离,按计算得到的距离向右移动所述虚拟键盘,得到第二界面;或者,
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向上移动的距离,并按计算得到的距离向上移动所述虚拟键盘,得到第二界面;或者,
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的虚拟键盘向下移动的距离,并按计算得到的距离向下移动所述虚拟键盘,得到第二界面。
  12. 根据权利要求10所述的终端,其特征在于,所述第一界面上的界面可操作内容包括输入窗口;所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏处于倾斜状态时,根据触摸屏的倾斜状态,按预定规则来移动触摸屏的屏幕上用户当前所在的第一界面的部分或全部,得到第二界面,包括:
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向左倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向左移动的距离,并按计算得到的距离向左移动所述输入窗口,得到第二界面;或者,
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向右倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向右移动的距离,并按计算得到的距离向右移动所述输入窗口,得到第二界面;或者,
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向上倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向上移动的距离,并按计算得到的距离向上移动所述输入窗口,得到第二界面;或者,
    所述处理器用于当所述重力传感器或陀螺仪检测到所述终端的触摸屏倾斜状态为向下倾斜时,根据所述触摸屏的倾斜状态,按预定公式计算所述屏幕上的第一界面的输入窗口向下移动的距离,并按计算得到的距离向下移动所述输入窗口,得到第二界面。
  13. 如权利要求10-12任一所述的终端,其特征在于,所述第二界面包括第一界面的部分或全部移动后的界面,和移动所述第一界面的部分或全部后,所述屏幕上空出来的空间所呈现的第三界面;
    所述处理器用于接收用户在所述第二界面上的操作包括以下中的至少一种:
    所述处理器用于接收用户在所述第一界面的部分或全部移动后的界面上的操作;或,
    所述处理器用于接收用户在所述第三界面上的操作;或,
    所述处理器用于接收用户在所述第一界面的部分或全部移动后的界面和所述第三界面上的交互操作。
  14. 如权利要求8~14任一所述的终端,其特征在于,所述触摸屏的倾斜状态包括:向左倾斜、向右倾斜、向上倾斜、向下倾斜、向左上倾斜、向左下倾斜、向右上倾斜或向右下倾斜。
PCT/CN2015/070284 2014-01-16 2015-01-07 一种界面操作的方法及终端 Ceased WO2015106647A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
ES15736987T ES2731398T3 (es) 2014-01-16 2015-01-07 Método de funcionamiento de una interfaz y terminal
EP19158721.1A EP3557393A1 (en) 2014-01-16 2015-01-07 Interface operation method and terminal
JP2016546994A JP2017513081A (ja) 2014-01-16 2015-01-07 インターフェース操作方法および端末
US15/112,026 US20160349991A1 (en) 2014-01-16 2015-01-07 Interface Operation Method and Terminal
EP15736987.7A EP3096211B8 (en) 2014-01-16 2015-01-07 Interface operation method and terminal
KR1020167022124A KR20160110453A (ko) 2014-01-16 2015-01-07 인터페이스 조작 방법 및 단말

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201410020478.0 2014-01-16
CN201410020478.0A CN103927075A (zh) 2014-01-16 2014-01-16 一种界面操作的方法及终端
CN201410428739.2 2014-08-27
CN201410428739.2A CN104793880A (zh) 2014-01-16 2014-08-27 一种界面操作的方法及终端

Publications (1)

Publication Number Publication Date
WO2015106647A1 true WO2015106647A1 (zh) 2015-07-23

Family

ID=53542392

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070284 Ceased WO2015106647A1 (zh) 2014-01-16 2015-01-07 一种界面操作的方法及终端

Country Status (7)

Country Link
US (1) US20160349991A1 (zh)
EP (2) EP3557393A1 (zh)
JP (1) JP2017513081A (zh)
KR (1) KR20160110453A (zh)
CN (1) CN104793880A (zh)
ES (1) ES2731398T3 (zh)
WO (1) WO2015106647A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017204115A (ja) * 2016-05-11 2017-11-16 京セラドキュメントソリューションズ株式会社 操作入力装置、携帯端末及び操作入力方法

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824590B (zh) * 2015-08-31 2019-11-22 维沃移动通信有限公司 一种在移动设备中的分屏处理方法和装置
CN105511588B (zh) * 2015-11-30 2019-07-05 上海斐讯数据通信技术有限公司 一种电子设备及其应用的屏幕显示方法
US20170177203A1 (en) * 2015-12-18 2017-06-22 Facebook, Inc. Systems and methods for identifying dominant hands for users based on usage patterns
CN107037944A (zh) * 2016-02-04 2017-08-11 阿里巴巴集团控股有限公司 移动终端的输入方法及移动终端
USD804508S1 (en) * 2016-10-26 2017-12-05 Apple Inc. Display screen or portion thereof with graphical user interface
CN107145285B (zh) * 2017-05-12 2019-12-03 维沃移动通信有限公司 一种信息提取方法及终端
CN107066176A (zh) * 2017-05-23 2017-08-18 珠海市魅族科技有限公司 一种终端单手模式的控制方法及装置
CN107992194B (zh) * 2017-11-24 2020-05-08 曾良军 显示方法、装置和终端设备
CN107526451A (zh) * 2017-09-04 2017-12-29 惠州Tcl移动通信有限公司 移动终端输入法软键盘的控制方法、存储介质及移动终端
JP2019096182A (ja) * 2017-11-27 2019-06-20 シャープ株式会社 電子装置、表示方法、およびプログラム
CN107943367B (zh) * 2017-11-30 2021-04-27 努比亚技术有限公司 双屏终端的界面显示方法、双屏终端和计算机存储介质
JP7069887B2 (ja) * 2018-03-15 2022-05-18 京セラドキュメントソリューションズ株式会社 携帯端末装置および携帯端末装置の表示制御方法
CN108600528A (zh) * 2018-04-09 2018-09-28 网易(杭州)网络有限公司 交互控制方法与装置、电子设备、存储介质
USD968436S1 (en) 2019-01-08 2022-11-01 Sleep Number Corporation Display screen or portion thereof with graphical user interface
CN109814974A (zh) * 2019-01-31 2019-05-28 维沃移动通信有限公司 应用程序界面调整方法及移动终端
USD916745S1 (en) * 2019-05-08 2021-04-20 Sleep Number Corporation Display screen or portion thereof with graphical user interface
CN111049971A (zh) * 2019-11-15 2020-04-21 深圳传音控股股份有限公司 一种单手模式切换方法、终端及计算机存储介质
CN111142679A (zh) * 2019-12-25 2020-05-12 维沃移动通信有限公司 一种显示处理方法及电子设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750107A (zh) * 2012-08-02 2012-10-24 深圳市经纬科技有限公司 一种大屏幕手持电子设备单手操作的方法及装置
CN102890558A (zh) * 2012-10-26 2013-01-23 北京金和软件股份有限公司 基于传感器检测移动手持设备手持运动状态的方法
CN103049184A (zh) * 2012-12-11 2013-04-17 中兴通讯股份有限公司 一种调整显示内容在屏幕中显示的区域的方法及装置
CN103064597A (zh) * 2012-12-28 2013-04-24 鸿富锦精密工业(深圳)有限公司 显示控制系统及显示控制方法
US20130111384A1 (en) * 2011-10-27 2013-05-02 Samsung Electronics Co., Ltd. Method arranging user interface objects in touch screen portable terminal and apparatus thereof
CN103383626A (zh) * 2012-05-02 2013-11-06 三星电子株式会社 移动对象的方法和装置
CN103425430A (zh) * 2013-07-24 2013-12-04 广州三星通信技术研究有限公司 在移动终端中支持单手输入文字的方法和设备
CN103440082A (zh) * 2013-07-29 2013-12-11 宇龙计算机通信科技(深圳)有限公司 移动终端操作的方法及其移动终端
CN103927075A (zh) * 2014-01-16 2014-07-16 华为终端有限公司 一种界面操作的方法及终端

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9582049B2 (en) * 2008-04-17 2017-02-28 Lg Electronics Inc. Method and device for controlling user interface based on user's gesture
KR101481556B1 (ko) * 2008-09-10 2015-01-13 엘지전자 주식회사 이동 단말기 및 이를 이용한 객체 표시방법
US8645871B2 (en) * 2008-11-21 2014-02-04 Microsoft Corporation Tiltable user interface
US8274536B2 (en) * 2009-03-16 2012-09-25 Apple Inc. Smart keyboard management for a multifunction device with a touch screen display
KR101740439B1 (ko) * 2010-12-23 2017-05-26 엘지전자 주식회사 이동 단말기 및 그 제어방법
TWI571790B (zh) * 2011-11-10 2017-02-21 財團法人資訊工業策進會 依感測信號更改圖示座標值的方法與電子裝置
JP5927872B2 (ja) * 2011-12-01 2016-06-01 ソニー株式会社 情報処理装置、情報処理方法およびプログラム
US8954877B2 (en) * 2012-04-27 2015-02-10 Blackberry Limited Portable electronic device including virtual keyboard and method of controlling same
JP5565450B2 (ja) * 2012-05-22 2014-08-06 パナソニック株式会社 入出力装置
KR20140009713A (ko) * 2012-07-12 2014-01-23 삼성전자주식회사 휴대 단말에 있어 터치입력창의 사이즈를 조절하는 방법 및 장치
US9235326B2 (en) * 2012-12-20 2016-01-12 International Business Machines Corporation Manipulation of user interface controls
JP5514922B1 (ja) * 2013-01-31 2014-06-04 グリー株式会社 ユーザ操作制御プログラム、携帯装置及びユーザ操作制御方法
CN104049859A (zh) * 2013-03-15 2014-09-17 青岛海尔电子有限公司 智能终端及其软操控界面的显示控制方法

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111384A1 (en) * 2011-10-27 2013-05-02 Samsung Electronics Co., Ltd. Method arranging user interface objects in touch screen portable terminal and apparatus thereof
CN103383626A (zh) * 2012-05-02 2013-11-06 三星电子株式会社 移动对象的方法和装置
CN102750107A (zh) * 2012-08-02 2012-10-24 深圳市经纬科技有限公司 一种大屏幕手持电子设备单手操作的方法及装置
CN102890558A (zh) * 2012-10-26 2013-01-23 北京金和软件股份有限公司 基于传感器检测移动手持设备手持运动状态的方法
CN103049184A (zh) * 2012-12-11 2013-04-17 中兴通讯股份有限公司 一种调整显示内容在屏幕中显示的区域的方法及装置
CN103064597A (zh) * 2012-12-28 2013-04-24 鸿富锦精密工业(深圳)有限公司 显示控制系统及显示控制方法
CN103425430A (zh) * 2013-07-24 2013-12-04 广州三星通信技术研究有限公司 在移动终端中支持单手输入文字的方法和设备
CN103440082A (zh) * 2013-07-29 2013-12-11 宇龙计算机通信科技(深圳)有限公司 移动终端操作的方法及其移动终端
CN103927075A (zh) * 2014-01-16 2014-07-16 华为终端有限公司 一种界面操作的方法及终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017204115A (ja) * 2016-05-11 2017-11-16 京セラドキュメントソリューションズ株式会社 操作入力装置、携帯端末及び操作入力方法

Also Published As

Publication number Publication date
CN104793880A (zh) 2015-07-22
US20160349991A1 (en) 2016-12-01
EP3096211B8 (en) 2019-06-12
EP3096211B1 (en) 2019-04-24
JP2017513081A (ja) 2017-05-25
EP3557393A1 (en) 2019-10-23
KR20160110453A (ko) 2016-09-21
EP3096211A1 (en) 2016-11-23
ES2731398T3 (es) 2019-11-15
EP3096211A4 (en) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2015106647A1 (zh) 一种界面操作的方法及终端
US10209877B2 (en) Touch screen device, method, and graphical user interface for moving on-screen objects without using a cursor
CN113407106B (zh) 用于改善设备的单手操作的用户界面
CN101685372B (zh) 操作使用者介面的方法
US8381125B2 (en) Device and method for resizing user interface content while maintaining an aspect ratio via snapping a perimeter to a gridline
US20120030624A1 (en) Device, Method, and Graphical User Interface for Displaying Menus
CN104331182B (zh) 具有辅助触摸屏的便携式终端
KR101504310B1 (ko) 사용자 단말 및 이의 인터페이싱 방법
TW200910149A (en) Electronic device display adjustment interface
WO2017185459A1 (zh) 一种图标移动方法以及装置
KR20160019762A (ko) 터치 스크린 한손 제어 방법
JP5275429B2 (ja) 情報処理装置、プログラムおよびポインティング方法
JPWO2012161237A1 (ja) 情報処理装置およびその制御方法
TW201433943A (zh) 觸控游標的顯示方法
JP5943856B2 (ja) 多面的なグラフィック・オブジェクトを有する携帯端末及び表示切替方法
CN115098015A (zh) 虚拟键盘的显示方法、装置、电子设备及存储介质
TW200915168A (en) Portable electrical apparatus and a method for switching graphic user interfaces thereof
CN104572602A (zh) 显示消息的方法和装置
JP2014179800A (ja) 電子装置および表示方法
JP2015138309A (ja) タッチパネル式携帯端末、その制御方法及びコンピュータプログラム
JP2019008627A (ja) 表示装置及び入力制御方法
JP2015108902A (ja) タッチパネル式携帯端末、その制御方法及びコンピュータプログラム
JP2014106916A (ja) 入力表示装置、その制御方法、プログラム、及び情報処理装置
TW201201064A (en) Portable electronic device and method for controlling software object thereof

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: 15736987

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016546994

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15112026

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2015736987

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015736987

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20167022124

Country of ref document: KR

Kind code of ref document: A