[go: up one dir, main page]

CN111459350A - Icon sorting method and device and electronic equipment - Google Patents

Icon sorting method and device and electronic equipment Download PDF

Info

Publication number
CN111459350A
CN111459350A CN202010230322.0A CN202010230322A CN111459350A CN 111459350 A CN111459350 A CN 111459350A CN 202010230322 A CN202010230322 A CN 202010230322A CN 111459350 A CN111459350 A CN 111459350A
Authority
CN
China
Prior art keywords
input
icon
interface
icons
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010230322.0A
Other languages
Chinese (zh)
Other versions
CN111459350B (en
Inventor
王传威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010230322.0A priority Critical patent/CN111459350B/en
Publication of CN111459350A publication Critical patent/CN111459350A/en
Application granted granted Critical
Publication of CN111459350B publication Critical patent/CN111459350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供一种图标排序方法、装置及电子设备,应用于通信技术领域,以解决现有的应用程序图标排序过程所存在的步骤繁琐、效率低的问题。该方法包括:显示第一界面;该第一界面中包含N个图标;接收对上述N个图标中的M个目标图标的第一输入;响应上述第一输入,根据上述第一输入对应的上述M个目标图标的排序顺序,更新上述N个图标的显示位置;其中,该排序顺序与第一输入所输入的排序信息相关。本申请应用于对应用程序图标排序场景中。

Figure 202010230322

Embodiments of the present invention provide an icon sorting method, device, and electronic device, which are applied in the field of communication technologies to solve the problems of complicated steps and low efficiency in the existing application program icon sorting process. The method includes: displaying a first interface; the first interface includes N icons; receiving a first input for M target icons among the N icons; responding to the first input, according to the first input corresponding to the above The sorting order of the M target icons is to update the display positions of the N icons; wherein, the sorting order is related to the sorting information input by the first input. The present application is applied in the scenario of sorting application icons.

Figure 202010230322

Description

图标排序方法、装置及电子设备Icon sorting method, device and electronic device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种图标排序方法、装置及电子设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method, an apparatus, and an electronic device for sorting icons.

背景技术Background technique

随着电子设备技术的发展,用户使用电子设备的频率越来越高,电子设备中的应用程序的种类和数量也越来越多。由于每个用户都有自己的使用习惯,因此,对于电子设备中的应用程序的应用程序图标的排序有自己的要求。With the development of electronic device technology, users use electronic devices more and more frequently, and the types and numbers of application programs in electronic devices are also increasing. Since each user has his own usage habits, there are his own requirements for the ordering of application icons of applications in the electronic device.

目前,若用户想要触发电子设备对应用程序图标排序时,可以将想要移动的应用程序图标从当前位置拖动到目标位置上。当用户将想要移动的应用程序图标拖动到目标位置的同时,会触发电子设备会将该目标位置上的其他应用程序图标移开,以实现对应用程序图标的排序。At present, if the user wants to trigger the electronic device to sort the application icons, he can drag the application icon to be moved from the current position to the target position. When the user drags the application icon to be moved to the target position, the electronic device will be triggered to move other application icons on the target position, so as to realize the sorting of the application icons.

然而,当用户想要对大量的应用程序图标排序时,需要不断重复的拖动大量应用程序图标,且当用户每拖动一个应用程序图标都会触发电子设备移动至少一个其他应用程序图标。如此,使得整个应用程序图标的排序过程步骤繁琐、效率低。However, when the user wants to sort a large number of application icons, it is necessary to repeatedly drag the large number of application icons, and each time the user drags an application icon, the electronic device is triggered to move at least one other application icon. In this way, the sorting process of the entire application icons is complicated and inefficient.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种图标排序方法、装置及电子设备,以解决现有的应用程序图标排序过程所存在的步骤繁琐、效率低的问题。Embodiments of the present invention provide an icon sorting method, device, and electronic device, so as to solve the problems of complicated steps and low efficiency in the existing application program icon sorting process.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本发明实施例提供一种图标排序方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for sorting icons, and the method includes:

显示第一界面;该第一界面中包含N个图标;Displaying a first interface; the first interface includes N icons;

接收对上述N个图标中的M个目标图标的第一输入;receiving a first input of M target icons in the above-mentioned N icons;

响应于上述第一输入,根据上述第一输入对应的上述M个目标图标的排序顺序,更新上述N个图标的显示位置;In response to the above-mentioned first input, according to the sorting order of the above-mentioned M target icons corresponding to the above-mentioned first input, the display positions of the above-mentioned N icons are updated;

其中,上述排序顺序与上述第一输入所输入的排序信息相关,N为大于1的正整数,M为正整数,N≥M。The sorting order is related to the sorting information input by the first input, N is a positive integer greater than 1, M is a positive integer, and N≧M.

第二方面,本发明实施例还提供了一种图标排序装置,该图标排序装置包括:显示模块、接收模块和执行模块;In a second aspect, an embodiment of the present invention further provides an icon sorting device, where the icon sorting device includes: a display module, a receiving module, and an executing module;

显示模块,用于显示第一界面;该第一界面中包含N个图标;a display module for displaying a first interface; the first interface includes N icons;

接收模块,用于接收对上述N个图标中的M个目标图标的第一输入;a receiving module, configured to receive the first input to the M target icons in the above-mentioned N icons;

执行模块,用于响应于上述接收模块接收到的上述第一输入,根据上述第一输入对应的上述M个目标图标的排序顺序,更新上述N个图标的显示位置;an execution module, configured to, in response to the above-mentioned first input received by the above-mentioned receiving module, update the display positions of the above-mentioned N icons according to the sorting order of the above-mentioned M target icons corresponding to the above-mentioned first input;

其中,上述排序顺序与上述第一输入所输入的排序信息相关,N为大于1的正整数,M为正整数,N≥M。The sorting order is related to the sorting information input by the first input, N is a positive integer greater than 1, M is a positive integer, and N≧M.

第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的图标排序方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to achieve the The steps of the icon sorting method described in one aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的图标排序方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the steps of the icon sorting method according to the first aspect .

在本发明实施例中,电子设备显示包含N个图标的第一界面,在接收到对该N个图标中的M个目标图标的第一输入之后,可以根据该第一输入对应的M个目标图标的排序顺序,更新N个图标的显示位置。由于该排序顺序与上述第一输入所输入的排序信息相关,因此,电子设备可以根据排序信息确定M个目标图标的排序顺序,无需对图标进行移动,便可一次性更新N个图标的显示位置,使得整个图标排序过程操作简便、效率高。In the embodiment of the present invention, the electronic device displays a first interface including N icons, and after receiving the first input of the M target icons among the N icons, the M targets corresponding to the first input can be Sort order of icons, update the display position of N icons. Since the sorting order is related to the sorting information input by the first input, the electronic device can determine the sorting order of the M target icons according to the sorting information, and can update the display positions of the N icons at one time without moving the icons , making the entire icon sorting process simple and efficient.

附图说明Description of drawings

图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present invention;

图2为本发明实施例提供的一种图标排序方法流程示意图;2 is a schematic flowchart of a method for sorting icons according to an embodiment of the present invention;

图3为本发明实施例提供的一种图标排序方法所应用的界面的示意图之一;3 is a schematic diagram of an interface to which an icon sorting method provided by an embodiment of the present invention is applied;

图4为本发明实施例提供的一种图标排序方法所应用的界面的示意图之二;4 is a second schematic diagram of an interface to which an icon sorting method provided by an embodiment of the present invention is applied;

图5为本发明实施例提供的一种图标排序方法所应用的界面的示意图之三;5 is a third schematic diagram of an interface to which an icon sorting method provided by an embodiment of the present invention is applied;

图6为本发明实施例提供的一种图标排序方法所应用的界面的示意图之四;6 is a fourth schematic diagram of an interface to which an icon sorting method provided by an embodiment of the present invention is applied;

图7为本发明实施例提供的一种图标排序方法所应用的界面的示意图之五;7 is a fifth schematic diagram of an interface to which an icon sorting method provided by an embodiment of the present invention is applied;

图8为本发明实施例提供的一种图标排序方法所应用的界面的示意图之六;8 is a sixth schematic diagram of an interface to which an icon sorting method provided by an embodiment of the present invention is applied;

图9为本发明实施例提供的一种图标排序方法所应用的界面的示意图之七;FIG. 9 is a seventh schematic diagram of an interface to which an icon sorting method according to an embodiment of the present invention is applied;

图10为本发明实施例提供的一种图标排序方法所应用的界面的示意图之八;FIG. 10 is an eighth schematic diagram of an interface to which an icon sorting method according to an embodiment of the present invention is applied;

图11为本发明实施例提供的一种图标排序装置的结构示意图;11 is a schematic structural diagram of an icon sorting device according to an embodiment of the present invention;

图12为本发明实施例提供的一种电子设备的结构示意图。FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。It should be noted that “/” in this document means or, for example, A/B can mean A or B; “and/or” in this document is only an association relationship that describes an associated object, indicating that there may be three A relationship, for example, A and/or B, can mean the existence of A alone, the existence of both A and B, and the existence of B alone.

需要说明的是,本文中的“多个”是指两个或多于两个。It should be noted that the "plurality" herein refers to two or more than two.

需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or descriptions. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

需要说明的是,为了便于清楚描述本发明实施例的技术方案,在本发明实施例中,采用了“第一”、“第二”等字样对功能或作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。例如,第一输入和第二输入是用于区别不同的输入,而不是用于描述输入的特定顺序。It should be noted that, in order to facilitate the clear description of the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to describe the same or similar items that have basically the same function or effect. For distinction, those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order. For example, the first input and the second input are used to distinguish different inputs, not to describe a specific order of the inputs.

本发明实施例提供的图标排序方法的执行主体可以为上述的电子设备(包括移动电子设备和非移动电子设备),也可以为该电子设备中能够实现该图标排序方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的图标排序方法进行示例性的说明。The execution subject of the icon sorting method provided by the embodiment of the present invention may be the above-mentioned electronic device (including mobile electronic device and non-mobile electronic device), or may be a functional module and/or function in the electronic device capable of implementing the icon sorting method The entity can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention. The following takes an electronic device as an example to illustrate the icon sorting method provided by the embodiment of the present invention.

本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. The mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA) etc.; the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiment of the present invention does not make any specific limitations.

本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.

下面以安卓操作系统为例,介绍一下本发明实施例提供的图标排序方法所应用的软件环境。Taking the Android operating system as an example below, the software environment to which the icon sorting method provided by the embodiment of the present invention is applied will be introduced.

如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).

其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.

应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.

系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.

内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的图标排序方法的软件程序,从而使得该图标排序方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的图标排序方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program that implements the icon sorting method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The sorting method can be run based on the Android operating system as shown in FIG. 1 . That is, the processor or the electronic device can implement the icon sorting method provided by the embodiment of the present invention by running the software program in the Android operating system.

