WO2016034023A1 - 触发终端的方法及相关设备 - Google Patents

触发终端的方法及相关设备 Download PDF

Info

Publication number
WO2016034023A1
WO2016034023A1 PCT/CN2015/085078 CN2015085078W WO2016034023A1 WO 2016034023 A1 WO2016034023 A1 WO 2016034023A1 CN 2015085078 W CN2015085078 W CN 2015085078W WO 2016034023 A1 WO2016034023 A1 WO 2016034023A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
area
distance
duration
preset
Prior art date
Application number
PCT/CN2015/085078
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 ES15837833T priority Critical patent/ES2804503T3/es
Priority to US15/508,954 priority patent/US10754535B2/en
Priority to EP15837833.1A priority patent/EP3190502B1/en
Priority to EP20164385.5A priority patent/EP3739437B1/en
Publication of WO2016034023A1 publication Critical patent/WO2016034023A1/zh
Priority to US16/990,636 priority patent/US11301126B2/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/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/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/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/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/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

Definitions

  • the present invention relates to the field of communications, and more particularly to a method and terminal for controlling an icon.
  • the interface of the terminal for example, the interface of the smartphone or the computer is generally provided with a folder and various applications or files, and the user can manage the application or the file through the folder, and the user can also use the application or the file. Drag operation to create a new folder and re-adjust the icon layout on the interface.
  • first operation There are many operations for controlling pictures. For example, there are two operations: a first operation and a second operation. Assume that the first operation is a replacement/crowding operation, and the second operation is an operation of newly creating a folder merge icon (referred to as a merge operation). The two icons called the execution operation are the first icon and the second icon, respectively.
  • the determination of these two operations is generally as follows: long press the first icon to enter the edit mode; drag the first icon to the second icon, when the drag speed is lower than the set value, the system determines to stay state, If the distance between the first icon and the second icon is less than the first preset distance, is greater than the second preset distance, and is in the stay state, performing a first operation, the first icon replacing or pushing the second icon; When the distance is less than the second preset distance and it is determined to be in the stay state, the second operation is performed, and a new folder is newly created to place the first icon and the second icon in the newly created folder.
  • Embodiments of the present invention provide a method and a terminal for controlling an icon, which are used to not affect an existing operation of a user. Under the premise of the habit, solve the problem that the terminal responds incorrectly when the user drags the icon.
  • a first aspect of the embodiments of the present invention provides a method for controlling an icon, where a terminal for displaying a first icon and a second icon is provided, where the method includes:
  • the two end points of the second distance interval are 0 and the second preset distance, respectively, and the second preset distance is not less than 0;
  • the second operation is an operation different from the first operation.
  • the method further includes:
  • the method further includes:
  • the radius of the inner circular frame is set to the second preset distance
  • the radius of the outer circular frame is set. For the first preset distance.
  • the distance between the first icon and the second icon is specifically: a center point of the first icon and a center point of the second icon the distance.
  • the first operation is a replacement or an extrusion operation
  • the second operation is a merge operation
  • the first operation is a merge operation and the second operation is a replacement or squeeze operation.
  • the performing the first operation on the first icon and the second icon includes:
  • the Determining that the distance between the first icon and the second icon is within a second distance interval, and when the first icon is in the stay state in the second distance interval, prompting the first icon and The second icon performs the second operation and specifically includes:
  • the method further includes:
  • a second aspect of the embodiments of the present invention provides a method for controlling an icon, where the terminal of the first icon and the second icon is displayed, and the method includes:
  • the first icon When it is determined that the first icon enters the second area of the second icon, and the first icon is in the staying state in the second area, prompting the first icon and the second The icon performs a second operation, the center point of the second icon is in the second area, the second area does not overlap the first area, and the second area is surrounded by the first area.
  • the method further includes:
  • the second area is a circular area having a radius of a third preset distance centered on a center point of the second icon, and the first area is centered at a center point of the second icon.
  • the area of the second area is not included in the circular area having the radius of the fourth preset distance, and the fourth preset distance is greater than the third preset distance;
  • the second area is an area in an inner box of the second icon, and a distance between each side of the inner frame and a center point of the second icon is a fifth preset distance, the first The area is an area that does not include the first area in an outer box of the second icon, and a distance between each side of the outer box and a center point of the second icon is a sixth preset distance, The sixth preset distance is greater than the fifth preset distance.
  • the step of moving the second icon further includes:
  • a boundary of the first area and the second area is displayed.
  • the first operation is a replacement or an extrusion operation
  • the second operation is a merge operation
  • the first operation is a merge operation and the second operation is a replacement or squeeze operation.
  • the prompting, performing the first operation on the first icon and the second icon includes: :
  • the first icon enters a second area of the second icon, and when the first icon is in the staying state in the second area, prompting to perform execution on the first icon and the second icon
  • the second operation specifically includes:
  • the method further includes:
  • a third aspect of the embodiments of the present invention provides a terminal, including:
  • a first display module configured to display the first icon and the second icon
  • a first detecting module configured to detect a first input of the user
  • a first response module configured to move the first icon to the second icon in response to the first input detected by the first detecting module
  • a first prompting module configured to determine that a distance between the first icon and the second icon is within a first distance interval, and a duration in which the first icon is in a stay state is greater than a duration in the first distance interval
  • the first preset duration is long, the first operation is performed on the first icon and the second icon, where the two endpoints of the first distance interval are a first preset distance and a second preset distance, respectively.
  • the second preset distance is less than the first preset distance
  • a second prompting module configured to: when determining that a distance between the first icon and the second icon is within a second distance interval, and when the first icon is in the staying state in the second distance interval, Prompting to perform a second operation on the first icon and the second icon, where two endpoints of the second distance interval are 0 and the second preset distance, respectively, and the second preset distance is not less than 0
  • the second operation is an operation different from the first operation.
  • the terminal further includes:
  • a second detecting module configured to detect a distance between the first icon and the second icon
  • a third detecting module configured to detect a duration that the first icon is in the stay state
  • the second detecting module is further configured to: when determining that the distance between the first icon and the second icon is not in the first distance interval and the second distance interval, detecting the first icon and the The distance of the second icon;
  • the third detecting module is further configured to: when determining that the distance between the first icon and the second icon is within the first distance interval, and the first icon is in the first distance interval When the duration of the state is not greater than the first preset duration, the duration of the first icon being in the stuck state is detected.
  • the first display module is further configured to use the second icon
  • the center point is a center of the circle, and an inner circular frame and an outer circular frame are displayed.
  • the radius of the inner circular frame is set to the second preset distance, and the radius of the outer circular frame is set to the first predetermined Set the distance.
  • the second prompting module is specifically configured to: Determining that the distance between the first icon and the second icon is within a second distance interval, and the duration of the first icon being in the stay state is greater than the second preset duration in the second distance interval And prompting to perform a second operation on the first icon and the second icon.
  • the third detecting module is further configured to: when determining the first icon and the The distance of the second icon is within the second distance interval, and the first time is detected when the duration of the first icon in the stay state is not greater than the second preset time length in the second distance interval The icon is in the duration of the stay state.
  • a fourth aspect of the embodiments of the present invention provides a terminal, including:
  • a second display module configured to display the first icon and the second icon
  • a fourth detecting module configured to detect a first input of the user
  • a second response module configured to move the first icon to the second icon in response to the first input detected by the fourth detecting module
  • a third prompting module configured to: when determining that the first icon enters a first area of the second icon, and wherein the duration of the first icon in the staying state in the first area is greater than a third preset duration And prompting to perform a first operation on the first icon and the second icon;
  • a fourth prompting module configured to: when determining that the first icon enters a second area of the second icon, and when the first icon is in the staying state in the second area, prompting to the first An icon and the second icon perform a second operation, a center point of the second icon is in the second area, the second area does not overlap with the first area, and the second area is Surrounded by the first area.
  • the terminal further includes:
  • a fifth detecting module configured to detect a position of the first icon relative to the first area and the second area of the second icon
  • a sixth detecting module configured to detect a duration that the first icon is in the stay state
  • the fifth detecting module is further configured to: when determining that the first icon does not enter the first area of the second icon, detecting the first area and the second area of the first icon relative to the second icon The location of the area;
  • the sixth detecting module is further configured to: when determining that the first icon enters the first area of the second icon, and the duration of the first icon in the staying state in the first area is not greater than When the preset time is three, the duration of the first icon being in the stay state is detected.
  • the second display module is further configured to display the first The boundary between the area and the second area.
  • the fourth prompting module is specifically configured to determine The first icon enters the second area of the second icon, and when the duration of the first icon in the stay state is greater than the fourth preset time length in the second area, prompting the first icon Performing a second operation with the second icon.
  • the sixth detecting module is further configured to: when determining that the first icon enters the Detecting the first icon in the second area of the second icon, and detecting that the first icon is in the stay in the second area when the duration of the first icon is not greater than the fourth preset duration The duration of the state.
  • the embodiment of the present invention has the following advantages: when the distance between the first icon and the second icon is within the first distance interval, and it is determined that the first icon is in a stay state, it is also determined that the first After the duration of the first icon in the pause state is greater than the first preset duration in a distance interval, the first operation is prompted to be performed, so that if the second operation needs to be performed on the first icon and the second icon, the first When the icon is close to the second icon, when the first distance interval is passed, it is determined whether the duration of the stay state is greater than the first preset duration, and if not greater than the first preset duration, the first icon is not required.
  • Performing the first operation with the second icon does not prompt the execution of the first operation due to the instantaneous stay state of the first icon, thereby greatly reducing the probability of the terminal generating a false response without affecting the user.
  • the original operating habits enhance the interactive ability of the terminal.
  • FIG. 1 is a schematic flow chart of a method for controlling an icon in an embodiment of the present invention
  • FIG. 2 is another schematic flowchart of a method for controlling an icon in an embodiment of the present invention
  • 3(a) to 3(e) are schematic diagrams showing an example of a method for controlling an icon in an embodiment of the present invention
  • FIG. 4 is another schematic flowchart of a method for controlling an icon in an embodiment of the present invention.
  • FIG. 5 is another schematic flowchart of a method for controlling an icon according to an embodiment of the present invention.
  • 6(a) to 6(e) are schematic diagrams showing another example of a method for controlling an icon in an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • first, second, etc. may be used to describe various icons or operations in the embodiments of the present invention, the icons or operations should not be limited to these terms. These terms are only used to distinguish icons or operations from one another.
  • the first icon may also be referred to as a second icon without departing from the scope of the embodiments of the present invention.
  • the second icon may also be referred to as a first icon; similarly, the second operation may also be This is not limited by the embodiment of the present invention.
  • first input means information received by the user to control the icon, and the first input also has many forms of representation depending on the input mode supported by the terminal.
  • the first input may include a finger contact terminal (such as a touch screen) and subsequent movement of the finger, or may be a stylus contact terminal (such as a touch screen) and subsequent movement, or other
  • the object touches the terminal (such as a touch screen) and the subsequent movement.
  • the first input may be a moving track of the object above the terminal, and the first input may have many other performances.
  • the form for example, the user selects an icon and drags by a mouse or a joystick, etc., and is not specifically limited herein.
  • distance between the first icon and the second icon may be embodied in a variety of ways.
  • the distance between the center point of the first icon and the center point of the second icon may be the leftmost distance of the first icon and the leftmost distance of the second icon, or the lower right corner of the first icon and the second icon The distance in the lower right corner, etc., is not limited here.
  • stay state is used to indicate the state at which the speed at which an icon moves is less than a preset speed threshold.
  • first operation and second operation are both operations that the terminal can perform on the icon, wherein the first operation is different from the second operation, and the specific operation may have many kinds of situations, which may be set by the terminal. It can also be specified by the developer or programmer of the operating system, and can even be set by the user, which is not limited herein.
  • the first operation may be a replacement or squeezing operation
  • the second operation may be a merging operation, wherein the replacing operation is to exchange positions between icons;
  • the squeezing operation includes vacating the position of the second icon, and
  • the icon behind the second icon and the second icon or directly below is moved to the back or directly below a grid, the first icon occupies the position where the second icon is vacant, the merge operation is to create a new icon folder, the first icon and the first icon Both icons are placed in the icon folder.
  • the first operation may also be to automatically open the second application (or the second file) corresponding to the second icon, and the first application corresponding to the first icon (or the first application URL or the first file or the first The URL of a file is automatically presented in the second application (or the second file) or as the content to be shared by the second application (or the second file); the second operation may also be to delete the second icon, the first The icon occupies the position where the second icon is vacant.
  • the first operation and the second operation may also be interchanged, for example, the first operation is a merge operation, and the second operation is a replacement or an open operation. It may be understood that the first operation or the second operation may also be other terminals.
  • the operations that can be performed on the icon are not limited here.
  • initial position of the first icon indicates the position of the first icon on the interface before the terminal receives the first input or the first input
  • initial position of the second icon indicates that the terminal receives the first input or the first The position of the second icon on the interface before input
  • first distance interval are respectively a first preset distance and a second preset distance
  • second preset distance is smaller than the first preset distance
  • second preset distance is smaller than the first preset distance
  • second preset distance is smaller than the first preset distance
  • second preset distance is smaller than the first preset distance
  • second preset distance is smaller than the first preset distance
  • second preset distance is smaller than the first preset distance
  • second preset distance is smaller than the first preset distance
  • second preset distance first preset distance
  • second preset distance [second preset distance, first preset distance]
  • the following is an example of an open interval.
  • the first icon and the second icon are The distance is within the first distance interval.
  • the first preset distance and the second preset distance are both preset distance values.
  • the distance between the first icon and the second icon is the first preset distance
  • the distance from the first icon and the second icon is the second preset distance
  • the first icon is further from the second icon.
  • the second icon moves from a distance to the first icon, and the distance between them reaches the first preset distance first, and then reaches the second preset distance.
  • the first preset distance can be set to the diameter of the grid where the icon is located.
  • the second preset distance can be set to the diameter of the icon, or set the first preset distance to be smaller, set the second preset distance to 3/4 of the icon diameter, etc., and more The setting method is not limited here.
  • the two endpoints of the term "second distance interval” are 0 and a second preset distance, respectively, and the second preset distance is not greater than 0, and can be expressed by a mathematical formula: (0, second preset distance), or [0 , the second preset distance].
  • the following is an example of an open interval. When the distance between the first icon and the second icon is within the range of (0, the second preset distance), the distance between the first icon and the second icon is in the first Within the distance range.
  • the executor of the embodiment of the present invention is a terminal, and the terminal may be a mobile terminal, including but not limited to a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), or a fixed terminal, such as a media player.
  • a mobile terminal including but not limited to a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), or a fixed terminal, such as a media player.
  • PDA personal digital assistant
  • Devices, personal computers, smart TVs, etc. are not limited here.
  • the solution of the embodiment of the present invention is generally applied to the state that the icon is in the icon editing state, and the icon editing state indicates that the icon on the interface of the terminal is in an editable state.
  • the icon editing state can be triggered in various manners, for example, can be set as a user. When a finger is pressed on an icon on the interface for more than a preset duration, the icon is edited. Alternatively, it may be set to execute a function on the terminal, and then enter the icon editing state, and may also be set to press the terminal. After a certain button is pressed, the icon editing state is entered.
  • the specific trigger mode is not limited here.
  • an embodiment of a method for controlling an icon in an embodiment of the present invention includes:
  • the terminal When the terminal is in the icon editing state, the first input of the user is detected, and the first icon and the second icon are displayed on the terminal, and the first icon and the second icon are two different icons.
  • the terminal After detecting the first input, the terminal moves the first icon to the second icon in response to the detected first input.
  • the first operation is performed on the first icon and the second icon, where the two endpoints are the first preset distance and the second preset distance, respectively.
  • the two preset distances are smaller than the first preset distance.
  • the duration of the first icon in the staying state in the first distance interval is greater than the first preset duration. Specifically, when the distance between the first icon and the second icon is within the first distance interval, the first The duration of an icon in the pause state is greater than the first preset duration.
  • determining that the distance between the first icon and the second icon is in the first distance interval and the duration in which the first icon is in the stay state is greater than the first preset duration is two A parallel condition, only when the two conditions are satisfied at the same time, will prompt to perform the first operation on the first icon and the second icon. If only one of them is satisfied and the other condition is not met, the first operation will not be performed and the second operation will not be performed.
  • the prompting performs the first operation on the first icon and the second icon, and the first operation is not performed at this time, but only the animation effect when the first operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, for example, releasing the selection of the icon, the terminal will actually perform the first operation
  • the second is that the terminal receives the user's cancellation operation. For example, receiving an input of the user continuing to move the first icon, the terminal continues to move the first icon in response to the user's input, without performing the first operation.
  • the second operation is performed on the first icon and the second icon, where two endpoints of the second distance interval are 0 and the second preset distance, respectively, the second pre- The set distance is not less than 0, and the second operation is an operation different from the first operation.
  • the first icon is in the stay state in the second distance interval, specifically: In the case where the distance between an icon and the second icon is within the second distance interval, the first icon is in a stuck state.
  • the prompting performs the second operation on the first icon and the second icon, and the second operation is not performed at this time, but only the animation effect when the second operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, for example, releasing the selection of the icon, the terminal will actually perform the second operation
  • the second is that the terminal receives the user's cancellation operation. For example, receiving an input of the user continuing to move the first icon, the terminal continues to move the first icon in response to the user's input, without performing the second operation.
  • the first operation is prompted to be performed. In this way, if the second operation is performed on the first icon and the second icon, the first icon is in the process of approaching the second icon. If the interval is greater than the first preset duration, if the duration is not greater than the first preset duration, it means that the first operation and the second icon are not required to be performed, and the first operation is not performed.
  • the erroneous operation such as performing the first operation is prompted, which greatly reduces the probability of the terminal generating a false response, and does not affect the original operating habit of the user, and enhances the interaction of the terminal. ability.
  • FIG. 2 Another embodiment of the method for controlling an icon in the embodiment of the present invention includes:
  • the terminal When the terminal is in the icon editing state, the first input of the user is detected, and the first icon and the second icon are displayed on the terminal, and the first icon and the second icon are two different icons.
  • the terminal After detecting the first input, the terminal moves the first icon to the second icon in response to the detected first input.
  • the terminal moves the first icon to the second icon according to the first input, and the second icon is the destination icon of the user, and the terminal may be based on the user input in the first input.
  • An icon moves direction, speed, etc.
  • the icon in the moving direction eg, from near to far 3 Possible icons are ABC
  • terminal Re-detecting the speed of the movement of the first icon the first icon passes through the icon A at a speed exceeding the first preset speed value, determining that the icon A is not the second icon, and the speed value of the first icon is reduced when approaching the icon B to After the second preset speed value is below, it is determined that the icon B is the user's destination icon, that is, the second icon, and according to the operation of the first icon, the user may have a plurality of ways to determine the second icon. This is not limited here.
  • the center point of the second icon is a center of the circle, and an inner circular frame and an outer circular frame are displayed.
  • the radius of the inner circular frame is set to a second preset distance, and the radius of the outer circular frame is set. Is the first preset distance.
  • the terminal may display an inner circular frame and an outer circular frame with the center point of the second icon as a center, and the radius of the inner circular frame is set to the second Presetting the distance, the radius of the outer circular frame is set to a first preset distance, and the first preset distance is greater than the second preset distance.
  • the display of the inner circular frame and the outer circular frame is only a friendly display of the interface to the user, and the user is more clearly aware of the range of the first preset distance and the second preset distance set by the terminal, actually Whether to prompt whether to perform the first operation or the second operation depends on the distance between the first icon and the second icon by the terminal, and the duration in which the first icon is in the stuck state.
  • step 203 may not be performed.
  • the inner and outer circular frames may be displayed not only outside the second icon, but also The inner circular frame and the outer circular frame are displayed on all the icons except the first icon, which are not limited herein.
  • the terminal detects the distance between the first icon and the second icon, and performs size determination with the first preset distance and the second preset distance.
  • the distance between the first icon and the second icon may be a distance between a center point of the first icon and a center point of the second icon.
  • the terminal may detect that the first icon is in a pause state
  • the duration of the state used to determine the size with the first preset duration.
  • the determining condition of the staying state is that the moving speed of the first icon is less than the preset speed threshold, that is, as long as the moving speed of the first icon is less than the preset speed threshold, the staying state is in the staying state, regardless of the first
  • the icon is still at a point (speed value is 0), or is in motion.
  • speed value is 0
  • step 204 detects the distance between the first icon and the second icon, it is determined whether the condition “the distance between the first icon and the second icon is within the first distance interval” is satisfied, and step 205 detects that the first icon is in the After the duration of the stay state, it is judged whether the condition "the duration in which the first icon is in the stay state is greater than the first preset duration" is satisfied, and when both conditions are satisfied, the pair is prompted
  • the first icon and the second icon perform the first operation, and the order of judging the two conditions may be various:
  • step 204 is performed first, and then the step 205 is performed after the condition is met:
  • step 204 detecting a distance between the first icon and the second icon
  • the terminal may continue to perform step 204: detecting a distance between the first icon and the second icon;
  • the first icon continues to approach the second icon.
  • the terminal begins to perform step 205: detecting a duration in which the first icon is in the stay state; It can be understood that after step 205 is started, step 204 is also executed at the same time;
  • the terminal may continue to perform step 205: detecting the The duration of the first icon in the stay state;
  • the duration of the first icon being in the dwell state may be two cases: in the first case, the duration of the first icon being in the dwell state is greater than the first time in the first distance interval The second time is: the first icon continues to approach the second icon until the distance between the first icon and the second icon leaves the first distance interval, and enters the second distance interval, where the first icon is The duration of the stay state in the first distance interval is not greater than the first preset duration.
  • the terminal When it is determined that the distance between the first icon and the second icon is within the first distance interval, and the first map When the duration of the pause state is greater than the first preset duration, the terminal performs step 206;
  • the first icon continues to approach the second icon.
  • the terminal performs step 207.
  • the step 207 may be performed only when the duration of the first icon in the stay state is greater than the second preset duration; When it is determined that the distance between the first icon and the second icon is within the second distance interval, and the duration of the first icon in the stay state is not greater than the second preset duration, proceeding to step 205; when determining the first icon The distance from the second icon is in the second distance interval, and when the duration of the first icon in the stay state is greater than the second preset duration in the second distance interval, step 207 is performed.
  • step 205 is performed first, and step 204 is performed after the condition is met:
  • step 205 detecting a duration in which the first icon is in the stay state
  • step 205 is continued.
  • step 204 is performed to detect the distance between the first icon and the second icon; it can be understood that step 205 is also performed simultaneously. ;
  • the detected distance between the first icon and the second icon may be as follows:
  • the second case at this time, the distance between the first icon and the second icon is within the first distance interval, and the terminal removes the duration of the stay state outside the first distance interval from the duration of the recorded stay state, and intercepts When the distance between the first icon and the second icon is within the first distance interval, the first icon is in the duration of the stay state, determining whether it is greater than the first preset duration; if greater than the first preset duration, executing Step 206: If it is not greater than the first preset duration, proceed to step 205: detecting the duration that the first icon is in the stay state; since both step 204 and step 205 are performed simultaneously, the subsequent execution process may Refer to the implementation process of scenario 1, which is not described here;
  • step 207 is performed
  • the step 207 may be performed only when the duration of the first icon in the stay state is greater than the second preset duration;
  • the terminal removes the duration of the stay state outside the second distance interval from the duration of the recorded stay state, and intercepts the first icon and
  • the first icon is in the duration of the stay state, determining whether it is greater than the second preset duration; and determining that the distance between the first icon and the second icon is in the second distance interval If the duration of the first icon in the staying state is not greater than the second preset duration in the second distance interval, step 205 is continued.
  • step 207 is performed.
  • the terminal may continue to perform step 204 and step 205. ;
  • the duration of the first icon being in the dwell state may be two cases: in the first case, the duration of the first icon being in the dwell state is greater than the first time in the first distance interval The second time is: the first icon continues to approach the second icon until the distance between the first icon and the second icon leaves the first distance interval, and enters the second distance interval, where the first icon is The duration of the stay state in the first distance interval is not greater than the first preset duration.
  • the terminal When it is determined that the distance between the first icon and the second icon is within the first distance interval, and the duration of the first icon in the stay state is greater than the first preset duration, the terminal performs step 206;
  • the first icon continues to approach the second icon.
  • the terminal performs step 207.
  • the step 207 may be performed only when the duration of the first icon in the stay state is greater than the second preset duration; Determining that the distance between the first icon and the second icon is within the second distance interval, and the first icon is at When the duration of the stay state is not greater than the second preset duration, step 204 and step 205 are continued; when the distance between the first icon and the second icon is determined to be within the second distance interval, and the second distance interval is When the duration of the first icon in the stay state is greater than the second preset duration, step 207 is performed.
  • the terminal in the process of moving the first icon to the second icon, the terminal also displays an animation of moving the first icon to the second icon.
  • the first icon and the second icon When it is determined that the distance between the first icon and the second icon is within the first distance interval, and the duration of the first icon in the stay state is greater than the first preset duration in the first distance interval, prompting the first The icon and the second icon perform a first operation, wherein the two end points of the first distance interval are respectively a first preset distance and a second preset distance, and the second preset distance is smaller than the first preset distance.
  • the prompting performs the first operation on the first icon and the second icon, and the first operation is not performed at this time, but only the animation effect when the first operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, for example, releasing the selection of the icon, the terminal will actually perform the first operation
  • the second is that the terminal receives the user's cancellation operation. For example, receiving an input of the user continuing to move the first icon, the terminal continues to move the first icon in response to the user's input, without performing the first operation.
  • the second operation is performed on the first icon and the second icon.
  • the prompting performs the second operation on the first icon and the second icon, and the second operation is not performed at this time, but only the animation effect when the second operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, for example, releasing the selection of the icon, the terminal will actually perform the second operation
  • the second is that the terminal receives the user's cancellation operation. For example, receiving an input of the user continuing to move the first icon, the terminal continues to move the first icon in response to the user's input, without performing the second operation.
  • the first operation may be a replacement or an extrusion operation
  • the second operation may be a merge operation.
  • the prompting to perform the first operation on the first icon and the second icon may include:
  • the first operation is a merge operation
  • the second operation is a replacement or an squeezing operation
  • the prompting to perform the second operation on the first icon and the second icon may include:
  • the distance between the center point of the first icon and the second icon is used as the distance between the first icon and the second icon, and the distance is used as the boundary of the operation judgment, and the duration of the staying state of the first icon is added.
  • the judgment of the time jointly determining whether to prompt to perform the first operation or the second operation, reduces the probability that the terminal generates a false response, and enhances the interaction capability of the terminal.
  • FIG. 3(a) there is a terminal interface with 7 icons, which are the icon of the application ABCDEF and a folder icon G.
  • the solid line box outside each icon indicates the size of the icon (such as 301).
  • the dotted line outside the icon indicates the size of the icon on the interface (as indicated by 302), where the small black dot in Figure 3(a) indicates the center point of the icon, and the large black dot indicates the user's finger press Location of residence;
  • the terminal detects the user's input: press and hold the icon F to move to the icon C;
  • the terminal responds to the user's input, and the control icon F moves to the icon C, and determines the icon F as the first icon;
  • the icon F passes through the folder icon G at a speed value exceeding the first preset speed, and the terminal determines that the folder icon G is not the second icon;
  • the speed decreases, and is smaller than the second preset speed.
  • the terminal determines that the next icon in the moving direction is the user's destination icon, that is, determines that the icon C is the second icon;
  • the terminal is centered on the center point of the icon C, and the outer frame is displayed at a radius of 0.3 times the length of the side of the grid where the icon is located (the first preset distance).
  • the side length of the grid where the icon is located (the second preset distance) is a radius, and the inner round frame is displayed so that the user can clearly judge the distance;
  • the icon F continues to approach the icon C, and the terminal continuously calculates the distance between the icon C and the center point of the icon F and compares it with the first preset distance and the second preset distance;
  • the terminal detects whether the speed value of the icon F is less than the preset speed threshold, and if it is less than the preset speed threshold, determines to generate a stay state, and if the stay state is generated, detects the duration of the stay state and compares with the first preset duration;
  • the distance between the center point of the icon F and the center point of the icon C is smaller than the first preset distance, and when the second preset distance is greater than the second preset distance, the center point of the icon F is located at the inner round frame and the outer point.
  • the terminal detects that the icon F occasionally generates a stay state, but the duration of each stay state is not up to the first preset time length, so the push operation of the icon C and the icon F is not prompted;
  • the center point of the icon F is located in the inner round frame, and the terminal detects that the icon F is generated.
  • the prompt performs a merge operation on the icon C and the icon F, and displays an animation effect after the icon C and the icon F are merged into one folder icon, as shown in FIG. 3( e );
  • the terminal receives the input of the user releasing the finger, performs a merge operation on the icon C and the icon F, and merges the icon C and the icon F into one folder icon.
  • the distance between the first icon and the second icon is used as a determination condition for whether to perform an operation. In an actual application, whether the first icon enters the second icon or not is determined as a condition for performing an operation.
  • another embodiment of a method for controlling an icon in an embodiment of the present invention includes:
  • the terminal When the terminal is in the icon editing state, the first input of the user is detected, and the first icon and the second icon are displayed on the terminal, and the first icon and the second icon are two different icons.
  • the terminal After detecting the first input, the terminal moves the first icon to the second icon in response to the detected first input.
  • the first operation is performed on the first icon and the second icon.
  • the prompting performs the first operation on the first icon and the second icon, and the first operation is not performed at this time, but only the animation effect when the first operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, for example, releasing the selection of the icon, the terminal will actually perform the first operation
  • the second is that the terminal receives the user's cancellation operation. For example, receiving an input of the user continuing to move the first icon, the terminal continues to move the first icon in response to the user's input, without performing the first operation.
  • the first icon is displayed on the interface as a two-dimensional graphic whose area is not 0, and is composed of a plurality of points
  • the first area of the second icon is also a two-dimensional figure whose area is not 0, and can be set.
  • the first area that enters the second icon for any point on the first icon is determined to be that the first icon enters the first area of the second icon, and may also be set as the part of the first icon that enters the second icon. In an area, it is determined that the first icon enters the first area of the second icon, and the proportion of the part of the first icon can be set as needed, for example, it can be set to occupy 1/8 of the area of the first icon.
  • the first area of the second icon determines that the first icon enters the first area of the second icon, and may be set to a further other ratio, which is not limited herein.
  • the prompting performs the second operation on the first icon and the second icon, and the second operation is not performed at this time, but only the animation effect when the second operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, such as releasing the selection of the icon, the terminal will actually perform the second operation, and the second is that the terminal receives the user's cancellation.
  • the operation for example, receives an input from the user to continue moving the first icon, and at this time, the terminal continues to move the first icon in response to the user's input without performing the second operation.
  • the manner in which the first icon enters the first area of the second icon may be determined in various manners, and details are not described herein.
  • the first icon must first enter the first area of the first icon before entering the second area of the first icon, so that when the first icon enters the second area of the first icon, No longer determining whether the first icon is located in the first area of the first icon and whether the first icon is in the staying state, whether the first area is in a dwell state or the like, and determining whether the first icon is in the second area. It is determined whether or not the judgment condition of the second operation is performed in the stay state or the like.
  • the third operation is not directly prompted to perform the first operation, and the duration of the first icon in the stay state is determined to be greater than the third pre- After the duration is set, the first operation is prompted, so that if the second operation needs to be performed on the first icon and the second icon, when the first icon approaches the second icon, when the first region of the second icon is passed It will not prompt the execution of the first operation due to the instantaneous stay state of the first icon, which greatly reduces the probability of the terminal generating a false response, without affecting the user's original operating habits, and enhances The interactive ability of the terminal.
  • FIG. 5 another embodiment of the method for controlling an icon in the embodiment of the present invention includes:
  • the terminal When the terminal is in the icon editing state, the first input of the user is detected, and the first icon and the second icon are displayed on the terminal, and the first icon and the second icon are two different icons.
  • the terminal After detecting the first input, the terminal moves the first icon to the second icon in response to the detected first input.
  • the terminal moves the first icon to the second icon according to the first input, and the second icon is the destination icon of the user, and the terminal may be based on the user input in the first input.
  • An icon moves direction, speed, etc. to determine which one is the second icon, ie, the user's destination icon, such as the user pressing the first icon to move in one direction, then the icon in the moving direction (eg, from near to far 3
  • the possible icons are ABC.
  • the second icon may be the second icon.
  • the terminal detects the speed at which the first icon moves. The first icon passes through the icon at a speed exceeding the first preset speed value.
  • the operation of the first icon represented by the first input may also have a plurality of ways of determining the second icon, which is not limited herein.
  • the terminal may display a boundary between the first area and the second area of the second icon.
  • the first area or the second area may be in various regular or irregular shapes.
  • the second area may be centered on a center point of the second icon, and the third pre- a circular area having a radius of a radius, the first area being an area not including the second area in a circular area having a center point of the second icon and a radius of the fourth preset distance
  • the fourth preset distance is greater than the third preset distance; optionally, the second area is an area within an inner box of the second icon, each side of the inner border is The distance of the center point of the second icon is a fifth preset distance, and the first area is an area that does not include the first area in an outer box of the second icon, each side of the outer box
  • the distance from the center point of the second icon is a sixth preset distance, and the sixth preset distance is greater than the fifth preset distance; the first area or the second area may also be in various other shapes. There is no limit here.
  • the display of the boundary between the first area and the second area is only a friendly display of the interface to the user, and the user is more aware of the range of the first area and the second area set by the terminal, whether or not the actual prompt Performing the first operation or the second operation depends on whether the terminal determines whether the first icon enters the first area and the second area, and the duration in which the first icon is in the stay state.
  • step 503 may not be performed.
  • not only the first area and the second area of the second icon may be displayed, but also may be displayed.
  • the first area and the second area of all the icons on the interface except the first icon are not limited herein.
  • the terminal detects a position of the first icon relative to the first area and the second area of the second icon, and determines whether the first icon enters the second The first area or the second area of the icon.
  • the first icon is displayed on the interface as a two-dimensional graphic whose area is not 0, and is composed of a plurality of points, and the first area of the second icon is also a two-dimensional figure whose area is not 0, and can be set.
  • the first area that enters the second icon for any point on the first icon is determined to be that the first icon enters the first area of the second icon, and may also be set as the part of the first icon that enters the second icon. In an area, it is determined that the first icon enters the first area of the second icon, and the proportion of the part of the first icon can be set as needed, for example, it can be set to occupy 1/8 of the area of the first icon.
  • the first area of the second icon determines that the first icon enters the first area of the second icon, and may be set to a further other ratio, which is not limited herein.
  • the process of determining whether the first icon enters the second area of the second icon is similar to the process of determining whether the first icon has entered the first area, and details are not described herein.
  • the terminal may detect a duration in which the first icon is in a stay state, and is used for performing size determination with the third preset duration.
  • the determining condition of the staying state is that the moving speed of the first icon is less than the preset speed threshold, that is, as long as the moving speed of the first icon is less than the preset speed threshold, the staying state is in the staying state, regardless of the first
  • the icon is still at a point (speed value is 0), or is in motion.
  • speed value is 0
  • step 504 determines that the condition “the first icon enters the first area of the second icon” Whether it is satisfied, after step 505 detects that the first icon is in the pause state, it determines whether the condition "the duration in which the first icon is in the stay state is greater than the third preset duration in the first region" is satisfied.
  • the first operation is performed on the first icon and the second icon, and the order of the two conditions can be determined in multiple ways:
  • step 504 is performed first, and after the condition is met, step 505 is performed:
  • step 504 detecting a position of the first icon relative to the first area and the second area of the second icon;
  • the terminal may continue to perform step 504: detecting the first icon relative to the second icon. The location of the first area and the second area;
  • step 505 detecting the duration that the first icon is in the stay state; it can be understood that after step 505 is started, step 504 is also performed simultaneously;
  • the terminal may continue to perform step 505: detecting the first The duration of the icon in the pause state;
  • the first icon In the first area, there may be two cases in which the first icon is in the pause state.
  • the duration of the first icon in the stay state is greater than the third preset in the first area.
  • the second case is: the first icon continues to approach the second icon until the first icon enters the second area, and the duration of the first icon in the first area is not greater than the third Preset time.
  • the terminal when it is determined that the first icon enters the first area, and the duration of the first icon in the first area is greater than the third preset time length, the terminal performs step 506;
  • the first icon continues to approach the second icon.
  • the terminal performs step 507.
  • the method may also be configured to perform the step 507 when the duration of the first icon in the stay state is greater than the fourth preset time period; In the second area, and when the duration of the first icon in the staying state is not greater than the fourth preset duration in the second area, proceeding to step 505; when determining that the first icon enters the second area, and When the duration of the first icon in the second state is greater than the fourth preset duration, step 507 is performed.
  • step 5 step 505 is performed first, and step 504 is performed after the condition is met:
  • step 505 detecting a duration in which the first icon is in the stay state
  • step 505 is continued.
  • step 504 is started to: detecting the first icon relative to the first region and the second region of the second icon Position; it can be understood that step 505 is also performed at the same time;
  • the detected position of the first icon relative to the first area and the second area of the second icon may be as follows:
  • step 504 detecting the position of the first icon relative to the first area and the second area of the second icon; since both step 504 and step 505 are performed simultaneously, the subsequent execution process may refer to The implementation process of Option 4 will not be repeated here;
  • the first icon enters the first area of the second icon, and the terminal removes the duration of the stay state outside the first area from the duration of the recorded stay state, and intercepts the first icon. If the icon is in the first distance interval, the first icon is in the duration of the stay state, and it is determined whether it is greater than the third preset duration; if it is greater than the third preset duration, step 506 is performed; if not greater than the third If the preset duration is long, proceed to step 505: detecting the duration that the first icon is in the stay state; since both step 504 and step 505 are performed simultaneously, the subsequent execution process may refer to the execution process of the fourth scheme, where No remarks;
  • the third case the first icon enters the second area, and step 507 is performed;
  • the method may also be configured to perform the step 507 when the duration of the first icon in the stay state is greater than the fourth preset time period;
  • the terminal removes the duration of the stay state outside the second area from the duration of the recorded stay state, and intercepts the duration of the first icon in the stay state when the first icon is in the second area Time, determining whether it is greater than a fourth preset duration; when it is determined that the first icon enters the second region, and the duration of the first icon in the stay state in the second region is not greater than the fourth preset duration, Proceed to step 505.
  • step 507 is performed.
  • step 504 and step 505 are performed simultaneously:
  • the terminal may continue to perform steps 504 and 505;
  • the terminal may continue to perform steps 504 and 505;
  • the first icon In the first area, there may be two cases in which the first icon is in the pause state.
  • the duration of the first icon in the stay state is greater than the third preset in the first area.
  • the second case is: the first icon continues to approach the second icon until the first icon enters In the second area, the duration in which the first icon is in the staying state in the first area is not greater than the third preset time length.
  • the terminal When it is determined that the first icon enters the first area, and the duration of the first icon in the first area is greater than the third preset time length, the terminal performs step 506;
  • the first icon continues to approach the second icon.
  • the terminal performs step 507.
  • the method may also be configured to perform the step 507 when the duration of the first icon in the stay state is greater than the fourth preset time period; In the second area, and in the second area, when the duration of the first icon in the stay state is not greater than the fourth preset time period, step 504 and step 505 are continued; when the first icon is determined to enter the second area And when the duration of the first icon in the staying state in the second area is greater than the fourth preset duration, step 507 is performed.
  • the terminal in the process of moving the first icon to the second icon, the terminal also displays an animation of moving the first icon to the second icon.
  • the prompt performs a first operation on the first icon and the second icon.
  • the prompting performs the first operation on the first icon and the second icon, and the first operation is not performed at this time, but only the animation effect when the first operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, for example, releasing the selection of the icon, the terminal will actually perform the first operation
  • the second is that the terminal receives the user's cancellation operation. For example, receiving an input of the user continuing to move the first icon, the terminal continues to move the first icon in response to the user's input, without performing the first operation.
  • the prompt performs a second operation on the first icon and the second icon.
  • the first icon and the second icon perform a second operation.
  • the prompting performs the second operation on the first icon and the second icon, and the second operation is not performed at this time, but only the animation effect when the second operation is performed is displayed on the terminal, and then There may be two cases.
  • the first one is that the terminal will receive the user's confirmation operation, for example, releasing the selection of the icon, the terminal will actually perform the second operation
  • the second is that the terminal receives the user's cancellation operation. For example, receiving an input of the user continuing to move the first icon, the terminal continues to move the first icon in response to the user's input, without performing the second operation.
  • the first operation may be a replacement or an squeezing operation
  • the second operation may be a merging operation
  • the prompting to perform the first operation on the first icon and the second icon may include:
  • the first operation is a merge operation
  • the second operation is a replacement or an squeezing operation
  • the prompting to perform the second operation on the first icon and the second icon may include:
  • whether the first icon enters the first area or the second area of the second icon, and the judgment of the duration of the first icon in the first area or the second area is determined. Whether to prompt to perform the first operation or the second operation reduces the probability that the terminal generates a false response, and enhances the interaction capability of the terminal.
  • the interface of a terminal has seven icons on the interface, which are an icon of the application ABCDEF and a folder icon G, and the first operation is a squeeze operation, and the second operation is a merge operation. Operation, assuming that the user wishes to perform a merge operation with the icon F and the icon C, wherein a small black dot in FIG. 6(a) indicates a center point of the icon, and a large black dot indicates a position where the user's finger is pressed;
  • the terminal detects the user's input: press and hold the icon F to move to the icon C;
  • the terminal responds to the user's input, and the control icon F moves to the icon C, and determines the icon F as the first icon;
  • the icon F passes through the folder icon G at a speed value exceeding the first preset speed, and the terminal determines that the folder icon G is not the second icon;
  • the speed decreases, and is smaller than the second preset speed.
  • the terminal determines that the next icon in the moving direction is the user's destination icon, that is, determines that the icon C is the second icon;
  • the terminal displays an inner box and an outer box of the icon C, and the inner area is the second area of the icon C, and the icon C is between the inner box and the outer box.
  • the distance between each side of the inner box and the center point of the icon C is 0.6 times the side length of the grid in which the icon is located (the fifth preset distance), that is, the second area coincides with the area where the icon is located;
  • the distance between each edge of the frame and the center point of the icon C is the side length of the grid in which the icon is located (the sixth preset distance), which coincides with the grid of the icon;
  • the icon F continues to approach the icon C, and the terminal detects whether the icon F enters the first area or the second area of the icon C;
  • the terminal detects whether the speed value of the icon F is less than the preset speed threshold, and if it is less than the preset speed threshold, determines to generate a stay state, and if the stay state is generated, detects the duration of the stay state and compares with the third preset duration;
  • the icon F enters the first area of the icon C, and does not enter the second area.
  • the terminal detects that the icon F occasionally generates a stay state, but the duration of each stay state does not reach the third state.
  • the preset duration is long, so the squeezing operation is not prompted for the icon C and the icon F;
  • the icon F enters the second area, and the terminal detects that the icon F has a dwell state, and prompts to perform a merge operation on the icon C and the icon F, and the display merges the icon C and the icon F into one folder icon.
  • the subsequent animation effect is shown in Figure 6(e);
  • the terminal receives the input of the user releasing the finger, performs a merge operation on the icon C and the icon F, and merges the icon C and the icon F into one folder icon.
  • an embodiment of the terminal in the embodiment of the present invention includes:
  • the first display module 701 is configured to display the first icon and the second icon;
  • the first detecting module 702 is configured to detect a first input of the user
  • the first response module 703 is configured to move the first icon to the second icon in response to the first input detected by the first detecting module 702;
  • a first prompting module 704 configured to determine, when the distance between the first icon and the second icon is within a first distance interval, and the duration in which the first icon is in a stay state in the first distance interval When the first preset duration is greater than the first preset duration, the first operation is performed on the first icon and the second icon, where the two endpoints are respectively a first preset distance and a second preset distance, The second preset distance is less than the first preset distance;
  • a second prompting module 705 configured to: when determining that a distance between the first icon and the second icon is within a second distance interval, and when the first icon is in the staying state in the second distance interval And prompting to perform a second operation on the first icon and the second icon, where two endpoints of the second distance interval are 0 and the second preset distance, respectively, and the second preset distance is not less than 0.
  • the second operation is an operation different from the first operation.
  • the first prompt module 704 prompts to perform the first operation, such that if the second operation needs to be performed on the first icon and the second icon, the first icon approaches the second icon.
  • the first distance interval is passed, it is determined whether the duration of the stay state is greater than the first preset duration. If the duration is not greater than the first preset duration, it indicates that the first icon and the second icon are not required to be executed.
  • the first prompting module 704 does not prompt the execution of the first operation because the first icon generates an instantaneous stay state, thereby greatly reducing the probability of the terminal generating a false response probability without affecting The original operating habits of the user enhance the interaction ability of the terminal.
  • FIG. 8 another embodiment of the terminal in the embodiment of the present invention includes:
  • the first display module 801 is configured to display the first icon and the second icon;
  • a first detecting module 802 configured to detect a first input of the user
  • the first response module 803 is configured to move the first icon to the second icon in response to the first input detected by the first detecting module 802;
  • a first prompting module 804 configured to determine, when the distance between the first icon and the second icon is within a first distance interval, and the duration in which the first icon is in a stay state in the first distance interval When the first preset duration is greater than the first preset duration, the first operation is performed on the first icon and the second icon, where the two endpoints are respectively a first preset distance and a second preset distance, The second preset distance is less than the first preset distance;
  • a second prompting module 805 configured to: when determining that a distance between the first icon and the second icon is within a second distance interval, and when the first icon is in the staying state in the second distance interval And prompting to perform a second operation on the first icon and the second icon, where two endpoints of the second distance interval are 0 and the second preset distance, respectively, and the second preset distance is not less than 0, the second operation is an operation different from the first operation;
  • the terminal further includes:
  • a second detecting module 806, configured to detect a distance between the first icon and the second icon
  • a third detecting module 807 configured to detect a duration that the first icon is in the stay state
  • the second detecting module 806 is further configured to: when determining that the distance between the first icon and the second icon is not in the first distance interval and the second distance interval, detecting the first icon and the The distance of the second icon;
  • the third detecting module 807 is further configured to: when determining that a distance between the first icon and the second icon is within the first distance interval, and that the first icon is in the first distance interval Detecting a duration in which the first icon is in the stay state when a duration of the stay state is not greater than the first preset duration;
  • the first display module 801 is further configured to display an inner circular frame and an outer circular frame with a center point of the second icon as a center, and a radius of the inner circular frame is set to the first a preset distance, the radius of the outer circular frame is set to the first preset distance;
  • the first operation may be a replacement or an squeezing operation
  • the second operation may be a merging operation
  • the first prompting module 804 may be specifically configured to: when determining the first icon and the second icon The distance in the first distance interval, the duration in which the first icon is in the stay state is greater than the first preset duration, and determining the initial position of the first icon and the second icon Prompting to perform a replacement operation on the first icon and the second icon when the initial positions are adjacent; or, when determining that the distance between the first icon and the second icon is within a first distance interval, in the When the duration of the first icon in the stay state is greater than the first preset duration in a distance interval, and determining that the initial position of the first icon is adjacent to the initial position of the second icon, prompting the An icon and a second icon perform an extrusion operation;
  • the second prompting module 805 is specifically configured to: when determining that the distance between the first icon and the second icon is within a second distance interval, and the first time in the second distance interval When the duration of the icon in the stay state is greater than the second preset duration, prompting the first icon and the The second icon performs a second operation;
  • the third detecting module 807 is further configured to: when determining that the distance between the first icon and the second icon is within the second distance interval, and in the second distance interval, The duration of the first icon being in the stay state is detected when the duration of the first icon in the stay state is not greater than the second preset duration.
  • the second detecting module 806 detects the distance between the first icon and the second icon
  • the third detecting module 807 detects the duration of the first icon in the stuck state, and jointly determines whether to prompt to perform the first operation or the second operation. , reducing the probability of the terminal generating a false response and improving the user experience.
  • the distance between the first icon and the second icon is used as a determination condition for whether to perform an operation. In an actual application, whether the first icon enters the second icon or not is determined as a condition for performing an operation.
  • another embodiment of the terminal in the embodiment of the present invention includes:
  • a second display module 901, configured to display the first icon and the second icon
  • a fourth detecting module 902 configured to detect a first input of the user
  • a second response module 903, configured to move the first icon to the second icon in response to the first input detected by the fourth detecting module
  • a third prompting module 904 configured to: when determining that the first icon enters a first area of the second icon, and wherein the duration of the first icon in the staying state in the first area is greater than a third preset When the duration is long, prompting to perform the first operation on the first icon and the second icon;
  • a fourth prompting module 905 configured to: when determining that the first icon enters a second area of the second icon, and when the first icon is in the staying state in the second area, prompting to The first icon and the second icon perform a second operation, a center point of the second icon is in the second area, the second area does not overlap with the first area, and the second area is Surrounded by the first area.
  • the third prompting module 904 when the first icon enters the first area of the second icon and is in the staying state, the third prompting module 904 does not directly prompt to perform the first operation, and needs to determine that the first icon is in the stay state. After the time is longer than the third preset duration, the third prompting module 904 prompts to perform the first operation, so that if the second operation needs to be performed on the first icon and the second icon, the first icon is in the process of approaching the second icon.
  • the erroneous operation of performing the first operation is not prompted due to the instantaneous stay state of the first icon, which greatly reduces the probability of the terminal generating a false response, and at the same time It does not affect the user's original operating habits and enhances the terminal's interactive ability.
  • FIG. 10 another embodiment of the terminal in the embodiment of the present invention includes:
  • a second display module 1001, configured to display the first icon and the second icon
  • the fourth detecting module 1002 is configured to detect a first input of the user
  • the second response module 1003 is configured to move the first icon to the second icon in response to the first input detected by the fourth detecting module;
  • a third prompting module 1004 configured to: when determining that the first icon enters a first area of the second icon, and wherein the duration of the first icon in the staying state in the first area is greater than a third preset When the duration is long, prompting to perform the first operation on the first icon and the second icon;
  • a fourth prompting module 1005 configured to: when determining that the first icon enters a second area of the second icon, and when the first icon is in the staying state in the second area, prompting to The first icon and the second icon perform a second operation, a center point of the second icon is in the second area, the second area does not overlap with the first area, and the second area is Surrounded by the first area;
  • the terminal further includes:
  • a fifth detecting module 1006, configured to detect a position of the first icon relative to the first area and the second area of the second icon
  • a sixth detecting module 1007 configured to detect a duration that the first icon is in the stay state
  • the fifth detecting module 1006 is further configured to: when determining that the first icon does not enter the first area of the second icon, detecting the first area and the first area of the first icon relative to the second icon The location of the two areas;
  • the sixth detecting module 1007 is further configured to: when determining that the first icon enters the first area of the second icon, and the duration of the first icon in the staying state in the first area is not greater than When the third preset time is long, the duration of the first icon being in the stay state is detected.
  • the second display module 1001 is further configured to display a boundary between the first area and the second area;
  • the first operation may be a replacement or an squeezing operation
  • the second operation may be a merging operation
  • the third prompting module 1004 may be specifically configured to: when determining that the first icon enters the second icon An area in which the duration of the first icon in the stay state is greater than the third preset duration, and determining that the initial position of the first icon is adjacent to the initial position of the second icon , Prompting to perform a replacement operation on the first icon and the second icon; or, when determining that the first icon enters a first area of the second icon, the first icon is in a stay state in the first area When the duration of the first icon is greater than the third preset duration, and determining that the initial position of the first icon is adjacent to the initial position of the second icon, prompting to perform an unscrewing operation on the first icon and the second icon;
  • the second area is a circular area with a center of the second icon as a center and a radius of a third preset distance, where the first area is at the center of the second icon The point is a center of the circle, and the area of the second area is not included in the circular area having the radius of the fourth preset distance, and the fourth preset distance is greater than the third preset distance;
  • the second area is an area in an inner box of the second icon, and a distance between each side of the inner frame and a center point of the second icon is a fifth preset distance.
  • the first area is an area that does not include the first area in an outer box of the second icon, and a distance between each side of the outer box and a center point of the second icon is a sixth a preset distance, the sixth preset distance being greater than the fifth preset distance;
  • the fourth prompting module 1005 is specifically configured to: when determining that the first icon enters a second area of the second icon, and in the second area, the first icon is in the stay When the duration of the state is greater than the fourth preset duration, prompting to perform a second operation on the first icon and the second icon;
  • the sixth detecting module 1007 is further configured to: when determining that the first icon enters a second area of the second icon, and the first icon is in the stay in the second area When the duration of the state is not greater than the fourth preset duration, the duration of the first icon being in the stay state is detected.
  • the third prompting module 1004 and the fourth prompting module 1005 whether the first icon enters the first area or the second area of the second icon, plus the first icon in the first area or the second area.
  • the judgment of the duration of the stay state jointly determining whether to prompt to perform the first operation or the second operation, reduces the probability that the terminal generates a false response, and enhances the interaction capability of the terminal.
  • FIG. 11 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • Another embodiment of the terminal 1100 in the embodiment of the present invention includes:
  • the input device 1101, the output device 1102, the processor 1103, and the memory 1104 (wherein the number of processors 1103 in the terminal 1100 may be one or more, and one processor 1103 is taken as an example in FIG. 11).
  • the input device 1101, the output device 1102, the processor 1103, and the memory The 1104 can communicate via a bus or other means, wherein the connection through the bus is taken as an example in FIG.
  • the input device 1101 is configured to implement interaction between the user and the electronic device and/or information input into the electronic device.
  • the input device 1101 can receive numeric or character information input by a user to generate a signal input related to user settings or function control.
  • the input device 1101 may be a touch panel.
  • a touch panel also known as a touch screen or touch screen, collects operational actions that the user touches or approaches on.
  • the user uses an action of any suitable object or accessory such as a finger or a stylus on or near the touch panel, and drives the corresponding connecting device according to a preset program.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller; the touch controller receives the electrical signal from the touch detection device, and It is converted into contact coordinates and sent to the processor 1103.
  • the touch controller can also receive commands from the processor 1103 and execute them.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the processor 1103 is a control center for an electronic device that connects various portions of the entire electronic device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1104, and recalling data stored in the memory 1104. To perform various functions of the electronic device and/or process data.
  • the processor 1103 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs having the same function or different functions.
  • the processor 1103 may include only a central processing unit (CPU), or may be a GPU, a digital signal processor (DSP), and a control chip (for example, a baseband) in a communication unit. A combination of chips).
  • the CPU may be a single operation core, and may also include multiple operation cores.
  • Output device 1102 includes, but is not limited to, an image output unit.
  • the image output unit is used to output text, pictures, and/or video.
  • the image output unit may include a display panel, such as an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or a field emission display (FED). Display panel.
  • the image output unit may comprise a reflective display, such as an electrophoretic display, or a display utilizing an Interferometric Modulation of Light.
  • the image output unit may comprise a single display or multiple displays of different sizes.
  • the touch panel used by the input device 1101 can also serve as an output device at the same time. Display panel of 1102.
  • the touch panel detects a touch or proximity gesture operation thereon, it is transmitted to the processor 1103 to determine the type of the touch event, and then the processor 1103 provides a corresponding visual output on the display panel according to the type of the touch event.
  • the input device 1101 and the output device 1102 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel and the display panel may be integrated into one. Input and output functions of electronic devices.
  • the image output unit may display various graphical user interfaces (GUIs) as virtual control components, including but not limited to windows, scroll axes, icons, and scrapbooks, for the user to touch. The way to operate.
  • GUIs graphical user interfaces
  • the memory 1104 can be used to store software programs and modules, and the processor 1103 performs various functional applications of the electronic device and implements data processing by running software programs and modules stored in the storage unit.
  • the memory 1104 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the electronic device. Use the created data (such as audio data, phone book, etc.).
  • the memory 1104 may include a volatile memory, such as a nonvolatile volatile random access memory (NVRAM) or a phase change random access memory (PRAM).
  • NVRAM nonvolatile volatile random access memory
  • PRAM phase change random access memory
  • MRAM magnetoresistive random access memory
  • non-volatile memory such as at least one disk storage device, electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory) , referred to as EEPROM), flash memory devices, such as NOR flash memory or NAND flash memory.
  • the nonvolatile memory stores an operating system and applications executed by the processor 1103.
  • the processor 1103 loads running programs and data from the non-volatile memory into memory and stores the digital content in a plurality of storage devices.
  • the operating system includes various components and/or drivers for controlling and managing conventional system tasks such as memory management, storage device control, power management, and the like, as well as facilitating communication between various hardware and software.
  • the operating system may be an Android system of Google Inc., an iOS system developed by Apple Corporation, a Windows operating system developed by Microsoft Corporation, or an embedded operating system such as Vxworks.
  • the application includes any application installed on the electronic device, including but not limited to browsers, email, instant messaging services, word processing, keyboard virtualization, widgets, encryption, digital rights management, voice recognition, Voice replication, positioning (such as those provided by GPS), Music playback and more.
  • the terminal may also include a communication unit, a power source, and the like.
  • the communication unit is configured to establish a communication channel through which the terminal connects to the remote server and media data from the remote server.
  • the communication unit may include a wireless local area network (Wireless Local Area Network) module, a Bluetooth module, a baseband module, and the like, and a radio frequency (RF) circuit corresponding to the communication module.
  • RF radio frequency
  • W-CDMA Wideband Code Division Multiple Access
  • HSDPA High Speed Downlink Packet Access
  • the communication module is used to control communication of components in the terminal, and can support Direct Memory Access.
  • the power supply is used to power different parts of the electronic device to maintain its operation.
  • the power source may be a built-in battery, such as a common lithium ion battery, a nickel hydride battery, etc., and an external power source that directly supplies power to the electronic device, such as an AC adapter.
  • the power source may also be more widely defined, and may further include, for example, a power management system, a charging system, a power failure detecting circuit, a power converter or an inverter, and a power status indicator (such as light emitting diodes, as well as any other components associated with the generation, management and distribution of electrical energy of electronic devices.
  • the input device 1101 is specifically configured to detect a first input of the user
  • the processor 1103 is configured to perform the following steps by calling an operation instruction stored in the memory 1104:
  • the instruction output unit prompts to perform a first operation on the first icon and the second icon, where the two endpoints of the first distance interval are a first preset distance and a second preset distance, respectively, the second preset distance Less than the first preset distance;
  • the instruction output unit prompts to The first icon and the second icon perform a second operation, where two end points of the second distance interval are 0 and the second preset distance, respectively, and the second preset distance is not less than 0, the first The second operation is a different operation from the first operation;
  • the output device 1102 is configured to prompt to perform a first operation on the first icon and the second icon according to an instruction of the processor 103, or prompt to perform a second operation on the first icon and the second icon;
  • the processor 1103 further performs the following steps:
  • the detecting continues to detect the duration that the first icon is in the stay state
  • the processor 1103 further performs the following steps:
  • the distance between the first icon and the second icon is specifically: a distance between a center point of the first icon and a center point of the second icon;
  • the first operation is a replacement or squeezing operation
  • the second operation is a merging operation
  • the step of performing the first operation of the first icon and the second icon is performed when the prompting is performed
  • the processor 1103 specifically performs the following steps:
  • the processor 1103 specifically performs the following steps:
  • the processor 1103 further performs the following steps:
  • the input device 1101 captures a long press operation of the finger on each thumbnail of the folder, transfers the operation to the processor 1103, the processor 1103 issues an instruction to the output device 1102, and the output device 1102 instructs the icon to enter the editing state.
  • the input device 1101 detects an operation of the user's finger dragging the icon, and transmits the operation (including a drag parameter, such as a parameter required to calculate the coordinates of the icon center point) to the processor 1103, and the processor 1103 calculates the drag speed and from the memory 1104.
  • the preset speed threshold is read out, and the current drag speed and the previous preset speed threshold are determined.
  • the processor 1103 When the drag speed is less than the preset threshold, the user's finger drag is determined to calculate the first icon center point and The first distance of the second icon center point and the first dwell time, the memory 1104 stores the calculation result, and the processor 1103 reads the preset distance value and the preset dwell time threshold from the memory 1104, when the first distance is greater than the preset The processor 1103 compares the first dwell time with the preset dwell time when the threshold is greater than the preset dwell time. When the processor 1103 to the output unit 1102 transmits an instruction to replace or squeeze the target icon, when the distance is less than a first predetermined distance threshold, the processor 1103 transmits a command prompt to the new document output device 1102.
  • the distance between the first icon and the second icon is used as a determination condition for whether to perform an operation. In an actual application, whether the first icon enters the second icon or not is determined as a condition for performing an operation.
  • Another embodiment of the terminal in the embodiment of the invention includes:
  • the input device 1101 is specifically configured to detect a first input of the user
  • the processor 1103 is configured to perform the following steps by calling an operation instruction stored in the memory 1104:
  • the instruction output unit When it is determined that the first icon enters the first area of the second icon, and the duration of the first icon in the staying state in the first area is greater than the third preset duration, the instruction output unit prompts the pair The first icon and the second icon perform a first operation;
  • the instruction output unit prompts to the first icon and the The second icon performs a second operation, the center point of the second icon is in the second area, the second area does not overlap the first area, and the second area is the first area Surrounded by
  • the output device 1102 is configured to prompt to perform a first operation on the first icon and the second icon according to an instruction of the processor 103, or prompt to perform a second operation on the first icon and the second icon;
  • the processor 1103 is further configured to perform the following steps:
  • the second area is a circular area having a center of the second icon as a center and a radius of the third preset distance, wherein the first area is The center point of the two icons is a center of the circle, and the area of the second area is not included in the circular area having the radius of the fourth preset distance, and the fourth preset distance is greater than the third preset distance;
  • the second area is an area in an inner box of the second icon, and a distance between each side of the inner frame and a center point of the second icon is a fifth preset distance, the first The area is an area that does not include the first area in an outer box of the second icon, and a distance between each side of the outer box and a center point of the second icon is a sixth preset distance, The sixth preset distance is greater than the fifth preset distance;
  • the processor 1103 is further configured to perform the following steps:
  • the first operation is a replacement or squeezing operation
  • the second operation is a merging operation
  • the step of performing the first operation of the first icon and the second icon is performed when the prompting is performed
  • the processor 1103 specifically performs the following steps:
  • the processor 1103 further performs the following steps:
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit.

Abstract

本发明实施例公开了控制图标的方法和终端,用于在不影响用户现有操作习惯的前提下,解决在用户拖动图标时,终端误响应的问题。本发明实施例方法包括:检测用户的第一输入,响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动,当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作,当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作。

Description

触发终端的方法及相关设备
本申请要求于2014年9月4日提交中国专利局、申请号为201410448877.7、发明名称为“控制图标的方法和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通讯领域,尤其涉及控制图标的方法和终端。
背景技术
在终端的界面中,例如智能手机或电脑的界面,一般都设置有文件夹和各种应用程序或文件,用户可以通过文件夹去管理应用程序或文件,同时,用户也可以通过应用程序或文件的拖动操作来新建文件夹和重新调整界面上的图标布局。
控制图片的操作有很多种,例如有两种操作分别为:第一操作,第二操作。假设第一操作为替换/挤开操作,第二操作为新建文件夹合并图标的操作(简称合并操作)。称执行操作的两个图标分别为第一图标和第二图标。目前对这两种操作的判定方式一般为:长按第一图标,进入编辑模式;将第一图标向第二图标拖动,当拖动速度低于设定值时,系统判定为停留状态,若该第一图标与第二图标的距离小于第一预置距离,大于第二预置距离,且处于停留状态时,执行第一操作,该第一图标将第二图标替换或挤开;当距离小于第二预置距离且判定处于停留状态时,执行第二操作,新建一个文件夹将该第一图标与第二图标都放在该新建的文件夹中。
但是,在实际应用中,需要对第一图标和第二图标执行第二操作时,因为拖动图标总有由远及近的过程,经过第一预置距离与第二预置距离之间的距离区间时,容易使第一图标被捕获从而与第二图标进行第一操作,即产生了与用户期望不同的误操作,则可能需要用户多次尝试才能成功的实现第二操作。
发明内容
本发明实施例提供了控制图标的方法和终端,用于在不影响用户现有操作 习惯的前提下,解决在用户拖动图标时,终端误响应的问题。
本发明实施例第一方面提供了一种控制图标的方法,用于显示了第一图标和第二图标的终端,所述方法包括:
检测用户的第一输入;
响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,其中,所述第二预置距离小于所述第一预置距离;
当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0;
其中,所述第二操作为与所述第一操作不同的操作。
结合本发明实施例的第一方面,本发明实施例第一方面的第一种实现方式中,检测用户的第一输入之后,还包括:
检测所述第一图标与所述第二图标的距离;
检测所述第一图标处于所述停留状态的持续时间;
当确定所述第一图标与所述第二图标的距离不在所述第一距离区间和所述第二距离区间时,继续执行所述检测所述第一图标与所述第二图标的距离;
当确定所述第一图标与所述第二图标的距离在所述第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间不大于所述第一预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
结合本发明实施例的第一方面或第一方面的第一种实现方式,本发明实施例第一方面的第二种实现方式中,所述将第一图标向第二图标移动之后还包括:
以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为所述第二预置距离,所述外圆框的半径设定为所述第一预置距离。
结合本发明实施例的第一方面至第一方面的第二种实现方式中任一种实现 方式,本发明实施例第一方面的第三种实现方式中,所述第一图标与所述第二图标的距离具体为:所述第一图标的中心点与所述第二图标的中心点的距离。
结合本发明实施例的第一方面至第一方面的第三种实现方式中任一种实现方式,本发明实施例第一方面的第四种实现方式中,
所述第一操作为替换或挤开操作,所述第二操作为合并操作;或者,
所述第一操作为合并操作,所述第二操作为替换或挤开操作。
结合本发明实施例第一方面的第四种实现方式,本发明实施例第一方面的第五种实现方式中,所述提示对所述第一图标与第二图标执行第一操作包括:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者,
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
结合本发明实施例的第一方面的第一种实现方式至第一方面的第五种实现方式中任一种实现方式,本发明实施例第一方面的第六种实现方式中,所述当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,具体包括:
当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态的持续时间大于第二预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
结合本发明实施例第一方面的第六种实现方式,本发明实施例第一方面的第七种实现方式中,所述方法还包括:
当确定所述第一图标与所述第二图标的距离在所述第二距离区间内,且在所述第二距离区间内所述第一图标处于停留状态的持续时间不大于所述第二预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
本发明实施例第二方面提供了一种控制图标的方法,用于显示了第一图标和第二图标的终端,所述方法包括:
检测用户的第一输入;
响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内 所述第一图标处于停留状态的持续时间大于第三预置时长时,提示对所述第一图标与第二图标执行第一操作;
当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围。
结合本发明实施例的第二方面,本发明实施例第二方面的第一种实现方式中,检测用户的第一输入之后还包括:
检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
检测所述第一图标处于所述停留状态的持续时间;
当确定所述第一图标没有进入所述第二图标的第一区域时,继续执行所述检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间不大于第三预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
结合本发明实施例的第二方面或第二方面的第一种实现方式,本发明实施例第二方面的第二种实现方式中,
所述第二区域为以所述第二图标的中心点为圆心,以第三预置距离为半径的圆形区域,所述第一区域为在以所述第二图标的中心点为圆心,以第四预置距离为半径的圆形区域中不包括所述第二区域的区域,所述第四预置距离大于所述第三预置距离;
或,
所述第二区域为在所述第二图标的内方框内的区域,所述内边框的每条边与所述第二图标的中心点的距离为第五预置距离,所述第一区域为在所述第二图标的外方框内不包括所述第一区域的区域,所述外方框的每条边与所述第二图标的中心点的距离为第六预置距离,所述第六预置距离大于所述第五预置距离。
结合本发明实施例的第二方面至第二方面的第二种实现方式中任一种实现方式,本发明实施例第二方面的第三种实现方式中,所述将所述第一图标向所述第二图标移动的步骤之后还包括:
显示所述第一区域与所述第二区域的边界。
结合本发明实施例的第二方面至第二方面的第三种实现方式中任一种实现方式,本发明实施例第二方面的第四种实现方式中,
所述第一操作为替换或挤开操作,所述第二操作为合并操作;或者,
所述第一操作为合并操作,所述第二操作为替换或挤开操作。
结合本发明实施例第二方面的第四种实现方式,本发明实施例第二方面的第五种实现方式中,所述提示对所述第一图标与所述第二图标执行第一操作包括:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者,
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
结合本发明实施例第二方面的第一种实现方式至第二方面的第三种实现方式中任一种实现方式,本发明实施例第二方面的第六种实现方式中,所述当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作具体包括:
当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间大于第四预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
结合本发明实施例第二方面的第六种实现方式,本发明实施例第二方面的第七种实现方式中,所述方法还包括:
当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间不大于所述第四预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
本发明实施例第三方面提供了一种终端,包括:
第一显示模块,用于显示第一图标和第二图标;
第一检测模块,用于检测用户的第一输入;
第一响应模块,用于响应于所述第一检测模块检测到的所述第一输入,将所述第一图标向所述第二图标移动;
第一提示模块,用于当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,所述第二预置距离小于所述第一预置距离;
第二提示模块,用于当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0,所述第二操作为与所述第一操作不同的操作。
结合本发明实施例的第三方面,本发明实施例第三方面的第一种实现方式中,所述终端还包括:
第二检测模块,用于检测所述第一图标与所述第二图标的距离;
第三检测模块,用于检测所述第一图标处于所述停留状态的持续时间;
所述第二检测模块还用于,当确定所述第一图标与所述第二图标的距离不在所述第一距离区间和所述第二距离区间时,检测所述第一图标与所述第二图标的距离;
所述第三检测模块还用于,当确定所述第一图标与所述第二图标的距离在所述第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间不大于所述第一预置时长时,检测所述第一图标处于所述停留状态的持续时间。
结合本发明实施例的第三方面或第三方面的第一种实现方式,本发明实施例第三方面的第二种实现方式中,该第一显示模块还用于,以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为所述第二预置距离,所述外圆框的半径设定为所述第一预置距离。
结合本发明实施例第三方面的第一种实现方式或第三方面的第二种实现方式,本发明实施例第三方面的第三种实现方式中,所述第二提示模块具体用于,当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态的持续时间大于第二预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
结合本发明实施例第三方面的第三种实现方式,本发明实施例第三方面的第四种实现方式中,所述第三检测模块还用于,当确定所述第一图标与所述第二图标的距离在所述第二距离区间内,且在所述第二距离区间内所述第一图标处于停留状态的持续时间不大于所述第二预置时长时,检测所述第一图标处于所述停留状态的持续时间。
本发明实施例第四方面提供了一种终端,包括:
第二显示模块,用于显示第一图标和第二图标;
第四检测模块,用于检测用户的第一输入;
第二响应模块,用于响应于所述第四检测模块检测到的所述第一输入,将所述第一图标向所述第二图标移动;
第三提示模块,用于当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长时,提示对所述第一图标与第二图标执行第一操作;
第四提示模块,用于当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围。
结合本发明实施例的第四方面,本发明实施例第四方面的第一种实现方式中,所述终端还包括:
第五检测模块,用于检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
第六检测模块,用于检测所述第一图标处于所述停留状态的持续时间;
所述第五检测模块还用于,当确定所述第一图标没有进入所述第二图标的第一区域时,检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
所述第六检测模块还用于,当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间不大于第三预置时长时,检测所述第一图标处于所述停留状态的持续时间。
结合本发明实施例第四方面的第一种实现方式或第二种实现方式,本发明实施例第四方面的第三种实现方式中,该第二显示模块还用于,显示所述第一 区域与所述第二区域的边界。
结合本发明实施例第四方面的第二种实现方式或第三种实现方式,本发明实施例第四方面的第四种实现方式中,所述第四提示模块具体用于,当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间大于第四预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
结合本发明实施例第四方面的第四种实现方式,本发明实施例第四方面的第五种实现方式中,所述第六检测模块还用于,当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间不大于所述第四预置时长时,检测所述第一图标处于所述停留状态的持续时间。
从以上技术方案可以看出,本发明实施例具有以下优点:当第一图标与第二图标的距离在第一距离区间内,且确定该第一图标处于停留状态时,还需要确定在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长后,才提示执行该第一操作,这样,若需要对第一图标与第二图标执行第二操作,在第一图标接近第二图标的过程中,经过第一距离区间时,会确定处于停留状态的持续时间是否大于第一预置时长,若不大于该第一预置时长,则表示不需要对第一图标与第二图标执行第一操作,不会因该第一图标产生了瞬时的停留状态就提示执行第一操作这样的误操作,极大的降低了终端产生误响应的概率,同时又不影响用户原有的操作习惯,增强了终端的交互能力。
附图说明
图1为本发明实施例中控制图标的方法一个流程示意图;
图2为本发明实施例中控制图标的方法另一个流程示意图;
图3(a)至图3(e)为本发明实施例中控制图标的方法一个实例示意图;
图4为本发明实施例中控制图标的方法另一个流程示意图;
图5为本发明实施例中控制图标的方法另一个流程示意图;
图6(a)至图6(e)为本发明实施例中控制图标的方法另一个实例示意图;
图7为本发明实施例中终端一个结构示意图;
图8为本发明实施例中终端另一个结构示意图;
图9为本发明实施例中终端另一个结构示意图;
图10为本发明实施例中终端另一个结构示意图;
图11为本发明实施例中终端另一个结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
应当理解,尽管在本发明实施例中可能采用术语第一、第二等来描述各个图标或操作,但图标或操作不应限于这些术语。这些术语仅用来将图标或操作彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一图标也可以被称为第二图标,类似地,第二图标也可以被称为第一图标;同样的,第二操作也可以被称为第三操作等等,本发明实施例对此不做限制。
此处在本发明的描述中使用的术语是用于描述特定实施例的目的并且不旨在作为对本发明的限制。
术语“第一输入”表示终端接收到的用户对图标进行控制的信息,具体根据终端支持的输入方式的不同,该第一输入也有很多种表现形式。例如若终端支持的输入方式为触摸检测,则该第一输入可以包括手指接触终端(例如触摸屏)以及该手指的后续移动,也可以为触控笔接触终端(例如触摸屏)以及后续移动,或者其他物体接触终端(例如触摸屏)以及后续移动等,若终端支持的输入方式还包括悬浮触控,则该第一输入可以为终端上方物体的移动轨迹等,该第一输入还可以有很多其他的表现形式,例如用户通过鼠标或操作杆等选定某个图标并拖动等,此处不作具体限定。
术语“第一图标与所述第二图标的距离”具体的可以有很多种表现方式, 例如可以为第一图标的中心点与第二图标的中心点的距离,也可以为第一图标的最左边与第二图标的最左边的距离,或者第一图标的右下角与第二图标的右下角的距离等,此处不做限定。
术语“停留状态”用于表示一个图标移动的速度小于预置速度阈值时的状态。
术语“第一操作”和“第二操作”均是表示终端可以对图标执行的操作,其中第一操作与第二操作不同,其具体为何种操作可以有很多种情况,可以由终端出厂设定,也可以由操作系统的开发人员或程序人员来指定,甚至可以由用户来设定,此处不做限定。例如,该第一操作可以为替换或挤开操作,该第二操作可以为合并操作,其中,替换操作为图标之间相互交换位置;挤开操作包括把第二图标的位置空出来,并且把第二图标和第二图标后面或正下方的图标都往后面或正下方挪一个格子,第一图标占据第二图标空出来的位置,合并操作为新建一个图标文件夹,将第一图标与第二图标都放进该图标文件夹中。该第一操作还可以为自动打开第二图标对应的第二应用程序(或第二文件),并且将第一图标对应的第一应用程序(或第一应用程序的URL或第一文件或第一文件的URL)自动在第二应用程序(或第二文件)中呈现,或作为第二应用程序(或第二文件)待分享的内容;第二操作还可以为删除第二图标,第一图标占据第二图标空出来的位置。还可以将第一操作与第二操作互换,例如第一操作为合并操作,第二操作为替换或挤开操作,可以理解的是,该第一操作或第二操作还可以为其他的终端可以对图标执行的操作,此处不做限定。
术语“第一图标的初始位置”表示终端接收到第一输入或第一输入前该第一图标在界面上的位置,术语“第二图标的初始位置”表示终端接收到第一输入或第一输入前该第二图标在界面上的位置。
术语“第一距离区间”的两个端点分别为第一预置距离和第二预置距离,第二预置距离小于第一预置距离,用数学公式表达可以为:(第二预置距离,第一预置距离)或[第二预置距离,第一预置距离]。以下以开区间为例进行说明,当第一图标与第二图标的距离在(第二预置距离,第一预置距离)这个区间范围内时,即表示该第一图标与第二图标的距离在该第一距离区间内。其中,第一预置距离与第二预置距离都是预先设定的距离值。当第一图标与第二图标的距离为第一预置距离时,相对于第一图标与第二图标的距离为第二预置距离 时,该第一图标离第二图标更远。第二图标从远处向第一图标移动,它们之间的距离先达到第一预置距离,再达到第二预置距离。
可以理解的是,第一预置距离与第二预置距离的设定有很多种,可以根据具体的实际需求来设定,例如可以将第一预置距离设定为图标所在格子的直径,将第二预置距离设定为图标的直径,也可以将第一预置距离设定的更小一点,将第二预置距离设定为图标直径的3/4等,还可以有更多的设置方式,此处不作限定。
术语“第二距离区间”的两个端点分别为0和第二预置距离,第二预置距离不大于0,用数学公式表达可以为:(0,第二预置距离),或[0,第二预置距离]。以下以开区间为例进行说明,当第一图标与第二图标的距离在(0,第二预置距离)这个区间范围内时,即表示该第一图标与第二图标的距离在该第二距离区间内。
本发明实施例的执行主体为终端,该终端可以是移动终端,包括但不限于移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA),也可以为固定终端,例如媒体播放器、个人计算机,智能电视等,此处不作限定。
本发明实施例的方案一般应用于终端处于图标编辑状态时,该图标编辑状态表示终端的界面上图标处于可编辑时的状态,该图标编辑状态的触发方式有很多种,例如可以设定为用户的手指按在界面上的某个图标上超过预设时长即触发进入该图标编辑状态,也可以设定为执行终端上某个功能后触发进入该图标编辑状态,还可以设定为按了终端上某个按键后触发进入该图标编辑状态等,具体的触发方式,此处不作限定。
请参阅图1,本发明实施例中控制图标的方法一个实施例包括:
101、检测用户的第一输入;
终端处于图标编辑状态时,会检测用户的第一输入,该终端上显示了第一图标与第二图标,该第一图标与第二图标为两个不同的图标。
102、响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
终端检测到该第一输入后,响应于检测到的该第一输入,将该第一图标向该第二图标移动。
103、当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在 所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作;
第一图标向第二图标移动的过程中,当确定该第一图标与该第二图标的距离在第一距离区间内,且在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长时,提示对该第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,所述第二预置距离小于所述第一预置距离。
其中,在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长具体表示:在第一图标与第二图标的距离在第一距离区间内的情况下,该第一图标处于停留状态的持续时间大于第一预置时长。
可以理解的是,确定所述第一图标与所述第二图标的距离在第一距离区间和在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长为两个并列的条件,只有当这两个条件同时满足的时候,才会提示对该第一图标与第二图标执行第一操作。若只满足其中一个,而不满足另一个条件时,不会执行第一操作,也不会执行第二操作。
需要说明的是,提示对所述第一图标与第二图标执行第一操作,此时并没有执行该第一操作,而只是在终端上显示执行该第一操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第一操作,第二种是终端接收到用户的取消操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第一操作。
104、当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作。
第一图标向第二图标移动的过程中,当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0,所述第二操作为与所述第一操作不同的操作。
其中,在该第二距离区间内该第一图标处于所述停留状态具体表示:在第 一图标与第二图标的距离在第二距离区间内的情况下,该第一图标处于停留状态。
需要说明的是,提示对所述第一图标与第二图标执行第二操作,此时并没有执行该第二操作,而只是在终端上显示执行该第二操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第二操作,第二种是终端接收到用户的取消操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第二操作。
本发明实施例中当第一图标与第二图标的距离在第一距离区间内,且确定该第一图标处于停留状态时,还需要确定在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长后,才提示执行该第一操作,这样,若需要对第一图标与第二图标执行第二操作,在第一图标接近第二图标的过程中,经过第一距离区间时,会确定处于停留状态的持续时间是否大于第一预置时长,若不大于该第一预置时长,则表示不需要对第一图标与第二图标执行第一操作,不会因该第一图标产生了瞬时的停留状态就提示执行第一操作这样的误操作,极大的降低了终端产生误响应的概率,同时又不影响用户原有的操作习惯,增强了终端的交互能力。
下面对本发明实施例中控制图标的方法进行具体描述,请参阅图2,本发明实施例中控制图标的方法另一个实施例包括:
201、检测用户的第一输入;
终端处于图标编辑状态时,会检测用户的第一输入,该终端上显示了第一图标与第二图标,该第一图标与第二图标为两个不同的图标。
202、响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
终端检测到该第一输入后,响应于检测到的该第一输入,将该第一图标向该第二图标移动。
可以理解的是,终端的界面上图标可以有很多个,终端按照第一输入将第一图标向第二图标移动,第二图标是用户的目的图标,终端可以根据该第一输入中用户对第一图标移动的方向,速度等信息来确定哪一个是第二图标,即用户的目的图标,例如用户按住第一图标向一个方向移动,那么这个移动方向上的图标(例如由近到远3个可能的图标依次为ABC)都可能是第二图标,终端 再检测第一图标移动的速度,第一图标以超过第一预置速度值的速度穿过图标A,则确定图标A不是第二图标,第一图标在快接近图标B时速度值减小到第二预置速度值以下,则确定该图标B是用户的目的图标,即第二图标,根据该第一输入表示的用户对第一图标的操作,还可以有很多的确定第二图标的方式,此处不作限定。
203、以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为第二预置距离,所述外圆框的半径设定为第一预置距离。
终端将第一图标向第二图标移动的过程中,可以以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为第二预置距离,所述外圆框的半径设定为第一预置距离,所述第一预置距离大于第二预置距离。
可以理解的是,只要第一图标的中心点进入该外圆框范围内,就表示该第一图标与第二图标的距离小于该第一预置距离,同理,只要第一图标的中心点进入该内圆框范围内,就表示该第一图标与第二图标的距离小于该第二预置距离。
可以理解的是,内圆框与外圆框的显示仅仅是一种界面对用户的友好显示,更清楚的让用户知道终端设定的第一预置距离与第二预置距离的范围,实际是否提示执行第一操作或第二操作,还是取决于终端对第一图标与第二图标的距离,和第一图标处于停留状态的持续时间。
可以理解的是,在实际应用中,根据实际需求,有些情况下,也可以不执行步骤203,在另外一些情况中,可以不仅仅在第二图标外显示内圆框和外圆框,还可以在除了该第一图标外的界面上所有图标外都显示内圆框和外圆框,此处不作限定。
204、检测所述第一图标与所述第二图标的距离;
第一图标向第二图标移动的过程中,终端检测该第一图标与第二图标的距离,用于与第一预置距离和第二预置距离进行大小判断。
可以理解的是,本实施例中,该第一图标与第二图标的距离可以为该第一图标的中心点与第二图标的中心点的距离。
205、检测所述第一图标处于所述停留状态的持续时间;
第一图标向第二图标移动的过程中,终端可以检测该第一图标处于停留状 态的持续时间,用于与第一预置时长进行大小判断。
需要说明的是,该停留状态的判断条件为第一图标的移动速度小于预置速度阈值,即只要该第一图标的移动速度小于该预置速度阈值,都处于该停留状态,不管该第一图标是静止在一个点(速度值为0),还是处于运动状态,在一定距离或区域范围内运动的过程中只要其移动速度没超出预置速度阈值,都是保持在停留状态,可以累积停留状态的持续时间。
可以理解的是,步骤204检测出第一图标与第二图标的距离后,会判断条件“第一图标与第二图标的距离在第一距离区间内”是否满足,步骤205检测第一图标处于停留状态的持续时间后,会判断条件“在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长”是否满足,这两个条件都满足时,才会提示对第一图标与第二图标执行第一操作,而对这两个条件的判断顺序可以有多种:
方案一、先只执行步骤204,满足条件后再执行步骤205:
1、执行步骤204:检测第一图标与第二图标的距离;
2、在第一图标向第二图标移动的过程中,当确定第一图标与第二图标的距离不在第一距离区间和第二距离区间时,表示该第一图标与第二图标的距离还没有达到第一预置距离,此时终端可以继续执行步骤204:检测第一图标与第二图标的距离;
3、第一图标继续向第二图标靠近,当确定第一图标与第二图标的距离在该第一距离区间内,终端开始执行步骤205:检测该第一图标处于该停留状态的持续时间;可以理解的是,开始执行步骤205后,步骤204也还在同时执行;
4、当确定该第一图标与第二图标的距离在该第一距离区间内,该第一图标处于停留状态的持续时间不大于第一预置时长时,终端可以继续执行步骤205:检测该第一图标处于该停留状态的持续时间;
在该第一距离区间内,第一图标处于停留状态的持续时间可以有两种情况:第一种情况为:该第一距离区间内,该第一图标处于停留状态的持续时间大于该第一预置时长;第二种情况为:第一图标继续向第二图标靠近,直到该第一图标与第二图标的距离离开该第一距离区间,进入第二距离区间,该第一图标在该第一距离区间内处于停留状态的持续时间都不大于该第一预置时长。
5、当确定该第一图标与第二图标的距离在该第一距离区间内,且该第一图 标处于停留状态的持续时间大于该第一预置时长时,终端执行步骤206;
6、第一图标继续向第二图标靠近,当确定第一图标与第二图标的距离在第二距离区间内,且该第一图标处于停留状态时,终端执行步骤207。
可选的,第一图标与第二图标的距离在第二距离区间内时,也可以设定为需要第一图标处于停留状态的持续时间大于第二预置时长时,才执行步骤207;则,当确定第一图标与第二图标的距离在第二距离区间内,且该第一图标处于停留状态的持续时间不大于该第二预置时长时,继续执行步骤205;当确定第一图标与第二图标的距离在第二距离区间内,且在该第二距离区间内该第一图标处于停留状态的持续时间大于该第二预置时长时,执行步骤207。
方案二、先只执行步骤205,满足条件后再执行步骤204:
1、执行步骤205:检测所述第一图标处于所述停留状态的持续时间;
2、当确定该第一图标处于停留状态的持续时间不大于该第一预置时长时,继续执行步骤205。
3、当确定该第一图标处于停留状态的持续时间大于该第一预置时长时,开始执行步骤204:检测第一图标与第二图标的距离;可以理解的是,步骤205也在同时执行;
此时,检测到的该第一图标与第二图标的距离可能有以下几种情况:
第一种情况:该第一图标与第二图标的距离还在第一距离区间和第二距离区间之外,此时终端可以继续执行步骤204:检测第一图标与第二图标的距离;由于此时步骤204与步骤205都已同时执行,此后的执行过程可以参考方案一的执行过程,此处不作赘述;
第二种情况:此时该第一图标与第二图标的距离在第一距离区间内,终端从记录的停留状态的持续时间中去掉在第一距离区间之外的停留状态的持续时间,截取该第一图标与第二图标的距离在第一距离区间内时,该第一图标处于停留状态的持续时间,判断其是否大于第一预置时长;若大于该第一预置时长,则执行步骤206;若不大于该第一预置时长,则继续执行步骤205:检测该第一图标处于该停留状态的持续时间;由于此时步骤204与步骤205都已同时执行,此后的执行过程可以参考方案一的执行过程,此处不作赘述;
第三种情况:此时该第一图标与第二图标的距离在第二距离区间内,执行步骤207;
可选的,第一图标与第二图标的距离在第二距离区间内时,也可以设定为需要第一图标处于停留状态的持续时间大于第二预置时长时,才执行步骤207;则,当确定第一图标与第二图标的距离在第二距离区间内,终端从记录的停留状态的持续时间中去掉在第二距离区间之外的停留状态的持续时间,截取该第一图标与第二图标的距离在第二距离区间内时,该第一图标处于停留状态的持续时间,判断其是否大于第二预置时长;当确定第一图标与第二图标的距离在第二距离区间内,且在该第二距离区间内该第一图标处于停留状态的持续时间不大于该第二预置时长时,继续执行步骤205。当确定第一图标与第二图标的距离在第二距离区间内,且在该第二距离区间内该第一图标处于停留状态的持续时间大于该第二预置时长时,执行步骤207。
方案三、同时执行步骤204和步骤205;
1、执行步骤204和步骤205;
2、在第一图标向第二图标移动的过程中,当确定第一图标与第二图标的距离不在第一距离区间和第二距离区间时,表示该第一图标与第二图标的距离还没有达到第一预置距离,此时终端可以继续执行步骤204和步骤205;
3、当确定该第一图标与第二图标的距离在该第一距离区间内,该第一图标处于停留状态的持续时间不大于第一预置时长时,终端可以继续执行步骤204和步骤205;
在该第一距离区间内,第一图标处于停留状态的持续时间可以有两种情况:第一种情况为:该第一距离区间内,该第一图标处于停留状态的持续时间大于该第一预置时长;第二种情况为:第一图标继续向第二图标靠近,直到该第一图标与第二图标的距离离开该第一距离区间,进入第二距离区间,该第一图标在该第一距离区间内处于停留状态的持续时间都不大于该第一预置时长。
4、当确定该第一图标与第二图标的距离在该第一距离区间内,且该第一图标处于停留状态的持续时间大于该第一预置时长时,终端执行步骤206;
5、第一图标继续向第二图标靠近,当确定第一图标与第二图标的距离在第二距离区间内,且该第一图标处于停留状态时,终端执行步骤207。
可选的,第一图标与第二图标的距离在第二距离区间内时,也可以设定为需要第一图标处于停留状态的持续时间大于第二预置时长时,才执行步骤207;则,当确定第一图标与第二图标的距离在第二距离区间内,且该第一图标处于 停留状态的持续时间不大于该第二预置时长时,继续执行步骤204和步骤205;当确定第一图标与第二图标的距离在第二距离区间内,且在该第二距离区间内该第一图标处于停留状态的持续时间大于该第二预置时长时,执行步骤207。
可以理解的是,在第一图标向第二图标移动的过程中,终端还同时显示了该第一图标向第二图标移动的动画。
206、提示对所述第一图标与第二图标执行第一操作;
当确定该第一图标与第二图标的距离在第一距离区间内,且在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长时,提示对该第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,所述第二预置距离小于所述第一预置距离。
需要说明的是,提示对所述第一图标与第二图标执行第一操作,此时并没有执行该第一操作,而只是在终端上显示执行该第一操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第一操作,第二种是终端接收到用户的取消操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第一操作。
207、提示对所述第一图标与所述第二图标执行第二操作。
当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作。
可选的,当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态的持续时间大于第二预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
需要说明的是,提示对所述第一图标与第二图标执行第二操作,此时并没有执行该第二操作,而只是在终端上显示执行该第二操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第二操作,第二种是终端接收到用户的取消操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第二操作。
可选的,该第一操作可以为替换或挤开操作,该第二操作可以为合并操作, 提示对第一图标与第二图标执行第一操作具体可以包括:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
可选的,该所述第一操作为合并操作,所述第二操作为替换或挤开操作,提示对第一图标与第二图标执行第二操作具体可以包括:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
本发明实施例中,以第一图标和第二图标的中心点的距离作为第一图标和第二图标的距离,以距离作为操作判断的界线,再加上对第一图标处于停留状态的持续时间的判断,共同判断是否提示执行第一操作或第二操作,减少了终端产生误响应的概率,增强了终端的交互能力。
为便于理解,下面以一具体应用场景对本发明实施例中控制图标的方法进行具体描述:
如图3(a)所示为一个终端的界面,界面上有7个图标,分别为应用程序ABCDEF的图标和一个文件夹图标G,每个图标外的实线框表示图标的大小(如301所示),图标外的虚线框表示图标在界面上所占格子的大小(如302所示),其中,图3(a)中小黑点表示图标的中心点,大黑点表示用户手指按住的位置;
设定第一操作为挤开操作,第二操作为合并操作;
用户的手指按住图标F一段时间,进入图标编辑状态,在图标编辑状态中,终端检测到用户的输入:按住图标F向图标C移动;
终端响应用户的输入,控制图标F向图标C移动,将该图标F确定为第一图标;
图标F在向图标C移动的过程中,以超过第一预置速度的速度值穿过了文件夹图标G,终端确定该文件夹图标G不是第二图标;
图标F在穿过文件夹图标G后,速度降低,小于第二预置速度,终端确定这个移动方向上的下一个图标为用户的目的图标,即确定图标C为第二图标;
如图3(b)所示,终端以该图标C的中心点为圆心,以0.7倍的图标所在格子的边长的(第一预置距离)为半径,显示外圆框,以0.3倍的图标所在格子的边长(第二预置距离)为半径,显示内圆框,以便用户能清楚的判断距离;
图标F继续向图标C接近,终端持续计算图标C与图标F的中心点的距离并与第一预置距离和第二预置距离作比较;
同时,终端检测图标F的速度值是否小于预置速度阈值,若小于预置速度阈值则确定产生停留状态,若产生停留状态,则检测在停留状态的持续时间并与第一预置时长比较;
如图3(c)所示,图标F的中心点与图标C的中心点的距离小于第一预置距离,大于第二预置距离时,此时图标F的中心点位于内圆框与外圆框之间,终端检测到图标F虽然偶尔产生停留状态,但每次产生停留状态的持续时间都没有达到第一预置时长,所以,不提示对图标C和图标F执行挤开操作;
如图3(d)所示,图标F的中心点与图标C的中心点的距离小于第二预置距离时,此时图标F的中心点位于内圆框内,终端检测到图标F产生了停留状态,提示对图标C与图标F执行合并操作,显示将图标C与图标F合并成一个文件夹图标后的动画效果,如图3(e)所示;
终端接收到用户松开手指的输入,对图标C与图标F执行合并操作,将图标C与图标F合并成一个文件夹图标。
上面实施例中,将第一图标与第二图标的距离作为是否执行操作的判断条件,在实际应用中,还可以将第一图标是否进入第二图标的区域作为是否执行操作的判断条件,请参阅图4,本发明实施例中控制图标的方法另一个实施例包括:
401、检测用户的第一输入;
终端处于图标编辑状态时,会检测用户的第一输入,该终端上显示了第一图标与第二图标,该第一图标与第二图标为两个不同的图标。
402、响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
终端检测到该第一输入后,响应于检测到的该第一输入,将该第一图标向该第二图标移动。
403、当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长时,提示对所述 第一图标与第二图标执行第一操作;
第一图标向第二图标移动的过程中,当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长时,提示对所述第一图标与第二图标执行第一操作。
需要说明的是,提示对所述第一图标与第二图标执行第一操作,此时并没有执行该第一操作,而只是在终端上显示执行该第一操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第一操作,第二种是终端接收到用户的取消操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第一操作。
可以理解的是,第一图标在界面上显示为一个面积不为0的二维图形,由很多个点组成,第二图标的第一区域也是一个面积不为0的二维图形,可以设定为第一图标上任意一个点进入了第二图标的第一区域都确定为第一图标进入了第二图标的第一区域,也可以设定为第一图标的一部分进入了第二图标的第一区域,才确定为第一图标进入了第二图标的第一区域,这一部分占第一图标的比例可以根据需要进行设定,例如可以设定为占第一图标面积的1/8进入了第二图标的第一区域即确定第一图标进入了第二图标的第一区域,还可以设定为更多的其他比例,此处不作限定。
404、当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作。
第一图标向第二图标移动的过程中,当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围。
需要说明的是,提示对所述第一图标与第二图标执行第二操作,此时并没有执行该第二操作,而只是在终端上显示执行该第二操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第二操作,第二种是终端接收到用户的取消 操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第二操作。
可以理解的是,类似于第一图标进入第二图标的第一区域的判定方式,第一图标进入第二图标的第二区域的判定方式也可以有很多种,此处不作赘述。
可以理解的是,第一图标一定是先进入第一图标的第一区域,才会再进入第一图标的第二区域,所以,只要当第一图标进入了第一图标的第二区域,则不再对第一图标是否位于第一图标的第一区域和第一图标在第一区域是否处于停留状态等是否执行第一操作的判断条件进行判定,而只会对第一图标在第二区域是否处于停留状态等是否执行第二操作的判断条件进行判定。
本发明实施例中,当第一图标进入第二图标的第一区域,且处于停留状态时时,不直接提示执行第一操作,还需要确定该第一图标处于停留状态的持续时间大于第三预置时长后,提示执行该第一操作,这样,若需要对第一图标与第二图标执行第二操作,在第一图标接近第二图标的过程中,穿过第二图标的第一区域时,不会因该第一图标产生了瞬时的停留状态就提示执行第一操作这样的误操作,极大的降低了终端产生误响应的概率,同时又不影响用户原有的操作习惯,增强了终端的交互能力。
下面对本发明实施例中控制图标的方法进行具体描述,请参阅图5,本发明实施例中控制图标的方法另一个实施例包括:
501、检测用户的第一输入;
终端处于图标编辑状态时,会检测用户的第一输入,该终端上显示了第一图标与第二图标,该第一图标与第二图标为两个不同的图标。
502、响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
终端检测到该第一输入后,响应于检测到的该第一输入,将该第一图标向该第二图标移动。
可以理解的是,终端的界面上图标可以有很多个,终端按照第一输入将第一图标向第二图标移动,第二图标是用户的目的图标,终端可以根据该第一输入中用户对第一图标移动的方向,速度等信息来确定哪一个是第二图标,即用户的目的图标,例如用户按住第一图标向一个方向移动,那么这个移动方向上的图标(例如由近到远3个可能的图标依次为ABC)都可能是第二图标,终端再检测第一图标移动的速度,第一图标以超过第一预置速度值的速度穿过图标 A,则确定图标A不是第二图标,第一图标在快接近图标B时速度值减小到第二预置速度值以下,则确定该图标B是用户的目的图标,即第二图标,根据该第一输入表示的用户对第一图标的操作,还可以有很多的确定第二图标的方式,此处不作限定。
503、显示第二图标的第一区域与第二图标的第二区域的边界;
终端将第一图标向第二图标移动的过程中,可以显示该第二图标的第一区域与第二区域的边界。
可以理解的是,该第一区域或第二区域可以为各种规则或不规则的形状,可选的,该第二区域可以为以所述第二图标的中心点为圆心,以第三预置距离为半径的圆形区域,该第一区域为在以所述第二图标的中心点为圆心,以第四预置距离为半径的圆形区域中不包括所述第二区域的区域,所述第四预置距离大于所述第三预置距离;可选的,该第二区域为在所述第二图标的内方框内的区域,所述内边框的每条边与所述第二图标的中心点的距离为第五预置距离,该第一区域为在所述第二图标的外方框内不包括所述第一区域的区域,所述外方框的每条边与所述第二图标的中心点的距离为第六预置距离,所述第六预置距离大于所述第五预置距离;该第一区域或第二区域还可以为其他各种形状,此处不做限定。
可以理解的是,第一区域与第二区域的边界的显示仅仅是一种界面对用户的友好显示,更清楚的让用户知道终端设定的第一区域与第二区域的范围,实际是否提示执行第一操作或第二操作,还是取决于终端判断第一图标是否进入了第一区域和第二区域,和第一图标处于停留状态的持续时间。
可以理解的是,在实际应用中,根据实际需求,有些情况下,也可以不执行步骤503,在另外一些情况中,可以不仅仅显示第二图标的第一区域和第二区域,还可以显示除了该第一图标外的界面上所有图标的第一区域和第二区域,此处不作限定。
504、检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
第一图标向第二图标移动的过程中,终端检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置,用于判断该第一图标是否进入了该第二图标的第一区域或第二区域。
可以理解的是,第一图标在界面上显示为一个面积不为0的二维图形,由很多个点组成,第二图标的第一区域也是一个面积不为0的二维图形,可以设定为第一图标上任意一个点进入了第二图标的第一区域都确定为第一图标进入了第二图标的第一区域,也可以设定为第一图标的一部分进入了第二图标的第一区域,才确定为第一图标进入了第二图标的第一区域,这一部分占第一图标的比例可以根据需要进行设定,例如可以设定为占第一图标面积的1/8进入了第二图标的第一区域即确定第一图标进入了第二图标的第一区域,还可以设定为更多的其他比例,此处不作限定。判断该第一图标是否进入了第二图标的第二区域与上述判断其是否进入了第一区域的过程类似,此处不作赘述。
505、检测所述第一图标处于所述停留状态的持续时间;
第一图标向第二图标移动的过程中,终端可以检测该第一图标处于停留状态的持续时间,用于与第三预置时长进行大小判断。
需要说明的是,该停留状态的判断条件为第一图标的移动速度小于预置速度阈值,即只要该第一图标的移动速度小于该预置速度阈值,都处于该停留状态,不管该第一图标是静止在一个点(速度值为0),还是处于运动状态,在一定距离或区域范围内运动的过程中只要其移动速度没超出预置速度阈值,都是保持在停留状态,可以累积停留状态的持续时间。
可以理解的是,步骤504检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置后,会判断条件“第一图标进入所述第二图标的第一区域”是否满足,步骤505检测第一图标处于停留状态的持续时间后,会判断条件“在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长”是否满足,这两个条件都满足时,才会提示对第一图标与第二图标执行第一操作,而对这两个条件的判断顺序可以有多种:
方案四、先只执行步骤504,满足条件后在执行步骤505:
1、执行步骤504:检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
2、在第一图标向第二图标移动的过程中,当确定第一图标没有进入第一区域时,此时终端可以继续执行步骤504:检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
3、第一图标继续向第二图标靠近,当确定第一图标进入第一区域时,终端 开始执行步骤505:检测该第一图标处于该停留状态的持续时间;可以理解的是,开始执行步骤505后,步骤504也还在同时执行;
4、当确定该第一图标进入第一区域,且在该第一区域内该第一图标处于停留状态的持续时间不大于第三预置时长时,终端可以继续执行步骤505:检测该第一图标处于该停留状态的持续时间;
在该第一区域内,第一图标处于停留状态的持续时间可以有两种情况:第一种情况为:该第一区域内,该第一图标处于停留状态的持续时间大于该第三预置时长;第二种情况为:第一图标继续向第二图标靠近,直到该第一图标进入第二区域,该第一图标在该第一区域内处于停留状态的持续时间都不大于该第三预置时长。
5、当确定该第一图标进入第一区域内,且在该第一区域内第一图标处于停留状态的持续时间大于该第三预置时长时,终端执行步骤506;
6、第一图标继续向第二图标靠近,当确定第一图标进入第二区域内,且在该第二区域内该第一图标处于停留状态时,终端执行步骤507。
可选的,第一图标进入第二区域内后,也可以设定为需要第一图标处于停留状态的持续时间大于第四预置时长时,才执行步骤507;则,当确定第一图标进入第二区域内,且在该第二区域内该第一图标处于停留状态的持续时间不大于该第四预置时长时,继续执行步骤505;当确定第一图标进入第二区域内,且在该第二区域内该第一图标处于停留状态的持续时间大于该第四预置时长时,执行步骤507。
方案五、先只执行步骤505,满足条件后再执行步骤504:
1、执行步骤505:检测所述第一图标处于所述停留状态的持续时间;
2、当确定该第一图标处于停留状态的持续时间不大于该第三预置时长时,继续执行步骤505。
3、当确定该第一图标处于停留状态的持续时间大于该第一预置时长时,开始执行步骤504:检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;可以理解的是,步骤505也在同时执行;
此时,检测到的所述第一图标相对于所述第二图标的第一区域和第二区域的位置可能有以下几种情况:
第一种情况:该第一图标还没有进入第二图标的第一区域,此时终端可以 继续执行步骤504:检测到的所述第一图标相对于所述第二图标的第一区域和第二区域的位置;由于此时步骤504与步骤505都已同时执行,此后的执行过程可以参考方案四的执行过程,此处不作赘述;
第二种情况:此时该第一图标进入了第二图标的第一区域内,终端从记录的停留状态的持续时间中去掉在第一区域之外的停留状态的持续时间,截取该第一图标在第一距离区间内时,该第一图标处于停留状态的持续时间,判断其是否大于第三预置时长;若大于该第三预置时长,则执行步骤506;若不大于该第三预置时长,则继续执行步骤505:检测该第一图标处于该停留状态的持续时间;由于此时步骤504与步骤505都已同时执行,此后的执行过程可以参考方案四的执行过程,此处不作赘述;
第三种情况:此时该第一图标进入了第二区域内,执行步骤507;
可选的,第一图标进入第二区域内后,也可以设定为需要第一图标处于停留状态的持续时间大于第四预置时长时,才执行步骤507;则,当确定第一图标进入第二区域后,终端从记录的停留状态的持续时间中去掉在第二区域之外的停留状态的持续时间,截取该第一图标在第二区域内时,该第一图标处于停留状态的持续时间,判断其是否大于第四预置时长;当确定第一图标进入第二区域内,且在该第二区域内该第一图标处于停留状态的持续时间不大于该第四预置时长时,继续执行步骤505。当确定第一图标进入第二区域内,且在该第二区域内该第一图标处于停留状态的持续时间大于该第四预置时长时,执行步骤507。
方案六、同时执行步骤504和步骤505:
1、执行步骤504和步骤505;
2、在第一图标向第二图标移动的过程中,当确定第一图标还没进入第一区域和第二区域时,此时终端可以继续执行步骤504和步骤505;
3、当确定该第一图标进入第一区域内,且在该第一区域内该第一图标处于停留状态的持续时间不大于第一预置时长时,终端可以继续执行步骤504和步骤505;
在该第一区域内,第一图标处于停留状态的持续时间可以有两种情况:第一种情况为:该第一区域内,该第一图标处于停留状态的持续时间大于该第三预置时长;第二种情况为:第一图标继续向第二图标靠近,直到该第一图标进 入第二区域,该第一图标在该第一区域内处于停留状态的持续时间都不大于该第三预置时长。
4、当确定该第一图标进入该第一区域内,且在该第一区域内该第一图标处于停留状态的持续时间大于该第三预置时长时,终端执行步骤506;
5、第一图标继续向第二图标靠近,当确定第一图标进入该第二区域内,且在该第二区域内该第一图标处于停留状态时,终端执行步骤507。
可选的,第一图标进入第二区域内后,也可以设定为需要第一图标处于停留状态的持续时间大于第四预置时长时,才执行步骤507;则,当确定第一图标进入第二区域内,且在该第二区域内该第一图标处于停留状态的持续时间不大于该第四预置时长时,继续执行步骤504和步骤505;当确定第一图标进入第二区域内,且在该第二区域内该第一图标处于停留状态的持续时间大于该第四预置时长时,执行步骤507。
可以理解的是,在第一图标向第二图标移动的过程中,终端还同时显示了该第一图标向第二图标移动的动画。
506、提示对所述第一图标与第二图标执行第一操作;
当确定该第一图标进入第一区域内,且在该第一区域内该第一图标处于停留状态的持续时间大于第三预置时长时,提示对该第一图标与第二图标执行第一操作。
需要说明的是,提示对所述第一图标与第二图标执行第一操作,此时并没有执行该第一操作,而只是在终端上显示执行该第一操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第一操作,第二种是终端接收到用户的取消操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第一操作。
507、提示对所述第一图标与所述第二图标执行第二操作。
当确定所述第一图标进入第二区域内,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作。
可选的,当确定所述第一图标进入第二区域内,且在所述第二区域内所述第一图标处于所述停留状态的持续时间大于第四预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
需要说明的是,提示对所述第一图标与第二图标执行第二操作,此时并没有执行该第二操作,而只是在终端上显示执行该第二操作时的动画效果,再此之后可能有两种情况,第一种是终端会接收到用户的确认操作,例如释放对图标的选定,此时终端会真正执行该第二操作,第二种是终端接收到用户的取消操作,例如接收到用户继续移动该第一图标的输入,此时终端响应用户的输入,继续移动该第一图标,而不执行该第二操作。
可选的,该第一操作可以为替换或挤开操作,该第二操作可以为合并操作,提示对第一图标与第二图标执行第一操作具体可以包括:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
可选的,该所述第一操作为合并操作,所述第二操作为替换或挤开操作,提示对第一图标与第二图标执行第二操作具体可以包括:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
本发明实施例中,以第一图标是否进入第二图标的第一区域或第二区域,再加上对第一图标在第一区域或第二区域处于停留状态的持续时间的判断,共同判断是否提示执行第一操作或第二操作,减少了终端产生误响应的概率,增强了终端的交互能力。
为便于理解,下面以一具体应用场景对本发明实施例中控制图标的方法进行具体描述:
如图6(a)所示为一个终端的界面,界面上有7个图标,分别为应用程序ABCDEF的图标和一个文件夹图标G,设定第一操作为挤开操作,第二操作为合并操作,假设用户希望将图标F与图标C执行合并操作,其中,图6(a)中小黑点表示图标的中心点,大黑点表示用户手指按住的位置;
用户的手指按住图标F一段时间,进入图标编辑状态,在图标编辑状态中,终端检测到用户的输入:按住图标F向图标C移动;
终端响应用户的输入,控制图标F向图标C移动,将该图标F确定为第一图标;
图标F在向图标C移动的过程中,以超过第一预置速度的速度值穿过了文件夹图标G,终端确定该文件夹图标G不是第二图标;
图标F在穿过文件夹图标G后,速度降低,小于第二预置速度,终端确定这个移动方向上的下一个图标为用户的目的图标,即确定图标C为第二图标;
如图6(b)所示,终端显示该图标C的内方框和外方框,内方框内为该图标C的第二区域,内方框与外方框之间为该图标C的第一区域,内方框的每条边与图标C的中心点的距离为0.6倍的图标所在格子的边长(第五预置距离),即第二区域刚好与图标所在区域重合;外方框的每条边与图标C的中心点的距离为图标所在格子的边长(第六预置距离),刚好与图标所在的格子的重合;
图标F继续向图标C接近,终端检测图标F是否进入图标C的第一区域或第二区域;
同时,终端检测图标F的速度值是否小于预置速度阈值,若小于预置速度阈值则确定产生停留状态,若产生停留状态,则检测在停留状态的持续时间并与第三预置时长比较;
如图6(c)所示,图标F进入图标C的第一区域,没进入第二区域,终端检测到图标F虽然偶尔产生停留状态,但每次产生停留状态的持续时间都没有达到第三预置时长,所以,不提示对图标C和图标F执行挤开操作;
如图6(d)所示,图标F进入第二区域,终端检测到图标F产生了停留状态,提示对图标C与图标F执行合并操作,显示将图标C与图标F合并成一个文件夹图标后的动画效果,如图6(e)所示;
终端接收到用户松开手指的输入,对图标C与图标F执行合并操作,将图标C与图标F合并成一个文件夹图标。
下面对本发明实施例中的终端进行描述,请参阅图7,本发明实施例中终端一个实施例包括:
第一显示模块701,用于显示第一图标和第二图标;
第一检测模块702,用于检测用户的第一输入;
第一响应模块703,用于响应于所述第一检测模块702检测到的所述第一输入,将所述第一图标向所述第二图标移动;
第一提示模块704,用于当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,所述第二预置距离小于所述第一预置距离;
第二提示模块705,用于当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0,所述第二操作为与所述第一操作不同的操作。
本发明实施例中当第一图标与第二图标的距离在第一距离区间内,且确定该第一图标处于停留状态时,还需要确定在该第一距离区间内该第一图标处于停留状态的持续时间大于第一预置时长后,第一提示模块704才提示执行该第一操作,这样,若需要对第一图标与第二图标执行第二操作,在第一图标接近第二图标的过程中,经过第一距离区间时,会确定处于停留状态的持续时间是否大于第一预置时长,若不大于该第一预置时长,则表示不需要对第一图标与第二图标执行第一操作,第一提示模块704不会因该第一图标产生了瞬时的停留状态就提示执行第一操作这样的误操作,极大的降低了终端产生误响应的概率的概率,同时又不影响用户原有的操作习惯,增强了终端的交互能力。
下面对本发明实施例中的终端进行具体描述,请参阅图8,本发明实施例中终端另一个实施例包括:
第一显示模块801,用于显示第一图标和第二图标;
第一检测模块802,用于检测用户的第一输入;
第一响应模块803,用于响应于所述第一检测模块802检测到的所述第一输入,将所述第一图标向所述第二图标移动;
第一提示模块804,用于当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,所述第二预置距离小于所述第一预置距离;
第二提示模块805,用于当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0,所述第二操作为与所述第一操作不同的操作;
本实施例中,该终端还包括:
第二检测模块806,用于检测所述第一图标与所述第二图标的距离;
第三检测模块807,用于检测所述第一图标处于所述停留状态的持续时间;
所述第二检测模块806还用于,当确定所述第一图标与所述第二图标的距离不在所述第一距离区间和所述第二距离区间时,检测所述第一图标与所述第二图标的距离;
所述第三检测模块807还用于,当确定所述第一图标与所述第二图标的距离在所述第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间不大于所述第一预置时长时,检测所述第一图标处于所述停留状态的持续时间;
可选的,该第一显示模块801还用于,以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为所述第二预置距离,所述外圆框的半径设定为所述第一预置距离;
可选的,该第一操作可以为替换或挤开操作,该第二操作可以为合并操作,该第一提示模块804具体可以用于,当确定所述第一图标与所述第二图标的距离在第一距离区间内,在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长,且确定所述第一图标的初始位置与所述第二图标的初始位置相邻时,提示对所述第一图标与第二图标执行替换操作;或者,当确定所述第一图标与所述第二图标的距离在第一距离区间内,在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长,且确定所述第一图标的初始位置与所述第二图标的初始位置相邻时,提示对所述第一图标与第二图标执行挤开操作;
可选的,该第二提示模块805具体可以用于,当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态的持续时间大于第二预置时长时,提示对所述第一图标与所述 第二图标执行第二操作;
可选的,该第三检测模块807还可以用于,当确定所述第一图标与所述第二图标的距离在所述第二距离区间内,且在所述第二距离区间内所述第一图标处于停留状态的持续时间不大于所述第二预置时长时,检测所述第一图标处于所述停留状态的持续时间。
本发明实施例中,第二检测模块806检测第一图标与第二图标的距离,第三检测模块807检测第一图标处于停留状态的持续时间,共同判断是否提示执行第一操作或第二操作,减少了终端产生误响应的概率,提高了用户体验。
上面实施例中,将第一图标与第二图标的距离作为是否执行操作的判断条件,在实际应用中,还可以将第一图标是否进入第二图标的区域作为是否执行操作的判断条件,请参阅图9,本发明实施例中终端另一个实施例包括:
第二显示模块901,用于显示第一图标和第二图标;
第四检测模块902,用于检测用户的第一输入;
第二响应模块903,用于响应于所述第四检测模块检测到的所述第一输入,将所述第一图标向所述第二图标移动;
第三提示模块904,用于当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长时,提示对所述第一图标与第二图标执行第一操作;
第四提示模块905,用于当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围。
本发明实施例中,当第一图标进入第二图标的第一区域,且处于停留状态时时,第三提示模块904不直接提示执行第一操作,还需要确定该第一图标处于停留状态的持续时间大于第三预置时长后,第三提示模块904才提示执行该第一操作,这样,若需要对第一图标与第二图标执行第二操作,在第一图标接近第二图标的过程中,穿过第二图标的第一区域时,不会因该第一图标产生了瞬时的停留状态就提示执行第一操作这样的误操作,极大的降低了终端产生误响应的概率,同时又不影响用户原有的操作习惯,增强了终端的交互能力。
下面对本发明实施例中的终端进行具体描述,请参阅图10,本发明实施例中终端另一个实施例包括:
第二显示模块1001,用于显示第一图标和第二图标;
第四检测模块1002,用于检测用户的第一输入;
第二响应模块1003,用于响应于所述第四检测模块检测到的所述第一输入,将所述第一图标向所述第二图标移动;
第三提示模块1004,用于当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长时,提示对所述第一图标与第二图标执行第一操作;
第四提示模块1005,用于当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围;
本实施例中,该终端还包括:
第五检测模块1006,用于检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
第六检测模块1007,用于检测所述第一图标处于所述停留状态的持续时间;
所述第五检测模块1006还用于,当确定所述第一图标没有进入所述第二图标的第一区域时,检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
所述第六检测模块1007还用于,当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间不大于第三预置时长时,检测所述第一图标处于所述停留状态的持续时间。
可选的,该第二显示模块1001还用于,显示所述第一区域与所述第二区域的边界;
可选的,该第一操作可以为替换或挤开操作,该第二操作可以为合并操作,该第三提示模块1004具体可以用于当确定所述第一图标进入所述第二图标的第一区域,在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长,且确定所述第一图标的初始位置与所述第二图标的初始位置相邻时, 提示对所述第一图标与第二图标执行替换操作;或者,当确定所述第一图标进入所述第二图标的第一区域,在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长,且确定所述第一图标的初始位置与所述第二图标的初始位置相邻时,提示对所述第一图标与第二图标执行挤开操作;
可选的,所述第二区域为以所述第二图标的中心点为圆心,以第三预置距离为半径的圆形区域,所述第一区域为在以所述第二图标的中心点为圆心,以第四预置距离为半径的圆形区域中不包括所述第二区域的区域,所述第四预置距离大于所述第三预置距离;
可选的,所述第二区域为在所述第二图标的内方框内的区域,所述内边框的每条边与所述第二图标的中心点的距离为第五预置距离,所述第一区域为在所述第二图标的外方框内不包括所述第一区域的区域,所述外方框的每条边与所述第二图标的中心点的距离为第六预置距离,所述第六预置距离大于所述第五预置距离;
可选的,该第四提示模块1005具体可以用于,当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间大于第四预置时长时,提示对所述第一图标与所述第二图标执行第二操作;
可选的,该第六检测模块1007还可以用于,当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间不大于所述第四预置时长时,检测所述第一图标处于所述停留状态的持续时间。
本发明实施例中,第三提示模块1004与第四提示模块1005以第一图标是否进入第二图标的第一区域或第二区域,再加上对第一图标在第一区域或第二区域处于停留状态的持续时间的判断,共同判断是否提示执行第一操作或第二操作,减少了终端产生误响应的概率,增强了终端的交互能力。
如图11为本发明实施例中终端另一个结构示意图;
本发明实施例中的终端1100另一实施例包括:
输入装置1101、输出装置1102、处理器1103和存储器1104(其中终端1100中的处理器1103的数量可以一个或多个,图11中以一个处理器1103为例)。在本发明的一些实施例中,输入装置1101、输出装置1102、处理器1103和存储器 1104可通过总线或其它方式通信,其中,图11中以通过总线连接为例。
其中,输入装置1101用于实现用户与电子设备的交互和/或信息输入到电子设备中。例如,输入装置1101可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入装置1101可以是触控面板。触控面板,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作。比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸操作,并将检测到的触摸操作转换为电信号,以及将所述电信号传送给触摸控制器;触摸控制器从触摸检测装置上接收所述电信号,并将它转换成触点坐标,再送给处理器1103。所述触摸控制器还可以接收处理器1103发来的命令并执行。此外,可以采用电阻式、电容式、红外线(Infrared)以及表面声波等多种类型实现触控面板。
处理器1103为电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器1104内的软件程序和/或模块,以及调用存储在存储器1104内的数据,以执行电子设备的各种功能和/或处理数据。所述处理器1103可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器1103可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是GPU、数字信号处理器(Digital Signal Processor,简称DSP)、及通信单元中的控制芯片(例如基带芯片)的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
输出装置1102包括但不限于影像输出单元。影像输出单元用于输出文字、图片和/或视频。所述影像输出单元可包括显示面板,例如采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)、场发射显示器(field emission display,简称FED)等形式来配置的显示面板。或者所述影像输出单元可以包括反射式显示器,例如电泳式(electrophoretic)显示器,或利用光干涉调变技术(Interferometric Modulation of Light)的显示器。所述影像输出单元可以包括单个显示器或不同尺寸的多个显示器。在本发明的具体实施方式中,上述输入装置1101所采用的触控面板亦可同时作为输出装置 1102的显示面板。例如,当触控面板检测到在其上的触摸或接近的手势操作后,传送给处理器1103以确定触摸事件的类型,随后处理器1103根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图11中,输入装置1101与输出装置1102是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板与显示面板集成一体而实现电子设备的输入和输出功能。例如,所述影像输出单元可以显示各种图形化用户接口(Graphical User Interface,简称GUI)以作为虚拟控制组件,包括但不限于窗口、卷动轴、图标及剪贴簿,以供用户通过触控方式进行操作。
存储器1104可用于存储软件程序以及模块,处理器1103通过运行存储在存储单元的软件程序以及模块,从而执行电子设备的各种功能应用以及实现数据处理。存储器1104主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器1104可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。非易失存储器储存处理器1103所执行的操作系统及应用程序。所述处理器1103从所述非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。所述操作系统包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种组件和/或驱动器。在本发明实施方式中,所述操作系统可以是Google公司的Android系统、Apple公司开发的iOS系统或Microsoft公司开发的Windows操作系统等,或者是Vxworks这类的嵌入式操作系统。
所述应用程序包括安装在电子设备上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、键盘虚拟、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位系统提供的功能)、 音乐播放等等。
该终端还可以包括通信单元,电源等。
所述通信单元用于建立通信信道,使终端通过所述通信信道以连接至远程服务器,并从所述远程服务器下媒体数据。所述通信单元可以包括无线局域网(Wireless Local Area Network,简称wireless LAN)模块、蓝牙模块、基带(Base Band)模块等通信模块,以及所述通信模块对应的射频(Radio Frequency,简称RF)电路,用于进行无线局域网络通信、蓝牙通信、红外线通信及/或蜂窝式通信系统通信,例如宽带码分多重接入(Wideband Code Division Multiple Access,简称W-CDMA)及/或高速下行封包存取(High Speed Downlink Packet Access,简称HSDPA)。所述通信模块用于控制终端中的各组件的通信,并且可以支持直接内存存取(Direct Memory Access)。
电源用于给电子设备的不同部件进行供电以维持其运行。作为一般性理解,所述电源可以是内置的电池,例如常见的锂离子电池、镍氢电池等,也包括直接向电子设备供电的外接电源,例如AC适配器等。在本发明的一些实施方式中,所述电源还可以作更为广泛的定义,例如还可以包括电源管理系统、充电系统、电源故障检测电路、电源转换器或逆变器、电源状态指示器(如发光二极管),以及与电子设备的电能生成、管理及分布相关联的其他任何组件。
本实施例中,该输入装置1101具体可以用于,检测用户的第一输入;
通过调用存储器1104存储的操作指令,处理器1103,用于执行如下步骤:
响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,指令输出单元提示对所述第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,所述第二预置距离小于所述第一预置距离;
当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,指令输出单元提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0,所述第二操作为与所述第一操作不同的操作;
所述输出装置1102,用于根据处理器103的指令,提示对所述第一图标与第二图标执行第一操作,或提示对所述第一图标与所述第二图标执行第二操作;
本发明的一些实施例中,该处理器1103还执行如下步骤:
检测所述第一图标与所述第二图标的距离;
检测所述第一图标处于所述停留状态的持续时间;
当确定所述第一图标与所述第二图标的距离不在所述第一距离区间和所述第二距离区间时,继续执行所述检测所述第一图标与所述第二图标的距离;
当确定所述第一图标与所述第二图标的距离在所述第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间不大于所述第一预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间;
本发明的一些实施例中,该处理器1103还执行如下步骤:
以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为所述第二预置距离,所述外圆框的半径设定为所述第一预置距离;
本发明的一些实施例中,所述第一图标与所述第二图标的距离具体为:所述第一图标的中心点与所述第二图标的中心点的距离;
本发明的一些实施例中,所述第一操作为替换或挤开操作,所述第二操作为合并操作,执行所述提示对所述第一图标与第二图标执行第一操作的步骤时,该处理器1103具体执行如下步骤:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者,
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作;
本发明的一些实施例中,该处理器1103具体执行如下步骤:
当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态的持续时间大于第二预置时长时,提示对所述第一图标与所述第二图标执行第二操作;
本发明的一些实施例中,该处理器1103还执行如下步骤:
当确定所述第一图标与所述第二图标的距离在所述第二距离区间内,且在所述第二距离区间内所述第一图标处于停留状态的持续时间不大于所述第二预 置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
为了便于理解上述实施例,下面以上述终端各个部件在一个具体应用场景中的交互过程进行说明:
用户在使用终端时,输入装置1101捕获手指在文件夹各缩略图上的长按操作,将此操作传递给处理器1103,处理器1103发指令给输出装置1102,输出装置1102指示图标进入编辑状态,输入装置1101检测用户手指拖动图标的操作,将此操作(包括拖动参数,比如计算图标中心点坐标所需的参数)传递给处理器1103,处理器1103计算拖动速度并从存储器1104读取出之前预设的速度阈值,判断当前的拖动速度与之前预设速度阈值的大小,当拖动速度小于预设阈值的时候,确定用户手指拖动停留,计算第一图标中心点和第二图标中心点的第一距离和第一停留时间,存储器1104存储计算结果,处理器1103从存储器1104中读取出预设的距离值和预设停留时间阈值,当第一距离大于预设距离阈值时,处理器1103比较第一停留时间和预设停留时间的大小,当第一停留时间大于预设停留时间的时候,处理器1103向输出装置1102发送替换或挤开目标图标的指令,当第一距离小于预设距离阈值时,处理器1103向输出装置1102发送提示新建文件的指令。
上面实施例中,将第一图标与第二图标的距离作为是否执行操作的判断条件,在实际应用中,还可以将第一图标是否进入第二图标的区域作为是否执行操作的判断条件,本发明实施例中终端另一个实施例包括:
其结构与图11所示实施例结构相同,此处不作赘述;
本实施例中,该输入装置1101具体可以用于,检测用户的第一输入;
通过调用存储器1104存储的操作指令,处理器1103,用于执行如下步骤:
响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长时,指令输出单元提示对所述第一图标与第二图标执行第一操作;
当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,指令输出单元提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围;
所述输出装置1102,用于根据处理器103的指令,提示对所述第一图标与第二图标执行第一操作,或提示对所述第一图标与所述第二图标执行第二操作;
本发明的一些实施例中,该处理器1103还用于执行如下步骤:
检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
检测所述第一图标处于所述停留状态的持续时间;
当确定所述第一图标没有进入所述第二图标的第一区域时,继续执行所述检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间不大于第三预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间;
本发明的一些实施例中,所述第二区域为以所述第二图标的中心点为圆心,以第三预置距离为半径的圆形区域,所述第一区域为在以所述第二图标的中心点为圆心,以第四预置距离为半径的圆形区域中不包括所述第二区域的区域,所述第四预置距离大于所述第三预置距离;
或,
所述第二区域为在所述第二图标的内方框内的区域,所述内边框的每条边与所述第二图标的中心点的距离为第五预置距离,所述第一区域为在所述第二图标的外方框内不包括所述第一区域的区域,所述外方框的每条边与所述第二图标的中心点的距离为第六预置距离,所述第六预置距离大于所述第五预置距离;
本发明的一些实施例中,该处理器1103还用于执行如下步骤:
显示所述第一区域与所述第二区域的边界;
本发明的一些实施例中,所述第一操作为替换或挤开操作,所述第二操作为合并操作,执行所述提示对所述第一图标与第二图标执行第一操作的步骤时,该处理1103具体执行如下步骤:
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者,
若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作;
本发明的一些实施例中,该处理器1103具体执行如下步骤:
当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间大于第四预置时长时,提示对所述第一图标与所述第二图标执行第二操作;
本发明的一些实施例中,该处理器1103还执行如下步骤:
当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间不大于所述第四预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (26)

  1. 一种控制图标的方法,用于显示了第一图标和第二图标的终端,其特征在于,所述方法包括:
    检测用户的第一输入;
    响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
    当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,其中,所述第二预置距离小于所述第一预置距离;
    当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0;
    其中,所述第二操作为与所述第一操作不同的操作。
  2. 根据权利要求1所述的方法,其特征在于,检测用户的第一输入之后,还包括:
    检测所述第一图标与所述第二图标的距离;
    检测所述第一图标处于所述停留状态的持续时间;
    当确定所述第一图标与所述第二图标的距离不在所述第一距离区间和所述第二距离区间时,继续执行所述检测所述第一图标与所述第二图标的距离;
    当确定所述第一图标与所述第二图标的距离在所述第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间不大于所述第一预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
  3. 根据权利要求1或2所述的方法,其特征在于,所述将第一图标向第二图标移动之后还包括:
    以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为所述第二预置距离,所述外圆框的半径设定为所述第一预置距离。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一图标 与所述第二图标的距离具体为:所述第一图标的中心点与所述第二图标的中心点的距离。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,
    所述第一操作为替换或挤开操作,所述第二操作为合并操作;或者,
    所述第一操作为合并操作,所述第二操作为替换或挤开操作。
  6. 根据权利要求5所述的方法,其特征在于,所述提示对所述第一图标与第二图标执行第一操作包括:
    若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者,
    若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
  7. 根据权利要求2至6中任一项所述的方法,其特征在于,所述当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,具体包括:
    当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态的持续时间大于第二预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    当确定所述第一图标与所述第二图标的距离在所述第二距离区间内,且在所述第二距离区间内所述第一图标处于停留状态的持续时间不大于所述第二预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
  9. 一种控制图标的方法,用于显示了第一图标和第二图标的终端,其特征在于,所述方法包括:
    检测用户的第一输入;
    响应于检测到的所述第一输入,将所述第一图标向所述第二图标移动;
    当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长时,提示对所述第一图标与第二图标执行第一操作;
    当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内 所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围。
  10. 根据权利要求9所述的方法,其特征在于,检测用户的第一输入之后还包括:
    检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
    检测所述第一图标处于所述停留状态的持续时间;
    当确定所述第一图标没有进入所述第二图标的第一区域时,继续执行所述检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
    当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间不大于第三预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
  11. 根据权利要求9或10所述的方法,其特征在于,
    所述第二区域为以所述第二图标的中心点为圆心,以第三预置距离为半径的圆形区域,所述第一区域为在以所述第二图标的中心点为圆心,以第四预置距离为半径的圆形区域中不包括所述第二区域的区域,所述第四预置距离大于所述第三预置距离;
    或,
    所述第二区域为在所述第二图标的内方框内的区域,所述内边框的每条边与所述第二图标的中心点的距离为第五预置距离,所述第一区域为在所述第二图标的外方框内不包括所述第一区域的区域,所述外方框的每条边与所述第二图标的中心点的距离为第六预置距离,所述第六预置距离大于所述第五预置距离。
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述将所述第一图标向所述第二图标移动的步骤之后还包括:
    显示所述第一区域与所述第二区域的边界。
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,
    所述第一操作为替换或挤开操作,所述第二操作为合并操作;或者,
    所述第一操作为合并操作,所述第二操作为替换或挤开操作。
  14. 根据权利要求13所述的方法,其特征在于,所述提示对所述第一图标 与所述第二图标执行第一操作包括:
    若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行替换操作;或者,
    若所述第一图标的初始位置与所述第二图标的初始位置相邻,提示使用所述第一图标对所述第二图标执行挤开操作。
  15. 根据权利要求10至12中任一项所述的方法,其特征在于,所述当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作具体包括:
    当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间大于第四预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:
    当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间不大于所述第四预置时长时,继续执行所述检测所述第一图标处于所述停留状态的持续时间。
  17. 一种终端,其特征在于,包括:
    第一显示模块,用于显示第一图标和第二图标;
    第一检测模块,用于检测用户的第一输入;
    第一响应模块,用于响应于所述第一检测模块检测到的所述第一输入,将所述第一图标向所述第二图标移动;
    第一提示模块,用于当确定所述第一图标与所述第二图标的距离在第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间大于第一预置时长时,提示对所述第一图标与第二图标执行第一操作,所述第一距离区间的两个端点分别为第一预置距离和第二预置距离,所述第二预置距离小于所述第一预置距离;
    第二提示模块,用于当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二距离区间的两个端点分别为0和所述第二预置距离,所述第二预置距离不小于0,所述第二操作为与 所述第一操作不同的操作。
  18. 根据权利要求17所述的终端,其特征在于,所述终端还包括:
    第二检测模块,用于检测所述第一图标与所述第二图标的距离;
    第三检测模块,用于检测所述第一图标处于所述停留状态的持续时间;
    所述第二检测模块还用于,当确定所述第一图标与所述第二图标的距离不在所述第一距离区间和所述第二距离区间时,检测所述第一图标与所述第二图标的距离;
    所述第三检测模块还用于,当确定所述第一图标与所述第二图标的距离在所述第一距离区间内,且在所述第一距离区间内所述第一图标处于停留状态的持续时间不大于所述第一预置时长时,检测所述第一图标处于所述停留状态的持续时间。
  19. 根据权利要求17或18所述的终端,其特征在于,该第一显示模块还用于,以所述第二图标的中心点为圆心,显示一个内圆框和一个外圆框,所述内圆框的半径设定为所述第二预置距离,所述外圆框的半径设定为所述第一预置距离。
  20. 根据权利要求18或19所述的终端,其特征在于,所述第二提示模块具体用于,当确定所述第一图标与所述第二图标的距离在第二距离区间内,且在所述第二距离区间内所述第一图标处于所述停留状态的持续时间大于第二预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
  21. 根据权利要求20所述的终端,其特征在于,所述第三检测模块还用于,当确定所述第一图标与所述第二图标的距离在所述第二距离区间内,且在所述第二距离区间内所述第一图标处于停留状态的持续时间不大于所述第二预置时长时,检测所述第一图标处于所述停留状态的持续时间。
  22. 一种终端,其特征在于,包括:
    第二显示模块,用于显示第一图标和第二图标;
    第四检测模块,用于检测用户的第一输入;
    第二响应模块,用于响应于所述第四检测模块检测到的所述第一输入,将所述第一图标向所述第二图标移动;
    第三提示模块,用于当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间大于第三预置时长 时,提示对所述第一图标与第二图标执行第一操作;
    第四提示模块,用于当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态时,提示对所述第一图标与所述第二图标执行第二操作,所述第二图标的中心点在所述第二区域内,所述第二区域与所述第一区域不重叠,所述第二区域被所述第一区域所包围。
  23. 根据权利要求22所述的终端,其特征在于,所述终端还包括:
    第五检测模块,用于检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
    第六检测模块,用于检测所述第一图标处于所述停留状态的持续时间;
    所述第五检测模块还用于,当确定所述第一图标没有进入所述第二图标的第一区域时,检测所述第一图标相对于所述第二图标的第一区域和第二区域的位置;
    所述第六检测模块还用于,当确定所述第一图标进入所述第二图标的第一区域,且在所述第一区域内所述第一图标处于停留状态的持续时间不大于第三预置时长时,检测所述第一图标处于所述停留状态的持续时间。
  24. 根据权利要求22或23所述的终端,其特征在于,该第二显示模块还用于,显示所述第一区域与所述第二区域的边界。
  25. 根据权利要求23或24所述的终端,其特征在于,所述第四提示模块具体用于,当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间大于第四预置时长时,提示对所述第一图标与所述第二图标执行第二操作。
  26. 根据权利要求25所述的终端,其特征在于,所述第六检测模块还用于,当确定所述第一图标进入所述第二图标的第二区域,且在所述第二区域内所述第一图标处于所述停留状态的持续时间不大于所述第四预置时长时,检测所述第一图标处于所述停留状态的持续时间。
