Icon moving method, electronic device, and computer-readable storage medium
Patent Information
- Authority / Receiving Office
- MY · MY
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-18
- Publication Date
- 2026-07-06
AI Technical Summary
When users organize application icons on the desktop of an electronic device, they need to drag them one by one and find the required page in each page, resulting in cumbersome and inefficient operations.
By receiving the user's input, multiple page windows are displayed, allowing the user to input directly in multiple page windows to quickly move the icon and avoid finding the required page one by one in each page.
Simplifies user operations, saves time, and improves the efficiency of moving icons.
Abstract
Description
Icon movement methods and electronic devices
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 201911345821.8, filed in China on December 24, 2019, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present invention relates to the field of communication technology, and in particular to an icon moving method and an electronic device. Background Technology
[0004] Typically, when users categorize and organize application icons (hereinafter referred to as application icons) on the desktop of an electronic device, they can long-press on an application icon to put the desktop into icon editing mode (e.g., the application icon becomes movable), and then move the application icon to a page on the desktop.
[0005] However, in the above method, when users organize some application icons on the desktop, they need to drag these application icons one by one. Each time an application icon is dragged, the user needs to search for the required page in each page of the desktop to move the dragged application icon to that page. Therefore, the user's operation is cumbersome and time-consuming, resulting in low efficiency of moving application icons on electronic devices.
[0006] Summary of the Invention
[0007] This invention provides an icon moving method and an electronic device, which can solve the problem of low efficiency in moving application icons on electronic devices.
[0008] To solve the above-mentioned technical problems, the embodiments of the present invention adopt the following technical solutions:
[0009] A first aspect of the present invention provides an icon moving method applied to an electronic device. The icon moving method includes: receiving a first input; in response to the first input, displaying N page windows, each page window being used to indicate a page in the electronic device, where N is greater than or equal to 2 and N is an integer; receiving a second input, the second input being an input to a first page window and a second page window among the N page windows; and in response to the second input, moving an icon in a target page window, the target page window including at least one of the following: a first page window and a second page window.
[0010] A second aspect of the present invention provides an electronic device comprising: a receiving module, a display module, and a moving module. The receiving module is configured to receive a first input. The display module is configured to display N page windows in response to the first input received by the receiving module, each page window indicating a page in the electronic device, where N is greater than or equal to 2 and is an integer. The receiving module is further configured to receive a second input, which is an input to the first page window and the second page window among the N page windows. The moving module is configured to move an icon in a target page window in response to the second input received by the receiving module, the target page window including at least one of the following: a first page window and a second page window.
[0011] A third aspect of the present invention provides an electronic device including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the icon moving method as described in the first aspect.
[0012] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the icon-moving method as described in the first aspect.
[0013] In this embodiment of the invention, the electronic device can display N page windows (each page window indicating a page in the electronic device) based on a first input, and move the icon in the target page window based on a second input to the first and second page windows among the N page windows. Since the user can make the electronic device display multiple page windows through the first input, the user can directly make the second input to the page windows among these multiple page windows, allowing the electronic device to quickly move the icon in the corresponding page window without the user having to search for the desired page one by one on the desktop. This simplifies the user's operation, saves time, and improves the efficiency of the electronic device in moving icons on the desktop. Attached Figure Description
[0014] Figure 1 is a schematic diagram of the architecture of an Android operating system provided in an embodiment of the present invention;
[0015] Figure 2 is a schematic diagram of one of the icon moving methods provided in an embodiment of the present invention;
[0016] Figure 3 is a schematic diagram of one example of a mobile phone interface provided in an embodiment of the present invention;
[0017] Figure 4 is a second example of a mobile phone interface provided in an embodiment of the present invention;
[0018] Figure 5 is a second schematic diagram of an icon moving method provided by an embodiment of the present invention;
[0019] Figure 6 is a third example of a mobile phone interface provided in an embodiment of the present invention;
[0020] Figure 7 is a fourth example of a mobile phone interface provided in an embodiment of the present invention;
[0021] Figure 8 is a fifth example of a mobile phone interface provided in an embodiment of the present invention;
[0022] Figure 9 is a schematic diagram of the third embodiment of the icon moving method provided by the present invention;
[0023] Figure 10 is a sixth example of a mobile phone interface provided in an embodiment of the present invention;
[0024] Figure 11 is a seventh example of a mobile phone interface provided in an embodiment of the present invention;
[0025] Figure 12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention;
[0026] Figure 13 is a second schematic diagram of the structure of an electronic device provided in an embodiment of the present invention;
[0027] Figure 14 is a third schematic diagram of the structure of an electronic device provided in an embodiment of the present invention;
[0028] Figure 15 is a fourth structural schematic diagram of an electronic device provided in an embodiment of the present invention;
[0029] Figure 16 is a fifth schematic diagram of the structure of an electronic device provided in an embodiment of the present invention;
[0030] Figure 17 is a hardware schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0031] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0032] In the specification and claims of this invention, the terms "first" and "second," etc., are used to distinguish different objects, not to describe a specific order of objects. For example, "first input" and "second input," etc., are used to distinguish different inputs, not to describe a specific order of inputs.
[0033] In the description of the embodiments of the present invention, unless otherwise stated, "a plurality of" means two or more. For example, a plurality of elements means two or more elements.
[0034] In this article, the term "and / or" describes the relationship between related objects, indicating that there can be three relationships. For example, "display panel and / or backlight" can represent: the display panel alone, the display panel and backlight together, or the backlight alone. The symbol " / " indicates that the related objects are in an OR relationship; for example, "input / output" means input or output.
[0035] In embodiments of the present invention, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in embodiments of the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0036] This invention provides an icon moving method and an electronic device. Since the user can display multiple page windows through a first input, the user can directly make a second input to the page windows among the multiple page windows, so that the electronic device can quickly move the icons in the corresponding page windows without the user having to search for the required page one by one in each page of the desktop. Therefore, it can simplify the user's operation and save time, thereby improving the efficiency of the electronic device in moving icons on the desktop.
[0037] The icon moving method and electronic device provided in this invention can be applied to the process of moving icons on the desktop of an electronic device. Specifically, it can be applied to the process of moving application icons and / or folder icons on various pages of the desktop of an electronic device.
[0038] The electronic device in this embodiment of the invention can be an electronic device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this embodiment of the invention does not impose specific limitations.
[0039] The following section uses the Android operating system as an example to introduce the software environment in which the icon moving method provided in this embodiment of the invention is applied.
[0040] Figure 1 shows a schematic diagram of a possible Android operating system architecture provided by an embodiment of the present invention. In Figure 1, the Android operating system architecture includes four layers: the application layer, the application framework layer, the system runtime library layer, and the kernel layer (specifically, the Linux kernel layer).
[0041] The application layer includes all applications in the Android operating system (including system applications and third-party applications).
[0042] The application framework layer is the framework of an application. Developers can develop applications based on the application framework layer while adhering to the development principles of the application framework.
[0043] The system runtime library layer includes libraries (also known as system libraries) and the Android operating system runtime environment. Libraries primarily provide the Android operating system with the various resources it requires. The Android operating system runtime environment provides the software environment for the Android operating system.
[0044] The kernel layer is the operating system layer of the Android operating system, and it is the lowest layer of the Android operating system software layer. Based on the Linux kernel, the kernel layer provides core system services and hardware-related drivers for the Android operating system.
[0045] Taking the Android operating system as an example, in this embodiment of the invention, developers can develop software programs that implement the icon movement method provided in this embodiment of the invention based on the system architecture of the Android operating system shown in Figure 1, thereby enabling the icon movement method to run on the Android operating system shown in Figure 1. That is, a processor or electronic device can implement the icon movement method provided in this embodiment of the invention by running the software program in the Android operating system.
[0046] The electronic devices in the embodiments of the present invention can be mobile electronic devices or non-mobile electronic devices. For example, mobile electronic devices can be mobile phones, tablet computers, laptops, handheld computers, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. The embodiments of the present invention do not impose specific limitations.
[0047] The following description, in conjunction with the accompanying drawings, details an icon-moving method and electronic device provided by the present invention through specific embodiments and application scenarios.
[0048] In this embodiment of the invention, when a user needs to move icons (such as application icons and folder icons) from one page on the desktop of an electronic device to another page, the user does not need to drag the icons on the page one by one in the traditional way and search for the required page one by one on the desktop to move these icons to that page. Instead, the user can input on one page to make the electronic device display multiple page windows. The user can then directly input on the page windows of these multiple page windows, so that the electronic device can quickly move the icons on one page to another. Thus, the efficiency of moving icons on the desktop of the electronic device is high.
[0049] This invention provides an icon-moving method. Figure 2 shows a flowchart of the icon-moving method provided by this invention. This method can be applied to electronic devices with the Android operating system shown in Figure 1. As shown in Figure 2, the icon-moving method provided by this invention may include the following steps 201 to 204.
[0050] Step 201: The electronic device receives the first input.
[0051] In this embodiment of the invention, the first input is the user's input of an icon on the first page of the electronic device.
[0052] In this embodiment of the invention, the first input is used to trigger the electronic device to display multiple page windows.
[0053] It is understandable that after a user makes their first input to an icon on the first page, all icons on the first page are in an editable state (e.g., movable, selectable, or deleteable).
[0054] Optionally, in this embodiment of the invention, the first page can be a page on the desktop, and the icons on the first page can include at least one of the following: application icons (i.e., icons corresponding to applications) and folder icons, etc.
[0055] Optionally, in this embodiment of the invention, the first input can be a long press input by the user on an icon on the first page.
[0056] Step 202: The electronic device responds to the first input and displays N page windows.
[0057] In this embodiment of the invention, each of the above N page windows is used to indicate a page in the electronic device, where N is greater than or equal to 2 and N is an integer.
[0058] In this embodiment of the invention, the above-mentioned N page windows include the page window corresponding to the first page.
[0059] It is understandable that after receiving the first input, the electronic device can update the first page to display N page windows.
[0060] Optionally, in this embodiment of the invention, each page window may be a thumbnail of a page, and each page window may include at least one icon (e.g., an application icon and / or a folder icon, etc.).
[0061] Optionally, in this embodiment of the invention, the above-mentioned N page windows can be page windows corresponding to all pages on the desktop, and each of these page windows includes at least one icon.
[0062] Optionally, in this embodiment of the invention, the electronic device may display the page window corresponding to the first page using a first preset display size, and display other page windows (i.e., page windows other than the page window corresponding to the first page among N page windows) using a second preset display size.
[0063] Optionally, in this embodiment of the invention, the electronic device may display a page window corresponding to the first page in a first preset area and display other page windows in a second preset area.
[0064] For example, a mobile phone is used as an example for illustration. As shown in Figure 3(A), the mobile phone displays a first page 10 on the desktop. The first page 10 includes at least one icon (e.g., application icon 1, application icon 2, and folder icon 1). After the user makes a first input to one of the at least one icons (e.g., application icon 1), as shown in Figure 3(B), the mobile phone displays N page windows (e.g., page window 11, page window 12, and page window 13). Page window 11 is the page window corresponding to the first page 10. Page window 12 includes at least one icon (e.g., application icon 3 and folder icon 2). Page window 13 includes at least one icon (e.g., application icon 4, application icon 5, application icon 6, and folder icon 3).
[0065] It should be noted that all N page windows displayed on the electronic device are in editable mode, and the icons in all N page windows are also in editable mode.
[0066] Step 203: The electronic device receives the second input.
[0067] In this embodiment of the invention, the second input is the user's input to the first and second page windows among N page windows.
[0068] Optionally, in this embodiment of the invention, the second input can be the input from the user moving the first page window to the area where the second page window is located.
[0069] Optionally, in this embodiment of the invention, the second input can specifically be the input of the user long-pressing and dragging the first page window to the area where the second page window is located, so that the first page window overlaps with the second page window (i.e. the first page window covers the second page window).
[0070] It should be noted that the overlap between the first page window and the second page window mentioned above can be understood as: the first page window and the second page window completely overlap or partially overlap.
[0071] Optionally, in this embodiment of the invention, after the user makes a second input, the icon in the first page window is the icon to be moved, and / or, the icon in the second page window is the icon to be moved.
[0072] For example, in conjunction with Figure 3(B), as shown in Figure 4, the user can move the first page window (e.g., page window 13) to the area where the second page window (e.g., page window 12) is located, so that page window 13 overlaps with page window 12. The icons in page window 13 (i.e., application icon 4, application icon 5, application icon 6 and folder icon 3) and / or the icons in page window 12 (i.e., application icon 3 and folder icon 2) are the icons to be moved.
[0073] Step 204: The electronic device responds to the second input by moving the icon in the target page window.
[0074] In this embodiment of the invention, the target page window includes at least one of the following: a first page window and a second page window.
[0075] Optionally, in this embodiment of the invention, the electronic device can move all or some of the icons in the first page window to the second page window; or, the electronic device can move all or some of the icons in the second page window to the first page window.
[0076] Optionally, in this embodiment of the invention, the electronic device can move the icons (all or some icons) in the first page window and the icons (all or some icons) in the second page window to a region (e.g., a folder) in the second page window.
[0077] It should be noted that the specific method for moving icons in the target page window of an electronic device will be described in the following embodiments and will not be repeated here.
[0078] This invention provides an icon-moving method. An electronic device can display N page windows (each page window indicating a page within the electronic device) based on a first input, and move an icon in a target page window based on a second input to the first and second page windows within the N page windows. Since the user can display multiple page windows through the first input, the user can directly make the second input to any of these page windows, allowing the electronic device to quickly move icons in the corresponding page windows without having to search for the desired page one by one on the desktop. This simplifies user operation, saves time, and improves the efficiency of moving icons on the desktop.
[0079] Optionally, in this embodiment of the invention, the second input is the input from the user moving the first page window to the area where the second page window is located. Referring to Figure 2, as shown in Figure 5, step 204 can be specifically implemented through step 204a as described below.
[0080] Step 204a: In response to the second input, the electronic device moves the icon in the first page window to the second page window.
[0081] In this embodiment of the invention, the electronic device can move all or some of the icons in the first page window to the second page window.
[0082] Optionally, in this embodiment of the invention, the electronic device can move all application icons in the first page window to the second page window; or, the electronic device can move all folder icons in the first page window to the second page window.
[0083] It is understandable that electronic devices can move icons from the first page window to the second page window, thereby moving icons from the page corresponding to the first page window to the page corresponding to the second page window.
[0084] In this embodiment of the invention, the user can make the electronic device display multiple page windows through a first input, so that the user can directly move the first page window to the area where the second page window is located. This allows the electronic device to quickly move the icons in the first page window to the second page window without the user having to search for the required page (i.e., the page corresponding to the second page window) one by one in the various pages on the desktop. Therefore, it can simplify the user's operation and save time, thereby improving the efficiency of the electronic device in moving icons on the desktop.
[0085] Optionally, in this embodiment of the invention, before “moving the icon in the first page window to the second page window” in step 204a, the icon moving method provided by this embodiment of the invention further includes the following steps 301 and 302, and the above step 204a can be specifically implemented by the following step 204a1.
[0086] Step 301: In response to the second input, the electronic device obtains the area of the overlapping region of the first page window and the second page window when the first page window and the second page window overlap.
[0087] In this embodiment of the invention, the electronic device can determine the area of the overlapping region based on the size of the first page window and the size of the second page window.
[0088] Step 302: The electronic device determines the first icon to be moved in the first page window based on the area of the overlapping region.
[0089] In this embodiment of the invention, the electronic device can determine the ratio of the area of the overlapping region to the area of the first page window, and determine the first icon to be moved in the first page window based on the ratio.
[0090] Optionally, in this embodiment of the invention, the first icon to be moved may include at least one icon in the first page window, and the at least one icon includes at least one of the following: partial folder icons, all folder icons, partial application icons, and all application icons.
[0091] Optionally, in this embodiment of the invention, step 302 can be implemented by step 302a, step 302b or step 302c as described below.
[0092] Step 302a: If the target ratio is greater than or equal to the first preset threshold, the electronic device will determine the first target icon in the first page window as the first icon to be moved.
[0093] In this embodiment of the invention, the target ratio is the ratio of the area of the overlapping region to the area of the first page window.
[0094] Optionally, in this embodiment of the invention, the first target icon may include all folder icons and all application icons in the first page window.
[0095] Optionally, in an embodiment of the present invention, when the first page window and the second page window completely overlap (e.g., the target ratio is 100%), the electronic device can move all folder icons and all application icons from the first page window to the second page window.
[0096] For example, referring to Figure 4, as shown in Figure 6, if the first page window (i.e., page window 13) and the second page window (i.e., page window 12) completely overlap, the mobile phone can move all folder icons and all application icons in page window 13 to page window 12. That is, application icon 4, application icon 5, application icon 6 and folder icon 3 in page window 13 are all moved to page window 12. That is, page window 12 includes application icon 3 (indicated by a in Figure 6), folder icon 2 (indicated by b in Figure 6), application icon 4 (indicated by c in Figure 6), application icon 5 (indicated by d in Figure 6), application icon 6 (indicated by e in Figure 6) and folder icon 3 (indicated by f in Figure 6).
[0097] Step 302b: If the target ratio is greater than the second preset threshold and less than the first preset threshold, the electronic device will determine the second target icon in the first page window as the first icon to be moved.
[0098] Optionally, in this embodiment of the invention, the second target icon may include all folder icons, all application icons, or some application icons in the first page window. The specific icon can be determined according to actual usage requirements, and this embodiment of the invention does not impose any limitations.
[0099] Optionally, in this embodiment of the invention, the aforementioned application icons can be application icons that meet preset conditions. These preset conditions may include at least one of the following: the number of times of use is less than or equal to a preset number of times, the frequency of use is less than or equal to a third preset threshold, and the duration of use is less than or equal to a preset duration.
[0100] Optionally, in an embodiment of the present invention, when the first page window and the second page window partially overlap (e.g., the target ratio is greater than 50% and less than 100%), the electronic device can move all folder icons, all application icons, or some application icons from the first page window to the second page window.
[0101] For example, referring to Figure 4 and as shown in Figure 7, if the first page window (i.e., page window 13) and the second page window (i.e., page window 12) partially overlap (e.g., the target ratio is greater than 50% and less than 100%), the mobile phone can move all the folder icons in page window 13 to page window 12, that is, move the folder icon 3 in page window 13 to page window 12, that is, page window 12 includes application icon 3, folder icon 2 and folder icon 3.
[0102] Step 302c: If the target ratio is less than or equal to the second preset threshold, the electronic device will determine the third target icon in the first page window as the first icon to be moved.
[0103] Optionally, in this embodiment of the invention, the third target icon may include all folder icons, all application icons, or some application icons in the first page window. The specific icon can be determined according to actual usage requirements, and this embodiment of the invention does not impose any limitations.
[0104] Optionally, in an embodiment of the present invention, when the first page window and the second page window partially overlap (e.g., the target ratio is less than or equal to 50%), the electronic device can move all folder icons, all application icons, or some application icons from the first page window to the second page window.
[0105] For example, referring to Figure 4, as shown in Figure 8, if the first page window (i.e., page window 13) and the second page window (i.e., page window 12) partially overlap (e.g., the target ratio is less than or equal to 50%), the mobile phone can move all application icons in page window 13 to page window 12, that is, move application icon 4, application icon 5 and application icon 6 in page window 13 to page window 12. That is, page window 12 includes application icon 3 (indicated by a in Figure 8), folder icon 2 (indicated by b in Figure 8), application icon 4 (indicated by c in Figure 8), application icon 5 (indicated by d in Figure 8) and application icon 6 (indicated by e in Figure 8).
[0106] Step 204a1: The electronic device moves the first icon to be moved to the second page window.
[0107] Optionally, in this embodiment of the invention, the electronic device may display a first icon to be moved in a blank area of the second page window. The blank area may be an area in the second page window where no icon is displayed (i.e., other areas in the second page window besides the area where the displayed icon is located).
[0108] Optionally, in this embodiment of the invention, the electronic device may sequentially display the first icons to be moved in the blank area of the second page window according to the display order of each icon in the first page window.
[0109] It is understandable that an electronic device can move the first icon to be moved to the second page window, thereby moving the first icon to be moved to the page corresponding to the second page window.
[0110] In this embodiment of the invention, the electronic device can determine the first icon to be moved based on the area of the overlapping area between the first page window and the second page window, and move the first icon to be moved to the second page window, thereby improving the flexibility and efficiency of moving icons on the desktop of the electronic device.
[0111] Optionally, in this embodiment of the invention, referring to FIG2 and FIG9, before step 203, the icon moving method provided by this embodiment of the invention further includes the following steps 401 and 402, and before "moving the icon in the target page window" in step 204, the icon moving method provided by this embodiment of the invention further includes the following steps 501 and 502, and step 204 can be specifically implemented by the following step 204b.
[0112] Step 401: The electronic device receives a third input.
[0113] In this embodiment of the invention, the third input is the user's input of the second icon to be moved in the target page window.
[0114] Optionally, in this embodiment of the invention, the third input can be the user's selection input for the second icon to be moved in the target page window.
[0115] Optionally, in this embodiment of the invention, the second icon to be moved may include at least one icon in the target page window, and the at least one icon includes at least one of the following: partial folder icon, all folder icon, partial application icon in the folder, partial application icon and all application icon.
[0116] For example, in conjunction with Figure 3(B), as shown in Figure 10, the user can select icons (e.g., application icon 4 and folder icon 3) in the first page window (i.e., page window 13) and icons (e.g., application icon 3) in the second page window (i.e., page window 12) so that the mobile phone can identify application icon 4, folder icon 3 and application icon 3 as the second icons to be moved.
[0117] Step 402: The electronic device responds to the third input and determines the second icon to be moved in the target page window.
[0118] In this embodiment of the invention, the electronic device can update the second icon to be moved in the target page window to a selected state.
[0119] Step 501: In response to the second input, the electronic device displays a prompt message when the first page window and the second page window overlap.
[0120] In this embodiment of the invention, the above-mentioned prompt information is used to prompt the user for at least one movable area corresponding to the second icon to be moved, and the at least one movable area is an area in the second page window.
[0121] Optionally, in this embodiment of the invention, the second input can specifically be the input whereby the user moves the first page window to the second page window and the duration of pressing the second page window is greater than or equal to a preset duration.
[0122] Optionally, in this embodiment of the invention, the electronic device may display the prompt information in the form of a floating window.
[0123] Optionally, in this embodiment of the invention, the at least one movable area may include a blank area in the second page window, an existing folder in the second page window, or a newly created folder in the second page window.
[0124] Optionally, in this embodiment of the invention, the above-mentioned prompt information may include a mobile application icon option, a target folder identifier (e.g., name or icon) option, and a new folder option. The mobile application icon option is used to move the second icon to be moved to a blank area in the second page window; the target folder identifier option is used to move the second icon to be moved to a folder in the second page window indicated by the target folder identifier; and the new folder option is used to create a new folder in the second page window and move the second icon to be moved to the newly created folder.
[0125] Step 502: The electronic device receives the fourth input.
[0126] In this embodiment of the invention, the fourth input is the user's input for a target area in at least one mobile area.
[0127] Optionally, in this embodiment of the invention, the target area is an area in the second page window other than the area where the displayed icon is located. Alternatively, the target area is an area within at least one folder interface in the second page window.
[0128] Optionally, in this embodiment of the invention, the fourth input can specifically be the user's selection of a mobile application icon option, and the target area can be a blank area in the second page window.
[0129] Optionally, in this embodiment of the invention, the fourth input can be the user's selection of the target folder identifier option, and the target area can be an area in a folder interface of the second page window indicated by the target folder identifier.
[0130] Optionally, in this embodiment of the invention, the fourth input can be the user's selection of the new folder option, and the target area can be the area in the newly created folder interface in the second page window.
[0131] Step 204b: The electronic device responds to the fourth input by moving the second icon to be moved to the target area.
[0132] Optionally, in this embodiment of the invention, the electronic device can move the second icon to be moved in the first page window to a blank area in the second page window; or, the electronic device can move the second icon to be moved in the target page window to a folder in the second page window indicated by the target folder identifier; or, the electronic device can move the second icon to be moved in the target page window to a newly created folder.
[0133] Optionally, in this embodiment of the invention, before "moving the second icon to be moved to the target area" in step 204b above, the icon moving method provided in this embodiment of the invention further includes the following step 601.
[0134] Step 601: The electronic device creates at least one folder in the second page window.
[0135] Optionally, in an embodiment of the present invention, the electronic device can generate at least one folder in the second page window based on the user's fourth input, and name at least one folder.
[0136] Optionally, in this embodiment of the invention, the electronic device may use a preset naming method to name at least one folder; or, the electronic device may display a naming input box so that the user can enter the name of the folder to name at least one folder.
[0137] It is understandable that the electronic device can move the second icon to be moved to the target area, so as to move the second icon to be moved to the area in the page corresponding to the target area in the second page window.
[0138] For example, referring to Figure 10, as shown in Figure 11(A), the user can move the first page window (i.e., page window 13) to the second page window (i.e., page window 12) so that page window 13 overlaps with page window 12, and press page window 13 for a period of time so that the phone displays prompt information 14 (e.g., including the mobile application icon option, the target folder identifier (e.g., folder 2) option, and the new folder option); as shown in Figure 11(B), the user can select one of the options in prompt information 14 (e.g., the folder 2 option) so that the phone moves application icon 4, folder icon 3 and application icon 3 to folder 2 in page window 12 (i.e., folder 2 includes application icon 3, application icon 4 and folder icon 3).
[0139] Optionally, in this embodiment of the invention, after the electronic device moves the second icon to be moved to the target area, it can continue to keep the second icon to be moved in a selected state, so that the user can continue to select and deselect the icon.
[0140] In this embodiment of the invention, the electronic device can determine the second icon to be moved based on the user's third input, and quickly move the second icon to be moved to the corresponding area in the second page window based on the user's fourth input, thus improving the flexibility and efficiency of moving icons on the desktop of the electronic device.
[0141] Optionally, in this embodiment of the invention, after step 204 above, the icon moving method provided by this embodiment of the invention further includes the following steps 701 and 702.
[0142] Step 701: The electronic device receives the fifth input.
[0143] In this embodiment of the invention, the fifth input is used to trigger the electronic device to cancel the movement of the icon in the target page window.
[0144] Optionally, in this embodiment of the invention, the fifth input can be a drag input by the user on the first page window, so that the first page window and the second page window do not overlap.
[0145] Optionally, in this embodiment of the invention, the fifth input can specifically be the input of the user dragging the first page window to the initial display position.
[0146] Step 702: The electronic device responds to the fifth input and cancels the icon in the target page window.
[0147] Optionally, in this embodiment of the invention, the electronic device can move the icon in the target page window to its initial display position.
[0148] It is understandable that electronic devices move the icons in the target page window to their initial display positions in order to move the icons in the corresponding page of the target page window to their initial display positions on the desktop.
[0149] Optionally, in this embodiment of the invention, after the electronic device moves or cancels the movement of the icon in the target page window, the user can select input on the back key to cause the electronic device to cancel the display of N page windows (i.e., exit the mobile interface).
[0150] In this embodiment of the invention, the user can use a fifth input to enable the electronic device to quickly cancel the movement of icons in the target page window, thereby improving the flexibility of the electronic device in organizing icons in the page window.
[0151] Figure 12 shows a possible structural schematic diagram of an electronic device according to an embodiment of the present invention. As shown in Figure 12, the electronic device 80 may include: a receiving module 81, a display module 82, and a moving module 83.
[0152] The receiving module 81 is used to receive a first input. The display module 82 is used to display N page windows in response to the first input received by the receiving module 81, each page window indicating a page in the electronic device, where N is greater than or equal to 2 and N is an integer. The receiving module 81 is also used to receive a second input, which is an input to the first page window and the second page window among the N page windows. The moving module 83 is used to move an icon in a target page window in response to the second input received by the receiving module 81, the target page window including at least one of the following: a first page window and a second page window.
[0153] In one possible implementation, the second input is an input for moving the first page window to the area where the second page window is located. Specifically, the moving module 83 is used to move an icon from the first page window to the second page window.
[0154] In one possible implementation, referring to Figures 12 and 13, the electronic device 80 provided in this embodiment of the invention further includes: an acquisition module 84 and a determination module 85. The acquisition module 84 is used to acquire the area of the overlapping region between the first and second page windows when the first and second page windows overlap, before the moving module 83 moves an icon from the first page window to the second page window. The determination module 85 is used to determine a first icon to be moved in the first page window based on the area of the overlapping region acquired by the acquisition module 84. Specifically, the moving module 83 is used to move the first icon to be moved determined by the determination module 85 to the second page window.
[0155] In one possible implementation, the determining module 85 is specifically used to determine the first target icon in the first page window as the first icon to be moved if the target ratio is greater than or equal to the first preset threshold, where the target ratio is the ratio of the area of the overlapping region to the area of the first page window; or, if the target ratio is greater than the second preset threshold and less than the first preset threshold, determine the second target icon in the first page window as the first icon to be moved; or, if the target ratio is less than or equal to the second preset threshold, determine the third target icon in the first page window as the first icon to be moved.
[0156] In one possible implementation, the receiving module 81 is further configured to receive a third input before receiving the second input. Referring to FIG12, as shown in FIG14, the electronic device 80 provided in this embodiment of the invention further includes a determining module 85. The determining module 85 is configured to determine a second icon to be moved in the target page window in response to the third input received by the receiving module 81. The display module 82 is further configured to display a prompt message when the first page window and the second page window overlap before the moving module 83 moves the icon in the target page window. This prompt message is used to indicate to the user at least one moving area corresponding to the second icon to be moved, and the at least one moving area is an area in the second page window. The receiving module 81 is further configured to receive a fourth input, which is an input targeting a target area within the at least one moving area. The moving module 83 is specifically configured to move the second icon to be moved to the target area in response to the fourth input received by the receiving module 81.
[0157] In one possible implementation, the target area is an area in the second page window other than the area where the displayed icon is located. Alternatively, the target area is an area within at least one folder interface in the second page window.
[0158] In one possible implementation, referring to Figures 14 and 15, the electronic device 80 provided in this embodiment of the invention further includes a creation module 86. The creation module 86 is used to create at least one folder in the second page window before the moving module 83 moves the second icon to be moved to the target area.
[0159] In one possible implementation, the receiving module 81 is further configured to receive a fifth input after the moving module 83 moves the icon in the target page window. Referring to FIG12, as shown in FIG16, the electronic device 80 provided in this embodiment of the invention further includes a processing module 87. The processing module 87 is configured to cancel the moving of the icon in the target page window in response to the fifth input received by the receiving module 81.
[0160] The electronic device provided in this embodiment of the invention can implement the various processes implemented by the electronic device in the above method embodiment. To avoid repetition, detailed descriptions are not repeated here.
[0161] This invention provides an electronic device that allows a user to display multiple page windows via a first input. The user can then directly input a second value into these multiple page windows, enabling the electronic device to quickly move icons within the corresponding page windows without requiring the user to search for the desired page on the desktop. This simplifies user operations, saves time, and improves the efficiency of moving icons on the desktop.
[0162] Figure 17 is a hardware schematic diagram of an electronic device implementing various embodiments of the present invention. As shown in Figure 17, the electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
[0163] It should be noted that those skilled in the art will understand that the electronic device structure shown in Figure 17 does not constitute a limitation on the electronic device. An electronic device may include more or fewer components than those shown in Figure 17, or combine certain components, or have different component arrangements. In embodiments of the present invention, the electronic device includes, but is not limited to, mobile phones, tablet computers, laptops, PDAs, in-vehicle terminals, wearable devices, and pedometers.
[0164] The processor 110 is configured to control the user input unit 107 to receive a first input; and in response to the first input, control the display unit 106 to display N page windows, each page window being used to indicate a page in the electronic device, where N is greater than or equal to 2 and N is an integer.
[0165] The processor 110 is also configured to control the user input unit 107 to receive a second input, the second input being an input to a first page window and a second page window among N page windows; and in response to the second input, to move an icon in a target page window, the target page window including at least one of the following: a first page window and a second page window.
[0166] This invention provides an electronic device that allows a user to display multiple page windows via a first input. The user can then directly input a second value into these multiple page windows, enabling the electronic device to quickly move icons within the corresponding page windows without requiring the user to search for the desired page on the desktop. This simplifies user operations, saves time, and improves the efficiency of moving icons on the desktop.
[0167] It should be understood that, in this embodiment of the invention, the radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink data from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Furthermore, the radio frequency unit 101 can also communicate with networks and other devices through a wireless communication system.
[0168] The electronic device provides users with wireless broadband internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.
[0169] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output them as sound. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the electronic device 100 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, and a receiver, etc.
[0170] Input unit 104 is used to receive audio or video signals. Input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on display unit 106. The image frames processed by GPU 1041 can be stored in memory 109 (or other storage medium) or transmitted via radio frequency unit 101 or network module 102. Microphone 1042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via radio frequency unit 101 in telephone call mode.
[0171] The electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the electronic device 100 is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used to identify the posture of the electronic device (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. The sensor 105 may also include a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described in detail here.
[0172] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0173] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of electronic devices. Specifically, user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071). Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to processor 110, receiving and executing commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to touch panel 1071, user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.
[0174] Furthermore, the touch panel 1071 can cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Although in FIG. 17, the touch panel 1071 and the display panel 1061 are implemented as two separate components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the electronic device. The specific implementation is not limited here.
[0175] Interface unit 108 serves as an interface for connecting external devices to electronic device 100. For example, external devices may include a wired or wireless headphone port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 can be used to receive input from external devices (e.g., data, power, etc.) and transmit the received input to one or more components within electronic device 100, or it can be used to transmit data between electronic device 100 and external devices.
[0176] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0177] The processor 110 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.
[0178] The electronic device 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system.
[0179] In addition, the electronic device 100 includes some functional modules not shown, which will not be described in detail here.
[0180] Optionally, embodiments of the present invention also provide an electronic device, including a processor 110 as shown in FIG17, a memory 109, and a computer program stored in the memory 109 and executable on the processor 110. When the computer program is executed by the processor 110, it implements the various processes of the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0181] This invention also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the above-described method embodiments and achieves the same technical effects. To avoid repetition, further details are omitted here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0182] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0183] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause an electronic device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0184] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.
Claims
1. An icon moving method, applied to an electronic device, the method comprising: Receive the first input; In response to the first input, N page windows are displayed, each page window is used to indicate a page in the electronic device, N is greater than or equal to 2, and N is an integer; Receive a second input, which is an input to the first and second page windows among the N page windows; In response to the second input, an icon in a target page window is moved, the target page window including at least one of the following: the first page window and the second page window.
2. The method according to claim 1, wherein, The second input is the input to move the first page window to the area where the second page window is located; The icons in the target page window include: Move the icon from the first page window to the second page window.
3. The method according to claim 2, wherein, Before moving the icon from the first page window to the second page window, the method further includes: When the first page window and the second page window overlap, obtain the area of the overlapping region between the first page window and the second page window; Based on the area of the overlapping region, determine the first icon to be moved in the first page window; Moving the icon from the first page window to the second page window includes: Move the first icon to be moved to the second page window.
4. The method according to claim 3, wherein, The step of determining the first icon to be moved in the first page window based on the area of the overlapping region includes: If the target ratio is greater than or equal to the first preset threshold, then the first target icon in the first page window is determined as the first icon to be moved, and the target ratio is the ratio of the area of the overlapping area to the area of the first page window. If the target ratio is greater than the second preset threshold and less than the first preset threshold, then the second target icon in the first page window is determined as the first icon to be moved. If the target ratio is less than or equal to the second preset threshold, then the third target icon in the first page window is determined as the first icon to be moved.
5. The method according to claim 1, wherein, Before receiving the second input, the method further includes: Receive third input; In response to the third input, a second icon to be moved is determined in the target page window; Before the icon in the target page window, the method further includes: When the first page window and the second page window overlap, a prompt message is displayed. The prompt message is used to indicate at least one movable area corresponding to the second icon to be moved. The at least one movable area is an area in the second page window. Receive a fourth input, which is an input for a target area in the at least one mobile area; The icons in the target page window include: In response to the fourth input, the second icon to be moved is moved to the target area.
6. The method according to claim 5, wherein, The target area is the area in the second page window other than the area where the displayed icon is located; or, The target area is an area within at least one folder interface in the second page window.
7. The method according to claim 6, wherein, Before moving the second icon to be moved to the target area, the method further includes: Create the at least one folder in the second page window.
8. The method according to claim 1, wherein, After the icon in the target page window is moved, the method further includes: Receive the fifth input; In response to the fifth input, the movement of the icon in the target page window is cancelled.
9. An electronic device, the electronic device comprising: Receiver module, display module, and motion module; The receiving module is used to receive the first input; The display module is configured to display N page windows in response to the first input received by the receiving module, each page window being used to indicate a page in the electronic device, where N is greater than or equal to 2 and N is an integer; The receiving module is further configured to receive a second input, which is an input to the first page window and the second page window among the N page windows; The moving module is configured to move an icon in a target page window in response to the second input received by the receiving module, the target page window including at least one of the following: the first page window and the second page window.
10. The electronic device according to claim 9, wherein, The second input is the input to move the first page window to the area where the second page window is located; The moving module is specifically used to move the icon in the first page window to the second page window.
11. The electronic device according to claim 10, wherein, The electronic device further includes: an acquisition module and a determination module; The acquisition module is used to acquire the area of the overlapping region of the first page window and the second page window when the first page window and the second page window overlap, before the moving module moves the icon in the first page window to the second page window; The determining module is used to determine the first icon to be moved in the first page window based on the area of the overlapping area obtained by the obtaining module. The moving module is specifically used to move the first icon to be moved, as determined by the determining module, to the second page window.
12. The electronic device according to claim 11, wherein, The determining module is specifically configured to: if the target ratio is greater than or equal to a first preset threshold, determine the first target icon in the first page window as the first icon to be moved, wherein the target ratio is the ratio of the area of the overlapping region to the area of the first page window; or, if the target ratio is greater than a second preset threshold and less than the first preset threshold, determine the second target icon in the first page window as the first icon to be moved; or, if the target ratio is less than or equal to the second preset threshold, determine the third target icon in the first page window as the first icon to be moved.
13. The electronic device according to claim 9, wherein, The receiving module is further configured to receive a third input before receiving the second input; The electronic device further includes: a determining module; The determining module is configured to determine the second icon to be moved in the target page window in response to the third input received by the receiving module. The display module is further configured to display a prompt message before the moving module moves the icon in the target page window, when the first page window and the second page window overlap, the prompt message being used to prompt at least one moving area corresponding to the second icon to be moved, the at least one moving area being an area in the second page window; The receiving module is further configured to receive a fourth input, the fourth input being an input targeting a region within the at least one mobile region; The moving module is specifically used to move the second icon to be moved to the target area in response to the fourth input received by the receiving module.
14. The electronic device according to claim 13, wherein, The target area is the area in the second page window other than the area where the displayed icon is located; or, The target area is an area within at least one folder interface in the second page window.
15. The electronic device according to claim 14, wherein, The electronic device further includes: a creation module; The creation module is used to create at least one folder in the second page window before the moving module moves the second icon to be moved to the target area.
16. The electronic device according to claim 9, wherein, The receiving module is further configured to receive a fifth input after the icon in the target page window moved by the mobile module; The electronic device further includes: a processing module; The processing module is configured to cancel moving the icon in the target page window in response to the fifth input received by the receiving module.
17. An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the icon moving method as described in any one of claims 1 to 8.
18. A computer-readable storage medium storing a computer program thereon, the computer program, when executed by a processor, implementing the steps of the icon moving method as described in any one of claims 1 to 8.