本发明实施例提供的图标排序方法,可以应用在多种用户对图标进行排序的场景中,例如,用户对手机桌面中的图标进行排序的场景中,用户对文件夹中的图标进行排序场景中,以及用户对手机桌面和文件夹中的图标进行排序的场景中。The icon sorting method provided by the embodiment of the present invention can be applied to various scenarios in which users sort icons, for example, in the scenario in which the user sorts the icons in the mobile phone desktop, in the scenario in which the user sorts the icons in the folder , and in scenarios where the user sorts icons on the phone's desktop and folders.

例如,以用户对手机桌面中的图标进行排序为例,手机电子设备可以根据用户通过手机输入的排序信息来对图标进行排序。For example, taking the user sorting the icons on the mobile phone desktop as an example, the mobile electronic device can sort the icons according to sorting information input by the user through the mobile phone.

下面结合图2所示的图标排序方法流程图对本发明实施例的图标排序方法进行说明,图2为本发明实施例提供的一种图标排序方法流程示意图,包括步骤201至步骤203:The following describes an icon sorting method according to an embodiment of the present invention with reference to the flowchart of the icon sorting method shown in FIG. 2 . FIG. 2 is a schematic flowchart of an icon sorting method provided by an embodiment of the present invention, including steps 201 to 203:

步骤201:电子设备显示第一界面。Step 201: The electronic device displays a first interface.

在本发明实施例中,上述的第一界面中包含N个图标。其中,N为大于1的正整数。In the embodiment of the present invention, the above-mentioned first interface includes N icons. Among them, N is a positive integer greater than 1.

在本发明实施例中,上述的第一界面可以为电子设备的主界面(例如,手机桌面),也可以为文件夹界面(即用户点击文件夹图标后电子设备显示的界面),还可以为电子设备中的任一应用程序的任一界面,具体的可以根据实际需求设置,本发明实施例对此不作限定。In the embodiment of the present invention, the above-mentioned first interface may be the main interface of the electronic device (for example, the mobile phone desktop), or may be the folder interface (that is, the interface displayed by the electronic device after the user clicks the folder icon), or may be Any interface of any application program in the electronic device may be specifically set according to actual requirements, which is not limited in this embodiment of the present invention.

在本发明实施例中,上述的N个图标可以为应用程序的应用程序图标,也可以为应用程序的快捷方式图标,还可以为文件夹的文件夹图标,本发明实施例对此不作限定。In this embodiment of the present invention, the above N icons may be application icons of applications, shortcut icons of applications, or folder icons of folders, which are not limited in the embodiment of the present invention.

示例性的,上述的第一界面可以为一个,也可以为多个,本发明实施例对此不作限定。Exemplarily, the foregoing first interface may be one or multiple, which is not limited in this embodiment of the present invention.

步骤202:电子设备接收对上述N个图标中的M个目标图标的第一输入。Step 202: The electronic device receives a first input of M target icons among the above N icons.

在本发明实施例中,上述的第一输入可以包括:对M个目标图标的点击输入,或者是用户输入的语音指令,或者是用户输入的特定手势,具体的可以根据实际使用需求确定,本发明实施例对此不作限定。其中,M为正整数,N≥M。In the embodiment of the present invention, the above-mentioned first input may include: a click input on M target icons, or a voice command input by the user, or a specific gesture input by the user, which can be specifically determined according to actual use requirements. This embodiment of the invention does not limit this. Among them, M is a positive integer, and N≥M.

本发明实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本发明实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。The specific gesture in the embodiment of the present invention may be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; in the embodiment of the present invention The click input can be single-click input, double-click input, or click input for any number of times, etc., and can also be long-press input or short-press input.

示例性的,当上述目标图标指示应用程序的情况下,上述的目标图标可以为应用程序的应用程序图标,也可以为应用程序的快捷方式图标;当上述目标图标指示文件夹的情况下,上述的目标图标可以为文件夹的文件夹图标,本发明实施例对此不作限定。Exemplarily, when the above-mentioned target icon indicates an application, the above-mentioned target icon may be an application icon of an application or a shortcut icon of an application; when the above-mentioned target icon indicates a folder, the above-mentioned target icon may be an application icon of an application or a shortcut icon of an application. The target icon may be a folder icon of a folder, which is not limited in this embodiment of the present invention.

步骤203:响应于上述第一输入,电子设备根据上述第一输入对应的上述M个目标图标的排序顺序,更新上述N个图标的显示位置。Step 203: In response to the first input, the electronic device updates the display positions of the N icons according to the sorting order of the M target icons corresponding to the first input.

在本发明实施例中,上述的排序顺序与上述的第一输入所输入的排序信息相关,即上述的排列顺序可以根据该排序信息确定。In this embodiment of the present invention, the above-mentioned sorting order is related to the above-mentioned sorting information input by the first input, that is, the above-mentioned sorting order can be determined according to the sorting information.

示例性的,上述的排序信息用于指示M个目标图标中的任一目标图标的图标排序序号。Exemplarily, the above sorting information is used to indicate the icon sorting sequence number of any target icon among the M target icons.

此外,上述的排序顺序除了可以与上述的第一输入所输入的排序信息相关,还可以与第一输入中用户对上述M个目标图标的触控顺序相关。In addition, the above-mentioned sorting order may be related to the above-mentioned sorting information input by the first input, and may also be related to the user's touch order of the above-mentioned M target icons in the first input.

示例性的,在上述的排序顺序与用户对上述M个目标图标的触控顺序相关时,上述的M个目标图标的排序顺序可以根据用户对上述M个目标图标的触控顺序的先后从前往后依次排序;或者,上述的M个目标图标的排序顺序可以根据用户对上述M个目标图标的触控顺序的先后从后往前依次排序。Exemplarily, when the above-mentioned sorting order is related to the order in which the user touches the above-mentioned M target icons, the above-mentioned sorting order of the above-mentioned M target icons may be based on the order in which the user touches the above-mentioned M target icons from the next to the next. Alternatively, the above-mentioned sorting order of the M target icons may be sorted from back to front according to the order in which the user touches the above-mentioned M target icons.

可选的,在本发明实施例中,若用户想要对图标进行排序,可以触发电子设备控制图标处于可排序状态。Optionally, in this embodiment of the present invention, if the user wants to sort the icons, the electronic device may be triggered to control the icons to be in a sortable state.

示例性的,在步骤201之后,该方法还可以包括如下步骤201a和201b:Exemplarily, after step 201, the method may further include the following steps 201a and 201b:

步骤201a:电子设备接收用户对第一界面的第四输入。Step 201a: The electronic device receives a fourth input from the user on the first interface.

示例性的,上述的第四输入可以包括:用户对第一界面的点击输入,或者,用户在该第一界面上的滑动输入,或者,用户在该第一界面上的其他可行性输入,具体的可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, the above-mentioned fourth input may include: the user's click input on the first interface, or the user's sliding input on the first interface, or the user's other feasible input on the first interface, specifically can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.

示例性的,上述的点击输入可以参考本发明实施例中对第一输入的描述,此处不再赘述。上述的滑动输入可以为向任意方向的滑动输入,例如向上滑动、向下滑动、向左滑动或者向右滑动等,且上述滑动输入的滑动轨迹可以是直线,也可以是曲线,具体的可以根据实际需求设定。Exemplarily, for the above click input, reference may be made to the description of the first input in the embodiment of the present invention, and details are not repeated here. The above-mentioned sliding input can be a sliding input in any direction, such as sliding up, sliding down, sliding to the left or sliding to the right, etc., and the sliding trajectory of the above-mentioned sliding input can be a straight line or a curve. actual demand setting.

在一种示例中,上述的用户在该第一界面上的滑动输入可以为:用户手掌在第一界面上从上向下的滑动输入。In an example, the above-mentioned sliding input of the user on the first interface may be: sliding input of the user's palm from top to bottom on the first interface.

步骤201b:响应于上述第四输入,电子设备控制上述N个图标处于可排序状态。Step 201b: In response to the fourth input, the electronic device controls the N icons to be in a sortable state.

示例性的,本发明实施例中的可排序状态是指用户可以在第一界面上对N个图标进行输入,电子设备可以根据触控顺序或输入的排序信息对该N个图标进行排序的状态。在这种状态下,对于用户在第一界面上触控任一图标电子设备响应的结果与用户在非可排序状态下触控任一图标电子设备响应的结果不同。Exemplarily, the sortable state in this embodiment of the present invention refers to a state in which the user can input N icons on the first interface, and the electronic device can sort the N icons according to the touch sequence or the input sorting information. . In this state, the response result of the user touching any icon electronic device on the first interface is different from the response result of the user touching any icon electronic device in the non-sortable state.

示例性的,若上述N个图标为N个应用程序图标时,在该N个应用程序图标处于非可排序状态时,用户触控任一应用程序图标,可以触发电子设备显示该任一应用程序图标对应的应用程序界面;而在该N个应用程序图标处于可排序状态时,用户触控任一应用程序图标,可以触发电子设备对该任一应用程序图标进行排序,并不会触发电子设备显示该任一应用程序图标对应的应用程序界面。Exemplarily, if the above N icons are N application program icons, when the N application program icons are in a non-sortable state, the user touches any application program icon to trigger the electronic device to display the any application program. The application program interface corresponding to the icon; and when the N application program icons are in the sortable state, the user touches any application program icon, which can trigger the electronic device to sort the any application program icon, but does not trigger the electronic device. The application interface corresponding to any of the application icons is displayed.

示例性的,若上述N个图标包括文件夹图标时,在该N个图标处于非可排序状态时,用户触控该文件夹图标,可以触发电子设备显示该文件夹图标对应的文件夹界面,当用户触控该文件夹界面中的任一应用程序图标,可以触发电子设备显示该任一应用程序图标对应的应用程序界面;而在该N个图标处于可排序状态时,用户触控该文件夹图标,可以触发电子设备显示该文件夹图标对应的文件夹界面,当用户触控该文件夹界面中的任一应用程序图标,电子设备可以对该任一应用程序图标进行排序,并不会触发电子设备显示该任一应用程序图标对应的应用程序界面。Exemplarily, if the above N icons include a folder icon, when the N icons are in a non-sortable state, the user touches the folder icon to trigger the electronic device to display the folder interface corresponding to the folder icon, When the user touches any application program icon in the folder interface, the electronic device can be triggered to display the application program interface corresponding to the any application program icon; and when the N icons are in a sortable state, the user touches the file The folder icon can trigger the electronic device to display the folder interface corresponding to the folder icon. When the user touches any application icon in the folder interface, the electronic device can sort the application icon without Trigger the electronic device to display the application program interface corresponding to any of the application program icons.

需要说明的是,N个图标处于非可排序状态下电子设备能够响应的输入,与N个图标处于可排序状态下终端能够响应的输入可以相同,也可以不同,只是两者所响应的结果不同。It should be noted that the input that the electronic device can respond to when the N icons are in the non-sortable state may be the same or different from the input that the terminal can respond to when the N icons are in the sortable state, but the response results of the two are different. .

例如,N个图标处于非可排序状态下和可排序状态下当“应用1”图标处于非可排序状态时,用户点击“应用1”图标,电子设备显示应用1的主界面;当“应用1”图标处于可排序状态时,用户点击“应用1”图标,电子设备对“应用1”图标进行排序。For example, when N icons are in a non-sortable state and when the "App1" icon is in a non-sortable state, the user clicks the "App1" icon, and the electronic device displays the main interface of App1; ” icon is in a sortable state, the user clicks the “App 1” icon, and the electronic device sorts the “App 1” icon.

示例性的,当电子设备控制上述N个图标处于可排序状态时,该N个图标可以在第一界面中抖动显示,或者,该N个图标可以在第一界面中高亮显示,或者,该N个图标可以在第一界面中放大显示,具体的可以根据实际需求设定,本发明实施例对此不作限定。这样电子设备可以通过特定的显示方式来提示用户N个图标处于可排序状态。Exemplarily, when the electronic device controls the above N icons to be in a sortable state, the N icons may be displayed in a jittery manner in the first interface, or the N icons may be highlighted in the first interface, or the N icons Each icon may be displayed in an enlarged manner on the first interface, and may be specifically set according to actual requirements, which is not limited in this embodiment of the present invention. In this way, the electronic device can prompt the user that the N icons are in a sortable state through a specific display manner.

在一种示例中,电子设备在接收到用户手掌在第一界面上从上向下的滑动输入之后,若用户手掌遮挡电子设备的屏幕区域的尺寸大于预设尺寸,则电子设备控制上述N个图标处于可排序状态。In an example, after the electronic device receives the sliding input of the user's palm from top to bottom on the first interface, if the size of the screen area where the user's palm covers the electronic device is larger than the preset size, the electronic device controls the above N Icons are in a sortable state.

示例性的,上述的预设尺寸可以根据用户手掌宽度来设置。该预设尺寸可以为一个值,也可以为一个区间值,本发明实施例对此不作限定。例如,用户手掌宽度一般大于4厘米,则预设尺寸可以设置为4厘米,或者,可以设置为4厘米到4.5厘米。Exemplarily, the above-mentioned preset size may be set according to the width of the user's palm. The preset size may be a value or an interval value, which is not limited in this embodiment of the present invention. For example, if the width of the user's palm is generally greater than 4 cm, the preset size may be set to 4 cm, or may be set to 4 cm to 4.5 cm.

需要说明的是,下面将以电子设备为手机为例进行说明。It should be noted that the following description will be given by taking the electronic device as a mobile phone as an example.

举例说明,如图3所示,若用户想要对图标进行排序时,可以将手指并拢,并使手掌能够覆盖整个手机屏幕,然后从手机屏幕顶端向下滑动,此时,手机内部的感光系统可以感受到手机受到遮蔽,开始计算被遮挡的手机的屏幕区域的尺寸。当计算出遮挡的屏幕区域的宽度为5厘米,大于预设的4厘米,则手机控制图标处于可排序状态,也可理解为图标排序功能唤醒成功。此时,用户便可触发电子设备对图标进行排序。For example, as shown in Figure 3, if the user wants to sort the icons, they can put their fingers together so that the palm can cover the entire phone screen, and then slide down from the top of the phone screen. At this time, the photosensitive system inside the phone You can feel that the mobile phone is occluded, and start to calculate the size of the screen area of the occluded mobile phone. When the calculated width of the blocked screen area is 5 cm, which is greater than the preset 4 cm, the mobile phone control icons are in a sortable state, which can also be understood as the successful wake-up of the icon sorting function. At this point, the user can trigger the electronic device to sort the icons.

需要说明的,除了根据用户手掌宽度一般大于4厘米的常识来设置预设尺寸,电子设备也可以对用户的手掌宽度进行预测量,然后根据测量值设置上述的预设尺寸,若预设尺寸为一个值时,预设尺寸的值需要小于用户手掌宽度的值,若预设尺寸为一个区间值时,预设尺寸的区间最小值需要小于用户手掌宽度的值。It should be noted that, in addition to setting the preset size according to the common sense that the width of the user's palm is generally greater than 4 cm, the electronic device can also pre-measure the width of the user's palm, and then set the above-mentioned preset size according to the measured value. If the preset size is When the preset size is one value, the value of the preset size needs to be smaller than the value of the width of the user's palm. If the preset size is an interval value, the minimum value of the interval of the preset size needs to be smaller than the value of the width of the user's palm.

在一种示例中,在接收到用户对上述第一界面的第三输入后,电子设备可以控制上述N个图标处于可排序状态,并显示目标控件。In an example, after receiving the third input from the user on the first interface, the electronic device may control the N icons to be in a sortable state, and display the target control.

示例性的,上述的目标控件可以包括第一子控件和第二子控件。其中,该第一子控件用于触发电子设备进行1级排序逻辑,该第二子控件用于触发电子设备进行2级排序逻辑。Exemplarily, the above-mentioned target control may include a first sub-control and a second sub-control. Wherein, the first sub-control is used to trigger the electronic device to perform the first-level sorting logic, and the second sub-control is used to trigger the electronic device to perform the second-level sorting logic.

举例说明,结合图3,如图4所示,手机屏幕上显示有手机桌面(即上述的第一界面,即图4中的31),该手机桌面中显示有6个应用程序的应用程序图标和2个文件夹的文件夹图标。其中,该6个应用程序图标分别为“应用1”图标、“应用2”图标、“应用3”图标、“应用4”图标、“应用5”图标和“应用6”图标,该2个文件夹图标分别为“文件夹1”图标和“文件夹2”图标。当手机控制8个图标处于可排序状态的同时,可以显示“1级”控件(即上述的第一子控件,如图4中的32)和“2级”控件(即上述的第二子控件,如图4中的33),用户可以通过分别对该两个控件的触控输入触发手机执行对应的排序逻辑。For example, in conjunction with Fig. 3, as shown in Fig. 4, a mobile phone desktop (that is, the above-mentioned first interface, that is, 31 in Fig. 4) is displayed on the mobile phone screen, and application icons of 6 application programs are displayed on the mobile phone desktop. and folder icons for 2 folders. Among them, the 6 application icons are respectively the "Application 1" icon, the "Application 2" icon, the "Application 3" icon, the "Application 4" icon, the "Application 5" icon and the "Application 6" icon. The folder icons are the "Folder 1" icon and the "Folder 2" icon, respectively. When the mobile phone controls the 8 icons in a sortable state, the "level 1" controls (ie the first sub-control described above, such as 32 in Figure 4) and the "level 2" controls (that is, the second sub-control described above) can be displayed , such as 33 in FIG. 4 , the user can trigger the mobile phone to execute the corresponding sorting logic through the touch input of the two controls respectively.

示例性的,上述的1级排序逻辑与2级排序逻辑是不同的排序逻辑,电子设备根据不同的排序逻辑响应的结果不同。Exemplarily, the above-mentioned level 1 sorting logic and level 2 sorting logic are different sorting logics, and the electronic device responds with different results according to different sorting logics.

例1,在手机显示手机桌面的情况下,手机桌面既包括应用程序的应用程序图标,又包括文件夹的文件夹图标,此时,若用户只想对手机桌面上显示的图标进行排序时,用户可以触发手机进行1级排序。当用户对应用程序图标和文件夹图标进行输入,不会触发原有功能,即打开应用程序图标对应的应用程序或者打开文件夹图标对应的文件夹,而是对上述的应用程序图标和文件夹图标进行排序。Example 1, when the mobile phone displays the mobile phone desktop, the mobile phone desktop includes both the application icon of the application program and the folder icon of the folder. At this time, if the user only wants to sort the icons displayed on the mobile phone desktop, The user can trigger the phone to do a level 1 sorting. When the user inputs the application icon and folder icon, the original function will not be triggered, that is to open the application corresponding to the application icon or open the folder corresponding to the folder icon, but the above application icons and folders will not be triggered. icons to sort.

例2,在手机显示手机桌面的情况下,手机桌面既包括应用程序的应用程序图标,又包括文件夹的文件夹图标,此时,若用户想要对手机桌面上显示的图标进行排序,或者用户想要对文件夹图标对应的文件夹中的图标进行排序,或者用户想要将手机桌面中的图标和文件夹中的图标进行交换,或者用户想要将两个文件夹中的图标进行交换,用户可以触发手机进行2级排序。当用户对应用程序图标进行输入,不会触发原有功能,而是通过输入应用程序图标序号和/或想要放置该应用程序图标的位置,对应用程序图标进行排序;当用户对文件夹图标进行输入,则打开文件夹图标对应的文件夹,该文件夹的文件界面显示有应用程序图标,当用户对文件界面中的应用程序图标进行输入,不会触发原有功能,而是通过输入想要排序的应用程序图标序号和/或想要放置该文件界面中的应用程序图标的位置,对该文件界面中的应用程序图标进行排序。Example 2, when the mobile phone displays the mobile phone desktop, the mobile phone desktop includes both the application icon of the application and the folder icon of the folder. At this time, if the user wants to sort the icons displayed on the mobile phone desktop, or The user wants to sort the icons in the folder corresponding to the folder icon, or the user wants to exchange the icons in the mobile phone desktop with the icons in the folder, or the user wants to exchange the icons in the two folders , the user can trigger the phone to perform 2-level sorting. When the user enters the application icon, the original function will not be triggered, but the application icon is sorted by entering the application icon serial number and/or the position where the application icon is to be placed; when the user enters the folder icon For input, the folder corresponding to the folder icon is opened, and the file interface of the folder displays the application icon. When the user enters the application icon in the file interface, the original function will not be triggered, but the desired The sequence number of the application program icon to be sorted and/or the position where the application program icon in the file interface is to be placed, and the application program icon in the file interface is sorted.

本发明实施例提供的图标排序方法,电子设备显示包含N个图标的第一界面,在接收到对该N个图标中的M个目标图标的第一输入之后,可以根据该第一输入对应的M个目标图标的排序顺序,更新N个图标的显示位置。由于该排序顺序与上述第一输入所输入的排序信息相关,因此,电子设备可以根据排序信息确定M个目标图标的排序顺序,无需对图标进行移动,便可一次性更新N个图标的显示位置,使得整个图标排序过程操作简便、效率高。In the icon sorting method provided by the embodiment of the present invention, the electronic device displays a first interface including N icons, and after receiving the first input of the M target icons among the N icons, it can Sort order of M target icons, and update the display positions of N icons. Since the sorting order is related to the sorting information input by the first input, the electronic device can determine the sorting order of the M target icons according to the sorting information, and can update the display positions of the N icons at one time without moving the icons , making the entire icon sorting process simple and efficient.

可选的,在本发明实施例中,上述第一输入可以包括对上述M个目标图标的点击输入;上述M个目标图标的排序顺序可以为该M个目标图标的点击顺序。Optionally, in this embodiment of the present invention, the first input may include a click input on the M target icons; the sorting order of the M target icons may be the click order of the M target icons.