PCT/CN2015/085078 2014-09-04 2015-07-24 触发终端的方法及相关设备 WO2016034023A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
ES15837833T ES2804503T3 (es) 2014-09-04 2015-07-24 Método de control de iconos y terminal correspondiente
US15/508,954 US10754535B2 (en) 2014-09-04 2015-07-24 Icon control method and terminal
EP15837833.1A EP3190502B1 (en) 2014-09-04 2015-07-24 Icon control method and corresponding terminal
EP20164385.5A EP3739437B1 (en) 2014-09-04 2015-07-24 Icon control method and terminal
US16/990,636 US11301126B2 (en) 2014-09-04 2020-08-11 Icon control method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410448877.7 2014-09-04
CN201410448877.7A CN104238877B (zh) 2014-09-04 2014-09-04 控制图标的方法和终端

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US15/508,954 A-371-Of-International US10754535B2 (en) 2014-09-04 2015-07-24 Icon control method and terminal
US16/990,636 Continuation US11301126B2 (en) 2014-09-04 2020-08-11 Icon control method and terminal

Publications (1)

Publication Number Publication Date
WO2016034023A1 true WO2016034023A1 (zh) 2016-03-10

Family

ID=52227070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085078 WO2016034023A1 (zh) 2014-09-04 2015-07-24 触发终端的方法及相关设备

