CN107562312B - Icon moving method and mobile terminal - Google Patents

Icon moving method and mobile terminal Download PDF

Info

Publication number
CN107562312B
CN107562312B CN201710741405.4A CN201710741405A CN107562312B CN 107562312 B CN107562312 B CN 107562312B CN 201710741405 A CN201710741405 A CN 201710741405A CN 107562312 B CN107562312 B CN 107562312B
Authority
CN
China
Prior art keywords
sliding
target
icon
determining
sliding operation
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.)
Active
Application number
CN201710741405.4A
Other languages
Chinese (zh)
Other versions
CN107562312A (en
Inventor
智晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710741405.4A priority Critical patent/CN107562312B/en
Publication of CN107562312A publication Critical patent/CN107562312A/en
Application granted granted Critical
Publication of CN107562312B publication Critical patent/CN107562312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an icon moving method and a mobile terminal, wherein the method comprises the following steps: determining a target icon; if the first sliding operation is detected, determining the sliding direction and the sliding speed of the first sliding operation; determining the target position of the target icon according to the sliding direction and the sliding speed of the first sliding operation; and moving the target icon to the target position. After the mobile terminal obtains a first sliding operation which is input by a user and indicates the target position of the target icon, the sliding direction and the sliding speed of the first sliding operation are calculated, the target position matched with the first sliding operation is determined according to the sliding direction and the sliding speed of the first sliding operation, and the target icon is moved to the target position, so that the technical effect of moving the target icon through simple operation can be achieved.

Description

Icon moving method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an icon moving method and a mobile terminal.
Background
With the development of communication technology, the functions of the mobile terminal are more and more powerful, and more icons are displayed on the desktop of the mobile terminal. When a user needs to sort the icons on the desktop, the icons need to be moved. In the prior art, if an icon is moved to a target position, a user finger needs to continuously drag the icon to the target position, and the user finger cannot leave a touch screen of a mobile terminal in the icon moving process, so that the whole moving process needs a long time. If the finger of the user carelessly leaves the touch screen of the mobile terminal in the process of moving the icon, the icon moving failure can be caused. Therefore, the existing icon moving method has the problem of complex operation.
Disclosure of Invention
The embodiment of the invention aims to provide an icon moving method and a mobile terminal, so as to solve the technical problem that the operation of the existing icon moving method is complex.
In order to achieve the above purpose, the embodiments of the present invention provide the following specific schemes:
in a first aspect, an embodiment of the present invention provides an icon moving method, where the method includes:
determining a target icon;
if the first sliding operation is detected, determining the sliding direction and the sliding speed of the first sliding operation;
determining the target position of the target icon according to the sliding direction and the sliding speed of the first sliding operation;
and moving the target icon to the target position.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the target icon determining module is used for determining a target icon;
the data acquisition module is used for determining the sliding direction and the sliding speed of the first sliding operation if the first sliding operation is detected;
a target position determining module, configured to determine a target position of the target icon according to the sliding direction and the sliding rate of the first sliding operation;
and the target icon moving module is used for moving the target icon to the target position.
In a third aspect, an embodiment of the present invention further provides another mobile terminal, including a memory, a processor, and an icon movement processing program that is stored in the memory and is executable on the processor; wherein the processor implements the icon moving method according to the first aspect when executing the icon moving processing program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where an icon movement processing program is stored, and when executed by a processor, the icon movement processing program implements the steps of the icon movement method according to the first aspect.
In the embodiment of the invention, after a first sliding operation which indicates the target position of a target icon and is input by a user is obtained through a mobile terminal, the sliding direction and the sliding speed of the first sliding operation are determined, the target position matched with the first sliding operation is determined according to the sliding direction and the sliding speed of the first sliding operation, and the target icon is moved to the target position to complete the icon moving operation. Therefore, the icon moving method provided by the embodiment of the invention can realize the technical effect of moving the target icon through the first sliding operation of the user on the mobile terminal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an icon moving method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another icon moving method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a display page related to an icon moving method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating sliding directions involved in an icon moving method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a target page involved in the icon moving method according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an icon moving method according to an embodiment of the present invention. As shown in fig. 1, an icon moving method applied to a mobile terminal includes the following steps:
step 101, determining a target icon.
The icon moving operation is performed, and first, an icon to be moved is determined as a target icon. The method includes the steps that a plurality of icons are arranged on a display page of the mobile terminal, a target icon needing to be moved is selected from the icons, and the target icon can be one or more icons selected from the icons by a user.
A plurality of icons arranged on a display page of the mobile terminal are generally in a locked state, and a user can activate an application program corresponding to the clicked icon in a mode of clicking the icon. If the icon is required to be moved, the icon is required to be unlocked, so that the icon is in a tidiable state such as movable state and deletable state. Before the selection operation of the target icon is carried out, the icon is unlocked, so that the user can take the unlocked single icon as the target icon needing to be moved, or select at least one icon from the unlocked multiple icons as the target icon needing to be moved. The icon unlocking manner may be various, for example, at least one icon provided on the display page is pressed for a long time and maintained for a certain time, so that a single or a plurality of icons on the display page are unlocked. The user may also perform an unlocking operation of the plurality of icons on the display page by inputting an unlocking instruction preset in the mobile terminal, and other icons on the display page of the mobile terminal may be unlocked, so that the unlocking manner in the movable state is applicable to the present embodiment, which is not limited herein.
After the mobile terminal detects an unlocking request operation input by a user, all icons set on a display page of the mobile terminal can be controlled to be unlocked, only icons in a visible state on the display page can be controlled to be unlocked, or a part of common icons or a part of icons selected by the user in advance can be unlocked, which is not limited herein.
In one embodiment, the mobile terminal may directly use a single icon clicked and unlocked by the user as a target icon to be moved. In other embodiments, the mobile terminal may further receive a selection operation input by a user after controlling the plurality of icons to be unlocked, and select at least one icon from the plurality of unlocked icons as the target icon. The user may input a selection operation in various ways, for example, clicking on an unlocking area where the unlocked icon is located, or selecting a target icon in a sliding manner. In an embodiment, the mobile terminal may receive a click operation performed by a user on the unlock region, and use an icon receiving the click operation as the target icon.
In another embodiment, the mobile terminal may determine whether a second sliding operation with a sliding rate less than or equal to a first rate is detected in the icon unlocking state, and if the second sliding operation with the sliding rate less than or equal to the first rate is detected, determine the icon located in the action area of the second sliding operation as the target icon. In the icon moving operation process, in order to distinguish whether the received sliding operation is the second sliding operation for indicating the selection of the target icon or the first sliding operation for indicating the movement of the target icon, the mobile terminal can distinguish by setting a comparison reference value. Considering that the sliding speed of the second sliding operation of the user for selecting the target icon is less than the first sliding operation of the user for moving the target icon, the first speed can be preset in the mobile terminal, the sliding operation with the sliding speed less than the first speed is used as the second sliding operation of the user for selecting the target icon, and the sliding operation with the sliding speed greater than or equal to the first speed is used as the second sliding operation of the user for moving the target icon.
In various embodiments included in the present invention, the sliding rate of the sliding operation may be interpreted as a ratio of the total sliding distance from the start to the end of the sliding operation to the sliding time, and the sliding displacement of the sliding operation may be interpreted as a physical quantity corresponding to a directional straight line segment from the start position to the end position of the sliding operation.
Step 102, if a first sliding operation is detected, determining a sliding direction and a sliding speed of the first sliding operation.
After determining the target icon needing to be moved according to the steps, the mobile terminal detects whether a first sliding operation for indicating the target icon is received or not, and the target icon is moved after the first sliding operation is detected. And after detecting the first sliding operation, the mobile terminal collects relevant basic data of the first sliding operation and determines the sliding direction and the sliding speed of the first sliding operation according to the collected relevant basic data.
In one embodiment, the collected basic data related to the first sliding operation may include: the sliding displacement, the sliding distance, the sliding time, and the like are used to determine the sliding direction and the sliding rate of the first sliding operation. Specifically, the sliding rate of the first sliding operation may be calculated according to the sliding distance and the sliding time of the first sliding operation, and the sliding direction corresponding to the first sliding operation may be calculated according to the sliding displacement corresponding to the first sliding operation and the preset reference coordinate in the mobile terminal. Other ways of obtaining the sliding, direction and sliding speed of the first sliding operation are applicable to the embodiment, and are not limited herein.
In various embodiments to which the present invention is applied, the sliding direction of the sliding operation may be interpreted as obtaining a physical quantity corresponding to a directional straight line segment between a start point position and an end point position of the sliding operation based on a preset reference coordinate in the mobile terminal. The sliding direction of the sliding operation can be determined according to the positive and negative sum of the vector values corresponding to the directional straight line segments, and the determined sliding direction can be any one of left movement and right movement, or any one of left-up movement, right-down movement and left-down movement. In addition, the quadrant angle corresponding to the sliding direction of the sliding operation can be calculated according to the directed straight line segment between the starting point and the stopping point, and the mobile terminal can determine the moving amplitude of the target icon expected by the user according to the sliding amplitude corresponding to the quadrant angle of the sliding operation, so that the user experience is further improved.
And 103, determining the target position of the target icon according to the sliding direction and the sliding speed of the first sliding operation.
And after the sliding direction and the sliding speed corresponding to the first sliding operation are determined according to the steps, matching a target position corresponding to the first sliding operation for the target icon according to a preset matching rule in the mobile terminal.
In one embodiment, considering that icons are arranged on a plurality of display pages of the mobile terminal, when a user performs an icon moving operation, the user may need to move the icons across the pages. Accordingly, the process of determining the target location of the target icon may include: determining a target page and determining the moving position in the target page.
A second rate may be preset in the mobile terminal, and the second rate is used for determining, according to a size relationship between the sliding rate corresponding to the first sliding operation and the second rate, that the target page of the target icon is the current page where the target icon is currently located or a page adjacent to the current page. As can be seen from the above steps, the sliding rate of the second sliding operation indicating the selection target icon is smaller than the sliding rate of the first sliding operation indicating the movement target icon, and therefore, it is preferable that the first rate set in the mobile terminal is smaller than the second rate. The process of determining the target position of the target icon may specifically include:
and calculating the difference value between the sliding speed and the second speed of the first sliding operation, and determining the target page of the target position according to the sliding direction of the first sliding operation and the positive and negative difference value between the sliding speed and the second speed of the first sliding operation. And determining the position of the target icon in the target page as the target position according to the sliding direction of the first sliding operation.
The implementation process of determining the target page may include: if the sliding rate of the first sliding operation is greater than the second rate, the first page or the second page adjacent to the current page can be used as the target page; if the sliding rate of the first sliding operation is less than the second rate, the current page can be used as the target page, and the target icon is indicated to move in the current page. Specifically, the first page adjacent to the current page may be a previous page adjacent to the current page, and the second page adjacent to the current page may be a next page adjacent to the current page, or may be an adjacent page with other setting conditions, which is not limited herein.
The implementation process of determining the mobile position may include: and according to the preset reference coordinate, the target page is divided into a plurality of moving areas in advance, and each area corresponds to a different sliding direction. And after the sliding direction of the second sliding operation is acquired, acquiring a target moving area corresponding to the second sliding operation according to the corresponding relation between the sliding direction and the moving area, and taking the target moving area in the target page as the target position.
And 104, moving the target icon to the target position.
After the target position of the target icon is determined according to the steps, the mobile terminal controls the target icon to move to the target position, namely the moving operation of the target icon is completed.
In the icon moving method provided in the above embodiment of the present invention, the target icon that needs to be moved is determined, and the sliding direction and the sliding rate of the first sliding operation are calculated according to the detected first sliding operation for indicating the moving operation. According to the sliding direction and the sliding speed of the first sliding operation, the target position pointed by the first sliding operation of the user can be determined, and the target icon is moved to the target position, so that the technical effect of moving the target icon through simple operation can be achieved.
Referring to fig. 2, fig. 2 is a flowchart illustrating an icon moving method according to an embodiment of the present invention. The icon moving method provided by the embodiment of the present invention is different from the icon moving method provided by the above embodiment in that a specific implementation manner of determining the target position is different. As shown in fig. 2, an icon moving method applied to a mobile terminal includes the following steps:
step 201, determining a target icon.
The method includes the steps that a plurality of icons are arranged on a display page of the mobile terminal, a target icon needing to be moved is selected from the icons, and the target icon can be one or more icons selected from the icons by a user. The process of determining the target icon may refer to the above embodiments, and is not described in detail.
Step 202, if a first sliding operation is detected, determining a sliding direction and a sliding speed of the first sliding operation.
And after detecting the first sliding operation, the mobile terminal acquires relevant basic data of the first sliding operation and determines the sliding direction and the sliding speed of the first sliding operation. For a specific implementation process of determining the sliding direction and the sliding rate of the first sliding operation, reference may be made to the above embodiments, and details are not repeated.
Step 203, determining a target page according to the sliding direction and the sliding speed of the first sliding operation.
Icons are arranged on a plurality of display pages of the mobile terminal, and when a user performs icon moving operation, the icons may need to be moved across the pages. A second rate may be preset in the mobile terminal, and the second rate is used for determining, according to a size relationship between the sliding rate corresponding to the first sliding operation and the second rate, that the target page of the target icon is the current page where the target icon is currently located or a page adjacent to the current page.
In an implementation manner, after the sliding rate of the first sliding operation is obtained, a difference value between the sliding rate of the first sliding operation and the second rate is calculated, and the sliding rate of the first sliding operation and the second rate are compared according to the positive and negative of the difference value, so as to determine the target page. Referring to fig. 3, for the display page in which the icon in the mobile terminal is movable, the display page may include a current page where the target icon is located, and a first page and a second page adjacent to the current page, where the first page may be a page adjacent to the current page in a first direction, and the second page may be a page adjacent to the current page in a second direction. The first page and the second page may also be display pages that satisfy other setting conditions, and are not limited herein.
In one embodiment, the current page where the target icon is located is shown as Y1, the first page adjacent to the current page where the target icon is located may be shown as Y2, and the second page adjacent to the current page is shown as Y3. The target page of the target icon may be any one of the current page, a first page adjacent to the current page, and a second page adjacent to the current page.
If the difference value between the sliding speed of the first sliding operation and the second speed is not a positive number, the sliding speed of the first sliding operation is smaller than or equal to the second speed, and the current page where the target icon is located is determined to be the target page. And if the difference value between the sliding speed of the first sliding operation and the second speed is a positive number, the sliding speed of the first sliding speed is larger than the second speed, and the first page or the second page adjacent to the current page where the target icon is located is determined as the target page.
In the step of determining that the target page of the target icon is an adjacent page of the current page where the target icon is located, the step of further determining that the target page of the target icon is an adjacent first page or second page may be determined in combination with the sliding direction corresponding to the first sliding operation. And judging that the sliding direction of the first sliding operation is a first direction or a second direction relative to a preset reference coordinate according to the preset reference coordinate in the mobile terminal. Specifically, the first direction may be a direction that slides leftward based on a display interface of the mobile terminal, and the second direction may be a direction that slides rightward based on the same reference. The first direction and the second direction may also be sliding directions detected by satisfying other setting conditions, and are not limited herein.
And if the sliding direction of the first sliding operation is a first direction relative to a preset reference coordinate and indicates that the user wants to move the target icon to the left page of the current page, determining the first page adjacent to the current page where the target icon is located as the target page. And if the sliding direction of the first sliding operation is a second direction relative to the preset reference coordinate and indicates that the user wants to move the target icon to the right page of the current page, determining the second page adjacent to the current page where the target icon is located as the target page.
And step 204, determining a moving position according to the sliding direction of the first sliding operation.
And determining the moving position of the target icon in the display page according to the sliding direction of the first sliding operation. If the determination of the target page is completed according to the above steps, the moving position in the target page can be directly determined, that is, the target position is determined. In other embodiments, the moving position in the display page may be determined first, and then the target page to which the target icon is to be moved is determined, where the moving position in the corresponding target page is the target position. The process of determining the moving position after determining the target icon may include:
dividing the target page into a plurality of area quadrants according to the preset reference coordinates, and thus the step of determining the moving position of the target icon in the target page may include: determining a target area quadrant and determining a target movement area within the target area quadrant.
Referring to fig. 4 and 5, fig. 4 is a schematic view of the sliding direction of the first sliding operation in the preset reference coordinate, and fig. 5 is a schematic view of a structure of a target page. According to the preset reference coordinates in the mobile terminal and the directional straight line segments of the starting position and the ending position of the first sliding operation, the sliding direction of the first sliding operation can be divided into: an upper right sliding direction, an upper left sliding direction, a lower left sliding direction, and a lower right sliding direction. The directional straight line segment corresponding to the upper right sliding direction is shown as S1 in the figure, and the quadrant angle corresponding to the upper right sliding direction is a 1; the directional straight line segment corresponding to the upper left sliding direction is shown as S2 in the figure, and the quadrant angle corresponding to the upper left sliding direction is a 2; a directional straight line segment corresponding to the lower left sliding direction is shown as S3 in the figure, and the quadrant angle corresponding to the lower left sliding direction is a 3; the directional straight line segment corresponding to the lower right sliding direction is shown as S4 in the figure, and the quadrant angle corresponding to the lower right sliding direction is a 4. Referring to fig. 5, according to the preset reference coordinates in the mobile terminal, the target page may also be divided into four area quadrants, so that the four area quadrants of the target page respectively correspond to the four sliding directions of the first sliding operation. The region quadrant of the target page may include: a first quadrant X1 of the upper right portion, a second quadrant X2 of the upper left portion, a third quadrant X3 of the lower left portion, and a fourth quadrant X4 of the lower right portion. The specific correspondence between the sliding direction of the first sliding operation and the region quadrant of the target page may include: the upper right sliding direction S1 corresponds to the upper right first quadrant X1, the upper left sliding direction S2 corresponds to the upper left second quadrant X2, the lower left sliding direction S3 corresponds to the lower left third quadrant X3, and the lower right sliding direction S4 corresponds to the lower right fourth quadrant X4.
The process of determining the moving position of the target icon in the target page mainly comprises the following steps:
first, a target area quadrant corresponding to the sliding direction of the first sliding operation is determined within an area quadrant of the target page. For example, if the sliding direction of the first sliding operation is detected to be the upper right sliding direction S1, the first quadrant X1 corresponding to the upper right part of the target page is taken as the target quadrant; if the sliding direction of the first sliding operation is detected to be the upper left sliding direction S2, taking a second quadrant X2 corresponding to the upper left part of the target page as the target quadrant; if the sliding direction of the first sliding operation is detected to be a lower left sliding direction S3, taking a third quadrant X3 corresponding to the lower left part of the target page as the target quadrant; and if the sliding direction of the first sliding direction is detected to be a lower right sliding direction S4, taking a fourth quadrant X4 corresponding to the lower right part of the target page as the target quadrant.
And after the target quadrant corresponding to the target icon is determined according to the steps, determining a specific target moving position according to the sliding direction of the first sliding operation. With continued reference to fig. 5, each quadrant of the area includes a quadrant angle of 0 ° to 90 °, and each quadrant of the area may be divided into a plurality of angle intervals, each angle interval matching a predetermined shift position. And after the sliding direction of the first sliding operation is obtained, determining an quadrant angle corresponding to the sliding direction of the first sliding operation, determining a target angle interval corresponding to the quadrant angle, and matching the moving position corresponding to the target angle interval.
In one embodiment, as shown in fig. 4, each zone quadrant may be divided into three angular intervals, including: a first angle interval J1 of 0 ° to 30 °, a second angle interval J2 of 31 ° to 60 °, and a third angle interval J3 of 61 ° to 90 °. For example, if the obtained notional angle corresponding to the sliding direction of the first sliding operation is 23 °, the notional angle belongs to a first angle interval J1 of 0 ° to 30 °. The division of the angle intervals in the area quadrant can also be set according to user habits or other preset conditions, and is not limited herein.
On the basis of the above-described embodiment, the movement position matching each angle section is selected. Within the area quadrant, three particular movement positions can be selected, including: an end area in a direction parallel to the target icon, an end area in a direction perpendicular to the target icon, and a vertex angle area of an area quadrant.
According to the angle section corresponding to the quadrant angle corresponding to the sliding direction of the first sliding operation, the step of matching the moving position may include: if the quadrant angle corresponds to the first angle interval, determining the end part of the target icon in the parallel direction as a target position; if the quadrant angle corresponds to a second angle interval, determining the vertex angle position of the target icon in the target quadrant as a target position; and if the quadrant angle corresponds to a third angle interval, taking the end part area of the target icon in the vertical direction as the target moving position.
On the basis of the above-described embodiment, considering that the sliding direction of the first sliding operation may further include special cases such as sliding in a parallel direction, sliding in a vertical direction, and the like, the case of the special sliding direction may be classified as one of the above-described four standard sliding schemes, for example, a matching rule that horizontal rightward sliding is corresponded to a horizontal end region in the first quadrant. In other embodiments, the corresponding moving position may be matched for the specific sliding direction, which is not limited herein.
Step 205, determining the moving position in the target page as the target position.
And after the determination operation of the target page and the moving position of the target icon is completed according to the steps, the target position of the target icon can be determined corresponding to the moving position in the target page. The order of the determination operation of the target page and the determination operation of the moving position may be exchanged or performed synchronously, which is not limited herein.
Step 206, moving the target icon to the target position.
And after the target position in the target page corresponding to the first sliding operation is determined according to the steps, controlling the target icon to move to the target position, namely completing the moving operation of the target icon.
In one embodiment, considering that before the mobile terminal moves the target icon to the target position, there may be other icons other than the target icon in the target position pointed by the first sliding operation, the other icons already existing in the target position are set as previous icons. Therefore, before moving the target icon to the target position, it may be determined whether there is a previous icon in the target position. If the target position does not have a previous icon, the target icon can be directly moved to the target position. If the target position has a previous icon, the target position can be emptied, so that the target position is in a state of being capable of being moved into the icon, and the target icon is controlled to move to the target position.
The step of emptying the target location may be implemented in various ways. In one embodiment, the previous icon of the target location may be directly deleted for performing an operation in which the user wishes the target icon to replace the previous icon of the target location. In another embodiment, the previous icon disposed at the target position and the next adjacent position thereof may be sequentially moved one position later, the target position may be cleared, and the target icon may be moved to the target position. In another embodiment, the position of the target icon may be changed from the previous icon in the target position to the current position of the target icon, and the target icon may be moved to the target position. Other manners of emptying the previous icon of the target position so as to move the target icon to the target position may be applied to the present embodiment.
On the basis of the foregoing embodiment, the process of moving the icon may specifically include:
the mobile terminal receives an unlocking request input by a user and unlocks a plurality of icons in a display page of the mobile terminal. And receiving selection operation of clicking or sliding by a second sliding operation and the like by a user, selecting at least one icon from the plurality of unlocked icons, and determining the icon as a target icon. Receiving a first sliding operation input by a user, and matching a target position corresponding to the first sliding operation.
And acquiring the sliding rate corresponding to the first sliding operation, and judging whether the sliding rate of the first sliding operation is greater than the second rate. And if the sliding speed of the first sliding operation is not greater than the second speed, determining the current page where the target icon is located as a target page. And if the sliding speed of the first sliding operation is greater than the second speed, judging whether the sliding direction of the first sliding operation is left sliding or right sliding. And if the sliding direction of the first sliding operation is left sliding, determining the previous page adjacent to the current page as a target page, and if the sliding direction of the first sliding operation is right sliding, determining the next page adjacent to the current page as the target page.
And after the target page is determined, further determining the moving position of the target icon in the target page. And determining a target quadrant according to the specific sliding direction of the first sliding operation. And if the first sliding operation is the upper right sliding direction, taking a first quadrant corresponding to the upper right part in the target page as a target quadrant. And if the first sliding operation is in the left-upper sliding direction, taking a second quadrant corresponding to the left-upper part of the target page as a target quadrant. And if the first sliding operation is in the left-lower sliding direction, taking a third quadrant corresponding to the left lower part of the target page as a target quadrant. And if the fourth sliding operation is in the right lower sliding direction, taking a fourth quadrant corresponding to the right lower part of the target page as a target quadrant.
And after the target quadrant is determined, further determining a target moving area of the target icon in the target quadrant. And determining a corresponding target angle interval according to the quadrant angle corresponding to the sliding angle of the first sliding operation, and matching a target moving area corresponding to the quadrant angle according to the corresponding relation between the angle interval and the moving area. And if the quadrant angle belongs to a first angle interval of 0-30 degrees, determining the target moving area as the end position of the target icon in the parallel direction of the current position. And if the quadrant angle belongs to a second angle interval of 31-60 degrees, determining that the target moving area is the vertex angle area of the target quadrant in which the target icon is located. And if the quadrant angle belongs to a third angle interval of 61-90 degrees, determining that the end position of the current position of the target icon in the vertical direction is a target moving area.
On the basis of the above embodiment, in the target moving process after the target icon is determined, other embodiments may also be made in the target position determining process. First, the sliding direction of the first sliding operation may be acquired to determine a target quadrant in which the moving position is located. And secondly, acquiring a quadrant angle corresponding to the sliding direction of the first sliding operation, and matching a target moving position corresponding to the quadrant angle. And then, acquiring the sliding rate of the first sliding operation, and determining a target page where the target moving position is located, namely, moving the target icon to the target position after the determination operation of the target position of the target icon is completed. Other determination methods capable of achieving the target position of the target icon are applicable to the embodiment, and are not limited herein.
In the icon moving method provided by the embodiment of the present invention, the first sliding operation of the user on the mobile terminal is obtained, and whether the target icon moves in the current page or moves across pages is determined according to the sliding speed and the sliding direction of the first sliding operation. And matching the target moving position corresponding to the first sliding operation according to the sliding direction of the first sliding operation and the corresponding relation between the preset sliding direction and the moving area, so that the relatively complex icon moving operation such as long distance, page crossing or fuzzy correspondence of the target icon can be realized according to the simple sliding operation of the user.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 6, the mobile terminal 600 includes: .
A target icon determining module 601, configured to determine a target icon;
a data obtaining module 602, configured to determine, if a first sliding operation is detected, a sliding direction and a sliding rate of the first sliding operation;
a target position determining module 603, configured to determine a target position of the target icon according to the sliding direction and the sliding rate of the first sliding operation;
a target icon moving module 604, configured to move the target icon to the target location.
On the basis of the foregoing embodiment, the target icon determining module 601 may be specifically configured to:
judging whether a second sliding operation with the sliding speed less than or equal to the first speed is detected;
and if a second sliding operation with the sliding speed less than or equal to the first speed is detected, determining the icon positioned on the action area of the second sliding operation as the target icon.
According to the mobile terminal provided by the embodiment of the invention, the user can select one or the icon in the unlocking state as the target icon in a sliding mode of the mobile terminal, so that the complicated operation that the user needs to click in sequence when selecting a plurality of icons as the target icons is avoided.
On the basis of the foregoing embodiment, as shown in fig. 7, the data obtaining module 602 of the mobile terminal 600 may include:
the acquisition submodule 6021 is configured to acquire the sliding displacement, the sliding distance, and the sliding time corresponding to the first sliding operation;
the determining submodule 6022 is configured to determine a sliding rate of the first sliding operation according to the sliding distance and the sliding time corresponding to the first sliding operation, and determine a sliding direction corresponding to the first sliding operation according to the sliding displacement corresponding to the first sliding operation and a preset reference coordinate set in the mobile terminal.
According to the mobile terminal provided by the embodiment of the invention, when the mobile terminal detects the first sliding operation triggered by the user, the sliding speed and the sliding direction of the first sliding operation can be calculated according to the collected relevant basic data of the first sliding operation, the corresponding target position is automatically matched, and the sensitivity and the simplicity of operation for matching the corresponding target position according to the simple operation of the user are improved.
On the basis of the above embodiment, as shown in fig. 8, the target position determining module 603 may include:
a target page determining submodule 6031, configured to determine a target page according to the sliding direction and the sliding rate of the first sliding operation;
a moving position determining submodule 6032, configured to determine a moving position according to the sliding direction of the first sliding operation, and determine the moving position in the target page as a target position.
On the basis of the foregoing embodiment, the target page determination sub-module 6031 is specifically configured to:
if the sliding speed of the first sliding operation is smaller than or equal to a second speed, determining the current page where the target icon is located as the target page;
if the sliding speed of the first sliding operation is greater than the second speed, judging the direction of the sliding direction of the first sliding operation relative to a preset reference coordinate;
if the sliding direction of the first sliding operation is a first direction relative to a preset reference coordinate, determining a first page adjacent to a current page where the target icon is located as the target page;
and if the sliding direction of the first sliding operation is a second direction relative to the preset reference coordinate, determining a second page adjacent to the current page where the target icon is located as the target page.
On the basis of the above embodiment, as shown in fig. 9, the moving position determining sub-module 6032 is specifically configured to:
determining a target quadrant corresponding to the sliding direction of the first sliding operation in the area quadrant of the target page;
selecting a target angle interval to which an quadrant angle corresponding to the sliding direction of the first sliding operation in the target area quadrant belongs;
and determining a moving position corresponding to the target angle interval as a target position according to the corresponding relation between the angle interval and the moving position.
On the basis of the above embodiment, as shown in fig. 9, the target icon moving module 604 includes:
a determining sub-module 6041, configured to determine whether a previous icon exists in the target location, where the previous icon is an icon other than the target icon;
a moving submodule 6042 for:
if the prior icon exists in the target position, moving the prior icon to the next position adjacent to the target position, and moving the target icon to the target position;
and if the target position does not have the prior icon, moving the target icon to the target position.
The mobile terminal 600 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
According to the mobile terminal 600 provided by the embodiment of the present invention, by determining the target icon that needs to be moved, the sliding direction and the sliding rate of the first sliding operation are determined according to the detected first sliding operation for indicating the moving operation. According to the sliding direction and the sliding speed of the first sliding operation, the target position pointed by the first sliding operation of the user can be determined, and the target icon is moved to the target position, so that the technical effect of moving the target icon through simple operation can be achieved.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another mobile terminal 1000 according to an embodiment of the present invention. As shown in fig. 10, a mobile terminal 1000 includes: at least one memory, a processor 1001, a memory 1002, at least one network interface 1004, and a user interface 1003. Various components in mobile terminal 1000 are coupled together by a bus system 1005. It is understood that bus system 1005 is used to enable communications among the components connected. The bus system 1005 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. But for the sake of clarity the various busses are labeled in figure 10 as the bus system 1005.
The user interface 1003 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 1002 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile memory may be a Random Access Memory (RAM), which acts as an external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1002 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1002 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 10021 and applications 10022.
The operating system 10021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 10022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program for implementing the icon moving method according to the foregoing embodiment of the present invention may be included in the application program 10022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 1002, specifically, a program or an instruction stored in the application 10022, when the processor 1001 executes the icon movement processing program, the following steps are implemented:
determining a target icon;
if the first sliding operation is detected, determining the sliding direction and the sliding speed of the first sliding operation;
determining the target position of the target icon according to the sliding direction and the sliding speed of the first sliding operation;
and moving the target icon to the target position.
The method disclosed by the foregoing embodiments of the present invention may be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 1001. The Processor 1001 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002 and performs the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 1001 is further configured to implement the following steps when executing the icon movement processing program:
judging whether a second sliding operation with the sliding speed less than or equal to the first speed is detected;
and if a second sliding operation with the sliding speed less than or equal to the first speed is detected, determining the icon positioned on the action area of the second sliding operation as the target icon.
Optionally, the processor 1001 is further configured to implement the following steps when executing the icon movement processing program:
collecting sliding displacement, sliding distance and sliding time corresponding to the first sliding operation;
determining the sliding speed of the first sliding operation according to the sliding distance and the sliding time corresponding to the first sliding operation;
and determining a sliding direction corresponding to the first sliding operation according to the sliding displacement corresponding to the first sliding operation and a preset reference coordinate in the mobile terminal.
Optionally, the processor 1001 is further configured to implement the following steps when executing the icon movement processing program:
determining a target page according to the sliding direction and the sliding speed of the first sliding operation;
and determining the target position of the target icon in the target page according to the sliding direction of the first sliding operation.
Optionally, the processor 1001 is further configured to implement the following steps when executing the icon movement processing program:
if the sliding speed of the first sliding operation is smaller than or equal to a second speed, determining the current page where the target icon is located as the target page;
if the sliding speed of the first sliding operation is greater than the second speed, judging the direction of the sliding direction of the first sliding operation relative to a preset reference coordinate;
if the sliding direction of the first sliding operation is a first direction relative to a preset reference coordinate, determining a first page adjacent to a current page where the target icon is located as the target page;
and if the sliding direction of the first sliding operation is a second direction relative to the preset reference coordinate, determining a second page adjacent to the current page where the target icon is located as the target page.
Optionally, the processor 1001 is further configured to implement the following steps when executing the icon movement processing program:
determining a target quadrant corresponding to the sliding direction of the first sliding operation in the area quadrant of the target page;
selecting a target angle interval to which an quadrant angle corresponding to the sliding direction of the first sliding operation in the target area quadrant belongs;
and determining a moving position corresponding to the target angle interval as a target position according to the corresponding relation between the angle interval and the moving position.
Optionally, the processor 1001 is further configured to implement the following steps when executing the icon movement processing program:
judging whether a prior icon exists in the target position, wherein the prior icon is an icon except the target icon;
if the prior icon exists in the target position, moving the prior icon to the next position adjacent to the target position, and moving the target icon to the target position;
and if the target position does not have the prior icon, moving the target icon to the target position.
The mobile terminal 1000 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here.
According to the mobile terminal 1000 provided by the embodiment of the invention, the target icon needing to be moved is determined, and the sliding direction and the sliding speed of the first sliding operation are determined according to the detected first sliding operation for indicating the moving operation. According to the sliding direction and the sliding speed of the first sliding operation, the target position pointed by the first sliding operation of the user can be determined, and the target icon is moved to the target position, so that the technical effect of moving the target icon through simple operation can be achieved.
The embodiment of the invention also provides a computer readable storage medium. The computer readable everywhere medium having stored thereon an icon movement handler that when executed by a processor performs the steps of:
determining a target icon;
if the first sliding operation is detected, determining the sliding direction and the sliding speed of the first sliding operation;
determining the target position of the target icon according to the sliding direction and the sliding speed of the first sliding operation;
and moving the target icon to the target position.
Optionally, the icon movement processing program, when executed by the processor, implements the following steps:
judging whether a second sliding operation with the sliding speed less than or equal to the first speed is detected;
and if a second sliding operation with the sliding speed less than or equal to the first speed is detected, determining the icon positioned on the action area of the second sliding operation as the target icon.
Optionally, the icon movement processing program, when executed by the processor, implements the following steps:
collecting sliding displacement, sliding distance and sliding time corresponding to the first sliding operation;
determining the sliding speed of the first sliding operation according to the sliding distance and the sliding time corresponding to the first sliding operation;
and determining a sliding direction corresponding to the first sliding operation according to the sliding displacement corresponding to the first sliding operation and a preset reference coordinate arranged in the mobile terminal.
Optionally, the icon movement processing program, when executed by the processor, implements the following steps:
determining a target page according to the sliding direction and the sliding speed of the first sliding operation;
and determining the target position of the target icon in the target page according to the sliding direction of the first sliding operation.
Optionally, the icon movement processing program, when executed by the processor, implements the following steps:
if the sliding speed of the first sliding operation is smaller than or equal to a second speed, determining the current page where the target icon is located as the target page;
if the sliding speed of the first sliding operation is greater than the second speed, judging the direction of the sliding direction of the first sliding operation relative to a preset reference coordinate;
if the sliding direction of the first sliding operation is a first direction relative to a preset reference coordinate, determining a first page adjacent to a current page where the target icon is located as the target page;
and if the sliding direction of the first sliding operation is a second direction relative to the preset reference coordinate, determining a second page adjacent to the current page where the target icon is located as the target page.
Optionally, the icon movement processing program, when executed by the processor, implements the following steps:
determining a target quadrant corresponding to the sliding direction of the first sliding operation in the area quadrant of the target page;
selecting a target angle interval to which an quadrant angle corresponding to the sliding direction of the first sliding operation in the target area quadrant belongs;
and determining a moving position corresponding to the target angle interval as a target position according to the corresponding relation between the angle interval and the moving position.
Optionally, the icon movement processing program, when executed by the processor, implements the following steps:
judging whether a prior icon exists in the target position, wherein the prior icon is an icon except the target icon;
if the prior icon exists in the target position, moving the prior icon to the next position adjacent to the target position, and moving the target icon to the target position;
and if the target position does not have the prior icon, moving the target icon to the target position.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the mobile terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed mobile terminal and method may be implemented in other ways. For example, the above-described mobile terminal embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of the mobile terminals or units through some interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. An icon moving method is applied to a mobile terminal, and is characterized by comprising the following steps:
determining a target icon;
if the first sliding operation is detected, determining the sliding direction and the sliding speed of the first sliding operation;
determining the target position of the target icon according to the sliding direction and the sliding speed of the first sliding operation;
moving the target icon to the target position;
the step of determining the target position of the target icon according to the sliding direction and the sliding speed of the first sliding operation comprises:
determining a target page according to the sliding direction and the sliding speed of the first sliding operation;
determining a moving position according to the sliding direction of the first sliding operation;
determining the mobile position within the target page as the target position;
the step of determining the target page according to the sliding direction and the sliding speed of the first sliding operation comprises:
if the sliding speed of the first sliding operation is smaller than or equal to a second speed, the target icon is located
The current page of (2) is determined as the target page;
if the sliding speed of the first sliding operation is greater than the second speed, judging the first sliding operation
The sliding direction is opposite to the direction of a preset reference coordinate;
when the sliding direction of the first sliding operation is a first direction relative to a preset reference coordinate, the target graph is drawn
Determining a first page adjacent to the current page as the target page;
and when the sliding direction of the first sliding operation is a second direction relative to the preset reference coordinate, determining a second page adjacent to the current page where the target icon is located as the target page.
2. The icon moving method according to claim 1, wherein the step of determining the target icon includes:
judging whether a second sliding operation with the sliding speed less than or equal to the first speed is detected;
and if a second sliding operation with the sliding speed less than or equal to the first speed is detected, determining the icon positioned on the action area of the second sliding operation as the target icon.
3. The icon moving method according to claim 1, wherein the step of determining the sliding direction and the sliding rate of the first sliding operation comprises:
collecting sliding displacement, sliding distance and sliding time corresponding to the first sliding operation;
determining the sliding of the first sliding operation according to the sliding distance and the sliding time corresponding to the first sliding operation
A dynamic rate;
and determining a sliding direction corresponding to the first sliding operation according to the sliding displacement corresponding to the first sliding operation and a preset reference coordinate in the mobile terminal.
4. The icon moving method according to claim 1, wherein the step of determining a moving position according to the sliding direction of the first sliding operation includes:
determining a target corresponding to a sliding direction of the first sliding operation in a region quadrant of the target page
A region quadrant;
selecting the quadrant angle corresponding to the sliding direction of the first sliding operation in the target area quadrant
A target angle interval;
and determining the moving position corresponding to the target angle interval according to the corresponding relation between the angle interval and the moving position.
5. The icon moving method according to any one of claims 1 to 3, wherein the step of moving the target icon to the target position includes:
judging whether a prior icon exists in the target position, wherein the prior icon is the icon except the target icon
The icon of (1);
if the prior icon exists in the target position, the prior icon is moved to the position adjacent to the target position
Moving the target icon to the next position;
and if the target position does not have the prior icon, moving the target icon to the target position.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the target icon determining module is used for determining a target icon;
a data acquisition module for determining the sliding direction of the first sliding operation if the first sliding operation is detected
And a slip rate;
a target position determination module for determining the position of the first sliding operation based on the sliding direction and the sliding speed of the first sliding operation
A target position of the target icon;
the target icon moving module is used for moving the target icon to the target position;
the target location determination module comprises:
a target page determining submodule for determining the sliding direction and the sliding speed according to the first sliding operation
A target page;
a moving position determination submodule for determining a moving position according to the sliding direction of the first sliding operation,
determining the mobile position within the target page as a target position;
the target page determination sub-module is specifically configured to:
if the sliding speed of the first sliding operation is smaller than or equal to a second speed, the target icon is located
The current page of (2) is determined as the target page;
if the sliding speed of the first sliding operation is greater than the second speed, judging the first sliding operation
The sliding direction is opposite to the direction of a preset reference coordinate;
if the sliding direction of the first sliding operation is a first direction relative to a preset reference coordinate, the target graph is drawn
Determining a first page adjacent to the current page as the target page;
and if the sliding direction of the first sliding operation is a second direction relative to the preset reference coordinate, determining a second page adjacent to the current page where the target icon is located as the target page.
7. The mobile terminal of claim 6, wherein the target icon determining module is specifically configured to:
judging whether a second sliding operation with the sliding speed less than or equal to the first speed is detected;
and if a second sliding operation with the sliding speed less than or equal to the first speed is detected, determining the icon positioned on the action area of the second sliding operation as the target icon.
8. The mobile terminal of claim 6, wherein the data acquisition module comprises:
the acquisition submodule is used for acquiring the sliding displacement, the sliding distance and the sliding time corresponding to the first sliding operation;
and the determining submodule is used for determining the sliding speed of the first sliding operation according to the sliding distance and the sliding time corresponding to the first sliding operation, and determining the sliding direction corresponding to the first sliding operation according to the sliding displacement corresponding to the first sliding operation and the preset reference coordinate in the mobile terminal.
9. The mobile terminal of claim 6, wherein the mobile location determination submodule is specifically configured to:
determining a target corresponding to a sliding direction of the first sliding operation in a region quadrant of the target page
A region quadrant;
selecting the quadrant angle corresponding to the sliding direction of the first sliding operation in the target area quadrant
A target angle interval;
and determining the moving position corresponding to the target angle interval according to the corresponding relation between the angle interval and the moving position.
10. The mobile terminal of claim 6, wherein the target icon moving module comprises:
a judging submodule for judging whether a prior icon exists in the target position, wherein the prior icon is
An icon other than the target icon;
a mobile sub-module to:
if the prior icon exists in the target position, the prior icon is moved to the position adjacent to the target position
Moving the target icon to the next position;
and if the target position does not have the prior icon, moving the target icon to the target position.
11. A mobile terminal is characterized by comprising a memory, a processor and an icon movement processing program which is stored on the memory and can run on the processor; characterized in that the processor implements the icon moving method according to any one of claims 1 to 5 when executing the icon moving processing program.
12. A computer-readable storage medium, having stored thereon an icon movement processing program which, when executed by a processor, implements the steps of the icon moving method according to any one of claims 1 to 5.
CN201710741405.4A 2017-08-25 2017-08-25 Icon moving method and mobile terminal Active CN107562312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710741405.4A CN107562312B (en) 2017-08-25 2017-08-25 Icon moving method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710741405.4A CN107562312B (en) 2017-08-25 2017-08-25 Icon moving method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107562312A CN107562312A (en) 2018-01-09
CN107562312B true CN107562312B (en) 2019-12-31

Family

ID=60975865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710741405.4A Active CN107562312B (en) 2017-08-25 2017-08-25 Icon moving method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107562312B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920051B (en) * 2018-06-25 2020-11-27 网易(杭州)网络有限公司 Virtual resource moving method and device
CN109814772A (en) * 2018-12-26 2019-05-28 维沃移动通信有限公司 A kind of application program image target moving method and terminal device
CN109908576B (en) * 2019-02-22 2022-08-09 网易(杭州)网络有限公司 Information module presenting method and device, electronic equipment and storage medium
CN111752425B (en) * 2019-03-27 2022-02-15 北京外号信息技术有限公司 Method for selecting an interactive object on a display medium of a device
CN110262712A (en) * 2019-05-28 2019-09-20 上海蔚来汽车有限公司 Icon tune puts method
CN110262713B (en) * 2019-05-29 2021-01-08 维沃移动通信有限公司 Icon display method and terminal equipment
CN112486367B (en) * 2020-11-27 2022-08-16 维沃移动通信有限公司 Application icon management method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968215A (en) * 2012-11-30 2013-03-13 广东威创视讯科技股份有限公司 Touch screen operating method and device
CN103294359A (en) * 2013-05-21 2013-09-11 惠州Tcl移动通信有限公司 Method for updating standby interfaces where application icons are located and wireless communication equipment
CN103777842A (en) * 2013-12-23 2014-05-07 天津三星电子有限公司 Icon moving method for touch type terminal and touch type terminal
CN103809891A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Page switching method and device
CN104571852A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 Icon moving method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809891A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Page switching method and device
CN102968215A (en) * 2012-11-30 2013-03-13 广东威创视讯科技股份有限公司 Touch screen operating method and device
CN103294359A (en) * 2013-05-21 2013-09-11 惠州Tcl移动通信有限公司 Method for updating standby interfaces where application icons are located and wireless communication equipment
CN103777842A (en) * 2013-12-23 2014-05-07 天津三星电子有限公司 Icon moving method for touch type terminal and touch type terminal
CN104571852A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 Icon moving method and device

Also Published As

Publication number Publication date
CN107562312A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107562312B (en) Icon moving method and mobile terminal
US9927969B2 (en) Rendering object icons associated with an object icon
CN104571852B (en) The moving method and device of icon
US8370772B2 (en) Touchpad controlling method and touch device using such method
US20160283054A1 (en) Map information display device, map information display method, and map information display program
CN107193438B (en) Method for managing desktop icons and mobile terminal
US20140306897A1 (en) Virtual keyboard swipe gestures for cursor movement
US20110314421A1 (en) Access to Touch Screens
CN107704157B (en) Multi-screen interface operation method and device and storage medium
US9152316B2 (en) Electronic device, controlling method thereof, and non-transitory storage medium
WO2014116225A1 (en) User interface application launcher and method thereof
CN106354373B (en) Icon moving method and mobile terminal
CN107688420B (en) Method for starting floating object and mobile terminal
US20150186004A1 (en) Multimode gesture processing
CN102778997B (en) A kind of window display method and device
CN107678813B (en) Desktop icon theme switching method and mobile terminal
CN106970752B (en) Screen capturing method and mobile terminal
TW201224855A (en) Method for detecting single-finger rotate gesture and gesture detecting circuit thereof
US20140351749A1 (en) Methods, apparatuses and computer program products for merging areas in views of user interfaces
CN107368249B (en) Touch operation identification method and device and mobile terminal
CN103455245A (en) Method and device for regulating area of widget
CN107491239A (en) Icon management method and device, computer installation and readable storage medium storing program for executing
US10222976B2 (en) Path gestures
CN104317492A (en) Wallpaper setting method
US20180095654A1 (en) Creating tables using gestures

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