示例性的,电子设备可以根据用户对上述M个目标图标的点击顺序从前往后依次排序,或者,电子设备可以根据用户对上述M个目标图标的点击顺序从后往前依次排序,本发明实施例对此不作限定。Exemplarily, the electronic device may sort from front to back according to the click order of the above-mentioned M target icons by the user, or the electronic device may sort from back to front according to the click order of the above-mentioned M target icons by the user. The example does not limit this.

示例性的,用户每点击一个目标图标可以在该目标图标的附近显示对应的图标排序序号。需要说明的是,该图标排序序号可以显示在该目标图标的上方,也可以显示在该目标图标的下方,还可以显示在该目标图标的左侧,还可以显示在该目标图标的右侧,本发明实施例对此不作限定。Exemplarily, each time the user clicks on a target icon, a corresponding icon sequence number may be displayed near the target icon. It should be noted that the icon sequence number can be displayed above the target icon, below the target icon, on the left side of the target icon, or on the right side of the target icon, This embodiment of the present invention does not limit this.

举例说明,目标控件还包括“排序完成”控件,如图4所示,当用户想要对手机桌面31中显示的8个图标进行排序时,用户可以点击“1级”控件32,此时,用户可以分别点击想要排序的8个图标,若用户想要将“应用5”图标排在第一个,则用户可以在第一次点击“应用5”图标,手机在该“应用5”图标的下方显示数字“1”(即上述的图标排序序号),若用户想要将“应用1”图标排在第二个,则用户可以在第二次点击“应用1”图标,手机在该“应用1”图标的下方显示数字“2”,以此类推,直至用户在第八次点击“应用3”图标后,手机在该“应用3”图标的下方显示数字“8”。当用户对8个图标都进行了排序后,可以点击“排序完成”控件(即图4中的34),此时,如图5所示,手机桌面31上按照重新排序后的顺序显示该8个图标,“应用5”图标排为第一个,“应用1”图标排为第二个,以此类推,“应用3”图标排为第八个。For example, the target control also includes a "sort complete" control. As shown in Figure 4, when the user wants to sort the 8 icons displayed on the mobile phone desktop 31, the user can click the "level 1" control 32. At this time, The user can click on the 8 icons that they want to sort respectively. If the user wants to put the "App 5" icon in the first place, the user can click the "App 5" icon for the first time, and the mobile phone will place the "App 5" icon on the "App 5" icon for the first time. The number "1" (that is, the above-mentioned icon sorting sequence number) is displayed at the bottom of the icon. If the user wants to rank the "App 1" icon in the second place, the user can click the "App 1" icon for the second time, and the mobile phone is in the "App 1" icon. The number "2" is displayed below the "App 1" icon, and so on, until after the user clicks the "App 3" icon for the eighth time, the mobile phone displays the number "8" below the "App 3" icon. After the user has sorted the 8 icons, he can click the "sorting complete" control (ie, 34 in Figure 4). At this time, as shown in Figure 5, the mobile phone desktop 31 displays the 8 icons in the reordered order. The "App 5" icon is the first, the "App 1" icon is the second, and so on, the "App 3" icon is the eighth.

需要说明的是,当用户点击“排序完成”控件后,电子设备取消该图标处于可排序状态,并不再显示目标控件。在用户触发电子设备进行1级排序逻辑时,第一界面中的文件夹图标可以被视为应用程序图标。It should be noted that, after the user clicks the "sorting complete" control, the electronic device cancels the icon being in the sortable state, and no longer displays the target control. When the user triggers the electronic device to perform the first-level sorting logic, the folder icons in the first interface may be regarded as application icons.

这样,电子设备可以通过点击的方式,并且可以根据点击顺序对M个目标图标进行排序,无需对图标进行移动,便可实现对图标进行排序,使得图标排序的过程更简便,效率高。In this way, the electronic device can sort the M target icons by clicking and according to the click sequence, and the icons can be sorted without moving the icons, which makes the process of sorting the icons simpler and more efficient.

进一步可选的,在本发明实施例中,用户可以对已经排序的目标图标重新进行排序。Further optionally, in this embodiment of the present invention, the user may re-sort the sorted target icons.

示例性的,在任一目标图标的附近显示对应的图标排序序号的情况下,用户可以通过在该图标排序序号上的滑动输入来调整图标排序序号。Exemplarily, in the case where the corresponding icon sorting sequence number is displayed near any target icon, the user can adjust the icon sorting sequence number by sliding input on the icon sorting sequence number.

在一种示例中,当用户在图标排序序号上向上滑动,则图标排序序号增大(增加),当用户在图标排序序号上向下滑动,则图标排序序号减小(降低)。In one example, when the user slides up on the icon sorting number, the icon sorting number increases (increases), and when the user slides down on the icon sorting number, the icon sorting number decreases (decreases).

例3,结合图4,当“应用4”图标的图标排序序号为数字“3”,若用户在数字“3”上向上滑动,则手机将“应用4”图标的图标排序序号由数字“3”调整为数字“4”,将原本的图标排序序号为数字“4”的“应用7”图标的图标排序序号调整为数字“3”。Example 3, in conjunction with Figure 4, when the icon sorting sequence number of the "App 4" icon is the number "3", if the user slides up on the number "3", the mobile phone sorts the icon sequence number of the "App 4" icon from the number "3". " is adjusted to the number "4", and the icon sorting number of the "App 7" icon whose original icon sorting number is the number "4" is adjusted to the number "3".

例4,结合图4,当“应用4”图标的图标排序序号为数字“3”,若用户在数字“3”上向下滑动,则手机将“应用4”图标的图标排序序号由数字“3”调整为数字“2”,将原本的图标排序序号为数字“2”的“应用1”图标的图标排序序号调整为数字“3”。Example 4, in conjunction with Figure 4, when the icon sorting sequence number of the "App 4" icon is the number "3", if the user slides down on the number "3", the mobile phone sorts the icon sequence number of the "App 4" icon from the number "3". 3" is adjusted to the number "2", and the icon sorting number of the "App 1" icon whose original icon sorting number is the number "2" is adjusted to the number "3".

在另一种示例中,当用户在图标排序序号上向上滑动,则图标排序序号减小(降低),当用户在图标排序序号上向下滑动,则图标排序序号增大(增加)。In another example, when the user slides up on the icon sorting number, the icon sorting number decreases (decreases), and when the user slides down on the icon sorting number, the icon sorting number increases (increases).

这样,当用户对图标进行排序后,还可以方便用户根据需求快速调整图标的图标排序序号,从而重新对图标进行排序,使得图标排序的过程更简便、灵活。In this way, after the user sorts the icons, it is also convenient for the user to quickly adjust the icon sorting serial numbers of the icons according to requirements, so as to re-sort the icons, making the process of sorting the icons more convenient and flexible.

可选的,在本发明实施例中,若用户需求触发电子设备对桌面中的图标和文件夹中的图标进行交换和排序,或者,对不同文件夹中的图标进行交换和排序时,可以将其显示在同一界面,以方便操作。Optionally, in this embodiment of the present invention, if the user demand triggers the electronic device to exchange and sort the icons in the desktop and the icons in the folder, or, when exchanging and sorting the icons in different folders, the It is displayed on the same interface for easy operation.

示例性的,在上述的步骤201之前,该方法还可以包括如下步骤A1:Exemplarily, before the above-mentioned step 201, the method may further include the following step A1:

步骤A1:电子设备接收对第一文件夹图标的第三输入。Step A1: The electronic device receives a third input of the first folder icon.

示例性的,上述的第三输入可以包括:用户对第一文件夹图标的点击输入,或者,用户在该第一文件夹图标上的滑动输入,或者,用户在该第一文件夹图标上的其他可行性输入,具体的可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, the above-mentioned third input may include: the user's click input on the first folder icon, or the user's sliding input on the first folder icon, or the user's input on the first folder icon. Other feasible inputs can be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present invention.

基于上述的步骤A1,上述的步骤201具体可以包括如下步骤A2:Based on the above-mentioned step A1, the above-mentioned step 201 may specifically include the following step A2:

步骤A2:响应于上述第三输入,电子设备显示第一界面。Step A2: In response to the third input, the electronic device displays a first interface.

示例性的,第一界面的第一显示区域中显示有第一图标,第一界面的第二显示区域中显示有第二图标。Exemplarily, the first icon is displayed in the first display area of the first interface, and the second icon is displayed in the second display area of the first interface.

具体的,第一图标包括上述第一文件夹图标,第二图标为第一文件夹中的图标,上述N个图标包括第一图标和第二图标。Specifically, the first icon includes the above-mentioned first folder icon, the second icon is an icon in the first folder, and the above-mentioned N icons include the first icon and the second icon.

举例说明,如图6所示,若用户想要对文件夹1中的应用程序图标和手机桌面(即图6中的31)上的应用程序图标进行排序时,用户可以点击“文件夹1”图标。此时,手机屏幕可以分屏显示第一界面(即“文件夹1”的文件夹界面和手机桌面),其中,手机屏幕的第一显示区域上显示有在手机桌面31,第二显示区域上显示有“文件夹1”的文件夹界面(即图6中的41),该文件夹界面41上显示有两个应用程序的应用程序图标,分别为“应用7”图标和“应用8”图标。此时,用户可以对第一界面上显示的10个图标进行排序。For example, as shown in Figure 6, if the user wants to sort the application icons in the folder 1 and the application icons on the mobile phone desktop (ie, 31 in Figure 6), the user can click "Folder 1" icon. At this time, the mobile phone screen can display the first interface (ie the folder interface of "Folder 1" and the mobile phone desktop) in a split screen, wherein the mobile phone desktop 31 is displayed on the first display area of the mobile phone screen, and the mobile phone desktop 31 is displayed on the second display area on the second display area. A folder interface with “Folder 1” (ie, 41 in FIG. 6 ) is displayed, and application icons of two applications are displayed on the folder interface 41, namely the “Application 7” icon and the “Application 8” icon. . At this point, the user can sort the 10 icons displayed on the first interface.

这样,电子设备可以通过分屏的方式显示第一界面包含的多个界面,用户可以随时从一个界面中选择要添加到另一个界面的图标来参与排序,从而可以方便用户对图标进行排序。In this way, the electronic device can display multiple interfaces included in the first interface in a split-screen manner, and the user can select an icon to be added to another interface from one interface at any time to participate in the sorting, thereby facilitating the user to sort the icons.

可选的,在本发明实施例中,电子设备可以根据输入排序信息的方式来对图标进行排序。Optionally, in this embodiment of the present invention, the electronic device may sort the icons according to the manner of inputting sorting information.

示例性的,在上述第一输入包括M个子输入,一个子输入对应一个目标图标的情况下,上述的步骤203具体可以包括如下步骤203a至步骤203c:Exemplarily, in the case that the above-mentioned first input includes M sub-inputs, and one sub-input corresponds to one target icon, the above-mentioned step 203 may specifically include the following steps 203a to 203c:

步骤203a:响应于第一目标图标对应的子输入,电子设备在上述第一界面上显示输入区域。Step 203a: In response to the sub-input corresponding to the first target icon, the electronic device displays an input area on the above-mentioned first interface.

其中,第一目标图标为M个目标图标中的其中一个。The first target icon is one of the M target icons.