Country Status (5)

Country Link
US (2) US10754535B2 (zh)
EP (2) EP3739437B1 (zh)
CN (2) CN104238877B (zh)
ES (2) ES2804503T3 (zh)
WO (1) WO2016034023A1 (zh)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238877B (zh) 2014-09-04 2018-03-13 华为技术有限公司 控制图标的方法和终端
CN105988659A (zh) * 2015-02-28 2016-10-05 阿里巴巴集团控股有限公司 图标分组方法及装置
CN104866204A (zh) * 2015-03-16 2015-08-26 联想(北京)有限公司 一种信息处理方法和电子设备
CN104978123A (zh) * 2015-06-29 2015-10-14 努比亚技术有限公司 一种分屏方法和装置
CN105426042A (zh) * 2015-11-05 2016-03-23 小米科技有限责任公司 图标位置互换方法及装置
CN106980433A (zh) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 图标的分组方法及装置
CN105657182A (zh) * 2016-02-26 2016-06-08 努比亚技术有限公司 一种显示对象的管理方法和终端
CN107422934B (zh) * 2016-05-23 2020-04-28 华为终端有限公司 一种图标的设置方法及电子设备
US11132101B2 (en) * 2017-09-08 2021-09-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Icon moving method, terminal and storage medium
CN108595070B (zh) * 2018-03-30 2020-06-30 维沃移动通信有限公司 一种图标显示控制方法及终端
JP7139735B2 (ja) * 2018-07-09 2022-09-21 富士フイルムビジネスイノベーション株式会社 情報処理装置及びプログラム
CN109739399B (zh) * 2018-11-23 2021-08-20 努比亚技术有限公司 一种图标选择控制方法、终端及计算机可读存储介质
CN110069179B (zh) * 2019-03-14 2021-02-26 维沃移动通信有限公司 图标控制方法及终端设备
CN110231897A (zh) 2019-04-26 2019-09-13 维沃移动通信有限公司 一种对象处理方法及终端设备
USD917555S1 (en) * 2019-11-04 2021-04-27 SonicSensory, Inc. Display screen or portion thereof with animated graphical user interface
USD916881S1 (en) * 2019-11-04 2021-04-20 SonicSensory, Inc. Display screen or portion thereof with animated graphical user interface
CN111338521A (zh) * 2020-02-14 2020-06-26 维沃移动通信有限公司 一种图标显示控制方法及电子设备
CN111399716A (zh) * 2020-03-16 2020-07-10 维沃移动通信有限公司 一种图标位置调整方法及电子设备
USD967179S1 (en) * 2020-04-26 2022-10-18 Beijing Xiaomi Mobile Software Co., Ltd. Display screen or portion thereof with animated graphical user interface
JP2021197025A (ja) * 2020-06-17 2021-12-27 コニカミノルタ株式会社 画像表示装置、画像形成装置、表示位置変更方法およびプログラム
CN112486367B (zh) * 2020-11-27 2022-08-16 维沃移动通信有限公司 应用图标的管理方法及其装置
CN114296360A (zh) * 2021-12-27 2022-04-08 珠海格力电器股份有限公司 一种设备控制方法、装置、电子设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294401A (zh) * 2013-06-03 2013-09-11 广东欧珀移动通信有限公司 一种具有触摸屏的电子设备的图标处理方法及装置
CN103631504A (zh) * 2012-08-22 2014-03-12 腾讯科技(深圳)有限公司 管理应用程序的方法及用户设备
CN104238877A (zh) * 2014-09-04 2014-12-24 华为技术有限公司 控制图标的方法和终端

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3511462B2 (ja) * 1998-01-29 2004-03-29 インターナショナル・ビジネス・マシーンズ・コーポレーション 操作画像表示装置およびその方法
JP4701027B2 (ja) * 2004-09-02 2011-06-15 キヤノン株式会社 情報処理装置、制御方法及びプログラム
US8274534B2 (en) * 2005-01-31 2012-09-25 Roland Wescott Montague Methods for combination tools that zoom, pan, rotate, draw, or manipulate during a drag
US9619143B2 (en) * 2008-01-06 2017-04-11 Apple Inc. Device, method, and graphical user interface for viewing application launch icons
US8619038B2 (en) 2007-09-04 2013-12-31 Apple Inc. Editing interface
KR101630754B1 (ko) * 2009-10-16 2016-06-24 삼성전자주식회사 디스플레이 장치 및 인터페이스 방법
EP3882750A1 (en) * 2010-01-20 2021-09-22 Nokia Technologies Oy User input
CN102033710B (zh) 2010-04-07 2015-03-11 苹果公司 用于管理文件夹的方法和相关设备
US20110252349A1 (en) 2010-04-07 2011-10-13 Imran Chaudhri Device, Method, and Graphical User Interface for Managing Folders
US8917632B2 (en) 2010-04-07 2014-12-23 Apple Inc. Different rate controller configurations for different cameras of a mobile device
US10788976B2 (en) * 2010-04-07 2020-09-29 Apple Inc. Device, method, and graphical user interface for managing folders with multiple pages
WO2012164988A1 (ja) * 2011-05-30 2012-12-06 本田技研工業株式会社 入力装置
US20130002600A1 (en) * 2011-07-01 2013-01-03 Mccracken David Harold Touch sensitive device adaptive scaling
CN102289352A (zh) * 2011-09-21 2011-12-21 宇龙计算机通信科技(深圳)有限公司 应用程序的启动方法和终端
CN102591569B (zh) * 2011-12-15 2015-01-21 百度在线网络技术(北京)有限公司 一种在移动终端上提示用户进行触控操作的方法及客户端
KR20130080179A (ko) * 2012-01-04 2013-07-12 삼성전자주식회사 휴대용 단말기에서 아이콘 관리 방법 및 장치
KR101819513B1 (ko) * 2012-01-20 2018-01-17 엘지전자 주식회사 이동단말기 및 그 제어방법
JP5502943B2 (ja) * 2012-06-29 2014-05-28 楽天株式会社 情報処理装置、認証装置、情報処理方法及び情報処理プログラム
US9886177B2 (en) * 2012-10-11 2018-02-06 Industry-Academic Cooperation Foundation, Yonsei University Method for increasing GUI response speed of user device through data preloading, and said user device
CN103777819A (zh) * 2012-10-23 2014-05-07 鸿富锦精密工业(深圳)有限公司 电脑遥控系统及方法
CN103838457A (zh) 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 一种滤镜列表显示方法及装置
CN103116456B (zh) * 2013-01-31 2015-12-23 北京奇虎科技有限公司 实现文件夹合并的装置和方法以及智能终端
AU2014274537A1 (en) * 2013-06-09 2015-01-22 Apple Inc. Device, method, and graphical user interface for managing folders with multiple pages
JP5905417B2 (ja) * 2013-07-29 2016-04-20 京セラ株式会社 携帯端末および表示制御方法
US9921721B2 (en) * 2014-08-08 2018-03-20 Google Llc Navigation interfaces for ebooks
JP2016173703A (ja) * 2015-03-17 2016-09-29 株式会社ミツトヨ タッチディスプレイを用いた入力操作を支援する方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631504A (zh) * 2012-08-22 2014-03-12 腾讯科技(深圳)有限公司 管理应用程序的方法及用户设备
CN103294401A (zh) * 2013-06-03 2013-09-11 广东欧珀移动通信有限公司 一种具有触摸屏的电子设备的图标处理方法及装置
CN104238877A (zh) * 2014-09-04 2014-12-24 华为技术有限公司 控制图标的方法和终端

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
US20170277380A1 (en) 2017-09-28
US20200371656A1 (en) 2020-11-26
ES2957417T3 (es) 2024-01-18
EP3190502A1 (en) 2017-07-12
CN104238877A (zh) 2014-12-24
CN108196759A (zh) 2018-06-22
EP3190502B1 (en) 2020-05-13
CN104238877B (zh) 2018-03-13
US11301126B2 (en) 2022-04-12
EP3739437A1 (en) 2020-11-18
ES2804503T3 (es) 2021-02-08
CN108196759B (zh) 2021-11-19
EP3190502A4 (en) 2017-09-06
EP3739437B1 (en) 2023-06-28
US10754535B2 (en) 2020-08-25

