Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the 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 method and the device are suitable for scenes in which the user needs to edit the page.
For a page editing scene, the electronic device may place application icons of all applications loaded by the electronic device on a desktop, and when the electronic device has a large number of applications loaded, a single desktop page may sometimes fail to display all application icons in the electronic device, and in this case, all application icons may be distributed and displayed in a plurality of desktop pages. If the user needs to sort the application icons in different desktop pages, the icon of thedesktop page 1 is moved to the desktop page 2, and the electronic device can edit and sort the icon in thedesktop page 1 by responding to the movement input of the user to theapplication icon 1. In one example, when the desktop page 2 is already occupied by the icon, after the electronic device receives an input that the user moves the icon of thedesktop page 1 to the desktop page 2, the electronic device may display any application icon of thedesktop page 1 to a blank icon display position of another desktop page, or prompt the user to move theapplication icon 1 to another display page having a blank icon display position. Therefore, according to the process for arranging the desktop of the electronic device, under the condition that no blank icon placing position exists in the desktop page in advance, a user needs to trigger the electronic device to vacate an occupied icon display position on the desktop page, and then a new icon can be displayed at the vacated icon display position, so that application icons displayed at other icon display positions on the desktop page are disordered. Therefore, the operation of arranging the application icons on the desktop by the electronic equipment is complex at present.
In this embodiment of the application, after a user inputs a desktop element (for example, an application icon in a desktop page, or a page card) corresponding to a desktop page, the user may trigger to move the desktop element to a desktop element temporary storage area of the electronic device. Therefore, the electronic equipment can temporarily place the desktop elements to be arranged by the user in advance through the desktop element temporary storage area, so that the user can directly trigger the electronic equipment to move the desktop elements stored in the desktop element temporary storage area to the icon display position to be moved, the user does not need to trigger the electronic equipment to vacate the occupied icon display position on the desktop page, and the operation of arranging the application icons on the desktop by the electronic equipment is simplified.
The present embodiment provides a desktop editing method, as shown in fig. 1, the desktop editing method includes thefollowing steps 301 and 302:
step 301: the desktop editing apparatus receives a first input to a target desktop element by a user.
Wherein the target desktop element comprises: an application icon in a first desktop page; or a first page card for indicating a first desktop page including an application icon.
In an example, the application icon in the first desktop page may be an application icon of a target application program in the first desktop page.
In one example, the page card of the first desktop page is used to indicate: the first desktop page and all application icons in the first desktop page.
In this embodiment of the application, the first desktop page may be any desktop page of the electronic device.
For example, the electronic device may have a plurality of desktop pages, each desktop page including a plurality of application icons.
In this embodiment of the application, the target desktop element may be one or more movable elements in any desktop page of the electronic device, that is, one or more identifiers in the desktop page.
For example, in the case where the target desktop element is a logo, the logo may be an application icon of an application program, an icon of a folder, an icon of a pendant, or other possible logos on the desktop page.
In an embodiment of the application, the first input is used to trigger the electronic device to start the temporary storage area of the desktop element and move the target desktop element.
In this embodiment of the application, the first input may be a touch input, for example, a click input, a drag input, a voice input, or an input of a special gesture, which is not limited in this embodiment of the application.
Step 302: and responding to the first input, and the desktop editing device moves the target desktop element to the temporary storage area of the desktop element.
In this embodiment of the application, the temporary storage area of the desktop element is used for storing data corresponding to the target desktop element.
In an embodiment of the application, the temporary storage area of the desktop element is a cache area for storing temporary data in the electronic device.
It can be understood that the temporary storage area of the desktop element is not an area where the desktop element is stored in a normalized manner, but is a temporary storage area, and the desktop element can be moved out of the temporary storage area of the desktop element at any time according to the related operation of the user received by the electronic device.
In an example, after the electronic device receives the first input, the electronic device may be triggered to start and display the desktop element staging area, and move the target desktop element into the desktop element staging area.
Further, after the electronic device moves the target desktop element to the temporary storage area of the desktop element, the target desktop element may still be displayed in the first desktop page, and the display of the desktop element may also be cancelled.
In this embodiment, the temporary storage area of the desktop element may be called and used in any desktop page.
In one example, the desktop element staging area may always be displayed hovering over the desktop page.
It should be noted that, in the case that the desktop element temporary storage area is displayed in the desktop page, the electronic device may still receive any operation input of the user to the desktop page.
The embodiment of the application provides a desktop editing method, and a user can trigger to move a desktop element (for example, an application icon in a desktop page or a page card) to a temporary desktop element storage area of an electronic device by inputting the desktop element corresponding to the desktop page. Therefore, the electronic equipment can temporarily place the desktop elements to be arranged by the user in advance through the desktop element temporary storage area, so that the user can directly trigger the electronic equipment to move the desktop elements stored in the desktop element temporary storage area to the icon display position to be moved, the user does not need to trigger the electronic equipment to vacate the occupied icon display position on the desktop page, and the operation of arranging the application icons on the desktop by the electronic equipment is simplified.
Optionally, in this embodiment of the present application, instep 301, the desktop editing method provided in this embodiment of the present application may include the following step a:
step A: and the desktop editing device receives a first input that the user moves the target desktop element to the display area of the area identifier under the condition of displaying the area identifier of the temporary storage area of the desktop element.
For example, after receiving the first input, the desktop editing apparatus moves the target desktop element indicated by the first input to the temporary storage area of the desktop element indicated by the temporary storage identifier.
Illustratively, the temporary storage identifier is displayed on the desktop page in a floating manner.
For example, the temporary storage identifier may be an identifier that is always displayed on the desktop page, or may be displayed on the desktop page after the electronic device receives the first input of the user.
In an example, when the temporary storage identifier may be an identifier that is always displayed on the desktop page, the temporary storage identifier may be an identifier that can continuously update the display position according to the input of the user in the desktop page.
In another example, when the temporary storage identifier may be displayed in a desktop page after the electronic device receives a first input from a user, the display positions of the temporary storage identifier in any desktop page are the same after the temporary storage identifier is triggered to be displayed each time.
In one example, the desktop editing apparatus may trigger the desktop editing apparatus to move the target desktop element into the desktop element temporary storage area by receiving a movement input of the target desktop element by the user, so that the display area corresponding to the target desktop element coincides with the display area of the temporary storage identifier.
Example 1: assuming that the electronic device includes 2 desktop pages in total, and the user wants to move theapplication identifier 32 corresponding to theapplication 1 in thedesktop page 31 to thedesktop page 33, as shown in fig. 2 (a), the electronic device receives a drag input (i.e., the click input) from the user to the application identifier 32 (i.e., the target desktop element), and at this time, thetemporary storage identifier 34 is displayed in thedesktop page 32. After the electronic device receives an input that the user drags theapplication identifier 32 to the region where thetemporary storage identifier 34 is located, theapplication identifier 32 is automatically moved to the desktop element temporary storage region for temporary storage, and a subsequent sorting operation of theapplication identifier 32 by the user is waited.
Therefore, the desktop editing device can accurately and quickly move the desktop elements needing to be moved to other pages to the desktop element temporary storage area through the temporary storage identification, and the electronic equipment can conveniently execute subsequent operations.
Optionally, in this embodiment of the application, after the target desktop element is moved to the temporary desktop element storage area in thestep 302, the desktop editing method provided in this embodiment of the application may further include the following steps B1 and B2:
step B1: the desktop editing apparatus receives a second input of the user while displaying the second desktop page.
Step B2: in response to the second input, the desktop editing apparatus moves the target desktop element out of the temporary storage area of the desktop element to a target position.
Wherein the target position is associated with a second input.
Illustratively, the second desktop page is a different desktop page than the first desktop page.
Further, the correlation between the target position and the second input means: the target position is determined according to an input position of the second input on the second desktop page. It will be appreciated that the input position of the second input is different and the target position is also different. In the embodiment of the application, the target position is a display position in the second desktop page or a page position adjacent to the second desktop page.
For example, the second input may be used to trigger the electronic device to display the desktop element staging area and move the target desktop element out of the desktop element staging area.
For example, the second input may be a touch input, for example, a click input, a drag input, a voice input, or an input of a special gesture, which is not limited in this embodiment of the present application.
Illustratively, when the desktop editing apparatus moves the target desktop element out of the desktop element temporary storage area, the target desktop element in the desktop element temporary storage area will not be displayed.
It should be noted that, before receiving the second input, if the target desktop element is displayed at the original position (for example, displayed in the first desktop page or displayed at the position where the first desktop page is located), after receiving the second input, the target desktop element is canceled from being displayed at the original position.
Optionally, in this embodiment of the application, in the step B2, the moving the target desktop element out of the temporary storage area to the target position may further include the following step C:
and C: and the desktop editing device moves the application icon from the temporary storage area of the desktop element to the second desktop page under the condition that the target desktop element is the application icon.
Illustratively, the second desktop page includes a blank area for displaying the application icon.
Example 2: after the electronic device automatically moves theapplication identifier 32 into the temporary desktop element storage area, as shown in fig. 2 (b), after the electronic device receives an input that the user switches from thedesktop page 31 to thedesktop page 33, the electronic device displays thedesktop page 33, at this time, the electronic device receives an input that the user double-clicks a blank of thedesktop page 33, the electronic device displays the temporary desktopelement storage area 41, at this time, after the electronic device receives a drag input (i.e., the second input) of theapplication identifier 32 in the temporary desktopelement storage area 41, theapplication identifier 32 is moved into the blank of thedesktop page 33.
Therefore, under the condition that the application icon needs to be moved across the pages, the desktop editing device can move the application icon to the temporary storage area of the desktop element firstly, and then accurately and quickly move the application icon to other desktop pages by calling the temporary storage area of the desktop element from other pages, so that the accuracy of the user for operating the electronic equipment is improved.
Optionally, in this embodiment of the application, in the step B2, the moving the target desktop element out of the temporary storage area to the target position may further include the following step D:
step D: and the desktop editing device moves the first page card out of the temporary storage area of the desktop element under the condition that the target desktop element is the first page card so as to move the first desktop page to the target position.
Wherein, the target position is: and keeping displaying the application icon in the moved first desktop page of the desktop page adjacent to the second desktop page.
For example, the adjacent desktop page may be a desktop page located before the second desktop page, or may be a desktop page located after the second desktop page, which is not limited in this embodiment of the application.
In an example, the desktop page before or after the adjacent desktop page is the second desktop page may be controlled by the second input, for example, when the second input final release position is on the left side or the upper side of the second desktop page, the electronic device determines that the adjacent desktop page is the page before the second desktop page, and when the second input final release position is on the right side or the lower side of the second desktop page, the electronic device determines that the adjacent desktop page is the page after the second desktop page.
In one example, the adjacent desktop page before or after the second desktop page may be set by default. The default page is set by a user in a self-defined manner, and may also be preset by the electronic device, which is not limited in the embodiment of the present application.
Example 3: assuming that the electronic device includes 3 desktop pages, which are thedesktop page 51, thedesktop page 52 and thedesktop page 53, respectively, and the user wants to place thedesktop page 51 on thedesktop page 53, as shown in fig. 3 (a), the electronic device receives a three-tap input (i.e., the first input) from the user to thedesktop page 51, the electronic device will reduce the desktop page, change the desktop page into thedesktop page identifier 54 and display the desktop elementtemporary storage area 55, and at this time, the user will drag thedesktop page identifier 54 to place in the desktop elementtemporary storage area 55. Thedesktop page identifier 54 is used to indicate thedesktop page 51 and all application identifiers in thedesktop page 51.
Then, as shown in fig. 3 (b), after receiving an input that the user switches from thedesktop page 51 to thedesktop page 53, the electronic device displays thedesktop page 53, at this time, the electronic device receives an input that the user double-clicks a blank of thedesktop page 53, the electronic device displays the desktop elementtemporary storage area 55, at this time, after receiving an input (i.e., the second input) that the user drags theapplication identifier 32 in the desktop elementtemporary storage area 55 to the right side of thedesktop page 53, the electronic device moves thedesktop page 32 to a page behind thedesktop page 53.
Therefore, the desktop editing device can quickly switch the display sequence of the desktop pages through the temporary storage area of the desktop elements, and the operation steps of a user are simplified.
It should be noted that, in the desktop editing method provided in the embodiment of the present application, the execution main body may be a desktop editing apparatus, or a control module in the desktop editing apparatus for executing the desktop editing method. In the embodiment of the present application, a desktop editing apparatus is taken as an example to execute a desktop editing method, and the desktop editing apparatus provided in the embodiment of the present application is described.
Fig. 4 is a schematic structural diagram of a possible desktop editing apparatus for implementing the embodiment of the present application. As shown in fig. 4, theapparatus 600 includes: a receivingmodule 601 and a movingmodule 602; the receivingmodule 601 is configured to receive a first input of a target desktop element from a user; the movingmodule 602 is configured to move the target desktop element to a temporary desktop element storage area in response to the first input received by the receivingmodule 601; wherein, the target desktop element comprises: an application icon in a first desktop page; or a first page card for indicating a first desktop page including an application icon.
According to the desktop editing apparatus provided by the embodiment of the application, after a user inputs a desktop element (for example, an application icon in a desktop page or a page card) corresponding to a desktop page, the user triggers to move the desktop element to a desktop element temporary storage area of an electronic device. Therefore, the electronic equipment can temporarily place the desktop elements to be arranged by the user in advance through the desktop element temporary storage area, so that the user can directly trigger the electronic equipment to move the desktop elements stored in the desktop element temporary storage area to the icon display position to be moved, the user does not need to trigger the electronic equipment to vacate the occupied icon display position on the desktop page, and the operation of arranging the application icons on the desktop by the electronic equipment is simplified.
Optionally, in this embodiment of the application, the receivingmodule 601 is specifically configured to receive a first input that a user moves the target desktop element to a display area of the area identifier when the area identifier of the temporary storage area of the desktop element is displayed.
Optionally, in this embodiment of the application, the receivingmodule 601 is further configured to receive a second input of the user; the movingmodule 602 is further configured to move the target desktop element out of the temporary desktop element storage area to a target position in response to the second input received by the receivingmodule 601; wherein the target position is associated with the second input.
Optionally, in this embodiment of the application, the movingmodule 602 is specifically configured to, when the target desktop element is the application icon, move the application icon from the temporary storage area of the desktop element to the second desktop page.
Optionally, in this embodiment of the application, the movingmodule 602 is specifically configured to, when the target desktop element is the first page card, move the first page card out of the temporary storage area of the desktop element, so as to move the first desktop page to a target position; wherein, the target position is: and keeping displaying the application icon in the moved first desktop page at the page position adjacent to the second desktop page.
The desktop editing apparatus in the embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The desktop editing 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, and embodiments of the present application are not limited specifically.
The desktop editing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, anelectronic device 700 is further provided in this embodiment of the present application, and includes aprocessor 701, amemory 702, and a program or an instruction stored in thememory 702 and executable on theprocessor 701, where the program or the instruction is executed by theprocessor 701 to implement each process of the above-mentioned desktop editing method embodiment, and can achieve the same technical effect, and no further description is provided here 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. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Theelectronic device 100 includes, but is not limited to: a radio frequency unit 101, anetwork module 102, anaudio output unit 103, aninput unit 104, asensor 105, adisplay unit 106, auser input unit 107, aninterface unit 108, amemory 109, and aprocessor 110.
Those skilled in the art will appreciate that theelectronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to theprocessor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Theuser input unit 107 is configured to receive a first input of a target desktop element by a user; theprocessor 110, configured to move the target desktop element into a temporary desktop element storage area in response to the first input received by theuser input unit 107; wherein, the target desktop element comprises: an application icon in a first desktop page; or a first page card for indicating a first desktop page including an application icon.
According to the electronic device provided by the embodiment of the application, after a user inputs a desktop element (for example, an application icon in a desktop page or a page card) corresponding to the desktop page, the user triggers to move the desktop element to a temporary storage area of the desktop element of the electronic device. Therefore, the electronic equipment can temporarily place the desktop elements to be arranged by the user in advance through the desktop element temporary storage area, so that the user can directly trigger the electronic equipment to move the desktop elements stored in the desktop element temporary storage area to the icon display position to be moved, the user does not need to trigger the electronic equipment to vacate the occupied icon display position on the desktop page, and the operation of arranging the application icons on the desktop by the electronic equipment is simplified.
Optionally, theuser input unit 107 is specifically configured to receive a first input that a user moves the target desktop element to a display area of the area identifier when the area identifier of the temporary storage area of the desktop element is displayed.
Optionally, theuser input unit 107 is further configured to receive a second input from the user when the second desktop page is displayed; theprocessor 110 is further configured to move the target desktop element out of the desktop element temporary storage area to a target position in response to the second input received by theuser input unit 107; wherein the target position is associated with the second input.
Optionally, theprocessor 110 is specifically configured to, when the target desktop element is the application icon, move the application icon from the temporary storage area of the desktop element to the second desktop page.
Optionally, theprocessor 110 is specifically configured to, when the target desktop element is the first page card, move the first page card out of the temporary storage area of the desktop element, so as to move the first desktop page to a target position; wherein, the target position is: and keeping displaying the application icon in the moved first desktop page at the page position adjacent to the second desktop page.
It should be understood that, in the embodiment of the present application, theinput unit 104 may include a Graphics Processing Unit (GPU) 1041 and amicrophone 1042, and thegraphics processing unit 1041 processes image data of a still picture or a video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. Thedisplay unit 106 may include adisplay panel 1061, and thedisplay panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. Theuser input unit 107 includes atouch panel 1071 andother input devices 1072. Thetouch panel 1071 is also referred to as a touch screen. Thetouch panel 1071 may include two parts of a touch detection device and a touch controller.Other input devices 1072 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. Thememory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. Theprocessor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into theprocessor 110.
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 process of the embodiment of the desktop editing method is implemented, and the same technical effect can be achieved, 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 Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above desktop editing method embodiment, and can achieve the same technical effect, and is not described herein 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 system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.