Disclosure of Invention
Therefore, it is necessary to provide a method for quickly merging desktop icons, which is convenient for merging icons across desktops and improves the efficiency of icon merging.
The invention provides a method capable of quickly combining desktop icons, which comprises the following steps:
receiving a plurality of selection operations of first icons to be combined on a touch screen;
displaying a plurality of first icons at the edge positions of the desktops in a floating and non-overlapping mode, and always floating and displaying the first icons at the edge positions of the current desktops when switching to different desktops;
receiving a selection and dragging operation of a second icon on the touch screen;
When the second icon is dragged and released to an area, merging the second icon and the first icon covered by the area into a group; wherein the desktop is divided into a plurality of areas and one of the first icons is covered by a corresponding one of the areas.
Preferably, the "the desktop is divided into a plurality of areas and one of the first icons is covered by a corresponding one of the areas" includes:
the desktop is divided into a plurality of areas through dividing lines, one first icon is covered by a corresponding area, and the dividing lines pass through the center of the selected second icon.
Preferably, receiving selection operations of the two first icons; respectively displaying the two first icons at the end positions of one edge of the desktop in a floating manner;
The "the desktop is divided into a plurality of areas by dividing lines, and one of the first icons is covered by a corresponding one of the areas, the dividing lines passing through the center of the selected second icon", including:
Determining a first dividing line of the desktop according to the position of the second icon, wherein the first dividing line is perpendicular to the edge and passes through the center of the second icon;
the desktop is divided into two areas by the first dividing line.
Preferably, three or four selection operations of the first icons are received; displaying three or four first icons at end positions of two opposite edges of a desktop in a floating manner respectively;
The "the desktop is divided into a plurality of areas by dividing lines, and one of the first icons is covered by a corresponding one of the areas, the dividing lines passing through the center of the selected second icon", including:
Determining a first dividing line and a second dividing line of the desktop according to the position of the second icon; the first dividing line is parallel to the edge and passes through the second icon center, and the second dividing line is perpendicular to the edge and passes through the second icon center;
The table top is divided into four regions by the first dividing line and the second dividing line.
Preferably, when the selected second icon is merged, a second icon of another application program of the same type as the application program corresponding to the merged second icon is moved to a position where the merged second icon is located.
Preferably, when a selection operation of a second icon is received on the touch screen, other application icons of the same type as the application corresponding to the second icon are arranged and displayed on the dividing line;
when the selected second icons are combined, sequentially moving the second icons of one application program arranged on the dividing line to the position of the combined second icons.
The invention provides an electronic device with a touch screen, which comprises a memory and a processor, wherein the memory is stored with a computer program which can be executed by the processor to realize the method capable of quickly combining desktop icons.
The method comprises the steps that selection operations of a plurality of first icons to be combined are received on a touch screen in advance; displaying a plurality of first icons at the edge positions of the desktops in a floating and non-overlapping mode, and always floating and displaying the first icons at the edge positions of the current desktops when switching to different desktops; receiving a selection and dragging operation of a second icon on the touch screen; when the second icon is dragged and released to an area, merging the second icon and the first icon covered by the area into a group; wherein the desktop is divided into a plurality of areas and one of the first icons is covered by a corresponding one of the areas.
In the invention, when switching to different desktops, the second icon of the current desktop can be selected, then the second icon is dragged to move to the area covering the first icon, and the second icon is combined with the first icon into a group after being released, so that the second icon can be combined with the first icon on the other desktop without dragging the second icon to cross the desktops in the process of combining the icons, and the desktops are divided into a plurality of areas respectively covering the first icons, and the areas are larger, therefore, the second icon only needs to be dragged to the area where the first icon which is wanted to be combined with the second icon is positioned in the process of dragging, the dragging distance of the second icon is greatly reduced in the process of dragging, and the combination failure caused by loosening of the second icon can be further avoided.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
The invention provides a method capable of quickly combining desktop icons, which can be applied to electronic equipment, wherein the electronic equipment can be a touch type mobile phone or a touch type tablet computer and other devices. The electronic device itself may carry or the user may download a variety of Applications (APP). The electronic device may identify the type of application, which may include a communication-type app (e.g., weChat), a game-type app (e.g., jotting by an owner), an office-type app (e.g., tencentrating conference), a learning-type app (e.g., himalayan), a shopping-type app (e.g., taobao), and so forth. The same application, according to its own properties, can be identified by the electronic device as a plurality of different types.
The electronic device includes a touch screen, a memory, and a processor. The touch screen and the memory are connected with the processor through a communication bus. The memory stores a computer program, which may include the various application programs described above, and may also include a computer program related to the method provided by the present invention. The computer program can be executed by the processor to implement the method provided by the invention. The touch screen can sense touch operations of a user, wherein the touch operations comprise selection operations, pressing operations, moving operations and the like.
Referring to fig. 1, fig. 1 shows a flowchart of a first embodiment of the present invention, and the method for quickly merging desktop icons according to the first embodiment of the present invention includes the following steps.
S11: and receiving a plurality of selection operations of the first icons to be combined on the touch screen.
The user's finger touches the desktop and slides, and can switch to a different desktop. The user may select a first icon a on a different desktop. It should be understood that the above description of "first" is merely for distinguishing the second icon B described later. It is not necessary here to merge between the plurality of first icons a.
As shown in fig. 2 and 3 in combination, in fig. 2 and 3, the icons indicated by oblique lines are first icons including first icons A1, A2, A3, A4. The first desktop of the electronic device shown in fig. 2 is first selected from two first icons A1 and A2, and the second desktop of the electronic device shown in fig. 3 is then selected from two first icons A3 and A4.
S12: and displaying the plurality of first icons at the edge positions of the desktops in a floating and non-overlapping mode, and always floating and displaying the first icons at the edge positions of the current desktops when switching to different desktops.
With reference to fig. 2 and 3, each of the first icons is selected to be displayed at an edge position of the desktop in a floating manner. As shown in fig. 2, after two first icons A1 and A2 are selected and displayed at the edge positions of the desktop in a non-overlapping manner, after the first icons A1 and A2 are always suspended and displayed at the edge positions of the current desktop after sliding and switching to the second desktop, then first icons A3 and A4 are selected on the second desktop, and then the first icons A1, A2, A3 and A4 are displayed at the edge positions of the desktop in a non-overlapping manner.
S13: and receiving a selection and dragging operation of a second icon on the touch screen.
S14: when the second icon is dragged and released to an area, merging the second icon and the first icon covered by the area into a group; wherein the desktop is divided into a plurality of areas and one of the first icons is covered by a corresponding one of the areas.
It should be understood that the process of dividing the desktop into a plurality of areas may be performed after the selection operation in step S12 is completed, or may be performed after step S13. I.e. after all the first icons are selected, the desktop is divided into a plurality of areas. The desktop may be divided into a plurality of regions when a selection operation of the second icon B is received. In the illustration of fig. 4, the label of the area C corresponds to the label of the first icon a.
In this embodiment, the area is filled with a transparent light color with the same color system as the background color of the first icon covered, so as to facilitate quick user recognition of the area corresponding to the first icon and viewing of the second icon on the desktop. For example, the background color of the first icon A1 is red, the background color of the region C1 covering the first icon A1 is light red, the background color of the first icon A2 is green, and the background color of the region C2 covering the first icon A2 is light green.
As shown in fig. 5, after selecting a second icon B, the second icon B may be dragged to the area C4, and after being released, the second icon B is combined with the first icon A4. Similarly, another second icon B is selected, and may be dragged to the area C2, and after being released, the another second icon B is combined with the first icon A2. The center coordinate of the second icon B may be used as a decision point, and when the center coordinate of the second icon B is located in an area, the second icon B is regarded as being dragged to the area.
After all merging operations are completed, the merging operations can be exited by pressing a home key, and a folder formed by merging the first icon and the second icon is displayed on the first desktop.
Therefore, in the process of combining the icons, the second icon can be combined with the first icon on the other desktop without dragging the second icon across the desktop, and the desktop is divided into a plurality of areas respectively covering the first icon, and the areas are larger, so that the second icon only needs to be dragged to the area where the first icon which is required to be combined with the second icon is located in the process of dragging, the dragging distance of the second icon is greatly reduced in the process of dragging, and the problem that the second icon loosens to cause combination failure can be further avoided.
Referring to fig. 6, fig. 6 shows a flowchart of a second embodiment of the present invention, and a method for quickly merging desktop icons according to the second embodiment of the present invention includes the following steps.
S21: and receiving a plurality of selection operations of the first icons to be combined on the touch screen.
S22: and displaying the plurality of first icons at the edge positions of the desktops in a floating and non-overlapping mode, and always floating and displaying the first icons at the edge positions of the current desktops when switching to different desktops.
S23: and receiving a selection operation of a second icon on the touch screen.
S24: the current desktop is divided into a plurality of areas through dividing lines, one first icon is covered by a corresponding area, and the dividing lines pass through the center of the selected second icon.
Reference may be made to fig. 4, in conjunction with fig. 7, wherein in fig. 4 a plurality of said first icons are displayed in a floating and non-overlapping manner with respect to each other at the edge of the table top. In fig. 7, after receiving a selection operation of a second icon B on the touch screen, the current desktop is divided into a plurality of areas by dividing lines, each of the areas corresponds to and covers a first icon a, and the dividing lines may be distributed in a scattering manner.
S25: and receiving the dragging operation of the second icon on the touch screen.
S26: and when the second icon is dragged and dropped into the area, merging the second icon with the first icon covered by the area into a group.
As shown in fig. 8, when the second icon B is dragged to the area C1, the second icon B is combined with the first icon A1 covered by the area C1 into a group.
Therefore, the dividing line is generated based on the position of the second icon B, and the center of the second icon B is the intersection of the dividing line, so that the second icon B can enter the region C corresponding to the first icon a only by being dragged for a small distance and then released.
Referring to fig. 9, fig. 9 shows a flowchart of a third embodiment of the present invention, and a method for quickly merging desktop icons according to the third embodiment of the present invention includes the following steps.
S31: and receiving selection operations of the two first icons to be combined on the touch screen.
S32: and displaying the two first icons at the end position of one edge of the desktop in a floating and non-overlapping mode, and always floating and displaying the first icons at the edge position of the current desktop when switching to a different desktop.
The two first icons are displayed in a manner as shown in fig. 10.
S33: and receiving a selection operation of a second icon on the touch screen.
S34: and determining a first dividing line of the desktop according to the position of the second icon, wherein the first dividing line is perpendicular to the edge and passes through the center of the second icon.
S35: the desktop is divided into two areas by the first dividing line.
The manner in which the current desktop divides the two regions can be seen in FIG. 10.
S36: and receiving the dragging operation of the second icon on the touch screen.
S37: and when the second icon is dragged and dropped into the area, merging the second icon with the first icon covered by the area into a group.
As shown in fig. 11, the second icon B may be slightly dragged upward to the area C1, and at this time, the second icon B and the first icon A1 covered by the area C1 may be combined into a group. According to the embodiment, the dragging distance of the second icon B can be greatly reduced, and further the merging failure caused by loosening of the second icon is avoided.
Referring to fig. 12, fig. 12 shows a flowchart of a fourth embodiment of the present invention, and a method for quickly merging desktop icons according to the fourth embodiment of the present invention includes the following steps.
S41: and receiving three or four selection operations of the first icons to be combined on the touch screen.
In fig. 13, for convenience of explanation, the selection operation of the four first icons A1, A2, A3, A4 to be combined is received on the touch screen.
S42: three or four first icons are respectively displayed at the end positions of two opposite edges of the desktop in a floating manner, and when the desktop is switched to a different desktop, the first icons are always displayed in a floating manner at the edge positions of the current desktop.
S43: and receiving a selection operation of a second icon on the touch screen.
S44: determining a first dividing line and a second dividing line of the desktop according to the position of the second icon; the first dividing line is parallel to the edge and passes through the second icon center, and the second dividing line is perpendicular to the edge and passes through the second icon center.
S45: the table top is divided into four regions by the first dividing line and the second dividing line.
S46: and receiving the dragging operation of the second icon on the touch screen.
S47: and when the second icon is dragged and dropped into the area, merging the second icon with the first icon covered by the area into a group.
Dragging the second icon B slightly upward left or downward left or upward right or downward right may drop into region C. As shown in fig. 14, slightly dragging the second icon B downward to the left can be released into the area C2, and at this time, the second icon B and the first icon A2 covered in the area C2 can be combined into a group. According to the embodiment, the dragging distance of the second icon B can be greatly reduced, further, the failure of merging caused by loosening of the second icon is avoided, and merging can be carried out for four groups of icons.
In the third and fourth embodiments of the present invention, when the selected second icon is merged, a second icon of another application program of the same type as the application program corresponding to the merged second icon is moved to a position where the merged second icon is located.
Taking the third embodiment as an example, as shown in fig. 15 and 16, the selected second icon is a micro-letter icon, the micro-letter can be identified as a communication class APP, and another application program with the same micro-letter type can be, for example, a nail, a QQ, or the like. After the WeChat icon is combined with the first icon A1, as shown in FIG. 16, the nailed icon will be moved to the position where the original WeChat icon is located, and the user can quickly select the same type of application icons, so as to facilitate quick combination of icons.
Further, when a selection operation of a second icon is received on the touch screen, other application icons of the same type as the application corresponding to the second icon are arranged and displayed on the dividing line; when the selected second icons are combined, sequentially moving the second icons of one application program arranged on the dividing line to the position of the combined second icons.
Still taking the third embodiment as an example, as shown in fig. 17 and fig. 18, the selected second icon is a micro-letter icon, the micro-letter icon may be enlarged, the spike icon, the QQ icon, the femto-letter icon, and the like, which are the same in type of application program and corresponding to the second icon, are arranged and displayed on the dividing line, and the arranged icons may be reduced. When the micro-letter icons are combined, the nail icons are moved to the positions of the original micro-letter icons, when the nail icons are combined, the QQ icons are moved to the positions of the original nail icons, and the second icons are sequentially moved to the positions of the combined second icons.
The foregoing description of the preferred embodiment of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.