示例性的,上述的输入区域可以为滚动选择框,也可以为字符输入框,本发明实施例对此不作限定。示例性的,上述的字符包括以下至少一项:文字,数字,字母和数学符号。Exemplarily, the above-mentioned input area may be a scrolling selection box or a character input box, which is not limited in this embodiment of the present invention. Exemplarily, the above-mentioned characters include at least one of the following: characters, numbers, letters and mathematical symbols.

举例说明,结合图4,若用户想要对文件夹1中的应用程序图标进行排序时,用户可以点击“2级”控件33,然后用户可以点击“文件夹1”图标。此时,结合图6,手机在手机桌面31上显示文件夹1的文件夹界面41,该文件夹界面41上显示有两个应用程序的应用程序图标,分别为“应用7”图标和“应用8”图标。若用户想要对“应用8”图标进行排序时,可以点击该“应用8”图标。此时,如图7所示,手机在该“应用8”图标的右侧显示一个滚动选择框(即上述的输入框,如图7中的42)。For example, referring to FIG. 4 , if the user wants to sort the application icons in the folder 1, the user can click the “level 2” control 33, and then the user can click the “folder 1” icon. At this time, with reference to FIG. 6 , the mobile phone displays the folder interface 41 of the folder 1 on the mobile phone desktop 31 , and the folder interface 41 displays the application program icons of two application programs, namely the “Application 7” icon and the “Application 7” icon. 8" icon. If the user wants to sort the "App 8" icons, they can click the "App 8" icon. At this time, as shown in FIG. 7 , the mobile phone displays a scrolling selection box (ie, the above-mentioned input box, such as 42 in FIG. 7 ) on the right side of the "App 8" icon.

在一种示例中,上述文件夹1的文件夹界面可以悬浮显示在手机桌面上,当用户拖动文件夹界面时,该文件夹界面可以随着用户的拖动操作在手机桌面上移动。这样,当文件夹界面挡住手机桌面上的图标时,用户可以移开该文件夹界面,方便用户对手机桌面上的图标进行操作。In an example, the folder interface of the above-mentioned folder 1 can be displayed in a suspended manner on the mobile phone desktop. When the user drags the folder interface, the folder interface can move on the mobile phone desktop along with the user's drag operation. In this way, when the folder interface blocks the icons on the mobile phone desktop, the user can remove the folder interface to facilitate the user to operate the icons on the mobile phone desktop.

步骤203b:电子设备接收对上述输入区域的第二输入。Step 203b: The electronic device receives a second input to the above input area.

示例性的,上述的第二输入可以包括:对输入区域的点击输入,或者是用户输入的语音指令,或者是用户输入的特定手势,具体的可以根据实际使用需求确定,本发明实施例对此不作限定。Exemplarily, the above-mentioned second input may include: a click input on the input area, or a voice command input by the user, or a specific gesture input by the user. Not limited.

需要说明的是,对于上述的点击输入和特定手势的描述可以参考本发明实施例中对第一输入中的点击输入以及特定手势的描述,此处不再赘述。It should be noted that, for the description of the above click input and specific gesture, reference may be made to the description of the click input and the specific gesture in the first input in the embodiment of the present invention, and details are not repeated here.

在一种示例中,上述的输入区域可以包括第一子输入框和第二子输入框;该第一子输入框用于输入上述第一目标图标在目标界面上的图标排序序号,该第二子输入框用于输入该目标界面的界面名称。In an example, the above-mentioned input area may include a first sub-input box and a second sub-input box; the first sub-input box is used to input the icon sequence number of the above-mentioned first target icon on the target interface, the second sub-input box The sub input box is used to input the interface name of the target interface.

其中,上述的目标界面可以包括上述第一界面或第二界面,第二界面为与第一界面不同的界面。例如,第二界面可以为目标文件夹的文件夹界面,也可以为桌面名称,还可以为其他任意界面名称,本发明实施例对此不作限定。The above-mentioned target interface may include the above-mentioned first interface or the second interface, and the second interface is an interface different from the first interface. For example, the second interface may be a folder interface of the target folder, a desktop name, or any other interface name, which is not limited in this embodiment of the present invention.

举例说明,以目标界面可为第一界面为例,如图7所示,若用户想要将文件夹1中的“应用8”图标排在文件夹1的文件夹界面41的第一个,可以点击该“应用8”图标,则“应用8”图标的右侧显示一个滚动选择框42,该一个滚动选择框包括左滚动选择框(即上述的第二子输入框,如图7中的42a)和右滚动选择框(即上述的第一子输入框,如图7中的42b)。当用户只想调整“应用8”在文件夹1的文件夹界面中的排序时,不需要调整左滚动选择框42a显示的界面名称“文件夹1”,只需要在右滚动选择框42b中选择数字“1”。For example, taking the target interface as the first interface as an example, as shown in FIG. 7 , if the user wants to arrange the “Application 8” icon in the folder 1 in the first place in the folder interface 41 of the folder 1, The "Application 8" icon can be clicked, then a scrolling selection box 42 is displayed on the right side of the "Application 8" icon, and the scrolling selection box includes a left scrolling selection box (that is, the above-mentioned second sub-input box, as shown in FIG. 7 . 42a) and the right scroll selection box (ie, the above-mentioned first sub-input box, such as 42b in FIG. 7). When the user only wants to adjust the ordering of "Application 8" in the folder interface of Folder 1, he does not need to adjust the interface name "Folder 1" displayed in the left scroll selection box 42a, and only needs to select in the right scroll selection box 42b Number 1".

这样,电子设备可以通过输入排序信息的方式直接对图标进行排序,直接对图标进行排序,无需用户对图标进行拖动,可以简化排序的操作步骤。In this way, the electronic device can directly sort the icons by inputting sorting information, and the icons can be sorted directly without the user dragging the icons, which can simplify the sorting operation steps.

进一步的,在上述的输入区域包括上述的第一子输入框和上述的第二子输入框的情况下,上述第二输入可以包括以下至少一项:第一子输入,第二子输入。Further, when the above-mentioned input area includes the above-mentioned first sub-input box and the above-mentioned second sub-input box, the above-mentioned second input may include at least one of the following: a first sub-input and a second sub-input.

其中,上述的第一子输入可以为对第一子输入框的输入,上述的第二子输入可以为对第二子输入框的输入。The above-mentioned first sub-input may be an input to the first sub-input box, and the above-mentioned second sub-input may be an input to the second sub-input box.

在一种示例中,在上述第一子输入框为第一滚动选择框的情况下,该第一子输入可以为对该第一滚动选择框的第一滚动输入;在上述第二子输入框为第二滚动选择框的情况下,该第二子输入可以为对该第二滚动选择框的第二滚动输入;该第一滚动选择框内显示的图标排序序号可以随着该第一滚动输入滚动变化,该第二滚动选择框内显示的界面名称可以随着该第二滚动输入滚动变化。In an example, when the above-mentioned first sub-input box is a first scrolling selection box, the first sub-input may be the first scrolling input to the first scrolling selection box; in the above-mentioned second sub-input box In the case of the second scrolling selection box, the second sub-input may be the second scrolling input of the second scrolling selection box; the sorting sequence number of the icons displayed in the first scrolling selection box may follow the first scrolling input Scrolling changes, the interface name displayed in the second scrolling selection box can be scrolled and changed with the second scrolling input.

举例说明,如图8所示,手机桌面(即图8中的31)中“应用6”图标的右侧显示有一个滚动选择框(即图8中的51),该滚动选择框51包括左滚动选择框(即图8中的51a)和右滚动选择框(即图8中的51b)。用户可以在该左滚动选择框51a上滑动(即上述的第二滚动输入),用户在左滚动选择框51a上每滑动一下,该左滚动选择框51a内滚动显示一个界面名称,该左滚动选择框内51a可以显示界面名称“文件夹1”、“文件夹2”和“自定义”。然后,用户可以在该右滚动选择框51b上滑动(即上述的第一滚动输入),用户在右滚动选择框51b上每滑动一下,该左滚动选择框51b内滚动显示一个数字(即上述的图标排序序号),该右滚动选择框51b内可以显示数字1至10。For example, as shown in FIG. 8 , a scrolling selection box (ie 51 in Scroll selection box (ie 51a in Figure 8) and right scroll selection box (ie 51b in Figure 8). The user can slide on the left scroll selection box 51a (that is, the above-mentioned second scroll input), and each time the user slides on the left scroll selection box 51a, an interface name is scrolled in the left scroll selection box 51a, and the left scroll selection box 51a scrolls to display an interface name. The frame 51a may display interface names "Folder 1", "Folder 2", and "Custom". Then, the user can slide on the right scroll selection box 51b (that is, the above-mentioned first scroll input), and each time the user slides on the right scroll selection box 51b, a number is scrolled and displayed in the left scroll selection box 51b (that is, the above-mentioned first scroll input). icon sorting sequence number), numbers 1 to 10 can be displayed in the right scroll selection box 51b.

需要说明的是,上述的“自定义”是指用户可以通过该“自定义”选项新建一个文件夹。It should be noted that the above "custom" means that the user can create a new folder through the "custom" option.

步骤203c:响应于上述第二输入,电子设备根据上述第二输入在上述输入区域中输入的排序信息,更新上述第一目标图标的显示位置。Step 203c: In response to the second input, the electronic device updates the display position of the first target icon according to the sorting information entered in the input area by the second input.

在一种示例中,上述的排序信息可以包括:上述第一目标图标在上述第一界面中的图标排序序号。In an example, the above-mentioned sorting information may include: an icon sorting sequence number of the above-mentioned first target icon in the above-mentioned first interface.

在另一种示例中,上述的排序信息可以包括:上述第一目标图标在目标文件夹中的图标排序序号。In another example, the above-mentioned sorting information may include: the icon sorting sequence number of the above-mentioned first target icon in the target folder.

举例说明,结合图7,如图8所示,当用户想要将“应用6”图标更新显示到文件夹1中,并在文件夹1中的图标排序为第二个时,用户可以在该左滚动选择框51a上滑动(即上述的第二滚动输入),直至左滚动选择框51a内显示界面名称“文件夹1”。然后,用户可以在右滚动选择框51b上滑动(即上述的第一滚动输入),直至该右滚动选择框51b内显示数字“2”。此时,手机可以根据该左滚动选择框51a显示的“文件夹1”和该右滚动选择框51b中显示的“2”(即上述排序信息),将“应用6”图标的显示位置更新为文件夹1界面41中的第二个显示位置,如图9所示。For example, with reference to FIG. 7, as shown in FIG. 8, when the user wants to update and display the "App 6" icon in folder 1, and the icon in folder 1 is ranked second, the user can The left scroll selection box 51a is slid upward (ie, the above-mentioned second scroll input) until the interface name "folder 1" is displayed in the left scroll selection box 51a. Then, the user can slide on the right scroll selection box 51b (ie, the above-mentioned first scroll input) until the number "2" is displayed in the right scroll selection box 51b. At this time, the mobile phone can update the display position of the "App 6" icon as The second display position in the folder 1 interface 41 is shown in FIG. 9 .