Similar Documents

Publication Publication Date Title
WO2016034023A1 (zh) 触发终端的方法及相关设备
KR102230708B1 (ko) 사용자 인터렉션을 제공하는 사용자 단말 장치 및 그 방법
WO2016078441A1 (zh) 图标管理的方法、装置及终端
US11262895B2 (en) Screen capturing method and apparatus
EP2993566B9 (en) Application interface presentation method and apparatus, and electronic device
US20130135228A1 (en) Device and method for displaying object in terminal
KR102021048B1 (ko) 사용자 입력을 제어하기 위한 방법 및 그 전자 장치
KR20120062297A (ko) 디스플레이 장치 및 그 ui 제공 방법
KR20130133980A (ko) 터치스크린을 가진 단말에서 오브젝트 이동 방법 및 장치
US10521248B2 (en) Electronic device and method thereof for managing applications
WO2017132963A1 (zh) 一种信息处理的方法及电子设备
CN103809903B (zh) 用于控制虚拟屏幕的方法和装置
WO2016106750A1 (zh) 一种用于控制多媒体文件播放进度的方法及终端
CN104298434B (zh) 一种信息处理方法及电子设备
US11460971B2 (en) Control method and electronic device
TW201437901A (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: 15837833

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15508954

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2015837833

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015837833

Country of ref document: EP