Icon sorting method and device and electronic equipment

文档序号:7077 发布日期:2021-09-17 浏览:34次 中文

1. An icon arranging method, characterized by comprising:

receiving a first input on a desktop of an electronic device;

in response to the first input, selecting M empty icon positions in the desktop;

receiving a second input;

in response to the second input, displaying P icons in the M vacant icon positions, each icon displayed in one of the M vacant icon positions;

wherein the P icons are ones of the N icons selected by the second input, M, N and P are both positive integers, and P is less than or equal to M.

2. The method of claim 1, wherein M is equal to 1;

prior to the receiving the second input, the method further comprises:

receiving a third input to the M empty icon bits;

responding to the third input, and sequentially displaying Q icons on the M vacant icon positions according to a target mode, wherein the Q icons comprise the N icons;

the receiving a second input, comprising:

and receiving the second input under the condition that the N icons are sequentially displayed on the M vacant icon positions according to the target mode.

3. The method of claim 1, wherein M is equal to 1;

after the M vacant icon positions in the desktop are selected, the method further comprises:

displaying K icons in the preset range area of the M vacant icon positions, wherein K is a positive integer;

wherein the N icons are included in the K icons.

4. The method of claim 3, wherein after displaying the K icons in the preset range area of the M empty icon positions, the method further comprises:

receiving a fourth input under the condition that the N icons are not included in the K icons, wherein the fourth input is used for triggering and updating the icons displayed in the preset range area;

in response to the fourth input, updating the K icons to H icons, H being a positive integer.

5. The method of claim 1, wherein prior to receiving the first input on the desktop of the electronic device, the method further comprises:

receiving a fifth input on the desktop;

in response to the fifth input, displaying a selection identifier at each icon position in a target object, the target object being the desktop or the desktop and application drawer;

the first input is input of the selection marks on the M vacant icon positions, and the second input is input of the selection marks on the icon positions where the N icons are located; the N icons are icons in the target object.

6. An icon arranging apparatus, characterized in that the apparatus comprises: the device comprises a receiving module, a selecting module and a display module;

the receiving module is used for receiving a first input on a desktop of the electronic equipment;

the selecting module is used for responding to the first input received by the receiving module and selecting M vacant icon positions in the desktop;

the receiving module is further used for receiving a second input;

the display module is configured to display P icons on the M vacant icon positions in response to the second input received by the receiving module, each icon being displayed on one of the M vacant icon positions;

wherein the P icons are ones of the N icons selected by the second input, M, N and P are both positive integers, and P is less than or equal to M.

7. The apparatus of claim 6, wherein M is equal to 1;

the receiving module is further configured to receive a third input for the M empty icon positions before receiving the second input;

the display module is further configured to sequentially display Q icons on the M vacant icon positions in a target manner in response to the third input received by the receiving module, where the Q icons include the N icons;

the receiving module is specifically configured to receive the second input when the N icons are displayed on the M empty icon positions in the target manner.

8. The apparatus of claim 6, wherein M is equal to 1;

the display module is further configured to display K icons in a preset range area of the M vacant icon positions after the selection module selects the M vacant icon positions in the desktop, where K is a positive integer;

wherein the N icons are included in the K icons.

9. The apparatus of claim 8, further comprising an update module;

the receiving module is further configured to receive a fourth input when the K icons are not included in the K icons after the K icons are displayed in the preset range area of the M empty icon positions by the display module, where the fourth input is used to trigger updating of the icons displayed in the preset range area;

the updating module is configured to update the K icons to H icons in response to the fourth input received by the receiving module, where H is a positive integer.

10. The apparatus of claim 6,

the receiving module is further configured to receive a fifth input on the desktop before receiving the first input on the desktop;

the display module is further configured to display a selection identifier on each icon position in a target object in response to the fifth input received by the receiving module, where the target object is the desktop or the desktop and an application drawer;

the first input is input of the selection marks on the M vacant icon positions, and the second input is input of the selection marks on the icon positions where the N icons are located; the N icons are icons in the target object.

11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the icon reorganization method of any of claims 1-5.

12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the icon collating method according to any one of claims 1 to 5.

Background

With the development of electronic devices, more and more applications are installed in the electronic devices, and the electronic devices can display icons of the applications installed in the electronic devices on a desktop of the electronic devices.

Currently, a user may trigger an electronic device to move an icon in a desktop. For example, when the user needs to move the icon 1 to the target display position, the user may press the icon 1 for a long time and drag the icon 1 to the target display position to trigger the icon 1 to be moved to the target display position. However, if the user's finger leaves the screen of the electronic device before dragging the icon 1 to the target display position, it may cause the icon 1 to be moved to a display position other than the target display position, resulting in a low accuracy of moving the icon.

Disclosure of Invention

The embodiment of the application aims to provide an icon sorting method, an icon sorting device and electronic equipment, and the problem that the accuracy of moving an icon is low due to dragging of the icon can be solved.

In a first aspect, an embodiment of the present application provides an icon arranging method, including: receiving a first input on a desktop of an electronic device; and in response to the first input, selecting M vacant icon positions in the desktop; and receiving a second input; and in response to a second input, displaying P icons in the M vacant icon positions, each icon displayed in one of the M vacant icon positions; wherein the P icons are ones of the N icons selected by the second input, M, N and P are both positive integers, and P is less than or equal to M.

In a second aspect, an embodiment of the present application provides an icon arranging apparatus, which may include: the device comprises a receiving module, a selecting module and a display module. The receiving module is used for receiving a first input on a desktop of the electronic equipment; the selection module is used for responding to the first input received by the receiving module and selecting M vacant icon positions in the desktop; the receiving module is also used for receiving a second input on the desktop; a display module, configured to display P icons on the M vacant icon positions in response to the second input received by the receiving module, each icon being displayed on one of the M vacant icon positions; wherein the P icons are ones of the N icons selected by the second input, M, N and P are both positive integers, and P is less than or equal to M.

In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, implement the steps of the method according to the first aspect.

In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.

In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.

In an embodiment of the application, a first input on a desktop of an electronic device may be received; and in response to the first input, selecting M vacant icon positions in the desktop; and receiving a second input; and in response to a second input, displaying P icons in M vacant icon positions, each icon displayed in one of the M vacant icon positions; wherein the P icons are ones of the N icons selected by the second input, M, N and P are both positive integers, and P is less than or equal to M. According to the scheme, after the vacant icon position and the icon are selected respectively based on the first input and the second input of the user, the selected icon is directly moved to the selected vacant icon position, and therefore compared with a mode that the icon is moved after the icon is dragged to the vacant icon position by a user, the icon arranging method can improve accuracy and convenience of icon movement.

Drawings

Fig. 1 is a schematic diagram of an icon arranging method provided in an embodiment of the present application;

fig. 2 is one of schematic interfaces of an application of an icon arranging method according to an embodiment of the present disclosure;

fig. 3 is a second schematic interface diagram of an application of the icon arranging method according to the embodiment of the present application;

fig. 4 is a third schematic interface diagram of an application of the icon arranging method according to the embodiment of the present application;

FIG. 5 is a schematic diagram of an icon arranging apparatus according to an embodiment of the present application;

FIG. 6 is a schematic diagram of an electronic device in an embodiment of the present application;

fig. 7 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.

The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

It should be noted that, the marks in the embodiments of the present application are used to indicate words, symbols, images, and the like of information, and a control or other container may be used as a carrier for displaying information, including but not limited to a word mark, a symbol mark, and an image mark.

Some of the nouns or terms referred to in the claims and the specification of the present application will be explained first.

And (4) icon position: a display area in the desktop for displaying icons. At present, the display size and the display position of the icon position in the desktop can be fixed (a) or unfixed (b).

Specifically, in the above (a), the display positions of the icon positions are fixed, and the display sizes of different icon positions are the same; in the above (b), the display size of the icon bits may be determined according to the display size of the icon, and the display position of the icon bits is determined according to the display position of the icon, for example, an atomic desktop.

Vacant icon position: a display area in the desktop for displaying icons that is not yet displayed with icons. For example, if an icon is not displayed on an icon bit, the icon bit may be referred to as an empty icon bit.

The application of the drawer: an interface for icons in an electronic device to expose all applications in the electronic device.

The method, the apparatus, and the electronic device for arranging icons provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

The icon sorting method provided by the embodiment of the application can be applied to a scene that a user moves an icon in a desktop/application drawer.

For example, when the user needs to move the icon, the user may first trigger the empty icon position to which the selected requirement is moved through an input (e.g., the first input in the embodiment of the present application); then, another input (for example, a second input in the embodiment of the present application) triggers and selects the icon to be moved, so that the icon to be moved can be moved to the selected vacant icon position. Therefore, compared with a mode of dragging and moving the icon to be moved, the icon moving method provided by the embodiment of the application can improve the accuracy of moving the icon.

Optionally, in an actual implementation of the embodiment of the present application, the user may also trigger and select the icon to be moved first, and then trigger and select the vacant icon position to be moved.

It should be noted that the icon sorting method provided by the embodiment of the present application can implement movement of icons between the same interfaces in the desktop (i.e., moving icons within an interface), and also implement movement of icons between different interfaces in the desktop (i.e., moving icons between interfaces); the icons can also be moved between the desktop and the application drawer, and can be determined according to actual use requirements.

It should be noted that, in the embodiment of the present application, moving an icon in the application drawer to the desktop indicates that the icon is added to the desktop, and after the icon is added to the desktop, the icon is still displayed in the application drawer. Moving an icon in the desktop into the application drawer represents removing the icon from the desktop, and after removal.

As shown in fig. 1, the icon arranging method provided in the embodiment of the present application may include steps 101 to 104 described below. The following is an exemplary description taking as an example that the icon arranging apparatus executes the method.

Step 101, an icon arranging device receives a first input of a user on a desktop of an electronic device.

Optionally, in this embodiment of the application, the first input may be a touch input of a user on a desktop of the electronic device.

For example, the first input may be any possible touch input such as a click input, a long press input, a heavy press input, a slide input, etc. of the user on the desktop of the electronic device.

And 102, responding to the first input by the icon sorting device, and selecting M vacant icon positions in the desktop.

Wherein M is a positive integer.

Optionally, in this embodiment of the application, the M vacant icon positions may be vacant icon positions in at least one interface of the desktop, and may be specifically determined according to an actual moving requirement.

For the description of the empty icon bits, reference may be made to the related description of the empty icon bits in the above noun explanation section, and details are not repeated here to avoid repetition.

And 103, receiving a second input of the user by the icon arranging device.

Optionally, in this embodiment of the application, the second input may be a touch input of a user on a desktop and/or an application drawer of the electronic device.

For example, the second input may be any possible touch input such as a user clicking on a desktop and/or application drawer of the electronic device, a long press input, a heavy press input, a slide input, and so on.

And 104, responding to the second input by the icon arranging device, and displaying the P icons on the M vacant icon positions.

Wherein each icon is displayed in one of the M empty icon positions; the P icons may be icons of N icons selected through the second input, N and P are positive integers, and P is less than or equal to M.

Optionally, in this embodiment of the application, the N icons may be all icons in a desktop, or all icons in an application drawer, or part of icons in the desktop, and part of icons in the application drawer.

Optionally, in this embodiment of the application, it is assumed that the N icons include W icons in the desktop, and then the W icons may be icons in at least one interface of the desktop, where W is a positive integer.

Optionally, in this embodiment of the application, for each icon in the N icons, one icon may be a folder icon or an application icon.

Optionally, in this embodiment of the application, the second input may be used to trigger selection of the N icons.

Optionally, in this embodiment of the application, the P icons may be any P icons in the N icons.

For example, if the icon sorting apparatus arranges the P icons selected based on the second input in the selected order, then: the P icons may be the first P icons of the N icons; the last P icons of the N icons may also be used.

Optionally, in this embodiment of the application, the number of the P icons may be determined according to the number of the M empty icon positions and the number of the N icons.

Specifically, when M ═ N, P is the same as M and N; when M < N, P equals M; when M > N, P is equal to N.

It should be noted that, in this embodiment of the application, it is assumed that before the first input of the user is received, the icon positions displayed by the P icons are original icon positions, and the P icons are icons in the desktop, and then the icon sorting device cancels the display of the P icons on the original icon positions after the P icons in the desktop are displayed on the M empty icon positions. That is, in the embodiment of the present application, the P icons in the desktop are displayed on the M empty icon positions, so that the P icons are moved to the P empty icon positions in the M icon positions.

In the icon arranging method provided by the embodiment of the application, after the vacant icon position and the icon are selected respectively based on the first input and the second input of the user, the selected icon can be directly moved to the selected vacant icon position, and therefore compared with a mode that the icon is moved after the icon is dragged to the vacant icon position by the user, the icon arranging method provided by the embodiment of the application can improve the accuracy and convenience of moving the icon.

The following describes in detail the icon sorting method provided in the embodiment of the present application by taking two possible implementations (i.e., one possible implementation and another possible implementation) as examples.

Possible implementation mode

In the embodiment of the present application, M is equal to 1, and N and P are both equal to 1.

Optionally, in this embodiment of the application, the first input may be an input of a user on M empty icon positions. For example, the user may press an empty icon bit on the desktop (i.e., the first input) to trigger the icon collating device to select the empty icon position at the input position of the long press input (i.e., the M empty icon positions).

Optionally, in this embodiment of the application, the icon sorting apparatus may select the N icons in implementation manner 1 and implementation manner 2.

Implementation mode 1

Optionally, in this embodiment of the present application, in implementation manner 1, before the step 103, the icon sorting method provided in this embodiment of the present application may further include the following step 105 and step 106, and the step 103 may be specifically implemented by the following step 103 a.

And 105, receiving a third input of the M vacant icon positions by the user through the icon sorting device.

And 106, responding to the third input by the icon arranging device, and sequentially displaying Q icons on the M vacant icon positions according to a target mode.

And 103a, receiving a second input by the icon arranging device under the condition that Q icons are sequentially displayed on the M vacant icon positions according to the target mode.

The Q icons may include the N icons.

It can be understood that, in the embodiment of the present application, the Q icons may be all icons in the desktop, or all icons in the application drawer, or part of icons in the desktop and part of icons in the application drawer.

Optionally, in this embodiment of the application, the second input may be an input of a blank area in the interface where the blank icon is located by the user. Wherein a blank area in an interface is an area in the interface where icons and widgets (e.g., weather widgets) are not displayed.

Optionally, in this embodiment of the application, the target mode may be a preset size, a preset color, and a preset transparency. When one icon is displayed according to the target mode, the icon is only used for indicating and browsing; that is, when an icon is displayed in a target manner, the user cannot trigger the interface of the application indicated by the icon to be displayed through the input of the icon.

Optionally, in this embodiment of the application, the third input may be a touch input of the user on a desktop of the electronic device.

For example, the third input may be any possible touch input such as a click input, a long press input, a heavy press input, a slide input, etc. by the user on the desktop of the electronic device.

Optionally, in this embodiment of the present application, the third input and the first input may be consecutive inputs.

For example, a user may long press (i.e., a first input) on the empty icon positions, trigger the icon sorting device to select M empty icon positions, and then the user continues to slide in a preset direction (i.e., a third input) to trigger the icon sorting device to sequentially display Q icons in the desktop in the M empty icon positions.

Optionally, in this embodiment of the application, the icon sorting device may sequentially display the Q icons on the M empty icon positions according to a target sequence.

Optionally, in this embodiment of the application, the target sequence may be determined according to an arrangement sequence of the Q icons in the desktop/application drawer, or may be determined according to an input parameter of the third input.

Optionally, in this embodiment of the application, taking all the Q icons as the icons in the desktop as an example, when the target sequence is determined according to the arrangement sequence of the Q icons in the desktop, the target sequence may be the arrangement sequence of the Q icons in the desktop, or may be the sequence opposite to the arrangement sequence of the Q icons in the desktop.

Optionally, in this embodiment of the application, when the target order is determined according to the input parameter of the third input, the third input may be a sliding input, and the target order is specifically determined according to the input direction of the third input and the arrangement order of the Q icons in the desktop/application drawer.

For example, taking Q icons as all icons in the desktop as an example, when the third input is a leftward sliding input, the icon arranging device may sequentially display the Q icons on M vacant icon positions according to the arrangement order of the Q icons in the desktop. When the third input is rightward sliding input, the icon arranging device may sequentially display the Q icons on the M vacant icon positions in an order opposite to an arrangement order of the Q icons in the desktop.

It is to be understood that, when the Q icons include an icon in the desktop and an icon in the application drawer, the target sequence may be determined according to an arrangement sequence of the Q icons in the application drawer.

The following describes an exemplary case in which the icon arranging apparatus displays Q icons on M empty icon positions in sequence.

Illustratively, all of the Q icons are icons in the desktop, and the target sequence is determined according to the arrangement sequence of the Q icons in the desktop. Suppose Q icons include 4 icons, which are arranged in the desktop from top to bottom and from left to right: icon 1, icon 2, icon 3, and icon 4, then: after receiving the third input, the icon sorting device may sequentially display icon 1, icon 2, icon 3, and icon 4 (i.e., Q icons are displayed according to the arrangement order of the Q icons in the desktop); alternatively, after the icon sorting apparatus receives the third input, icon 4, icon 3, icon 2, and icon 1 may be sequentially displayed (i.e., Q icons may be displayed in an order opposite to the arrangement order of the Q icons in the desktop).

Optionally, in this embodiment of the application, when all the Q icons are icons in the desktop, the third input is different, and the Q icons may also be different. It will be appreciated that, due to the different third inputs, the Q icons may also be different,

the user may thus trigger the determination of different Q icons by a different third input.

For example, assuming that the desktop of the electronic device includes 5 interfaces, then: when a user presses an empty icon position of a second interface in the desktop for a long time, the icon sorting device may select the empty icon position (i.e., M empty icon positions), and at this time, if the icon sorting device detects an input (i.e., a third input) that the user slides to the right in the empty icon position, the icon sorting device may determine, as the Q icons, an icon in the second interface, an icon in the third interface, an icon in the fourth interface, and an icon in the fifth interface that are located after the empty icon position in the desktop; if the icon sorting device detects an input (i.e., a third input) that the user slides to the left at the empty icon position, the icon sorting device may determine the icons in the first interface and the icons in the second interface of the desktop that are located before the empty icon position as the Q icons.

Optionally, in this embodiment of the application, the icon arranging device sequentially displays Q icons on the desktop at the M empty icon positions, that is, the Q icons are updated and displayed at a preset update frequency. For example, every 5 seconds.

The icon sorting method provided by the embodiment of the present application is exemplarily described below with reference to the drawings.

Exemplarily, assume that the desktop of the electronic device includes 5 interfaces; further assume that the user desires to move the icon L in the 1 st interface of the desktop to the 1 st empty icon position (hereinafter referred to as empty icon position i) in the 3 rd interface of the desktop. Then: as shown in fig. 2 (a), the user may long press on the empty icon position i of the 3 rd interface 20, that is, the icon arranging device receives the first input of the user on the desktop, so that the icon arranging device may select the empty icon position i (i.e., M empty icon positions) in response to the first input; then, as shown in (b) of fig. 2, the user may slide to the left at the empty icon position i, that is, the icon arranging device receives a third input of the M empty icon positions from the user, so that the icon arranging device may display, in order of a preset transparency, a 1 st icon in the 1 st interface, a 2 nd icon in the 1 st interface, a 3 rd icon in the 1 st interface, and … … on the empty icon position i in response to the third input, until an icon L in the 3 rd interface is displayed on the empty icon position i; when the icon displayed on the empty icon position i is the icon L, as shown in (c) of fig. 2, the user may click on the empty area of the 3 rd interface, that is, the icon arranging apparatus receives the second input on the desktop, so that the icon arranging apparatus may respond to the second input, as shown in (d) of fig. 2, and the icon arranging apparatus may display the icon L on the empty icon position i. Therefore, the user can sequentially display Q icons in the desktop in the idle icon position i by triggering the icon arranging device through the third input in a target mode, and compared with a mode that the user needs to drag the icon L from the 1 st interface to the idle icon position i in the 3 rd interface, the icon L can be displayed on the idle icon position i.

It is understood that in the above example, the Q icons may include the icon of the 1 st interface, the icon of the 2 nd interface, and the icon in the 3 rd interface and before the empty icon position i. Assuming that Q icons are arranged in a target order, if the icon L is the last icon of the Q icons, the icon sorting apparatus may display all the Q icons in a target manner; if the icon L is an icon other than the last icon out of the Q icons, the icon arranging device does not need to display the icon located behind the icon L among the Q icons.

In the embodiment of the application, as the user can sequentially display the Q icons (including the P icons) in the desktop in the target manner on the M vacant icon positions by triggering the icon sorting device through the third input, compared with a manner that the P icons are dragged to the M vacant icon positions by the user, the P icons can be displayed on the M vacant icon positions, and the icon sorting method provided by the embodiment of the application can improve the accuracy and convenience of moving the icons.

Implementation mode 2

Optionally, in this embodiment of the application, after the step 102, the icon sorting method provided in this embodiment of the application may further include a step 107 described below.

And step 107, the icon sorting device responds to the first input, and displays K icons in the desktop in the preset range area of the M vacant icon positions.

Wherein K may be a positive integer.

Optionally, in this embodiment of the application, the K icons may be K different icons in the desktop and/or the application drawer.

For example, the K icons may be: the first K icons in the desktop/application drawer, the last K icons in the desktop/application drawer, the K icons in the desktop that are arranged before the M empty icon positions, or the K icons in the desktop that are arranged after the M empty icon positions.

Optionally, in this embodiment of the application, the icon arranging device may display the K icons in an overlapping manner with M empty icon positions as a center.

Optionally, in this embodiment of the application, the display size of the K icons may be smaller than the display size of the icon originally displayed in the first interface, where the first interface is an interface where the M empty icons are located.

Optionally, in this embodiment of the present application, the preset range regions of the M empty icon positions may be: the area (hereinafter referred to as area 1) is centered on the area (hereinafter referred to as area 0) where the M empty icons are located and does not include area 0. It will be appreciated that the outer boundary of the region 1 may be of a regular shape, e.g. rectangular, circular; or irregular in shape. For example, the preset range area of the M empty icon positions may be an area extending outward by 2cm starting from the boundary of the area 0.

The icon sorting method provided by the embodiment of the present application is exemplarily described below with reference to the drawings.

Exemplarily, assume that the desktop of the electronic device includes 5 interfaces; further assume that the user desires to move the icon L in the 1 st interface of the desktop to the 1 st empty icon position (hereinafter referred to as empty icon position i) of the 3 rd interface of the desktop. Then: the user can press the vacant icon position i of the 3 rd interface for a long time, that is, the icon sorting device receives the first input of the user on the desktop, so that the icon sorting device can respond to the first input, select the vacant icon position i (namely, M vacant icon positions), and display the first 8 icons (namely, K icons) in the desktop in a surrounding manner outside the vacant icon position i; if the 8 icons include the icon L, the user may drag the icon L to the empty icon position i, that is, the icon arranging device receives the second input of the user, so that the icon arranging device may display the icon L at the empty icon position i.

In the embodiment of the application, as the user can trigger the icon sorting device to select one vacant icon position through the first input and display K icons in the desktop in the preset range area of the vacant icon position, the user can select the icon meeting the moving requirement from the K icons without sequentially searching the icon meeting the moving requirement in the desktop and dragging the icon, the accuracy of moving the icon can be improved, and the icon moving efficiency can be improved.

Optionally, in this embodiment of the application, if the K icons do not include an icon that the user needs to move, the user may first trigger the icon sorting device to update the icons displayed in the preset range areas of the M empty icon positions until the icons displayed in the preset range areas of the M empty icon positions include N icons; therefore, the user can trigger the icon sorting device to select the N icons through the second input.

Optionally, in this embodiment of the application, when N icons are not included in the K icons, after step 107, the icon sorting method provided in this embodiment of the application may further include step 108 and step 109 described below.

And 108, receiving a fourth input of the user by the icon sorting device under the condition that the K icons do not comprise the N icons.

The fourth input may be configured to trigger the icon sorting apparatus to update the icons displayed in the preset range areas of the M empty icon positions.

Optionally, in this embodiment of the application, the fourth input may be a touch input of the user on an interface where the M empty icons are located.

For example, the fourth input may be a sliding input of the user on the interface where the M empty icon positions are located, and specifically, the fourth input may be an input of the user sliding clockwise/counterclockwise relative to the M empty icon positions; alternatively, the fourth input may be a click input of an update control displayed on the interface where the M empty icon positions are located by the user.

And step 109, the icon sorting device responds to the fourth input, and updates the K icons into H icons, wherein H is a positive integer.

Optionally, in this embodiment of the application, the K icons are different from the H icons.

Optionally, in this embodiment of the present application, the H icons may be icons in a desktop and/or an application drawer.

Optionally, in this embodiment of the application, the number of the K icons and the number of the H icons may be the same or different, and may be specifically determined according to actual use requirements, and this embodiment of the application is not limited.

For example, assuming that K icons are the first K icons in the desktop, the H icons may be the H icons arranged after the K icons in the desktop.

For example, assuming that K icons are K icons in the desktop before M empty icons, the H icons may be H icons arranged before the K icons in the desktop.

In the embodiment of the application, when the icon sorting device does not include the icon which is required to be moved by the user in the K icons displayed in the preset range region of the M vacant icon positions, the user can trigger and update the icons displayed in the preset range region of the M vacant icon positions through the fourth input, that is, other icons except the K icons in the display desktop and/or the application drawer are triggered, so that the user can quickly find the icon which meets the movement requirement of the user.

Another possible implementation

Optionally, in this embodiment of the application, the user may trigger the icon sorting apparatus to simultaneously move at least one icon in the desktop and/or the application drawer based on the first input and the second input.

Optionally, in this embodiment of the present application, before the step 101, the icon arranging method provided in this embodiment of the present application may further include the following step 110 and step 111.

And 110, receiving a fifth input of the user on the desktop by the icon arranging device.

And step 111, the icon sorting device responds to the fifth input and displays a selection identifier on each icon position in the target object.

The target object can be a desktop or a desktop and an application drawer; the first input is specifically input of a user on the selection marks on the M vacant icon positions, and the second input is specifically input of the user on the selection marks on the icon positions where the N icons are located; the N icons are icons in the target object.

It can be understood that in the embodiment of the present application, after the icon arranging apparatus displays a selection identifier on each icon position in the target object, it indicates that each icon in the target object is in the movable mode.

Optionally, in this embodiment of the present application, when M is greater than 1, the first input may include M first sub-inputs, and one sub-input is used to trigger selection of one empty icon position of the M empty icon positions.

Optionally, in this embodiment of the application, when N is greater than 1, the second input may include N second sub-inputs, and one second sub-input is used to trigger selection of one icon of the N icons.

It is understood that when the target object includes an application drawer, it represents that the user triggers selection of an icon in the application drawer through a sub-input in the second input/second input to trigger movement of the icon in the application drawer onto the desktop.

Optionally, in this embodiment of the application, the P icons may be any P icons in the N icons.

For example, assuming that the number of M empty icon bits is 3 and the number of N icons is 5, then: the icon collating means may display 3 icons of the 5 icons on 3 empty icon positions. And, the 3 icons may be the first selected 3 icons of the 5 icons, or may be the last selected 3 icons of the 5 icons.

Optionally, in this embodiment of the application, the icon arranging device may display P icons in the N icons on the M empty icon positions according to an order in which the M empty icon positions are selected and an order in which the N icons are selected.

For example, assume that the M empty icon positions are arranged in the selected order: the method comprises the following steps that an empty icon position i, an empty icon position ii and an empty icon position iii are arranged, and N icons are arranged according to the selected arrangement: icon 1, icon 2, icon 3, and icon 4, then: the icon collating means may display icon 1 on empty icon location i, icon 2 on empty icon location ii and icon 3 on empty icon location iii.

Optionally, in this embodiment of the application, for the other icons than the P icons in the N icons, the icon arranging device may keep the display positions of the icons unchanged. So, when the unnecessary quantity of vacant icon position of icon quantity of selecting, because icon collating unit can remove the icon according to the precedence order of selecting, and keep the display position of the icon of selecting more motionless to can avoid the user to touch the operation because of the mistake and lead to the condition emergence of icon order confusion in the operation process, make the icon removal process more succinct convenient.

The icon sorting method provided by the embodiment of the present application is exemplarily described below with reference to the drawings.

Exemplarily, (a) in fig. 3 is a schematic diagram of a 1 st interface 30 of the desktop, where the 1 st interface 30 includes an icon a, an icon B, an icon C, an icon D, an icon E, an icon F, an icon G, an icon H, an icon I, an icon J, an icon K, and an icon L; fig. 3 (b) is a schematic diagram of a 4 th interface 31 of the desktop, and the 4 th interface 30 includes an icon M, an icon N, an icon O, an icon P, and an icon Q. Suppose that a user needs to move an icon K in a 1 st interface to a first vacant icon position in a 4 th interface and move an icon L in the 1 st interface to a second vacant icon position in the 4 th interface; further, assuming that the interface currently displayed by the icon arranging device is the 4 th interface of the desktop, then: as shown in fig. 3 (b), the user may long press on an empty icon position of the 4 th interface 31 (i.e. a fifth input), so that the icon arranging apparatus may display a selection mark on each icon position in the desktop in response to the fifth input; for example, as shown in fig. 4 (a), the icon arranging means may display a selection indicator 32 on each icon position on the 4 th interface 31; the user may then click on the selection indicator on the first vacant icon position 33 and the selection indicator on the second vacant icon position 34, respectively (i.e., a first input), so that the icon collating apparatus may select the first vacant icon position 33 and the second vacant icon position 34 in response to the first input. At this time, as shown in (b) in fig. 4, the user may trigger the icon arranging device to display the 1 st interface 30 by inputting, and it can be seen that a selection identifier 32 is also displayed on each icon position in the 1 st interface 30, so that the user may click on the selection identifier on the icon K and the selection identifier on the icon L and click on the non-icon position area of the 1 st interface 30, that is, the icon arranging device receives the second input of the user, so that the icon arranging device may respond to the second input, as shown in (c) in fig. 4, the icon arranging device may display the icon K on the first empty icon position and display the icon L on the first empty icon position.

In the embodiment of the application, the user can trigger the selection identifier to be displayed on each icon position of the desktop through the fifth input, so that the user can trigger the plurality of icons in the desktop to be moved simultaneously through inputting the selection identifier, and the moving efficiency of the icons can be improved on the basis of improving the accuracy of the moving icons.

It should be noted that, in the embodiment of the present application, the example of moving the icon in the desktop and moving the icon in the application drawer to the desktop is taken as an example for illustration, in an actual implementation, a user may further trigger to select a vacant icon position in the application drawer to trigger to move the icon in the desktop and/or the application drawer to a vacant icon position. The icon sorting method provided by the embodiment of the application can realize the rapid movement of the icons in the desktop, the application drawer and between the desktop and the application drawer.

It should be noted that in the icon arranging method provided in the embodiment of the present application, the execution main body may be an icon arranging device, or a control module in the icon arranging device for executing the icon arranging method. In the embodiment of the present application, an icon arranging method executed by an icon arranging device is taken as an example to describe the icon arranging device provided in the embodiment of the present application.

As shown in fig. 5, an embodiment of the present application provides an icon arranging apparatus, which may include: a receiving module 61, a selecting module 62 and a displaying module 63. A receiving module 61, which may be used to receive a first input of a user on a desktop of an electronic device; a selecting module 62, which may be configured to select M empty icon positions in the desktop in response to the first input received by the receiving module 61; the receiving module 61 may be further configured to receive a second input of the user; a display module 63, which may be configured to display P icons on M vacant icon positions in response to the second input received by the receiving module 61, each icon being displayed on one of the M vacant icon positions; wherein the P icons are ones of the N icons selected by the second input, M, N and P are both positive integers, and P is less than or equal to M.

Optionally, in an embodiment of the present application, M is equal to 1; the receiving module 61 may be further configured to receive a third input of the M empty icon positions from the user before receiving the second input from the user; the display module 63 is further configured to sequentially display Q icons on the M empty icon positions in a target manner in response to the third input received by the receiving module 61, where the Q icons may include the N icons; the receiving module 61 may be specifically configured to receive a second input when the N icons are sequentially displayed on the M empty icon positions in a target manner.

Optionally, in an embodiment of the present application, M is equal to 1; the display module 63 may also be configured to display K icons in a preset range area of M vacant icon positions after the selection module 62 selects the M vacant icon positions in the desktop, where K is a positive integer; wherein, the N icons may be included in the K icons.

Optionally, in this embodiment of the application, the icon sorting apparatus may further include an updating module. The receiving module 61 may be further configured to receive a fourth input after the displaying module 63 displays K icons in the preset range area of the M empty icon positions, where the K icons do not include the N icons, and the fourth input may be used to trigger updating of the icons displayed in the preset range area of the M empty icon positions; and an updating module, configured to update the K icons to H icons in response to a fourth input received by the receiving module 61, where H may be a positive integer.

Optionally, in this embodiment of the application, the receiving module 61 may be further configured to receive a fifth input of the user on the desktop before receiving the first input of the user on the desktop; a display module 63, further operable to display a selection identifier on each icon position in the target object in response to the fifth input received by the receiving module 61; the target object can be a desktop or a desktop and application drawer; the first input can be the input of a user to the selection marks on the M vacant icon positions, and the second input can be the input of the user to the selection marks on the icon positions where the N icons are located; the N icons are icons in the target object.

In the icon arranging device provided by the embodiment of the application, because the icon arranging device can directly move the selected icon to the selected vacant icon position after the vacant icon position and the icon are respectively selected based on the first input and the second input of the user, compared with a mode that the icon is moved by a user after the icon is dragged to the vacant icon position, the icon arranging device provided by the embodiment of the application can improve the accuracy and convenience of moving the icon.

The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.

The icon arranging device in the embodiment of the present application may be an electronic device, or may be a component, an integrated circuit, or a chip in the electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.

The icon arranging device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.

The icon sorting device provided in the embodiment of the present application can implement each process implemented by the icon sorting method in the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.

As shown in fig. 6, an electronic device 200 according to an embodiment of the present application is further provided, which includes a processor 202, a memory 201, and a program or an instruction stored in the memory 201 and executable on the processor 202, and when the program or the instruction is executed by the processor 202, the processes of the embodiment of the icon sorting method are implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.

It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.

Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.

Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.

The user input unit 1007 may be configured to receive a first input of a user on a desktop of the electronic device; a processor 1010, which may be configured to select M empty icon positions in the desktop in response to a first input received by the user input unit 1007; a user input unit 1007, which may also be used to receive a second input from the user; a display unit 1006, which may be configured to display P icons on M vacant icon positions, each icon being displayed on one of the M vacant icon positions, in response to a second input received by the user input unit 1007; wherein the P icons are ones of the N icons selected by the second input, M, N and P are both positive integers, and P is less than or equal to M.

Optionally, in an embodiment of the present application, M is equal to 1; the user input unit 1007 may be further configured to receive a third input of the M empty icon positions from the user before receiving the second input from the user; the display unit 1006, further configured to sequentially display Q icons on the M vacant icon positions in a target manner in response to a third input received by the user input unit 1007, where the Q icons may include the N icons; the user input unit 1007 may be specifically configured to receive a second input when the N icons are displayed on the M empty icon positions according to a target manner.

Optionally, in an embodiment of the present application, M is equal to 1; the display unit 1006 may be further configured to display K icons in a preset range area of M vacant icon positions after the processor 1010 selects the M vacant icon positions in the desktop, where K is a positive integer; wherein, the N icons may be included in the K icons.

Optionally, in this embodiment of the application, the user input unit 1007 may be further configured to receive a fourth input after the display unit 1006 displays K icons in the preset range area of the M empty icon positions, and when the K icons do not include the N icons, the fourth input may be used to trigger updating of the icons displayed in the preset range area of the M empty icon positions; the display unit 1006 may be further configured to update the K icons to H icons in response to a fourth input received by the user input unit 1007, where H may be a positive integer.

Optionally, in this embodiment of the present application, the user input unit 1007 may be further configured to receive a fifth input of the user on the desktop before receiving the first input of the user on the desktop; the display unit 1006, which may be further configured to display a selection identifier on each icon position in the target object in response to a fifth input received by the user input unit 1007, where the target object may be a desktop, or a desktop and an application drawer; the first input can be the input of a user to the selection marks on the M vacant icon positions, and the second input can be the input of the user to the selection marks on the icon positions where the N icons are located; the N icons are icons in the target object.

In the electronic device provided by the embodiment of the application, because the electronic device can directly move the selected icon to the selected vacant icon position after the vacant icon position and the icon are respectively selected based on the first input and the second input of the user, compared with a mode that the icon is moved after the icon is dragged to the vacant icon position by a user, the electronic device provided by the embodiment of the application can improve the accuracy and convenience of moving the icon.

The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.

It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.

The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the icon sorting method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

The processor is a processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the icon sorting method, and the same technical effect can be achieved.

It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.

While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:启动应用的方法及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类