这样,用户可以通过在输入区域中输入排序信息的方式,对第一界面和文件夹界面的图标进行排序,并且可以快速将第一界面中的图标添加到文件夹中,并在文件夹界面中排序,从而无需将第一界面中的图标拖动到文件夹后,再在文件夹界面中对图标进行排序,使得整个图标排序过程操作简便、效率高。In this way, the user can sort the icons of the first interface and the folder interface by inputting sorting information in the input area, and can quickly add the icons in the first interface to the folder, and put the icons in the folder interface Sorting eliminates the need to drag the icons in the first interface to the folder, and then sort the icons in the folder interface, making the entire icon sorting process simple and efficient.

进一步的,电子设备除了可以包括上述的第一子输入框和上述的第二子输入框以外,还可以包括第三子输入框。Further, in addition to the above-mentioned first sub-input box and the above-mentioned second sub-input box, the electronic device may also include a third sub-input box.

示例性的,若电子设备的第一界面为桌面,当电子设备还包括其他桌面,且每个桌面上均包含文件夹图标时,上述的第二子输入框可以仅用于输入第二界面中包含的文件夹界面的界面名称,上述的第三子输入框用于输入第二界面中包含的桌面名称,用以区分不同的桌面和文件夹。Exemplarily, if the first interface of the electronic device is a desktop, when the electronic device also includes other desktops, and each desktop contains a folder icon, the above-mentioned second sub-input box can only be used for inputting in the second interface. The interface name of the included folder interface. The above-mentioned third sub-input box is used to input the desktop name included in the second interface, so as to distinguish different desktops and folders.

在一种示例中,电子设备可以在接收到用户的第五输入之后,显示第三子输入框,该第三子输入框用于输入M个目标图标中的第一目标图标所在桌面的桌面名称。In an example, after receiving the fifth input from the user, the electronic device may display a third sub-input box, where the third sub-input box is used to input the desktop name of the desktop where the first target icon among the M target icons is located .

其中,上述的第三子输入框可以为第三滚动选择框,也可以为第三自字符选择框,本发明实施例对此不作限定。The above-mentioned third sub-input box may be a third scroll selection box, or may be a third self-character selection box, which is not limited in this embodiment of the present invention.

需要说明的是,上述的第一子输入框、第二子输入框和第三子输入框可以显示在电子设备屏幕中的任意位置,本发明实施例对此不作限定。It should be noted that the above-mentioned first sub-input box, second sub-input box, and third sub-input box may be displayed at any position on the screen of the electronic device, which is not limited in this embodiment of the present invention.

在一种示例中,上述的目标控件可以包括“桌面选择”控件(如图4中的35所示),上述的第五输入具体可以为用户对该“桌面选择”控件的第五输入。In an example, the above-mentioned target control may include a “desktop selection” control (as shown in 35 in FIG. 4 ), and the above-mentioned fifth input may specifically be a fifth input of the user to the “desktop selection” control.

举例说明,结合图8,以第一界面为手机桌面1,手机包括手机桌面1和手机桌面2为例,如图10所示,若用户想要将手机桌面1(即上述的第一界面,如图10中的31)中的“应用6”图标更新显示到手机桌面2(即上述的第二界面)中的文件夹3的文件夹界面中的第一个,用户可以先点击“桌面选择”控件,此时,手机在手机桌面1中“桌面选择”控件右侧显示一个桌面滚动选择框(即上述的第三滚动选择框,如图10中的52),用户可以在该桌面滚动选择框52上滑动,直至该桌面滚动选择框52中显示“桌面2”。接着,用户可以点击“2级”控件,然后点击“应用6”图标,此时,手机在手机桌面1中“应用6”图标的右侧显示一个滚动选择框(即图10中的51),用户可以在左滚动选择框(即图10中的51a)中滑动(即上述的第二滚动输入),直至左滚动选择框中显示“文件夹3”,在右滚动选择框(即图10中的51b)上滑动(即上述的第一滚动输入),直至该右滚动选择框51b中显示数字“1”。当用户完成选择后,可以点击“排序完成”控件(即图10中的34),则手机在手机桌面2中的文件夹3的文件夹界面中第一个图标显示位置上显示“应用6”图标。For example, in conjunction with FIG. 8 , take the first interface as the mobile phone desktop 1, and the mobile phone includes the mobile phone desktop 1 and the mobile phone desktop 2 as an example, as shown in FIG. The "Application 6" icon in Figure 10 (31) is updated and displayed to the first one of the folder interfaces of the folder 3 in the mobile phone desktop 2 (that is, the above-mentioned second interface), and the user can click "Desktop Selection" first ” control, at this time, the mobile phone displays a desktop scrolling selection box on the right side of the “desktop selection” control in the mobile phone desktop 1 (that is, the above-mentioned third scrolling selection box, such as 52 in Figure 10), the user can scroll on the desktop to select Slide up the box 52 until "Desktop 2" is displayed in the desktop scrolling selection box 52 . Next, the user can click the "Level 2" control, and then click the "App 6" icon. At this time, the mobile phone displays a scrolling selection box on the right side of the "App 6" icon in the mobile phone desktop 1 (ie, 51 in Figure 10), The user can slide in the left scroll selection box (ie, 51a in FIG. 10 ) (ie, the above-mentioned second scroll input) until “folder 3” is displayed in the left scroll selection box, and in the right scroll selection box (ie, in FIG. 10 ), “folder 3” is displayed. 51b) and slide up (ie, the above-mentioned first scroll input) until the number "1" is displayed in the right scroll selection box 51b. After the user completes the selection, he can click the "sort complete" control (ie, 34 in Figure 10), and the mobile phone displays "Application 6" on the first icon display position in the folder interface of the folder 3 in the mobile phone desktop 2 icon.

这样,当电子设备具有多个桌面时,当用户想要将不同桌面间的进行图标更新显示位置并排序时,用户不需要在桌面之间来回拖动图标便可完成对图标排序,使得整个图标排序过程操作简便,效率高。In this way, when the electronic device has multiple desktops, when the user wants to update the display position and sort the icons between different desktops, the user does not need to drag the icons back and forth between the desktops to complete the sorting of the icons, so that the entire icon The sorting process is easy to operate and has high efficiency.

需要说明的是,本发明实施例中提供的子输入框的个数以及每个子输入框的用途可以根据实际需求设定,本发明实施例对此不作限定。It should be noted that, the number of sub-input boxes provided in the embodiment of the present invention and the purpose of each sub-input box may be set according to actual requirements, which are not limited in the embodiment of the present invention.

在一种示例中,若电子设备包括至少两个显示屏,用户可以在该至少两个显示屏中同时触发电子设备对图标进行排序。In one example, if the electronic device includes at least two display screens, the user can simultaneously trigger the electronic device to sort the icons in the at least two display screens.

具体的,电子设备的显示屏可以包括第一屏和第二屏。其中,第一屏和第二屏均显示有第一界面。示例1,在电子设备接收到用户对第一屏或第二屏的第四输入之后,可以同时控制第一屏和第二屏中的图标处于可排序状态。示例2,在电子设备接收到用户在第一屏上的第四输入之后,控制第一屏中的图标处于可排序状态;或者,在电子设备接收到用户在第二屏上的第四输入之后,控制第二屏中的图标处于可排序状态。Specifically, the display screen of the electronic device may include a first screen and a second screen. The first interface is displayed on both the first screen and the second screen. Example 1, after the electronic device receives the user's fourth input on the first screen or the second screen, it can simultaneously control the icons in the first screen and the second screen to be in a sortable state. Example 2, after the electronic device receives the user's fourth input on the first screen, controls the icons in the first screen to be in a sortable state; or, after the electronic device receives the user's fourth input on the second screen to control the icons in the second screen to be in a sortable state.

图11为实现本发明实施例提供的一种图标排序装置的可能的结构示意图,如图11所示,图标排序装置600包括:显示模块601、接收模块602和执行模块603,其中:显示模块601,用于显示第一界面;该第一界面中包含N个图标;接收模块602,用于接收对上述的显示模块601显示上述N个图标中的M个目标图标的第一输入;执行模块603,用于响应于上述接收模块602接收到的上述第一输入,根据该第一输入对应的上述M个目标图标的排序顺序,更新上述N个图标的显示位置;其中,上述排序顺序与上述第一输入所输入的排序信息相关,N为大于1的正整数,M为正整数,N≥M。11 is a schematic diagram of a possible structure for implementing an icon sorting apparatus provided by an embodiment of the present invention. As shown in FIG. 11 , the icon sorting apparatus 600 includes: a display module 601 , a receiving module 602 and an execution module 603 , wherein: the display module 601 , used to display the first interface; the first interface contains N icons; the receiving module 602 is used to receive the first input for displaying the M target icons among the N icons to the above-mentioned display module 601 ; the execution module 603 is used to update the display positions of the N icons according to the sorting order of the M target icons corresponding to the first input in response to the first input received by the receiving module 602; wherein the sorting order is the same as the above-mentioned No. The sorting information input by an input is related, N is a positive integer greater than 1, M is a positive integer, and N≥M.

可选的,显示模块601,还用于在第一输入包括M个子输入,一个子输入对应一个目标图标的情况下,响应于上述接收模块602接收到的第一目标图标对应的子输入,在第一界面上显示输入区域,该第一目标图标为M个目标图标中的其中一个;接收模块601,还用于接收对显示模块601显示的输入区域的第二输入;执行模块603,具体用于响应于接收模块602接收到的第二输入,根据第二输入在输入区域中输入的排序信息,更新第一目标图标的显示位置。Optionally, the display module 601 is further configured to, in the case where the first input includes M sub-inputs and one sub-input corresponds to a target icon, in response to the sub-input corresponding to the first target icon received by the receiving module 602, An input area is displayed on the first interface, and the first target icon is one of the M target icons; the receiving module 601 is also used to receive the second input to the input area displayed by the display module 601; the execution module 603 is specifically used for In response to the second input received by the receiving module 602, the display position of the first target icon is updated according to the sorting information input in the input area according to the second input.

可选的,上述排序信息包括:第一目标图标在第一界面中的图标排序序号,或第一目标图标在目标文件夹中的图标排序序号。Optionally, the above sorting information includes: the icon sorting sequence number of the first target icon in the first interface, or the icon sorting sequence number of the first target icon in the target folder.

可选的,上述输入区域包括第一子输入框和第二子输入框;该第一子输入框用于输入第一目标图标在目标界面上的图标排序序号,该第二子输入框用于输入目标界面的界面名称;其中,该目标界面包括第一界面或第二界面,该第二界面为与第一界面不同的界面。Optionally, the above-mentioned input area includes a first sub-input box and a second sub-input box; the first sub-input box is used for inputting the icon sorting sequence number of the first target icon on the target interface, and the second sub-input box is used for inputting the icon sorting sequence number of the first target icon on the target interface. Input the interface name of the target interface; wherein, the target interface includes a first interface or a second interface, and the second interface is an interface different from the first interface.

可选的,上述第二输入包括以下至少一项:第一子输入,第二子输入;其中,在第一子输入框为第一滚动选择框的情况下,第一子输入为对第一滚动选择框的第一滚动输入;在第二子输入框为第二滚动选择框的情况下,第二子输入为对第二滚动选择框的第二滚动输入;该第一滚动选择框内显示的图标排序序号随着第一滚动输入滚动变化,该第二滚动选择框内显示的界面名称随着第二滚动输入滚动变化。Optionally, the above-mentioned second input includes at least one of the following: a first sub-input, a second sub-input; wherein, in the case where the first sub-input box is the first scrolling selection box, the first sub-input is a The first scrolling input of the scrolling selection box; when the second sub-input box is the second scrolling selection box, the second sub-input is the second scrolling input to the second scrolling selection box; the first scrolling selection box displays The icon sorting sequence number changes with the first scrolling input, and the interface name displayed in the second scrolling selection box changes with the second scrolling input.

可选的,接收模块602,还用于接收对第一文件夹图标的第三输入;显示模块601,具体用于响应于接收模块602接收到的第三输入,显示第一界面,该第一界面的第一显示区域中显示有第一图标,该第一界面的第二显示区域中显示有第二图标;其中,第一图标包括第一文件夹图标,第二图标为第一文件夹中的图标,上述N个图标包括第一图标和第二图标。Optionally, the receiving module 602 is further configured to receive a third input to the first folder icon; the display module 601 is specifically configured to display a first interface in response to the third input received by the receiving module 602, the first A first icon is displayed in the first display area of the interface, and a second icon is displayed in the second display area of the first interface; wherein, the first icon includes the first folder icon, and the second icon is in the first folder The above N icons include a first icon and a second icon.

本发明实施例提供的图标排序装置,图标排序装置显示包含N个图标的第一界面,在接收到对该N个图标中的M个目标图标的第一输入之后,可以根据该第一输入对应的M个目标图标的排序顺序,更新N个图标的显示位置。由于该排序顺序与上述第一输入所输入的排序信息相关,因此,电子设备可以根据排序信息确定M个目标图标的排序顺序,无需对图标进行移动,便可一次性更新N个图标的显示位置,使得整个图标排序过程操作简便、效率高。In the icon sorting device provided by the embodiment of the present invention, the icon sorting device displays a first interface including N icons, and after receiving the first input of the M target icons among the N icons, the icon sorting device can correspond to the M target icons according to the first input. The sorting order of the M target icons is updated, and the display positions of the N icons are updated. Since the sorting order is related to the sorting information input by the first input, the electronic device can determine the sorting order of the M target icons according to the sorting information, and can update the display positions of the N icons at one time without moving the icons , making the entire icon sorting process simple and efficient.

本发明实施例提供的图标排序装置能够实现上述方法实施例中所示的各个过程,为避免重复,这里不再赘述。The icon sorting device provided in the embodiment of the present invention can implement each process shown in the foregoing method embodiment, and to avoid repetition, details are not described here.

图12为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图12中示出的电子设备100的结构并不构成对电子设备的限定,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。12 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106 , the user input unit 107 , the interface unit 108 , the memory 109 , the processor 110 , and the power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device 100 shown in FIG. 12 does not constitute a limitation to the electronic device, and the electronic device 100 may include more or less components than the one shown, or combine some components, or Different component arrangements. In this embodiment of the present invention, the electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle terminal device, a wearable device, a pedometer, and the like.

其中,显示单元106,用于显示第一界面;该第一界面中包含N个图标;用户输入单元107,用于接收对上述N个图标中的M个目标图标的第一输入;处理器110,用于响应于用户输入单元107接收到的上述第一输入,根据该第一输入对应的上述M个目标图标的排序顺序,更新上述N个图标的显示位置;其中,上述排序顺序与上述第一输入所输入的排序信息相关,N为大于1的正整数,M为正整数,N≥M。The display unit 106 is used to display a first interface; the first interface includes N icons; the user input unit 107 is used to receive a first input of M target icons among the N icons; the processor 110 is used to update the display positions of the N icons according to the sorting order of the M target icons corresponding to the first input in response to the first input received by the user input unit 107; The sorting information input by an input is related, N is a positive integer greater than 1, M is a positive integer, and N≥M.

本发明实施例提供的电子设备,电子设备显示包含N个图标的第一界面,在接收到对该N个图标中的M个目标图标的第一输入之后,可以根据该第一输入对应的M个目标图标的排序顺序,更新N个图标的显示位置。由于该排序顺序与上述第一输入所输入的排序信息相关,因此,电子设备可以根据排序信息确定M个目标图标的排序顺序,无需对图标进行移动,便可一次性更新N个图标的显示位置,使得整个图标排序过程操作简便、效率高。In the electronic device provided by the embodiment of the present invention, the electronic device displays a first interface including N icons, and after receiving the first input of the M target icons among the N icons, the electronic device can display the corresponding M target icons according to the first input. The sorting order of the target icons, and the display positions of the N icons are updated. Since the sorting order is related to the sorting information input by the first input, the electronic device can determine the sorting order of the M target icons according to the sorting information, and can update the display positions of the N icons at one time without moving the icons , making the entire icon sorting process simple and efficient.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 110; The uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

电子设备100通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device 100 provides the user with wireless broadband Internet access through the network module 102, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. The graphics processor 1041 captures 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 data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.

电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 105 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the electronic device 100 . Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图12中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备100的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch The type of event provides corresponding visual output on display panel 1061 . Although in FIG. 12, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device 100, in some embodiments, the touch panel 1071 and the display panel 1061 can be The input and output functions of the electronic device 100 are implemented through integration, which is not specifically limited here.

