WO2021103985A1 - 一种操作屏幕图标的方法及装置 - Google Patents

一种操作屏幕图标的方法及装置 Download PDF

Info

Publication number
WO2021103985A1
WO2021103985A1 PCT/CN2020/127218 CN2020127218W WO2021103985A1 WO 2021103985 A1 WO2021103985 A1 WO 2021103985A1 CN 2020127218 W CN2020127218 W CN 2020127218W WO 2021103985 A1 WO2021103985 A1 WO 2021103985A1
Authority
WO
WIPO (PCT)
Prior art keywords
icons
sliding
icon
display page
page
Prior art date
Application number
PCT/CN2020/127218
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 华为技术有限公司
Priority to EP20891961.3A priority Critical patent/EP4057118A4/en
Publication of WO2021103985A1 publication Critical patent/WO2021103985A1/zh
Priority to US17/827,342 priority patent/US11966576B2/en

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
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • 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/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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • G06F3/0485Scrolling or panning
    • 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
    • G06F3/0486Drag-and-drop
    • 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/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

Definitions

  • This application relates to the field of electronic technology, and in particular to a method and device for conveniently operating icons on the screen of a smart device.
  • smart devices with touch screens have a very single way of operating icons, which is mainly realized by the unified drag of the input device.
  • the embodiment of the present application provides a method for operating screen icons to determine whether the initial position of the user's sliding operation is on the icon, and then to perform overall operations or single row/column operations on the screen.
  • the overall screen operation or single row/column operation By performing the overall screen operation or single row/column operation, the frequent dragging caused by too many screen interfaces and the difficulty of one-handed operation caused by the large screen are avoided.
  • the idea that the icon layout can only be operated on a whole screen each time is changed, which greatly improves the user's operating experience and efficiency.
  • a method for operating a touch screen icon includes: collecting user sliding operation information; the user sliding operation information includes: a first position, a sliding speed, a pressing time before sliding or a sliding direction; wherein, the first The position is the initial position of the user's sliding operation; when the first position is outside the icon, it is determined that the sliding speed is less than the sliding speed threshold, and then all the icons on the displayed page are moved according to the sliding direction; or when the first position is inside the icon, It is determined that the pressing duration is greater than or equal to the first duration threshold and less than or equal to the second duration threshold, and then according to the sliding direction, the column icon of the relevant column or the row icon of the relevant row of the icon at the first position in the display page is moved.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; according to the sliding direction, moving all icons on the displayed page includes: according to the first position and The second position, determine the sliding distance l of the user's sliding operation; l is the projection distance of the linear distance between the second position and the first position in the sliding direction; determine the complement parameter N, N is determined by dividing l by the unit switching distance ⁇ h
  • ⁇ h is greater than or equal to the width of a single icon, and less than or equal to the width of the entire screen, ⁇ h is an integer multiple of the width of a single icon; all icons on the display page will move X rows or columns along the sliding direction; where, X is the number of rows or columns of the icon within the range of N ⁇ h, and X is an integer.
  • the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the second side of the touch screen, where the first side is perpendicular to the second side; all of the pages on the page will be displayed.
  • moving X rows or columns along the sliding direction includes: if the sliding direction is horizontal, all icons on the display page are moved X columns in the horizontal direction; if the sliding direction is vertical, all the icons on the display page are cycled in the vertical direction Move X rows.
  • the method further includes: removing the icons that exceed the displayed page after the movement, and determining the X-column icons adjacent to the displayed page from the adjacent pages with the opposite sliding direction, and moving them in Go to the display page.
  • the method further includes: when there is at least one column of icons in the adjacent page, and the number of icon columns is less than X columns, determining the number of icon columns Q in the adjacent page; wherein, Q is a positive integer, 0 ⁇ Q ⁇ X; move all the icons on the display page to the Q column horizontally, move out the icons that exceed the display page after the movement, and move the Q column icons in the adjacent page to the display page .
  • the method further includes: canceling the user's sliding operation when there is no column of icons in the adjacent page.
  • the method further includes: the first position includes two or more positions; according to the two or more positions, determining that the area where the first position is located in the display page includes at least two rows or at least two columns .
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the touch screen.
  • the second side is parallel to the second side, where the first side is perpendicular to the second side; according to the sliding direction, moving the column icon of the relevant column or the row icon of the relevant row of the icon where the first position in the display page is located includes: according to the first position And the second position, determine the sliding distance l of the user's sliding operation; l is the projection distance of the linear distance between the second position and the first position in the sliding direction; when the sliding direction or the pressing force direction of the first position is longitudinal, Determine the relevant column of the icon where the first position is located; if the user's sliding operation l>the minimum sliding distance ⁇ l, move the column icon of the relevant column of the display page; when the sliding direction or the pressing force direction of the first position is horizontal, Determine the relevant row of the icon where the first position is located; if l> ⁇ l of the user's sliding operation, move the row icon of the relevant row of the displayed page.
  • moving the column icons of the relevant columns of the display page includes: cyclically moving the column icons of the relevant columns.
  • moving the line icons of the relevant lines of the display page includes: moving the line icons on the relevant lines of the display page by Y icon distances horizontally; where Y is the number of icons within a distance of l, And Y is an integer.
  • the method further includes: removing the icons that exceed the displayed page after the movement, and determining Y icons on the same row as the related row that are adjacent to the displayed page from adjacent pages with the opposite sliding direction, and Move to the relevant line of the displayed page.
  • the method further includes: when there are icons on the same row as the related row in the adjacent page and the number of icons is less than Y, determining the number of icons P in the same row as the related row in the adjacent page ; Among them, P is a positive integer, 0 ⁇ P ⁇ Y; move all the icons on the relevant line of the display page by P icons in the horizontal direction, move the icons beyond the display page after the movement, and move the adjacent pages to the relevant line The P icons in the same row are moved to the relevant row of the display page.
  • the method further includes: canceling the user's sliding operation when there is no icon on the same row as the related row in the adjacent page.
  • a device for operating icons on a touch screen includes: a sensor, a memory, a processor, and an interface circuit; the sensor is used to collect user sliding operation information; the user sliding operation information includes: first position, sliding speed, The pressing time or the sliding direction before sliding; the first position is the initial position of the user sliding operation; the memory is used to store code instructions and user sliding operation information collected by the sensor; the interface circuit is used to receive and transmit code instructions To the processor; the processor is used to determine that the sliding speed is less than the sliding speed threshold when the first position is outside the icon, and then move all the icons on the display page according to the sliding direction; or the processor is also used to: When the position is within the icon, it is determined that the pressing duration is greater than or equal to the first duration threshold and less than or equal to the second duration threshold, then according to the sliding direction, the corresponding column icon or the row of the relevant row of the icon where the first position is displayed in the page Icon to move.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the processor is further configured to: determine the user's sliding operation according to the first position and the second position The sliding distance l; l is the projection distance of the linear distance between the second position and the first position in the sliding direction; determine the complement parameter N, N is determined by dividing l by the unit switching distance ⁇ h; where ⁇ h is greater than or equal to The width of a single icon, which is less than or equal to the width of the entire screen, ⁇ h is an integer multiple of the width of a single icon; all icons on the display page are moved X rows or columns along the sliding direction; where X is N icons within the range of ⁇ h The number of rows or columns, X is an integer.
  • the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the second side of the touch screen, where the first side is perpendicular to the second side; the processor is also used for: If the sliding direction is horizontal, all icons on the display page are moved X columns in the horizontal direction; if the sliding direction is vertical, all icons on the display page are cyclically moved X rows in the vertical direction.
  • the processor is further configured to: remove the icons that exceed the display page after moving, and determine the X-column icons adjacent to the display page from adjacent pages with the opposite sliding direction, and move them to the display page.
  • the processor is further configured to: when there is at least one column of icons in the adjacent page, and the number of icon columns is less than X columns, determine the number of icon columns Q in the adjacent page; where Q is a positive integer , 0 ⁇ Q ⁇ X; Move all the icons on the display page to the Q column horizontally, remove the icons that exceed the display page after the movement, and move the Q column icons in the adjacent page to the display page.
  • the processor is further configured to: when there is no column of icons in the adjacent page, cancel the user's sliding operation.
  • the first position includes two or more positions; the processor is further configured to: according to the two or more positions, determine that the area where the first position is located in the display page includes at least two rows or at least Two columns.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the touch screen.
  • the second side is parallel to the second side, where the first side is perpendicular to the second side; the processor is further configured to: determine the sliding distance l of the user sliding operation according to the first position and the second position; l is the second position and the first position The projection distance of the linear distance between the two in the sliding direction; when the sliding direction or the pressing force direction of the first position is longitudinal, determine the relevant column of the icon where the first position is located; if the user's sliding operation l>the minimum sliding distance ⁇ l, Then move the column icons of the relevant columns of the display page; when the sliding direction or the pressing force direction of the first position is horizontal, determine the relevant row of the icon where the first position is located; if the user sliding operation l> ⁇ l, the display Move the line icons of the related lines on the page.
  • the processor is further configured to: cyclically move the column icons of the related columns.
  • the processor is further configured to: horizontally move the line icons on the relevant line of the display page by Y icons; where Y is the number of icons within a distance of l, and Y is an integer.
  • the processor is further configured to: remove the icons that exceed the displayed page after the movement, and determine the Y icons adjacent to the displayed page on the same line as the related line from adjacent pages with the opposite sliding direction , And move to the relevant line of the displayed page.
  • the processor is further configured to: when there are icons on the same row as the related row in the adjacent page and the number of icons is less than Y, determine the number of icons on the same row as the related row in the adjacent page The number P; where P is a positive integer, 0 ⁇ P ⁇ Y; move all the icons on the relevant line of the display page by P icons in the horizontal direction, move the icons beyond the display page after the movement, and move the adjacent pages with The P icons in the same row of the related row are moved to the related row of the display page.
  • the processor is further configured to: when there is no icon on the same row as the related row in the adjacent page, cancel the user sliding operation.
  • a device for operating a touch screen icon includes: a collection module for collecting user sliding operation information; user sliding operation information includes: first position, sliding speed, pressing time before sliding or sliding direction Wherein, the first position is the initial position of the user's sliding operation; the processing module is used to determine that the sliding speed is less than the sliding speed threshold when the first position is outside the icon, and then move all the icons on the display page according to the sliding direction; Or the processing module is further configured to: when the first position is located in the icon, determine that the pressing duration is greater than or equal to the first duration threshold and less than or equal to the second duration threshold, then according to the sliding direction, to display the icon of the first position in the page Move the column icon of the related column or the row icon of the related row.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the processing module is further used to: determine the user's sliding operation according to the first position and the second position The sliding distance l; l is the projection distance of the linear distance between the second position and the first position in the sliding direction; determine the complement parameter N, N is determined by dividing l by the unit switching distance ⁇ h; where ⁇ h is greater than or equal to The width of a single icon, which is less than or equal to the width of the entire screen, ⁇ h is an integer multiple of the width of a single icon; all icons on the displayed page are moved X rows or columns in the sliding direction; where X is the number of icons within the range of N ⁇ h Number of rows or columns, X is an integer.
  • the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the second side of the touch screen, where the first side is perpendicular to the second side; the processing module is also used for: If the sliding direction is horizontal, all icons on the display page are moved by X columns in the horizontal direction. If the sliding direction is the longitudinal direction, all the icons on the display page are cyclically moved X rows along the longitudinal direction.
  • the processing module is further used to: remove the icons that exceed the display page after moving, and determine the X-column icons adjacent to the display page from the adjacent pages with the opposite sliding direction, and move them to the display page.
  • the processing module is further configured to: when there is at least one column of icons in the adjacent page, and the number of icon columns is less than X columns, determine the number of icon columns Q in the adjacent page; where Q is a positive integer, 0 ⁇ Q ⁇ X; move all the icons on the display page to the Q column horizontally, remove the icons that exceed the display page after the movement, and move the Q column icons in the adjacent page to the display page.
  • the processing module is further configured to: when there is no column of icons in the adjacent page, cancel the user's sliding operation.
  • the first position includes two or more positions; the processing module is further configured to: according to the two or more positions, determine that the area where the first position in the display page is located includes at least two rows or at least Two columns.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the touch screen.
  • the second side is parallel to the second side, where the first side is perpendicular to the second side; the processing module is also used to: determine the sliding distance l of the user's sliding operation according to the first position and the second position; l is the second position and the first position The projection distance of the linear distance between the two in the sliding direction; when the sliding direction or the pressing force direction of the first position is longitudinal, determine the relevant column of the icon where the first position is located; if the user's sliding operation l>the minimum sliding distance ⁇ l, Then move the column icons of the relevant columns of the display page; when the sliding direction or the pressing force direction of the first position is horizontal, determine the relevant row of the icon where the first position is located; if the user sliding operation l> ⁇ l, the display Move the line icons of the related lines on the page.
  • the processing module is further used to: cyclically move the column icons of the related columns.
  • the processing module is further configured to: move the line icons on the relevant lines of the display page by Y icons; where Y is the number of icons within a distance of l, and Y is an integer.
  • the processing module is further used to: remove the icons that exceed the display page after the movement, and determine the Y icons adjacent to the display page on the same line as the related line from adjacent pages with the opposite sliding direction , And move to the relevant line of the displayed page.
  • the processing module is further configured to: when there are icons on the same row as the related row in the adjacent page and the number of icons is less than Y, determine the number of icons on the same row as the related row in the adjacent page The number P; where P is a positive integer, 0 ⁇ P ⁇ Y; move all the icons on the relevant line of the display page by P icons in the horizontal direction, move out the icons that exceed the display page after the movement, and move the adjacent pages The P icons in the same row as the related row are moved to the related row on the display page.
  • the processing module is further configured to: when there is no icon on the same row as the related row in the adjacent page, cancel the user's sliding operation.
  • a computer-readable storage medium storing a program.
  • the program includes instructions. When the instructions are executed by a computer, the computer executes the method of the first aspect.
  • a computer program product containing instructions which, when run, causes the method of the first aspect to be executed.
  • the present application discloses a method and device for operating screen icons, which determine whether this user sliding operation is the overall screen operation or the icon row/column operation through the collected touch information.
  • regular operations can be excluded according to the sliding speed, and the entire screen icon can be moved according to the touch information.
  • icon row/column operations regular operations can be excluded according to the pressing time, and row icons or column icons can be moved according to the sliding direction.
  • FIG. 1 is a schematic diagram of a sliding icon of a smart device according to an embodiment of the application
  • FIG. 2 is a flowchart of a method for operating screen icons according to an embodiment of the application
  • FIG. 3 is a schematic diagram of a sliding direction of an operation screen icon provided by an embodiment of the application.
  • FIG. 4 is a flowchart of another method for operating screen icons according to an embodiment of the application.
  • FIG. 5 is a schematic diagram of screen movement according to an embodiment of the application.
  • FIG. 6 is a schematic diagram of a screen display of an operation screen icon provided by an embodiment of the application.
  • FIG. 7 is a flowchart of still another method for operating screen icons according to an embodiment of the application.
  • FIG. 8 is a schematic diagram of another screen movement provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 11 is a schematic diagram of a screen display of still another operation screen icon provided by an embodiment of the application.
  • FIG. 12a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 12b is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 12c is a schematic diagram of a screen display of still another operation screen icon provided by an embodiment of the application.
  • FIG. 12d is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 13a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 13b is a schematic diagram of a screen display of still another operation screen icon provided by an embodiment of the application.
  • FIG. 14a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 14b is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 14c is a schematic diagram of a screen display of still another operation screen icon provided by an embodiment of the application.
  • FIG. 14d is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 15a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 15b is a schematic diagram of a screen display of still another operation screen icon provided by an embodiment of the application.
  • FIG. 16a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 16b is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 16c is a schematic diagram of a screen display of still another operation screen icon provided by an embodiment of the application.
  • FIG. 17a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 17b is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 19 is a schematic diagram of a device for operating screen icons according to an embodiment of the application.
  • FIG. 20 is a schematic diagram of a terminal device provided by an embodiment of this application.
  • a terminal device refers to a smart device with a touch screen.
  • the user wants to find a certain application for operation as shown in Figure 1, it is necessary to slide the screen and then switch to another display interface to find the corresponding application for operation. If the location of the target application is separated from the current display interface by several interfaces at this time, the user needs to span multiple interfaces to find the target application. This causes user operations to become extremely cumbersome.
  • this application determines to perform full-screen icon operations or single-line or single-column icon operations based on the starting position of the user's sliding operation. For full-screen icon operations, when the sliding speed is less than a certain threshold, the full-screen page icon moves; for single-line or single-column icon operations, when the pressing time reaches a certain time range, you can perform row icons or columns according to the sliding direction The icon moves. Through the above operations, the user can move the icon more quickly when performing screen operations, so as to find the target application. And for a screen that exceeds a certain size, when the user chooses to perform screen operation with his hand, it can be more convenient to perform screen operation with one hand and improve user experience.
  • FIG. 2 is a flowchart of a method for operating screen icons according to an embodiment of the application.
  • Figure 2 provides a method of operating screen icons. This method can be applied to terminal equipment.
  • the terminal devices involved in this application can be any terminal devices with touch screens, such as mobile phones, computers, tablets, and wearable devices. This application is not limited again.
  • the method can include the following steps:
  • S201 Collect user sliding operation information; the sliding operation information includes: a first position, a sliding speed, a pressing duration before sliding or a sliding direction; where the first position is an initial position of the user's sliding operation.
  • the terminal device first collects the touch information of the user's sliding operation performed by the user on the touch screen of the terminal device.
  • the touch information may include the initial position of the user's sliding operation this time, that is, the first position.
  • the touch information may also include the sliding speed of this user's sliding operation, the pressing time at the first position or the sliding direction before the sliding.
  • the user sliding operation in this application may include the following operations: single finger click or move; knuckle click or move; multiple fingers click or move; multiple knuckle click or move; user-defined Gestures, etc.
  • the user-defined gesture actions are gesture actions that can be recognized by the system running on the terminal device, such as drawing a circle and drawing a line.
  • user-defined gestures generally have the following characteristics: they can be recognized; they are not repeated with other gestures.
  • the preset gesture action can be preset in the system, or can be set by the user.
  • user-defined gestures are not particularly complicated. Of course, it is understandable that in some special cases, user-defined gestures can also be complex gestures.
  • the sliding direction may include lateral and longitudinal directions.
  • the horizontal direction is the horizontal direction of the operation interface currently displayed on the terminal device
  • the vertical direction is the vertical direction of the operation interface currently displayed on the terminal device.
  • the direction pointed by the double-headed arrow 1 is the horizontal direction
  • the direction pointed by the double-headed arrow 2 is the longitudinal direction. It can be clearly seen from Fig. 3 that the relationship between the current horizontal and vertical screen and the displayed page of the terminal device in different states.
  • the terminal device needs to determine whether the first position of the user's sliding operation is located on the icon. When the first position is outside the icon, it is determined that the user's sliding operation is the overall screen operation, and S203 is executed; or when the first position is on the icon, it is determined that the user's sliding operation is an icon operation, and S206 is executed.
  • the terminal device needs to first distinguish this user sliding operation from the conventional screen operation.
  • the gesture action is usually continuous and does not stop midway. For example, the user quickly swipes the non-icon area of the screen with his finger to achieve screen sliding; or the user clicks on the icon to enter the application represented by the icon, or when the icon is long pressed for a certain period of time, the icon is dragged or restarted Arrange and proceed further.
  • S203 Determine whether the sliding speed is less than a sliding speed threshold.
  • the terminal device determines whether the sliding speed of the current user sliding operation is less than the sliding speed threshold.
  • the sliding speed threshold may be preset. When the sliding speed is greater than or equal to the sliding speed threshold, the terminal device will execute S205. In the embodiment of the present application, it is determined whether the sliding speed is less than the sliding speed threshold, and when the sliding speed does not reach the sliding speed threshold, S204 is continued.
  • the entire screen page icon is moved according to the current user's sliding operation.
  • S205 Determine that the user's sliding operation is a regular screen operation.
  • the current user's sliding operation is a regular screen operation, and the operation may be, for example, sliding and switching the display interface of the current screen as a whole.
  • S206 Determine whether the pressing duration is between the first duration threshold and the second duration threshold.
  • the terminal device determines that the starting position of the user's sliding operation is on the icon, it can be understood that this user's sliding operation has clicked on an application icon displayed on the screen. If the user does not immediately lift the sliding operation at this time, but presses the first position for a certain period of time.
  • the terminal device determines the pressing duration of the user's sliding operation this time, and determines whether the pressing duration is between the first duration threshold and the second duration threshold.
  • the first duration threshold is set to distinguish whether the user's swipe operation this time is a click to enter the application.
  • the pressing duration is less than or equal to the first duration threshold, the user's sliding operation this time is a regular operation such as clicking to enter the application.
  • the second duration threshold is set to distinguish whether the user's sliding operation is dragging or re-arranging icons.
  • the user's sliding operation is a dragging or rearranging icon operation. You can drag the icon to any position, rearrange the icons, or trigger other regular operations such as deleting .
  • this user sliding operation does not perform conventional operations such as dragging or rearranging icons on the application.
  • the current user sliding operation is distinguished from the conventional screen operation to execute S207.
  • S205 is executed to perform a regular screen operation.
  • the operation may also be clicking an icon to enter the application, or dragging the clicked icon.
  • S207 Move the column icon of the relevant column or the row icon of the relevant row in the area where the icon is located at the first position in the display page.
  • the current user's sliding operation is not a normal screen operation, and according to the sliding direction of the current user's sliding operation after the press is pressed, the column icon or related row of the relevant column in the area where the icon is located at the first position in the page is displayed. Line icon to move.
  • the present application discloses a method and device for operating screen icons, which determine whether this user sliding operation is the overall screen operation or the icon row/column operation through the collected touch information.
  • regular operations can be excluded according to the sliding speed, and the entire screen icon can be moved according to the touch information.
  • icon row/column operations regular operations can be excluded according to the pressing time, and row icons or column icons can be moved according to the sliding direction.
  • FIG. 4 is a flowchart of another method for operating screen icons according to an embodiment of the application.
  • FIG. 4 shows the overall screen operation performed after the first area is determined to be another area outside the area where the icon is located in S202 shown in FIG. 2.
  • the method may include the following steps:
  • S203 Determine whether the sliding speed is less than a sliding speed threshold.
  • the terminal device when it is determined that the sliding speed is greater than or equal to the sliding speed threshold, the terminal device will execute S205.
  • S205 Determine that the user's sliding operation is a regular screen operation.
  • FIG. 4 shows a more detailed execution process of S204, which may include the following steps:
  • S401 Determine the sliding distance l of the user's sliding operation according to the first position and the second position.
  • the touch information may further include the second position.
  • the second position is the touch position at the end of the user's sliding operation.
  • the sliding distance l of the user's sliding operation is determined.
  • l represents the projection distance of the linear distance between the first position and the second position in the sliding direction.
  • the sliding distance l can be used to project the distance in the horizontal and vertical directions, and the sliding is determined according to which projection distance is longer.
  • the direction is that direction.
  • the sliding distance in the other direction can be ignored, and only the sliding distance in one direction can be considered.
  • the sliding distance may also be considered in both the horizontal and vertical directions, which is not limited in this application.
  • the minimum page switching distance ⁇ h may be preset. In an example, the minimum ⁇ h is not less than the width of a column of icons, and the maximum is not more than the width of the entire screen. In another example, ⁇ h may be an integer multiple of the width of a column of icons. Can facilitate subsequent icon movement operations. In another example, if the length of l is less than ⁇ h, this user sliding operation can be cancelled. As shown in FIG. 5, FIG. 5 is a schematic diagram of screen movement according to an embodiment of the application. Fig. 5 shows that when the sliding direction is sliding to the right, the sliding speed is less than the sliding speed threshold ⁇ v, and the minimum page switching distance ⁇ h is set at this time.
  • the width of ⁇ h in Figure 5 can be set as the width of a column of icons.
  • the terminal device can ignore this user's sliding operation and restore the screen to its original position.
  • S403 is performed.
  • the complement parameter N can be determined to complement the screen after sliding, and at the same time, determine the position of each icon on the screen after the complement.
  • the filling parameter N can be determined by dividing l by ⁇ h. In another example, N is rounded up.
  • the icons within the range of N ⁇ h arranged on the edge of the screen along the sliding direction are moved out of the display page, and the icons on the display page are complemented.
  • the icon on the left side of the current screen will move out of the display page, and at the same time, if there is no supplement on the right side, there will be a vacancy. Then the left side of the screen will be determined within the range of N ⁇ h on the right side of the screen. The position of the icon.
  • the sliding direction is rightward sliding, the method is similar, except that the direction is opposite. I won't repeat them here.
  • the icons in the X column within the first N ⁇ h range along the sliding direction on the display page may be moved out of the display page, and then the icons in the remaining columns of the display page may be moved N ⁇ h in the sliding direction.
  • the terminal device determines the first X columns of icons arranged along the sliding direction in the adjacent pages of the display page that are opposite to the sliding direction. Where X is an integer. And move the first X columns of icons arranged along the sliding direction in the adjacent pages into the free position on the display page, thereby realizing the movement of the icons on the entire screen.
  • the first two columns on the left side of the display page move out of the display page, and at the same time, the two adjacent pages on the right side of the display page will be displayed.
  • the right side of the display page is moved in and completed.
  • the position of the icon on the screen is fixed. After the user's sliding operation is over, the remaining icons will be translated along the sliding direction and displayed on the corresponding icon position; and the icon that moves out of the screen after the user's sliding operation is over Icon is no longer displayed.
  • the positions of the icons that are complemented after the movement it is necessary to determine the icons in the adjacent pages of the display page in the opposite sliding direction, and move the icons in the adjacent pages of the display page to the display page. For example, when the sliding direction is sliding to the left, the icon in the adjacent interface on the right is determined, then the corresponding icon on the left side of the display page is moved out of the current interface, and the corresponding icon in the adjacent page is moved into the display page and displayed .
  • the sliding direction is sliding to the right, the operation is similar, except that the direction is reversed, so I will not repeat it here.
  • the X-line icons within the first N ⁇ h range along the sliding direction on the display page are moved out of the display page, and then the icons on the remaining rows of the display page are moved N ⁇ h in the sliding direction.
  • the terminal device moves the X-line icons that have moved out of the display page from the opposite direction of the sliding direction of the display page to the display page again, and complements them, thereby realizing the circular movement of the entire screen icon in the vertical direction. For example, when the user slides up two lines on the display page, the display page will move the top two lines out of the display page, and then move it back into the display page from the bottom of the display page, so that the icons in the vertical direction are cyclically filled.
  • the position of the icon on the screen is fixed. After the user's sliding operation ends, the remaining icons will be translated according to the sliding direction and displayed on the corresponding icon position; and the user will move out of the screen after the user's sliding operation is over
  • the icon of is moved to the display page and displayed in the opposite direction of the current screen sliding direction. For example, when the sliding direction is upward, the icon that slides out of the page is moved in and displayed below. When the sliding direction is downward sliding, the operation is similar, except that the direction is opposite, which is not repeated here.
  • the number of columns of icons in the adjacent pages of the displayed page along the opposite sliding direction can also be determined. If there is at least one column of icons in the adjacent page, and the number of columns of icons in the adjacent page of the display page is not enough to fill the vacant position of the display page, the number of icon columns Q existing in the adjacent page is determined. Among them, Q is a positive integer, 0 ⁇ Q ⁇ X. Then move all the icons on the display page to the Q column horizontally, move the icons that exceed the display page after the movement, and move the Q column icons in the adjacent page to the display page.
  • the icons in the first Q columns of the display page along the sliding direction may be moved out of the display page, and the icons in the remaining columns of the display page may be moved to the top in the sliding direction. Then move the Q-column icons arranged along the sliding direction in the adjacent page to the display page.
  • the icons that are moved out of the display page along the sliding direction become column Q instead of column X. Then move the Q column icons of the adjacent page to the display page to complete.
  • the terminal device in this application can perform adaptive filling according to the number of columns of icons in the adjacent pages when the number of columns of icons on the adjacent pages where the display page slides in the opposite direction is not enough to fill the vacant positions on the display page . For example, when two columns of icons need to be filled at this time, and the adjacent page has only one column of icons, the display page will only move to fill one column of icons. For a user sliding operation that does not have an icon in the adjacent page but is still performed, the user sliding operation can be ignored.
  • the icon distribution status of the current screen may also be presented on the screen of the terminal device.
  • the final screen icons are aligned and not misaligned.
  • FIG. 6 is a schematic diagram of a screen display of an operation screen icon provided by an embodiment of the application.
  • Fig. 6 is a more intuitive screen display schematic diagram of the method described in Fig. 4 and Fig. 5. It can be clearly seen from Figure 6 that the original screen display icons are column A, column B, column C, and column D.
  • the icons in column E in the interface on the next page are filled.
  • the interface shown on the far right side of Figure 6 the original column B, column C, and column D are moved to the left together, and the icons in column E in the interface on the next page are filled, and the final screen display icons are updated It is column B, column C, column D and column E.
  • FIG. 7 is a flowchart of still another method for operating screen icons according to an embodiment of the application.
  • FIG. 7 shows the icon operation performed after the first area is determined as the area where the icon is located in S202 shown in FIG. 2.
  • the method may include the following steps:
  • S206 Determine whether the pressing duration is between the first duration threshold and the second duration threshold.
  • the terminal device determines that the current user sliding operation is a normal operation, and executes S205.
  • S205 Determine that the user's sliding operation is a regular screen operation.
  • FIG. 7 shows a more detailed execution process of S207, which may include the following steps:
  • the touch information further includes the second position.
  • the second position is the touch position at the end of the user sliding operation.
  • the sliding distance l of the user's sliding operation is determined.
  • l represents the projection distance of the linear distance between the first position and the second position in the sliding direction.
  • the minimum sliding distance ⁇ l can also be preset to prevent the user from accidentally touching or accidentally touching and causing certain operations to be performed.
  • ⁇ l can be set to a length of 10 pixels. If l ⁇ l, the terminal device can consider this operation to be a mistaken touch or a mistaken touch, and ignore this user's sliding operation.
  • FIG. 8 is a schematic diagram of another screen movement provided by an embodiment of this application.
  • FIG. 8 shows that when the user's sliding operation is on the icon, if the pressing duration ⁇ t is between the first duration threshold and the second duration threshold, the relationship between the sliding distance l and ⁇ l is confirmed.
  • the terminal device when the terminal device determines that the sliding direction or the pressing force direction of the first position is vertical, it can determine the relevant column of the icon where the first position is located. Then when l> ⁇ l, it is determined that the current user sliding operation is a column icon operation, and the column icon is moved.
  • the icons on the relevant column of the icon where the user sliding operation is located are panned upward as a whole, and the icon moved out from the top is moved in from the bottom of the relevant column of the display page and displayed.
  • the icons on the related column of the icon where the user is sliding are displayed as a whole downwards, and the icon that is removed from the bottom is moved in from the top of the related column of the display page. To display. In this way, the icons on the relevant column where the user slides the operation are realized to move cyclically.
  • the terminal device when the terminal device determines that the sliding direction or the pressing force direction of the first position is horizontal, it can determine the relevant row of the icon where the first position is located. Then when l> ⁇ l, it is determined that the current user sliding operation is a line icon operation, and the line icon is moved.
  • S705 Perform line icon movement on the icon of the line where the user slides.
  • the line icons on the relevant lines of the display page are moved Y icons in the horizontal direction.
  • the Y icons in the adjacent pages are moved into the display page from the direction opposite to the sliding direction and displayed, so as to realize the movement of the row icons of the display page. For example, when the user presses an icon for a period of time and then slides two icon positions to the left, the two leftmost icons in the row are moved out of the display page, and at the same time from the same row on the adjacent page on the right side of the display page. Move the two leftmost icons from the right side of the related rows of the display page to complete the icons of a single row in the display page.
  • the number of icons in the same horizontal direction in adjacent pages that move in the opposite direction of the display page can also be determined. If there is at least one icon on the same row as the related row in the adjacent page, and the number of icons on the same row as the related row in the adjacent page is not enough to complement the row icons, then the related row in the adjacent page is determined.
  • the number of icons P is a positive integer, 0 ⁇ P ⁇ Y. Move all the icons on the relevant line of the display page by P icons in the horizontal direction, move the icons beyond the display page after the movement, and move the P icons in the same line of the adjacent page with the relevant line to the relevant line of the display page on.
  • the first P icons on the display page along the sliding direction can be moved out of the display page, the remaining icons on the display page are moved to the top in the sliding direction, and then the P icons arranged along the sliding direction on the adjacent pages The icon moves to the display page.
  • the number of icons P existing on the relevant row of the adjacent page is greater than or equal to 1 and less than Y, the number of icons moved out in the sliding direction on the relevant row of the display page becomes P, and no longer It's Y. Then move the P icons of the adjacent pages to the display page for completion.
  • the terminal device in this application can display the page in the adjacent page along the opposite sliding direction when the number of icons on the same line as the relevant line is not enough to fill the empty position of the relevant line in the display page, the priority will be
  • the filled positions are filled adaptively. For example, when it is necessary to fill in two icons on the related row where the user slides, and there is only one icon on the same row as the related row in the adjacent page, the display page will only move to fill in one icon. For a user sliding operation that does not have an icon on the relevant row in the adjacent page but is still performed, the user sliding operation can be ignored.
  • the icon distribution status of the current screen is also presented on the screen of the terminal device.
  • the final screen icons are aligned and not misaligned.
  • FIG. 9 is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • Fig. 9 shows a schematic diagram of the screen display of the single-line operation of the present application.
  • the line icon is moved.
  • the terminal device will determine the position of the screen icon in the relevant row of the icon where the user is sliding in the current screen display interface. Then determine the icon in the latter interface.
  • pan according to the sliding direction for example, pan to the left in FIG. 9. The icons that slide out of the screen will no longer be displayed.
  • FIG. 10 is a schematic diagram of screen display of another operation screen icon provided by an embodiment of the application.
  • Fig. 10 shows a schematic diagram of a screen display of a single-column operation of the present application.
  • the column icon movement is performed.
  • the sliding direction shown in FIG. 10 is downward sliding
  • the terminal device will determine the position of the screen icon in the relevant column of the icon where the user is sliding in the current screen display interface. Then pan the icons displayed on the display page according to the sliding direction.
  • the upper side of the relevant column will sequentially display the icons that slide out of the screen below the column to form a loop complement.
  • the sliding direction is upward sliding is similar to the downward sliding case. For the convenience of description, no further description is provided here.
  • FIG. 11 is a schematic diagram of a screen display of still another operation screen icon provided by an embodiment of the application.
  • FIG. 11 shows a schematic diagram of the screen display of still another operation screen icon of the present application.
  • FIG. 11 shows a schematic diagram of the screen display of still another operation screen icon of the present application.
  • the initial position of the user's sliding operation is not unique, the initial position can be determined according to different initial positions. Operate multiple rows or columns independently of each other. In one example, when the user uses two fingers to press and hold different rows or columns, the row or column icons can be moved for the pressed rows or columns. In another example, multiple rows or columns may be adjacent rows/columns, or non-adjacent rows/columns. This application is not limited here.
  • multiple consecutive rows or columns can be determined to move according to different initial positions and sliding directions. For example, when the sliding direction is horizontal, multiple initial positions with the largest difference in the longitudinal direction are determined, and which rows are included in the range of positions are determined. And move the rows of the contained multiple rows. For another example, when the sliding direction is the longitudinal direction, determine the multiple initial positions with the largest difference in the lateral direction, and determine which columns are included in the position interval. And move the columns of the contained multiple columns.
  • the single-row or single-column operation can be performed independently according to each initial position.
  • the left side interface of Fig. 11 shows two rows of icons simultaneously moving row icons, and for example, the right side interface of Fig. 11 shows three rows of icons simultaneously moving row icons.
  • the present application discloses a method and device for operating screen icons, which determine whether this user sliding operation is the overall screen operation or the icon row/column operation through the collected touch information.
  • regular operations can be excluded according to the sliding speed, and the entire screen icon can be moved according to the touch information.
  • icon row/column operations conventional operations can be excluded according to the pressing time, and the relevant row or column of the user's sliding operation can be determined according to the sliding direction or the direction of the pressing force at the first position, and then the relevant row or column according to the sliding distance Move the row icon or column icon.
  • the corresponding icon can be found quickly, and when the input device is a finger, for a large-screen terminal device that exceeds a certain size, it can also be quickly operated by one hand. Make the operation easier and more convenient, and increase the user's operating experience.
  • FIG. 12a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • the user's touch position is not on the icon on the display page.
  • the terminal device needs to determine the situation of the icons in the adjacent page on the right side of the displayed page, which is shown in the right half of FIG. 12a.
  • the display page display changes from columns A, B, C, and D to columns C, D, E, and F.
  • FIGS. 12a to 12d only show the changes in the display page of the terminal device when the arrow is to the left. It should be understood that for the case where the screen is to the right, only the direction is reversed. The remaining changes are the same as those shown in FIGS. 12d shows the same.
  • FIG. 13a is a schematic diagram of screen display of another operation screen icon provided by an embodiment of the application.
  • FIG. 13a shows a display page. It can be seen that the arrow on the displayed page points to the sliding direction, that is, the vertical direction. At this time, the terminal device slides, and the current screen icons are cyclically complemented.
  • the two rows that have been moved out need to be moved in from the bottom end of the display page.
  • the first row A, B, C, and D of the display page display are moved to the second-to-last row display of the display page.
  • FIGS. 13a to 13b only show the change of the terminal device display page when the arrow is up. It should be understood that for the case where the screen is down, only the direction is reversed. The remaining changes are the same as those shown in FIGS. 13a to 13b. Same as shown.
  • FIG. 14a is a schematic diagram of the screen display of another operation screen icon provided by an embodiment of the application.
  • the user's touch position is located on an icon on the display page, such as icon C.
  • the pressing duration of the current user's sliding operation is between the first duration threshold and the second duration threshold.
  • row icon movement is performed on the relevant row of icon C or column icon movement is performed on the relevant column of icon C.
  • the left half shows the display page. It can be seen that the arrow on the displayed page points to the sliding direction.
  • the terminal device needs to determine the situation of the icons in the adjacent page on the right side of the displayed page, which is shown in the right half of FIG. 14a.
  • the icon A and the icon B on the left side of the related row where C is located in the display page, that is, the first row are removed.
  • the first line displayed on the display page changes from Icon A, Icon B, Icon C, and Icon D to Icon C, Icon D, Icon E, and Icon F.
  • the icons in other rows are not moved.
  • the icon A and icon B on the left side of the related row where C is located in the display page, that is, the first row, are removed.
  • there is at least one icon in the related row in the adjacent page but the number of icons in the related row in the adjacent page is less than the number of icons moved out of the related row in the display page.
  • the right half of FIG. 14c shows that there is only one icon, the icon E, in the adjacent page.
  • the terminal device display page no longer removes both icon A and icon B, but only removes icon A and moves the icon E of the adjacent page in.
  • the display page displays Change from icon A, icon B, icon C, and icon D to icon B, icon C, icon D, and icon E.
  • FIGS. 14a to 14d only show the changes in the display page of the terminal device when the arrow is to the left. It should be understood that for the case where the screen is to the right, only the direction is reversed. The remaining changes are the same as those shown in FIGS. 14d shows the same.
  • FIG. 15a is a schematic diagram of screen display of another operation screen icon provided by an embodiment of the application.
  • the user's touch position is located on the icon in the third column and the fifth row of the display page.
  • Figure 15a shows a display page. It can be seen that the arrow on the displayed page points to the sliding direction, that is, the vertical direction.
  • the terminal device moves the column icons of the relevant columns, and circularly complements the column icons of the relevant columns of the current screen icon.
  • the two icons that have been moved out need to be moved in from the bottom end of the relevant column of the display page.
  • the icon C of the related column displayed on the display page is moved to the second-to-last position of the related column of the display page for display.
  • the icons in other columns are not moved.
  • FIGS. 15a to 15b only show the change of the terminal device display page when the arrow is up. It should be understood that for the case where the screen is down, only the direction is reversed. The remaining changes are the same as those shown in FIGS. 15a to 15b. Same as shown.
  • Figs. 14a to 15b if there is a vacant position on the display page, that is, the icons are not arranged full.
  • the original vacant position of the displayed page will also move along with the moving direction during the moving process of the displayed page.
  • the vacant positions that originally existed are not filled.
  • the circularly moved icons also do not fill in the vacant positions that originally existed.
  • FIG. 16a is a schematic diagram of the screen display of another operation screen icon provided by an embodiment of the application.
  • the user's touch position is located on at least two icons on the display page.
  • Figure 16a shows a display page. It can be seen that the arrow on the displayed page points to the sliding direction. The terminal device needs to determine the status of the icons in the adjacent page on the right side of the display page, that is, the right half of FIG. 16a shows.
  • the two leftmost icons in at least two related rows in the display page are removed.
  • the first three icons in the first to third rows of the display page are moved out of the display.
  • Page at the same time, move the first to third rows into the corresponding icon in the relevant row in the adjacent page.
  • other unrelated line icons are not moved, such as the last line of icons on the display page.
  • the two leftmost icons in at least two related rows in the display page are removed. Assuming that when the upper limit is moved by the behavior with the fewest icons in the corresponding related rows in the adjacent pages, after the final movement is completed, as shown in Figure 16c, in the first to third rows displayed on the display page, only the first icon Move out of the display page, and at the same time, move the icons in the corresponding rows from the first row to the third row to the adjacent page. At the same time, other unrelated line icons are not moved, such as the last line of icons on the display page.
  • FIGS. 16a to 16c only show the changes of the terminal device display page when the arrow is to the left. It should be understood that for the case where the screen is to the right, only the direction is reversed. The remaining changes are the same as those shown in FIGS. 16a to 16c. 16c shows the same.
  • FIG. 17a is a schematic diagram of a screen display of another operation screen icon provided by an embodiment of the application.
  • the user's touch position is located on at least two icons on the display page.
  • Figure 17a shows a display page. It can be seen that the arrow on the displayed page points to the sliding direction, that is, the vertical direction. At this time, the terminal device moves the column icons of at least two related columns to circularly complement the column icons of at least two related columns of the current screen icons.
  • the two removed icons need to be moved in from the bottom ends of the at least two related columns in the display page.
  • move the first two icons in the second to fourth columns displayed on the display page out of the display page and at the same time, move the removed icons from the second column to the fourth column displayed on the display page Move in at the bottom end.
  • other unrelated column icons are not moved, such as the first column icon on the leftmost side of the display page.
  • FIGS. 17a to 17b only show the changes of the terminal device display page when the arrow is up. It should be understood that for the case where the screen is down, only the direction is reversed. The remaining changes are the same as those shown in FIGS. 17a to 17b. Same as shown.
  • FIG. 18 is a schematic diagram of a device for operating screen icons according to an embodiment of the application.
  • FIG. 18 provides a device 1800 for operating a touch screen icon.
  • the device 1800 includes: a collection module 1801 for collecting user sliding operation information; user sliding operation information includes: first position, sliding speed, pressing time before sliding, or The sliding direction; where the first position is the initial position of the user's sliding operation; the processing module 1802, when the first position is outside the icon, determines that the sliding speed is less than the sliding speed threshold, then according to the sliding direction, all icons on the display page Or the processing module 1802 is further configured to, when the first position is located in the icon, determine that the pressing duration is greater than or equal to the first duration threshold and less than or equal to the second duration threshold, then according to the sliding direction, the first position in the displayed page Move the column icon of the relevant column or the row icon of the relevant row of the icon where the position is located.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the processing module 1802 is further configured to: determine the user's sliding position according to the first position and the second position The sliding distance l of the operation; l is the projection distance of the linear distance between the second position and the first position in the sliding direction; the complement parameter N is determined, and N is determined by dividing l by the unit switching distance ⁇ h; where ⁇ h is greater than or Equal to the width of a single icon, and less than or equal to the width of the entire screen, ⁇ h is an integer multiple of the width of a single icon; move all icons on the displayed page X rows or columns along the sliding direction; where X is N icons within the range of ⁇ h The number of rows or columns, X is an integer.
  • the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the second side of the touch screen, where the first side is perpendicular to the second side; the processing module 1802 is also used for : If the sliding direction is horizontal, move all the icons on the display page by X columns in the horizontal direction. If the sliding direction is the longitudinal direction, all the icons on the display page are cyclically moved X rows along the longitudinal direction.
  • the processing module 1802 is also used to: remove the icons that exceed the display page after the movement, and determine the X column of icons adjacent to the display page from the adjacent pages with the opposite sliding direction, and move them to the display page .
  • the processing module 1802 is further configured to: when there is at least one column of icons in the adjacent page, and the number of icon columns is less than X columns, determine the number of icon columns Q in the adjacent page; where Q is a positive integer , 0 ⁇ Q ⁇ X; move all the icons on the display page to the Q column horizontally, move the icons that exceed the display page after the movement, and move the Q column icons in the adjacent page to the display page.
  • the processing module 1802 is further configured to: when there is no column of icons in the adjacent page, cancel the user's sliding operation.
  • the first position includes two or more positions; the processing module 1802 is further configured to: according to the two or more positions, determine that the area where the first position is located in the display page includes at least two rows or At least two columns.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the touch screen.
  • the second side is parallel to the second side, where the first side is perpendicular to the second side; the processing module 1802 is also used to: determine the sliding distance l of the user’s sliding operation according to the first position and the second position; l is the second position and the first The projection distance of the linear distance between the positions in the sliding direction; when the sliding direction or the pressing force direction of the first position is longitudinal, determine the relevant column of the icon where the first position is located; if the user's sliding operation l>the minimum sliding distance ⁇ l , Then move the column icons of the relevant columns of the display page; when the sliding direction or the pressing force direction of the first position is horizontal, determine the relevant row of the icon where the first position is located; if the user sliding operation l> ⁇ l, then Display the line icons of the related lines on the page to move.
  • the processing module 1802 is further configured to: cyclically move the column icons of the related columns.
  • the processing module 1802 is further configured to: move the line icons on the relevant lines of the display page by Y icons; where Y is the number of icons within a distance of l, and Y is an integer.
  • the processing module 1802 is also used to: remove the icons that exceed the display page after the movement, and determine the Y icons adjacent to the display page on the same row from adjacent pages with opposite sliding directions. , And move to the relevant line of the displayed page.
  • the processing module 1802 is further configured to: when there are icons on the same row as the related row in the adjacent page and the number of icons is less than Y, determine the icon on the same row as the related row in the adjacent page The number P; where P is a positive integer, 0 ⁇ P ⁇ Y; all the icons on the relevant line of the display page are moved horizontally by P icons, and the icons that exceed the display page after the movement are moved out and adjacent The P icons on the same row as the related row in the page are moved to the related row on the display page.
  • the processing module 1802 is further configured to: cancel the user's sliding operation when there is no icon on the same row as the related row in the adjacent page.
  • the present application discloses a method and device for operating screen icons, which determine whether this user sliding operation is the overall screen operation or the icon row/column operation through the collected touch information.
  • regular operations can be excluded according to the sliding speed, and the entire screen icon can be moved according to the touch information.
  • icon row/column operations regular operations can be excluded according to the pressing time, and row icons or column icons can be moved according to the sliding direction.
  • FIG. 19 is a schematic diagram of a framework of an operation screen icon provided by an embodiment of the application.
  • the present application also provides a structure 1900 for operating screen icons, where the structure 1900 includes: a sensor 1901, a driver 1902, a frame 1903, and a desktop launcher 1904.
  • the sensor 1901 is responsible for directly collecting operation information of the user's sliding operation.
  • the information collected in the sensor 1901 is the original operation information.
  • operation information such as the first position, sliding direction, and pressing force direction.
  • a driver 1902 is used to drive the sensor 1901. Driven by the driver 1902, the sensor 1901 can collect sliding operation information. At the same time, the driver 1902 is used to format the original operation information collected by the sensor 1901 and transmit it to the framework 1903 for subsequent operations.
  • the framework 1903 serves as a message transfer medium and a provider of platform capabilities, receives the original operation information collected by the sensor 1901 through the driver 1902, and performs data translation on the original operation information to obtain touch information that can be used at the software level. For example, sliding touch information such as the first position, the second position, the sliding speed, the touch-press duration of the user's sliding operation, and the sliding direction. And interact with the desktop launcher (launcher) 1904, and transmit the touch information to the desktop launcher 1904. In another example, the framework 1903 will continuously obtain the original operation information collected by the sensor 1901.
  • the desktop launcher 1904 is configured to perform a summary process based on the touch information transmitted by the frame 1903, determine the type of the current operation, and form a corresponding operation instruction to execute the method described in FIGS. 2 to 18 above. Finally, the corresponding logic processing is performed on the screen display interface and displayed on the screen.
  • FIG. 20 is a schematic diagram of a terminal device provided by an embodiment of this application.
  • FIG. 20 provides a terminal device 2000.
  • the device 2000 may include a processor 2001, a memory 2002, a sensor 2003, a communication interface 2004, and an interface circuit 2005.
  • the processor 2001, the memory 2002, the sensor 2003, and the communication interface 2004 in the terminal device can establish a communication connection through the interface circuit 2005.
  • the communication interface 2004 is used to send and receive external information.
  • the sensor 2003 is used to collect the user's sliding operation information; the user's sliding operation information includes: a first position, a sliding speed, a pressing time before sliding or a sliding direction; where the first position is the initial position of the user's sliding operation.
  • the sensor 2003 may include any sensor such as a pressure sensor, a temperature sensor, and an acceleration sensor.
  • the memory 2002 is used to store code instructions and user sliding operation information collected by the sensor.
  • the memory 2002 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 2002 may also include a non-volatile memory (English: non-volatile memory) For example, read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD); the memory 2002 may also include a combination of the foregoing types of memories.
  • the interface circuit 2005 is used to receive code instructions and transmit them to the processor.
  • the processor 2001 is configured to: when the first position is outside the icon, determine that the sliding speed is less than the sliding speed threshold, and then move all the icons on the display page according to the sliding direction; or the processor is also configured to, when the first position is located on the icon When inside, determine that the pressing duration is greater than or equal to the first duration threshold and less than or equal to the second duration threshold, then according to the sliding direction, move the column icon of the relevant column or the row icon of the relevant row of the icon at the first position in the display page .
  • the processor 2001 may be a central processing unit (CPU).
  • the touch information further includes a second position; wherein, the second position is the touch position at the end of the user's sliding operation; the processor 2001 is further configured to: determine that the user slides according to the first position and the second position The sliding distance l of the operation; l is the projection distance of the linear distance between the second position and the first position in the sliding direction; the complement parameter N is determined, and N is determined by dividing l by the unit switching distance ⁇ h; where ⁇ h is greater than or Equal to the width of a single icon, and less than or equal to the width of the entire screen, ⁇ h is an integer multiple of the width of a single icon; move all icons on the display page along the sliding direction X rows or columns; where X is within the range of N ⁇ h The number of rows or columns of the icon, X is an integer.
  • the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the second side of the touch screen, where the first side is perpendicular to the second side; the processor 2001 is also used for : If the sliding direction is horizontal, all icons on the display page will be moved X rows in the horizontal direction; if the sliding direction is vertical, all icons on the display page will be cyclically moved X rows in the vertical direction.
  • the processor 2001 is further configured to: remove the icons that exceed the displayed page after the movement, and determine the X-column icons adjacent to the displayed page from the adjacent pages with the opposite sliding direction, and move them to the display page .
  • the processor 2001 is further configured to: when there is at least one column of icons in the adjacent page, and the number of icon columns is less than X columns, determine the number of icon columns Q in the adjacent page; where Q is positive Integer, 0 ⁇ Q ⁇ X; move all the icons on the display page to the Q column horizontally, remove the icons that exceed the display page after the movement, and move the Q column icons in the adjacent page to the display page.
  • the processor 2001 is further configured to: when there is no column of icons in the adjacent page, cancel the user's sliding operation.
  • the first position includes two or more positions; the processor 2001 is further configured to: according to the two or more positions, determine that the area of the first position in the display page includes at least two rows or At least two columns.
  • the touch information further includes a second position; where the second position is the touch position at the end of the user's sliding operation; the sliding direction includes horizontal and vertical directions, the horizontal direction is parallel to the first side of the touch screen, and the vertical direction is parallel to the touch screen.
  • the second side is parallel to the second side, where the first side is perpendicular to the second side; the processor 2001 is further configured to: determine the sliding distance l of the user's sliding operation according to the first position and the second position; l is the second position and the first position The projection distance of the linear distance between the positions in the sliding direction; when the sliding direction or the pressing force direction of the first position is longitudinal, determine the relevant column of the icon where the first position is located; if the user's sliding operation l>the minimum sliding distance ⁇ l , Then move the column icons of the relevant columns of the display page; when the sliding direction or the pressing force direction of the first position is horizontal, determine the relevant row of the icon where the first position is located; if the user sliding operation l> ⁇ l, then Display the line icons of the related lines on the page to move.
  • the processor 2001 is further configured to: cyclically move the column icons of the related column.
  • the processor 2001 is further configured to: horizontally move the line icons on the relevant line of the display page by Y icons; where Y is the number of icons within a distance of l, and Y is an integer.
  • the processor 2001 is further configured to: remove the icons that exceed the displayed page after the movement, and determine Y adjacent pages that are on the same line as the related line from adjacent pages with the opposite sliding direction. Icon, and moved to the relevant line of the displayed page.
  • the processor 2001 is further configured to: when there are icons on the same row as the related row in the adjacent page and the number of icons is less than Y, determine the icon on the same row as the related row in the adjacent page The number P; where P is a positive integer, 0 ⁇ P ⁇ Y; move all the icons on the relevant line of the display page by P icons in the horizontal direction, move out the icons that exceed the display page after the movement, and put them in the adjacent page The P icons in the same row as the related row are moved to the related row on the display page.
  • the processor 2001 is further configured to: cancel the user's sliding operation when there is no icon on the same row as the related row in the adjacent page.
  • the method of operating screen icons provided by the embodiments in FIG. 2 to FIG. 19 are all executed by the processor 2001.
  • the file data and/or calculated data in this application will be stored in the memory 2002.
  • the memory 2002 will also be used to store program instructions and the like corresponding to the method for operating screen icons described in the above embodiments in FIG. 2 to FIG. 19 and executed by the processor.
  • the present application discloses a method and device for operating screen icons, which determine whether this user sliding operation is the overall screen operation or the icon row/column operation through the collected touch information.
  • regular operations can be excluded according to the sliding speed, and the entire screen icon can be moved according to the touch information.
  • icon row/column operations regular operations can be excluded according to the pressing time, and row icons or column icons can be moved according to the sliding direction.

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

一种操作屏幕图标的方法,方法包括:采集用户滑动操作信息;滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向(S201);其中,第一位置为用户滑动操作的初始位置;当第一位置位于图标外时,若滑动速度小于滑动速度阈值,则根据滑动方向,对显示页面的图标按列或按行进行移动(S204)。或当第一位置位于图标内时,确定按压时长大于或等于第一时长阈值且小于或等于第二时长阈值则根据滑动方向,对列图标移动或行图标进行移动(S207)。所述方法实现了快速的找到对应的图标,对于超过一定尺寸的大屏终端设备,可以通过单手实现快速操作,使得操作变得更加简单、便捷。

Description

一种操作屏幕图标的方法及装置
本申请要求在2019年11月28日提交国家专利局、申请号为201911194640.X、发明名称为“一种操作屏幕图标的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及一种便捷操作智能设备屏幕图标的方法及装置。
背景技术
现如今,随着智能设备的普及,人们越来越多的会用到具有触摸屏的设备。而在触摸屏上进行操作也成为了随处可见的日常场景。通常使用者会采用手指或者其他输入设备直接操作触摸屏上显示的图标,来进行点击、拖拽等操作行为。而随着具有触摸屏的智能设备的普及,智能设备中安装的应用也正在急剧增加。因此对于触摸屏上显示的图标,有很大可能会跨越多个桌面才可以定位到,并点击执行相应操作。
目前,具有触摸屏的智能设备对于操作图标的方式非常单一,主要是靠输入设备的统一拖动实现的。但这样的操作会存在一些弊端,例如当应用的数量超过一个触摸屏可使用的控件范围后,使用者则需要整体拖动一次屏幕,才能找到需要用到的图标。如现在部分屏幕显示图标为4*5=20个图标,或者部分更大一些的屏幕显示图标为5*5=25个图标等等。导致使用者需要频繁推动才能找到相应的图标,使得操作变得十分繁琐同时非常浪费时间。
发明内容
本申请实施例提供了一种操作屏幕图标的方法,确定用户滑动操作的初始位置是否在图标上,进而对屏幕进行整体操作或单行/列操作。通过进行屏幕整体操作或单行/列操作,避免了由于屏幕界面太多,导致的频繁拖拽,以及由于屏幕过大导致的单手操作困难。同时,改变了每次拖拽仅能操作一整个屏幕的图标布局的思路,极大地提升了用户的操作体验和效率。
第一方面,提供了一种操作触摸屏图标的方法,方法包括:采集用户滑动操作信息;用户滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,第一位置为用户滑动操作的初始位置;当第一位置位于图标外时,确定滑动速度小于滑动速度阈值,则根据滑动方向,对显示页面的全部图标进行移动;或当第一位置位于图标内时,确定按压时长大于或等于第一时长阈值且小于或等于第二时长阈值,则根据滑动方向,对显示页面中第一位置所在图标的相关列的列图标或相关行的行图标进行移动。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;根据滑动方向,对显示页面的全部图标进行移动包括:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;确定补齐参数N,N为l除以单位切换距离Δh确定的;其中,Δh大于或等于单个图标的宽度,且小于或等于整屏的宽度,Δh为单个图标的宽度的整数倍;将显示页面上的全部图标沿滑动方向移动X行或列;其中,X为N个Δh范围内图标的行数或列数,且X为整数。
在一个可能的实施方式中,滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;将显示页面上的全部图标,沿滑动方向移动X行或列包括:若滑动方向为横向,则沿横向对显示页面上的全部图标移动X列;若滑动方向为纵向,则沿纵向对显示页面上的全部图标进行循环移动X行。
在一个可能的实施方式中,若滑动方向为横向,方法还包括:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定临近显示页面的X列图标,并移入至显示页面。
在一个可能的实施方式中,若滑动方向为横向,方法还包括:当相邻页面中存在至少一列图标,且图标列数不足X列时,确定相邻页面中的图标列数Q;其中,Q为正整数,0<Q<X;将显示页面上的全部图标沿横向移动Q列,将移动后超出所述显示页面的图标移出,并将相邻页面中的Q列图标移入至显示页面。
在一个可能的实施方式中,若滑动方向为横向,方法还包括:当相邻页面中不存在任何一列图标时,取消用户滑动操作。
在一个可能的实施方式中,方法还包括:第一位置包括两个或两个以上位置;根据两个或两个以上位置,确定显示页面中第一位置所在区域包括至少两行或至少两列。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;根据滑动方向,对显示页面中第一位置所在图标的相关列的列图标或相关行的行图标进行移动包括:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;当滑动方向或第一位置的按压力度方向为纵向时,确定第一位置所在图标的相关列;若用户滑动操作的l>最小滑动距离Δl时,则对显示页面相关列的列图标进行移动;当滑动方向或第一位置的按压力度方向为横向时,确定第一位置所在图标的相关行;若用户滑动操作的l>Δl时,则对显示页面相关行的行图标进行移动。
在一个可能的实施方式中,对显示页面相关列的列图标进行移动包括:对相关列的列图标进行循环移动。
在一个可能的实施方式中,对显示页面相关行的行图标进行移动包括:将显示页面相关行上的行图标沿横向移动Y个图标距离;其中,Y为l距离范围内图标的个数,且Y为整数。
在一个可能的实施方式中,方法还包括:将移动后超出显示页面的图标移出,并 从滑动方向相反的相邻页面中,确定与相关行处于同一行上临近显示页面的Y个图标,并移入至显示页面的相关行上。
在一个可能的实施方式中,方法还包括:当相邻页面中与相关行处于同一行上存在图标且图标数量不足Y个时,确定相邻页面中与相关行处于同一行的图标个数P;其中,P为正整数,0<P<Y;将显示页面的相关行上的全部图标沿横向移动P个图标,将移动后超出显示页面的图标移出,并将相邻页面中与相关行处于同一行的P个图标移入至显示页面的相关行上。
在一个可能的实施方式中,方法还包括:当相邻页面中与相关行处于同一行上没有图标时,取消用户滑动操作。
第二方面,提供了一种操作触摸屏图标的装置,装置包括:传感器、存储器、处理器和接口电路;传感器,用于采集用户滑动操作信息;用户滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,第一位置为用户滑动操作的初始位置;存储器,用于存储代码指令以及传感器采集到的用户滑动操作信息;接口电路,用于接收代码指令并传输至处理器;处理器,用于当第一位置位于图标外时,确定滑动速度小于滑动速度阈值,则根据滑动方向,对显示页面的全部图标进行移动;或处理器还用于,当第一位置位于图标内时,确定按压时长大于或等于第一时长阈值且小于或等于第二时长阈值,则根据滑动方向,对显示页面中第一位置所在图标的相关列的列图标或相关行的行图标进行移动。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;处理器还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;确定补齐参数N,N为l除以单位切换距离Δh确定的;其中,Δh大于或等于单个图标的宽度,且小于或等于整屏的宽度,Δh为单个图标的宽度的整数倍;将显示页面上的全部图标沿滑动方向移动X行或列;其中,X为N个Δh范围内图标的行数或列数,X为整数。
在一个可能的实施方式中,滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理器还用于:若滑动方向为横向,则沿横向对显示页面上的全部图标移动X列;若滑动方向为纵向,则沿纵向对显示页面上的全部图标进行循环移动X行。
在一个可能的实施方式中,处理器还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定临近显示页面的X列图标,并移入至显示页面。
在一个可能的实施方式中,处理器还用于:当相邻页面中存在至少一列图标,且图标列数不足X列时,确定相邻页面中的图标列数Q;其中,Q为正整数,0<Q<X;将显示页面上的全部图标沿横向移动Q列,将移动后超出显示页面的图标移出,并将相邻页面中的Q列图标移入至显示页面。
在一个可能的实施方式中,处理器还用于:当相邻页面中不存在任何一列图标时,则取消用户滑动操作。
在一个可能的实施方式中,第一位置包括两个或两个以上位置;处理器还用于:根据两个或两个以上位置,确定显示页面中第一位置所在区域包括至少两行或至少两 列。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理器还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;当滑动方向或第一位置的按压力度方向为纵向时,确定第一位置所在图标的相关列;若用户滑动操作的l>最小滑动距离Δl时,则对显示页面相关列的列图标进行移动;当滑动方向或第一位置的按压力度方向为横向时,确定第一位置所在图标的相关行;若用户滑动操作的l>Δl时,则对显示页面相关行的行图标进行移动。
在一个可能的实施方式中,处理器还用于:对相关列的列图标进行循环移动。
在一个可能的实施方式中,处理器还用于:将显示页面相关行上的行图标沿横向移动Y个图标;其中,Y为l距离范围内图标的个数,Y为整数。
在一个可能的实施方式中,处理器还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定与相关行处于同一行上临近显示页面的Y个图标,并移入至显示页面的相关行上。
在一个可能的实施方式中,处理器还用于:当相邻页面中与相关行处于同一行上存在图标且图标数量不足Y个时,确定相邻页面中与相关行处于同一行的图标个数P;其中,P为正整数,0<P<Y;将显示页面的相关行上的全部图标沿横向移动P个图标,将移动后超出显示页面的图标移出,并将相邻页面中与相关行处于同一行的P个图标移入至显示页面的相关行上。
在一个可能的实施方式中,处理器还用于:当相邻页面中与相关行处于同一行上没有图标时,取消用户滑动操作。
第三方面,提供了一种操作触摸屏图标的装置,装置包括:采集模块,用于采集用户滑动操作信息;用户滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,第一位置为用户滑动操作的初始位置;处理模块,用于当第一位置位于图标外时,确定滑动速度小于滑动速度阈值,则根据滑动方向,对显示页面的全部图标进行移动;或处理模块还用于,当第一位置位于图标内时,确定按压时长大于或等于第一时长阈值且小于或等于第二时长阈值,则根据滑动方向,对显示页面中第一位置所在图标的相关列的列图标或相关行的行图标进行移动。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;处理模块还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;确定补齐参数N,N为l除以单位切换距离Δh确定的;其中,Δh大于或等于单个图标的宽度,且小于或等于整屏的宽度,Δh为单个图标的宽度的整数倍;将显示页面的全部图标沿滑动方向移动X行或列;其中,X为N个Δh范围内图标的行数或列数,X为整数。
在一个可能的实施方式中,滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理模块还用于:若 滑动方向为横向,则沿横向对所述显示页面上的全部图标移动X列。若滑动方向为纵向,则沿纵向对所述显示页面上的全部图标进行循环移动X行。
在一个可能的实施方式中,处理模块还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定临近显示页面的X列图标,并移入至显示页面。
在一个可能的实施方式中,处理模块还用于:当相邻页面中存在至少一列图标,且图标列数不足X列,确定相邻页面中的图标列数Q;其中,Q为正整数,0<Q<X;将显示页面上的全部图标沿横向移动Q列,将移动后超出所述显示页面的图标移出,并将相邻页面中的Q列图标移入至显示页面。
在一个可能的实施方式中,处理模块还用于:当相邻页面中不存在任何一列图标,则取消用户滑动操作。
在一个可能的实施方式中,第一位置包括两个或两个以上位置;处理模块还用于:根据两个或两个以上位置,确定显示页面中第一位置所在区域包括至少两行或至少两列。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理模块还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;当滑动方向或第一位置的按压力度方向为纵向时,确定第一位置所在图标的相关列;若用户滑动操作的l>最小滑动距离Δl时,则对显示页面相关列的列图标进行移动;当滑动方向或第一位置的按压力度方向为横向时,确定第一位置所在图标的相关行;若用户滑动操作的l>Δl时,则对显示页面相关行的行图标进行移动。
在一个可能的实施方式中,处理模块还用于:对相关列的列图标进行循环移动。
在一个可能的实施方式中,处理模块还用于:将显示页面相关行上的行图标移动Y个图标;其中,Y为l距离范围内图标的个数,Y为整数。
在一个可能的实施方式中,处理模块还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定与相关行处于同一行上临近显示页面的Y个图标,并移入至显示页面的相关行上。
在一个可能的实施方式中,处理模块还用于:当相邻页面中与相关行处于同一行上存在图标且图标数量不足Y个时,确定相邻页面中与相关行处于同一行的图标个数P;其中,P为正整数,0<P<Y;将显示页面的相关行上的全部图标沿横向移动P个图标,将移动后超出所述显示页面的图标移出,并将相邻页面中与相关行处于同一行的P个图标移入至显示页面的相关行上。
在一个可能的实施方式中,处理模块还用于:当相邻页面中与相关行处于同一行上没有图标时,取消用户滑动操作。
第四方面,提供了一种存储程序的计算机可读存储介质,程序包括指令,指令当被计算机执行时,使计算机执行第一方面的方法。
第五方面,提供了一种包含指令的计算机程序产品,当其运行时,使得第一方面的方法被执行。
本申请公开了一种操作屏幕图标的方法及装置,通过采集到的触摸信息确定本次用户滑动操作是屏幕整体操作或者图标行/列操作。对于屏幕整体操作,可以根据滑动速度将常规操作排除,并根据触摸信息进行整屏图标移动。对于图标行/列操作,可以根据按压时长将常规操作排除,并根据滑动方向进行行图标移动或列图标移动。通过上述方式可以实现快速的找到对应的图标,并且当输入设备为手指的时候,对于超过一定尺寸的大屏终端设备,也可以通过单手实现快速操作。使得操作变得更加简单、便捷,增加用户的操作体验。
附图说明
图1为本申请实施例提供的一种智能设备滑动图标示意图;
图2为本申请实施例提供的一种操作屏幕图标的方法流程图;
图3为本申请实施例提供的一种操作屏幕图标的滑动方向示意图;
图4为本申请实施例提供的另一种操作屏幕图标的方法流程图;
图5为本申请实施例提供的一种屏幕移动示意图;
图6为本申请实施例提供的一种操作屏幕图标的屏幕显示示意图;
图7为本申请实施例提供的再一种操作屏幕图标的方法流程图;
图8为本申请实施例提供的另一种屏幕移动示意图;
图9为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图;
图10为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图;
图11为本申请实施例提供的再一种操作屏幕图标的屏幕显示示意图;
图12a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图;
图12b为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图;
图12c为本申请实施例提供的再一种操作屏幕图标的屏幕显示示意图;
图12d为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图;
图13a为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图;
图13b为本申请实施例提供的再一种操作屏幕图标的屏幕显示示意图;
图14a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图;
图14b为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图;
图14c为本申请实施例提供的再一种操作屏幕图标的屏幕显示示意图;
图14d为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图;
图15a为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图;
图15b为本申请实施例提供的再一种操作屏幕图标的屏幕显示示意图;
图16a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图;
图16b为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图;
图16c为本申请实施例提供的再一种操作屏幕图标的屏幕显示示意图;
图17a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图;
图17b为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图;
图18为本申请实施例提供的一种操作屏幕图标的框架示意图;
图19为本申请实施例提供的一种操作屏幕图标的装置示意图;
图20为本申请实施例提供的一种终端设备示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
本申请应用在用户对终端设备进行屏幕图标操作的场景。在本申请中,终端设备是指具有触摸屏的智能设备。在该场景下,通常桌面上会有很多的应用图标,并且在当前显示界面中应用图标并不会全部都显示出来。此时,当用户想要找到某一个应用进行操作时,如图1所示,需要滑动屏幕然后切换到另一个显示界面中,找到相应的应用进行操作。若此时目标应用的位置与当前显示界面相隔好几个界面时,用户需要跨越多个界面才可以找到目标应用。这导致用户操作变得异常繁琐。
同时,对于大屏幕的终端设备,假设用户使用双手进行屏幕操作,当屏幕的尺寸超过一定长度时,用户想要单手操作就会变得异常困难。
针对上述问题,本申请通过用户滑动操作的起始位置,确定进行整屏图标操作或者进行单行或单列图标操作。对于整屏图标操作,当滑动速度小于一定阈值时,则进行整屏页面图标移动;对于单行或单列图标操作,当按压时长达到一定时长范围内时,则可以根据滑动方向,进行行图标或者列图标移动。通过上述操作,使得用户在进行屏幕操作时,可以更加快速的进行图标移动,从而找到目标应用。并且对于超过一定尺寸的屏幕,当用户选择用手进行屏幕操作时,可以更加便于单手进行屏幕操作,提升用户体验。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行详细描述。
如图2所示,图2为本申请实施例提供的一种操作屏幕图标的方法流程图。
图2提供了一种操作屏幕图标的方法。该方法可以应用于终端设备上。本领域人员应当注意,本申请中的涉及到的终端设备可以是手机、电脑、平板、可穿戴设备等任意具有触摸屏的终端设备。本申请再此不做限定。
该方法可以包括以下步骤:
S201,采集用户滑动操作信息;滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,第一位置为用户滑动操作的初始位置。
在一个实施例中,终端设备首先采集用户在该终端设备的触摸屏上进行的用户滑动操作的触摸信息。触摸信息可以包括本次用户滑动操作的初始位置,即第一位置。触摸信息还可以包括本次用户滑动操作的滑动速度、进行滑动之前在第一位置上的按压时长或滑动方向。
在一个例子中,本申请中的用户滑动操作可以包括为以下几种操作:单手指点击或者移动;指关节点击或者移动;多根手指点击或者移动;多个指关节点击或者移动;用户自定义的手势动作等。其中,用户自定义的手势动作为终端设备上运行的系统可以识别的手势动作,例如画圈、画线等。同时用户自定义的手势动作一般具有以下特点:可以识别;与其他手势动作不重复。可以理解的是,用户自定义的手势动作与在该终端设备上预设的其他任何手势动作均不相同,目的是为了避免相同手势造成的冲突。其中预设的手势动作可以是系统内预先设置好的,也可以是用户自行设置的。同时,在通常情况下用户自定义的手势动作不会特别复杂,当然可以理解的是,在一些 特殊情况下,用户自定义的手势动作也可以是复杂的手势动作。
在另一个例子中,滑动方向可以包括横向和纵向。其中横向为终端设备当前显示的操作界面的横向水平方向,纵向为终端设备当前显示的操作界面的纵向竖直方向。例如图3示出的,双向箭头1指向的方向即为横向,双向箭头2指向的方向即为纵向。通过图3可以清晰的看出,在不同状态下的终端设备,其当前屏幕的横向和纵向与显示页面之间的关系。
S202,确定第一位置是否位于图标上。
在一个实施例中,终端设备需要确定本次用户滑动操作的第一位置是否位于图标上。当第一位置位于图标外时,则确定本次用户滑动操作为屏幕整体操作,执行S203;或当第一位置位于图标上时,则确定本次用户滑动操作为图标操作,执行S206。
在一个例子中,终端设备需要首先将本次用户滑动操作从常规的屏幕操作中区分出来。当用户需要在终端设备的触摸屏上进行操作时,通常情况下手势动作是连续的、并且中途不会停留。例如,用户通过手指快速地滑动屏幕非图标所在区域,以实现屏幕滑动;又或是用户点击图标,以进入图标表示的应用,或者长按图标当达到一定时长时,对图标进行拖拽或重新排列,并进行进一步操作。
本申请中涉及到的用户滑动操作不同于上述的常规屏幕操作。为了方便区分出本申请的用户滑动操作,本申请还包括一下步骤:
S203,确定滑动速度是否小于滑动速度阈值。
在一个实施例中,当终端设备确定当前用户滑动操作的滑动速度是否小于滑动速度阈值。其中,滑动速度阈值可以是预先设置的,当滑动速度大于或等于滑动速度阈值时,则终端设备将执行S205。本申请实施例确定滑动速度是否小于滑动速度阈值,当滑动速度未达到滑动速度阈值时,则继续执行S204。
S204,进行整屏页面图标移动。
在一个实施例中,确定当前用户滑动操作不是常规的屏幕操作,并根据当前用户滑动操作,进行整屏页面图标移动。
S205,确定用户滑动操作为常规屏幕操作。
在一个实施例中,确定当前用户滑动操作为常规的屏幕操作,该操作例如可以是滑动并整体切换当前屏幕的显示界面。
S206,确定按压时长是否介于第一时长阈值与第二时长阈值之间。
在一个实施例中,当终端设备确定本次用户滑动操作的起始位置在图标上之后,即可以理解为本次用户滑动操作点击了屏幕上显示的某个应用图标。若此时用户滑动操作并没有立即抬起,而是在第一位置按压了一定的时长。终端设备则确定本次用户滑动操作的按压时长,并确定该按压时长是否介于第一时长阈值与第二时长阈值之间。在一个例子中,第一时长阈值的设定是为了区分本次用户滑动操作是否为点击进入应用。当按压时长小于或等于第一时长阈值时,则本次用户滑动操作为点击进入该应用等常规操作。当按压时长大于第一时长阈值,则本次用户滑动操作不进入该应用。在另一个例子中,第二时长阈值的设定是为了区分本次用户滑动操作是否为拖拽或重排图标操作。当按压时长大于或等于第二时长阈值时,则本次用户滑动操作为拖拽或重排图标操作,可以将该图标拖拽到任意位置、对图标进行重新排列或者触发删除操作 等其他常规操作。当按压时长小于第二时长阈值,则本次用户滑动操作不对该应用进行拽或重排图标等常规操作。
本申请通过确定按压时长是否介于第一时长阈值和第二时长阈值之间,从而将本次用户滑动操作与常规的屏幕操作区分开来,以执行S207。
在另一个例子中,当确定当前用户滑动操作为常规的屏幕操作时,则执行S205进行常规的屏幕操作,该操作例如还可以是点击图标进入应用,或是对点击的图标进行拖拽等。
S207,对显示页面中第一位置所在图标的区域相关列的列图标或相关行的行图标进行移动。
在一个实施例中,确定当前用户滑动操作不是常规的屏幕操作,并根据当前用户滑动操作在按压后滑动的滑动方向,对显示页面中第一位置所在图标的区域相关列的列图标或相关行的行图标进行移动。
本申请公开了一种操作屏幕图标的方法及装置,通过采集到的触摸信息确定本次用户滑动操作是屏幕整体操作或者图标行/列操作。对于屏幕整体操作,可以根据滑动速度将常规操作排除,并根据触摸信息进行整屏图标移动。对于图标行/列操作,可以根据按压时长将常规操作排除,并根据滑动方向进行行图标移动或列图标移动。通过上述方式可以实现快速的找到对应的图标,并且当输入设备为手指的时候,对于超过一定尺寸的大屏终端设备,也可以通过单手实现快速操作。使得操作变得更加简单、便捷,增加用户的操作体验。
如图4所示,图4为本申请实施例提供的另一种操作屏幕图标的方法流程图。
图4为图2示出的在S202中确定第一区域为图标所在区域外的其他区域后,进行的屏幕整体操作。在S202之后,该方法可以包括以下步骤:
S203,确定滑动速度是否小于滑动速度阈值。
在一个实施例中,当确定滑动速度大于或等于滑动速度阈值时,则终端设备将执行S205。
S205,确定用户滑动操作为常规屏幕操作。
图4中示出的S203和S205与图2中示出的S203和S205为同一步骤,为方便描述,在此不再赘述。当滑动速度未达到滑动速度阈值时,图4示出了S204更为详细的执行过程,可以包括以下步骤:
S401,根据第一位置和第二位置,确定用户滑动操作的滑动距离l。
在一个实施例中,触摸信息还可以包括第二位置。其中第二位置为用户滑动操作结束时的触摸位置。根据第一位置和第二位置,确定出本次用户滑动操作的滑动距离l。其中,l表示第一位置和第二位置之间直线距离在滑动方向上的投影距离。在一个例子中,考虑到用户的一次用户滑动操作很可能并不是完全在横向或纵向上进行的,则可以通过滑动距离l在横向和纵向上投影距离,根据哪个投影距离更长,则确定滑动方向为该方向。然后可以忽略另一个方向上的滑动距离,仅考虑某一方向上的滑动距离即可。当然,本领域人员应当注意,在其他例子中,也可以在横向和纵向上都考虑滑动距离,本申请在此不做限定。
S402,设定最小页面切换距离Δh。
在一个实施例中,可以预先设定最小页面切换距离Δh。在一个例子中,Δh最小不小于一列图标的宽度,最大不超过一整个屏幕的宽度。在另一个例子中,Δh可以是一列图标的宽度的整数倍。可以方便后续进行图标移动操作。又一个例子中,若l的长度小于Δh,则可以取消本次用户滑动操作。如图5所示,图5为本申请实施例提供的一种屏幕移动示意图。图5中示出了当滑动方向为向右滑动时,滑动速度小于滑动速度阈值Δv,此时设定了最小页面切换距离Δh。可以看出,图5中Δh的宽度可以设定为一列图标的宽度。对于移动距离小于Δh时的用户滑动操作,终端设备则可以忽略本次用户滑动操作,并将屏幕进行复原归位。当滑动距离超过Δh时,则进行S403。
S403,确定补齐参数N。
在一个实施例中,可以确定补齐参数N,用于对滑动后的屏幕进行补齐,同时,确定出补齐后屏幕上各个图标的位置。在一个例子中,可以通过l除以Δh确定补齐参数N。在另一个例子中,对N进行四舍五入取整。
在另一个实施例中,将沿滑动方向在屏幕的边缘排列N个Δh范围内的图标移出显示页面,并对显示页面的图标进行补齐。在一个例子中,当滑动方向为向左滑动时,则当前屏幕左侧图标移出显示页面,同时右侧若不进行补充则会出现空缺,则在屏幕右侧N个Δh范围内确定出空余的图标的位置。本领域人员应当注意,对于滑动方向为向右滑动时,方法类似,仅仅是方向相反。在此不再赘述。
又一个例子中,当滑动方向为向上滑动时,则当前屏幕上侧图标移出显示页面,同时下侧若不进行补充则会出现空缺,则在屏幕下方N个Δh范围内确定出空余的图标的位置。本领域人员应当注意,对于滑动方向为向下滑动时,方法类似,仅仅是方向相反。在此不再赘述。
S404,进行整屏图标移动。
在一个实施例中,若滑动方向为横向时,沿横向对显示页面上的全部图标移动X列。
在一个例子中,可以是将显示页面上沿滑动方向的前N个Δh范围内的X列图标移出显示页面,然后将显示页面其余列的图标向滑动方向移动N个Δh。此时,显示页面沿滑动方向相反的前N个Δh范围内,若没有图标进行补充则将出现空余位置。终端设备则确定显示页面沿滑动方向相反的相邻页面中,沿滑动方向排列的前X列图标。其中X为整数。并将相邻页面中沿滑动方向排列的前X列图标移入显示页面中的空余位置,从而实现了整屏图标移动。例如,当用户在显示页面向左滑动两列后,显示页面左侧的前两列移出显示页面,同时将显示页面右侧的相邻页面中,将相邻页面的最左侧两列图标从显示页面的右侧移入补齐。
本领域人员应当注意,在具体实现的过程中,上述提到的空余位置并不会显示在显示页面上,而是直接从显示页面中移出相应列图标,并将相邻页面中图标移入至显示页面实现补齐。
在一个例子中,屏幕上的图标位置是固定的,在用户滑动操作结束后,仍然保留的图标,将沿滑动方向进行平移并显示在相应图标位置上;而在用户滑动操作结束后移出屏幕的图标,则不再显示。对于移动后补齐的图标位置,需要确定显示页面沿滑动方向相反的相邻页面中的图标,并将显示页面相邻页面中的图标移入至显示页面。 例如,当滑动方向为向左滑动时,则确定右侧相邻界面中的图标,然后将显示页面左侧相应的图标移出当前界面,并将相邻页面中的对应的图标移入显示页面并显示。对于当滑动方向为向右滑动时,操作类似,仅方向相反,在此不再赘述。
在另一个实施例中,若滑动方向为纵向时,则沿所述纵向对所述显示页面上的全部图标进行循环移动X行。
在一个例子中,可以是将显示页面上沿滑动方向的前N个Δh范围内的X行图标移出显示页面,然后将显示页面其余行的图标沿滑动方向移动N个Δh。此时,显示页面沿滑动方向相反的前N个Δh范围内,若没有图标补齐将出现空余位置。终端设备将移出显示页面的X行图标从显示页面的滑动方向反方向重新移入至显示页面,进行补齐,从而实现了整屏图标在纵向上的循环移动。例如,当用户在显示页面向上滑动两行后,显示页面将最上面的两行移出,并从显示页面的下方重新移入进显示页面中,实现纵向上的图标循环补齐。
本领域人员应当注意,在具体实现的过程中,上述提到的空余位置并不会显示在显示页面上,而是直接从显示页面中移出相应列图标,并将相邻页面中图标移入至显示页面实现补齐。
在一个例子中,屏幕上的图标位置是固定的,在用户滑动操作结束后,仍然保留的图标,将根据滑动方向,进行平移并显示在相应图标位置上;而在用户滑动操作结束后移出屏幕的图标,则在当前屏幕滑动方向相反方向移入至显示页面并显示。例如,当滑动方向为向上滑动时,则将滑出页面的图标在下方重新移入并显示。对于当滑动方向为向下滑动时,操作类似,仅方向相反,在此不再赘述。
在另一个实施例中,对于滑动方向为横方向时,还可以确定显示页面沿滑动方向相反的相邻页面中图标的列数。若当相邻页面中存在至少一列图标,且显示页面相邻页面中图标的列数不足以填补显示页面空余位置时,则确定相邻页面中存在的图标列数Q。其中,Q为正整数,0<Q<X。然后将显示页面上的全部图标沿横向移动Q列,将移动后超出显示页面的图标移出,并将相邻页面中的Q列图标移入至显示页面。
在一个例子中,可以是将显示页面上沿滑动方向的前Q列图标移出显示页面,将显示页面其余列的图标沿滑动方向移动至最顶端。再将相邻页面中沿滑动方向排列的Q列图标移入至显示页面。本领域人员应当注意,若相邻页面存在的图标列数Q大于或等于1,且小于X时,则显示页面沿滑动方向移出图标变为Q列,而不再是X列。然后再将相邻页面的Q列图标移入至显示页面进行补齐。例如,当用户在显示页面向左滑动两列后,若此时显示页面右侧相邻页面中仅有1列图标,则显示页面仅将最左侧的1列图标移出,并将相邻页面中的1列图标从显示页面的右侧移入补齐。
再又一个实施例中,对于滑动方向为横向时,若当相邻页面不存在图标,即Q为0时。终端设备可以取消本次用户滑动操作。
可以理解的是,本申请中的终端设备可以在显示页面沿滑动方向相反的相邻页面中图标的列数不足以填补显示页面空余位置时,根据相邻页面中图标的列数进行适应性填补。例如,当此时需要填补两列图标,而相邻页面仅有1列图标时,则显示页面仅移动填补一列图标。对于相邻页面中不存在图标但仍进行的用户滑动操作,则可以忽略该用户滑动操作。
本领域人员应当注意,在进行整屏移动时,若显示页面中原本存在空余位置,即图标并未排列满。对于在横向上移动的情况,若相邻页面中存在图标,则显示页面的在进行移动的过程中,原本存在的空余位置也随着移动方向进行移动。对于显示页面中移入的图标,并不将原本存在的空余位置补齐。对于在纵向上移动的情况,循环移入的图标,同样并不将原本存在的空余位置补齐。
再一个实施例中,当用户滑动操作结束后,当前屏幕的图标分布状态还可以通过终端设备的屏幕呈现出来。在一个例子中,最终呈现出的屏幕图标是对齐且没有错位的情况。
如图6所示,图6为本申请实施例提供的一种操作屏幕图标的屏幕显示示意图。
图6为图4、图5所述方法的更为直观的屏幕显示示意图。通过图6可以清晰的看出,原始的屏幕显示图标为A列、B列、C列和D列。当用户通过手指滑动屏幕时,根据滑动方向,例如图6中示出的向左滑动,则根据图4、图5所述方法,将后一页界面中的E列图标进行补齐。经过滑动后,如图6最右侧示出的界面,原先的B列、C列和D列共同向左平移,并且将后一页界面中的E列图标进行了填补,最终屏幕显示图标更新为B列、C列、D列和E列。
如图7所示,图7为本申请实施例提供的再一种操作屏幕图标的方法流程图。
图7为图2示出的在S202中确定第一区域为图标所在区域后,进行的图标操作。在S202之后,该方法可以包括以下步骤:
S206,确定按压时长是否介于第一时长阈值与第二时长阈值之间。
在一个实施例中,当确定按压时长小于或等于第一时长阈值或大于或等于第二时长阈值之间时,则终端设备确定当前用户滑动操作为常规操作,并执行S205。
S205,确定用户滑动操作为常规屏幕操作。
图7中示出的S206和S205与图2中示出的S203和S205为同一步骤,为方便描述,在此不再赘述。当按压时长大于第一时长阈值且小于第二时长阈值时,图7示出了S207更为详细的执行过程,可以包括以下步骤:
S701,设定最小滑动距离Δl。
在一个实施例中,触摸信息还包括第二位置。其中,所述第二位置为所述用户滑动操作结束时的触摸位置。根据第一位置和第二位置,确定出本次用户滑动操作的滑动距离l。其中,l表示第一位置和第二位置之间直线距离在滑动方向上的投影距离。在另一个实施例中,还可以预先设定最小滑动距离Δl,用于避免用户误碰或误触导致执行某些操作。
在一个例子中,可以设置Δl为10个像素长度,若l<Δl,则终端设备可以认为本次操作属于误碰或误触,并忽略本次用户滑动操作。
在一个例子中,如图8所示,图8为本申请实施例提供的另一种屏幕移动示意图。图8示出了,当用户滑动操作位于图标上时,若按压时长Δt介于第一时长阈值和第二时长阈值之间,则确认滑动距离l与Δl之间的关系。
S702,当滑动方向或第一位置的按压力度方向为纵向时,确定第一位置所在图标的相关列;若用户滑动操作的l>Δl时,则进行列图标移动。
在一个实施例中,当终端设备确定滑动方向或第一位置的按压力度方向为纵时, 则可以确定第一位置所在的图标的相关列。然后当l>Δl时,则确定当前用户滑动操作为列图标操作,并进行列图标移动。
S703,对用户滑动操作所在列的图标进行循环移动。
在一个例子中,若滑动方向为向上滑动,则将用户滑动操作所在图标的相关列上的图标整体向上平移显示,并将最上面移出的图标从显示页面的相关列最下面移入并进行显示。在另一个例子中,若滑动方向为向下滑动,则将用户滑动操作所在图标的相关列上的图标整体向下平移显示,并将最下面移出的图标从显示页面的相关列最上面移入并进行显示。从而实现了用户滑动操作所在的相关列上的图标进行循环移动。
S704,当滑动方向或第一位置的按压力度方向为横向时,确定第一位置所在图标的相关行;若用户滑动操作的l>Δl时,则进行行图标移动。
在一个实施例中,当终端设备确定滑动方向或第一位置的按压力度方向为横向时,则可以确定第一位置所在的图标的相关行。然后当l>Δl时,则确定当前用户滑动操作为行图标操作,并进行行图标移动。
S705,对用户滑动操作所在行的图标进行行图标移动。
在一个实施例中,将显示页面相关行上的行图标沿横向移动Y个图标。
在一个例子中,可以是确定显示页面中第一位置所在图标的相关行上,沿滑动方向的前l距离范围内的Y个图标,并将该Y个图标移出显示页面;其中,Y为l距离范围内图标的个数,且Y为整数。将相关行上其余的图标沿滑动方向移动l距离,此时相关行上沿滑动方向相反的前l范围内,如果没有图标进行补齐则会出现了空余位置。则确定显示页面的滑动方向相反的相邻页面中,与相关行处于同一行上沿滑动方向排列的前Y个图标。并将相邻页面中的Y个图标,从滑动方向相反的方向移入至显示页面中并进行显示,从而实现显示页面的行图标移动。例如,当用户按住某个图标一段时间后向左滑动两个图标位置,此时将该行中最左侧两个图标移出显示页面,同时从显示页面右侧相邻页面的同一行中,将最左侧的两个图标从显示页面相关行的右侧移入,实现显示页面中单行的图标补齐。
在一个例子中,需要确定当前用户滑动操作所在图标的相关行上,沿滑动方向的前l范围内的Y个图标,并将该Y个图标移出显示页面。然后,将显示页面相关行上其余的图标沿滑动方向平移,并选择显示页面的滑动方向相反的相邻页面中与相关行处于同一行上的图标填补显示页面,以实现行图标移动补齐。在另一个例子中,对于在用户滑动操作之前就显示的图标,则根据滑动方向,选择向左平移后显示或向右平移后显示。对于移出屏幕的图标,则不再显示。
在另一个实施例中,还可以确定显示页面的移动方向相反的相邻页面中同一水平方向上图标的数量。若当相邻页面中与相关行处于同一行上存在至少一个图标,且相邻页面中与相关行处于同一行上的图标数量不足以补齐行图标时,则确定相邻页面中相关行的图标个数P。其中,P为正整数,0<P<Y。将显示页面的相关行上的全部图标沿横向移动P个图标,将移动后超出显示页面的图标移出,并将相邻页面中与相关行处于同一行的P个图标移入至显示页面的相关行上。
在一个例子中,可以是将显示页面上沿滑动方向的前P个图标移出显示页面,将显示页面其余的图标沿滑动方向移动至最顶端,再将相邻页面中沿滑动方向排列的P 个图标移入至显示页面。本领域人员应当注意,若相邻页面的相关行上存在的图标数P大于或等于1,且小于Y时,则显示页面的相关行上沿滑动方向移出图标数变为P个,而不再是Y个。然后再将相邻页面的P个图标移入至显示页面进行补齐。例如,当用户按住某个图标一段时间后向左滑动两个图标位置,此时,显示页面右侧相邻页面的同一行中仅有一个图标,则将显示页面的相关行中最左侧的1个图标移出显示页面,同时从显示页面右侧相邻页面的同一行中,将仅有的1个图标移入,实现显示页面中单行的图标补齐。
再又一个实施例中,对于滑动方向为横向时,若当相邻页面的相关列上不存在图标,即P为0时。终端设备可以取消用户滑动操作。
可以理解的是,本申请中的终端设备可以在显示页面沿滑动方向相反的相邻页面中与相关行处于同一行上的图标数量不足以填补显示页面中相关行的空余位置时,优先将可以填补的位置进行适应性填补。例如,当此时需要在用户滑动操作所在相关行上填补2个图标,而相邻页面中与相关行处于同一行上仅有1个图标时,则显示页面仅移动填补一个图标。对于相邻页面中相关行上不存在图标但仍进行的用户滑动操作,则可以忽略该用户滑动操作。
本领域人员应当注意,在进行相关行移动时,若显示页面中的相关行中存在空余位置,即图标并未排列满。此时若相邻页面中相关行中存在图标,则显示页面的相关行在进行移动的过程中,相关行中的空余位置也随着移动方向进行移动。对于显示页面中移入的图标,并不将原本存在的空余位置补齐。在进行相关列移动时,若显示页面中的相关列中存在空余位置,即图标并未排列满。则显示页面的相关列在进行移动的过程中,相关列中的空余位置也随着移动方向进行移动。对于循环移入的图标,并不将原本存在的空余位置补齐。
再一个实施例中,当用户滑动操作结束后,当前屏幕的图标分布状态还通过终端设备的屏幕呈现出来。在一个例子中,最终呈现出的屏幕图标是对齐且没有错位的情况。
如图9所示,图9为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图。
图9示出了本申请单行操作的屏幕显示示意图。如图9中示出的,当用户按住某个图标,并且按压的时长介于第一时长阈值和第二时长阈值之间时,则进行行图标移动。在一个例中,例如图9示出的滑动方向为向左滑动,则终端设备会确定当前屏幕显示界面中,用户滑动操作所在图标的相关行的屏幕图标位置。然后确定后一个界面中的图标。对于显示页面显示的图标,根据滑动方向进行平移,例如图9中的向左平移。对于滑出屏幕的图标将不再显示。对于该用户滑动操作相关行的右边则依次显示后一个界面中的图标,从而形成了行图标的补齐。本领域人员应当注意,对于滑动方向为向右滑动的情况,与向左滑动情况类似,为方便描述,在此不再赘述。
如图10所示,图10为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图。
图10示出了本申请的一种单列操作的屏幕显示示意图。如图10中示出的,当用户按住某个图标,并且按压的时长介于第一时长阈值和第二时长阈值之间时,则进行列图标移动。在一个例中,例如图10示出的滑动方向为向下滑动,则终端设备会确定 当前屏幕显示界面中,用户滑动操作所在图标的相关列的屏幕图标位置。然后根据滑动方向将显示页面显示的图标进行平移。对于该用户滑动操作相关列的上边则依次显示该列下方滑出屏幕的图标,形成循环补齐。本领域人员应当注意,对于滑动方向为向上滑动的情况,与向下滑动情况类似,为方便描述,在此不再赘述。
如图11所示,图11为本申请实施例提供的再一种操作屏幕图标的屏幕显示示意图。
图11示出了本申请的再一种操作屏幕图标的屏幕显示示意图。对于图2至图10所示出的操作屏幕图标的方法,仅仅是以单行或单列作为示例,本领域人员应当注意,当用户滑动操作的初始位置不唯一时,则可以根据不同的初始位置,各自独立地进行多行或多列操作。在一个例子中,当用户采用两个手指按住不同的多行或多列时,则可以对按住的多行或多列进行行图标移动或列图标移动。在另一个例子中,多行或多列可以是相邻的行/列,也可以是不相邻的行/列。本申请在此不作限定。
在另一个例子中,当用户滑动操作的初始位置不唯一时,则可以根据不同的初始位置以及滑动方向,确定连续的多行或多列进行移动。例如当滑动方向为横向时,则确定在纵向上相差距离最大的多个初始位置,并确定在该位置区间内,包含了哪些行。并对包含的多行进行行移动。又例如,当滑动方向为纵向时,则确定在横向上相差距离最大的多个初始位置,并确定在该位置区间内,包含了哪些列。并对包含的多列进行列移动。
本领域人员应当注意,若用户滑动操作的初始位置不唯一时,对于多个初始位置还可以单独根据各初始位置独立执行上述单行或单列操作。
本领域人员还应当注意,在进行多个相关行移动时,若显示页面中的相关行中存在空余位置,即图标并未排列满。此时若相邻页面中相关行中存在图标,则显示页面的相关行在进行移动的过程中,相关行中的空余位置也随着移动方向进行移动。对于显示页面中移入的图标,并不将原本存在的空余位置补齐。同时,对于相邻页面中多个相关行在移入至显示页面时,可以将相邻页面中图标最多的相关行作为移入的显示页面的上限,也可以将相邻页面中图标最少的相关行作为移入的显示页面的上限。本申请在此不做限定。本领域人员还应注意,若以相邻页面中图标最多的相关行作为移入的显示页面的上限,则在其它相关行图标全部移入至显示页面后,还可以继续移动,不足的图标位置则显示为空余位置。
本领域人员还应当注意,在进行多个相关列移动时,若显示页面中的相关列中存在空余位置,即图标并未排列满。则显示页面的相关列在进行移动的过程中,相关列中的空余位置也随着移动方向进行移动。对于循环移入的图标,并不将原本存在的空余位置补齐。
如图11示出的,图11左侧界面显示了两行图标同时进行行图标移动,又例如图11右侧界面显示了三行图标同时进行行图标移动。
本申请公开了一种操作屏幕图标的方法及装置,通过采集到的触摸信息确定本次用户滑动操作是屏幕整体操作或者图标行/列操作。对于屏幕整体操作,可以根据滑动速度将常规操作排除,并根据触摸信息进行整屏图标移动。对于图标行/列操作,可以根据按压时长将常规操作排除,并根据滑动方向或第一位置的按压力度方向,确定用 户滑动操作的相关行或相关列,再根据滑动距离对相关行或相关列进行行图标移动或列图标移动。通过上述方式可以实现快速的找到对应的图标,并且当输入设备为手指的时候,对于超过一定尺寸的大屏终端设备,也可以通过单手实现快速操作。使得操作变得更加简单、便捷,增加用户的操作体验。
如图12a所示,图12a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图。在一种较为详细的例子中,当用户对终端设备进行操作屏幕图标时,如图12a示出的,用户的触摸位置并未在显示页面的图标上。则此时确定当前用户滑动操作的滑动速度是否小于滑动速度阈值。假设此时滑动速度小于滑动速度阈值,则进行整屏的图标移动。例如图12a示出的,左半部分显示的是显示页面。可以看到,显示页面的箭头指向为滑动方向,此时终端设备需要确定显示页面右侧的相邻页面中图标的情况,即图12a中右半部分示出的。
在一个例子中,若根据滑动距离确定将显示页面左侧的A列和B列移出,则需要将相邻页面中的E列和F列移入至显示页面。最终移动完成后如图12b示出的,显示页面显示由A、B、C、D列变为C、D、E、F列。
在另一个例子中,若根据滑动距离确定将显示页面左侧的A列和B列移出,但相邻页面中存在至少一列图标,但相邻页面中图标的列数小于显示页面移出的列数。如图12c示出的,图12c右半部分示出了相邻页面中仅有E列这一列图标。此时,终端设备显示页面不再将A列和B列都移出,而是仅将A列移出,并将相邻页面的E列移入,最终移动完成后如图12d示出的,显示页面显示由A、B、C、D列变为B、C、D、E列。
本领域人员应当注意,图12a至图12d仅仅示出了箭头向左时终端设备显示页面的变化,应当理解的是,对于屏幕向右的情况,仅仅是方向相反其余变化均与图12a至图12d示出的相同。
如图13a所示,图13a为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图。
在一种较为详细的例子中,当用户对终端设备进行操作屏幕图标时,如图13a示出的,用户的触摸位置并未在显示页面的图标上。则此时确定当前用户滑动操作的滑动速度是否小于滑动速度阈值。假设此时滑动速度小于滑动速度阈值,则进行整屏的图标移动。例如图13a示出的是显示页面。可以看到,显示页面的箭头指向为滑动方向,即纵向,此时终端设备进行滑动,则当前屏幕图标进行循环补齐。
在一个例子中,若根据滑动距离确定将显示页面最顶端的第一行和第二行移出,则需要将移出的两行从显示页面的最底端移入。最终移动完成后如图13b示出的,显示页面显示的第一行A、B、C、D移动到显示页面的倒数第二行显示。
本领域人员应当注意,图13a至图13b仅仅示出了箭头向上时终端设备显示页面的变化,应当理解的是,对于屏幕向下的情况,仅仅是方向相反其余变化均与图13a至图13b示出的相同。
本领域人员还应当注意,对于图12a至图13b中示出的,若显示页面中原本存在空余位置,即图标并未排列满。对于在横向上移动的情况,若相邻页面中存在图标,则显示页面的在进行移动的过程中,原本存在的空余位置也随着移动方向进行移动。 对于显示页面中移入的图标,并不将原本存在的空余位置补齐。对于在纵向上移动的情况,循环移入的图标,同样并不将原本存在的空余位置补齐。
如图14a所示,图14a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图。
在一种较为详细的例子中,当用户对终端设备进行操作屏幕图标时,如图14a示出的,用户的触摸位置位于显示页面的某个图标上,如图标C。则此时确定当前用户滑动操作的按压时长是否介于第一时长阈值和第二时长阈值之间。假设此时按压时长介于第一时长阈值和第二时长阈值之间,则对图标C的相关行进行行图标移动或对图标C的相关列进行列图标移动。例如图14a示出的,左半部分显示的是显示页面。可以看到,显示页面的箭头指向为滑动方向,此时终端设备需要确定显示页面右侧的相邻页面中图标的情况,即图14a中右半部分示出的。
在一个例子中,若根据滑动距离确定将显示页面中C所在的相关行即第一行中,左侧的图标A和图标B移出。此时需要将相邻页面中第一行中的图标E和图标F移入至显示页面的相关行中。最终移动完成后如图14b示出的,显示页面显示的第一行由图标A、图标B、图标C、图标D变为图标C、图标D、图标E、图标F。同时对于其他行的图标,则并未进行移动。
在另一个例子中,若根据滑动距离确定将显示页面中C所在的相关行即第一行中,左侧的图标A和图标B移出。但相邻页面中的相关行中存在至少一个图标,但相邻页面中相关行中的图标个数小于显示页面相关行中移出的图标个数。如图14c示出的,图14c右半部分示出了相邻页面中仅有图标E这一个图标。此时,终端设备显示页面不再将图标A和图标B都移出,而是仅将图标A移出,并将相邻页面的图标E移入,最终移动完成后如图14d示出的,显示页面显示由图标A、图标B、图标C、图标D变为图标B、图标C、图标D、图标E。
本领域人员应当注意,图14a至图14d仅仅示出了箭头向左时终端设备显示页面的变化,应当理解的是,对于屏幕向右的情况,仅仅是方向相反其余变化均与图14a至图14d示出的相同。
如图15a所示,图15a为本申请实施例提供的又一种操作屏幕图标的屏幕显示示意图。
在一种较为详细的例子中,当用户对终端设备进行操作屏幕图标时,如图15a示出的,用户的触摸位置位于显示页面的第三列第五行的图标上。则此时确定当前用户滑动操作的按压时长是否介于第一时长阈值和第二时长阈值之间。假设此时按压时长介于第一时长阈值和第二时长阈值之间,则对该触摸点的相关行进行行图标移动或相关列进行列图标移动。例如图15a示出的是显示页面。可以看到,显示页面的箭头指向为滑动方向,即纵向,此时终端设备进行相关列的列图标移动,对当前屏幕图标相关列的列图标进行循环补齐。
在一个例子中,若根据滑动距离确定将显示页面相关列最顶端的第一个图标和第二个图标移出,则需要将移出的两个图标从显示页面相关列的最底端移入。最终移动完成后如图15b示出的,显示页面显示的相关列的图标C移动到显示页面相关列的倒数第二个位置显示。同时对于其他列的图标,则并未进行移动。
本领域人员应当注意,图15a至图15b仅仅示出了箭头向上时终端设备显示页面的变化,应当理解的是,对于屏幕向下的情况,仅仅是方向相反其余变化均与图15a至图15b示出的相同。
本领域人员还应当注意,对于图14a至图15b中示出的,若显示页面中原本存在空余位置,即图标并未排列满。对于在横向上移动的情况,若相邻页面中的相关行存在图标,则显示页面的在进行移动的过程中,原本存在的空余位置也随着移动方向进行移动。对于显示页面中移入的图标,并不将原本存在的空余位置补齐。对于在纵向上移动的情况,循环移入的图标,同样并不将原本存在的空余位置补齐。
如图16a所示,图16a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图。在一种较为详细的例子中,当用户对终端设备进行操作屏幕图标时,如图16a示出的,用户的触摸位置位于在显示页面的至少两个图标上。则此时确定当前用户滑动操作的按压时长是否介于第一时长阈值和第二时长阈值之间。设此时按压时长介于第一时长阈值和第二时长阈值之间,则确定多个触摸点之间的至少两个相关行或至少两个相关列,并对至少两个相关行进行行图标移动或至少两个相关列进行列图标移动。例如图16a示出的是显示页面。可以看到,显示页面的箭头指向为滑动方向。终端设备需要确定显示页面右侧的相邻页面中图标的情况,即图16a中右半部分示出的。
在一个例子中,若根据滑动距离确定将显示页面中至少两个相关行中最左侧的两个图标移出。此时需要将相邻页面中对应的至少两个相关行中的图标移入至显示页面的至少两个相关行中。假设以相邻页面中的对应的相关行中图标最多的行为移动上限时,最终移动完成后如图16b示出的,将显示页面显示的第一行至第三行中前三个图标移出显示页面,同时,将第一行至第三行中移入相邻页面中对应相关行中的图标。同时对于其他非相关的行图标,则并未进行移动,例如显示页面的最后一行图标。
在另一个例子中,若根据滑动距离确定将显示页面中至少两个相关行中最左侧的两个图标移出。假设以相邻页面中的对应的相关行中图标最少的行为移动上限时,最终移动完成后如图16c示出的,显示页面显示的第一行至第三行中,仅将第一个图标移出显示页面,同时,将第一行至第三行中移入相邻页面中对应相关行中的图标。同时对于其他非相关的行图标,则并未进行移动,例如显示页面的最后一行图标。
本领域人员应当注意,图16a至图16c仅仅示出了箭头向左时终端设备显示页面的变化,应当理解的是,对于屏幕向右的情况,仅仅是方向相反其余变化均与图16a至图16c示出的相同。
如图17a所示,图17a为本申请实施例提供的另一种操作屏幕图标的屏幕显示示意图。在一种较为详细的例子中,当用户对终端设备进行操作屏幕图标时,如图17a示出的,用户的触摸位置位于在显示页面的至少两个图标上。则此时确定当前用户滑动操作的按压时长是否介于第一时长阈值和第二时长阈值之间。设此时按压时长介于第一时长阈值和第二时长阈值之间,则确定多个触摸点之间的至少两个相关行或至少两个相关列,并对至少两个相关行进行行图标移动或至少两个相关列进行列图标移动。例如图17a示出的是显示页面。可以看到,显示页面的箭头指向为滑动方向,即纵向,此时终端设备进行至少两个相关列的列图标移动,对当前屏幕图标中至少两个相关列的列图标进行循环补齐。
在一个例子中,若根据滑动距离确定将显示页面至少两个相关列中,最顶端的两个图标移出,则需要将移出的两图标从显示页面中至少两个相关列的最底端移入。最终移动完成后如图17b示出的,将显示页面显示的第二列至第四列中前两个图标移出显示页面,同时,将移出的图标从显示页面显示的第二列至第四列中最底端移入。同时对于其他非相关的列图标,则并未进行移动,例如显示页面的最左侧的第一列图标。
本领域人员应当注意,图17a至图17b仅仅示出了箭头向上时终端设备显示页面的变化,应当理解的是,对于屏幕向下的情况,仅仅是方向相反其余变化均与图17a至图17b示出的相同。
本领域人员还应当注意,对于图16a至图17b中示出的,若显示页面中原本存在空余位置,即图标并未排列满。对于在横向上移动的情况,若相邻页面中存在图标,则显示页面的在进行移动的过程中,原本存在的空余位置也随着移动方向进行移动。对于显示页面中移入的图标,并不将原本存在的空余位置补齐。对于在纵向上移动的情况,循环移入的图标,同样并不将原本存在的空余位置补齐。
如图18所示,图18为本申请实施例提供的一种操作屏幕图标的装置示意图。
图18中提供了一种操作触摸屏图标的装置1800,装置1800包括:采集模块1801,用于采集用户滑动操作信息;用户滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,第一位置为用户滑动操作的初始位置;处理模块1802,用于当第一位置位于图标外时,确定滑动速度小于滑动速度阈值,则根据滑动方向,对显示页面的全部图标进行移动;或处理模块1802还用于,当第一位置位于图标内时,确定按压时长大于或等于第一时长阈值且小于或等于第二时长阈值,则根据滑动方向,对显示页面中第一位置所在图标的相关列的列图标或相关行的行图标进行移动。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;处理模块1802还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;确定补齐参数N,N为l除以单位切换距离Δh确定的;其中,Δh大于或等于单个图标的宽度,且小于或等于整屏的宽度,Δh为单个图标的宽度的整数倍;将显示页面的全部图标沿滑动方向移动X行或列;其中,X为N个Δh范围内图标的行数或列数,X为整数。
在一个可能的实施方式中,滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理模块1802还用于:若滑动方向为横向,则沿横向对所述显示页面上的全部图标移动X列。若滑动方向为纵向,则沿纵向对所述显示页面上的全部图标进行循环移动X行。
在一个可能的实施方式中,处理模块1802还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定临近显示页面的X列图标,并移入至显示页面。
在一个可能的实施方式中,处理模块1802还用于:当相邻页面中存在至少一列图标,且图标列数不足X列,确定相邻页面中的图标列数Q;其中,Q为正整数,0<Q<X;将显示页面的全部图标沿横向移动Q列,将移动后超出所述显示页面的图标移 出,并将相邻页面中的Q列图标移入至显示页面。
在一个可能的实施方式中,处理模块1802还用于:当相邻页面中不存在任何一列图标,则取消用户滑动操作。
在一个可能的实施方式中,第一位置包括两个或两个以上位置;处理模块1802还用于:根据两个或两个以上位置,确定显示页面中第一位置所在区域包括至少两行或至少两列。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理模块1802还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;当滑动方向或第一位置的按压力度方向为纵向时,确定第一位置所在图标的相关列;若用户滑动操作的l>最小滑动距离Δl时,则对显示页面相关列的列图标进行移动;当滑动方向或第一位置的按压力度方向为横向时,确定第一位置所在图标的相关行;若用户滑动操作的l>Δl时,则对显示页面相关行的行图标进行移动。
在一个可能的实施方式中,处理模块1802还用于:对相关列的列图标进行循环移动。
在一个可能的实施方式中,处理模块1802还用于:将显示页面相关行上的行图标移动Y个图标;其中,Y为l距离范围内图标的个数,Y为整数。
在一个可能的实施方式中,处理模块1802还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定相关行处于同一行上临近显示页面的Y个图标,并移入至显示页面的相关行上。
在一个可能的实施方式中,处理模块1802还用于:当相邻页面中与相关行处于同一行上存在图标且图标数量不足Y个时,确定相邻页面中与相关行处于同一行的图标个数P;其中,P为正整数,0<P<Y;将显示页面的相关行上的全部图标沿横向移动P个图标,将移动后超出所述显示页面的图标移出,并将相邻页面中与相关行处于同一行的P个图标移入至显示页面的相关行上。
在一个可能的实施方式中,处理模块1802还用于:当相邻页面中与相关行处于同一行上没有图标时,取消用户滑动操作。
本领域人员应当注意,本申请中涉及到的用户滑动操作,在一次操作过程中,触摸点将一直在屏幕上,不会离开屏幕。当触摸点离开屏幕,则视为一次用户滑动操作结束。
本申请公开了一种操作屏幕图标的方法及装置,通过采集到的触摸信息确定本次用户滑动操作是屏幕整体操作或者图标行/列操作。对于屏幕整体操作,可以根据滑动速度将常规操作排除,并根据触摸信息进行整屏图标移动。对于图标行/列操作,可以根据按压时长将常规操作排除,并根据滑动方向进行行图标移动或列图标移动。通过上述方式可以实现快速的找到对应的图标,并且当输入设备为手指的时候,对于超过一定尺寸的大屏终端设备,也可以通过单手实现快速操作。使得操作变得更加简单、便捷,增加用户的操作体验。
如图19所示,图19为本申请实施例提供的一种操作屏幕图标的框架示意图。
在图19中,本申请还提供了一种操作屏幕图标的结构1900,其中结构1900包括:传感器1901、驱动器1902、框架1903和桌面启动器1904。
在一个例子中,传感器(sensor)1901负责直接采集用户滑动操作的操作信息。在传感器1901中采集到的信息为原始操作信息。例如,第一位置、滑动方向、按压力度方向等操作信息。
在一个例子中,驱动器(driver)1902用于驱动传感器1901。通过驱动器1902的驱动,使得传感器1901可以采集滑动操作信息。同时驱动器1902用于将传感器1901采集到的原始操作信息进行格式转换,并传输至框架(framework)1903中,以便后续操作。
在一个例子中,框架1903作为消息传递的媒介和平台能力的提供者,通过驱动器1902接收传感器1901采集到的原始操作信息,并将原始操作信息进行数据翻译,得到软件层面可以使用的触摸信息。例如第一位置、第二位置、滑动速度、用户滑动操作的触摸按压时长以及滑动方向等滑动触摸信息。并与桌面启动器(launcher)1904进行交互,将触摸信息传输至桌面启动器1904。在另一个例子中,框架1903会不断的获取传感器1901采集的原始操作信息。
在一个例子中,桌面启动器1904用于根据框架1903传输的触摸信息进行归纳处理,判断当前操作的类别,并形成相应的操作指令,以执行上述图2至图18所述方法。最终对屏幕显示界面进行相应的逻辑处理,并通过屏幕显示出来。
如图20所示,图20为本申请实施例提供的一种终端设备示意图。
图20提供了一种终端设备2000,该设备2000可以包括处理器2001、存储器2002、传感器2003、通信接口2004以及接口电路2005。终端设备中的处理器2001、存储器2002、传感器2003和通信接口2004可以通过接口电路2005建立通信连接。通信接口2004用于与发送和接收外部信息。
传感器2003,用于采集用户滑动操作信息;用户滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,第一位置为用户滑动操作的初始位置。在一个例子中,传感器2003可以包括压力传感器、温度传感器、加速度传感器等任意传感器。
存储器2002,用于存储代码指令以及传感器采集到的用户滑动操作信息。在一个例子中,存储器2002可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器2002也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器,硬盘(hard disk drive,HDD)或固态硬盘(solid state drive,SSD);存储器2002还可以包括上述种类的存储器的组合。
接口电路2005,用于接收代码指令并传输至处理器。
处理器2001,用于当第一位置位于图标外时,确定滑动速度小于滑动速度阈值,则根据滑动方向,对显示页面的全部图标进行移动;或处理器还用于,当第一位置位于图标内时,确定按压时长大于或等于第一时长阈值且小于或等于第二时长阈值,则根据滑动方向,对显示页面中第一位置所在图标的相关列的列图标或相关行的行图标 进行移动。在一个例子中,处理器2001可以为中央处理器(central processing unit,CPU)。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;处理器2001还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;确定补齐参数N,N为l除以单位切换距离Δh确定的;其中,Δh大于或等于单个图标的宽度,且小于或等于整屏的宽度,Δh为单个图标的宽度的整数倍;将显示页面上的全部图标沿滑动方向移动X行或列;其中,X为N个Δh范围内图标的行数或列数,X为整数。
在一个可能的实施方式中,滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理器2001还用于:若滑动方向为横向,则沿横向对显示页面上的全部图标移动X列;若滑动方向为纵向,则沿纵向对显示页面上的全部图标进行循环移动X行。
在一个可能的实施方式中,处理器2001还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定临近显示页面的X列图标,并移入至显示页面。
在一个可能的实施方式中,处理器2001还用于:当相邻页面中存在至少一列图标,且图标列数不足X列时,确定相邻页面中的图标列数Q;其中,Q为正整数,0<Q<X;将显示页面上的全部图标沿横向移动Q列,将移动后超出显示页面的图标移出,并将相邻页面中的Q列图标移入至显示页面。
在一个可能的实施方式中,处理器2001还用于:当相邻页面中不存在任何一列图标时,则取消用户滑动操作。
在一个可能的实施方式中,第一位置包括两个或两个以上位置;处理器2001还用于:根据两个或两个以上位置,确定显示页面中第一位置所在区域包括至少两行或至少两列。
在一个可能的实施方式中,触摸信息还包括第二位置;其中,第二位置为用户滑动操作结束时的触摸位置;滑动方向包括横向和纵向,横向与触摸屏的第一边平行,纵向与触摸屏的第二边平行,其中,第一边与第二边垂直;处理器2001还用于:根据第一位置和第二位置,确定用户滑动操作的滑动距离l;l为第二位置与第一位置之间直线距离在滑动方向上的投影距离;当滑动方向或第一位置的按压力度方向为纵向时,确定第一位置所在图标的相关列;若用户滑动操作的l>最小滑动距离Δl时,则对显示页面相关列的列图标进行移动;当滑动方向或第一位置的按压力度方向为横向时,确定第一位置所在图标的相关行;若用户滑动操作的l>Δl时,则对显示页面相关行的行图标进行移动。
在一个可能的实施方式中,处理器2001还用于:对相关列的列图标进行循环移动。
在一个可能的实施方式中,处理器2001还用于:将显示页面相关行上的行图标沿横向移动Y个图标;其中,Y为l距离范围内图标的个数,Y为整数。
在一个可能的实施方式中,处理器2001还用于:将移动后超出显示页面的图标移出,并从滑动方向相反的相邻页面中,确定与相关行处于同一行上临近显示页面的Y 个图标,并移入至显示页面的相关行上。
在一个可能的实施方式中,处理器2001还用于:当相邻页面中与相关行处于同一行上存在图标且图标数量不足Y个时,确定相邻页面中与相关行处于同一行的图标个数P;其中,P为正整数,0<P<Y;将显示页面的相关行上的全部图标沿横向移动P个图标,将移动后超出显示页面的图标移出,并将相邻页面中与相关行处于同一行的P个图标移入至显示页面的相关行上。
在一个可能的实施方式中,处理器2001还用于:当相邻页面中与相关行处于同一行上没有图标时,取消用户滑动操作。
上述图2至图19中实施例提供的一种操作屏幕图标的方法,均由处理器2001来执行。本申请中的文件数据和/或计算的数据将存储在存储器2002中。另外,存储器2002中还将用于存储处理器执行的用于实现上述图2至图19中实施例所述的一种操作屏幕图标的方法对应的程序指令等等。
本申请公开了一种操作屏幕图标的方法及装置,通过采集到的触摸信息确定本次用户滑动操作是屏幕整体操作或者图标行/列操作。对于屏幕整体操作,可以根据滑动速度将常规操作排除,并根据触摸信息进行整屏图标移动。对于图标行/列操作,可以根据按压时长将常规操作排除,并根据滑动方向进行行图标移动或列图标移动。通过上述方式可以实现快速的找到对应的图标,并且当输入设备为手指的时候,对于超过一定尺寸的大屏终端设备,也可以通过单手实现快速操作。使得操作变得更加简单、便捷,增加用户的操作体验。
本领域普通技术人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。
以上所述,仅为本申请较佳的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。

Claims (29)

  1. 一种操作触摸屏图标的方法,其特征在于,所述方法包括:
    采集用户滑动操作信息;所述用户滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,所述第一位置为所述用户滑动操作的初始位置;
    当所述第一位置位于图标外时,确定所述滑动速度小于滑动速度阈值,则根据所述滑动方向,对显示页面的全部图标进行移动;或
    当所述第一位置位于所述图标内时,确定所述按压时长大于或等于第一时长阈值且小于或等于第二时长阈值,则根据所述滑动方向,对所述显示页面中所述第一位置所在图标的相关列的列图标或相关行的行图标进行移动。
  2. 如权利要求1所述的方法,其特征在于,所述用户滑动操作信息还包括第二位置;其中,所述第二位置为所述用户滑动操作结束时的触摸位置;
    所述根据所述滑动方向,对显示页面的全部图标进行移动包括:
    根据所述第一位置和所述第二位置,确定所述用户滑动操作的滑动距离l;所述l为所述第二位置与所述第一位置之间直线距离在所述滑动方向上的投影距离;
    确定补齐参数N,所述N为所述l除以单位切换距离Δh确定的;其中,所述Δh大于或等于单个图标的宽度,且小于或等于整屏的宽度,所述Δh为单个图标的宽度的整数倍;
    将所述显示页面上的全部图标沿所述滑动方向移动X行或列;其中,X为N个Δh范围内图标的行数或列数,且X为整数。
  3. 如权利要求1或2所述的方法,其特征在于,所述滑动方向包括横向和纵向,所述横向与所述触摸屏的第一边平行,所述纵向与所述触摸屏的第二边平行,其中,所述第一边与所述第二边垂直;
    所述将所述显示页面上的全部图标,沿所述滑动方向移动X行或列包括:
    若所述滑动方向为所述横向,则沿所述横向对所述显示页面上的全部图标移动X列;
    若所述滑动方向为所述纵向,则沿所述纵向对所述显示页面上的全部图标进行循环移动X行。
  4. 如权利要求3所述的方法,其特征在于,所述若所述滑动方向为所述横向,所述方法还包括:
    将移动后超出所述显示页面的图标移出,并从所述滑动方向相反的相邻页面中,确定临近所述显示页面的X列图标,并移入至所述显示页面。
  5. 如权利要求4所述的方法,其特征在于,所述若所述滑动方向为所述横向,所述方法还包括:
    当所述相邻页面中存在至少一列图标,且所述图标列数不足X列时,确定所述相邻页面中的图标列数Q;其中,Q为正整数,0<Q<X;
    将所述显示页面上的全部图标沿所述横向移动Q列,将移动后超出所述显示页面的图标移出,并将所述相邻页面中的Q列图标移入至所述显示页面。
  6. 如权利要求3-5任一所述的方法,其特征在于,所述若所述滑动方向为所述横 向,所述方法还包括:
    当所述相邻页面中不存在任何一列图标时,取消用户滑动操作。
  7. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一位置包括两个或两个以上位置;
    根据所述两个或两个以上位置,确定所述显示页面中所述第一位置所在区域包括至少两行或至少两列。
  8. 如权利要求1或7所述的方法,其特征在于,所述触摸信息还包括第二位置;其中,所述第二位置为所述用户滑动操作结束时的触摸位置;所述滑动方向包括横向和纵向,所述横向与所述触摸屏的第一边平行,所述纵向与所述触摸屏的第二边平行,其中,所述第一边与所述第二边垂直;
    所述根据所述滑动方向,对所述显示页面中所述第一位置所在图标的相关列的列图标或相关行的行图标进行移动包括:
    根据所述第一位置和所述第二位置,确定所述用户滑动操作的滑动距离l;所述l为所述第二位置与所述第一位置之间直线距离在所述滑动方向上的投影距离;
    当所述滑动方向或所述第一位置的按压力度方向为所述纵向时,确定所述第一位置所在图标的相关列;若所述用户滑动操作的l>最小滑动距离Δl时,则对所述显示页面所述相关列的列图标进行移动;
    当所述滑动方向或所述第一位置的按压力度方向为所述横向时,确定所述第一位置所在图标的相关行;若所述用户滑动操作的l>Δl时,则对所述显示页面所述相关行的行图标进行移动。
  9. 如权利要求8所述的方法,其特征在于,所述对所述显示页面所述相关列的列图标进行移动包括:
    对所述相关列的列图标进行循环移动。
  10. 如权利要求8所述的方法,其特征在于,所述对所述显示页面所述相关行的行图标进行移动包括:
    将所述显示页面所述相关行上的行图标沿所述横向移动Y个图标距离;其中,Y为l距离范围内图标的个数,且Y为整数距离。
  11. 如权利要求10所述的方法,其特征在于,所述方法还包括:
    将移动后超出所述显示页面的图标移出,并从所述滑动方向相反的相邻页面中,确定与所述相关行处于同一行上临近所述显示页面的Y个图标,并移入至所述显示页面的所述相关行上。
  12. 如权利要求11所述的方法,其特征在于,所述方法还包括:
    当所述相邻页面中与所述相关行处于同一行上存在图标且图标数量不足Y个时,确定所述相邻页面中与所述相关行处于同一行的图标个数P;其中,P为正整数,0<P<Y;
    将所述显示页面的所述相关行上的全部图标沿所述横向移动P个图标,将移动后超出所述显示页面的图标移出,并将所述相邻页面中与所述相关行处于同一行的P个图标移入至所述显示页面的所述相关行上。
  13. 如权利要求10-12任一所述的方法,其特征在于,所述方法还包括:
    当所述相邻页面中与所述相关行处于同一行上没有图标时,取消用户滑动操作。
  14. 一种操作触摸屏图标的装置,其特征在于,所述装置包括:传感器、存储器、处理器和接口电路;
    所述传感器,用于采集用户滑动操作信息;所述用户滑动操作信息包括:第一位置、滑动速度、在滑动之前的按压时长或滑动方向;其中,所述第一位置为所述用户滑动操作的初始位置;
    所述存储器,用于存储代码指令以及所述传感器采集到的所述用户滑动操作信息;
    所述接口电路,用于接收所述代码指令并传输至所述处理器;
    所述处理器,用于当所述第一位置位于图标外时,确定所述滑动速度小于滑动速度阈值,则根据所述滑动方向,对显示页面的全部图标进行移动;或
    所述处理器还用于,当所述第一位置位于所述图标内时,确定所述按压时长大于或等于第一时长阈值且小于或等于第二时长阈值,则根据所述滑动方向,对所述显示页面中所述第一位置所在图标的相关列的列图标或相关行的行图标进行移动。
  15. 如权利要求14所述的装置,其特征在于,所述触摸信息还包括第二位置;其中,所述第二位置为所述用户滑动操作结束时的触摸位置;
    所述处理器还用于:
    根据所述第一位置和所述第二位置,确定所述用户滑动操作的滑动距离l;所述l为所述第二位置与所述第一位置之间直线距离在所述滑动方向上的投影距离;
    确定补齐参数N,所述N为所述l除以单位切换距离Δh确定的;其中,所述Δh大于或等于单个图标的宽度,且小于或等于整屏的宽度,所述Δh为单个图标的宽度的整数倍;
    将所述显示页面上的全部图标沿所述滑动方向移动X行或列;其中,X为N个Δh范围内图标的行数或列数,X为整数。
  16. 如权利要求14或15所述的装置,其特征在于,所述滑动方向包括横向和纵向,所述横向与所述触摸屏的第一边平行,所述纵向与所述触摸屏的第二边平行,其中,所述第一边与所述第二边垂直;
    所述处理器还用于:
    若所述滑动方向为所述横向,则沿所述横向对所述显示页面上的全部图标移动X列;
    若所述滑动方向为所述纵向,则沿所述纵向对所述显示页面上的全部图标进行循环移动X行。
  17. 如权利要求16所述的方法,其特征在于,所述处理器还用于:
    将移动后超出所述显示页面的图标移出,并从所述滑动方向相反的相邻页面中,确定临近所述显示页面的X列图标,并移入至所述显示页面。
  18. 如权利要求17所述的装置,其特征在于,所述处理器还用于:
    当所述相邻页面中存在至少一列图标,且所述图标列数不足X列时,确定所述相邻页面中的图标列数Q;其中,Q为正整数,0<Q<X;
    将所述显示页面上的全部图标沿所述横向移动Q列,将移动后超出所述显示页面 的图标移出,并将所述相邻页面中的Q列图标移入至所述显示页面。
  19. 如权利要求16或18所述的装置,其特征在于,所述处理器还用于:
    当所述相邻页面中不存在任何一列图标时,则取消用户滑动操作。
  20. 如权利要求14所述的装置,其特征在于,所述第一位置包括两个或两个以上位置;
    所述处理器还用于:
    根据所述两个或两个以上位置,确定显示页面中所述第一位置所在区域包括至少两行或至少两列。
  21. 如权利要求14或20所述的装置,其特征在于,所述触摸信息还包括第二位置;其中,所述第二位置为所述用户滑动操作结束时的触摸位置;所述滑动方向包括横向和纵向,所述横向与所述触摸屏的第一边平行,所述纵向与所述触摸屏的第二边平行,其中,所述第一边与所述第二边垂直;
    所述处理器还用于:
    根据所述第一位置和所述第二位置,确定所述用户滑动操作的滑动距离l;所述l为所述第二位置与所述第一位置之间直线距离在所述滑动方向上的投影距离;
    当所述滑动方向或所述第一位置的按压力度方向为所述纵向时,确定所述第一位置所在图标的相关列;若所述用户滑动操作的l>最小滑动距离Δl时,则对所述显示页面所述相关列的列图标进行移动;
    当所述滑动方向或所述第一位置的按压力度方向为所述横向时,确定所述第一位置所在图标的相关行;若所述用户滑动操作的l>Δl时,则对所述显示页面所述相关行的行图标进行移动。
  22. 如权利要求21所述的装置,其特征在于,所述处理器还用于:
    对所述相关列的列图标进行循环移动。
  23. 如权利要求21所述的装置,其特征在于,所述处理器还用于:
    将所述显示页面所述相关行上的行图标沿所述横向移动Y个图标;其中,Y为l距离范围内图标的个数,Y为整数。
  24. 如权利要求23所述的装置,其特征在于,所述处理器还用于:
    将移动后超出所述显示页面的图标移出,并从所述滑动方向相反的相邻页面中,确定与所述相关行处于同一行上临近所述显示页面的Y个图标,并移入至所述显示页面的所述相关行上。
  25. 如权利要求24所述的装置,其特征在于,所述处理器还用于:
    当所述相邻页面中与所述相关行处于同一行上存在图标且图标数量不足Y个时,确定所述相邻页面中与所述相关行处于同一行的图标个数P;其中,P为正整数,0<P<Y;
    将所述显示页面的所述相关行上的全部图标沿所述横向移动P个图标,将移动后超出所述显示页面的图标移出,并将所述相邻页面中与所述相关行处于同一行的P个图标移入至所述显示页面的所述相关行上。
  26. 如权利要求23-25任一所述的装置,其特征在于,所述处理器还用于:
    当所述相邻页面中与所述相关行处于同一行上没有图标时,取消用户滑动操作。
  27. 一种终端设备,其特征在于,包括:采集模块和处理模块;
    所述传感模块用于采集用户滑动操作信息;
    所述处理模块用于执行如权利要求1-13中的任一项所述的方法。
  28. 一种存储程序的计算机可读存储介质,其特征在于,所述程序包括指令,所述指令当被执行时,使所述执行根据权利要求1-13任一所述的方法。
  29. 一种包含指令的计算机程序产品,当其在通信装置上运行时,使得所述通信装置执行如权利要求1至13任一项所述的方法。
PCT/CN2020/127218 2019-11-28 2020-11-06 一种操作屏幕图标的方法及装置 WO2021103985A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20891961.3A EP4057118A4 (en) 2019-11-28 2020-11-06 METHOD AND APPARATUS FOR OPERATING A SCREEN ICON
US17/827,342 US11966576B2 (en) 2019-11-28 2022-05-27 Screen icon operating method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911194640.XA CN112860141A (zh) 2019-11-28 2019-11-28 一种操作屏幕图标的方法及装置
CN201911194640.X 2019-11-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/827,342 Continuation US11966576B2 (en) 2019-11-28 2022-05-27 Screen icon operating method and apparatus

Publications (1)

Publication Number Publication Date
WO2021103985A1 true WO2021103985A1 (zh) 2021-06-03

Family

ID=75995879

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127218 WO2021103985A1 (zh) 2019-11-28 2020-11-06 一种操作屏幕图标的方法及装置

Country Status (4)

Country Link
US (1) US11966576B2 (zh)
EP (1) EP4057118A4 (zh)
CN (1) CN112860141A (zh)
WO (1) WO2021103985A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590015B (zh) * 2021-09-30 2021-12-17 宜科(天津)电子有限公司 一种基于非触控显示装置的网关传感器可视化系统
CN115145444A (zh) * 2022-07-29 2022-10-04 Oppo广东移动通信有限公司 图标的移动方法、装置、电子设备以及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609210A (zh) * 2012-02-16 2012-07-25 上海华勤通讯技术有限公司 移动终端的功能图标的配置方法和移动终端
CN103034450A (zh) * 2012-12-18 2013-04-10 广东欧珀移动通信有限公司 一种新的滑屏切换图标的方法和装置
CN103425394A (zh) * 2013-08-13 2013-12-04 广东欧珀移动通信有限公司 一种用于触摸屏的变换图标位置的方法及其装置
US20140132524A1 (en) * 2012-11-14 2014-05-15 Apacer Technology Inc. Intelligent input method
CN104516673A (zh) * 2014-12-09 2015-04-15 厦门美图移动科技有限公司 一种图标显示方法、设备和移动终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101481512B1 (ko) * 2007-10-24 2015-01-20 엘지전자 주식회사 휴대 단말기 및 그 제어 방법
US9176620B2 (en) * 2008-07-22 2015-11-03 Lg Electronics Inc. Mobile terminal and method for displaying information list thereof
US9658740B2 (en) * 2013-03-15 2017-05-23 Apple Inc. Device, method, and graphical user interface for managing concurrently open software applications
CN103324414A (zh) * 2013-06-20 2013-09-25 广东欧珀移动通信有限公司 一种调整图标位置的方法及移动终端
CN106462321A (zh) * 2014-06-24 2017-02-22 苹果公司 用于视频系统的应用程序菜单
JP2016224523A (ja) * 2015-05-27 2016-12-28 京セラ株式会社 携帯端末
CN105975181B (zh) * 2016-05-06 2019-01-04 平安科技(深圳)有限公司 侧滑界面的显示控制方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609210A (zh) * 2012-02-16 2012-07-25 上海华勤通讯技术有限公司 移动终端的功能图标的配置方法和移动终端
US20140132524A1 (en) * 2012-11-14 2014-05-15 Apacer Technology Inc. Intelligent input method
CN103034450A (zh) * 2012-12-18 2013-04-10 广东欧珀移动通信有限公司 一种新的滑屏切换图标的方法和装置
CN103425394A (zh) * 2013-08-13 2013-12-04 广东欧珀移动通信有限公司 一种用于触摸屏的变换图标位置的方法及其装置
CN104516673A (zh) * 2014-12-09 2015-04-15 厦门美图移动科技有限公司 一种图标显示方法、设备和移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4057118A4

Also Published As

Publication number Publication date
US20220283686A1 (en) 2022-09-08
EP4057118A1 (en) 2022-09-14
EP4057118A4 (en) 2023-01-18
US11966576B2 (en) 2024-04-23
CN112860141A (zh) 2021-05-28

Similar Documents

Publication Publication Date Title
US8700999B2 (en) Carousel user interface for document management
EP2612230B1 (en) Item display method and apparatus
EP2778878B1 (en) Automatically expanding panes
EP3591509B1 (en) Split-screen display method and apparatus, and electronic device thereof
JP5679169B2 (ja) メニュー表示装置、メニュー表示制御方法及びプログラム
EP3736675B1 (en) Method for performing operation on touchscreen and terminal
EP2763023A2 (en) Method and apparatus for multitasking
US11966576B2 (en) Screen icon operating method and apparatus
CN103477306B (zh) 电子器件、控制设置方法和程序
CN102346592A (zh) 触摸输入的转换
JP6828150B2 (ja) 画面表示方法および端末
KR20140030149A (ko) 정보 처리 장치, 정보 처리 방법, 및 프로그램
KR20140112296A (ko) 다중 터치에 대응하는 기능을 처리하기 위한 방법 및 그 전자 장치
WO2014056338A1 (zh) 一种移动终端列表数据交互方法及装置
CN112148405B (zh) 桌面布局方法、装置和电子设备
WO2016188229A1 (zh) 一种终端设备及其动态调节控件位置的方法
JP6026363B2 (ja) 情報処理装置および制御プログラム
JP2023530395A (ja) アプリアイコン制御方法、装置及び電子機器
US9785334B2 (en) Method for editing frame-based page, electronic apparatus and recording medium using the same
CN112416236A (zh) 基于web页面的手势封装、交互方法、设备和存储介质
EP2352077B1 (en) Portable terminal device, data manipulation processing method and data manipulation processing program
US20170205967A1 (en) Display and interaction method in a user interface
CN109471581B (zh) 电子设备及存储介质
JP6102456B2 (ja) 電子文書閲覧システムおよびプログラム
TWI502481B (zh) 電子裝置以及使用者介面控制方法

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020891961

Country of ref document: EP

Effective date: 20220608

NENP Non-entry into the national phase

Ref country code: DE