WO2020088268A1 - Desktop icon organizing method and terminal - Google Patents

Desktop icon organizing method and terminal Download PDF

Info

Publication number
WO2020088268A1
WO2020088268A1 PCT/CN2019/111848 CN2019111848W WO2020088268A1 WO 2020088268 A1 WO2020088268 A1 WO 2020088268A1 CN 2019111848 W CN2019111848 W CN 2019111848W WO 2020088268 A1 WO2020088268 A1 WO 2020088268A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
target
desktop
moved
icons
Prior art date
Application number
PCT/CN2019/111848
Other languages
French (fr)
Chinese (zh)
Inventor
王普聪
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020088268A1 publication Critical patent/WO2020088268A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Definitions

  • the present disclosure relates to the field of terminal control technology, and in particular, to a method and terminal for organizing desktop icons.
  • each application has its corresponding icon.
  • various applications can be effectively used and managed.
  • the application programs are gradually diversified, so that multiple applications are installed on the smartphone, and different users have different usage habits. Therefore, the management methods of the application icons on the smartphone desktop are different.
  • the embodiments of the present disclosure provide a method and a terminal for organizing desktop icons, to solve the problem that the moving process is very cumbersome when there are too many icons to be moved in the related art.
  • an embodiment of the present disclosure provides a method for organizing desktop icons, including:
  • the option list including a folder creation option and an icon replacement option
  • an embodiment of the present disclosure also provides a terminal, including:
  • the monitoring module is used to monitor the user's drag operation of dragging the selected at least one target icon to the target desktop;
  • a display module configured to display an option list on the target desktop, the option list including a folder creation option and an icon replacement option;
  • a first moving module configured to create a folder on the target desktop when it is detected that the option to create a folder is selected, and move the target icon to the folder;
  • the second moving module is configured to perform a position replacement operation between the icon currently displayed on the target desktop and the target icon when it is detected that the icon replacement option is selected.
  • an embodiment of the present disclosure provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor implements the program when it executes the program The method for organizing desktop icons as described above.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps in the method for organizing desktop icons as described above.
  • the embodiment of the present disclosure can move the target icon that needs to be moved to the folder created on the target desktop, or replace it with the currently displayed icon on the target desktop, so as to achieve the purpose of moving the target icon to the target desktop . It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its movement operation, the entire operation process is simple and quick, which solves the problem that the movement process is very cumbersome when there are too many icons to be moved in the related art.
  • FIG. 1 shows a flowchart of a method for organizing desktop icons according to some embodiments of the present disclosure
  • FIG. 2 shows a schematic diagram of an interface display for selecting a target icon on the current desktop in some embodiments of the present disclosure
  • FIG. 3 shows a schematic diagram of an interface display for selecting a target icon on other desktops in some embodiments of the present disclosure
  • FIG. 4 shows a schematic diagram of an interface display when all target icons can be accommodated in the free positions on the target desktop in some embodiments of the present disclosure
  • FIG. 5 shows a schematic diagram of an interface display when all the target icons cannot be accommodated in the free positions on the target desktop in some embodiments of the present disclosure
  • FIG. 6 shows a schematic view of the interface displayed when the user selects the option of creating a new folder in FIG. 5;
  • Figure 7 shows a schematic diagram of the interface display after all target icons have been moved to the new folder
  • FIG. 8 shows a schematic view of the interface display where the user selects the option to replace the current desktop icon in FIG. 5;
  • FIG. 9 is a schematic diagram showing the icons currently displayed on the target desktop and the thumbnails of the target icons
  • FIG. 10 shows a schematic diagram of an interface display prompting the number of icons that need to be replaced on the current target desktop
  • FIG. 11 shows a schematic view of the interface display after the user selects the replaced icon on the interface shown in FIG. 10;
  • FIG. 13 shows a second structural block diagram of a terminal provided by some embodiments of the present disclosure.
  • FIG. 14 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present disclosure.
  • An embodiment of the present disclosure provides a method for organizing desktop icons. As shown in FIG. 1, the method includes:
  • Step 101 Monitor the user's drag operation of dragging the selected at least one target icon to the target desktop.
  • At least one target icon selected by the user is located on at least one desktop, that is, in the embodiment of the present disclosure, the user can select the target icon to be moved on one desktop, and can also switch to the other desktop to select the target icon to be moved . Therefore, the embodiments of the present disclosure may enable the user to select multiple target icons on the desktop that need to be moved at once.
  • Step 102 Display an option list on the target desktop.
  • the option list includes a folder creation option and an icon replacement option.
  • an option list is displayed on the target desktop.
  • the method further includes:
  • the step of displaying a list of options on the target desktop is performed.
  • the judgment on whether the free position on the target desktop can accommodate the target icon can be achieved. Specifically, when the sum of the number of icons currently displayed on the target desktop and the number of target icons is less than or equal to the total number of icons that can be placed on the target desktop, it means that the free position on the target desktop can accommodate the target icon; when the target desktop currently displays When the sum of the number of icons and the number of target icons is greater than the total number of icons that can be placed on the target desktop, it means that the free space on the target desktop cannot accommodate the target icon.
  • the method further includes:
  • the target icon is moved to the free position on the target desktop.
  • Step 103 When it is detected that the option to create a folder is selected, a folder is created on the target desktop, and the target icon is moved to the folder.
  • the folder when the user selects the option to create a folder, the folder is directly created on the target desktop, and then the target icon is moved to the created folder. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its mobile operation, the entire operation process is simple and fast.
  • the step of creating a folder on the target desktop and moving the target icon to the folder includes:
  • the location for creating the folder is not limited to the first free location from left to right on the target desktop, but may also be the location of the move operation on the target desktop.
  • Step 104 When detecting that the icon replacement option is selected, perform a position replacement operation between the currently displayed icon on the target desktop and the target icon.
  • the position replacement operation between the currently displayed icon on the target desktop and the target icon is directly performed. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its mobile operation, the entire operation process is simple and fast.
  • the step of performing a position replacement operation between the icon currently displayed on the target desktop and the target icon includes:
  • a thumbnail is displayed on the target desktop, so that the user can clearly see the icon currently displayed on the target desktop and the target icon that needs to be moved.
  • the user selects one of the icons currently displayed on the target desktop in the thumbnail, it means that the icon needs to be replaced by the target icon.
  • the free position on the target desktop can accommodate the remaining target icon at this time, and until it can be accommodated, move the remaining target icon to the target Free space on the desktop.
  • step of selecting an icon from the target icons as the first icon to be moved includes:
  • the first icon in the target icon that is determined to be moved is determined as the first icon to be moved.
  • the target icon may be selected first according to the order in which the target icon is initially selected as the icon to be moved Icon is determined as the first icon to be moved.
  • the method further includes:
  • the second icon to be moved in the target icon in the thumbnail is selected, the second icon to be moved is restored to the original position.
  • the target icon needs to be restored to the original position, that is, the user gave up moving the icon.
  • the thumbnail includes the icon currently displayed on the target desktop and the target icon selected by the user that needs to be moved, and when the user selects one of the icons currently displayed on the target desktop in the thumbnail, The icon is replaced by one of the target icons; when the user selects one of the target icons in the thumbnail, the target icon needs to be restored to the original position.
  • the method further includes:
  • the number of icons currently displayed on the target desktop that need to be replaced is displayed in real time.
  • the number of icons currently displayed on the target desktop that need to be replaced is displayed in real time, so that the user knows in time that he needs to select several icons that need to be replaced in the thumbnail, which further facilitates the user's operation.
  • Step 201 Trigger a desktop icon batch sorting mode through a preset desktop sorting trigger mechanism.
  • Step 202 The user selects at least one target icon to be moved in at least one desktop. As shown in FIG. 2, select the target icon to be moved on the current desktop, then slide to another desktop (as shown in FIG. 3), and continue to select the target icon to be moved.
  • Step 203 Drag one of the target icons to the target desktop to trigger the system to automatically determine whether the free location on the target desktop can accommodate all the target icons selected by the user. If it can, then go to step 204, otherwise go to step 205.
  • Step 204 Move the target icon to the free position of the target desktop in order from top to bottom and from left to right, as shown in FIG. 4.
  • Step 205 Display a pull-up list at the position pressed by the user's finger.
  • the list includes: a new folder option and an option to replace the current desktop icon, as shown in FIG. 5.
  • Step 206 When the user selects "New Folder” (as shown in FIG. 6), create an empty folder on the target desktop, and put all the target icons into the new folder, as shown in FIG. 7.
  • Step 207 When the user selects "Replace current desktop icon" (as shown in FIG. 8), the icon currently displayed on the target desktop and the thumbnail of the target icon are displayed (as shown in FIG. 9).
  • Step 208 When the user selects the icon currently displayed on the target desktop in the thumbnail (as shown in FIG. 10), the icon will be placed to the original position of the icon that will replace its position.
  • the target icon in the thumbnail it is equivalent to giving up the movement of the icon, and the icon will return to the original position.
  • the number of icons currently displayed on the target desktop that need to be replaced will also be displayed on the target desktop in real time, as shown in FIGS. 9 and 10.
  • Step 209 judging whether the spare position on the target desktop can accommodate the remaining target icon, if it can be accommodated, then perform step 210, otherwise execute step 208, and continue to select an alternative icon.
  • Step 210 Move the remaining target icons to the free positions on the target desktop in order from top to bottom and from left to right.
  • the schematic diagram of the display of the target desktop after completing the movement operation of all target icons is shown in FIG. 11.
  • Step 211 When the user does not select any one of the options in the list displayed in step 205, the preset desktop organizing abandonment mechanism is triggered, all target icons are restored to the original position, and the desktop organizing is abandoned.
  • the user can exit the desktop sorting by triggering the preset desktop sorting exit mechanism, then any previous modification will be abandoned and restored to the original state.
  • the terminal 120 includes:
  • the monitoring module 121 is configured to monitor the user's drag operation of dragging the selected at least one target icon to the target desktop;
  • the display module 122 is configured to display an option list on the target desktop, where the option list includes a folder creation option and an icon replacement option;
  • the first moving module 123 is configured to create a folder on the target desktop when it is detected that the option to create a folder is selected, and move the target icon to the folder;
  • the second moving module 124 is configured to perform a position replacement operation between the icon currently displayed on the target desktop and the target icon when it is detected that the icon replacement option is selected.
  • the terminal further includes:
  • the judging module 125 is used to judge whether the free position on the target desktop can accommodate the target icon, and when the free position on the target desktop cannot accommodate the target icon, trigger the display module 122 to A list of options is displayed on the target desktop.
  • the terminal 120 further includes:
  • the third moving module is configured to move the target icon to a free position on the target desktop when the free position on the target desktop can accommodate the target icon.
  • the first mobile module 123 includes:
  • a creating unit used to create a folder at the first free position from left to right on the target desktop
  • the moving unit is configured to move the target icon into the folder in order from top to bottom and from left to right.
  • the second mobile module 124 includes:
  • a thumbnail display unit 1241 configured to display a thumbnail on the target desktop, the thumbnail including the target icon and the icon currently displayed on the target desktop;
  • the replacement unit 1242 is used to select an icon from the target icon as the first icon to be moved when the first icon of the icons currently displayed on the target desktop in the thumbnail is selected, and The first icon to be moved moves to the position of the first icon, and the first icon is moved to the original position of the first icon to be moved until the free position on the target desktop can accommodate the remaining In the case of the target icon, the remaining target icons are moved from the top to the bottom and from left to right in an order from the free position on the target desktop.
  • the terminal 120 further includes:
  • the restoration module 126 is configured to restore the second icon to be moved to the original position when the second icon to be moved in the target icon in the thumbnail is selected.
  • the terminal 120 further includes:
  • the quantity display module is used to display in real time the quantity of icons currently displayed on the target desktop that need to be replaced.
  • the replacement unit 1242 selects one icon from the target icons as the first icon to be moved, it is specifically used to:
  • the first icon in the target icon that is determined to be moved is determined as the first icon to be moved.
  • the embodiments of the present disclosure can move the target icon that needs to be moved to the folder created on the target desktop, or replace it with the currently displayed icon on the target desktop, so as to achieve the movement of the target icon To the purpose on the target desktop. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its movement operation, the entire operation process is simple and quick, which solves the problem that the movement process is very cumbersome when there are too many icons to be moved in the related art.
  • the terminal 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, The user input unit 1407, interface unit 1408, memory 1409, processor 1410, power supply 1411 and other components.
  • the terminal structure shown in FIG. 14 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown, or combine certain components, or arrange different components.
  • terminals include but are not limited to mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle terminals, wearable devices, and pedometers.
  • the processor 1410 is used to monitor the user's drag operation of dragging the selected at least one target icon to the target desktop; controlling the display unit 1406 to display an option list on the target desktop, the option list including a folder creation option And icon replacement options; when it is detected that the create folder option is selected, a folder is created on the target desktop, and the target icon is moved to the folder; when the icon replacement option is detected When selected, the position replacement operation between the icon currently displayed on the target desktop and the target icon is performed.
  • the terminal 1400 of some embodiments of the present disclosure can move the target icon that needs to be moved to the folder created on the target desktop, or replace it with the currently displayed icon on the target desktop, so as to move the target icon To the purpose on the target desktop. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its movement operation, the entire operation process is simple and quick, which solves the problem that the movement process is very cumbersome when there are too many icons to be moved in the related art.
  • the radio frequency unit 1401 may be used to receive and send signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1410; To send the uplink data to the base station.
  • the radio frequency unit 1401 includes, but is not limited to, at least two antennas, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, and the like.
  • the radio frequency unit 1401 can also communicate with the network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 1402, such as helping users send and receive e-mail, browse web pages, and access streaming media.
  • the audio output unit 1403 may convert the audio data received by the radio frequency unit 1401 or the network module 1402 or stored in the memory 1409 into an audio signal and output as sound. Moreover, the audio output unit 1403 may also provide audio output related to a specific function performed by the terminal 1400 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1404 is used to receive audio or video signals.
  • the input unit 1404 may include a graphics processor (Graphics, Processing, Unit, GPU) 14041 and a microphone 14042.
  • the graphics processor 14041 displays images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame may be displayed on the display unit 1406.
  • the image frame processed by the graphics processor 14041 may be stored in the memory 1409 (or other storage medium) or sent via the radio frequency unit 1401 or the network module 1402.
  • the microphone 14042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 1401 in the case of the telephone call mode and output.
  • the terminal 1400 also includes at least one sensor 1405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 14061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 14061 and / or when the terminal 1400 moves to the ear Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used to recognize the posture of the terminal (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 1405 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
  • the display unit 1406 is used to display information input by the user or information provided to the user.
  • the display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • LCD Liquid Crystal
  • OLED Organic Light-Emitting Diode
  • the user input unit 1407 can be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the terminal.
  • the user input unit 1407 includes a touch panel 14071 and other input devices 14072.
  • the touch panel 14071 also known as a touch screen, can collect user's touch operations on or near it (such as the user using any finger, stylus, or any other suitable object or accessory on or near the touch panel 14071. operating).
  • the touch panel 14071 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 1410, the command sent by the processor 1410 is received and executed.
  • the touch panel 14071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 1407 may also include other input devices 14072.
  • other input devices 14072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not repeated here.
  • the touch panel 14071 can be overlaid on the display panel 14061.
  • the touch panel 14071 detects a touch operation on or near it, it is transmitted to the processor 1410 to determine the type of touch event, and then the processor 1410 according to the touch The type of event provides corresponding visual output on the display panel 14061.
  • the touch panel 14071 and the display panel 14061 are implemented as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 14071 and the display panel 14061 may be integrated to The input and output functions of the terminal are implemented, which is not limited here.
  • the interface unit 1408 is an interface for connecting an external device to the terminal 1400.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input / output (I / O) port, video I / O port, headphone port, etc.
  • the interface unit 1408 may be used to receive input from external devices (eg, data information, power, etc.) and transmit the received input to one or more elements within the terminal 1400 or may be used between the terminal 1400 and external devices Transfer data between.
  • the memory 1409 can be used to store software programs and various data.
  • the memory 1409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one function required application programs (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store Data created by the use of mobile phones (such as audio data, phone books, etc.), etc.
  • the memory 1409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1410 is the control center of the terminal, and uses various interfaces and lines to connect the various parts of the entire terminal, by running or executing the software programs and / or modules stored in the memory 1409, and calling the data stored in the memory 1409 to execute Various functions and processing data of the terminal, so as to monitor the terminal as a whole.
  • the processor 1410 may include one or more processing units; optionally, the processor 1410 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, etc.
  • the modulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1410.
  • the terminal 1400 may also include a power supply 1411 (such as a battery) that supplies power to various components.
  • a power supply 1411 such as a battery
  • the power supply 1411 may be logically connected to the processor 1410 through a power management system, thereby managing charge, discharge, and power management through the power management system And other functions.
  • the terminal 1400 includes some function modules not shown, which will not be repeated here.
  • Some embodiments of the present disclosure also provide a computer-readable storage medium that stores a computer program on the computer-readable storage medium.
  • the computer program is executed by a processor, the processes of the foregoing desktop icon sorting method embodiments are implemented, and To achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Abstract

A desktop icon organizing method and a terminal. The method comprises: monitoring a drag operation of a user dragging at least one selected target icon to a target desktop (101); displaying an option list on the target desktop, the option list comprising a folder creation option and an icon replacement option (102); if it is detected that the folder creation option is selected, creating a folder on the target desktop, and moving the target icon to the folder (103); if it is detected that the icon replacement option is selected, replacing the position of an icon currently displayed on the target desktop with the target icon (104).

Description

桌面图标的整理方法及终端Desktop icon sorting method and terminal
相关申请的交叉引用Cross-reference of related applications
本申请主张在2018年10月30日在中国提交的中国专利申请号No.201811276065.3的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201811276065.3 filed in China on October 30, 2018, the entire contents of which are hereby incorporated by reference.
技术领域Technical field
本公开涉及终端控制技术领域,尤其涉及一种桌面图标的整理方法及终端。The present disclosure relates to the field of terminal control technology, and in particular, to a method and terminal for organizing desktop icons.
背景技术Background technique
在智能手机中,每一个应用程序均有其对应的图标,通过对应用程序的图标进行操作,可以有效的使用并管理各种应用程序。其中,应用程序逐渐多样化,使得智能手机上安装有多个应用程序,而不同的用户具有不同的使用习惯,所以,对于智能手机桌面上应用图标的管理方式各不相同。In a smart phone, each application has its corresponding icon. By operating the icon of the application, various applications can be effectively used and managed. Among them, the application programs are gradually diversified, so that multiple applications are installed on the smartphone, and different users have different usage habits. Therefore, the management methods of the application icons on the smartphone desktop are different.
然而,相关技术中,在对智能手机桌面上的应用图片进行移动时,当需要移动的图标数量过多,使得目标桌面上无法容纳时,用户只能放弃本次移动操作。然后,将目标桌面上的图标移出几个,重新执行上次移动操作,才能将全部需要移动的图标移动完毕。由此可知,当需要移动的图标数量过多时,其移动过程非常繁琐。However, in the related art, when the application pictures on the desktop of the smartphone are moved, when the number of icons to be moved is too large to make the target desktop unacceptable, the user can only give up the move operation. Then, move the icons on the target desktop a few times and re-execute the last move operation to move all the icons that need to be moved. It can be seen from this that when there are too many icons to be moved, the moving process is very cumbersome.
发明内容Summary of the invention
本公开的实施例提供了一种桌面图标的整理方法及终端,以解决相关技术中当需要移动的图标数量过多时,其移动过程非常繁琐的问题。The embodiments of the present disclosure provide a method and a terminal for organizing desktop icons, to solve the problem that the moving process is very cumbersome when there are too many icons to be moved in the related art.
第一方面,本公开的实施例提供了一种桌面图标的整理方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for organizing desktop icons, including:
监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作;Monitoring the user's drag operation of dragging the selected at least one target icon to the target desktop;
在所述目标桌面上显示一选项列表,所述选项列表包括创建文件夹选项和图标替换选项;Displaying an option list on the target desktop, the option list including a folder creation option and an icon replacement option;
当检测到所述创建文件夹选项被选中时,在所述目标桌面上创建文件夹, 将所述目标图标移动至所述文件夹中;When it is detected that the option to create a folder is selected, a folder is created on the target desktop, and the target icon is moved to the folder;
当检测到所述图标替换选项被选中时,执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作。When it is detected that the icon replacement option is selected, a position replacement operation between the icon currently displayed on the target desktop and the target icon is performed.
第二方面,本公开的实施例还提供了一种终端,包括:In a second aspect, an embodiment of the present disclosure also provides a terminal, including:
监测模块,用于监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作;The monitoring module is used to monitor the user's drag operation of dragging the selected at least one target icon to the target desktop;
显示模块,用于在所述目标桌面上显示一选项列表,所述选项列表包括创建文件夹选项和图标替换选项;A display module, configured to display an option list on the target desktop, the option list including a folder creation option and an icon replacement option;
第一移动模块,用于当检测到所述创建文件夹选项被选中时,在所述目标桌面上创建文件夹,将所述目标图标移动至所述文件夹中;A first moving module, configured to create a folder on the target desktop when it is detected that the option to create a folder is selected, and move the target icon to the folder;
第二移动模块,用于当检测到所述图标替换选项被选中时,执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作。The second moving module is configured to perform a position replacement operation between the icon currently displayed on the target desktop and the target icon when it is detected that the icon replacement option is selected.
第三方面,本公开的实施例提供了一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现如上述所述的桌面图标的整理方法。In a third aspect, an embodiment of the present disclosure provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor implements the program when it executes the program The method for organizing desktop icons as described above.
第四方面,本公开的实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述所述的桌面图标的整理方法中的步骤。According to a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps in the method for organizing desktop icons as described above.
本公开的一些实施例的有益效果是:The beneficial effects of some embodiments of the present disclosure are:
本公开的实施例,能够将需要移动的目标图标移动到目标桌面上所创建的文件夹中,或者与目标桌面上当前所显示的图标进行替换,从而达到将目标图标移动到目标桌面上的目的。由此可知,本公开的实施例,在需要移动的目标图标数量过多,使得目标桌面上无法容纳时,无需放弃本次移动操作,直接就可以在目标桌面上无法容纳过多目标图标时实现对其的移动操作,整个操作过程简单快捷,解决了相关技术中当需要移动的图标数量过多时,其移动过程非常繁琐的问题。The embodiment of the present disclosure can move the target icon that needs to be moved to the folder created on the target desktop, or replace it with the currently displayed icon on the target desktop, so as to achieve the purpose of moving the target icon to the target desktop . It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its movement operation, the entire operation process is simple and quick, which solves the problem that the movement process is very cumbersome when there are too many icons to be moved in the related art.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本公开的一些实施例的技术方案,下面将对本公开的 一些实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions of some embodiments of the present disclosure, the drawings required for the description of some embodiments of the present disclosure will be briefly introduced below. Obviously, the drawings in the following description are only the present disclosure For some of the embodiments, for those of ordinary skill in the art, without paying any creative labor, other drawings may be obtained based on these drawings.
图1表示本公开的一些实施例的桌面图标的整理方法的流程图;FIG. 1 shows a flowchart of a method for organizing desktop icons according to some embodiments of the present disclosure;
图2表示本公开的一些实施例中在当前桌面上选择目标图标的界面显示示意图;2 shows a schematic diagram of an interface display for selecting a target icon on the current desktop in some embodiments of the present disclosure;
图3表示本公开的一些实施例中在其他桌面上选择目标图标的界面显示示意图;FIG. 3 shows a schematic diagram of an interface display for selecting a target icon on other desktops in some embodiments of the present disclosure;
图4表示本公开的一些实施例中目标桌面上的空余位置能够容纳所有目标图标时的界面显示示意图;FIG. 4 shows a schematic diagram of an interface display when all target icons can be accommodated in the free positions on the target desktop in some embodiments of the present disclosure;
图5表示本公开的一些实施例中目标桌面上的空余位置无法容纳所有目标图标时的界面显示示意图;FIG. 5 shows a schematic diagram of an interface display when all the target icons cannot be accommodated in the free positions on the target desktop in some embodiments of the present disclosure;
图6表示用户选中图5中的新建文件夹选项的界面显示示意图;FIG. 6 shows a schematic view of the interface displayed when the user selects the option of creating a new folder in FIG. 5;
图7表示所有目标图标被移动到新建文件夹中后的界面显示示意图;Figure 7 shows a schematic diagram of the interface display after all target icons have been moved to the new folder;
图8表示用户选中图5中的替换当前桌面图标选项的界面显示示意图;FIG. 8 shows a schematic view of the interface display where the user selects the option to replace the current desktop icon in FIG. 5;
图9表示目标桌面当前所显示的图标和目标图标的缩略图的显示示意图;9 is a schematic diagram showing the icons currently displayed on the target desktop and the thumbnails of the target icons;
图10表示提示当前目标桌面上需要被替换的图标的数量的界面显示示意图;10 shows a schematic diagram of an interface display prompting the number of icons that need to be replaced on the current target desktop;
图11表示用户在图10所示的界面上选择被替换的图标之后的界面显示示意图;11 shows a schematic view of the interface display after the user selects the replaced icon on the interface shown in FIG. 10;
图12表示本公开的一些实施例提供的终端的结构框图之一;12 shows one of the structural block diagrams of the terminal provided by some embodiments of the present disclosure;
图13表示本公开的一些实施例提供的终端的结构框图之二;13 shows a second structural block diagram of a terminal provided by some embodiments of the present disclosure;
图14表示本公开的实施例提供的一种终端的硬件结构示意图。14 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本公开的一些实施例中的附图,对本公开的一些实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护 的范围。The technical solutions in some embodiments of the present disclosure will be described clearly and completely in the following with reference to the drawings in some embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of them. example. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.
本公开的实施例提供了一种桌面图标的整理方法,如图1所示,该方法包括:An embodiment of the present disclosure provides a method for organizing desktop icons. As shown in FIG. 1, the method includes:
步骤101:监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作。Step 101: Monitor the user's drag operation of dragging the selected at least one target icon to the target desktop.
其中,用户选择的至少一个目标图标位于至少一个桌面上,即本公开的实施例中,用户可以在一个桌面上选择需要移动的目标图标后,还可以切换到其他桌面上选择需要移动的目标图标。因此,本公开的实施例,可以使得用户一次性选择多个桌面上需要移动的目标图标。Among them, at least one target icon selected by the user is located on at least one desktop, that is, in the embodiment of the present disclosure, the user can select the target icon to be moved on one desktop, and can also switch to the other desktop to select the target icon to be moved . Therefore, the embodiments of the present disclosure may enable the user to select multiple target icons on the desktop that need to be moved at once.
步骤102:在所述目标桌面上显示一选项列表,所述选项列表包括创建文件夹选项和图标替换选项。Step 102: Display an option list on the target desktop. The option list includes a folder creation option and an icon replacement option.
即当检测到用户将选择的至少一个目标图像拖动至目标桌面的拖动操作时,在所述目标桌面上显示一选项列表。That is, when a drag operation in which the user drags the selected at least one target image to the target desktop is detected, an option list is displayed on the target desktop.
进一步地,步骤101之后,所述方法还包括:Further, after step 101, the method further includes:
判断所述目标桌面上的空余位置是否能够容纳所述目标图标;Judging whether the free position on the target desktop can accommodate the target icon;
当所述目标桌面上的空余位置无法容纳所述目标图标时,执行在所述目标桌面上显示一选项列表的步骤。When the free position on the target desktop cannot accommodate the target icon, the step of displaying a list of options on the target desktop is performed.
其中,可以通过将目标桌面当前所显示的图标的数量与目标图标的数量之和与目标桌面可放置图标总数进行比较,来实现对目标桌面上的空余位置是否能够容纳目标图标的判断。具体地,当目标桌面当前所显示的图标的数量与目标图标的数量之和小于或等于目标桌面可放置图标总数时,表示目标桌面上的空余位置能够容纳目标图标;当目标桌面当前所显示的图标的数量与目标图标的数量之和大于目标桌面可放置图标总数时,表示目标桌面上的空余位置无法容纳目标图标。Wherein, by comparing the sum of the number of icons currently displayed on the target desktop and the number of target icons with the total number of icons that can be placed on the target desktop, the judgment on whether the free position on the target desktop can accommodate the target icon can be achieved. Specifically, when the sum of the number of icons currently displayed on the target desktop and the number of target icons is less than or equal to the total number of icons that can be placed on the target desktop, it means that the free position on the target desktop can accommodate the target icon; when the target desktop currently displays When the sum of the number of icons and the number of target icons is greater than the total number of icons that can be placed on the target desktop, it means that the free space on the target desktop cannot accommodate the target icon.
由上述可知,在检测到用户将所选择的目标图标中的其中一个拖动到目标桌面上时,会触发判断目标桌面上的空余位置是否能够容纳用户所选择的所有目标图标的步骤,进而在无法容纳时,为用户提供具体的移动选项(即创建文件夹选项和图标替换选项)。As can be seen from the above, when it is detected that the user drags one of the selected target icons to the target desktop, a step of judging whether the free position on the target desktop can accommodate all the target icons selected by the user is triggered, and then When it cannot be accommodated, the user is provided with specific moving options (ie, creating folder options and icon replacement options).
进一步地,所述判断所述目标桌面上的空余位置是否能够容纳所述目标 图标的步骤之后,所述方法还包括:Further, after the step of determining whether the free position on the target desktop can accommodate the target icon, the method further includes:
当所述目标桌面上的空余位置能够容纳所述目标图标时,将所述目标图标移动到所述目标桌面上的空余位置处。When the free position on the target desktop can accommodate the target icon, the target icon is moved to the free position on the target desktop.
即在目标桌面上的空余位置能够容纳用户所选择的所有目标图标时,则直接将用户所选择的所有目标图标移动到目标桌面上的空余位置处。具体地,在目标桌面上的空余位置能够容纳用户所选择的所有目标图标时,按照从上到下,从左到右的顺序依次将用户所选择的所有目标图标放置在目标桌面上的空余位置处。That is, when the free position on the target desktop can accommodate all the target icons selected by the user, all the target icons selected by the user are directly moved to the free positions on the target desktop. Specifically, when the free position on the target desktop can accommodate all the target icons selected by the user, all the target icons selected by the user are placed in the free position on the target desktop in order from top to bottom, from left to right Office.
步骤103:当检测到所述创建文件夹选项被选中时,在所述目标桌面上创建文件夹,将所述目标图标移动至所述文件夹中。Step 103: When it is detected that the option to create a folder is selected, a folder is created on the target desktop, and the target icon is moved to the folder.
本公开的实施例,当用户选中创建文件夹选项时,直接在目标桌面上创建文件夹,然后将目标图标移动至所创建的文件夹中。由此可知,本公开的实施例,在需要移动的目标图标数量过多,使得目标桌面上无法容纳时,无需放弃本次移动操作,直接就可以在目标桌面上无法容纳过多目标图标时实现对其的移动操作,整个操作过程简单快捷。In the embodiment of the present disclosure, when the user selects the option to create a folder, the folder is directly created on the target desktop, and then the target icon is moved to the created folder. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its mobile operation, the entire operation process is simple and fast.
可选地,所述在所述目标桌面上创建文件夹,将所述目标图标移动至所述文件夹中的步骤,包括:Optionally, the step of creating a folder on the target desktop and moving the target icon to the folder includes:
在所述目标桌面上从左到右的第一个空余位置处创建文件夹;Create a folder at the first free location from left to right on the target desktop;
将所述目标图标按照从上到下,从左到右的顺序移动到所述文件夹中。Move the target icon into the folder in order from top to bottom and from left to right.
其中,对于创建文件夹的位置,并不局限于目标桌面上从左到右的第一个空余位置,还可以是所述移动操作在目标桌面上的位置。Wherein, the location for creating the folder is not limited to the first free location from left to right on the target desktop, but may also be the location of the move operation on the target desktop.
步骤104:当检测到所述图标替换选项被选中时,执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作。Step 104: When detecting that the icon replacement option is selected, perform a position replacement operation between the currently displayed icon on the target desktop and the target icon.
本公开的实施例,在用户选中图标替换选项时,直接执行目标桌面上当前所显示的图标与目标图标之间的位置替换操作。由此可知,本公开的实施例,在需要移动的目标图标数量过多,使得目标桌面上无法容纳时,无需放弃本次移动操作,直接就可以在目标桌面上无法容纳过多目标图标时实现对其的移动操作,整个操作过程简单快捷。In the embodiment of the present disclosure, when the user selects the icon replacement option, the position replacement operation between the currently displayed icon on the target desktop and the target icon is directly performed. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its mobile operation, the entire operation process is simple and fast.
可选地,所述执行所述目标桌面上当前所显示的图标与所述目标图标之 间的位置替换操作的步骤,包括:Optionally, the step of performing a position replacement operation between the icon currently displayed on the target desktop and the target icon includes:
在所述目标桌面上显示一缩略图,所述缩略图中包括所述目标图标和所述目标桌面上当前所显示的图标;Displaying a thumbnail on the target desktop, the thumbnail including the target icon and the icon currently displayed on the target desktop;
当所述缩略图中所述目标桌面上当前所显示的图标中的第一图标被选中时,从所述目标图标中选择一个图标作为第一待移动图标,并将所述第一待移动图标移动到所述第一图标的位置处,将所述第一图标移动到所述第一待移动图标的原始位置处,直到所述目标桌面上的空余位置可以容纳剩余的所述目标图标时,将剩余的所述目标图标按照从上到下,从左到右的顺序移动到所述目标桌面上的空余位置处。When the first icon of the icons currently displayed on the target desktop in the thumbnail is selected, select an icon from the target icon as the first icon to be moved, and set the first icon to be moved Move to the position of the first icon, move the first icon to the original position of the first icon to be moved, until the free position on the target desktop can accommodate the remaining target icon, Move the remaining target icons to the free positions on the target desktop in order from top to bottom and left to right.
即在本公开的实施例中,当用户选中图标替换选项时,在目标桌面上显示一缩略图,以使得用户可以对目标桌面当前所显示的图标以及需要移动的目标图标一目了然。其中,若用户选中缩略图中的其中一个目标桌面当前所显示的图标,则表示该图标需要被目标图标替换。并且在每将目标桌面上所显示的图标利用目标图标替换一次后,需要进一步判断此时目标桌面上的空余位置是否能够容纳剩余的目标图标,直到能够容纳时,将剩余的目标图标移动到目标桌面上的空余位置处。That is, in the embodiment of the present disclosure, when the user selects the icon replacement option, a thumbnail is displayed on the target desktop, so that the user can clearly see the icon currently displayed on the target desktop and the target icon that needs to be moved. Among them, if the user selects one of the icons currently displayed on the target desktop in the thumbnail, it means that the icon needs to be replaced by the target icon. And each time the icon displayed on the target desktop is replaced with the target icon, it is necessary to further determine whether the free position on the target desktop can accommodate the remaining target icon at this time, and until it can be accommodated, move the remaining target icon to the target Free space on the desktop.
进一步地,所述从所述目标图标中选择一个图标作为第一待移动图标的步骤,包括:Further, the step of selecting an icon from the target icons as the first icon to be moved includes:
将从所述目标图标中随机选择的一个图标作为第一待移动图标;Use an icon randomly selected from the target icons as the first icon to be moved;
或者or
将所述目标图标中最先被确定为需要被移动的图标,确定为第一待移动图标。The first icon in the target icon that is determined to be moved is determined as the first icon to be moved.
其中,对于从目标图标中选择一个图标作为第一待移动图标的方式,可以采用随机方式,也可以按照目标图标最初被选择为需要被移动的图标的先后顺序,将目标图标中最先被选择的图标确定为第一待移动图标。Among them, for the method of selecting an icon from the target icon as the first icon to be moved, a random method may be adopted, or the target icon may be selected first according to the order in which the target icon is initially selected as the icon to be moved Icon is determined as the first icon to be moved.
进一步地,所述方法还包括:Further, the method further includes:
当所述缩略图中所述目标图标中的第二待移动图标被选中时,将所述第二待移动图标恢复到原始位置处。When the second icon to be moved in the target icon in the thumbnail is selected, the second icon to be moved is restored to the original position.
即当用户选中了缩略图中的其中一个目标图标,则该目标图标需要被恢 复到原始位置,即用户放弃了对该图标的移动。That is, when the user selects one of the target icons in the thumbnail, the target icon needs to be restored to the original position, that is, the user gave up moving the icon.
由上述可知,在缩略图中包括有目标桌面当前所显示的图标以及之前用户所选择的需要被移动的目标图标,而当用户选中了缩略图中的其中一个目标桌面当前所显示的图标时,该图标则被其中一个目标图标所替换;当用户选中了缩略图中的其中一个目标图标,则该目标图标需要被恢复到原始位置。As can be seen from the above, the thumbnail includes the icon currently displayed on the target desktop and the target icon selected by the user that needs to be moved, and when the user selects one of the icons currently displayed on the target desktop in the thumbnail, The icon is replaced by one of the target icons; when the user selects one of the target icons in the thumbnail, the target icon needs to be restored to the original position.
进一步地,在所述目标桌面上显示一缩略图之后,所述方法还包括:Further, after displaying a thumbnail on the target desktop, the method further includes:
实时显示所述目标桌面上当前所显示的图标需要被替换的数量。The number of icons currently displayed on the target desktop that need to be replaced is displayed in real time.
其中,在目标桌面上实时显示当前所显示的图标需要被替换的数量,使得用户及时了解还需要在缩略图中选择几个需要被替换的图标,进一步方便了用户的操作。Among them, the number of icons currently displayed on the target desktop that need to be replaced is displayed in real time, so that the user knows in time that he needs to select several icons that need to be replaced in the thumbnail, which further facilitates the user's operation.
综上所述,本公开的一些实施例的桌面图标的整理方法的具体实施方式可如步骤201~211所述。In summary, the specific implementation of the method for organizing desktop icons in some embodiments of the present disclosure may be as described in steps 201-211.
步骤201:通过预设的桌面整理触发机制,触发桌面图标批量整理模式。Step 201: Trigger a desktop icon batch sorting mode through a preset desktop sorting trigger mechanism.
步骤202:用户在至少一个桌面中选择至少一个待移动的目标图标。如图2所示,在当前桌面选择待移动的目标图标,接着,滑动到其他桌面(如图3所示),继续选择待移动的目标图标。Step 202: The user selects at least one target icon to be moved in at least one desktop. As shown in FIG. 2, select the target icon to be moved on the current desktop, then slide to another desktop (as shown in FIG. 3), and continue to select the target icon to be moved.
步骤203:拖拽其中一个目标图标,到目标桌面,触发系统自动判断目标桌面上的空余位置是否能够容纳用户所选择的所有目标图标,若能够容纳,则执行步骤204,否则执行步骤205。Step 203: Drag one of the target icons to the target desktop to trigger the system to automatically determine whether the free location on the target desktop can accommodate all the target icons selected by the user. If it can, then go to step 204, otherwise go to step 205.
步骤204:将目标图标按照从上到下,从左到右的顺序依次移动到目标桌面的空余位置处,如图4所示。Step 204: Move the target icon to the free position of the target desktop in order from top to bottom and from left to right, as shown in FIG. 4.
步骤205:在用户手指按压位置处显示上拉列表,列表包括:新建文件夹选项和替换当前桌面图标的选项,如图5所示。Step 205: Display a pull-up list at the position pressed by the user's finger. The list includes: a new folder option and an option to replace the current desktop icon, as shown in FIG. 5.
步骤206:当用户选中“新建文件夹”时(如图6所示),在目标桌面新建一个空文件夹,并将目标图标,全部放入新建文件夹中,如图7所示。Step 206: When the user selects "New Folder" (as shown in FIG. 6), create an empty folder on the target desktop, and put all the target icons into the new folder, as shown in FIG. 7.
步骤207:当用户选中“替换当前桌面图标”时(如图8所示),显示目标桌面当前所显示的图标和目标图标的缩略图(如图9所示)。Step 207: When the user selects "Replace current desktop icon" (as shown in FIG. 8), the icon currently displayed on the target desktop and the thumbnail of the target icon are displayed (as shown in FIG. 9).
步骤208:当用户选中缩略图中目标桌面上当前所显示的图标时(如图10所示),该图标会被放置到即将替换其位置的图标的原始位置。当用户选中缩 略图中的目标图标时,等价于放弃对该图标的移动,该图标会恢复到原始位置。其中,还会在目标桌面上实时显示目标桌面上当前所显示的图标需要被替换的数量,如图9和图10所示。Step 208: When the user selects the icon currently displayed on the target desktop in the thumbnail (as shown in FIG. 10), the icon will be placed to the original position of the icon that will replace its position. When the user selects the target icon in the thumbnail, it is equivalent to giving up the movement of the icon, and the icon will return to the original position. Among them, the number of icons currently displayed on the target desktop that need to be replaced will also be displayed on the target desktop in real time, as shown in FIGS. 9 and 10.
步骤209:判断目标桌面上的空余位置是否能够容纳剩余的目标图标,如果能够容纳,则执行步骤210,否则执行步骤208,继续选择替换的图标。Step 209: judging whether the spare position on the target desktop can accommodate the remaining target icon, if it can be accommodated, then perform step 210, otherwise execute step 208, and continue to select an alternative icon.
步骤210:将剩余的目标图标,按照从上到下,从左到右的顺序依次移动到目标桌面上的空余位置处。其中,完成对所有目标图标的移动操作后目标桌面的显示示意图如图11所示。Step 210: Move the remaining target icons to the free positions on the target desktop in order from top to bottom and from left to right. Among them, the schematic diagram of the display of the target desktop after completing the movement operation of all target icons is shown in FIG. 11.
步骤211:当用户未选择步骤205中显示的列表中任意一个选项时,即触发预设的桌面整理放弃机制,将所有目标图标恢复到原始位置,放弃本次桌面整理。Step 211: When the user does not select any one of the options in the list displayed in step 205, the preset desktop organizing abandonment mechanism is triggered, all target icons are restored to the original position, and the desktop organizing is abandoned.
其中,在整个桌面整理过程中,用户都可以通过触发预设的桌面整理退出机制,退出桌面整理,则之前的任何修改都将放弃并恢复到原始状态。Among them, during the entire desktop sorting process, the user can exit the desktop sorting by triggering the preset desktop sorting exit mechanism, then any previous modification will be abandoned and restored to the original state.
本公开的实施例还提供了一种终端,如图12所示,该终端120包括:An embodiment of the present disclosure also provides a terminal. As shown in FIG. 12, the terminal 120 includes:
监测模块121,用于监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作;The monitoring module 121 is configured to monitor the user's drag operation of dragging the selected at least one target icon to the target desktop;
显示模块122,用于在所述目标桌面上显示一选项列表,所述选项列表包括创建文件夹选项和图标替换选项;The display module 122 is configured to display an option list on the target desktop, where the option list includes a folder creation option and an icon replacement option;
第一移动模块123,用于当检测到所述创建文件夹选项被选中时,在所述目标桌面上创建文件夹,将所述目标图标移动至所述文件夹中;The first moving module 123 is configured to create a folder on the target desktop when it is detected that the option to create a folder is selected, and move the target icon to the folder;
第二移动模块124,用于当检测到所述图标替换选项被选中时,执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作。The second moving module 124 is configured to perform a position replacement operation between the icon currently displayed on the target desktop and the target icon when it is detected that the icon replacement option is selected.
可选地,如图13所示,所述终端还包括:Optionally, as shown in FIG. 13, the terminal further includes:
判断模块125,用于判断所述目标桌面上的空余位置是否能够容纳所述目标图标,并在所述目标桌面上的空余位置无法容纳所述目标图标时,触发所述显示模块122在所述目标桌面上显示一选项列表。The judging module 125 is used to judge whether the free position on the target desktop can accommodate the target icon, and when the free position on the target desktop cannot accommodate the target icon, trigger the display module 122 to A list of options is displayed on the target desktop.
可选地,所述终端120还包括:Optionally, the terminal 120 further includes:
第三移动模块,用于当所述目标桌面上的空余位置能够容纳所述目标图标时,将所述目标图标移动到所述目标桌面上的空余位置处。The third moving module is configured to move the target icon to a free position on the target desktop when the free position on the target desktop can accommodate the target icon.
可选地,所述第一移动模块123包括:Optionally, the first mobile module 123 includes:
创建单元,用于在所述目标桌面上从左到右的第一个空余位置处创建文件夹;A creating unit, used to create a folder at the first free position from left to right on the target desktop;
移动单元,用于将所述目标图标按照从上到下,从左到右的顺序移动到所述文件夹中。The moving unit is configured to move the target icon into the folder in order from top to bottom and from left to right.
可选地,如图13所示,所述第二移动模块124包括:Optionally, as shown in FIG. 13, the second mobile module 124 includes:
缩略图显示单元1241,用于在所述目标桌面上显示一缩略图,所述缩略图中包括所述目标图标和所述目标桌面上当前所显示的图标;A thumbnail display unit 1241, configured to display a thumbnail on the target desktop, the thumbnail including the target icon and the icon currently displayed on the target desktop;
替换单元1242,用于当所述缩略图中所述目标桌面上当前所显示的图标中的第一图标被选中时,从所述目标图标中选择一个图标作为第一待移动图标,并将所述第一待移动图标移动到所述第一图标的位置处,将所述第一图标移动到所述第一待移动图标的原始位置处,直到所述目标桌面上的空余位置可以容纳剩余的所述目标图标时,将剩余的所述目标图标按照从上到下,从左到右的顺序移动到所述目标桌面上的空余位置处。The replacement unit 1242 is used to select an icon from the target icon as the first icon to be moved when the first icon of the icons currently displayed on the target desktop in the thumbnail is selected, and The first icon to be moved moves to the position of the first icon, and the first icon is moved to the original position of the first icon to be moved until the free position on the target desktop can accommodate the remaining In the case of the target icon, the remaining target icons are moved from the top to the bottom and from left to right in an order from the free position on the target desktop.
可选地,如图13所示,所述终端120还包括:Optionally, as shown in FIG. 13, the terminal 120 further includes:
恢复模块126,用于当所述缩略图中所述目标图标中的第二待移动图标被选中时,将所述第二待移动图标恢复到原始位置处。The restoration module 126 is configured to restore the second icon to be moved to the original position when the second icon to be moved in the target icon in the thumbnail is selected.
可选地,所述终端120还包括:Optionally, the terminal 120 further includes:
数量显示模块,用于实时显示所述目标桌面上当前所显示的图标需要被替换的数量。The quantity display module is used to display in real time the quantity of icons currently displayed on the target desktop that need to be replaced.
可选地,所述替换单元1242在从所述目标图标中选择一个图标作为第一待移动图标时,具体用于:Optionally, when the replacement unit 1242 selects one icon from the target icons as the first icon to be moved, it is specifically used to:
将从所述目标图标中随机选择的一个图标作为第一待移动图标;Use an icon randomly selected from the target icons as the first icon to be moved;
或者or
将所述目标图标中最先被确定为需要被移动的图标,确定为第一待移动图标。The first icon in the target icon that is determined to be moved is determined as the first icon to be moved.
因此,由上述可知,本公开的实施例,能够将需要移动的目标图标移动到目标桌面上所创建的文件夹中,或者与目标桌面上当前所显示的图标进行替换,从而达到将目标图标移动到目标桌面上的目的。由此可知,本公开的 实施例,在需要移动的目标图标数量过多,使得目标桌面上无法容纳时,无需放弃本次移动操作,直接就可以在目标桌面上无法容纳过多目标图标时实现对其的移动操作,整个操作过程简单快捷,解决了相关技术中当需要移动的图标数量过多时,其移动过程非常繁琐的问题。Therefore, as can be seen from the above, the embodiments of the present disclosure can move the target icon that needs to be moved to the folder created on the target desktop, or replace it with the currently displayed icon on the target desktop, so as to achieve the movement of the target icon To the purpose on the target desktop. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its movement operation, the entire operation process is simple and quick, which solves the problem that the movement process is very cumbersome when there are too many icons to be moved in the related art.
本公开的实施例还提供了一种终端,如图14所示,该终端1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输入单元1407、接口单元1408、存储器1409、处理器1410、以及电源1411等部件。本领域技术人员可以理解,图14中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开的一些实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。An embodiment of the present disclosure also provides a terminal. As shown in FIG. 14, the terminal 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, The user input unit 1407, interface unit 1408, memory 1409, processor 1410, power supply 1411 and other components. Those skilled in the art may understand that the terminal structure shown in FIG. 14 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown, or combine certain components, or arrange different components. In some embodiments of the present disclosure, terminals include but are not limited to mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle terminals, wearable devices, and pedometers.
其中,处理器1410用于监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作;控制显示单元1406在所述目标桌面上显示一选项列表,所述选项列表包括创建文件夹选项和图标替换选项;当检测到所述创建文件夹选项被选中时,在所述目标桌面上创建文件夹,将所述目标图标移动至所述文件夹中;当检测到所述图标替换选项被选中时,执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作。The processor 1410 is used to monitor the user's drag operation of dragging the selected at least one target icon to the target desktop; controlling the display unit 1406 to display an option list on the target desktop, the option list including a folder creation option And icon replacement options; when it is detected that the create folder option is selected, a folder is created on the target desktop, and the target icon is moved to the folder; when the icon replacement option is detected When selected, the position replacement operation between the icon currently displayed on the target desktop and the target icon is performed.
因此,本公开的一些实施例的终端1400,能够将需要移动的目标图标移动到目标桌面上所创建的文件夹中,或者与目标桌面上当前所显示的图标进行替换,从而达到将目标图标移动到目标桌面上的目的。由此可知,本公开的实施例,在需要移动的目标图标数量过多,使得目标桌面上无法容纳时,无需放弃本次移动操作,直接就可以在目标桌面上无法容纳过多目标图标时实现对其的移动操作,整个操作过程简单快捷,解决了相关技术中当需要移动的图标数量过多时,其移动过程非常繁琐的问题。Therefore, the terminal 1400 of some embodiments of the present disclosure can move the target icon that needs to be moved to the folder created on the target desktop, or replace it with the currently displayed icon on the target desktop, so as to move the target icon To the purpose on the target desktop. It can be seen that, in the embodiments of the present disclosure, when the number of target icons to be moved is too large to be accommodated on the target desktop, there is no need to give up this move operation, and it can be realized directly when the target desktop cannot accommodate too many target icons For its movement operation, the entire operation process is simple and quick, which solves the problem that the movement process is very cumbersome when there are too many icons to be moved in the related art.
应理解的是,本公开的一些实施例中,射频单元1401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1410处理;另外,将上行的数据发送给基站。通常,射频单元1401包括但不限于至少两个天线、至少一个放大器、收发信机、耦合器、低噪声放大 器、双工器等。此外,射频单元1401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in some embodiments of the present disclosure, the radio frequency unit 1401 may be used to receive and send signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 1410; To send the uplink data to the base station. Generally, the radio frequency unit 1401 includes, but is not limited to, at least two antennas, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, and the like. In addition, the radio frequency unit 1401 can also communicate with the network and other devices through a wireless communication system.
终端通过网络模块1402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 1402, such as helping users send and receive e-mail, browse web pages, and access streaming media.
音频输出单元1403可以将射频单元1401或网络模块1402接收的或者在存储器1409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1403还可以提供与终端1400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1403包括扬声器、蜂鸣器以及受话器等。The audio output unit 1403 may convert the audio data received by the radio frequency unit 1401 or the network module 1402 or stored in the memory 1409 into an audio signal and output as sound. Moreover, the audio output unit 1403 may also provide audio output related to a specific function performed by the terminal 1400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 1403 includes a speaker, a buzzer, a receiver, and the like.
输入单元1404用于接收音频或视频信号。输入单元1404可以包括图形处理器(Graphics Processing Unit,GPU)14041和麦克风14042,图形处理器14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1406上。经图形处理器14041处理后的图像帧可以存储在存储器1409(或其它存储介质)中或者经由射频单元1401或网络模块1402进行发送。麦克风14042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1401发送到移动通信基站的格式输出。The input unit 1404 is used to receive audio or video signals. The input unit 1404 may include a graphics processor (Graphics, Processing, Unit, GPU) 14041 and a microphone 14042. The graphics processor 14041 displays images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame may be displayed on the display unit 1406. The image frame processed by the graphics processor 14041 may be stored in the memory 1409 (or other storage medium) or sent via the radio frequency unit 1401 or the network module 1402. The microphone 14042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 1401 in the case of the telephone call mode and output.
终端1400还包括至少一种传感器1405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板14061的亮度,接近传感器可在终端1400移动到耳边时,关闭显示面板14061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 1400 also includes at least one sensor 1405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 14061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 14061 and / or when the terminal 1400 moves to the ear Or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used to recognize the posture of the terminal (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 1405 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
显示单元1406用于显示由用户输入的信息或提供给用户的信息。显示单元1406可包括显示面板14061,可以采用液晶显示器(Liquid Crystal Display, LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板14061。The display unit 1406 is used to display information input by the user or information provided to the user. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元1407可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1407包括触控面板14071以及其他输入设备14072。触控面板14071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板14071上或在触控面板14071附近的操作)。触控面板14071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1410,接收处理器1410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板14071。除了触控面板14071,用户输入单元1407还可以包括其他输入设备14072。具体地,其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1407 can be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 1407 includes a touch panel 14071 and other input devices 14072. The touch panel 14071, also known as a touch screen, can collect user's touch operations on or near it (such as the user using any finger, stylus, or any other suitable object or accessory on or near the touch panel 14071. operating). The touch panel 14071 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 1410, the command sent by the processor 1410 is received and executed. In addition, the touch panel 14071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 14071, the user input unit 1407 may also include other input devices 14072. Specifically, other input devices 14072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not repeated here.
进一步的,触控面板14071可覆盖在显示面板14061上,当触控面板14071检测到在其上或附近的触摸操作后,传送给处理器1410以确定触摸事件的类型,随后处理器1410根据触摸事件的类型在显示面板14061上提供相应的视觉输出。虽然在图14中,触控面板14071与显示面板14061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板14071与显示面板14061集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 14071 can be overlaid on the display panel 14061. When the touch panel 14071 detects a touch operation on or near it, it is transmitted to the processor 1410 to determine the type of touch event, and then the processor 1410 according to the touch The type of event provides corresponding visual output on the display panel 14061. Although in FIG. 14, the touch panel 14071 and the display panel 14061 are implemented as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 14071 and the display panel 14061 may be integrated to The input and output functions of the terminal are implemented, which is not limited here.
接口单元1408为外部装置与终端1400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端1400内的一个或多个元件或者可以用于在终端1400和外部装置之间传输数据。The interface unit 1408 is an interface for connecting an external device to the terminal 1400. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input / output (I / O) port, video I / O port, headphone port, etc. The interface unit 1408 may be used to receive input from external devices (eg, data information, power, etc.) and transmit the received input to one or more elements within the terminal 1400 or may be used between the terminal 1400 and external devices Transfer data between.
存储器1409可用于存储软件程序以及各种数据。存储器1409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1409 can be used to store software programs and various data. The memory 1409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one function required application programs (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store Data created by the use of mobile phones (such as audio data, phone books, etc.), etc. In addition, the memory 1409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器1410是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器1409内的软件程序和/或模块,以及调用存储在存储器1409内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器1410可包括一个或多个处理单元;可选的,处理器1410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。The processor 1410 is the control center of the terminal, and uses various interfaces and lines to connect the various parts of the entire terminal, by running or executing the software programs and / or modules stored in the memory 1409, and calling the data stored in the memory 1409 to execute Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 1410 may include one or more processing units; optionally, the processor 1410 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, etc. The modulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1410.
终端1400还可以包括给各个部件供电的电源1411(比如电池),可选的,电源1411可以通过电源管理系统与处理器1410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 1400 may also include a power supply 1411 (such as a battery) that supplies power to various components. Optionally, the power supply 1411 may be logically connected to the processor 1410 through a power management system, thereby managing charge, discharge, and power management through the power management system And other functions.
另外,终端1400包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 1400 includes some function modules not shown, which will not be repeated here.
本公开的一些实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述桌面图标的整理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Some embodiments of the present disclosure also provide a computer-readable storage medium that stores a computer program on the computer-readable storage medium. When the computer program is executed by a processor, the processes of the foregoing desktop icon sorting method embodiments are implemented, and To achieve the same technical effect, in order to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, It also includes other elements that are not explicitly listed, or include elements inherent to such processes, methods, objects, or devices. Without more restrictions, the element defined by the sentence "include one ..." does not exclude that there are other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better Implementation. Based on this understanding, the technical solutions of the present disclosure can be embodied in the form of software products in essence or to contribute to related technologies, and the computer software products are stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) ) Includes several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure have been described above with reference to the drawings, but the present disclosure is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are merely schematic, not limiting, and those of ordinary skill in the art Under the inspiration of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope protected by the claims, all of which fall within the protection of the present disclosure.
以上所述是本公开的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above is an optional embodiment of the present disclosure. It should be noted that those of ordinary skill in the art can make several improvements and retouching without departing from the principles described in the present disclosure. These improvements and retouching It should also be regarded as the scope of protection of this disclosure.

Claims (12)

  1. 一种桌面图标的整理方法,包括:A method for organizing desktop icons, including:
    监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作;Monitoring the user's drag operation of dragging the selected at least one target icon to the target desktop;
    在所述目标桌面上显示一选项列表,所述选项列表包括创建文件夹选项和图标替换选项;Displaying an option list on the target desktop, the option list including a folder creation option and an icon replacement option;
    当检测到所述创建文件夹选项被选中时,在所述目标桌面上创建文件夹,将所述目标图标移动至所述文件夹中;When it is detected that the option to create a folder is selected, a folder is created on the target desktop, and the target icon is moved to the folder;
    当检测到所述图标替换选项被选中时,执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作。When it is detected that the icon replacement option is selected, a position replacement operation between the icon currently displayed on the target desktop and the target icon is performed.
  2. 根据权利要求1所述的方法,其中,所述监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作的步骤之后,所述方法还包括:The method according to claim 1, wherein after the step of monitoring the user's drag operation of dragging the selected at least one target icon to the target desktop, the method further comprises:
    判断所述目标桌面上的空余位置是否能够容纳所述目标图标;Judging whether the free position on the target desktop can accommodate the target icon;
    当所述目标桌面上的空余位置无法容纳所述目标图标时,执行在所述目标桌面上显示一选项列表的步骤。When the free position on the target desktop cannot accommodate the target icon, the step of displaying a list of options on the target desktop is performed.
  3. 根据权利要求1所述的方法,其中,所述执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作的步骤,包括:The method according to claim 1, wherein the step of performing a position replacement operation between the icon currently displayed on the target desktop and the target icon includes:
    在所述目标桌面上显示一缩略图,所述缩略图中包括所述目标图标和所述目标桌面上当前所显示的图标;Displaying a thumbnail on the target desktop, the thumbnail including the target icon and the icon currently displayed on the target desktop;
    当所述缩略图中所述目标桌面上当前所显示的图标中的第一图标被选中时,从所述目标图标中选择一个图标作为第一待移动图标,并将所述第一待移动图标移动到所述第一图标的位置处,将所述第一图标移动到所述第一待移动图标的原始位置处,直到所述目标桌面上的空余位置可以容纳剩余的所述目标图标时,将剩余的所述目标图标按照从上到下,从左到右的顺序移动到所述目标桌面上的空余位置处。When the first icon of the icons currently displayed on the target desktop in the thumbnail is selected, select an icon from the target icon as the first icon to be moved, and set the first icon to be moved Move to the position of the first icon, move the first icon to the original position of the first icon to be moved, until the free position on the target desktop can accommodate the remaining target icon, Move the remaining target icons to the free positions on the target desktop in order from top to bottom and left to right.
  4. 根据权利要求3所述的方法,还包括:The method of claim 3, further comprising:
    当所述缩略图中所述目标图标中的第二待移动图标被选中时,将所述第二待移动图标恢复到原始位置处。When the second icon to be moved in the target icon in the thumbnail is selected, the second icon to be moved is restored to the original position.
  5. 根据权利要求3所述的方法,其中,所述从所述目标图标中选择一个图 标作为第一待移动图标的步骤,包括:The method according to claim 3, wherein the step of selecting an icon from the target icon as the first icon to be moved includes:
    将从所述目标图标中随机选择的一个图标作为第一待移动图标;Use an icon randomly selected from the target icons as the first icon to be moved;
    或者or
    将所述目标图标中最先被确定为需要被移动的图标,确定为第一待移动图标。The first icon in the target icon that is determined to be moved is determined as the first icon to be moved.
  6. 一种终端,包括:A terminal, including:
    监测模块,用于监测用户将选择的至少一个目标图标拖动至目标桌面的拖动操作;The monitoring module is used to monitor the user's drag operation of dragging the selected at least one target icon to the target desktop;
    显示模块,用于在所述目标桌面上显示一选项列表,所述选项列表包括创建文件夹选项和图标替换选项;A display module, configured to display an option list on the target desktop, the option list including a folder creation option and an icon replacement option;
    第一移动模块,用于当检测到所述创建文件夹选项被选中时,在所述目标桌面上创建文件夹,将所述目标图标移动至所述文件夹中;A first moving module, configured to create a folder on the target desktop when it is detected that the option to create a folder is selected, and move the target icon to the folder;
    第二移动模块,用于当检测到所述图标替换选项被选中时,执行所述目标桌面上当前所显示的图标与所述目标图标之间的位置替换操作。The second moving module is configured to perform a position replacement operation between the icon currently displayed on the target desktop and the target icon when it is detected that the icon replacement option is selected.
  7. 根据权利要求6所述的终端,还包括:The terminal according to claim 6, further comprising:
    判断模块,用于判断所述目标桌面上的空余位置是否能够容纳所述目标图标,并在所述目标桌面上的空余位置无法容纳所述目标图标时,触发所述显示模块在所述目标桌面上显示一选项列表。The judging module is used for judging whether the free position on the target desktop can accommodate the target icon, and triggering the display module on the target desktop when the free position on the target desktop cannot accommodate the target icon A list of options is displayed.
  8. 根据权利要求6所述的终端,其中,所述第二移动模块包括:The terminal according to claim 6, wherein the second mobile module comprises:
    缩略图显示单元,用于在所述目标桌面上显示一缩略图,所述缩略图中包括所述目标图标和所述目标桌面上当前所显示的图标;A thumbnail display unit for displaying a thumbnail on the target desktop, the thumbnail including the target icon and the icon currently displayed on the target desktop;
    替换单元,用于当所述缩略图中所述目标桌面上当前所显示的图标中的第一图标被选中时,从所述目标图标中选择一个图标作为第一待移动图标,并将所述第一待移动图标移动到所述第一图标的位置处,将所述第一图标移动到所述第一待移动图标的原始位置处,直到所述目标桌面上的空余位置可以容纳剩余的所述目标图标时,将剩余的所述目标图标按照从上到下,从左到右的顺序移动到所述目标桌面上的空余位置处。A replacement unit for selecting an icon from the target icon as the first icon to be moved when the first icon of the icons currently displayed on the target desktop in the thumbnail is selected, and The first icon to be moved moves to the position of the first icon, and the first icon is moved to the original position of the first icon to be moved until the free position on the target desktop can accommodate the remaining When describing the target icon, move the remaining target icons to the free positions on the target desktop in order from top to bottom and from left to right.
  9. 根据权利要求8所述的终端,还包括:The terminal according to claim 8, further comprising:
    恢复模块,用于当所述缩略图中所述目标图标中的第二待移动图标被选 中时,将所述第二待移动图标恢复到原始位置处。The restoration module is configured to restore the second icon to be moved to the original position when the second icon to be moved in the target icon in the thumbnail is selected.
  10. 根据权利要求8所述的终端,其中,所述替换单元在从所述目标图标中选择一个图标作为第一待移动图标时,具体用于:The terminal according to claim 8, wherein, when the replacement unit selects one icon from the target icons as the first icon to be moved, it is specifically used to:
    将从所述目标图标中随机选择的一个图标作为第一待移动图标;Use an icon randomly selected from the target icons as the first icon to be moved;
    或者or
    将所述目标图标中最先被确定为需要被移动的图标,确定为第一待移动图标。The first icon in the target icon that is determined to be moved is determined as the first icon to be moved.
  11. 一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现如权利要求1-5任一项所述的桌面图标的整理方法。A terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor; when the processor executes the program, it is implemented as described in any one of claims 1-5 Method of organizing desktop icons.
  12. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-5任一项所述的桌面图标的整理方法中的步骤。A computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps in the method for organizing a desktop icon according to any one of claims 1-5.
PCT/CN2019/111848 2018-10-30 2019-10-18 Desktop icon organizing method and terminal WO2020088268A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811276065.3 2018-10-30
CN201811276065.3A CN109407929A (en) 2018-10-30 2018-10-30 A kind of method for sorting and terminal of desktop icons

Publications (1)

Publication Number Publication Date
WO2020088268A1 true WO2020088268A1 (en) 2020-05-07

Family

ID=65470130

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/111848 WO2020088268A1 (en) 2018-10-30 2019-10-18 Desktop icon organizing method and terminal

Country Status (2)

Country Link
CN (1) CN109407929A (en)
WO (1) WO2020088268A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109407929A (en) * 2018-10-30 2019-03-01 维沃移动通信有限公司 A kind of method for sorting and terminal of desktop icons
CN112269502A (en) * 2020-10-15 2021-01-26 维沃移动通信有限公司 Object display method and device
CN113126843B (en) * 2021-04-19 2022-06-10 北京小米移动软件有限公司 Method, device and storage medium for exchanging application icon positions
CN116700582A (en) * 2022-09-16 2023-09-05 荣耀终端有限公司 Method and device for creating folder by file list

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809848A (en) * 2014-01-28 2014-05-21 深圳市中兴移动通信有限公司 Icon moving method, mobile terminal and smart terminal
EP2876536A2 (en) * 2013-10-31 2015-05-27 Synology Incorporated Method of managing icons on a screen
CN106873843A (en) * 2015-12-10 2017-06-20 北京奇虎科技有限公司 Desktop icons batch method for sorting and device and terminal
CN106873842A (en) * 2015-12-10 2017-06-20 北京奇虎科技有限公司 Desktop icons batch method for sorting and device and terminal
CN107861784A (en) * 2017-10-27 2018-03-30 珠海格力电器股份有限公司 A kind of method for sorting of desktop icons, device and mobile terminal
CN109407929A (en) * 2018-10-30 2019-03-01 维沃移动通信有限公司 A kind of method for sorting and terminal of desktop icons

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365529B (en) * 2012-04-05 2017-11-14 腾讯科技(深圳)有限公司 A kind of icon management method and mobile terminal
CN103226473B (en) * 2013-04-08 2016-08-17 小米科技有限责任公司 A kind of arrangement figure calibration method, device and equipment
CN103902163B (en) * 2014-04-09 2019-01-22 努比亚技术有限公司 The method and intelligent terminal of arranging desktop icons
CN106155472A (en) * 2015-04-28 2016-11-23 东莞酷派软件技术有限公司 A kind of operation application drawing calibration method, device and mobile terminal
CN106325652B (en) * 2015-06-19 2019-12-10 深圳超多维科技有限公司 graphical user interface interaction method and touch terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2876536A2 (en) * 2013-10-31 2015-05-27 Synology Incorporated Method of managing icons on a screen
CN103809848A (en) * 2014-01-28 2014-05-21 深圳市中兴移动通信有限公司 Icon moving method, mobile terminal and smart terminal
CN106873843A (en) * 2015-12-10 2017-06-20 北京奇虎科技有限公司 Desktop icons batch method for sorting and device and terminal
CN106873842A (en) * 2015-12-10 2017-06-20 北京奇虎科技有限公司 Desktop icons batch method for sorting and device and terminal
CN107861784A (en) * 2017-10-27 2018-03-30 珠海格力电器股份有限公司 A kind of method for sorting of desktop icons, device and mobile terminal
CN109407929A (en) * 2018-10-30 2019-03-01 维沃移动通信有限公司 A kind of method for sorting and terminal of desktop icons

Also Published As

Publication number Publication date
CN109407929A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN107291356B (en) File transmission display control method and device and corresponding terminal
US20220276909A1 (en) Screen projection control method and electronic device
CN108255378B (en) Display control method and mobile terminal
WO2019174611A1 (en) Application configuration method and mobile terminal
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2020134744A1 (en) Icon moving method and mobile terminal
WO2021012931A1 (en) Icon management method and terminal
WO2020088268A1 (en) Desktop icon organizing method and terminal
US20170199662A1 (en) Touch operation method and apparatus for terminal
WO2021017776A1 (en) Information processing method and terminal
WO2020143663A1 (en) Display method and mobile terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN109032447B (en) Icon processing method and mobile terminal
US11354017B2 (en) Display method and mobile terminal
WO2020057257A1 (en) Application interface switching method and mobile terminal
WO2020238497A1 (en) Icon moving method and terminal device
WO2020151512A1 (en) Image storage method and terminal apparatus
WO2020078234A1 (en) Display control method and terminal
EP3699743B1 (en) Image viewing method and mobile terminal
US20220043564A1 (en) Method for inputting content and terminal device
WO2020001358A1 (en) Icon sorting method and terminal device
WO2019228296A1 (en) Display processing method and terminal device
WO2021057301A1 (en) File control method and electronic device
WO2020211596A1 (en) Control method and terminal device
WO2020134743A1 (en) Icon moving method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19879525

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19879525

Country of ref document: EP

Kind code of ref document: A1