接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the electronic device 100 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input (eg, data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 100 or may be used between the electronic device 100 and external Transfer data between devices.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器110是电子设备100的控制中心,利用各种接口和线路连接整个电子设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备100的各种功能和处理数据,从而对电子设备100进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device 100, uses various interfaces and lines to connect various parts of the entire electronic device 100, runs or executes the software programs and/or modules stored in the memory 109, and calls the software programs and/or modules stored in the memory 109. to perform various functions of the electronic device 100 and process data, so as to monitor the electronic device 100 as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .

电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions.

另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.

可选的,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述图标排序方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides an electronic device, including a processor, a memory, a computer program stored in the memory and executable on the processor 110, and the computer program implements the above icons when executed by the processor. The various processes of the sorting method embodiments can achieve the same technical effect, and are not repeated here in order to avoid repetition.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图标排序方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiment of the icon sorting method is implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment 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 solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (14)

1.一种图标排序方法,应用于电子设备,其特征在于,所述方法包括:1. A method for sorting icons, applied to an electronic device, wherein the method comprises: 显示第一界面;所述第一界面中包含N个图标;displaying a first interface; the first interface includes N icons; 接收对所述N个图标中的M个目标图标的第一输入;receiving a first input to M target icons in the N icons; 响应于所述第一输入,根据所述第一输入对应的所述M个目标图标的排序顺序,更新所述N个图标的显示位置;In response to the first input, updating the display positions of the N icons according to the sorting order of the M target icons corresponding to the first input; 其中,所述排序顺序与所述第一输入所输入的排序信息相关,N为大于1的正整数,M为正整数,N≥M。The sorting order is related to the sorting information input by the first input, N is a positive integer greater than 1, M is a positive integer, and N≧M. 2.根据权利要求1所述的方法,其特征在于,所述第一输入包括M个子输入,一个子输入对应一个目标图标;2. The method according to claim 1, wherein the first input comprises M sub-inputs, and one sub-input corresponds to a target icon; 所述响应所述第一输入,根据所述第一输入对应的所述M个目标图标的排序顺序,更新所述N个图标的显示位置,包括:In response to the first input, updating the display positions of the N icons according to the sorting order of the M target icons corresponding to the first input, including: 响应于第一目标图标对应的子输入,在所述第一界面上显示输入区域,所述第一目标图标为所述M个目标图标中的一个;Displaying an input area on the first interface in response to a sub-input corresponding to a first target icon, where the first target icon is one of the M target icons; 接收对所述输入区域的第二输入;receiving a second input to the input area; 响应于所述第二输入,根据所述第二输入在所述输入区域中输入的排序信息,更新所述第一目标图标的显示位置。In response to the second input, the display position of the first target icon is updated according to the sorting information entered in the input area by the second input. 3.根据权利要求2所述的方法,其特征在于,所述排序信息包括:所述第一目标图标在所述第一界面中的图标排序序号,或所述第一目标图标在目标文件夹中的图标排序序号。3 . The method according to claim 2 , wherein the sorting information comprises: the icon sorting sequence number of the first target icon in the first interface, or the first target icon in a target folder. 4 . The icons in the sort order number. 4.根据权利要求2所述的方法,其特征在于,所述输入区域包括第一子输入框和第二子输入框;所述第一子输入框用于输入所述第一目标图标在目标界面上的图标排序序号,所述第二子输入框用于输入所述目标界面的界面名称;4. The method according to claim 2, wherein the input area comprises a first sub-input box and a second sub-input box; the first sub-input box is used to input the first target icon in the target The sequence number of the icons on the interface, and the second sub-input box is used to input the interface name of the target interface; 其中,所述目标界面包括所述第一界面或第二界面,所述第二界面为与所述第一界面不同的界面。Wherein, the target interface includes the first interface or the second interface, and the second interface is an interface different from the first interface. 5.根据权利要求4所述的方法,其特征在于,所述第二输入包括以下至少一项:第一子输入,第二子输入;5. The method of claim 4, wherein the second input comprises at least one of the following: a first sub-input, a second sub-input; 其中,在所述第一子输入框为第一滚动选择框的情况下,所述第一子输入为对所述第一滚动选择框的第一滚动输入;在所述第二子输入框为第二滚动选择框的情况下,所述第二子输入为对所述第二滚动选择框的第二滚动输入;所述第一滚动选择框内显示的图标排序序号随着所述第一滚动输入滚动变化,所述第二滚动选择框内显示的界面名称随着所述第二滚动输入滚动变化。Wherein, when the first sub-input box is the first scrolling selection box, the first sub-input is the first scrolling input to the first scrolling selection box; in the second sub-input box, the In the case of a second scrolling selection box, the second sub-input is a second scrolling input to the second scrolling selection box; the sorting sequence numbers of the icons displayed in the first scrolling selection box follow the first scrolling The input scroll changes, and the interface name displayed in the second scroll selection box changes with the second scroll input. 6.根据权利要求1所述的方法,其特征在于,在显示第一界面之前,所述方法还包括:6. The method according to claim 1, wherein before displaying the first interface, the method further comprises: 接收对第一文件夹图标的第三输入;receiving a third input to the first folder icon; 所述显示第一界面,包括:The displaying the first interface includes: 响应于所述第三输入,显示第一界面,所述第一界面的第一显示区域中显示有第一图标,所述第一界面的第二显示区域中显示有第二图标;In response to the third input, displaying a first interface, where a first icon is displayed in a first display area of the first interface, and a second icon is displayed in a second display area of the first interface; 其中,所述第一图标包括所述第一文件夹图标,所述第二图标为第一文件夹中的图标,所述N个图标包括所述第一图标和所述第二图标。The first icon includes the first folder icon, the second icon is an icon in the first folder, and the N icons include the first icon and the second icon. 7.一种图标排序装置,其特征在于,所述图标排序装置包括:显示模块、接收模块和执行模块;7. An icon sorting device, characterized in that the icon sorting device comprises: a display module, a receiving module and an executing module; 所述显示模块,用于显示第一界面;所述第一界面中包含N个图标;The display module is used to display a first interface; the first interface includes N icons; 所述接收模块,用于接收对所述的显示模块显示所述N个图标中的M个目标图标的第一输入;the receiving module, configured to receive a first input for displaying the M target icons in the N icons to the display module; 所述执行模块,用于响应于所述接收模块接收到的所述第一输入,根据所述第一输入对应的所述M个目标图标的排序顺序,更新所述N个图标的显示位置;The executing module is configured to, in response to the first input received by the receiving module, update the display positions of the N icons according to the sorting order of the M target icons corresponding to the first input; 其中,所述排序顺序与所述第一输入所输入的排序信息相关,N为大于1的正整数,M为正整数,N≥M。The sorting order is related to the sorting information input by the first input, N is a positive integer greater than 1, M is a positive integer, and N≧M. 8.根据权利要求7所述的图标排序装置,其特征在于,8. The icon sorting device according to claim 7, wherein, 所述显示模块,还用于在所述第一输入包括M个子输入,一个子输入对应一个目标图标的情况下,响应于所述接收模块接收到的第一目标图标对应的子输入,在所述第一界面上显示输入区域,所述第一目标图标为所述M个目标图标中的一个;The display module is further configured to, in the case that the first input includes M sub-inputs and one sub-input corresponds to one target icon, in response to the sub-input corresponding to the first target icon received by the receiving module, The input area is displayed on the first interface, and the first target icon is one of the M target icons; 所述接收模块,还用于接收对所述显示模块显示的所述输入区域的第二输入;The receiving module is further configured to receive a second input to the input area displayed by the display module; 所述执行模块,具体用于响应于所述接收模块接收到的所述第二输入,根据所述第二输入在所述输入区域中输入的排序信息,更新所述第一目标图标的显示位置。The executing module is specifically configured to, in response to the second input received by the receiving module, update the display position of the first target icon according to the sorting information entered in the input area by the second input . 9.根据权利要求8所述的图标排序装置,其特征在于,所述排序信息包括:所述第一目标图标在所述第一界面中的图标排序序号,或所述第一目标图标在目标文件夹中的图标排序序号。9 . The icon sorting device according to claim 8 , wherein the sorting information comprises: the icon sorting sequence number of the first target icon in the first interface, or the icon sorting sequence number of the first target icon in the target icon. 10 . The icons in the folder are sorted by serial number. 10.根据权利要求9所述的图标排序装置,其特征在于,所述输入区域包括第一子输入框和第二子输入框;所述第一子输入框用于输入所述第一目标图标在目标界面上的图标排序序号,所述第二子输入框用于输入所述目标界面的界面名称;其中,所述目标界面包括所述第一界面或第二界面,所述第二界面为与所述第一界面不同的界面。10 . The icon sorting device according to claim 9 , wherein the input area comprises a first sub-input box and a second sub-input box; the first sub-input box is used to input the first target icon. 11 . The sequence number of the icons on the target interface, the second sub-input box is used to input the interface name of the target interface; wherein, the target interface includes the first interface or the second interface, and the second interface is an interface different from the first interface. 11.根据权利要求10所述的图标排序装置,其特征在于,所述第二输入包括以下至少一项:第一子输入,第二子输入;其中,在所述第一子输入框为第一滚动选择框的情况下,所述第一子输入为对所述第一滚动选择框的第一滚动输入;在所述第二子输入框为第二滚动选择框的情况下,所述第二子输入为对所述第二滚动选择框的第二滚动输入;所述第一滚动选择框内显示的图标排序序号随着所述第一滚动输入滚动变化,所述第二滚动选择框内显示的界面名称随着所述第二滚动输入滚动变化。11 . The icon sorting device according to claim 10 , wherein the second input comprises at least one of the following: a first sub-input, a second sub-input; wherein, in the first sub-input box, the first sub-input In the case of a scrolling selection box, the first sub-input is the first scrolling input to the first scrolling selection box; when the second sub-input box is a second scrolling selection box, the first scrolling selection box The second sub-input is the second scrolling input to the second scrolling selection box; the icon sequence number displayed in the first scrolling selection box changes with the scrolling of the first scrolling input, and the second scrolling selection box The displayed interface name scrolls with the second scroll input. 12.根据权利要求7所述的图标排序装置,其特征在于,12. The icon sorting device according to claim 7, wherein, 所述接收模块,还用于接收对第一文件夹图标的第三输入;The receiving module is further configured to receive a third input to the first folder icon; 所述显示模块,具体用于响应于所述接收模块接收到的所述第三输入,显示第一界面,所述第一界面的第一显示区域中显示有第一图标,所述第一界面的第二显示区域中显示有第二图标;其中,所述第一图标包括所述第一文件夹图标,所述第二图标为第一文件夹中的图标,所述N个图标包括所述第一图标和所述第二图标。The display module is specifically configured to display a first interface in response to the third input received by the receiving module, a first icon is displayed in a first display area of the first interface, and the first interface A second icon is displayed in the second display area of the ; wherein the first icon includes the first folder icon, the second icon is an icon in the first folder, and the N icons include the the first icon and the second icon. 13.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的图标排序方法的步骤。13. An electronic device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to achieve the right The steps of the icon sorting method described in any one of requirements 1 to 6. 14.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的图标排序方法的步骤。14. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the icon according to any one of claims 1 to 6 is implemented Steps of the sorting method.
CN202010230322.0A 2020-03-27 2020-03-27 Icon sorting method, device and electronic device Active CN111459350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010230322.0A CN111459350B (en) 2020-03-27 2020-03-27 Icon sorting method, device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010230322.0A CN111459350B (en) 2020-03-27 2020-03-27 Icon sorting method, device and electronic device

Publications (2)

Publication Number Publication Date
CN111459350A true CN111459350A (en) 2020-07-28
CN111459350B CN111459350B (en) 2021-07-13

Family

ID=71678364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010230322.0A Active CN111459350B (en) 2020-03-27 2020-03-27 Icon sorting method, device and electronic device

Country Status (1)

Country Link
CN (1) CN111459350B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112051945A (en) * 2020-07-31 2020-12-08 深圳市修远文化创意有限公司 Method and related device for arranging multiple icons
CN112949270A (en) * 2021-01-27 2021-06-11 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
WO2021238788A1 (en) * 2020-05-25 2021-12-02 维沃移动通信有限公司 Icon arrangement method, electronic device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324383A (en) * 2012-03-21 2013-09-25 汉王科技股份有限公司 Method and device for ranking files or icons
CN104020931A (en) * 2014-06-16 2014-09-03 天津三星通信技术研究有限公司 Device and method for locating icons in terminal
CN104298419A (en) * 2013-07-19 2015-01-21 上海斐讯数据通信技术有限公司 Mobile terminal and method for arranging icons of mobile terminal
CN105183275A (en) * 2015-08-17 2015-12-23 广东欧珀移动通信有限公司 Terminal icon arrangement method and apparatus
US20170083209A1 (en) * 2012-06-08 2017-03-23 Apple Inc. Identification of Recently Downloaded Content
CN107918513A (en) * 2017-11-22 2018-04-17 周燕红 The icon sort method and system of a kind of mobile terminal
CN110456953A (en) * 2019-06-27 2019-11-15 维沃移动通信有限公司 Folder interface switching method and terminal equipment
CN110489385A (en) * 2019-07-31 2019-11-22 维沃移动通信有限公司 A kind of information processing method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324383A (en) * 2012-03-21 2013-09-25 汉王科技股份有限公司 Method and device for ranking files or icons
US20170083209A1 (en) * 2012-06-08 2017-03-23 Apple Inc. Identification of Recently Downloaded Content
CN104298419A (en) * 2013-07-19 2015-01-21 上海斐讯数据通信技术有限公司 Mobile terminal and method for arranging icons of mobile terminal
CN104020931A (en) * 2014-06-16 2014-09-03 天津三星通信技术研究有限公司 Device and method for locating icons in terminal
CN105183275A (en) * 2015-08-17 2015-12-23 广东欧珀移动通信有限公司 Terminal icon arrangement method and apparatus
CN107918513A (en) * 2017-11-22 2018-04-17 周燕红 The icon sort method and system of a kind of mobile terminal
CN110456953A (en) * 2019-06-27 2019-11-15 维沃移动通信有限公司 Folder interface switching method and terminal equipment
CN110489385A (en) * 2019-07-31 2019-11-22 维沃移动通信有限公司 A kind of information processing method and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238788A1 (en) * 2020-05-25 2021-12-02 维沃移动通信有限公司 Icon arrangement method, electronic device, and storage medium
US11875014B2 (en) 2020-05-25 2024-01-16 Vivo Mobile Communication Co., Ltd. Icon arrangement method, electronic device, and storage medium
CN112051945A (en) * 2020-07-31 2020-12-08 深圳市修远文化创意有限公司 Method and related device for arranging multiple icons
CN112949270A (en) * 2021-01-27 2021-06-11 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN112949270B (en) * 2021-01-27 2025-01-10 维沃移动通信有限公司 Information display method, device, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN111459350B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
JP7247417B2 (en) Icon display method and terminal equipment
CN110007996B (en) Application program management method and terminal
WO2020258929A1 (en) Folder interface switching method and terminal device
CN111443842A (en) Method and electronic device for controlling electronic equipment
WO2020181955A1 (en) Interface control method and terminal device
CN109521933A (en) A kind of display control method and mobile terminal
CN109917995A (en) A kind of object processing method and terminal device
CN109213396A (en) A kind of object control method and terminal
CN110502162B (en) Folder creation method and terminal device
CN111273993B (en) Icon arrangement method and electronic equipment
CN110531904A (en) A kind of background task display methods and terminal
CN110008011A (en) A kind of target switching method and terminal device
CN110209369A (en) A kind of interface display method and terminal device
CN109933252A (en) Icon moving method and terminal device
CN110058754A (en) A kind of option display method and terminal device
CN108762634A (en) A kind of control method and terminal
WO2021017738A1 (en) Interface display method and electronic device
CN109358784A (en) Method, terminal device and storage medium for organizing icons
CN110308837A (en) File management method and terminal
CN111459349A (en) Application recommendation method and electronic equipment
CN108958841A (en) A kind of setting method and mobile terminal of desktop pendant
CN110221761A (en) Display methods and terminal device
CN111638822A (en) Icon operation method and device and electronic equipment
CN110049486A (en) A SIM card selection method and terminal device
CN111459350B (en) Icon sorting method, device and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant