CN112486371A - Application icon dragging method and device and storage medium - Google Patents
Application icon dragging method and device and storage medium Download PDFInfo
- Publication number
- CN112486371A CN112486371A CN202011470961.0A CN202011470961A CN112486371A CN 112486371 A CN112486371 A CN 112486371A CN 202011470961 A CN202011470961 A CN 202011470961A CN 112486371 A CN112486371 A CN 112486371A
- Authority
- CN
- China
- Prior art keywords
- dragging
- application icon
- display page
- target application
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04817—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a dragging method and device of an application icon and a storage medium, and belongs to the technical field of internet. In the method, the terminal can switch the display page to complete the cross-page dragging of the application icon based on the dragging operation aiming at the target application icon received in the dragging area. Because the distance between the edge of the dragging area and the target application icon is smaller, namely the dragging area is adjacent to the target application icon and has a smaller area, a user only needs to drag the application icon in a smaller range in the current display page, and the application icon can be dragged to another display page. The dragging method has good reliability and flexibility.
Description
Technical Field
The present disclosure relates to the internet field, and in particular, to a method and an apparatus for dragging an application icon, and a storage medium.
Background
Due to the increasing number of Applications (APPs) that can be installed in a terminal and the area limitation of the terminal screen, icons (for short, APP icons) for identifying APPs need to be distributed in a plurality of display pages for display. Accordingly, application icons often need to be dragged across pages.
In the related art, for each application icon, the terminal may drag the application icon to the other display page to display in response to the drag operation for the application icon. Wherein the drag operation is: and dragging the application icon to the edge of the screen by the user, and then dragging the application icon to other display pages.
However, the dragging method in the related art has low reliability and poor flexibility.
Disclosure of Invention
The embodiment of the application icon dragging method and device and a storage medium can solve the problems of low reliability and poor flexibility of a dragging method in the related art. The technical scheme is as follows:
in one aspect, a method for dragging an application icon is provided, and the method includes:
receiving a selected operation for a target application icon displayed within a first display page;
if dragging operation aiming at the target application icon is received in a dragging area, switching a display page based on the dragging operation, wherein the distance between the edge of the dragging area and the target application icon is smaller than a distance threshold value;
and displaying the target application icon in the switched second display page.
Optionally, the displaying the target application icon in the switched second display page includes:
in the process of switching and displaying the second display page, if the dragging operation is detected to be finished or the target application icon is located outside the dragging area, the switching and displaying of the display page is stopped, and the target application icon is displayed in the second display page.
Optionally, the switching the display page based on the dragging operation includes:
and switching the display page along the dragging direction of the dragging operation.
Optionally, the method further includes: and displaying the dragging area.
Optionally, before switching the display page based on the drag operation, the method further includes:
acquiring target parameters, wherein the target parameters comprise pressing force for the target application icon or dragging distance of the target application icon in the dragging area;
the switching a display page based on the drag operation includes:
and switching a display page according to a target dragging speed indicated by the target parameter based on the dragging operation, wherein the target dragging speed is positively correlated with the target parameter.
Optionally, the switching the display page based on the dragging operation includes:
and if the duration of the dragging operation received in the dragging area is greater than a duration threshold, switching a display page based on the dragging operation.
Optionally, before switching the display page based on the drag operation, the method further includes:
and if the duration of the dragging operation received in the dragging area is less than or equal to a duration threshold, or the dragging operation acts outside the dragging area, displaying the target application icon in the first display page.
In another aspect, there is provided an apparatus for dragging an application icon, the apparatus including:
a receiving module, configured to receive a selected operation for a target application icon displayed in a first display page;
the switching module is used for switching a display page based on the dragging operation if the dragging operation aiming at the target application icon is received in the dragging area, and the distance between the edge of the dragging area and the target application icon is smaller than a distance threshold value;
and the first display module is used for displaying the target application icon in the switched second display page.
In still another aspect, there is provided an apparatus for dragging an application icon, the apparatus including: the application icon dragging system comprises a memory, a processor and a computer program stored on the memory, wherein the processor realizes the application icon dragging method according to the above aspect when executing the computer program.
In still another aspect, there is provided a computer-readable storage medium having stored therein a computer program loaded and executed by a processor to implement the dragging method of an application icon according to the above aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least can comprise:
in summary, the embodiment of the present application provides a method and an apparatus for dragging an application icon, and a storage medium. In the method, the terminal can switch the display page to complete the cross-page dragging of the application icon based on the dragging operation aiming at the target application icon received in the dragging area. Because the distance between the edge of the dragging area and the target application icon is smaller, namely the dragging area is adjacent to the target application icon and has a smaller area, a user only needs to drag the application icon in a smaller range in the current display page, and the application icon can be dragged to another display page. The dragging method has good reliability and flexibility.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment to which various embodiments of the present application relate;
fig. 2 is a flowchart of a method for dragging an application icon according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another application icon dragging method provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a terminal display interface provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of another terminal display interface provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a display interface of a terminal according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a device for dragging an application icon according to an embodiment of the present application;
fig. 8 is a block diagram of another application icon dragging device provided in the embodiments of the present application;
fig. 9 is a block diagram of another application icon dragging device provided in an embodiment of the present application;
fig. 10 is a block diagram of a further application icon dragging device provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of a device for dragging an application icon according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Dragging an application icon across pages requires the terminal to interact with the user. In the prior art, the interaction methods include the following two methods: firstly, a user drags an application icon needing to be dragged across a page to the edge of a screen of a terminal, and the target duration is stopped to trigger the terminal to switch and display the page. After the terminal switches the display page, the user drags the application icon to a certain position of the switched display page, and the terminal displays the application icon at the position. Secondly, a user firstly triggers the terminal to display all the display pages as one display page in a thumbnail mode through touch operation, then the user drags the application icon needing to be dragged across the pages to any display page in the multiple display pages in the thumbnail mode, and the terminal displays the application icon in the display page.
However, in the first method, on the one hand, since the application icon needs to be dragged to the edge of the screen first, the user can easily drag the application icon out of the screen area, resulting in a failed dragging. On the other hand, as the terminal has a high touch difficulty in detecting the edge of the screen, once the dragging gesture or the touch position of the user is unreasonable, touch failure may occur, and the dragging fails. On the other hand, when the user touches the screen through the finger, in order to ensure the dragging reliability, the user needs to perform fine control on the finger, such as rotating the finger, so that the finger belly part close to the screen part is lifted when the user touches the edge of the screen, and the finger belly part far away from the screen part touches the screen, thus the interaction experience of the user is influenced. In addition, because the screen size of the current terminal is large, the user needs to drag the application icon for a long distance in one display page, and the user experience is poor. In the second way, if the number of display pages and the number of application icons included in the terminal are large, when all the display pages are displayed as one display page in a thumbnail manner, a large number of application icons need to be displayed in the one display page. Accordingly, the size of each application icon is smaller. Therefore, the touch control difficulty of the user is improved, the reliability of dragging the application icon is poor, and the user interaction experience is poor.
The embodiment of the application icon dragging method can complete the cross-page dragging of the application icon without dragging the application icon to the edge of a terminal screen by a user and triggering the terminal to display all display pages as one display page. The dragging method has good reliability and flexibility, and improves the interactive experience of users.
Fig. 1 is a schematic diagram of an implementation environment related to a method for dragging an application icon according to an embodiment of the present application. As shown in FIG. 1, the implementation environment may include: the terminal 10 may be a computer, a notebook computer, a smart phone, or the like, and fig. 1 illustrates the terminal 10 as a smart phone.
In this embodiment of the application, a plurality of APPs may be installed in the terminal 10, and APP icons, that is, application icons, corresponding to the plurality of APPs one to one may be displayed in a display page of the terminal 10.
For example, referring to fig. 1, nine app icons 00 within one display page P1 are shown, with a percentage of nine app icons 00 being: the application icons 00 of the "weather" APP, the application icon 00 of the "clock" APP, the application icon 00 of the "player" APP, the application icon 00 of the "mailbox" APP, the application icon 00 of the "setting" APP, the application icon 00 of the "short message" APP, the application icon 00 of the "music" APP, the application icon 00 of the "browser" APP, and the application icon 00 of the "accommodation" APP. Also, fig. 1 only identifies the application icon 00 of the "player" APP.
Fig. 2 is a flowchart of a method for dragging an application icon according to an embodiment of the present disclosure, where the method may be applied to the terminal 10 shown in fig. 1. As shown in fig. 2, the method may include:
When an application icon located in a display page before switching (which may be referred to as a first display page) needs to be dragged across pages to other display pages (which may be referred to as a second display page), a user may perform a selection operation (e.g., long-press) on the application icon to instruct the terminal 10 to determine a target application icon that needs to be dragged across pages. That is, the terminal 10 may first receive a selection operation for the target application icon triggered by the user.
Wherein a distance between an edge of the dragged area and the target application icon may be smaller than a distance threshold. That is, the drag area may be an area located near the target application icon and having a small area. After the selected operation is performed, the user may further drag the target application icon in the drag area, and the terminal may switch to display the second display page based on the drag operation performed by the user.
And step 203, displaying the target application icon in the switched second display page.
Optionally, the terminal may detect a touch state of the user in real time (e.g., detect whether the dragging operation is finished) in the process of switching the display page, and determine whether to stop switching the display page based on the touch state. After the switching of the display page is stopped, the terminal can display the target application icon in the currently switched second display page, and the cross-page dragging of the target application icon is completed.
In summary, the embodiment of the present application provides a method for dragging an application icon. In the method, the terminal can switch the display page to complete the cross-page dragging of the application icon based on the dragging operation aiming at the target application icon received in the dragging area. Because the distance between the edge of the dragging area and the target application icon is smaller, namely the dragging area is adjacent to the target application icon and has a smaller area, a user only needs to drag the application icon in a smaller range in the current display page, and the application icon can be dragged to another display page. The dragging method has good reliability and flexibility.
Fig. 3 is a flowchart of another application icon dragging method provided in an embodiment of the present application, and the method may be applied to the terminal 110 shown in fig. 1. As shown in fig. 3, the method may include:
Optionally, in conjunction with the terminal 10 shown in fig. 1, the target application icon may be any application icon displayed in any display page of the terminal 10. In order to distinguish from the display page after switching, in the embodiment of the present application, the display page before switching is referred to as a first display page, and the display page after switching is referred to as a second display page.
In the embodiment of the present application, when an application icon located in a first display page needs to be dragged across pages to a second display page, a user may first perform a selection operation on the application icon to instruct the terminal 10 to reliably determine a target application icon that needs to be dragged across pages. That is, the terminal 10 may first receive a selection operation for the target application icon triggered by the user.
Alternatively, the selected operation may be an operation of long-pressing an application icon. Of course, other touch operations, such as double-clicking an application icon, may also be performed. Further, the selection operation may be performed by the user through a finger, or may be performed by the user using a touch device (e.g., a stylus).
For example, fig. 4 is an interface schematic diagram of a terminal display page provided in an embodiment of the present application. As shown in fig. 4, it shows only one application icon 00 in the currently displayed page. Assuming that the selected operation is a long-press operation and the user needs to drag the application icon 00 across the page, the user may first long-press the application icon 00 to indicate that the target application icon that the terminal needs to drag across the page is the application icon 00. In other words, when the user presses the application icon 00 for a long time, the terminal can receive the selection operation for the application icon 00.
Wherein a distance between an edge of the dragged area and the target application icon may be smaller than a distance threshold. That is, the drag area may be an area range that is located near the target application icon and has a small area. Optionally, after receiving the selected operation for the target application icon, the terminal may display the drag area first, so that the user may perform the drag operation of the following steps in the drag area. Of course, the terminal may not display the drag area, that is, the terminal may directly perform step 303 after performing step 301.
For example, the drag area may be an area AA shown in fig. 4 surrounding the target application icon. Of course, the drag area may be only a portion of the area on either side of the target application icon. For example, in conjunction with fig. 4, the dragged area may be a partial area on the left side of the application icon 00.
It should be noted that each target application icon may correspond to a drag area. And in conjunction with the structures shown in fig. 1 and 4, a gap may be formed between the drag area corresponding to each target application icon and other application icons adjacent to the target application icon. Therefore, the situation that other application icons are touched by mistake when the target application icon is dragged can be avoided.
Optionally, after performing the selected operation, the user may continue to drag the target application icon in any direction within the drag area. Accordingly, the terminal may receive the drag operation for the target application icon in the drag area, and continue to perform the following steps. Based on this, it may also be determined that, in the embodiment of the present application, the target application icon may only move within the smaller range of the drag area.
For example, in conjunction with another display page schematic diagram shown in fig. 4 and fig. 5, when the user drags the target application icon 00 to the left in the dragging area AA, the terminal may receive a dragging operation for the target application icon in the dragging area AA, where the dragging operation may also be referred to as a left-sliding operation. Similarly, when the user drags the target application icon 00 to the right in the dragging area AA, the terminal may receive a dragging operation for the target application icon in the dragging area AA, where the dragging operation may also be referred to as a right-sliding operation. Of course, the user is not limited to dragging left or right, e.g., it may also drag up or down.
And step 304, acquiring target parameters.
In the embodiment of the application, the terminal can also acquire the target parameter and complete the function of dragging the target application icon across the page subsequently based on the acquired target parameter. Optionally, the target parameter may include a degree of pressure for the target application icon, or a dragging distance of the target application icon within the dragging area.
If the selected operation is a long press operation, the pressing force may refer to a pressing force with which the user presses the target application icon when performing the selected operation. If the selected operation is a double-click operation, the pressing force may refer to a pressing force with which the user presses the target application icon when performing the drag operation. The dragging distance may refer to a distance between a position where the target application icon is dragged and a position where the target application icon is dragged (i.e., an initial position).
Optionally, a pressure sensor for detecting touch pressure may be installed in the terminal, and the terminal may detect the degree of pressure of the user for the target application icon by using the pressure sensor.
Alternatively, a position detection sensor for detecting a position of the application icon on the screen or a distance detection sensor for detecting a sliding distance of a sliding operation performed by the user on the screen may be installed in the terminal. The terminal may detect a dragging distance of the target application icon within the dragging area using a position detection sensor or a distance detection sensor.
The target parameter is not limited to the above-described type, and may be, for example, a dragging force.
And 305, switching the display page according to the target dragging speed indicated by the target parameter based on the dragging operation.
Optionally, the target parameter and the target dragging speed may be positively correlated, that is, the larger the target parameter is, the larger the target dragging speed is; the smaller the target parameter, the smaller the target dragging speed.
For example, if the target parameter is the pressing force degree for the target application icon, it may be determined that the higher the pressing force degree of the user is, the faster the terminal switches the display page, that is, the faster the sliding speed of the display page is. The smaller the pressing force of the user is, the smaller the speed of switching the display page by the terminal is. The same applies to other types of target parameters, and the description thereof is omitted. Therefore, the flexibility of dragging can be further improved, and the user experience is improved.
Optionally, in this embodiment of the application, after the terminal acquires the target parameter, the terminal may switch the display page according to the target dragging speed corresponding to the target parameter along the dragging direction of the dragging operation.
For example, as described in conjunction with fig. 4 and 5 and the above step 303, if the dragging direction is to the left, the terminal may determine that the user wants to drag the target application icon 00 into any one of the second display pages on the left side of the first display page. At this time, the terminal may switch to display the second display page to the left. If the dragging direction is rightward, the terminal may determine that the user wants to drag the target application icon 00 into any one of the second display pages on the right side of the first display page. At this time, the terminal may switch to display the second display page to the right. If the switching to the left or the right is required, the display page of the terminal should be capable of being turned to the left or the right at least. Of course, if the displayed page of the terminal can be turned up or down, the dragging direction may also be up or down.
It should be noted that, with reference to fig. 4 and fig. 5, the terminal may determine the dragging direction relative to the direction of the position of the target application icon 00 before dragging based on the position of the target application icon 00 after dragging.
In addition, in the embodiment of the application, the terminal may further detect a duration of the dragging operation, and determine whether to perform an operation of switching the display page based on the duration. For example, when detecting that the duration of the dragging operation is greater than the duration threshold, the terminal may perform an operation of switching the displayed page, that is, trigger a function of dragging the application icon across the page. Thus, the flexibility and reliability of dragging can be further improved.
For example, the duration threshold may be preset in the terminal. Assuming that the time length threshold is 500 milliseconds (ms), if the selected operation is a long-press operation, with reference to fig. 4 and 5, after the user presses the target application icon 00 for a long time, drags the target application icon 00 in the dragging area AA, and continues the state for 500ms, the terminal may trigger the function of dragging the application icon across the page again, and perform a subsequent operation of switching the displayed page.
And step 306, displaying the target application icon in the switched second display page.
In the embodiment of the application, in the process of switching and displaying the second display page, if the terminal detects that the dragging operation is finished, or the target application icon is located outside the dragging area, the switching and displaying of the display page may be stopped, and the target application icon is displayed in the second display page. Optionally, if the user drags the target application icon with a finger, the terminal may determine that the dragging operation is ended when the touch operation cannot be detected. That is, when the user's finger is lifted up and away from the screen of the terminal, the terminal may determine that the drag operation is ended.
Since the terminal stops switching the displayed page after the drag operation is finished or the target application icon is dragged outside the drag area, the function may also be referred to as a function of canceling the drag of the application icon across the page.
For example, referring to fig. 4, in the process of switching the display pages, if the user drags the target application icon 00 out of the dragging area AA after the terminal is switched to a certain display page, the terminal may stop switching the display pages, that is, automatically cancel the function of dragging the application icon across pages. At this time, the target application icon 00 may stay within the currently displayed second display page.
For example, referring to fig. 6, another schematic display page diagram is shown, which takes the target APP icon as the APP icon 00 corresponding to the "browser" APP, and shows the APP icon 00 displayed on the first display page P1 before switching and the APP icon 00 displayed on the second display page P2 after switching. Moreover, referring to fig. 6, after the target APP icon 00 is displayed on the second display page P2, the APP icon corresponding to the previously displayed "conversation" APP at the position in the second display page P2 correspondingly moves to the left, and the APP icon corresponding to the previously displayed "APP store" APP at the position adjacent to the left of the APP icon corresponding to the "conversation" APP correspondingly moves to the right.
It should be noted that the second display page described in the embodiment of the present application may also be the first display page, that is, the second display page and the first display page may be the same display page.
In addition, since the user may have a regret mind after the user performs the dragging operation and before the target application icon has not been dragged across the page, that is, the target application icon is not expected to be dragged across the page, in the embodiment of the present application, the terminal may further have a function of canceling the dragging of the application icon across the page within the time period. That is, as described in conjunction with the above step 305, before performing the above step 305, the terminal may further directly display the target application icon in the first display page if it is detected that the duration of the drag operation is less than or equal to the duration threshold, or the drag operation is performed outside the drag area. Of course, the terminal may also determine that the user desires to cancel dragging the target application icon across the page in other manners. For example, if it is detected that the target application icon is dragged out of the dragging area within the duration threshold, the terminal may stop the subsequent operation of switching the display page, and display the target application icon in the first display page.
For example, in conjunction with the description of step 305, assuming that the time threshold is 500ms, and the user performs the drag operation with the finger, in conjunction with fig. 4, if the user stops the drag operation within 500ms, and if the finger is lifted, the terminal may directly display the target application icon in the first display page. Or, if the user drags the target application icon 00 out of the dragging area AA within 500ms, that is, the terminal detects that the dragging operation is applied outside the dragging area AA, the target application icon may be directly displayed in the first display page.
It should be noted that a desktop icon placeholder algorithm may be built in the terminal, and the terminal may display each application icon in the current display page (including the first display page and the second display page) according to the algorithm.
It should be further noted that, the sequence of the steps of the dragging method for an application icon provided in the embodiment of the present invention may be appropriately adjusted, for example, the step 302 may be deleted according to the situation. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
In summary, the embodiment of the present application provides a method for dragging an application icon. In the method, the terminal can switch the display page to complete the cross-page dragging of the application icon based on the dragging operation aiming at the target application icon received in the dragging area. Because the distance between the edge of the dragging area and the target application icon is smaller, namely the dragging area is adjacent to the target application icon and has a smaller area, a user only needs to drag the application icon in a smaller range in the current display page, and the application icon can be dragged to another display page. The dragging method has good reliability and flexibility.
Fig. 7 is a block diagram of a device for dragging an application icon according to an embodiment of the present application, where the device 70 may be applied to the terminal 10 shown in fig. 1. As shown in fig. 7, the apparatus 70 may include:
a receiving module 701, configured to receive a selected operation for a target application icon displayed in a first display page.
A switching module 702, configured to switch the display page based on a drag operation if the drag operation for the target application icon is received in the drag area, where a distance between an edge of the drag area and the target application icon is smaller than a distance threshold.
The first display module 703 is configured to display the target application icon in the switched second display page.
In summary, the embodiment of the present application provides a device for dragging an application icon. The device can switch the display page to complete the cross-page dragging of the application icon based on the dragging operation aiming at the target application icon received in the dragging area. Because the distance between the edge of the dragging area and the target application icon is smaller, namely the dragging area is adjacent to the target application icon and has a smaller area, a user only needs to drag the application icon in a smaller range in the current display page, and the application icon can be dragged to another display page. The dragging method has good reliability and flexibility.
Optionally, the first display module 703 may be configured to: in the process of switching and displaying the second display page, if the dragging operation is detected to be finished or the target application icon is located outside the dragging area, the switching and displaying of the page is stopped, and the target application icon is displayed in the second display page.
Optionally, the switching module 702 may be configured to: and switching the display page along the dragging direction of the dragging operation.
Optionally, fig. 8 is a block diagram of another application icon dragging device provided in an embodiment of the present application. As shown in fig. 8, the apparatus 70 may further include:
and a second display module 704 for displaying the dragged area.
Optionally, fig. 9 is a block diagram of another application icon dragging device provided in an embodiment of the present application. As shown in fig. 9, the apparatus 70 may further include:
the obtaining module 705 is configured to obtain the target parameter before the display page is switched based on the dragging operation.
The target parameter may include a degree of pressure for the target application icon, or a dragging distance of the target application icon within the dragging area.
Accordingly, the switching module 702 may be configured to: and switching the display page according to the target dragging speed indicated by the target parameter based on the dragging operation. Wherein the target dragging speed and the target parameter can be positively correlated.
Optionally, the switching module 702 may be configured to: and if the duration of the dragging operation received in the dragging area is greater than the duration threshold, switching the display page based on the dragging operation.
Optionally, fig. 10 is a block diagram of another application icon dragging device provided in an embodiment of the present application. As shown in fig. 10, the apparatus 70 may further include:
the third display module 706 is configured to, before the display page is switched based on the dragging operation, display the target application icon in the first display page if a duration of the dragging operation received in the dragging area is less than or equal to a duration threshold, or the dragging operation acts outside the dragging area.
In summary, the embodiment of the present application provides a device for dragging an application icon. The device can switch the display page to complete the cross-page dragging of the application icon based on the dragging operation aiming at the target application icon received in the dragging area. Because the distance between the edge of the dragging area and the target application icon is smaller, namely the dragging area is adjacent to the target application icon and has a smaller area, a user only needs to drag the application icon in a smaller range in the current display page, and the application icon can be dragged to another display page. The dragging method has good reliability and flexibility.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Embodiments of the present application also provide a computer-readable storage medium, in which a computer program may be stored, and the computer program is loaded and executed by a processor to implement the above-mentioned method embodiments (for example, the method embodiments shown in fig. 2 or fig. 3).
Fig. 11 is a block diagram illustrating a structure of a device 1100 for dragging an application icon according to an embodiment of the present disclosure. The apparatus 1100 may be a portable mobile terminal such as: a smartphone, tablet, or e-book as shown in fig. 1. The apparatus 1100 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like. In general, the apparatus 1100 may include: a processor 1101 and a memory 1102.
In some embodiments, the apparatus 1100 may further include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102 and peripheral interface 1103 may be connected by a bus or signal lines. Various peripheral devices may be connected to the peripheral interface 1103 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, display screen 1105, camera assembly 1106, audio circuitry 1107, positioning assembly 1108, and power supply 1109.
The peripheral interface 1103 may be used to connect at least one Input/Output (I/O) related peripheral to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102 and the peripheral device interface 1103 may be implemented on separate chips or circuit boards, which are not limited in this application.
The radio frequency circuit 1104 is used to receive and transmit Radio Frequency (RF) signals, also known as electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or wireless fidelity (WiFi) networks. In some embodiments, the rf circuit 1104 may further include a Near Field Communication (NFC) related circuit, which is not limited in this application.
The display screen 1105 is used to display a User Interface (UI). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to capture touch signals on or over the surface of the display screen 1105. The touch signal may be input to the processor 1101 as a control signal for processing. At this point, the display screen 1105 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 1105 may be one, disposed on the front panel of the device 1100; in other embodiments, the display screens 1105 may be at least two, each disposed on a different surface of the device 1100 or in a folded design; in other embodiments, display 1105 may be a flexible display disposed on a curved surface or on a folded surface of device 1100. Even further, the display screen 1105 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 1105 can be made of liquid crystal display, organic light emitting diode, etc.
The audio circuitry 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing or inputting the electric signals to the radio frequency circuit 1104 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of the device 1100. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1107 may also include a headphone jack.
The positioning component 1108 is used to locate the current geographic location of the device 1100 for purposes of navigation or Location Based Services (LBS). The positioning component 1108 may be a positioning component based on the Global Positioning System (GPS) in the united states, the beidou system in china, or the galileo system in russia.
The power supply 1109 is used to provide power to the various components in the device 1100. The power supply 1109 may be alternating current, direct current, disposable or rechargeable. When the power supply 1109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the device 1100 also includes one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: acceleration sensor 1111, gyro sensor 1112, pressure sensor 1111, fingerprint sensor 1114, optical sensor 1115, and proximity sensor 1116.
The acceleration sensor 1111 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the apparatus 1100. For example, the acceleration sensor 1111 may be configured to detect components of the gravitational acceleration in three coordinate axes. The processor 1101 may control the display screen 1105 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1112 may detect a body direction and a rotation angle of the apparatus 1100, and the gyro sensor 1112 may cooperate with the acceleration sensor 1111 to acquire a 3D motion of the user with respect to the apparatus 1100. From the data collected by gyroscope sensor 1112, processor 1101 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 1111 may be located on the side bezel of the device 1100 and/or on the underlying layers of the display screen 1105. When the pressure sensor 1111 is disposed on the side frame of the device 1100, a user's grip signal to the device 1100 may be detected, and the processor 1101 performs right-left hand recognition or shortcut operation based on the grip signal collected by the pressure sensor 1111. When the pressure sensor 1111 is disposed at a lower layer of the display screen 1105, the processor 1101 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1114 is configured to collect a fingerprint of the user, and the processor 1101 identifies the user according to the fingerprint collected by the fingerprint sensor 1114, or the fingerprint sensor 1114 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1114 may be disposed on the front, back, or side of the device 1100. When a physical key or vendor Logo is provided on the device 1100, the fingerprint sensor 1114 may be integrated with the physical key or vendor Logo.
Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 may control the display brightness of the display screen 1105 based on the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the display screen 1105 is reduced. In another embodiment, processor 1101 may also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1115.
A proximity sensor 1116, also referred to as a distance sensor, is typically provided on the front panel of the device 1100. The proximity sensor 1116 is used to capture the distance between the user and the front of the device 1100. In one embodiment, the display screen 1105 is controlled by the processor 1101 to switch from a bright screen state to a dark screen state when the proximity sensor 1116 detects that the distance between the user and the front face of the device 1100 is gradually decreasing; when the proximity sensor 1116 detects that the distance between the user and the front of the device 1100 becomes progressively larger, the display screen 1105 is controlled by the processor 1101 to switch from a breath-screen state to a light-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of the apparatus 1100, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
It should be understood that reference herein to "and/or" means that there may be three relationships, for example, a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (10)
1. A method for dragging an application icon, the method comprising:
receiving a selected operation for a target application icon displayed within a first display page;
if dragging operation aiming at the target application icon is received in a dragging area, switching a display page based on the dragging operation, wherein the distance between the edge of the dragging area and the target application icon is smaller than a distance threshold value;
and displaying the target application icon in the switched second display page.
2. The method according to claim 1, wherein the displaying the target application icon in the switched second display page comprises:
in the process of switching and displaying the second display page, if the dragging operation is detected to be finished or the target application icon is located outside the dragging area, the switching and displaying of the display page is stopped, and the target application icon is displayed in the second display page.
3. The method according to claim 1 or 2, wherein the switching the display page based on the drag operation includes:
and switching the display page along the dragging direction of the dragging operation.
4. The method according to claim 1 or 2, characterized in that the method further comprises: and displaying the dragging area.
5. The method according to claim 1 or 2, wherein before switching the display page based on the drag operation, the method further comprises:
acquiring target parameters, wherein the target parameters comprise pressing force for the target application icon or dragging distance of the target application icon in the dragging area;
the switching a display page based on the drag operation includes:
and switching a display page according to a target dragging speed indicated by the target parameter based on the dragging operation, wherein the target dragging speed is positively correlated with the target parameter.
6. The method according to claim 1 or 2, wherein the switching the display page based on the drag operation includes:
and if the duration of the dragging operation received in the dragging area is greater than a duration threshold, switching a display page based on the dragging operation.
7. The method according to claim 1 or 2, wherein before switching the display page based on the drag operation, the method further comprises:
and if the duration of the dragging operation received in the dragging area is less than or equal to a duration threshold, or the dragging operation acts outside the dragging area, displaying the target application icon in the first display page.
8. An apparatus for dragging an application icon, the apparatus comprising:
a receiving module, configured to receive a selected operation for a target application icon displayed in a first display page;
the switching module is used for switching a display page based on the dragging operation if the dragging operation aiming at the target application icon is received in the dragging area, and the distance between the edge of the dragging area and the target application icon is smaller than a distance threshold value;
and the first display module is used for displaying the target application icon in the switched second display page.
9. An apparatus for dragging an application icon, the apparatus comprising: a memory, a processor and a computer program stored on the memory, the processor implementing the method of dragging an application icon according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the dragging method of an application icon according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011470961.0A CN112486371B (en) | 2020-12-14 | 2020-12-14 | Application icon dragging method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011470961.0A CN112486371B (en) | 2020-12-14 | 2020-12-14 | Application icon dragging method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112486371A true CN112486371A (en) | 2021-03-12 |
CN112486371B CN112486371B (en) | 2022-07-22 |
Family
ID=74917032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011470961.0A Active CN112486371B (en) | 2020-12-14 | 2020-12-14 | Application icon dragging method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112486371B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110116526A (en) * | 2010-04-19 | 2011-10-26 | 엘지전자 주식회사 | Mobile terminal and operation control method thereof |
CN102830911A (en) * | 2012-07-30 | 2012-12-19 | 广东欧珀移动通信有限公司 | Method for rapidly dragging application program to switch pages |
CN110647263A (en) * | 2018-06-27 | 2020-01-03 | 珠海格力电器股份有限公司 | Mobile terminal desktop icon moving method, device, medium and equipment |
-
2020
- 2020-12-14 CN CN202011470961.0A patent/CN112486371B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110116526A (en) * | 2010-04-19 | 2011-10-26 | 엘지전자 주식회사 | Mobile terminal and operation control method thereof |
CN102830911A (en) * | 2012-07-30 | 2012-12-19 | 广东欧珀移动通信有限公司 | Method for rapidly dragging application program to switch pages |
CN110647263A (en) * | 2018-06-27 | 2020-01-03 | 珠海格力电器股份有限公司 | Mobile terminal desktop icon moving method, device, medium and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112486371B (en) | 2022-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110602321B (en) | Application program switching method and device, electronic device and storage medium | |
CN110308956B (en) | Application interface display method and device and mobile terminal | |
CN109862412B (en) | Method and device for video co-shooting and storage medium | |
CN110362366B (en) | Application interface display method and device | |
CN110288689B (en) | Method and device for rendering electronic map | |
CN111897465B (en) | Popup display method, device, equipment and storage medium | |
CN113157172A (en) | Barrage information display method, transmission method, device, terminal and storage medium | |
CN108172176B (en) | Page refreshing method and device for ink screen | |
CN110677713B (en) | Video image processing method and device and storage medium | |
CN110275655B (en) | Lyric display method, device, equipment and storage medium | |
CN109783176B (en) | Page switching method and device | |
CN110769120A (en) | Method, device, equipment and storage medium for message reminding | |
CN111857793A (en) | Network model training method, device, equipment and storage medium | |
CN108664300B (en) | Application interface display method and device in picture-in-picture mode | |
CN111158575B (en) | Method, device and equipment for terminal to execute processing and storage medium | |
CN110868642B (en) | Video playing method, device and storage medium | |
CN111857938A (en) | Management method and device of popup view, terminal and storage medium | |
CN109032492B (en) | Song cutting method and device | |
CN114594885A (en) | Application icon management method, device and equipment and computer readable storage medium | |
CN112486371B (en) | Application icon dragging method and device and storage medium | |
CN110941458B (en) | Method, device, equipment and storage medium for starting application program | |
CN112732133B (en) | Message processing method and device, electronic equipment and storage medium | |
CN110119233B (en) | Content pushing method and device, terminal and storage medium | |
CN109189525B (en) | Method, device and equipment for loading sub-page and computer readable storage medium | |
CN110471613B (en) | Data storage method, data reading method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |