CN115857751A - Icon management method and device and electronic equipment - Google Patents

Icon management method and device and electronic equipment Download PDF

Info

Publication number
CN115857751A
CN115857751A CN202211650904.XA CN202211650904A CN115857751A CN 115857751 A CN115857751 A CN 115857751A CN 202211650904 A CN202211650904 A CN 202211650904A CN 115857751 A CN115857751 A CN 115857751A
Authority
CN
China
Prior art keywords
icon
display
displaying
display size
target
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.)
Pending
Application number
CN202211650904.XA
Other languages
Chinese (zh)
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 CN202211650904.XA priority Critical patent/CN115857751A/en
Publication of CN115857751A publication Critical patent/CN115857751A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an icon management method, an icon management device and electronic equipment, wherein the method comprises the following steps: receiving a first input for a first icon; updating a display position of the first icon to a target position in response to the first input; under the condition that the target position cannot accommodate the first icon, displaying the first icon in a floating mode or displaying a second icon in a floating mode and displaying the first icon at the target position; wherein the failure of the target location to accommodate the first icon comprises at least one of: the target location comprises a void and the void cannot accommodate the first icon; the second icon is displayed at the target position.

Description

Icon management method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an icon management method and device and electronic equipment.
Background
With the continuous development of internet technology, electronic devices are more and more widely applied. In order to meet the functional requirements, the number of applications of the electronic device is increasing, and icons in an icon display interface (such as a desktop) of the electronic device are also increasing. In order to ensure the tidiness and high efficiency of the icon display interface, a user can manage the icons in the icon display interface by operating to move the icons, adding new components or new applications, changing the size of the icon display, grouping the applications and the like.
In the current icon management scheme, when a new component or application is added, if the icon display interface has enough space for adding an application or component icon, the corresponding icon can be successfully added in the icon display interface; if the space in the icon display interface is insufficient, the icon adding may fail due to the fact that the space cannot be extruded, and at this time, a user can manually adjust the layout of the current icon display interface to ensure that the icon can be added to the current icon display interface, and the operation process is complicated.
Disclosure of Invention
The embodiment of the application aims to provide an icon management method, an icon management device and electronic equipment, and the problem that an existing icon management mode is complex in operation process can be solved.
In a first aspect, an embodiment of the present application provides an icon management method, including:
receiving a first input for a first icon;
updating a display position of the first icon to a target position in response to the first input;
under the condition that the target position cannot accommodate the first icon, displaying the first icon in a floating mode or displaying a second icon in a floating mode and displaying the first icon at the target position;
wherein the failure of the target location to accommodate the first icon comprises at least one of:
the target location comprises a void and the void cannot accommodate the first icon;
the second icon is displayed at the target position.
In a second aspect, an embodiment of the present application provides an icon management apparatus, including:
a first receiving module for receiving a first input for a first icon;
a first response module, configured to update a display position of the first icon to a target position in response to the first input;
the first display module is used for displaying the first icon in a floating mode or displaying a second icon in a floating mode and displaying the first icon in the target position under the condition that the target position cannot accommodate the first icon;
wherein the target location failing to accommodate the first icon comprises at least one of:
the target location comprises a void and the void cannot accommodate the first icon;
the second icon is displayed at the target position.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the icon management method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the icon management method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides 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 steps of the icon management method according to the first aspect.
In a sixth aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the steps of the icon management method according to the first aspect.
In the embodiment of the application, when a first input aiming at a first icon is received, the display position of the first icon is updated to a target position in response to the first input, and when the target position cannot accommodate the first icon, the first icon is displayed in a floating mode or a second icon is displayed in a floating mode, and the first icon is displayed in the target position. Like this, target location can't hold first icon, also the target location includes the vacancy just the vacancy can't hold first icon, and/or, target location shows there is under the condition of second icon, can realize fast conveniently updating first icon's display problem, has simplified user operation process, avoids treating the target location that moves to at first icon can't hold first icon, needs loaded down with trivial details operation process to there is the loaded down with trivial details problem of operation process in the present icon management mode to solved.
Drawings
FIG. 1 is a flowchart of an icon management method according to an embodiment of the present application;
FIG. 2 (a) is a schematic diagram of a second icon according to an embodiment of the present application;
FIG. 2 (b) is a second schematic diagram of a second icon in accordance with the embodiment of the present application;
FIG. 2 (c) is a third schematic diagram of a second icon according to the embodiment of the present application;
FIG. 2 (d) is a fourth schematic diagram of a second icon in accordance with an embodiment of the present application;
FIG. 3 is a fifth schematic view of a second icon in accordance with the present application;
FIG. 4 is a diagram illustrating a dimensional status according to an embodiment of the present application;
FIG. 5 is a second flowchart of an icon management method according to an embodiment of the present application;
FIG. 6 is one of the schematic diagrams of the embodiment of the present application with the addition of a first icon;
FIG. 7 is a second schematic diagram of the present application with the addition of a first icon;
FIG. 8 is a third illustration of the present application with the addition of a first icon;
FIG. 9 is a fourth illustration of the present application with the addition of a first icon;
FIG. 10 is a schematic view of a first icon floating display according to an embodiment of the present application;
FIG. 11 is a diagram illustrating a second icon resuming display according to an embodiment of the present application;
FIG. 12 is a second schematic view of a first icon floating display in accordance with an embodiment of the present application;
FIG. 13 is a third flowchart of an icon management method according to an embodiment of the present application;
FIG. 14 is a fifth illustration of the present application with the addition of a first icon;
FIG. 15 is a sixth schematic view of the embodiment of the present application with the addition of a first icon;
FIG. 16 is a seventh schematic view of the embodiment of the present application with the addition of the first icon;
FIG. 17 is an eighth schematic view of the embodiment of the present application with the addition of a first icon;
FIG. 18 is a third schematic view of a first floating icon display in accordance with an embodiment of the present application;
FIG. 19 is a fourth flowchart of an icon management method according to an embodiment of the present application;
FIG. 20 is a fourth illustration of a first icon floating display in accordance with an embodiment of the present application;
FIG. 21 is a second illustration of a second icon resuming display in accordance with the present application;
FIG. 22 is a fifth flowchart of an icon management method according to an embodiment of the present application;
FIG. 23 is a schematic illustration of the orientation weight of a second icon relative to a first icon in accordance with an embodiment of the present application;
FIG. 24 is a schematic diagram illustrating a determination of a priority of a second icon in accordance with an embodiment of the present application;
FIG. 25 (a) is a schematic view of the priority of the first icon placement position in accordance with the embodiment of the present application; FIG. 25 (b) is a second schematic diagram illustrating the priority of the first icon placement position according to the embodiment of the present application;
FIG. 25 (c) is a third exemplary illustration of the priority of the first icon placement position in accordance with the embodiment of the present invention;
FIG. 26 is a ninth illustration of the present application with the addition of a first icon;
FIG. 27 (a) is a schematic diagram of an embodiment of the present application with the addition of a first icon;
FIG. 27 (b) is an eleventh exemplary view of the embodiment of the present application with the addition of the first icon;
FIG. 28 (a) is a schematic view showing a display size changing orientation of a second icon in an embodiment of the present application;
FIG. 28 (b) is a schematic view showing a display size changing orientation of a first unit in the embodiment of the present application;
fig. 29 is one of schematic diagrams of changing the display size according to priority in the embodiment of the present application;
FIG. 30 is a second schematic diagram illustrating the display size change according to priority in the embodiment of the present application;
FIG. 31 is a schematic diagram of the embodiment of the present application switching to a floating display;
FIG. 32 is a schematic diagram illustrating state switching in accordance with an embodiment of the present application;
FIG. 33 (a) is a schematic diagram of the sliding homing onto the floating icon display area in the embodiment of the present application;
FIG. 33 (b) is a schematic diagram of the downslide addition to the unloading zone in the embodiment of the present application;
FIG. 34 is a schematic diagram of an adjustment packet according to an embodiment of the present application;
FIG. 35 is a schematic diagram illustrating batch adjustment of floating icons according to an embodiment of the present application;
FIG. 36 is a schematic diagram of an embodiment of the present application adding a packet;
FIG. 37 is a diagram illustrating a floating icon being displayed again according to an embodiment of the present application;
FIG. 38 is a block diagram of an icon management apparatus according to an embodiment of the present application;
FIG. 39 is a block diagram of an electronic device of an embodiment of the application;
fig. 40 is a hardware configuration 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 below clearly 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, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. 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.
The icon management method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides an icon management method, including the following steps:
step 11: a first input is received for a first icon.
Optionally, the first input may be an input moving the first icon to the first interface. For example: the first interface may be an icon display interface (e.g., a desktop, a negative one-screen or other interface displaying icons, etc.). In the icon editing state or the desktop editing state, that is, the user can edit the icon in the first interface, the user can select the icon moved to another position, that is, the first icon, through the first input. Wherein the user may select one or more number of icons, the first icon including but not limited to at least one of: application icons, application component icons, folder icons, and the like. Specifically, the first input may be a selection input of the user for at least one first icon in the second interface, or the first input may also be a selection input of the user for at least one first icon in the component library interface or the application library interface, and the like, so as to implement selection of the at least one first icon.
Optionally, the number of the first icons may be one or more, where in the case that the number of the first icons is more than one (i.e. multiple), different first icons may be distinguished based on the order of the multiple first icons, for example, a first selected first icon may be referred to as a first-order icon, i.e. in a first order in a processing queue, a second selected first icon may be referred to as a second-order icon, i.e. in a second order in the processing queue, and so on.
Step 12: in response to the first input, updating the display position of the first icon to a target position.
Optionally, in a case that the first input is an input of moving the first icon to the first interface, the target position may be a staying position of the first input for operating the first icon on the first interface, for example, a user may drag the first icon in the second interface to the first interface, and a position where the dragged first icon stays in the first interface beyond a preset threshold is the target position. Alternatively, the target position may also be a position selected by the user for placing the first icon, and the like, which is not limited in this embodiment of the application.
Step 13: and under the condition that the target position cannot accommodate the first icon, displaying the first icon in a floating mode or displaying a second icon in a floating mode and displaying the first icon at the target position.
Wherein the failure of the target location to accommodate the first icon comprises at least one of:
the target location comprises a void and the void cannot accommodate the first icon;
the second icon is displayed at the target position.
For example: in the event that the target location includes a void and the void cannot accommodate the first icon, displaying the first icon in suspension; or, under the condition that the second icon is displayed at the target position, the first icon is displayed in a floating manner; or, under the condition that the second icon is displayed at the target position, displaying the second icon in a floating manner and displaying the first icon at the target position; or, in the case that the target position includes a vacant space and the vacant space cannot accommodate the first icon, and the target position displays the second icon, the first icon is displayed in a floating manner; or, in the case that the target position includes a vacant space and the vacant space cannot accommodate the first icon, and the target position displays the second icon, displaying the second icon in a floating manner and displaying the first icon at the target position.
Alternatively, the second icon may be an icon that is originally still on the first interface (e.g., on the desktop). As shown in fig. 2 (a), the display size of the first icon 21 is 1 × 1, and the first icon 21 covers the second icon 22 with the display size of 1 × 1, so that the display position of the second icon 22 can be determined as the target position, that is, the second icon displayed at the target position is determined. Or as shown in fig. 2 (b), the display size of the first icon 21 is 1 × 1, and the first icon 21 is overlaid on the second icon 22 with the display size of 2 × 2, so that the display position of the second icon 22 can be determined as the target position, that is, the second icon displayed at the target position is determined.
Optionally, the target position may be a display position of one second icon, or may be a display position of a plurality of second icons, that is, the first icon may also cover the plurality of second icons at the same time, and the target position may be a display position of a plurality of second icons 22 covered by the first icon 21, as shown in fig. 2 (c), the first icon 21 with a display size of 2 × 2 may be covered by 4 second icons 22 with a display size of 1 × 1.
Optionally, the number of the first icons may be one or more, for example, when the number of the first icons is multiple, the target position may be determined by the display position of the second icon covered by the first icon with the largest size among the multiple first icons, as shown in fig. 2 (d), the user may select multiple first icons at the same time, for example, the first icon 211 with the display size of 1 × 1, the first icon 212 with the display size of 2 × 3, and the first icon 213 with the display size of 3 × 1, and the target position is determined by the display position of the second icon covered by the first icon 212 with the display size of 2 × 3, that is, the target position is the display position of the second icon 22 covered by the first icon 213 with the largest size, that is, the display position of the 4 second icons 22 covered by the first icon 213.
In addition, the target position may include a vacant position in addition to the display position of the second icon, that is, the target position may be the display position of the second icon, or may be a vacant position, or the target position may also be the display position and vacant position of the second icon, or the like. The empty space may be a blank area, which is connected to the first interface and has no icon displayed therein, as shown in fig. 3, and the first interface includes two empty spaces, i.e., a first empty space 31 and a second empty space 32.
Optionally, when the user needs to move the first icon into the first interface, the user may select the corresponding first icon and drag the first icon to the target position in the first interface, and if the target position cannot accommodate the first icon (for example, there is no vacancy in the target position, or there is a vacancy in the target position and cannot accommodate the first icon, or the target position displays a second icon, etc.), the user needs to operate the first icon or the second icon, so that the first icon can be moved into the first interface.
It should be noted that, if the target location can accommodate the first icon, the first icon can be directly displayed at the target location without performing an operation on the first icon or the second icon.
Alternatively, the icon may have at least two display modes, such as a floating display, a normal display. The normal display refers to a common icon display mode, and can be displayed in a main body area of the desktop, as shown in fig. 3, the solid line rectangular frame is an application icon that is normally displayed, and the display size of the icon that is displayed in a floating manner is smaller than that of the icon that is normally displayed, for example, the icon that is displayed in a floating manner may be located in a status bar, and the embodiment of the present application is not limited thereto.
In the above scheme, when a first input for a first icon is received, the display position of the first icon is updated to a target position in response to the first input, and when the target position cannot accommodate the first icon, the first icon is displayed in a floating manner or a second icon is displayed in a floating manner and the first icon is displayed at the target position. Like this, target location can't hold first icon, promptly target location includes the vacancy just the vacancy can't hold first icon, and/or, target location shows there is under the condition of second icon, can realize quick convenient the display problem of updating first icon, has simplified user operation process, avoids treating the target location that moves to at first icon can't hold first icon, needs loaded down with trivial details operation process to there is the loaded down with trivial details problem of operation process in the present icon management mode to solved.
Optionally, the display size of the icons may be adjusted including, but not limited to, at least one of: reducing the display size of the icons (e.g., changing the display size of the icons from 2 × 1 to 1 × 1), adjusting the layout of the icons (e.g., changing the display size of the icons from 2 × 1 to 1 × 2 without changing the area size), and the like. As shown in fig. 3, one solid-line rectangular frame can be regarded as one size unit, one application icon can be an icon of one size unit, a component icon can be an icon of multiple size units, and the like.
Optionally, in a case that the target location includes a vacancy and the vacancy cannot accommodate the first icon, displaying the first icon in a floating manner includes:
the method I comprises the following steps: and under the condition that the display size of the first icon is not adjustable and the vacant space cannot accommodate the first icon, the first icon is displayed in a floating mode.
For example: in the case where the display size of the first icon is not adjustable, that is, the display size of the first icon is not reducible or the layout is not adjustable, if the target position includes a vacant space and the vacant space can accommodate the first icon, the first icon may be displayed in the vacant space. If the target position comprises a vacancy and the vacancy cannot accommodate the first icon, the first icon can be directly displayed in a floating mode, so that the first icon can be successfully moved in while a tedious icon operation process is avoided.
The second method comprises the following steps: and under the condition that the display size of the first icon is adjustable and the vacant space cannot accommodate the first icon with the adjusted display size, the first icon is displayed in a floating mode.
For example: when the display size of the first icon is adjustable, that is, the display size of the first icon is reducible or adjustable in layout, the display size of the first icon may be adjusted first to change the layout of the display position occupied by the first icon or reduce the display position occupied by the first icon. If the blank space can accommodate the first icon after the display size is adjusted, the first icon after the display size is adjusted can be displayed in the blank space. If the vacancy can not accommodate the first icon with the display size adjusted, the first icon can be directly displayed in a suspended mode, so that the first icon can be successfully moved into the vacancy space while a complex icon operation process is avoided.
In addition, the determination process of whether or not the first icon having the adjusted display size can be accommodated in the empty space when the display size of the first icon is adjusted is performed before the first icon is displayed as the floating icon, and it is not actually necessary to display the process of adjusting the display size of the first icon.
Optionally, when the second icon is displayed at the target position, displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position includes the following steps:
the first method is as follows: and under the condition that a first reserved position of the target position cannot accommodate the first icon, displaying the first icon in a floating mode. The first reserved position is a display position occupied by the second icon; or under the condition that the display size of the second icon is adjustable, the first reserved position is a reserved display position after the display size of the second icon is adjusted.
For example: under the condition that the display size of the second icon is not adjustable, that is, the display size of the second icon is not reducible or the layout is not adjustable, if the display position occupied by the second icon (which may be one or more) displayed at the target position cannot accommodate the first icon, the first icon can be directly displayed in a floating manner, so that the first icon can be successfully moved into the target position while a tedious icon operation process is avoided.
Another example is: under the condition that the display size of the second icon is adjustable, namely the display size of the second icon can be reduced or the layout can be adjusted, the display size of the second icon can be adjusted firstly to reserve a space for accommodating the first icon, and if the first icon cannot be accommodated after the display size of the second icon is adjusted, the first icon can be directly displayed as a suspended icon, so that the first icon can be successfully moved into the second icon while the complicated icon operation process is avoided.
Note that, although the determination process of whether or not the first icon can be accommodated when the display size of the second icon is adjusted is performed before the first icon is displayed as the floating icon, it is not always necessary to display the process of adjusting the display size of the second icon.
The second method comprises the following steps: and under the condition that the display size of the first icon is adjustable and the first icon with the adjusted display size cannot be accommodated in the first reserved position of the target position, displaying the first icon in a floating manner. The first reserved position is a display position occupied by the second icon; or under the condition that the display size of the second icon is adjustable, the first reserved position is a reserved display position after the display size of the second icon is adjusted.
For example: the display size of the first icon is adjustable, the display size of the second icon is not adjustable, that is, the display size of the first icon is reducible or layout adjustable, and the display size of the second icon is not reducible or layout adjustable, the display size of the first icon may be adjusted first to change the layout of the display position occupied by the first icon or reduce the display position occupied by the first icon. If the display position occupied by the second icon (which may be one or more) displayed at the target position cannot accommodate the first icon after the display size is adjusted, the first icon may be directly displayed in a floating manner, so that the first icon can be successfully moved into the target position while a tedious icon operation process is avoided.
Another example is: the display size of the first icon can be adjusted, the display size of the second icon can be adjusted, namely the display size of the first icon can be reduced or the layout can be adjusted, and the display size of the second icon can be reduced or the layout can be adjusted.
Note that, although the determination process of whether or not the first icon can be accommodated when the display sizes of the first icon and the second icon are adjusted is performed before the first icon is displayed as the floating icon, the process of adjusting the display sizes of the first icon and the second icon is not necessarily actually required to be displayed.
The third method comprises the following steps: under the condition that a first reserved position of the target position can accommodate the first icon, displaying the second icon in a floating mode and displaying the first icon at the first reserved position; and the first reserved position is a display position occupied by the second icon.
For example: under the condition that the display size of the second icon is not adjustable, that is, the display size of the second icon is not reducible or the layout is not adjustable, if the display position occupied by the second icon (which may be one or more) displayed at the target position can accommodate the first icon, the second icon can be directly subjected to suspension display and the first icon is displayed at the first reserved position, so that the first icon can be successfully moved into the target position while a tedious icon operation process is avoided.
Another example is: under the condition that the display size of the second icon is adjustable, namely the display size of the second icon can be reduced or the layout can be adjusted, the display size of the second icon can be adjusted firstly to reserve a space for accommodating the first icon, if the display size of the second icon is adjusted, the first icon still cannot be accommodated, and the occupied display position of the second icon (which can be one or more) can accommodate the first icon, the second icon can be directly subjected to suspension display and displayed at the first reserved position to display the first icon, so that the first icon can be successfully moved into while the complicated icon operation process is avoided.
Note that, in the case where the adjustment of the display size of the second icon is performed before the first icon is displayed in the first reserved position, the determination process as to whether or not the first icon can be accommodated is not necessarily performed, and it is not always necessary to display the process of adjusting the display size of the second icon.
The method four comprises the following steps: under the condition that the display size of the first icon is adjustable and the first icon with the adjusted display size can be accommodated in the first reserved position of the target position, displaying the second icon in a suspending manner and displaying the first icon with the adjusted display size in the first reserved position; and the first reserved position is a display position occupied by the second icon.
For example: the display size of the first icon is adjustable, the display size of the second icon is not adjustable, that is, the display size of the first icon is reducible or layout adjustable, and the display size of the second icon is not reducible or layout adjustable, the display size of the first icon may be adjusted first to change the layout of the display position occupied by the first icon or reduce the display position occupied by the first icon. If the display position occupied by the second icon (which may be one or more) displayed at the target position can accommodate the first icon after the display size is adjusted, the second icon can be directly displayed in a floating manner and the first icon is displayed at the first reserved position, so that the first icon can be successfully moved into the target position while a complicated icon operation process is avoided.
Another example is: the display size of the first icon is adjustable, the display size of the second icon is also adjustable, that is, the display size of the first icon can be reduced or the layout can be adjusted, and the display size of the second icon can be reduced or the layout can be adjusted, so that the display size of the first icon and the display size of the second icon can be adjusted, if the display position reserved by the display size of the second icon is adjusted, the first icon after the display size is adjusted cannot be accommodated, and the display position occupied by the second icon (which can be one or more) can accommodate the first icon after the display size is adjusted, the second icon can be directly suspended and displayed, and the first icon is displayed at the first reserved position, so that the first icon can be successfully moved into while the complicated icon operation process is avoided.
It should be noted that, in the case where the display sizes of the first icon and the second icon are adjusted before the first icon is displayed in the first reserved position, the determination process as to whether the first icon can be accommodated is not necessarily required to display the process of adjusting the display sizes of the first icon and the second icon.
Optionally, when the target location includes a vacant space and the vacant space cannot accommodate the first icon, and the target location displays the second icon, the method includes the following steps:
the first method is as follows: under the condition that a second reserved position of the target position cannot accommodate the first icon, displaying the first icon in a floating mode; wherein the second reserved location comprises: a display position occupied by the empty space and the second icon; or in the case that the display size of the second icon is adjustable, the second reserved location includes: the vacant position and the display position reserved for adjusting the display size of the second icon.
For example: under the condition that the display size of the second icon is not adjustable, that is, the display size of the second icon is not reducible or the layout is not adjustable, if the display position occupied by the second icon (which may be one or more) displayed at the target position and the vacancy of the target position cannot accommodate the first icon, the first icon can be directly subjected to floating display, so that the first icon can be successfully moved into the second icon while a tedious icon operation process is avoided.
Another example is: under the condition that the display size of the second icon is adjustable, namely the display size of the second icon is reduced or the layout is adjustable, the display size of the second icon can be adjusted to reserve a space for accommodating the first icon, and if the space reserved after the display size of the second icon is adjusted and the vacancy of the target position still cannot accommodate the first icon, the first icon can be directly displayed as a suspended icon, so that the first icon can be successfully moved into while a complicated icon operation process is avoided.
Note that, although the determination process of whether or not the first icon can be accommodated when the display size of the second icon is adjusted is performed before the first icon is displayed as the floating icon, it is not always necessary to display the process of adjusting the display size of the second icon.
The second method comprises the following steps: and under the condition that the display size of the first icon is adjustable and the second reserved position of the target position cannot accommodate the first icon after the display scale is adjusted, displaying the first icon in a suspended manner. Wherein the second reserved location comprises: a display position occupied by the empty space and the second icon; or in the case that the display size of the second icon is adjustable, the second reserved location includes: the vacant position and the display position reserved for adjusting the display size of the second icon.
For example: the display size of the first icon is adjustable, the display size of the second icon is not adjustable, that is, the display size of the first icon is reducible or layout adjustable, and the display size of the second icon is not reducible or layout adjustable, the display size of the first icon may be adjusted first to change the layout of the display position occupied by the first icon or reduce the display position occupied by the first icon. If the display position occupied by the second icon (which may be one or more) displayed at the target position and the vacancy of the target position cannot accommodate the first icon after the display size is adjusted, the first icon may be directly displayed in a floating manner, so as to avoid a tedious icon operation process and ensure that the first icon can be successfully moved in.
Another example is: under the condition that the display size of the first icon is adjustable, the display size of the second icon is also adjustable, namely the display size of the first icon can be reduced or the layout can be adjusted, and the display size of the second icon can be reduced or the layout can be adjusted, the display sizes of the first icon and the second icon can be adjusted, if the display position reserved by adjusting the display size of the second icon and the vacancy of the target position cannot accommodate the first icon after the display size is adjusted, the first icon can be directly displayed in a suspended mode, and therefore the first icon can be guaranteed to be successfully moved into while a complicated icon operation process is avoided.
Note that, although the determination processing as to whether or not the first icon can be accommodated when the display sizes of the first icon and the second icon are adjusted is performed before the first icon is displayed as the floating icon, the process of adjusting the display sizes of the first icon and the second icon does not necessarily need to be displayed.
The third method comprises the following steps: under the condition that a second reserved position of the target position can accommodate the first icon, displaying the second icon in a floating mode and displaying the first icon at the second reserved position; wherein the second reserved location comprises: a display position occupied by the empty space and the second icon.
For example: under the condition that the display size of the second icon is not adjustable, that is, the display size of the second icon is not reducible or the layout of the second icon is not adjustable, if the display position occupied by the second icon (which may be one or more) displayed at the target position and the vacant space of the target position can accommodate the first icon, the second icon can be directly displayed in a floating manner and the first icon is displayed at the first reserved position, so that the first icon can be successfully moved into the second icon while a tedious icon operation process is avoided.
Another example is: under the condition that the display size of a second icon is adjustable, namely the display size of the second icon can be reduced or the layout can be adjusted, the display size of the second icon can be adjusted firstly to reserve a space for accommodating the first icon, if the display size of the second icon is adjusted, the first icon can not be accommodated, the display position occupied by the second icon (which can be one or more) and the first icon can be accommodated under the control of the target position, the second icon can be directly suspended and displayed, the first icon is displayed at the first reserved position, and the first icon can be successfully moved into while the tedious icon operation process is avoided.
Note that, in the case where the adjustment of the display size of the second icon is performed before the first icon is displayed in the first reserved position, the determination process as to whether or not the first icon can be accommodated is not necessarily performed, and it is not always necessary to display the process of adjusting the display size of the second icon.
The method four comprises the following steps: under the condition that the display size of the first icon is adjustable and the second reserved position of the target position can accommodate the first icon with the adjusted display size, displaying the second icon in a suspending manner and displaying the first icon with the adjusted display size at the second reserved position; wherein the second reserved location comprises: a display position occupied by the empty space and the second icon.
For example: the display size of the first icon is adjustable, the display size of the second icon is not adjustable, that is, the display size of the first icon is reducible or layout adjustable, and the display size of the second icon is not reducible or layout adjustable, the display size of the first icon may be adjusted first to change the layout of the display position occupied by the first icon or reduce the display position occupied by the first icon. If the display position occupied by the second icon (which may be one or more) displayed at the target position and the vacancy of the target position can accommodate the first icon after the display size is adjusted, the second icon can be directly displayed in a suspended manner and the first icon is displayed at the first reserved position, so that the first icon can be successfully moved in while a tedious icon operation process is avoided.
Another example is: the display size of the first icon is adjustable, the display size of the second icon is also adjustable, that is, the display size of the first icon can be reduced or the layout can be adjusted, and the display size of the second icon can be reduced or the layout can be adjusted, if the display position reserved by the display size of the second icon is adjusted, the first icon after the display size is adjusted cannot be accommodated in the display position reserved by the display size of the second icon, and the display position occupied by the second icon (which can be one or more) and the vacancy of the target position can accommodate the first icon after the display size is adjusted, the second icon can be directly displayed in a suspended manner and displayed in the first reserved position, so that the first icon can be successfully moved into the display position while the complicated icon operation process is avoided.
It should be noted that, in the case where the display sizes of the first icon and the second icon are adjusted before the first icon is displayed in the first reserved position, the determination process as to whether the first icon can be accommodated is not necessarily required to display the process of adjusting the display sizes of the first icon and the second icon.
In addition, when the display size of the first icon or the second icon is adjusted, the adjustment of the display size may be performed once or more. Referring to fig. 4, the number of the first icons is 2, which are the moved-in icon a and the moved-in icon b respectively; the initial display size of the icon a is 1 × 2, and the size to which the icon a can be adjusted is two, namely 1 × 1 and 2 × 2, namely, the icon a can be changed from the display size 1 × 2 to 1 × 1 or from the display size 1 × 2 to 2 × 2; the initial display size of icon b is 2 x 2, with no variable display size. The number of second icons covered by the icon with the largest display size (namely the first icon B of 2 x 2) in the shifted icons is 2, namely the icon a and the icon B, the initial display size of the icon a is 2 x 1, and the number of the second icons which can be adjusted to the icons is two, namely 1 x 1 and 1 x 2, namely the icon a can be changed from the display size of 2 x 1 to 1 x 1 or from the display size of 2 x 1 to 1 x 2; the initial display size of icon B is 2 × 1, with no variable display size. If accommodating the shifted-in icon a is accomplished in view of changing the explicit size of icon a and/or icon a, the size of the icons may be changed from time to time, for example: the display size of the icon a is changed to 1 × 1 to reserve a space, but the icon a with the display size of 1 × 2 cannot be accommodated at this time, so that the display size of the icon a can be changed to 1 × 1, and the icon a with the display size of 1 × 1 can be accommodated at this time. Another example is: in the case that there is a corresponding space in the interface to change the explicit size of the icon a to 1 × 2, the explicit size of the icon a may be changed to 1 × 2, and if the icon a with the display size of 1 × 2 still cannot be accommodated at this time, the explicit size of the icon a may be further changed to 1 × 1, and a space is reserved to accommodate the icon a with the display size of 1 × 2, so that it may be ensured that the shift-in to the first icon is realized under the condition that the display size of the second icon is changed the minimum by gradually adjusting the display size of the second icon.
Optionally, when the target location cannot accommodate the first icon, displaying the first icon in a floating manner or displaying a second icon in a floating manner and displaying the first icon at the target location includes:
determining a display size status of the first icon and a display size status of the second icon in a case where the first icon cannot be accommodated by the target position; wherein the display size state is display size variable or display size non-variable; and displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position according to the display size state of the first icon and the display size state of the second icon.
Specifically, after the user determines the target position and releases the first icon, the background may determine an initial display size and number of the first icon, a variable display size of each of the selected first icons, an initial display size and number of the second icons, a variable display size of each of the second icons, and the like, so as to determine a display size status of the first icon and a display size status of the second icon.
For example: when the number of the first icons is determined to be multiple, if one first icon has a variable display size, the first icon is judged to have a variable display size, and if all the first icons do not have the variable display size, the first icon is judged to have an invariable display size. Accordingly, the determination method of the display size state of the second icon is similar thereto. In addition, if the first icon is an icon selected in the component library interface or the application library interface, considering that the user usually moves the corresponding icon into the target position after determining the reserved space of the target position, the display size of the first icon may be set to be invariable by default; if the first icon is an icon moved from the desktop screen splitting, the first icon may be set to be variable in display size; further, for the vacancy of the target position, the vacancy can be set to be variable in display size.
Further, after determining the display size status of the first icon and the display size status of the second icon, different strategies may be implemented based on the different display size statuses of the first icon and the second icon, such as adjusting the display size of the second icon, adjusting the display size of the first icon, displaying the second icon in a floating manner, displaying the first icon in a floating manner, and the like. For example, although the second icon depends on the range covered by the first icon based on the above embodiment, there may still be a case where the display size of the second icon is not equal to that of the first icon, for example, the first icon with the display size 1 × 1 covers the second icon with the display size 2 × 2, the first icon with the display size 2 × 2 covers the second icon with the display size 1 × 1 at the boundary of the desktop, and the like. Therefore, in order to ensure that the second icon changes minimally when the first icon is added to the first interface, corresponding changes can be made to the first icon and the second icon according to different display sizes, and the like, which will be specifically described below with reference to the embodiments.
Optionally, the displaying the second icon in a floating manner and the first icon at the target position includes:
under the condition that the number of the second icons displayed at the target position is multiple, displaying a first part of the second icons in a floating mode, and displaying the first icons at the target position; wherein the first portion of icons includes: at least one second icon in a minimum position that can accommodate the first icon.
Wherein the minimum position at which the first icon can be accommodated is: the display position occupied by at least one second icon in the plurality of second icons. A minimum display position capable of accommodating the first icon. Alternatively, the minimum position that can accommodate the first icon is: and the minimum display position which is composed of the display position occupied by at least one second icon in the plurality of second icons and all vacant positions and can contain the first icon, and the like.
For example: when the number of the first icons is multiple, and/or the number of the second icons is multiple, the first icons may be sequentially displayed in a floating manner or displayed at a target position according to the priority order of the first icons (such as the order in which the user selects the first icons), and/or the second icons may be sequentially displayed in a floating manner according to the priority order of the second icons (such as determining the priority according to the phase position of the second icons relative to the first icons, and the like), so as to minimize the change of the first icons and the second icons after the first icons are moved in, and ensure that the first icons can be moved in quickly and conveniently.
Optionally, for the above embodiment, the display size of the second icon is adjustable, and in a scene in which the first icon is accommodated by adjusting the display size of the second icon: in the case where the number of the second icons is plural, the display sizes of the second icons may be sequentially adjusted in order of priority of the plural second icons until the display size of the second icon is not variable or a target position can accommodate the first icon.
For example: in the process of sequentially adjusting the display sizes of the second icons, if the first icons can be accommodated in the target position, the operation of adjusting the display sizes of the second icons is finished, and the first icons are displayed in the target position; or, if the display sizes of all the second icons cannot be continuously adjusted and the target position still cannot accommodate the first icon, the operation of adjusting the display sizes of the second icons is ended, and at this time, other operations, such as directly displaying the first icon in a floating manner, or displaying the second icon in a floating manner and displaying the first icon in the target position, may be continuously performed to ensure that the first icon is successfully moved in and avoid a cumbersome icon operation process, which will be described below with reference to specific embodiments.
Optionally, for the foregoing embodiment, the display size of the second icon is not adjustable, and in a scene where the first icon is accommodated by displaying the display size of the second icon in a floating manner: in the case that the number of the second icons is multiple, the second icons may be sequentially displayed in a floating manner according to the priority order of the multiple second icons until all the second icons are displayed in a floating manner or the target position can accommodate the first icon.
For example: in the process of sequentially displaying the second icons in a floating manner, if the target position can contain the first icons, the operation of displaying the second icons in a floating manner is finished, and the first icons are displayed at the target position; or, when all the second icons are displayed in a floating manner and do not satisfy the target position to accommodate the first icon, the operation of displaying the second icons in a floating manner is completed, and at this time, other operations may be continuously performed, such as adjusting the size of the first icon and displaying the first icon after the size adjustment at the target position, or directly displaying the first icon in a floating manner, etc., to ensure that the first icon is successfully moved in and avoid a cumbersome icon operation process, which will be described below with reference to specific embodiments.
Optionally, for the above embodiment, in a scenario where the display size of the first icon or the second icon is adjustable: in the case that the first icon or the second icon has a plurality of variable display sizes, sequentially adjusting the display sizes of the first icon or the second icon in order of priority of the plurality of variable display sizes until the size of the first icon or the second icon is not variable or a target position can accommodate the first icon.
For example: in the process of sequentially adjusting the display sizes of the first icon or the second icon, if the target position can accommodate the first icon, the operation of adjusting the display sizes of the first icon or the second icon is finished, and the first icon is displayed at the target position; or, if the display sizes of all the first icons and the second icons cannot be adjusted continuously and the target position is not satisfied to accommodate the first icon, the operation of adjusting the display size of the first icon or the second icon is ended, and at this time, other operations may be performed continuously, such as directly displaying the first icon in a floating manner, or displaying the second icon in a floating manner and displaying the first icon at the target position, so as to ensure that the first icon is successfully moved in and avoid a cumbersome icon operation process, which will be specifically described below with reference to specific embodiments.
Optionally, as an implementation manner, the displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position according to the display size status of the first icon and the display size status of the second icon includes:
adjusting the display size of the second icon when the display size of the first icon is not variable and the display size of the second icon is variable;
under the condition of adjusting the display size of the second icon, if the target position can accommodate the first icon, displaying the first icon at the target position, otherwise, displaying the second icon in a floating manner;
and under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the first icon is displayed at the target position, otherwise, the first icon is displayed in a floating mode, and the original unit is restored to the display state before the first icon is displayed in the floating mode.
Specifically, when the display size of the first icon is not variable and the display size of the second icon is variable, the display size of the second icon is adjusted;
under the condition of adjusting the display size of the second icon, if the target position can accommodate the first icon, displaying the first icon at the target position;
under the condition of adjusting the display size of the second icon, if the target position can not accommodate the first icon, the second icon is displayed in a floating manner;
under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the first icon is displayed at the target position;
under the condition that the second icon is displayed in a floating mode, if the target position can not accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the first icon is displayed in the floating mode.
For example: for a first icon with invariable display size, the corresponding second icon can be determined by adopting the method of the above embodiment. If it is determined that there exists a second icon whose display size is variable, it may be considered to change the display size of the second icon first; when the second icon has a plurality of variable display sizes, the size of the second icon may be adjusted in sequence until the target position can accommodate the first icon at the start of the smallest change in display size. At this time, if the target position can accommodate the first icon after the display size of the second icon is adjusted, the first icon is displayed at the target position; if the target position can not accommodate the first icon, continuing to display the second icon in a floating manner so as to further enlarge the reserved space, and at the moment, if the target position can accommodate the first icon after the second icon is displayed in a floating manner, displaying the first icon at the target position; and if the target position can not accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display, so that the change of the second icon is minimum.
Another example is: for a first icon with invariable display size, the corresponding second icon can be determined by adopting the method of the above embodiment. If it is determined that there are a plurality of second icons, the display sizes of the second icons may be sequentially adjusted in the order of priority of the plurality of second icons (for example, after the display size of the second icon of the first priority is adjusted to the minimum, it is still not guaranteed that the target position can accommodate the first icon, the display size of the second icon whose display size can be changed by the next priority may be continuously adjusted, and so on) until the target position can accommodate the first icon. If the target position can accommodate the first icon after being adjusted to the size of a certain second icon, displaying the first icon at the target position; if the display sizes of all the second icons are adjusted to be minimum or unchangeable, the display sizes of the second icons can be restored, and the second icons are sequentially displayed in a floating manner according to the priority order of the second icons (for example, after the first-priority second icons are displayed in a floating manner, the target position cannot be guaranteed to accommodate the first icons, the second-priority second icons can be displayed in a floating manner, and so on) until the target position can accommodate the first icons. If the target position can contain the first icon after a certain second icon is displayed in a floating mode, displaying the first icon at the target position; and if the target position can not accommodate the first icon after all the second icons are displayed in a floating mode, the first icon is displayed in a floating mode, and the second icons are restored to the display state before the second icons are displayed in the floating mode, so that the change of the second icons is minimum.
Optionally, when there are multiple first icons, the above process may be performed for each first icon, and details are not repeated here to avoid repetition.
The above method of the present application is illustrated below with reference to specific examples:
as shown in fig. 5, a specific flow of an icon management method is given, where a display size of the first icon is not variable, and a display size of the second icon is variable, and the specific steps include:
step 5.1: preferentially reducing the second icon 2201 with the first priority to the display size which is changed to the minimum size compared with the current display size (for example, the display size of the second icon 22 is changed from 2 x 1 to 1 x 1), judging whether the current interface (or the target area of the current interface for appointing to place the first icon) meets the placement space requirement of the first sequential icon 2101 (namely, the first icon) by the system, and if so, executing the step 5.4, as shown in fig. 6; if not, go to step 5.2.
Step 5.2: if the space left by the reduced display size of the second icon 2201 with the first priority still does not meet the space requirement of the current first in-order icon 2101, continuing to reduce the display size of the second icon 22, judging whether the current interface (or the target area of the current interface for placing the first icon) meets the placement space requirement of the first in-order icon 2101 by the system, and if so, executing step 5.4, as shown in fig. 7; if the space requirement is not met after the second icon 22 is reduced to the minimum variable display size, step 5.3 is performed. It should be noted that fig. 7 shows the process executed by the system, and when the user actually operates, only the schematic diagrams similar to the first and last ones are displayed on the display interface, and the schematic diagram of the computing process of the system in the middle is not displayed.
Step 5.3: if the space left by the reduced display size of the second icon 2201 with the first priority still does not meet the space requirement of the current first in-order icon 2101, the system determines whether a second icon with the second priority exists or not, if not, executes step 5.8, if so, and the second icon 2202 with the second priority can change the display size, then adopts a method similar to the second icon with the first priority to continue to reduce the display size of the second icon 2202 with the second priority, determines whether the current interface (or the target area of the current interface for specifying the placement of the first icon) meets the placement space requirement of the first in-order icon 2101, if so, executes step 5.4, as shown in fig. 8, if the second icon 2202 with the second priority cannot change the display size or has reduced to the minimum variable display size, and still does not meet the space requirement of the first in-order icon 2101, returns to execute step 5.3, continues to search for the second icon with the third priority, and so on.
Step 5.4: if the space left by the size change of the second icon meets the space requirement of the current first in-order icon, the first in-order icons 2101 are arranged according to the relative position priority (the priority order of the arrangement will be specifically described in the subsequent embodiment), as shown in fig. 9, and the change of the states of the display size, the position, the floating icon, etc. does not occur any more, and the step 5.5 is continuously executed.
And step 5.5: the system detects whether a second cis-position icon (i.e. other first icons) exists, if not, the current move-in is completed, and if so, the step 5.6 is continuously executed.
Step 5.6: and the system judges whether the space reserved in the current area is sufficient, if so, adds a second cis-position icon in the current area and returns to execute the step 5.4, and if not, continues to execute the step 5.7.
Step 5.7: the system determines whether there are other second icons in the current area, if so, the second priority icon is made to be the first priority icon, and returns to execute step 5.1, and if not, executes step 5.11.
Step 5.8: if all the second icons are reduced to the minimum variable display size or the display size cannot be changed and still do not meet the space requirement of the first priority icon, the second icon 2201 with the first priority is changed into a floating icon, and the system judges whether the current space meets the space requirement of the first priority icon 2101 in a moving mode. If yes, step 5.4 is executed, and if not, step 5.9 is executed, as shown in fig. 10.
Step 5.9: the system determines whether there is a second icon of a second priority, if not, step 5.10 is performed, and if so, step 5.3 is performed.
Step 5.10: if the space requirement of the first in-order icon 2101 is still not met after all the second icons 22 have been changed into floating icons, the first in-order icon 2101 is changed into a floating icon, the second icons 22 are restored to the display state when the first in-order icon 2101 is not filled, and step 5.5 is performed, as shown in fig. 11.
Step 5.11: if the remaining space does not meet the space requirement of the unfilled first icon 21 after all the second icons are changed into floating icons, changing the remaining unfilled first icon 21 into a floating icon, and completing the move-in, as shown in fig. 12.
Optionally, as another implementation manner, the displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position according to the display size status of the first icon and the display size status of the second icon includes:
under the condition that the display size of the first icon is variable and the display size of the second icon is not variable, displaying the second icon in a floating mode;
under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the first icon is displayed at the target position, and otherwise, the display size of the first icon is adjusted;
under the condition of adjusting the display size of the first icon, if the target position can accommodate the first icon, the first icon is displayed at the target position, otherwise, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display.
Specifically, when the display size of the first icon is changeable and the display size of the second icon is unchangeable, the second icon is displayed in a floating manner;
under the condition that the second icon is displayed in a floating mode, if the first icon can be accommodated in the target position, the first icon is displayed in the target position;
under the condition that the second icon is displayed in a floating mode, if the first icon cannot be accommodated in the target position, the display size of the first icon is adjusted;
in the case of adjusting the display size of the first icon, the target position can accommodate the first icon, and the first icon is displayed at the target position;
under the condition of adjusting the display size of the first icon, if the target position can not accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display.
For example: for a first icon with variable display size, the method of the above embodiment may be used to determine its corresponding second icon. If it is determined that there is a second icon whose display size is not variable, the second icon may be considered to be displayed in a floating manner; at this time, if the first icon can be accommodated in the target position after the second icon is displayed in a floating manner, the first icon is displayed in the target position; if the target position can not accommodate the first icon, adjusting the display size of the first icon is considered to reduce the space occupied by the first icon or change the layout, wherein when the first icon has a plurality of variable display sizes, the display size of the first icon can be changed successively from the beginning of the smallest change in display size until the target position can accommodate the first icon. If the target position can accommodate the first icon after the display size of the first icon is adjusted, displaying the first icon at the target position; and if the target position can not accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display, so that the change of the second icon is minimum.
Another example is: for a first icon with variable display size, the method of the above embodiment may be used to determine its corresponding second icon. If it is determined that a plurality of second icons exist and the sizes of the second icons are not variable, the second icons may be sequentially displayed in a floating manner according to the priority order of the plurality of second icons (for example, after the second icon of the first priority is displayed in a floating manner, the target position cannot be guaranteed to accommodate the first icon, the second icon of the second priority may be continuously displayed in a floating manner, and so on) until the target position can accommodate the first icon. If a target position can contain the first icon after a certain second icon is displayed in a floating mode, displaying the first icon at the target position; if the target position can not be guaranteed to accommodate the first icon after all the second icons are displayed in a floating manner, the display size of the first icon can be adjusted to reduce the space occupied by the first icon or change the layout, wherein when the first icon has a plurality of variable display sizes, the display size of the first icon can be gradually adjusted according to the start of the minimum change of the display size until the target position can accommodate the first icon. If the target position can accommodate the first icon after the display size of the first icon is adjusted, displaying the first icon at the target position; and if the target position can not accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display, so that the change of the second icon is minimum.
Alternatively, when there are a plurality of first icons, the above-described process may be performed for each first icon. Further optionally, if there is still an unadditized first icon after one of the first icons has been displayed at the target location, the second icon of the target location may be redetermined for the unadditized first icon, that is, the second icon of the target location is updated, and the unadditized first icon is added to the target location or the unadditized first icon is displayed in a floating manner based on the operation on the updated second icon and/or the unadditized first icon, in a similar manner to the above-described display of one of the first icons at the target location.
For example: when the first icon is added to the target position, the second icon corresponding to the first icon may be updated for the first icon that is not added (where the updated second icon may include the first icon that is added), and when the processing of adding the first icon that is not added is performed at the target position, in order to meet the space requirement of the first icon that is not added, the size and the like of the first icon that is added may be changed, so that the first icon that is not added is displayed at the target position or the first icon that is not added is displayed in a floating manner.
The above method of the present application is illustrated below with reference to specific examples:
as shown in fig. 13, a specific flow of an icon management method is provided, and for a case that a display size of the first icon is variable and a display size of the second icon is not variable, specific steps include:
step 13.1: changing the second icon 2201 with the first priority into a floating icon, changing the first in-order icon 2101 (namely, the first icon) into a display size closest to the current space, and judging whether the display size of the first in-order icon 2101 meets the space requirement set aside by the current second icon or not by the system, if so, executing step 13.4, as shown in fig. 14, and if not, executing step 13.2.
Step 13.2: if the first in-order icon 2101 does not meet the space requirement set aside by the current second icon after changing the display size, continuing to change the display size of the first in-order icon 2101 until the changed first in-order icon 2101 meets the space requirement set aside by the second icon, executing step 13.4, as shown in fig. 15; if the first cis icon has been reduced to the minimum variable display size and still does not meet the space requirement set aside by the second icon, step 13.3 is performed.
Step 13.3: if the first in-order icon is reduced to the minimum variable display size and does not meet the space requirement reserved by the current second icon, the system judges whether a second icon with a second priority exists or not, if so, the first in-order icon is restored to the state before the display size is changed, the second icon with the second priority is changed into a suspended icon, and the step 13.2 is executed; if not, go to step 13.7.
Step 13.4: if the current first in-order icon meets the space requirement set aside by the second icon, the first in-order icons are arranged according to the relative position priority (the priority order of the arrangement will be specifically described in the following embodiments), and the change of the states such as the display size, the position, the floating icon and the like does not occur any more, and the step 13.5 is continuously executed.
Step 13.5: the system detects whether a second cis-position icon exists, if not, the move-in is completed, and if so, step 13.6 is executed.
Step 13.6: the system judges whether the space reserved in the current area meets the requirement of adding a second priority icon (also a first icon), if so, the system adds the second priority icon and returns to execute the step 13.4; if not, reducing the display size of the second in-order icon, if the currently reserved space requirement is met after the display size is reduced, executing step 13.4, and if the currently reserved space requirement is not met after the second in-order icon is reduced to the minimum display size, restoring the second in-order icon to the state before the display size is changed, and executing step 13.7.
Step 13.7: the system determines whether the filled first in-order icon can continue to reduce the display size, if not, step 13.9 is executed, and if so, the display size of the first in-order icon 2101 continues to be reduced until the space left after the second icon becomes the floating icon and the space left after the first in-order icon 2101 is changed meet the space requirement of the second in-order icon 2102, and step 13.4 is executed, as shown in fig. 16. If the first in-order icon continues to shrink to the minimum variable display size that does not meet the space requirement of the second in-order icon, step 13.8 is performed.
Step 13.8: the system determines whether the filled first icon is sequentially located in the first order icon (i.e., the zeroth order icon 210), and can trace back upwards, if not, step 13.9 is executed, and if so, the system determines whether the zeroth order icon 210 can continue to reduce the display size, and returns to step 13.7, as shown in fig. 17.
Step 13.9: if all the filled first icons are reduced to the minimum variable display size or the display size cannot be changed and still does not meet the space requirement of the currently unfilled first icons, the system judges whether other second icons exist in the current area or not, if so, the second icons are changed into floating icons, and the step 13.1 is executed, and if not, the step 13.10 is executed.
Step 13.10: if the space requirement of the unfilled first icon is still not met after all the second icons 22 have been changed into floating icons, the unfilled first icon 21 is changed into floating icons, the second icon 22 is restored to the display state of the unfilled first icon, and the process returns to step 13.5, as shown in fig. 18, until there is no unfilled first icon, and the process is completed.
Optionally, as another implementation manner, the displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position according to the display size status of the first icon and the display size status of the second icon includes:
in the case that the display size of the first icon is variable and the display size of the second icon is variable, adjusting the display size of the first icon and/or the second icon;
under the condition of adjusting the display size of the first icon and/or the second icon, if the target position can accommodate the first icon, displaying the first icon at the target position, otherwise, restoring the first icon and/or the second icon to the display state before the display size is adjusted, and displaying the second icon in a floating manner;
under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the first icon is displayed at the target position, and otherwise, the display size of the first icon is adjusted;
under the condition of adjusting the display size of the first icon, if the target position can accommodate the first icon, the first icon is displayed at the target position, otherwise, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display.
Specifically, the adjusting the display size of the first icon and/or the second icon includes: the display size of the first icon may be adjusted first and then the display size of the second icon may be adjusted, or the display size of the second icon may be adjusted first and then the display size of the first icon may be adjusted.
For example: adjusting the display size of the first icon if the display size of the first icon is variable and the display size of the second icon is variable;
under the condition of adjusting the display size of the first icon, if the target position can accommodate the first icon, displaying the first icon at the target position;
under the condition of adjusting the display size of the first icon, if the target position can not accommodate the first icon, restoring the first icon to the state before the display size is adjusted, and adjusting the display size of the second icon;
under the condition of adjusting the display size of the second icon, if the target position can accommodate the first icon, displaying the first icon at the target position;
under the condition of adjusting the display size of the second icon, if the target position can not accommodate the first icon, adjusting the display size of the first icon again;
under the condition that the display size of the first icon is adjusted again, if the target position can accommodate the first icon, displaying the first icon at the target position;
under the condition that the display size of the first icon is adjusted again, if the target position can not accommodate the first icon, the first icon is restored to the display state before the display size is changed, and the second icon is displayed in a floating mode;
under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the first icon is displayed at the target position;
under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the display size of the first icon is adjusted again;
under the condition that the display size of the first icon is adjusted again, if the target position can accommodate the first icon, the first icon is displayed at the target position;
under the condition that the display size of the first icon is adjusted again, if the target position can accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display.
For example: for a first icon with variable display size, the method of the above embodiment may be used to determine its corresponding second icon. If it is determined that there is a second icon whose display size is variable, it may be considered to change the display size of the first icon first; when the first icon has a plurality of variable display sizes, the display size of the first icon may be changed in series until the target position can accommodate the first icon, at the beginning of the smallest change in display size. At this time, if the target position can accommodate the first icon after the display size of the first icon is adjusted, the first icon is displayed at the target position; if the target location does not accommodate the first icon, the display size of the first icon may be restored and continued to allow for adjustment of the display size of the second icon; when the second icon has a plurality of variable display sizes, the display size of the second icon may be gradually adjusted from the beginning of the smallest change in display size until the target position can accommodate the first icon (for example, the display size of the second icon is changed once, if the first icon with the display size restored cannot be added at this time, the display size of the first icon is gradually changed until the target position can accommodate the first icon, if the target position cannot be ensured to accommodate the first icon, the size of the first icon is restored, the display size of the second icon is continuously changed, the above-mentioned process is executed, and so on). Displaying the first icon at the target position if the target position can accommodate the first icon; if the target position can not accommodate the first icon, restoring the display size of the first icon, and continuing to display the second icon in a floating manner so as to further enlarge the reserved space, and at the moment, if the target position can accommodate the first icon after the second icon is displayed in a floating manner, displaying the first icon at the target position; if the first icon does not exist, gradually adjusting the display size of the first icon until the target position can accommodate the first icon, otherwise, displaying the first icon in a floating mode, and restoring the second icon to the display state before displaying in the floating mode so as to ensure that the change of the second icon is minimum.
Another example is: for a first icon with a variable display size, the method of the above embodiment may be used to determine its corresponding second icon. If it is determined that there are a plurality of second icons whose display sizes are variable, changing the display size of the first icon may be considered first; when the first icon has a plurality of variable display sizes, the size of the first icon may be changed in steps until the target position can accommodate the first icon, at the start of the smallest change in display size. At this time, if the target position can accommodate the first icon after the display size of the first icon is adjusted, displaying the first icon at the target position; if the target position can not accommodate the first icon, the display size of the first icon can be recovered, and according to the priority order of a plurality of second icons, the operation is sequentially performed in a manner similar to that of one second icon until the target position can accommodate the first icon, or the target position can not accommodate the first icon after all the second icons are suspended and displayed, the first icon is displayed at the target position under the condition that the target position can accommodate the first icon, or the first icon is suspended and displayed under the condition that the target position can not accommodate the first icon, and the second icon is recovered to the display state before suspended and displayed, so that the change of the second icon is ensured to be minimum.
Optionally, when there are multiple first icons, the above process may be performed for each first icon, and details are not repeated here to avoid repetition.
The above method of the present application is illustrated below with reference to specific examples:
as shown in fig. 19, a specific flow of an icon management method is provided, and for a case that a display size of the first icon is variable and a display size of the second icon is variable, specific steps include:
step 19.1: and adjusting the current first-order icon (namely the first icon) to the display size closest to the current space, and judging whether the space reserved in the current area meets the space requirement of the current first-order icon or not by the system, if so, executing a step 19.7, and if not, executing a step 19.2.
Step 19.2: if the first cis-position icon can continuously change the display size, continuously reducing the display size of the current first cis-position icon until the changed first cis-position icon meets the space requirement reserved in the current area, and executing step 19.7; if the first in-order icon has been reduced to the minimum variable display size and does not meet the space requirement set aside in the current region, the display size of the first in-order icon is restored and step 19.3 is performed.
Step 19.3: the system judges whether a second icon exists in the current area, if so, step 19.4 is executed; if not, the current first cis icon 2101 is changed to the hover icon and step 19.8 is performed, as shown in FIG. 20.
Step 19.4: the system judges whether the second icon with the first priority can be reduced in display size, if so, the display size of the second icon is reduced, and the step 19.1 is returned to be executed; if it cannot be scaled down, step 19.5 is performed.
Step 19.5: the system determines whether there is a second icon of a second priority and if so, executes step 19.6; if not, the second icon 2201 with the current first priority is changed into a floating icon, other second icons 220 which are changed into floating icons are restored to the display state before floating display, the first icon 21 which is filled and the display size of which is adjusted is restored to the state before the display size of which is adjusted, and the step 19.1 is executed again, as shown in fig. 21.
Step 19.6: the system determines whether the second icon of the second priority can be reduced in display size, if so, the display size of the second icon is reduced, if not, the system returns to execute step 19.5, and continues to search whether a second icon of the next priority exists, and so on.
Step 19.7: if the space reserved in the current region can meet the space requirement of the current first cis-position icon, the first cis-position icons are arranged according to the relative position priority (the priority order of the arrangement will be specifically described in the following embodiments), and the change of the states of the display size, the position, the floating icon and the like does not occur any more, and the step 19.8 is continuously executed.
Step 19.8: the system detects whether a second cis-position icon exists or not, and if not, the process is finished; if so, go back to step 19.1.
Optionally, as another implementation manner, the displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position according to the display size status of the first icon and the display size status of the second icon includes:
displaying the second icon in a floating manner under the condition that the display size of the first icon is not variable and the display size of the second icon is not variable;
and under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the first icon is added to the first interface, otherwise, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the first icon is displayed in the floating mode.
Specifically, the second icon is displayed in a floating manner when the display size of the first icon is not variable and the display size of the second icon is not variable;
under the condition that the second icon is displayed in a floating mode, if the target position can accommodate the first icon, the first icon is displayed at the target position;
under the condition that the second icon is displayed in a floating mode, if the target position can not accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the second icon is displayed in the floating mode.
For example: for a first icon with invariable display size, the corresponding second icon can be determined by adopting the method of the above embodiment. If it is determined that there exists a second icon whose display size is not changeable, the second icon may be considered to be displayed in a floating manner, and at this time, if the target position can accommodate the first icon, the first icon is displayed at the target position; and if the target position can not accommodate the first icon, the first icon is displayed in a floating mode, and the second icon is restored to the display state before the floating display, so that the change of the second icon is minimum.
Another example is: for a first icon with invariable display size, the corresponding second icon can be determined by adopting the method of the above embodiment. If it is determined that there are a plurality of second icons with invariable display sizes, the second icons may be sequentially displayed in a floating manner according to the priority order of the plurality of second icons (for example, after the second icon with the first priority is displayed in a floating manner, it is still not guaranteed that the target position can accommodate the first icon, the second icon with the second priority may be displayed in a floating manner, and so on) until the target position can accommodate the first icon. If the target position can contain the first icon after a certain second icon is displayed in a floating mode, displaying the first icon at the target position; and if the target position can not accommodate the first icon after all the second icons are displayed in a floating mode, the first icon is displayed in a floating mode, and the second icons are restored to the display state before the second icons are displayed in the floating mode, so that the change of the second icons is minimum.
Optionally, when there are multiple first icons, the above process may be performed for each first icon, and details are not repeated here to avoid repetition.
The above method of the present application is illustrated below with reference to specific examples:
as shown in fig. 22, a specific flow of an icon management method is provided, and for a case where the display size of the first icon is not variable and the display size of the second icon is not variable, specific steps include:
step 22.1: and changing the second icon with the first priority into a floating icon, judging whether the space reserved in the current area meets the space requirement of the current first-order icon (namely the first icon) or not by the system, if so, executing the step 22.3, and if not, executing the step 22.2.
Step 22.2: the system determines whether a second icon exists in the current area, if so, step 22.1 is executed, if not, the current first cis-position icon is changed into a floating icon, the second icon is restored to the display state before floating display, and step 22.4 is executed.
Step 22.3: if the space reserved in the current region meets the space requirement of the current first-order icon, the current first-order icon is arranged according to the relative position priority (the priority order of the arrangement will be specifically described in the following embodiments), and the change of the states such as the display size, the position, the floating icon and the like does not occur any more, and the step 22.4 is continuously executed.
Step 22.4: the system detects whether a second cis-position icon exists, if not, the moving-in is completed, if so, the system judges whether the space reserved in the current area meets the space requirement of the current second cis-position icon, if so, the execution step 22.3 is returned, and if not, the execution step 22.2 is returned.
Determining a priority for the second icon: optionally, the priority of the second icon may be determined according to the relative position of the first icon and the second icon, for example, the relative position of the first icon and the second icon may include: the orientation of the second icon relative to the first icon, the distance of the second icon relative to the first icon, etc.
For example: the first icon 21 and the second icon 22 have 9 relative positions, i.e., upper left, upper right, left, middle right, lower left, lower right, and lower right, respectively, and as shown in fig. 23, the weight with the number as the azimuth is high or low, and the weight is higher as the number is larger, that is, the upper left weight is highest. As shown in fig. 24, when the numerical values are the same, the distances are determined according to the priorities of the upper, left, right and lower positions, for example, the position of the second icon close to the first position (i.e., the second icon of the first priority) is 9+8=17 at the upper left, and the position of the second icon close to the second position (i.e., the second icon of the second priority) is 9+7 =16at the upper left, \8230;, and the position of the second icon close to the ninth position (i.e., the second icon of the ninth priority) is 1+2 =3at the lower right, and so on.
For the determination of the first icon placement position: and if the user has an explicit placement position, adding the first icon to the corresponding placement position. If the user hovers at a ambiguous location when moving into the first icon, the location with the higher weight is filled with priority based on the weight of the location placed in the current area.
For example: according to the rule that the second icon is overlaid, the relative positions of the first icon 21 and the second icon 22 are as shown in fig. 25 (a), fig. 25 (b) and fig. 25 (c), and the number is the height of the weight of the orientation, and the larger the number is, the higher the weight is, i.e., the upper left corner is 4, the highest weight is, the lower right corner is 1, and the weight is the lowest. If there are placeable positions for the upper left and lower right corners, as shown in FIG. 26, the first icon is preferentially filled into the upper left corner position. For the moved-in unit with the display size exceeding 1 × 1, the available space is not only the space currently covered by the original unit, as shown in fig. 27 (a) and 27 (b), but also the blank area (or called blank space) around the second icon can support the addition of the first icon, so that the blank area defining the first interface (e.g. desktop) can be regarded as a second icon with a display size changeable, and the connected parts of the blank area form a whole.
Optionally, the displaying the first icon at the target location includes: and if the target position can accommodate the first icon, displaying the first icon at the position with the highest priority in the target position. The priority determination modes of the multiple positions can be referred to the priority determination mode of the second icon, and are not described herein again.
Priority determination for display size: alternatively, the priority of the display size or the like may be determined by the weight of the zoom direction. For example: the first icon and the second icon have 9 relative positions, namely upper left, upper right, upper left, middle right, lower left, lower right. The display size change orientation is up, down, left, right, and left, the orientation priority for setting the display size reduction and enlargement is the same as right, left, down, and up, the orientation for display size change of the second icon is shown in fig. 28 (a), the orientation for display size change of the first icon is shown in fig. 28 (b), the number is the weight of the orientation, the higher the number is, the higher the weight is, that is, the left-upper contraction is higher in priority than the up-contraction for the second icon on the left, and the up-expansion is higher in priority than the down-expansion for the second icon on the center. As shown in fig. 29, the relative positions of the first icon 21 and the second icon 22 are at the upper left, the display size of the second icon 22 can be changed from 2 × 2 to two display sizes of 2 × 1 and 1 × 2, and the second icon is preferentially changed to the display size 1 × 2 when the icon is preferentially shrunk upward according to the priority of the relative positions. As shown in fig. 30, when the relative positions of the first icon 21 and the second icon 22 are at the upper left, the display size of the second icon 22 can be changed from 2 × 2 to 1 × 1, and a space of three units is left, and the display size of the first icon 21 can be changed from 1 × 1 to two display sizes of 2 × 1 and 1 × 2, the priority is increased upward according to the priority of the relative positions, and the display size of the first icon 21 is changed to 2 × 1.
For the generation of the floating icon: the floating icons are collected in the top area (such as the status bar area) of the display interface, and the source of the floating icons can be that the system changes the first icon or the second icon into the floating icon in the above embodiment, so that more opportunities and spaces are provided for subsequently moving in the icons; it may also be that the user autonomously changes the designated icon to a hover icon (as may be achieved by double-clicking an icon on the desktop), etc., as shown in fig. 31.
Optionally, the icon management method further includes: receiving a first target input to an initial icon in a first interface, and displaying the initial icon in a floating mode in response to the first target input.
For example: the user can select one or more initial icons in the desktop, and if the icons are double-clicked, the initial icons are switched to be displayed as floating icons, namely for the first target input of the initial icons displayed in the first interface in the second display size, the initial icons can be switched to be displayed in the floating icon display area in the first display size.
Optionally, the icon management method further includes: and receiving a second target input for the first floating icon, and responding to the second target input to display the first floating icon on the first interface in a second display size.
For example: and dragging out the designated floating icon from a floating icon collecting area (such as a status bar) at the top of the display interface, and placing the designated floating icon into any vacant space of a desktop (namely the first interface) or regarding the designated floating icon as the first icon to perform the moving-in judgment operation. At this time, the floating icon remains the original icon before it becomes the floating icon, for example, when the display size of the icon is 2 × 2 when the icon is on the desktop, and when the icon is placed in the desktop vacancy after the icon becomes the floating icon, the icon with the display size of 2 × 2 is still filled, as shown in fig. 32.
Optionally, the icon management method further includes: and receiving a third target input for a second floating icon, and responding to the third target input to display the second floating icon on a second interface in a second display size.
For example: besides dragging the floating icon to restore the floating icon to be displayed on the desktop icon, when the floating icon is in a hovering state during dragging, shortcut operation can be executed. If the periphery of the suspension icon during suspension is divided into four judgment areas, namely an upward sliding area, a downward sliding area, a left sliding area and a right sliding area. And when the floating icon is in a hovering state in dragging, if the sliding operation of the user on the floating icon is received, executing a specified function. If the space close to the split screen does not meet the space requirement of the unit, the moving-in fails, and the floating icon is reset and returns to the collecting region.
Optionally, the icon management method further includes: receiving a fourth target input for a third floating icon, and responding to the fourth target input, and moving the third floating icon to the first area for displaying; the first area is used for displaying a floating icon of an application to be uninstalled.
For example: besides dragging the floating icon to restore the floating icon to be displayed on the desktop icon, when the floating icon is in a hovering state during dragging, shortcut operation can be executed. If the periphery of the suspension icon during suspension is divided into four judgment areas, namely an upward sliding area, a downward sliding area, a left sliding area and a right sliding area. And when the floating icon is in a hovering state in dragging, if the sliding operation of the user on the floating icon is received, executing a specified function. As slid up to the floating icon display area 331 as shown in fig. 33 (a); the downward slide is added to the unloading zone 332 as shown in fig. 33 (b).
Optionally, in a case of the suspended icon editing state, the user may perform the above operation on the suspended icon, and in a case of exiting the suspended icon editing state (if the user clicks the lower right corner completion button, the user exits the editing state), prompt information may be displayed for prompting the user whether to uninstall the application in the uninstalling area and/or delete a component therein; if the user selects no, continuing to stay in the editing state; if the selection of the user is yes, corresponding application uninstalling and/or component deletion is performed, and further optionally, if an unprocessed floating icon exists in the status bar (i.e., the floating icon display area), if the unprocessed floating icon does not exist, the editing state may be exited.
Optionally, before the receiving the first input for the first icon, the method further comprises:
displaying a plurality of packets; the icons are displayed in a suspension mode when the icons are moved into the interfaces corresponding to different groups;
the displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position includes:
displaying the first icon or the second icon in a target grouping of a plurality of groupings and displaying the first icon at the target location; and the target group is a group corresponding to the interface where the first icon or the second icon is located.
Specifically, the floating icons in the floating icon display area may be displayed according to different groups, and the determining of the floating icon group includes: and the floating icons generated when the user performs the operation of moving into the first icon on the first interface belong to a first group, the floating icons generated when the user performs the operation of moving into the first icon on the second interface belong to a second group, and the like. In addition, the user may also add one or more blank packets manually, and may autonomously add a floating icon in the blank packet or move the floating icon from other packets by the user, which is not limited in this embodiment of the application. Therefore, the user can quickly and clearly know the corresponding interface of the plurality of floating icons in the floating icon display area.
For example: the user clicks the expansion button on the right side of the floating icon display area to check the grouping conditions of all the floating icons, the floating icons can be directly dragged from the designated grouping to the desktop for filling, and the affiliation relationship of the floating icons among different groups can be adjusted in a manner of dragging the floating icons, as shown in fig. 34. The user can enter a multi-selection state by long pressing the floating icon, can perform multi-selection by clicking the designated floating icon, and can perform batch moving operation by long pressing the selected floating icon again, as shown in fig. 35. When the packet is not expanded, the user can switch the packet by sliding the blank of the floating icon display area up and down, as shown in fig. 36.
Optionally, after displaying the plurality of packets, the method further includes:
receiving a second input;
in response to the second input, displaying icons in each of the groupings displayed in the first display size on the first interface in the second display size; or generating a second interface, and displaying the icons displayed in the first display size in each group on the second interface in a second display size; the first interface is a preset interface or an interface corresponding to each group.
For example: in the case of the currently hovering icon editing state, the first input may be used to exit the editing state, that is, the user may manually exit the editing state, and at this time, if there is no unprocessed hovering icon in the status bar (i.e., the hovering icon display area), the editing state may exit. If unprocessed floating icons exist in the status bar (i.e., the floating icon display area), the part of floating icons may be added to the target interface according to a predetermined rule (e.g., according to an order from top to bottom and from left to right), for example, the target interface may be a preset interface (e.g., a certain interface that is preset, such as the last interface), or the target interface may be a newly generated interface (i.e., the second interface), or the target interface may be an interface corresponding to a group in which the floating icons are located, and the like, which is not limited in this embodiment of the application. Optionally, when the floating icon is displayed on the target interface, the icon is maintained in the display size before the floating icon is displayed. If the existing preset interface space is insufficient, a new interface can be added to provide a space for icon display, and after the floating icons in the status bar are displayed in the display size before the floating display is finished, the editing state is exited, so that the floating icons in the floating icon display area can be quickly restored to the corresponding interface for display.
Optionally, the displaying the first icon in a floating manner or displaying a second icon in a floating manner and displaying the first icon at the target position includes:
displaying the first icon in a first display size in a target area or displaying the second icon in the first display size and displaying the first icon in a second display size in the target position; the target area is an area for displaying icons in a floating mode;
after the first icon is displayed in a floating manner or a second icon is displayed in a floating manner and the first icon is displayed at the target position, the method further comprises the following steps:
receiving a third input for a target icon in the target area;
responding to the third input, and displaying the target icon at a second display size on a target interface corresponding to the target icon; wherein the target icon is at least one of the first icon and the second icon.
Specifically, in response to the third input, a target area in a target interface corresponding to the target icon is determined; the target area is a blank area in the target interface corresponding to the target icon determined according to a predetermined search order, or the target area is an operation area corresponding to the third input (for example, a target icon is dragged to a stay area in the target interface), and the target icon is displayed in the target area in a second display size, and the like.
For example: in addition to restoring the target icon to be displayed in the second display size in the target area by dragging the target icon, after the user designates the target icon by clicking, the user may search for a vacant space in the target interface according to a predetermined rule (for example, according to the sequence from left to right and from top to bottom), and change the display size corresponding to the target icon according to the space requirement to fill in the corresponding space, as shown in fig. 37. Optionally, if the first detected vacant position does not meet the requirement of the moved-in space of the target icon, continuing to search for the next vacant position. If all the vacancies of the target interface do not meet the space requirement of the target icon, taking the next interface as the target interface and continuing to search until all the interfaces are searched, or generating a new interface as the target interface, and the like, which is not limited in the embodiment of the application.
The embodiment of the application provides an icon management method, through comparing the initial display size of a first icon and a second icon on a desktop, the number of the first icon and the second icon on the desktop, the attributes such as variable forms, according to the principle that the second icon changes in the smallest mode, according to specific judgment conditions, the display size of a unit is changed preferentially, secondly, the unit is changed into a suspension icon, a controllable buffer process is provided, the phenomenon that tasks are forced to be interrupted or the layout of the current desktop is disordered is avoided, the icons cannot be staggered due to extrusion, the desktop sorting is more flexible and controllable, more autonomy is provided for a user, the interaction mode and experience of desktop sorting are enriched, the smoothness of the tasks is guaranteed, the operating efficiency is improved, and the icon sorting efficiency is optimized.
According to the icon management method provided by the embodiment of the application, the execution main body can be an icon management device. In the embodiment of the present application, a method for executing icon management by an icon management device is taken as an example, and the icon management device provided in the embodiment of the present application is described.
As shown in fig. 38, an embodiment of the present application provides an icon management apparatus 3800 including:
a first receiving module 3810, configured to receive a first input for a first icon;
a first responding module 3820, configured to update a display position of the first icon to a target position in response to the first input;
a first display module 3830, configured to, in a case that the target location cannot accommodate the first icon, display the first icon in a floating manner or display a second icon in a floating manner and display the first icon in the target location;
wherein the failure of the target location to accommodate the first icon comprises at least one of:
the target location comprises a void and the void cannot accommodate the first icon;
the second icon is displayed at the target position.
Optionally, the first display module 3830 includes:
a first display unit, configured to display the first icon in a floating manner when a display size of the first icon is not adjustable and the empty space cannot accommodate the first icon;
alternatively, the first and second electrodes may be,
and the second display unit is used for displaying the first icon in a floating manner under the condition that the display size of the first icon is adjustable and the vacant space cannot accommodate the first icon with the adjusted display size.
Optionally, the first display module 3830 includes:
the third display unit is used for displaying the first icon in a floating mode under the condition that the first icon cannot be accommodated in a first reserved position of the target position;
alternatively, the first and second liquid crystal display panels may be,
the fourth display unit is used for displaying the first icon in a floating manner under the condition that the display size of the first icon is adjustable and the first reserved position of the target position cannot accommodate the first icon with the adjusted display size;
alternatively, the first and second liquid crystal display panels may be,
a fifth display unit, configured to, in a case where a first reserved location of the target location can accommodate the first icon, display the second icon in a floating manner and display the first icon in the first reserved location;
alternatively, the first and second liquid crystal display panels may be,
a sixth display unit, configured to display the second icon in a floating manner and display the first icon with the adjusted display size at the first reserved position when the display size of the first icon is adjustable and the first reserved position of the target position can accommodate the first icon with the adjusted display size;
the first reserved position is a display position occupied by the second icon; or under the condition that the display size of the second icon is adjustable, the first reserved position is a reserved display position after the display size of the second icon is adjusted.
Optionally, the first display module 3830 includes:
a seventh display unit, configured to display the first icon in a floating manner when a second reserved location of the target location cannot accommodate the first icon;
alternatively, the first and second liquid crystal display panels may be,
the eighth display unit is used for displaying the first icon in a floating manner under the condition that the display size of the first icon is adjustable and the second reserved position of the target position cannot accommodate the first icon after the display ruler is adjusted;
alternatively, the first and second electrodes may be,
a ninth display unit, configured to, in a case where a second reserved location of the target location can accommodate the first icon, display the second icon in a floating manner and display the first icon in the second reserved location;
alternatively, the first and second electrodes may be,
a tenth display unit, configured to, when the display size of the first icon is adjustable and a second reserved position of the target position can accommodate the first icon with the adjusted display size, display the second icon in a suspended manner and display the first icon with the adjusted display size at the second reserved position;
wherein the second reserved location comprises: a display position occupied by the vacancy and the second icon; or in the case that the display size of the second icon is adjustable, the second reserved location includes: the vacant position and the display position reserved for adjusting the display size of the second icon.
Optionally, the first display module 3830 includes:
an eleventh display unit, configured to, when there are a plurality of second icons displayed at the target position, display a first part of the plurality of second icons in a floating manner, and display the first icon at the target position;
wherein the first portion of icons includes: at least one second icon in a minimum position that can accommodate the first icon.
Optionally, the icon management apparatus 3800 further includes:
a second display module for displaying the plurality of packets; the icons are displayed in a suspension mode when the icons are moved into the interfaces corresponding to different groups;
the first display module includes:
a twelfth display unit for displaying the first icon or the second icon in a target group of a plurality of groups and displaying the first icon at the target position;
and the target group is a group corresponding to the interface where the first icon or the second icon is located.
Optionally, the icon management apparatus 3800 further includes:
the second receiving module is used for receiving a second input;
a second response module, configured to respond to the second input, and display the icons displayed in the first display size in each of the groups in the first interface in the second display size; or generating a second interface, and displaying the icons displayed in the first display size in each group on the second interface in a second display size;
the first interface is a preset interface or an interface corresponding to each group.
Optionally, the first display module 3830 includes:
a thirteenth display unit for displaying the first icon in a first display size in a target area or the second icon in the first display size and displaying the first icon in a second display size in the target position; the target area is an area for displaying icons in a floating mode;
the icon management apparatus 3800 further includes:
a third receiving module for receiving a third input for a target icon in the target area;
a third response module, configured to respond to the third input, display the target icon in a second display size on a target interface corresponding to the target icon; wherein the target icon is at least one of the first icon and the second icon
The icon management device of the embodiment of the invention updates the display position of the first icon to the target position in response to the first input by receiving the first input for the first icon, and displays the first icon in a floating manner or displays the second icon in a floating manner and displays the first icon at the target position when the target position cannot accommodate the first icon. Like this, target location can't hold first icon, promptly target location includes the vacancy just the vacancy can't hold first icon, and/or, target location shows there is under the condition of second icon, can realize quick convenient the display problem of updating first icon, has simplified user operation process, avoids treating the target location that moves to at first icon can't hold first icon, needs loaded down with trivial details operation process to there is the loaded down with trivial details problem of operation process in the present icon management mode to solved.
The icon management apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The icon management apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The icon management apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 37, and is not described here again to avoid repetition.
Optionally, as shown in fig. 39, an electronic device 3900 is further provided in an embodiment of the present application, and includes a processor 3901 and a memory 3902, where the memory 3902 stores a program or an instruction that can be executed on the processor 3901, and when the program or the instruction is executed by the processor 3901, the steps of the embodiment of the icon management method are implemented, and the same technical effects can be achieved, and are not described herein again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 40 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 4000 includes, but is not limited to: a radio frequency unit 4001, a network module 4002, an audio output unit 4003, an input unit 4004, a sensor 4005, a display unit 4006, a user input unit 4007, an interface unit 4008, a memory 09, and a processor 4010.
Those skilled in the art will appreciate that the electronic device 4000 may further include a power supply (e.g., a battery) for supplying power to each component, and the power supply may be logically connected to the processor 4010 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system. The electronic device structure shown in fig. 40 does not constitute a limitation to 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.
Wherein the user input unit 4007 is configured to: receiving a first input for a first icon;
the processor 4010 is configured to: updating, by the display unit 4006, a display position of the first icon to a target position in response to the first input;
the display unit 4006 is configured to: under the condition that the target position cannot accommodate the first icon, displaying the first icon in a floating mode or displaying a second icon in a floating mode and displaying the first icon at the target position;
wherein the failure of the target location to accommodate the first icon comprises at least one of:
the target location comprises a void and the void cannot accommodate the first icon;
the second icon is displayed at the target position.
Optionally, the display unit 4006 is configured to:
displaying the first icon in suspension if the display size of the first icon is not adjustable and the void cannot accommodate the first icon;
alternatively, the first and second electrodes may be,
and under the condition that the display size of the first icon is adjustable and the vacant space cannot accommodate the first icon after the display size is adjusted, displaying the first icon in a floating mode.
Optionally, the display unit 4006 is configured to:
under the condition that a first reserved position of the target position cannot accommodate the first icon, displaying the first icon in a floating mode;
alternatively, the first and second electrodes may be,
under the condition that the display size of the first icon is adjustable and the first icon with the adjusted display size cannot be accommodated in the first reserved position of the target position, displaying the first icon in a suspended mode;
alternatively, the first and second electrodes may be,
under the condition that a first reserved position of the target position can accommodate the first icon, displaying the second icon in a floating mode and displaying the first icon at the first reserved position;
alternatively, the first and second electrodes may be,
under the condition that the display size of the first icon is adjustable and the first icon with the adjusted display size can be accommodated in the first reserved position of the target position, displaying the second icon in a suspending manner and displaying the first icon with the adjusted display size in the first reserved position;
the first reserved position is a display position occupied by the second icon; or under the condition that the display size of the second icon is adjustable, the first reserved position is a reserved display position after the display size of the second icon is adjusted.
Optionally, the display unit 4006 is configured to:
under the condition that a second reserved position of the target position cannot accommodate the first icon, displaying the first icon in a floating mode;
alternatively, the first and second electrodes may be,
under the condition that the display size of the first icon is adjustable and the second reserved position of the target position cannot accommodate the first icon after the display scale is adjusted, displaying the first icon in a suspended mode;
alternatively, the first and second electrodes may be,
under the condition that a second reserved position of the target position can accommodate the first icon, displaying the second icon in a floating mode and displaying the first icon at the second reserved position;
alternatively, the first and second liquid crystal display panels may be,
under the condition that the display size of the first icon is adjustable and the second reserved position of the target position can accommodate the first icon with the adjusted display size, displaying the second icon in a suspending manner and displaying the first icon with the adjusted display size at the second reserved position;
wherein the second reserved location comprises: a display position occupied by the vacancy and the second icon; or in the case that the display size of the second icon is adjustable, the second reserved location includes: the vacant position and the display position reserved for adjusting the display size of the second icon.
Optionally, the display unit 4006 is configured to: under the condition that the number of the second icons displayed at the target position is multiple, displaying a first part of the second icons in a floating manner, and displaying the first icons at the target position;
wherein the first portion of icons includes: at least one second icon in a minimum position that can accommodate the first icon.
Optionally, the display unit 4006 is configured to:
displaying a plurality of packets; the icons are displayed in a suspension mode when the icons are moved into the interfaces corresponding to different groups;
displaying the first icon or the second icon in a target grouping of a plurality of groupings and displaying the first icon at the target location;
and the target group is a group corresponding to the interface where the first icon or the second icon is located.
Optionally, the user input unit 4007 is configured to: receiving a second input;
the processor 4010 is configured to: in response to the second input, the display unit 4006 displays icons displayed in the first display size in each of the groups in a second display size on a first interface; or generating a second interface, and displaying the icons displayed in the first display size in each group on the second interface in a second display size;
the first interface is a preset interface or an interface corresponding to each group.
Optionally, the display unit 4006 is configured to: displaying the first icon in a first display size in a target area or displaying the second icon in the first display size and displaying the first icon in a second display size in the target position; the target area is an area for displaying icons in a floating mode;
the user input unit 4007 is configured to: receiving a third input for a target icon in the target area;
the processor 4010 is configured to: in response to the third input, displaying, by the display unit 4006, the target icon at a second display size on a target interface corresponding to the target icon; wherein the target icon is at least one of the first icon and the second icon.
According to the electronic equipment provided by the embodiment of the invention, by receiving a first input aiming at a first icon, the display position of the first icon is updated to a target position in response to the first input, and under the condition that the target position cannot accommodate the first icon, the first icon is displayed in a floating mode or a second icon is displayed in a floating mode, and the first icon is displayed at the target position. Like this, target location can't hold first icon, promptly target location includes the vacancy just the vacancy can't hold first icon, and/or, target location shows there is under the condition of second icon, can realize quick convenient the display problem of updating first icon, has simplified user operation process, avoids treating the target location that moves to at first icon can't hold first icon, needs loaded down with trivial details operation process to there is the loaded down with trivial details problem of operation process in the present icon management mode to solved.
It should be understood that, in the embodiment of the present application, the input Unit 4004 may include a Graphics Processing Unit (GPU) 40041 and a microphone 40042, and the Graphics processor 40041 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 4006 may include a display panel 40061, and the display panel 40061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 4007 includes at least one of a touch panel 40071 and other input devices 40072. The touch panel 40071 is also referred to as a touch panel. The touch panel 40071 may include two parts of a touch detection device and a touch controller. Other input devices 40072 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 4009 can be used to store software programs as well as various data. The memory 4009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, an application program or instructions required for at least one function (such as a sound playing function, an image playing function, and the like), and the like. Further, the memory 4009 may comprise volatile memory or nonvolatile memory, or the memory 4009 may comprise 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), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). Memory 4009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 4010 may comprise one or more processing units; optionally, the processor 4010 integrates an application processor, which mainly handles operations related to an operating system, a user interface, and application programs, and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 4010.
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 management method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
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 run a program or an instruction to implement each process of the embodiment of the icon management method, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above icon management method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element 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. Additionally, 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.

Claims (18)

1. An icon management method, comprising:
receiving a first input for a first icon;
updating the display position of the first icon to a target position in response to the first input;
under the condition that the target position cannot accommodate the first icon, displaying the first icon in a floating mode or displaying a second icon in a floating mode and displaying the first icon at the target position;
wherein the target location failing to accommodate the first icon comprises at least one of:
the target location comprises a void and the void cannot accommodate the first icon;
the second icon is displayed at the target position.
2. The icon management method according to claim 1, wherein in a case where the target position includes a vacant position and the vacant position cannot accommodate the first icon, displaying the first icon in a floating manner includes:
displaying the first icon in suspension if the display size of the first icon is not adjustable and the void cannot accommodate the first icon;
alternatively, the first and second electrodes may be,
and under the condition that the display size of the first icon is adjustable and the vacant space cannot accommodate the first icon after the display size is adjusted, displaying the first icon in a floating mode.
3. The icon management method according to claim 1, wherein, in a case where the second icon is displayed at the target position, displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position includes:
under the condition that a first reserved position of the target position cannot accommodate the first icon, displaying the first icon in a floating mode;
alternatively, the first and second electrodes may be,
under the condition that the display size of the first icon is adjustable and the first icon with the adjusted display size cannot be accommodated in the first reserved position of the target position, displaying the first icon in a suspended mode;
alternatively, the first and second electrodes may be,
under the condition that a first reserved position of the target position can accommodate the first icon, displaying the second icon in a floating mode and displaying the first icon at the first reserved position;
alternatively, the first and second electrodes may be,
under the condition that the display size of the first icon is adjustable and the first icon with the adjusted display size can be accommodated in the first reserved position of the target position, displaying the second icon in a suspending manner and displaying the first icon with the adjusted display size in the first reserved position;
the first reserved position is a display position occupied by the second icon; or under the condition that the display size of the second icon is adjustable, the first reserved position is a reserved display position after the display size of the second icon is adjusted.
4. The icon management method according to claim 1, wherein the target position includes a space and the space cannot accommodate the first icon, and wherein, in a case where the target position displays the second icon, the displaying the first icon in a floating manner or the displaying the second icon in a floating manner and the displaying the first icon in the target position includes:
under the condition that a second reserved position of the target position cannot contain the first icon, displaying the first icon in a floating mode;
alternatively, the first and second electrodes may be,
under the condition that the display size of the first icon is adjustable and the second reserved position of the target position cannot accommodate the first icon after the display scale is adjusted, displaying the first icon in a suspended mode;
alternatively, the first and second electrodes may be,
under the condition that a second reserved position of the target position can accommodate the first icon, displaying the second icon in a floating mode and displaying the first icon at the second reserved position;
alternatively, the first and second electrodes may be,
under the condition that the display size of the first icon is adjustable and a second reserved position of the target position can accommodate the first icon with the adjusted display size, displaying the second icon in a suspending manner and displaying the first icon with the adjusted display size at the second reserved position;
wherein the second reserved location comprises: a display position occupied by the vacancy and the second icon; or in the case that the display size of the second icon is adjustable, the second reserved location includes: the vacant position and the display position reserved for adjusting the display size of the second icon.
5. The icon management method according to claim 1, wherein the floating displaying the second icon and the displaying the first icon at the target location comprises:
under the condition that the number of the second icons displayed at the target position is multiple, displaying a first part of the second icons in a floating mode, and displaying the first icons at the target position;
wherein the first portion of icons includes: at least one second icon in a minimum position that can accommodate the first icon.
6. The icon management method as claimed in claim 1, wherein prior to the receiving the first input for the first icon, the method further comprises:
displaying a plurality of packets; the icons are displayed in a suspension mode when the icons are moved into the interfaces corresponding to different groups;
the displaying the first icon in a floating manner or displaying the second icon in a floating manner and displaying the first icon at the target position includes:
displaying the first icon or the second icon in a target grouping of a plurality of groupings and displaying the first icon at the target location;
and the target group is a group corresponding to the interface where the first icon or the second icon is located.
7. The icon management method according to claim 6, wherein after the displaying the plurality of groups, further comprising:
receiving a second input;
in response to the second input, displaying icons in each of the groupings displayed in the first display size on the first interface in the second display size; or generating a second interface, and displaying the icons displayed in the first display size in each group on the second interface in a second display size;
the first interface is a preset interface or an interface corresponding to each group.
8. The icon management method according to claim 1, wherein the displaying the first icon in a floating manner or displaying a second icon in a floating manner and displaying the first icon at the target position includes:
displaying the first icon in a first display size in a target area or displaying the second icon in the first display size and displaying the first icon in a second display size in the target position; the target area is an area for displaying icons in a floating mode;
after the displaying the first icon in a floating manner or displaying a second icon in a floating manner and displaying the first icon at the target position, the method further comprises the following steps:
receiving a third input for a target icon in the target area;
responding to the third input, and displaying the target icon at a second display size on a target interface corresponding to the target icon; wherein the target icon is at least one of the first icon and the second icon.
9. An icon management apparatus, comprising:
a first receiving module for receiving a first input for a first icon;
a first response module, configured to update a display position of the first icon to a target position in response to the first input;
the first display module is used for displaying the first icon in a floating mode or displaying a second icon in a floating mode and displaying the first icon in the target position under the condition that the target position cannot accommodate the first icon;
wherein the failure of the target location to accommodate the first icon comprises at least one of:
the target location comprises a void and the void cannot accommodate the first icon;
the second icon is displayed at the target position.
10. The icon management apparatus as claimed in claim 9, wherein the first display module includes:
a first display unit, configured to display the first icon in a floating manner when a display size of the first icon is not adjustable and the empty space cannot accommodate the first icon;
alternatively, the first and second electrodes may be,
and the second display unit is used for displaying the first icon in a floating manner under the condition that the display size of the first icon is adjustable and the vacant space cannot accommodate the first icon with the adjusted display size.
11. The icon management apparatus as claimed in claim 9, wherein the first display module includes:
the third display unit is used for displaying the first icon in a floating mode under the condition that the first icon cannot be accommodated in a first reserved position of the target position;
alternatively, the first and second electrodes may be,
the fourth display unit is used for displaying the first icon in a floating manner under the condition that the display size of the first icon is adjustable and the first reserved position of the target position cannot accommodate the first icon with the adjusted display size;
alternatively, the first and second electrodes may be,
a fifth display unit, configured to, in a case where a first reserved location of the target location can accommodate the first icon, display the second icon in a floating manner and display the first icon in the first reserved location;
alternatively, the first and second electrodes may be,
a sixth display unit, configured to display the second icon in a floating manner and display the first icon with the adjusted display size at the first reserved position when the display size of the first icon is adjustable and the first reserved position of the target position can accommodate the first icon with the adjusted display size;
the first reserved position is a display position occupied by the second icon; or the first reserved position is a display position reserved after the display size of the second icon is adjusted under the condition that the display size of the second icon is adjustable.
12. The icon management apparatus as claimed in claim 9, wherein the first display module includes:
a seventh display unit, configured to display the first icon in a floating manner when a second reserved location of the target location cannot accommodate the first icon;
alternatively, the first and second electrodes may be,
the eighth display unit is used for displaying the first icon in a floating manner under the condition that the display size of the first icon is adjustable and the second reserved position of the target position cannot accommodate the first icon after the display ruler is adjusted;
alternatively, the first and second electrodes may be,
a ninth display unit, configured to, in a case where a second reserved location of the target location can accommodate the first icon, display the second icon in a floating manner and display the first icon in the second reserved location;
alternatively, the first and second electrodes may be,
a tenth display unit, configured to display the second icon in a floating manner and display the first icon with the adjusted display size at a second reserved position of the target position when the display size of the first icon is adjustable and the second reserved position can accommodate the first icon with the adjusted display size;
wherein the second reserved location comprises: a display position occupied by the vacancy and the second icon; or in the case that the display size of the second icon is adjustable, the second reserved location includes: the vacant position and the display position reserved for adjusting the display size of the second icon.
13. The icon management apparatus of claim 9, wherein the first display module comprises:
an eleventh display unit, configured to, when there are a plurality of second icons displayed at the target position, display a first part of the plurality of second icons in a floating manner, and display the first icon at the target position;
wherein the first part of icons comprises: at least one second icon in a minimum position that can accommodate the first icon.
14. The icon management apparatus according to claim 9, further comprising:
a second display module for displaying the plurality of packets; the icons are displayed in a suspension mode when the icons are moved into the interfaces corresponding to different groups;
the first display module includes:
a twelfth display unit for displaying the first icon or the second icon in a target group of a plurality of groups and displaying the first icon at the target position;
and the target group is a group corresponding to the interface where the first icon or the second icon is located.
15. The icon management apparatus according to claim 14, further comprising:
the second receiving module is used for receiving a second input;
a second response module, configured to respond to the second input, and display the icons displayed in the first display size in each of the groups in the first interface in the second display size; or generating a second interface, and displaying the icons displayed in the first display size in each group on the second interface in a second display size;
the first interface is a preset interface, or an interface corresponding to each group.
16. The icon management apparatus of claim 9, wherein the first display module comprises:
a thirteenth display unit configured to display the first icon in the first display size or the second icon in the first display size in a target area and display the first icon in the second display size in the target position; the target area is an area for displaying icons in a floating mode;
the icon management apparatus further includes:
a third receiving module for receiving a third input for a target icon in the target area;
a third response module, configured to, in response to the third input, display the target icon in a second display size on a target interface corresponding to the target icon; wherein the target icon is at least one of the first icon and the second icon.
17. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the icon management method of any one of claims 1 to 8.
18. 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 management method according to any one of claims 1 to 8.
CN202211650904.XA 2022-12-21 2022-12-21 Icon management method and device and electronic equipment Pending CN115857751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211650904.XA CN115857751A (en) 2022-12-21 2022-12-21 Icon management method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211650904.XA CN115857751A (en) 2022-12-21 2022-12-21 Icon management method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115857751A true CN115857751A (en) 2023-03-28

Family

ID=85653392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211650904.XA Pending CN115857751A (en) 2022-12-21 2022-12-21 Icon management method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115857751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117806506A (en) * 2024-02-27 2024-04-02 荣耀终端有限公司 Icon display method and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117806506A (en) * 2024-02-27 2024-04-02 荣耀终端有限公司 Icon display method and related equipment

Similar Documents

Publication Publication Date Title
US11048404B2 (en) Information processing apparatus, information processing method, and program
KR101725887B1 (en) Method and apparatus for searching contents in touch screen device
EP2987077B1 (en) Application window divider control for window layout management
EP2851790B1 (en) Method for displaying icon ranking and terminal device
US20160253073A1 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
CN108499103B (en) Scene element display method and device
US20130024818A1 (en) Apparatus and Method for Handling Tasks Within a Computing Device
CN105373291A (en) Interface switching method and device
CN112099695B (en) Icon position adjusting method and device and electronic equipment
US20230221846A1 (en) Desktop layout method and apparatus, and electronic device
CN112558831A (en) Desktop sorting method and device and electronic equipment
CN107430477B (en) Techniques for displaying layouts and transitional layouts of a set of content items in response to user touch input
US20140325400A1 (en) Multi-panel view interface for a browser operating on a computing device
CN111782030A (en) Setting method of three-dimensional icon, electronic device and readable storage medium
CN114564263A (en) Page layout adjusting method and device
CN115857751A (en) Icon management method and device and electronic equipment
CN113986076A (en) Icon display control method and device, electronic equipment and storage medium
EP3026550B1 (en) Apparatus and method for screen display control in electronic device
CN115357156A (en) Display method, display device, electronic equipment and readable storage medium
CN114415886A (en) Application icon management method and electronic equipment
CN115576463A (en) Background application management method and device, electronic equipment and medium
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium
CN115145444A (en) Icon moving method and device, electronic equipment and storage medium
CN116069231A (en) Card arrangement management method and electronic equipment
CN112214140A (en) Background task display method and electronic equipment

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