Nothing Special   »   [go: up one dir, main page]

WO2022041609A1 - Icon arrangement method and apparatus, storage medium, and electronic device - Google Patents

Icon arrangement method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2022041609A1
WO2022041609A1 PCT/CN2020/140032 CN2020140032W WO2022041609A1 WO 2022041609 A1 WO2022041609 A1 WO 2022041609A1 CN 2020140032 W CN2020140032 W CN 2020140032W WO 2022041609 A1 WO2022041609 A1 WO 2022041609A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
pages
icons
displayed
target
Prior art date
Application number
PCT/CN2020/140032
Other languages
French (fr)
Chinese (zh)
Inventor
吴远书
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2022041609A1 publication Critical patent/WO2022041609A1/en

Links

Images

Classifications

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

Definitions

  • the present disclosure belongs to the field of computers, and in particular relates to a method, an apparatus, a storage medium and an electronic device for organizing icons.
  • the icons displayed in the icon page can be adjusted.
  • the above method of dragging and dropping all the icons in one icon page to other icon pages in turn and then deleting the icon pages has the problem of complicated operation.
  • the present disclosure provides an icon arranging method, device, storage medium and electronic device, which effectively alleviate the problem of inconvenient operation when arranging icon pages in the related art.
  • the present disclosure provides a method for organizing icons, the method comprising:
  • the first operation instruction is a page reduction display instruction
  • a plurality of pages corresponding to the application list are displayed in a reduced size, wherein each page is displayed with at least one icon;
  • a target page is determined according to the at least two pages, and all icons in the at least two pages are displayed on the target page .
  • determining the target page according to the at least two pages includes:
  • the page identifier of each of the at least two pages is acquired, and the page with the smallest page identifier is used as the target page.
  • all icons in the at least two pages are displayed on the target page, including:
  • displaying multiple pages corresponding to the application list in a reduced size including:
  • the target page display mode corresponding to the number of pages is searched from a preset relationship table, wherein the preset relationship table stores a plurality of page numbers and a page display mode corresponding to each page number;
  • the multiple pages are displayed in a reduced size according to the display mode of the target page, so that the multiple pages are displayed in the same display interface.
  • determining the target page according to the at least two pages includes:
  • the first number is less than the second number
  • insert a page between the page and the next page adjacent to the page and use the inserted page and the page marked as the smallest page as the target page, so that all the icons in the at least two pages can be displayed in the target page according to the current display mode, and the number of icons displayed in the page with the page identified as the smallest is the second number;
  • the page is identified as the smallest page as a target page.
  • the second operation includes: pressing on at least two pages of the plurality of pages displayed in reduced size after detection, and pressing on the at least two pages in the at least two pages in sequence.
  • the second operation includes: The operation of dragging and dropping the first page displayed in a reduced size to the top of the second page displayed in a reduced size of the two pages and releasing it.
  • the first operation includes:
  • the detected pressing operation on the non-icon area under the current page of the application list continues for the first preset time period, and the detected non-icon area under the current page of the application list is continuously preset for the second preset time period.
  • the present disclosure provides an icon arrangement device, the device comprising:
  • the first instruction obtaining module is configured to obtain the first operation instruction corresponding to the first operation when the first operation is detected under the current page of the application list;
  • a first display module configured to display a plurality of pages corresponding to the application list in a reduced size when the first operation instruction is a page reduction display instruction, wherein at least one icon is displayed on each page;
  • a second instruction obtaining module configured to obtain a second operation instruction corresponding to the second operation when a second operation on at least two pages in the plurality of pages is detected;
  • the second display module is configured to determine a target page according to the at least two pages when the second operation instruction is a merging instruction for icons of the at least two pages, and display the target page in the target page All icons in at least two pages.
  • the present disclosure provides a storage medium, the storage medium stores a computer program, and when the computer program is executed by one or more processors, implements the above-mentioned method for organizing icons
  • the present disclosure provides an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned method for organizing icons is executed.
  • An icon arrangement method, device, storage medium and electronic device include: when a first operation is detected under a current page of an application list, acquiring a first operation instruction corresponding to the first operation, and in the When the first operation instruction is a page reduction display instruction, display multiple pages corresponding to the application list in reduced size, wherein each page displays at least one icon, and when it is detected that at least two of the multiple pages are displayed in a reduced size During the second operation of the page, obtain the second operation instruction corresponding to the second operation, and when the second operation instruction is a merging instruction for the icons of the at least two pages, determine the target according to the at least two pages page, and display all icons in the at least two pages in the target page.
  • FIG. 1 is a schematic flowchart of a method for organizing icons according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic flowchart of step S120 in FIG. 1 .
  • FIG. 3 is a schematic flowchart of step S130 in FIG. 1 .
  • FIG. 4 is another schematic flowchart of step S130 in FIG. 1 .
  • FIG. 5 is a schematic diagram of displaying an icon page according to an embodiment of the present disclosure.
  • FIG. 6 is another schematic display diagram of an icon page provided by an embodiment of the present disclosure.
  • the steps illustrated in the flowcharts of the figures may be performed in a computer, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
  • this embodiment provides a method for organizing icons, which can be applied to electronic devices such as mobile phones and tablet computers.
  • the above method for organizing icons can be executed by one or more processors of the mobile terminal, and When executed by one or more processors, the following steps are implemented:
  • Step S110 When a first operation is detected under the current page of the application list, obtain a first operation instruction corresponding to the first operation.
  • Step S120 When the first operation instruction is a page reduction display instruction, display multiple pages corresponding to the application list in a reduced size, wherein each page is displayed with at least one icon.
  • Step S130 When a second operation on at least two pages in the plurality of pages is detected, obtain a second operation instruction corresponding to the second operation.
  • Step S140 When the second operation instruction is a merging instruction for the icons of the at least two pages, determine a target page according to the at least two pages, and display the at least two pages in the target page. all icons.
  • the present disclosure realizes that the icons in the at least two pages are merged into the target page through two operations, so that the page merging operation is simple and convenient, and avoids the existing problems in the related art.
  • To organize a page it is necessary to separate all icons in the page into other pages, and then perform a delete operation on a page without an icon, which has the problem of complicated operation.
  • the first operation may be a multiple-click operation, a long-press operation, a sliding operation according to a preset track, or a non-icon area on the current page of the application list.
  • the operation of gradually reducing the effective distance between the two contacts is not limited here, and can be set according to actual needs.
  • the first operation is a detected pressing operation on the non-icon area under the current page of the application list for a first preset duration
  • the detected pressing operation on the non-icon area under the current page of the application list Click operations in the non-icon area for a continuous preset number of times within the second preset duration, or the detected effective distance between two contacts in the non-icon area under the current page of the application list gradually decreases.
  • the manner of performing the reduced display on the multiple pages corresponding to the application list may be: searching for the reduced display method according to the number of pages of the multiple pages corresponding to the application list, and displaying according to the reduced display method, Alternatively, the plurality of pages may be displayed in a reduced size according to a preset page display manner, or the plurality of pages may be displayed in a reduced size according to a preset ratio.
  • the method of reducing and displaying multiple pages according to the preset page display method may be, according to the preset m ⁇ n method, that is, arranging at most m number of reduced pages in the horizontal direction, and arranging n number of reduced pages in the vertical direction.
  • the mode display is the maximum number of pages displayed
  • the above-mentioned multiple pages should be displayed on two or more display interfaces, and the user can select at least two or more interfaces in the subsequent page selection operation by switching interfaces. Two pages are combined to display the icons in the at least two pages in one page.
  • the electronic device may pre-store different page numbers and page display modes corresponding to each page number.
  • the display can be reduced in a 2 ⁇ 2 manner; when the application list corresponds to 5 or 6 pages, the display can be reduced in a 2 ⁇ 3 manner.
  • the list includes 7, 8 or 9 pages, it will be displayed in a 3 ⁇ 3 format. There is no specific limitation here, and you can set it according to actual needs.
  • multiple pages corresponding to the application list are displayed in a reduced size, including:
  • Step S122 Acquire the number of pages of multiple pages corresponding to the application list.
  • Step S124 According to the number of pages, the target page display mode corresponding to the number of pages is searched from a preset relationship table, wherein the preset relationship table stores a plurality of page numbers and pages corresponding to each page number Display method.
  • Step S126 Display the multiple pages in a reduced size according to the display mode of the target page, so that the multiple pages are displayed in the same display interface.
  • all the pages are displayed in the same display interface, so that the user does not need to perform a page turning operation.
  • the page to be merged can be selected in the interface, thereby further improving the efficiency of the page merging for the user.
  • the second operation on the at least two pages in the plurality of pages may be, after selecting the at least two pages in the plurality of pages by long-pressing or clicking, selecting the at least two pages in the selected pages.
  • a click operation for merging confirmation based on the feedback of the merge prompt box is received, which is not limited here, and can be set according to actual needs.
  • the above-mentioned long-press or click-to-select operation on at least two pages should be within a preset period of time.
  • the selection operation When the selection operation is performed, it will be restored to the state of reducing the display of multiple pages or to the state of normal display (full screen) display of the most current page.
  • the state of reducing the display of multiple pages when no other operation is received within the second set period of time after receiving the selection operation of long-pressing or clicking on the two pages of the trumpet, the state of reducing the display of multiple pages will also be restored. Or restore to the state in which the current page is displayed normally (full screen display).
  • the second operation includes: the detected pressing on at least two pages of the plurality of pages displayed in a reduced size in sequence, and the corresponding pressing on any two pages of the at least two pages, respectively. operation in which the effective distance between two contacts is gradually reduced; or
  • the second operation includes: The operation of dragging and dropping the first page displayed in a reduced size to the top of the second page displayed in a reduced size of the two pages and releasing it.
  • step S140 it can be understood that when the received second operation is the above-mentioned operation, it is determined that the corresponding operation instruction is the icon merging instruction for the selected multiple pages.
  • the way of determining the target page according to the at least two pages may be that the page with the smallest page identification among the at least two pages is used as the target page, or the target page may be determined according to the number of icons in the at least two pages Page, there is no specific limitation here, you can set it according to actual needs.
  • the method of determining the target page according to the at least two pages is: acquiring the page identifier of each of the at least two pages, and identifying the page as the smallest page identifier
  • the manner of displaying all the icons in the at least two pages in the target page may include the following steps:
  • Step S132a Obtain the first number of icons that can be displayed at most in the current icon display mode of the target page.
  • the first number of icons that can be displayed at most is a ⁇ b.
  • the maximum number of icons that can be displayed on different pages of the application list can be the same or different. , it can be set according to actual needs, and no specific limitation is made here.
  • Step S132b Acquire the number of icons in each of the at least two pages, and accumulate them to obtain a second number.
  • Step S132c Determine whether the second quantity is less than or equal to the first quantity.
  • Step S132d when the second number is less than or equal to the first number, display all icons in the at least two pages in the target page according to the current icon display mode.
  • Step S132e When the second number is greater than the first number, obtain a target icon display mode corresponding to the second number, and display the at least two target icons in the target page according to the target icon display mode. all icons on a page.
  • the icon display method of a ⁇ b is adjusted to the icon display method of (a+1) ⁇ b, or adjusted to the icon display method of a ⁇ (b+1), or the icon display method of (a+1) ⁇ (b+1), There is no specific limitation here, and settings may be made according to actual requirements, as long as the adjusted icon display mode can display all the icons in the at least two pages shown on the target page.
  • the step S130 may further include:
  • Step S134a Obtain page identifiers of the at least two pages, and obtain the number of icons in each of the at least two pages.
  • Step S134b Accumulate the number of icons in each page to obtain a second number.
  • Step S134c Select the page with the smallest page identifier from the at least two pages, and determine whether the maximum first number of pages that can be displayed in the current display mode is less than the second number.
  • a x b arrangement for example, 3 x 4, 4 x 4 or 4 x 5 and other arrangements, that is, the horizontal display at most a
  • icons up to b icons are displayed vertically, and the first number of icons that can be displayed at most is a ⁇ b.
  • Step S134d when the first number is less than the second number, insert a page between the page and the next page adjacent to the page, and identify the inserted page and the page as the smallest page as the page. the target page, so that all icons in the at least two pages can be displayed in the target page according to the current display mode, and the number of displayed icons in the page identified as the smallest is the second quantity.
  • Step S134e When the first number is not less than the second number, identify the page as the smallest page as a target page.
  • the above settings are used to realize the merging of multiple pages, and it should be noted that, in this embodiment, when the above-mentioned multiple pages are merged, the page with the larger page ID is marked to the page with the smallest page ID. In the process of merging, the icon in the page with the larger page ID is indented to fill the vacancy in the page with the smaller page ID in the form of a matrix list, and in the at least two pages When there are too many icons in the icon, a new icon page is created to store the redundant icons, so as to organize the icons.
  • the application list includes 6 pages as an example for description.
  • the user can The non-icon area under the current page is pressed for a preset duration, so that when the mobile terminal detects the first operation under the current page of the application list, it obtains the first operation instruction corresponding to the first operation, and the first operation instruction is an application
  • the 6 pages in the application list are displayed in a 2 ⁇ 3 manner (it should be noted that when there are many pages included in the application list, for example, when there are more than 6 pages) , you can also create a new interface, which is set to display the icon page).
  • the user can perform a double-click or click operation on the two pages identified as "icon page 2" and the two pages with page identification as "icon page 3" within a preset period of time among the 6 pages displayed in a reduced size, so as to perform a double-click operation on the second page.
  • the third page is selected to obtain the thumbnail of the icon page as shown in Figure 5, after that, a pinch operation is performed on the operation interface, so that the mobile terminal detects within a preset duration 3” and when the effective distance between the two corresponding contacts on any two pages of the at least two pages is gradually reduced, confirm that the operation command corresponding to the above operation is the at least one A merging instruction of icons of two pages, and obtaining the page identifiers of the at least two pages, and obtaining the number of icons in each page of the at least two pages, and accumulating the number of icons in each page to obtain For the second number, select the page with the smallest page identifier from the at least two pages, and determine whether the maximum first number that can be displayed on the page in the current display mode is less than the second number, where the first number When the number is less than the second number, insert a page between the page and the next page adjacent to the page, and identify the inserted page and the page as the smallest page as the target page, so that the at least two All icons in each page can
  • the page identifiers of each page are adjusted to obtain the merged and reduced-display page as shown in FIG. 6 .
  • the icons in the pages with larger page IDs are indented to fill the gaps in the pages with smaller page IDs in the form of a matrix list, and the icons in the pages with smaller page IDs are indented to fill the gaps.
  • a new icon page is created to store the redundant icons, thereby realizing the sorting of the icons.
  • This embodiment provides an icon arrangement device, including a first instruction obtaining module, a first display module, a second instruction obtaining module, and a second display module.
  • the first instruction obtaining module is configured to obtain a first operation instruction corresponding to the first operation when a first operation is detected under the current page of the application list.
  • step S110 may be executed by the first instruction obtaining module.
  • the first display module is configured to reduce and display multiple pages corresponding to the application list when the first operation instruction is a page reduction display instruction, wherein at least one icon is displayed in each page.
  • step S120 may be performed by the first display module.
  • the second instruction obtaining module is configured to obtain a second operation instruction corresponding to the second operation when a second operation on at least two pages in the plurality of pages is detected.
  • step S130 may be performed by the second instruction obtaining module.
  • the second display module is configured to determine a target page according to the at least two pages when the second operation instruction is a merging instruction for icons of the at least two pages, and display in the target page All icons in the at least two pages.
  • step S140 may be performed by the second display module.
  • This embodiment provides a storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM) ), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), magnetic memory, magnetic disk, optical disk, server, App application mall, etc., on which a computer program is stored, the computer program When executed by one or more processors, a method for organizing icons in Embodiment 1 can be implemented.
  • a storage medium such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM) ), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), magnetic memory, magnetic disk, optical disk, server, App application mall, etc., on which a computer program is stored, the computer
  • An embodiment of the present disclosure provides an electronic device, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the icon sorting method described in the first embodiment is implemented.
  • the electronic device may also include a multimedia component, an input/output (I/O) interface, and a communication component.
  • the processor is configured to execute all or part of the steps in the method for organizing icons in the first embodiment.
  • the memory is configured to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
  • the processor may be an Application Specific Integrated Circuit (ASIC for short), a Digital Signal Processor (DSP for short), a Digital Signal Processing Device (DSPD for short), a programmable logic device (Programmable Logic Device, referred to as PLD), Field Programmable Gate Array (Field Programmable Gate Array, referred to as FPGA), controller, microcontroller, microprocessor or other electronic components are implemented, and are configured to perform the above-mentioned first embodiment. How to organize icons.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSPD Digital Signal Processing Device
  • PLD programmable logic device
  • FPGA Field Programmable Gate Array
  • controller microcontroller
  • microprocessor or other electronic components are implemented, and are configured to perform the above-mentioned first embodiment. How to organize icons.
  • the memory can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk.
  • static random access memory Static Random Access Memory, SRAM for short
  • electrically erasable programmable read-only memory Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (Read-Only Memory, ROM for short
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • EPROM Erasable Programmable Read-Only
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions arranged to implement the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.

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)

Abstract

Disclosed are an icon arrangement method and apparatus, a storage medium, and an electronic device. The method comprises: if a first operation is detected under the current page of an application list, and a first operation instruction corresponding to the first operation is a page zoom-out display instruction, executing zoom-out display of a plurality of pages corresponding to the application list; and if a second operation on at least two of the plurality of pages is detected, and a second operation instruction corresponding to the second operation is a combination instruction for icons of the at least two pages, determining a target page according to at least two pages, and displaying, in the target page, all the icons in the at least two pages. The method implements completing, for at least two pages by means of two operations, combining icons in at least two pages into a target page, such that a page combination operation is simple and convenient, thus avoiding the problem in the related part of complex operations during page arrangement.

Description

图标整理方法、装置、存储介质及电子设备Icon arrangement method, device, storage medium and electronic device
本公开要求于2020年08月25日提交中国专利局、申请号为202010864881.7、发明名称为“图标整理方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application with the application number 202010864881.7 and the invention titled "Icon Arranging Method, Apparatus, Storage Medium and Electronic Equipment" filed with the China Patent Office on August 25, 2020, the entire contents of which are incorporated by reference in this disclosure.
技术领域technical field
本公开属于计算机领域,具体涉及一种图标整理方法、装置、存储介质及电子设备。The present disclosure belongs to the field of computers, and in particular relates to a method, an apparatus, a storage medium and an electronic device for organizing icons.
背景技术Background technique
随着智能终端技术的发展,人们对终端的功能也有着各式各样的需求,例如,对APP图标页的操作需求也是越来越细化,且要求也更高了。With the development of smart terminal technology, people also have various requirements for terminal functions. For example, the operation requirements for APP icon pages are becoming more and more refined, and the requirements are also higher.
发明人经研究发现,现有的移动终端上的图标都是放置在桌面上的,但是随着用户对应用程序地频繁安装与卸载,因此会在桌面上产生很多图标空位,且大都零散分布在桌面上的多个不同页面上,使得图标页面太多,不便于用户查找使用,为解决上述问题,用户通常需要将图标页中的图标移到其他图标页后删除移出所有图标的图标页,以实现调整图标页中显示的图标,但是,上述将一个图标页中的所有图标依次拖拽至其他的图标页后再删除图标页的方式存在操作复杂的问题。The inventor found through research that the icons on the existing mobile terminals are all placed on the desktop, but as users frequently install and uninstall applications, many icon vacancies will be created on the desktop, and most of them are scattered on the desktop. There are many different pages on the desktop, so that there are too many icon pages, which is not convenient for users to find and use. To solve the above problems, users usually need to move the icons in the icon page to other icon pages, and then delete the icon pages with all the icons removed, so as to solve the above problems. The icons displayed in the icon page can be adjusted. However, the above method of dragging and dropping all the icons in one icon page to other icon pages in turn and then deleting the icon pages has the problem of complicated operation.
发明内容SUMMARY OF THE INVENTION
本公开提供了一种图标整理方法、装置、存储介质及电子设备,有效缓解了相关技术中存在整理图标页时,操作不便的问题。The present disclosure provides an icon arranging method, device, storage medium and electronic device, which effectively alleviate the problem of inconvenient operation when arranging icon pages in the related art.
第一方面,本公开提供一种图标整理方法,所述方法包括:In a first aspect, the present disclosure provides a method for organizing icons, the method comprising:
在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令;When a first operation is detected under the current page of the application list, obtain a first operation instruction corresponding to the first operation;
在所述第一操作指令为页面缩小显示指令时,对所述应用列表对应的多个 页面缩小显示,其中,每个页面中显示有至少一个图标;When the first operation instruction is a page reduction display instruction, a plurality of pages corresponding to the application list are displayed in a reduced size, wherein each page is displayed with at least one icon;
在检测到对所述多个页面中的至少两个页面的第二操作时,获取该第二操作对应的第二操作指令;When detecting a second operation on at least two pages in the plurality of pages, acquiring a second operation instruction corresponding to the second operation;
在所述第二操作指令为对所述至少两个页面的图标的合并指令时,根据所述至少两个页面确定目标页面,并在该目标页面中显示所述至少两个页面中的所有图标。When the second operation instruction is a merging instruction for icons of the at least two pages, a target page is determined according to the at least two pages, and all icons in the at least two pages are displayed on the target page .
在一些实施方式中,在上述图标整理方法中,根据所述至少两个页面确定目标页面,包括:In some embodiments, in the above method for organizing icons, determining the target page according to the at least two pages includes:
获取所述至少两个页面的中每个页面的页面标识,并将页面标识为最小的页面作为目标页面。The page identifier of each of the at least two pages is acquired, and the page with the smallest page identifier is used as the target page.
在一些实施方式中,在上述图标整理方法中,在该目标页面中显示所述至少两个页面中的所有图标,包括:In some embodiments, in the above method for organizing icons, all icons in the at least two pages are displayed on the target page, including:
获取所述目标页面的当前图标显示方式下最多能显示的图标的第一数量;obtaining the first number of icons that can be displayed at most in the current icon display mode of the target page;
获取所述至少两个页面中每个页面中图标的数量,并进行累加以得到第二数量;acquiring the number of icons in each of the at least two pages, and accumulating to obtain a second number;
判断所述第二数量是否小于或等于所述第一数量;determining whether the second quantity is less than or equal to the first quantity;
在所述第二数量小于或等于所述第一数量时,在所述目标页面中按照当前图标显示方式显示所述至少两个页面中的所有图标;When the second number is less than or equal to the first number, displaying all icons in the at least two pages in the target page according to the current icon display mode;
在所述第二数量大于所述第一数量时,获取与所述第二数量对应的目标图标显示方式,并在所述目标页面中按照所述目标图标显示方式显示所述至少两个页面中的所有图标。When the second number is greater than the first number, acquire a target icon display mode corresponding to the second number, and display the at least two pages in the target page according to the target icon display mode all icons.
在一些实施方式中,在上述图标整理方法中,缩小显示所述应用列表对应的多个页面,包括:In some embodiments, in the above method for organizing icons, displaying multiple pages corresponding to the application list in a reduced size, including:
获取所述应用列表对应的多个页面的页面数量;obtaining the number of pages of multiple pages corresponding to the application list;
根据所述页面数量从预设关系表中查找与该页面数量对应的目标页面显示方式,其中,所述预设关系表中存储有多个页面数量和与每个页面数量对应的页面显示方式;According to the number of pages, the target page display mode corresponding to the number of pages is searched from a preset relationship table, wherein the preset relationship table stores a plurality of page numbers and a page display mode corresponding to each page number;
对所述多个页面按照所述目标页面显示方式进行缩小显示,以使所述多个页面在同一显示界面中显示。The multiple pages are displayed in a reduced size according to the display mode of the target page, so that the multiple pages are displayed in the same display interface.
在一些实施方式中,在上述图标整理方法中,根据所述至少两个页面确定 目标页面,包括:In some embodiments, in the above method for organizing icons, determining the target page according to the at least two pages includes:
获取所述至少两个页面的页面标识,以及获取所述至少两个页面中每个页面中图标的数量;acquiring page identifiers of the at least two pages, and acquiring the number of icons in each of the at least two pages;
将每个页面中图标的数量进行累加以得到第二数量;Accumulate the number of icons in each page to get the second number;
从所述至少两个页面中选取页面标识为最小的页面,并判断该页面在当前显示模式下最多能够显示的第一数量是否小于所述第二数量;Select the page with the smallest page identifier from the at least two pages, and determine whether the maximum first number that can be displayed on the page in the current display mode is less than the second number;
在所述第一数量小于所述第二数量时,向该页面和与该页面相邻的下一页面之间插入页面,并将插入的页面和所述页面标识为最小的页面作为目标页面,以使所述至少两个页面中的所有图标能够按照所述当前显示模式在所述目标页面中进行显示,且所述页面标识为最小的页面中显示图标的数量为所述第二数量;以及When the first number is less than the second number, insert a page between the page and the next page adjacent to the page, and use the inserted page and the page marked as the smallest page as the target page, so that all the icons in the at least two pages can be displayed in the target page according to the current display mode, and the number of icons displayed in the page with the page identified as the smallest is the second number; and
在所述第一数量不小于所述第二数量时,将所述页面标识为最小的页面作为目标页面。When the first number is not less than the second number, the page is identified as the smallest page as a target page.
在一些实施方式中,在上述图标整理方法中,所述第二操作包括:检测到的对缩小显示后的多个页面中的至少两个页面依次进行按压,并对所述至少两个页面中任意两个页面上分别对应的两个触点之间的有效距离逐渐减小的操作;或者In some implementation manners, in the above method for arranging icons, the second operation includes: pressing on at least two pages of the plurality of pages displayed in reduced size after detection, and pressing on the at least two pages in the at least two pages in sequence. An operation in which the effective distance between two corresponding contacts on any two pages is gradually reduced; or
当检测到对所述多个页面中的至少两个页面的第二操作为对所述多个页面中的两个页面的第二操作时,所述第二操作包括:检测到的将所述两个页面中的缩小显示的第一页面的拖拽至缩小显示的第二页面的上方后释放的操作。When it is detected that the second operation on at least two pages in the plurality of pages is a second operation on two pages in the plurality of pages, the second operation includes: The operation of dragging and dropping the first page displayed in a reduced size to the top of the second page displayed in a reduced size of the two pages and releasing it.
在一些实施方式中,在上述图标整理方法中,所述第一操作包括:In some embodiments, in the above method for organizing icons, the first operation includes:
检测到的对应用列表的当前页面下的非图标区域的持续第一预设时长的按压操作,检测到的对所述应用列表的当前页面下的非图标区域内在第二预设时长内连续预设次数的点击操作,或者检测到的对所述应用列表的当前页面下的非图标区域内的两个触点之间的有效距离逐渐减小的操作。The detected pressing operation on the non-icon area under the current page of the application list continues for the first preset time period, and the detected non-icon area under the current page of the application list is continuously preset for the second preset time period. A set number of click operations, or a detected operation of gradually reducing the effective distance between two contacts in the non-icon area under the current page of the application list.
第二方面,本公开提供了一种图标整理装置,所述装置包括:In a second aspect, the present disclosure provides an icon arrangement device, the device comprising:
第一指令获得模块,被设置为在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令;The first instruction obtaining module is configured to obtain the first operation instruction corresponding to the first operation when the first operation is detected under the current page of the application list;
第一显示模块,被设置为在所述第一操作指令为页面缩小显示指令时,对所述应用列表对应的多个页面缩小显示,其中,每个页面中显示有至少一个图标;a first display module, configured to display a plurality of pages corresponding to the application list in a reduced size when the first operation instruction is a page reduction display instruction, wherein at least one icon is displayed on each page;
第二指令获得模块,被设置为在检测到对所述多个页面中的至少两个页面的第二操作时,获取该第二操作对应的第二操作指令;A second instruction obtaining module, configured to obtain a second operation instruction corresponding to the second operation when a second operation on at least two pages in the plurality of pages is detected;
第二显示模块,被设置为在所述第二操作指令为对所述至少两个页面的图标的合并指令时,根据所述至少两个页面确定目标页面,并在该目标页面中显示所述至少两个页面中的所有图标。The second display module is configured to determine a target page according to the at least two pages when the second operation instruction is a merging instruction for icons of the at least two pages, and display the target page in the target page All icons in at least two pages.
第三方面,本公开提供一种存储介质,该存储介质存储有计算机程序,所述计算机程序被一个或多个处理器执行时实现如上述的图标整理方法In a third aspect, the present disclosure provides a storage medium, the storage medium stores a computer program, and when the computer program is executed by one or more processors, implements the above-mentioned method for organizing icons
第四方面,本公开提供一种电子设备,包括存储器和处理器,所述存储器上存储有计算机程序,该计算机程序被所述处理器执行时,执行如上述的图标整理方法。In a fourth aspect, the present disclosure provides an electronic device including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the above-mentioned method for organizing icons is executed.
本公开提供的一种图标整理方法、装置、存储介质及电子设备,方法包括:在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令,在所述第一操作指令为页面缩小显示指令时,对所述应用列表对应的多个页面缩小显示,其中,每个页面中显示有至少一个图标,在检测到对所述多个页面中的至少两个页面的第二操作时,获取该第二操作对应的第二操作指令,在所述第二操作指令为对所述至少两个页面的图标的合并指令时,根据所述至少两个页面确定目标页面,并在该目标页面中显示所述至少两个页面中的所有图标。通过采用上述方法,有效缓解了相关技术中存在的图标页调整操作复杂的问题。An icon arrangement method, device, storage medium and electronic device provided by the present disclosure include: when a first operation is detected under a current page of an application list, acquiring a first operation instruction corresponding to the first operation, and in the When the first operation instruction is a page reduction display instruction, display multiple pages corresponding to the application list in reduced size, wherein each page displays at least one icon, and when it is detected that at least two of the multiple pages are displayed in a reduced size During the second operation of the page, obtain the second operation instruction corresponding to the second operation, and when the second operation instruction is a merging instruction for the icons of the at least two pages, determine the target according to the at least two pages page, and display all icons in the at least two pages in the target page. By adopting the above method, the problem of complicated adjustment operation of the icon page in the related art is effectively alleviated.
附图说明Description of drawings
附图用来提供对本公开的技术方案或相关技术的进一步理解,并且构成说明书的一部分。其中,表达本公开实施例的附图与本公开的实施例一起用于解释本公开的技术方案,但并不构成对本公开技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present disclosure or related technologies, and constitute a part of the specification. The drawings expressing the embodiments of the present disclosure together with the embodiments of the present disclosure are used to explain the technical solutions of the present disclosure, but do not constitute limitations on the technical solutions of the present disclosure.
图1为本公开实施例提供的一种图标整理方法的流程示意图。FIG. 1 is a schematic flowchart of a method for organizing icons according to an embodiment of the present disclosure.
图2为图1中步骤S120的流程示意图。FIG. 2 is a schematic flowchart of step S120 in FIG. 1 .
图3为图1中步骤S130的流程示意图。FIG. 3 is a schematic flowchart of step S130 in FIG. 1 .
图4为图1中步骤S130的另一流程示意图。FIG. 4 is another schematic flowchart of step S130 in FIG. 1 .
图5为本公开实施例提供的一种图标页的显示示意图。FIG. 5 is a schematic diagram of displaying an icon page according to an embodiment of the present disclosure.
图6为本公开实施例提供的一种图标页的另一显示示意图。FIG. 6 is another schematic display diagram of an icon page provided by an embodiment of the present disclosure.
具体实施方式detailed description
以下将结合附图及实施例来详细说明本公开的实施方式,借此对本公开如何应用技术手段来解决技术问题,并达到相应技术效果的实现过程能充分理解并据以实施。本公开实施例以及实施例中的各个特征,在不相冲突前提下可以相互结合,所形成的技术方案均在本公开的保护范围之内。The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings and examples, so as to fully understand and implement the implementation process of how the present disclosure applies technical means to solve technical problems and achieve corresponding technical effects. The embodiments of the present disclosure and the various features in the embodiments can be combined with each other under the premise of no conflict, and the formed technical solutions all fall within the protection scope of the present disclosure.
另外,附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。Additionally, the steps illustrated in the flowcharts of the figures may be performed in a computer, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
实施例一Example 1
请参阅图1,本实施例提供了一种图标整理方法,该方法可以应用于手机、平板电脑等电子设备,上述的图标整理方法可以被所述移动终端的一个或多个处理器执行,并在一个或多个处理器执行时,实现以下步骤:Referring to FIG. 1, this embodiment provides a method for organizing icons, which can be applied to electronic devices such as mobile phones and tablet computers. The above method for organizing icons can be executed by one or more processors of the mobile terminal, and When executed by one or more processors, the following steps are implemented:
步骤S110:在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令。Step S110: When a first operation is detected under the current page of the application list, obtain a first operation instruction corresponding to the first operation.
步骤S120:在所述第一操作指令为页面缩小显示指令时,对所述应用列表对应的多个页面缩小显示,其中,每个页面中显示有至少一个图标。Step S120: When the first operation instruction is a page reduction display instruction, display multiple pages corresponding to the application list in a reduced size, wherein each page is displayed with at least one icon.
步骤S130:在检测到对所述多个页面中的至少两个页面的第二操作时,获取该第二操作对应的第二操作指令。Step S130: When a second operation on at least two pages in the plurality of pages is detected, obtain a second operation instruction corresponding to the second operation.
步骤S140:在所述第二操作指令为对所述至少两个页面的图标的合并指令时,根据所述至少两个页面确定目标页面,并在该目标页面中显示所述至少两个页面中的所有图标。Step S140: When the second operation instruction is a merging instruction for the icons of the at least two pages, determine a target page according to the at least two pages, and display the at least two pages in the target page. all icons.
本公开通过采用上述步骤,以实现对至少两个页面通过两次操作完成将至少两个页面中的图标合并于目标页面中,从而使得页面合并操作简单便捷,避免了相关技术中存在的在对页面进行整理,需要将页面中的所有图标分别至其他页面中之后,对不存在图标的页面执行删除操作存在的操作复杂的问题。By adopting the above steps, the present disclosure realizes that the icons in the at least two pages are merged into the target page through two operations, so that the page merging operation is simple and convenient, and avoids the existing problems in the related art. To organize a page, it is necessary to separate all icons in the page into other pages, and then perform a delete operation on a page without an icon, which has the problem of complicated operation.
具体的,在步骤S110中,所述第一操作可以是对所述应用列表的当前页面下的非图标区域的多次点击操作、长按操作、按照预设轨迹的滑动操作或者对非图标区域的两个触点之间的有效距离逐渐减小的操作,在此不做具体限定,根据实际需求进行设置即可。Specifically, in step S110, the first operation may be a multiple-click operation, a long-press operation, a sliding operation according to a preset track, or a non-icon area on the current page of the application list. The operation of gradually reducing the effective distance between the two contacts is not limited here, and can be set according to actual needs.
在本实施例中,所述第一操作为检测到的对应用列表的当前页面下的非图标区域的持续第一预设时长的按压操作,检测到的对所述应用列表的当前页面下的非图标区域内在第二预设时长内连续预设次数的点击操作,或者检测到的对所述应用列表的当前页面下的非图标区域内的两个触点之间的有效距离逐渐减小的操作。In this embodiment, the first operation is a detected pressing operation on the non-icon area under the current page of the application list for a first preset duration, and the detected pressing operation on the non-icon area under the current page of the application list Click operations in the non-icon area for a continuous preset number of times within the second preset duration, or the detected effective distance between two contacts in the non-icon area under the current page of the application list gradually decreases. operate.
可以理解,所述电子设备中可以存储运存有多种操作和与每种操作对应的操作指令,例如,在检测到上述第一操作时,即可获得相应的操作指令为缩小显示应用列表中的多个页面的指令。It can be understood that a variety of operations and operation instructions corresponding to each operation can be stored and stored in the electronic device. For example, when the above-mentioned first operation is detected, the corresponding operation instruction can be obtained as a reduced display application list. multiple pages of directives.
在步骤S120中,对所述应用列表对应的多个页面进行缩小显示的方式可以是,根据应用列表对应的多个页面的页面数量查找缩小显示的方式,并按照该缩小显示的方式进行显示,也可以是,按照预设页面显示方式对所述多个页面进行缩小显示,还可以是按照预设比例对所述多个页面进行缩小显示。In step S120, the manner of performing the reduced display on the multiple pages corresponding to the application list may be: searching for the reduced display method according to the number of pages of the multiple pages corresponding to the application list, and displaying according to the reduced display method, Alternatively, the plurality of pages may be displayed in a reduced size according to a preset page display manner, or the plurality of pages may be displayed in a reduced size according to a preset ratio.
例如,当按照预设的页面显示方式对多个页面进行缩小显示的方式可以是,按照预先设置的m×n的方式,即横向最多排列m个数量的缩小页面,纵向排列n个数量的缩小页面的方式进行显示,且m和n均为正整数,此外,还需要说明的是,当按照预设的页面显示方式对多个页面进行缩小显示时,当页面数量大于按照预设的页面显示方式显示是的最多页面显示数量时,应当在两个或多个显示界面显示上述的多个页面,用户在后续的页面选取操作中可以以切换界面的方式从两个或多个界面中选取至少两个页面以将该至少两个页面中的图标合并显示于一个页面中。For example, the method of reducing and displaying multiple pages according to the preset page display method may be, according to the preset m×n method, that is, arranging at most m number of reduced pages in the horizontal direction, and arranging n number of reduced pages in the vertical direction. In addition, it should be noted that when multiple pages are displayed in a reduced size according to the preset page display mode, when the number of pages is larger than that according to the preset page display mode When the mode display is the maximum number of pages displayed, the above-mentioned multiple pages should be displayed on two or more display interfaces, and the user can select at least two or more interfaces in the subsequent page selection operation by switching interfaces. Two pages are combined to display the icons in the at least two pages in one page.
可以理解,当根据应用列表对应的页面的数量选取缩小显示的方式,即,所述电子设备中可以预存有不同页面数量和与每个页面数量分别对应的页面显示方式。例如,当应用列表对应有3个或4个页面时,可以以2×2的方式进行缩小显示,当应用列表对应有5个或6个页面时以2×3的方式进行缩小显示,当应用列表对应有括7个、8个或9个页面时以3×3的方式显示,在此不做具体限定,根据实际需求进行设置即可。It can be understood that when the reduced display mode is selected according to the number of pages corresponding to the application list, that is, the electronic device may pre-store different page numbers and page display modes corresponding to each page number. For example, when the application list corresponds to 3 or 4 pages, the display can be reduced in a 2×2 manner; when the application list corresponds to 5 or 6 pages, the display can be reduced in a 2×3 manner. When the list includes 7, 8 or 9 pages, it will be displayed in a 3×3 format. There is no specific limitation here, and you can set it according to actual needs.
请结合参阅图2,在一些实施方式中,缩小显示所述应用列表对应的多个页面,包括:Please refer to FIG. 2 in combination, in some embodiments, multiple pages corresponding to the application list are displayed in a reduced size, including:
步骤S122:获取所述应用列表对应的多个页面的页面数量。Step S122: Acquire the number of pages of multiple pages corresponding to the application list.
步骤S124:根据所述页面数量从预设关系表中查找与该页面数量对应的目 标页面显示方式,其中,所述预设关系表中存储有多个页面数量和与每个页面数量对应的页面显示方式。Step S124: According to the number of pages, the target page display mode corresponding to the number of pages is searched from a preset relationship table, wherein the preset relationship table stores a plurality of page numbers and pages corresponding to each page number Display method.
步骤S126:对所述多个页面按照所述目标页面显示方式进行缩小显示,以使所述多个页面在同一显示界面中显示。Step S126: Display the multiple pages in a reduced size according to the display mode of the target page, so that the multiple pages are displayed in the same display interface.
通过根据所述应用列表对应的多个页面的页面数量对所述多个页面进行缩小显示,以使所有的页面均在同一显示界面中进行显示,使得用户无需执行翻页操作,即可在同一界面中选取所需合并的页面,进而可以进一步提高用户进行页面合并的效率。By reducing and displaying the multiple pages according to the page numbers of the multiple pages corresponding to the application list, all the pages are displayed in the same display interface, so that the user does not need to perform a page turning operation. The page to be merged can be selected in the interface, thereby further improving the efficiency of the page merging for the user.
在步骤S130中,对所述多个页面中至少两个页面的第二操作可以是,在对多个页面中至少两个页面进行长按或点击的方式选取后,对选取的至少两个页面之间的两个触点之间有距离逐渐减小的操作,也可以是将至少一个或多个缩小的页面拖拽至其他缩小的页面的上方的操作,还可以是在对多个页面中至少两个页面进行长按或点击的方式选取生成的合并提示框后,接收到基于合并提示框反馈的合并确认的点击操作,在此不做具体限定,根据实际需求进行设置即可。In step S130, the second operation on the at least two pages in the plurality of pages may be, after selecting the at least two pages in the plurality of pages by long-pressing or clicking, selecting the at least two pages in the selected pages. There is an operation in which the distance between the two contacts is gradually reduced, or it can be an operation of dragging at least one or more reduced pages to the top of other reduced pages, or it can be an operation of dragging at least one or more reduced pages to the top of other reduced pages. After the generated merge prompt box is selected by long-pressing or clicking on at least two pages, a click operation for merging confirmation based on the feedback of the merge prompt box is received, which is not limited here, and can be set according to actual needs.
可以理解,上述对至少两个页面的长按或点击选取操作应当在预设时长内,当在接收到对一个页面的长按或点击的选取的操作之后预设时长内未接收到对其他页面的选取操作时,则恢复至对多个页面缩小显示的状态或者恢复至最所述当前页面正常显示(全屏)显示的状态。此外,还应当理解,在接收到对是小号两个页面的长按或点击的选取操作之后第二设定时长内未接收到其他操作时,也会恢复至对多个页面缩小显示的状态或者恢复至最所述当前页面正常显示(全屏显示)的状态。It can be understood that the above-mentioned long-press or click-to-select operation on at least two pages should be within a preset period of time. When the selection operation is performed, it will be restored to the state of reducing the display of multiple pages or to the state of normal display (full screen) display of the most current page. In addition, it should also be understood that when no other operation is received within the second set period of time after receiving the selection operation of long-pressing or clicking on the two pages of the trumpet, the state of reducing the display of multiple pages will also be restored. Or restore to the state in which the current page is displayed normally (full screen display).
在一些实施方式中,所述第二操作包括:检测到的对缩小显示后的多个页面中的至少两个页面依次进行按压,并对所述至少两个页面中任意两个页面上分别对应的两个触点之间的有效距离逐渐减小的操作;或者In some implementation manners, the second operation includes: the detected pressing on at least two pages of the plurality of pages displayed in a reduced size in sequence, and the corresponding pressing on any two pages of the at least two pages, respectively. operation in which the effective distance between two contacts is gradually reduced; or
当检测到对所述多个页面中的至少两个页面的第二操作为对所述多个页面中的两个页面的第二操作时,所述第二操作包括:检测到的将所述两个页面中的缩小显示的第一页面的拖拽至缩小显示的第二页面的上方后释放的操作。When it is detected that the second operation on at least two pages in the plurality of pages is a second operation on two pages in the plurality of pages, the second operation includes: The operation of dragging and dropping the first page displayed in a reduced size to the top of the second page displayed in a reduced size of the two pages and releasing it.
在步骤S140中,可以理解,当接收到的第二操作为上述的操作时,确定其对应的操作指令为对选取的多个页面的图标合并指令。In step S140, it can be understood that when the received second operation is the above-mentioned operation, it is determined that the corresponding operation instruction is the icon merging instruction for the selected multiple pages.
根据所述至少两个页面确定目标页面的方式可以是,将所述至少两个页面 中页面标识为最小的页面作为目标页面,也可以是根据所述至少两个页面中的图标的数量确定目标页面,在此不做具体限定,根据实际需求进行设置即可。The way of determining the target page according to the at least two pages may be that the page with the smallest page identification among the at least two pages is used as the target page, or the target page may be determined according to the number of icons in the at least two pages Page, there is no specific limitation here, you can set it according to actual needs.
请结合参阅图3,在本实施例中,当根据所述至少两个页面确定目标页面的方式为:获取所述至少两个页面的中每个页面的页面标识,并将页面标识为最小的页面作为目标页面时,在该目标页面中显示所述至少两个页面中的所有图标的方式可以包括以下步骤:Please refer to FIG. 3 in conjunction with, in this embodiment, the method of determining the target page according to the at least two pages is: acquiring the page identifier of each of the at least two pages, and identifying the page as the smallest page identifier When the page is used as the target page, the manner of displaying all the icons in the at least two pages in the target page may include the following steps:
步骤S132a:获取所述目标页面的当前图标显示方式下最多能显示的图标的第一数量。Step S132a: Obtain the first number of icons that can be displayed at most in the current icon display mode of the target page.
通常情况下,应用列表的页面在显示图标时,通常是按照a×b的排列方式进行显示的,例如,3×4、4×4或者4×5等排列方式进行显示,即横向最多显示a个图标,纵向最多显示b个图标,则最多能显示的图标的第一数量为a×b,需要说明的是,应用列表的不同页面最多能显示的图标数量可以是相同的,也可以是不同的,根据实际需求进行设置即可,在此不做具体限定。Under normal circumstances, when displaying icons on the page of the application list, it is usually displayed in a x b arrangement, for example, 3 x 4, 4 x 4 or 4 x 5 and other arrangements, that is, the horizontal display at most a If you want to display up to b icons vertically, the first number of icons that can be displayed at most is a×b. It should be noted that the maximum number of icons that can be displayed on different pages of the application list can be the same or different. , it can be set according to actual needs, and no specific limitation is made here.
步骤S132b:获取所述至少两个页面中每个页面中图标的数量,并进行累加以得到第二数量。Step S132b: Acquire the number of icons in each of the at least two pages, and accumulate them to obtain a second number.
步骤S132c:判断所述第二数量是否小于或等于所述第一数量。Step S132c: Determine whether the second quantity is less than or equal to the first quantity.
步骤S132d:在所述第二数量小于或等于所述第一数量时,在所述目标页面中按照当前图标显示方式显示所述至少两个页面中的所有图标。Step S132d: when the second number is less than or equal to the first number, display all icons in the at least two pages in the target page according to the current icon display mode.
步骤S132e:在所述第二数量大于所述第一数量时,获取与所述第二数量对应的目标图标显示方式,并在所述目标页面中按照所述目标图标显示方式显示所述至少两个页面中的所有图标。Step S132e: When the second number is greater than the first number, obtain a target icon display mode corresponding to the second number, and display the at least two target icons in the target page according to the target icon display mode. all icons on a page.
在所述第二数量大于所述第一数量时,可知,当按照所述当前图标显示方式显示所述至少两个页面中的所有图标时,无法显示完全,通过调整图标显示方式,例如将原来的a×b的图标显示方式调整为(a+1)×b的图标显示方式,或者调整为a×(b+1),或者(a+1)×(b+1)的图标显示方式,在此不做具体限定,根据实际需求进行设置即可,只要能够使调整后的图标显示方式能够在所述目标页面中显示所示至少两个页面中的所有图标即可。When the second number is greater than the first number, it can be known that when all the icons in the at least two pages are displayed according to the current icon display mode, they cannot be displayed completely. The icon display method of a×b is adjusted to the icon display method of (a+1)×b, or adjusted to the icon display method of a×(b+1), or the icon display method of (a+1)×(b+1), There is no specific limitation here, and settings may be made according to actual requirements, as long as the adjusted icon display mode can display all the icons in the at least two pages shown on the target page.
请结合参阅图4,当根据所述至少两个页面中的图标的数量确定目标页面时,所述步骤S130还可以包括:Please refer to FIG. 4 in combination, when the target page is determined according to the number of icons in the at least two pages, the step S130 may further include:
步骤S134a;获取所述至少两个页面的页面标识,以及获取所述至少两个页 面中每个页面中图标的数量。Step S134a: Obtain page identifiers of the at least two pages, and obtain the number of icons in each of the at least two pages.
步骤S134b;将每个页面中图标的数量进行累加以得到第二数量。Step S134b: Accumulate the number of icons in each page to obtain a second number.
步骤S134c;从所述至少两个页面中选取页面标识为最小的页面,并判断该页面在当前显示模式下最多能够显示的第一数量是否小于所述第二数量。Step S134c: Select the page with the smallest page identifier from the at least two pages, and determine whether the maximum first number of pages that can be displayed in the current display mode is less than the second number.
通常情况下,应用列表的页面在显示图标时,通常是按照a×b的排列方式进行显示的,例如,3×4、4×4或者4×5等排列方式进行显示,即横向最多显示a个图标,纵向最多显示b个图标,则最多能显示的图标的第一数量为a×b。Under normal circumstances, when displaying icons on the page of the application list, it is usually displayed in a x b arrangement, for example, 3 x 4, 4 x 4 or 4 x 5 and other arrangements, that is, the horizontal display at most a There are several icons, and up to b icons are displayed vertically, and the first number of icons that can be displayed at most is a×b.
步骤S134d;在所述第一数量小于所述第二数量时,向该页面和与该页面相邻的下一页面之间插入页面,并将插入的页面和所述页面标识为最小的页面作为目标页面,以使所述至少两个页面中的所有图标能够按照所述当前显示模式在所述目标页面中进行显示,且所述页面标识为最小的页面中显示图标的数量为所述第二数量。Step S134d; when the first number is less than the second number, insert a page between the page and the next page adjacent to the page, and identify the inserted page and the page as the smallest page as the page. the target page, so that all icons in the at least two pages can be displayed in the target page according to the current display mode, and the number of displayed icons in the page identified as the smallest is the second quantity.
步骤S134e;在所述第一数量不小于所述第二数量时,将所述页面标识为最小的页面作为目标页面。Step S134e: When the first number is not less than the second number, identify the page as the smallest page as a target page.
可以理解,通过上述设置,以实现对多个页面的合并,且需要说明的是,在本实施例中,对上述多个页面进行合并时,是将页面标识较大的页面向页面标识为最小的页面进行合并,且在合并过程中,页面标识较大的页面中的图标是按照矩阵列表的方式在所述页面标识较小的页面中向缩进填补空缺,并在所述至少两个页面中的图标的数量过多时,新建一个图标页用来存放多余的图标,从而实现对图标的整理。It can be understood that the above settings are used to realize the merging of multiple pages, and it should be noted that, in this embodiment, when the above-mentioned multiple pages are merged, the page with the larger page ID is marked to the page with the smallest page ID. In the process of merging, the icon in the page with the larger page ID is indented to fill the vacancy in the page with the smaller page ID in the form of a matrix list, and in the at least two pages When there are too many icons in the icon, a new icon page is created to store the redundant icons, so as to organize the icons.
实施例二Embodiment 2
请结合参阅图5和图6,在本实施例中,以应用列表包括6个页面为例进行说明,当需要对当前页面中的第二个页面和第三个页面进行合并时,用户通过对当前页面下的非图标区域按压预设时长,以使移动终端在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令,且该第一操作指令为应用列表的多个页面的页面缩小显示指令时,将应用列表中的6个页面按照2×3的方式进行缩小显示(需要说明的是,当应用列表中包括的页面较多时,例如超过6个时,还可以新建一界面,被设置为显示图标页)。Please refer to FIG. 5 and FIG. 6 in combination. In this embodiment, the application list includes 6 pages as an example for description. When the second page and the third page in the current page need to be merged, the user can The non-icon area under the current page is pressed for a preset duration, so that when the mobile terminal detects the first operation under the current page of the application list, it obtains the first operation instruction corresponding to the first operation, and the first operation instruction is an application When the page reduction display instruction of multiple pages in the list is displayed, the 6 pages in the application list are displayed in a 2×3 manner (it should be noted that when there are many pages included in the application list, for example, when there are more than 6 pages) , you can also create a new interface, which is set to display the icon page).
用户可以对缩小显示的6个页面中,页面标识为“图标页2”和页面标识为 “图标页3”的两个页面在预设时长内执行双击或点击操作,以对所述第二页面和第三页面进行选取得到如图5中所示的图标页缩略图,之后,在操作界面上执行捏合操作,以使移动终端在预设时长内检测到针对“图标页2”和“图标页3”的按压操作以及对所述至少两个页面中任意两个页面上分别对应的两个触点之间的有效距离逐渐减小的操作时,确认该上述操作对应的操作指令为所述至少两个页面的图标的合并指令,并获取所述至少两个页面的页面标识,以及获取所述至少两个页面中每个页面中图标的数量,将每个页面中图标的数量进行累加以得到第二数量,从所述至少两个页面中选取页面标识为最小的页面,并判断该页面在当前显示模式下最多能够显示的第一数量是否小于所述第二数量,在所述第一数量小于所述第二数量时,向该页面和与该页面相邻的下一页面之间插入页面,并将插入的页面和所述页面标识为最小的页面作为目标页面,以使所述至少两个页面中的所有图标能够按照所述当前显示模式在所述目标页面中进行显示,且所述页面标识为最小的页面中显示图标的数量为所述第二数量;以及在所述第一数量不小于所述第二数量时,将所述页面标识为最小的页面作为目标页面,并将页面标识较大的页面中的图标向页面标识为最小的页面内的图标进行合并,并在完成合并时,将原图标页3对应的页面挂件删除后调整各页面的页面标识,以得到如图6中所示的合并后且缩小显示的页面。需要说明的是,在本实施例中,在页面合并过程中,页面标识较大的页面中的图标是按照矩阵列表的方式在所述页面标识较小的页面中向缩进填补空缺,并在所述至少两个页面中的图标的数量过多时,新建一个图标页用来存放多余的图标,从而实现对图标的整理。The user can perform a double-click or click operation on the two pages identified as "icon page 2" and the two pages with page identification as "icon page 3" within a preset period of time among the 6 pages displayed in a reduced size, so as to perform a double-click operation on the second page. and the third page is selected to obtain the thumbnail of the icon page as shown in Figure 5, after that, a pinch operation is performed on the operation interface, so that the mobile terminal detects within a preset duration 3” and when the effective distance between the two corresponding contacts on any two pages of the at least two pages is gradually reduced, confirm that the operation command corresponding to the above operation is the at least one A merging instruction of icons of two pages, and obtaining the page identifiers of the at least two pages, and obtaining the number of icons in each page of the at least two pages, and accumulating the number of icons in each page to obtain For the second number, select the page with the smallest page identifier from the at least two pages, and determine whether the maximum first number that can be displayed on the page in the current display mode is less than the second number, where the first number When the number is less than the second number, insert a page between the page and the next page adjacent to the page, and identify the inserted page and the page as the smallest page as the target page, so that the at least two All icons in each page can be displayed in the target page according to the current display mode, and the number of icons displayed in the page with the smallest page identification is the second number; and the first number When the number is not less than the second number, the page with the smallest page identifier is used as the target page, and the icons in the page with the larger page identifier are merged with the icons in the page with the smallest page identifier, and when the merging is completed. When the page pendant corresponding to the original icon page 3 is deleted, the page identifiers of each page are adjusted to obtain the merged and reduced-display page as shown in FIG. 6 . It should be noted that, in this embodiment, during the page merging process, the icons in the pages with larger page IDs are indented to fill the gaps in the pages with smaller page IDs in the form of a matrix list, and the icons in the pages with smaller page IDs are indented to fill the gaps. When the number of icons in the at least two pages is too large, a new icon page is created to store the redundant icons, thereby realizing the sorting of the icons.
实施例三Embodiment 3
本实施例提供了一种图标整理装置,包括第一指令获得模块、第一显示模块、第二指令获得模块以及第二显示模块。This embodiment provides an icon arrangement device, including a first instruction obtaining module, a first display module, a second instruction obtaining module, and a second display module.
所述第一指令获得模块,被设置为在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令。The first instruction obtaining module is configured to obtain a first operation instruction corresponding to the first operation when a first operation is detected under the current page of the application list.
关于第一指令获得模块的描述具体可参考前述方法实施例中步骤S110的详细描述,也即,步骤S110可以由第一指令获得模块执行。For the description of the first instruction obtaining module, reference may be made to the detailed description of step S110 in the foregoing method embodiments, that is, step S110 may be executed by the first instruction obtaining module.
所述第一显示模块,被设置为在所述第一操作指令为页面缩小显示指令时,对所述应用列表对应的多个页面缩小显示,其中,每个页面中显示有至少一个图 标。The first display module is configured to reduce and display multiple pages corresponding to the application list when the first operation instruction is a page reduction display instruction, wherein at least one icon is displayed in each page.
关于第一显示模块的描述具体可参考前述方法实施例中步骤S120的详细描述,也即,步骤S120可以由第一显示模块执行。For the description of the first display module, reference may be made to the detailed description of step S120 in the foregoing method embodiments, that is, step S120 may be performed by the first display module.
所述第二指令获得模块,被设置为在检测到对所述多个页面中的至少两个页面的第二操作时,获取该第二操作对应的第二操作指令。The second instruction obtaining module is configured to obtain a second operation instruction corresponding to the second operation when a second operation on at least two pages in the plurality of pages is detected.
关于第二指令获得模块的描述具体可参考前述方法实施例中步骤S130的详细描述,也即,步骤S130可以由第二指令获得模块执行。For the description of the second instruction obtaining module, reference may be made to the detailed description of step S130 in the foregoing method embodiments, that is, step S130 may be performed by the second instruction obtaining module.
所述第二显示模块,被设置为在所述第二操作指令为对所述至少两个页面的图标的合并指令时,根据所述至少两个页面确定目标页面,并在该目标页面中显示所述至少两个页面中的所有图标。The second display module is configured to determine a target page according to the at least two pages when the second operation instruction is a merging instruction for icons of the at least two pages, and display in the target page All icons in the at least two pages.
关于第二显示模块的描述具体可参考前述方法实施例中步骤S140的详细描述,也即,步骤S140可以由第二显示模块执行。For the description of the second display module, reference may be made to the detailed description of step S140 in the foregoing method embodiments, that is, step S140 may be performed by the second display module.
实施例四Embodiment 4
本实施例提供一种存储介质,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,所述计算机程序被一个或多个处理器执行时可以实现实施例一图标整理方法。This embodiment provides a storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM) ), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), magnetic memory, magnetic disk, optical disk, server, App application mall, etc., on which a computer program is stored, the computer program When executed by one or more processors, a method for organizing icons in Embodiment 1 can be implemented.
上述方法步骤的具体实施例过程可参见实施例一,本实施例在此不再重复赘述。For the specific embodiment process of the above method steps, reference may be made to Embodiment 1, which will not be repeated in this embodiment.
实施例五Embodiment 5
本公开实施例提供了一种电子设备,包括存储器和处理器,所述存储器上存储有计算机程序,该计算机程序被所述处理器执行时,实施例一中所述的图标整理方法。An embodiment of the present disclosure provides an electronic device, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the icon sorting method described in the first embodiment is implemented.
可以理解,所述电子设备还可以包括,多媒体组件,输入/输出(I/O)接口,以及通信组件。It can be understood that the electronic device may also include a multimedia component, an input/output (I/O) interface, and a communication component.
其中,处理器被设置为执行如实施例一中图标整理方法中的全部或部分步 骤。存储器被设置为存储各种类型的数据,这些数据例如可以包括电子设备中的任何应用程序或方法的指令,以及应用程序相关的数据。Wherein, the processor is configured to execute all or part of the steps in the method for organizing icons in the first embodiment. The memory is configured to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
所述处理器可以是专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,被设置为执行上述实施例一中的图标整理方法。The processor may be an Application Specific Integrated Circuit (ASIC for short), a Digital Signal Processor (DSP for short), a Digital Signal Processing Device (DSPD for short), a programmable logic device (Programmable Logic Device, referred to as PLD), Field Programmable Gate Array (Field Programmable Gate Array, referred to as FPGA), controller, microcontroller, microprocessor or other electronic components are implemented, and are configured to perform the above-mentioned first embodiment. How to organize icons.
所述存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。The memory can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk.
在本公开所提供的几个实施例中,应该理解到,所揭露的方法,也可以通过其它的方式实现。以上所描述的实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本公开的多个实施例的方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个被设置为实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in the present disclosure, it should be understood that the disclosed method may also be implemented in other manners. The embodiments described above are merely illustrative, eg, the flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions arranged to implement the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
以上所述仅为本公开的实施例而已,并不用于限制本公开的保护范围,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之 内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above description is only an embodiment of the present disclosure, and is not intended to limit the protection scope of the present disclosure. For those skilled in the art, the present disclosure may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included within the protection scope of the present disclosure. It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
还需要说明的是,以上所述,仅为本公开的具体实施方式,但所述的内容只是为了便于理解本公开而采用的实施方式,并非用以限定本公开。任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,在不脱离本公开所公开的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,以及可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。It should also be noted that the above descriptions are only specific embodiments of the present disclosure, and the content described above is only an embodiment adopted to facilitate understanding of the present disclosure, and is not intended to limit the present disclosure. Any person skilled in the art can make any modifications and changes in the form and details of the implementation within the technical scope disclosed in the present disclosure, without departing from the spirit and scope disclosed in the present disclosure. Changes or substitutions that are readily contemplated should be included within the scope of protection of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims (10)

  1. 一种图标整理方法,所述方法包括:A method for organizing icons, the method comprising:
    在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令;When a first operation is detected under the current page of the application list, obtain a first operation instruction corresponding to the first operation;
    在所述第一操作指令为页面缩小显示指令时,对所述应用列表对应的多个页面缩小显示,其中,每个页面中显示有至少一个图标;When the first operation instruction is a page reduction display instruction, a plurality of pages corresponding to the application list are displayed in a reduced size, wherein each page is displayed with at least one icon;
    在检测到对所述多个页面中的至少两个页面的第二操作时,获取该第二操作对应的第二操作指令;When detecting a second operation on at least two pages in the plurality of pages, acquiring a second operation instruction corresponding to the second operation;
    在所述第二操作指令为对所述至少两个页面的图标的合并指令时,根据所述至少两个页面确定目标页面,并在该目标页面中显示所述至少两个页面中的所有图标。When the second operation instruction is a merging instruction for icons of the at least two pages, a target page is determined according to the at least two pages, and all icons in the at least two pages are displayed on the target page .
  2. 根据权利要求1所述的图标整理方法,其中,根据所述至少两个页面确定目标页面,包括:The method for organizing icons according to claim 1, wherein determining the target page according to the at least two pages comprises:
    获取所述至少两个页面的中每个页面的页面标识,并将页面标识为最小的页面作为目标页面。The page identifier of each of the at least two pages is acquired, and the page with the smallest page identifier is used as the target page.
  3. 根据权利要求2所述的图标整理方法,其中,在该目标页面中显示所述至少两个页面中的所有图标,包括:The method for organizing icons according to claim 2, wherein displaying all icons in the at least two pages in the target page includes:
    获取所述目标页面的当前图标显示方式下最多能显示的图标的第一数量;obtaining the first number of icons that can be displayed at most in the current icon display mode of the target page;
    获取所述至少两个页面中每个页面中图标的数量,并进行累加以得到第二数量;acquiring the number of icons in each of the at least two pages, and accumulating to obtain a second number;
    判断所述第二数量是否小于或等于所述第一数量;determining whether the second quantity is less than or equal to the first quantity;
    在所述第二数量小于或等于所述第一数量时,在所述目标页面中按照当前图标显示方式显示所述至少两个页面中的所有图标;When the second number is less than or equal to the first number, displaying all icons in the at least two pages in the target page according to the current icon display mode;
    在所述第二数量大于所述第一数量时,获取与所述第二数量对应的目标图标显示方式,并在所述目标页面中按照所述目标图标显示方式显示所述至少两个页面中的所有图标。When the second number is greater than the first number, acquire a target icon display mode corresponding to the second number, and display the at least two pages in the target page according to the target icon display mode all icons.
  4. 根据权利要求1所述的图标整理方法,其中,缩小显示所述应用列表对应的多个页面,包括:The method for organizing icons according to claim 1, wherein displaying multiple pages corresponding to the application list in a reduced size, comprises:
    获取所述应用列表对应的多个页面的页面数量;obtaining the number of pages of multiple pages corresponding to the application list;
    根据所述页面数量从预设关系表中查找与该页面数量对应的目标页面显示方式,其中,所述预设关系表中存储有多个页面数量和与每个页面数量对应的页面显示方式;According to the number of pages, a target page display mode corresponding to the number of pages is searched from a preset relationship table, wherein the preset relationship table stores a plurality of page numbers and a page display mode corresponding to each page number;
    对所述多个页面按照所述目标页面显示方式进行缩小显示,以使所述多个页面在同一显示界面中显示。The multiple pages are displayed in a reduced size according to the display mode of the target page, so that the multiple pages are displayed in the same display interface.
  5. 根据权利要求1所述的图标整理方法,其中,根据所述至少两个页面确定目标页面,包括:The method for organizing icons according to claim 1, wherein determining the target page according to the at least two pages comprises:
    获取所述至少两个页面的页面标识,以及获取所述至少两个页面中每个页面中图标的数量;acquiring page identifiers of the at least two pages, and acquiring the number of icons in each of the at least two pages;
    将每个页面中图标的数量进行累加以得到第二数量;Accumulate the number of icons in each page to get the second number;
    从所述至少两个页面中选取页面标识为最小的页面,并判断该页面在当前显示模式下最多能够显示的第一数量是否小于所述第二数量;Select the page with the smallest page identification from the at least two pages, and determine whether the maximum first number that can be displayed on the page in the current display mode is less than the second number;
    在所述第一数量小于所述第二数量时,向该页面和与该页面相邻的下一页面之间插入页面,并将插入的页面和所述页面标识为最小的页面作为目标页面,以使所述至少两个页面中的所有图标能够按照所述当前显示模式在所述目标页面中进行显示,且所述页面标识为最小的页面中显示图标的数量为所述第二数量;以及When the first number is less than the second number, insert a page between the page and the next page adjacent to the page, and use the inserted page and the page marked as the smallest page as the target page, so that all icons in the at least two pages can be displayed in the target page according to the current display mode, and the number of icons displayed in the page identified as the smallest is the second number; and
    在所述第一数量不小于所述第二数量时,将所述页面标识为最小的页面作为目标页面。When the first number is not less than the second number, the page is identified as the smallest page as a target page.
  6. 根据权利要求1所述的图标整理方法,其中,所述第二操作包括:检测到的对缩小显示后的多个页面中的至少两个页面依次进行按压,并对所述至少两个页面中任意两个页面上分别对应的两个触点之间的有效距离逐渐减小的操作;或者The method for arranging icons according to claim 1, wherein the second operation comprises: pressing at least two pages in sequence among the plurality of pages displayed in a reduced size after detection, and pressing the at least two pages in the at least two pages in sequence. An operation in which the effective distance between two corresponding contacts on any two pages is gradually reduced; or
    当检测到对所述多个页面中的至少两个页面的第二操作为对所述多个页面 中的两个页面的第二操作时,所述第二操作包括:检测到的将所述两个页面中的缩小显示的第一页面的拖拽至缩小显示的第二页面的上方后释放的操作。When it is detected that the second operation on at least two pages in the plurality of pages is a second operation on two pages in the plurality of pages, the second operation includes: the detected The operation of dragging and dropping the first page displayed in a reduced size to the top of the second page displayed in a reduced size among the two pages and releasing it.
  7. 根据权利要求1所述的图标整理方法,其中,所述第一操作包括:The method for organizing icons according to claim 1, wherein the first operation comprises:
    检测到的对应用列表的当前页面下的非图标区域的持续第一预设时长的按压操作,检测到的对所述应用列表的当前页面下的非图标区域内在第二预设时长内连续预设次数的点击操作,或者检测到的对所述应用列表的当前页面下的非图标区域内的两个触点之间的有效距离逐渐减小的操作。The detected pressing operation on the non-icon area under the current page of the application list continues for the first preset time period, and the detected non-icon area under the current page of the application list is continuously preset for the second preset time period. A set number of click operations, or a detected operation of gradually reducing the effective distance between two contacts in the non-icon area under the current page of the application list.
  8. 一种图标整理装置,包括:A device for organizing icons, comprising:
    第一指令获得模块,被设置为在应用列表的当前页面下检测到第一操作时,获取该第一操作对应的第一操作指令;The first instruction obtaining module is configured to obtain the first operation instruction corresponding to the first operation when the first operation is detected under the current page of the application list;
    第一显示模块,被设置为在所述第一操作指令为页面缩小显示指令时,对所述应用列表对应的多个页面缩小显示,其中,每个页面中显示有至少一个图标;a first display module, configured to display a plurality of pages corresponding to the application list in a reduced size when the first operation instruction is a page reduction display instruction, wherein at least one icon is displayed on each page;
    第二指令获得模块,被设置为在检测到对所述多个页面中的至少两个页面的第二操作时,获取该第二操作对应的第二操作指令;A second instruction obtaining module, configured to obtain a second operation instruction corresponding to the second operation when a second operation on at least two pages in the plurality of pages is detected;
    第二显示模块,被设置为在所述第二操作指令为对所述至少两个页面的图标的合并指令时,根据所述至少两个页面确定目标页面,并在该目标页面中显示所述至少两个页面中的所有图标。The second display module is configured to determine a target page according to the at least two pages when the second operation instruction is a merging instruction for icons of the at least two pages, and display the target page in the target page All icons in at least two pages.
  9. 一种存储介质,该存储介质存储有计算机程序,所述计算机程序被一个或多个处理器执行时实现如权利要求1-7中任意一项所述的图标整理方法。A storage medium storing a computer program, when the computer program is executed by one or more processors, the method for organizing icons according to any one of claims 1-7 is implemented.
  10. 一种电子设备,包括存储器和处理器,所述存储器上存储有计算机程序,该计算机程序被所述处理器执行时,执行如权利要求1-7中任意一项所述的图标整理生成方法。An electronic device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the method for arranging and generating icons according to any one of claims 1-7 is executed.
PCT/CN2020/140032 2020-08-25 2020-12-28 Icon arrangement method and apparatus, storage medium, and electronic device WO2022041609A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010864881.7 2020-08-25
CN202010864881.7A CN111949180A (en) 2020-08-25 2020-08-25 Icon arrangement method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022041609A1 true WO2022041609A1 (en) 2022-03-03

Family

ID=73367911

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140032 WO2022041609A1 (en) 2020-08-25 2020-12-28 Icon arrangement method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN111949180A (en)
WO (1) WO2022041609A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949180A (en) * 2020-08-25 2020-11-17 珠海格力电器股份有限公司 Icon arrangement method and device, storage medium and electronic equipment
CN117519852A (en) * 2022-07-27 2024-02-06 华为技术有限公司 Icon sorting method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500050A (en) * 2013-09-23 2014-01-08 天津三星通信技术研究有限公司 Icon moving method and portable touch terminal using same
CN104793848A (en) * 2015-04-29 2015-07-22 联想(北京)有限公司 Information processing method and electronic equipment
CN104915103A (en) * 2015-06-29 2015-09-16 努比亚技术有限公司 Method for sorting desktop icons and mobile terminal
JP2016099763A (en) * 2014-11-20 2016-05-30 キヤノン株式会社 Print job management device, management method, and program
CN107193438A (en) * 2017-05-03 2017-09-22 维沃移动通信有限公司 One kind management desk-top picture calibration method and mobile terminal
CN110879680A (en) * 2019-11-12 2020-03-13 维沃移动通信有限公司 Icon management method and electronic equipment
CN111949180A (en) * 2020-08-25 2020-11-17 珠海格力电器股份有限公司 Icon arrangement method and device, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8595651B2 (en) * 2011-01-04 2013-11-26 International Business Machines Corporation Single page multi-tier catalog browser
CN104063134B (en) * 2014-07-03 2018-01-02 上海斐讯数据通信技术有限公司 A kind of method of Android Launcher desktop managements
CN106055197A (en) * 2016-05-26 2016-10-26 深圳市金立通信设备有限公司 Display method and terminal for application icons
CN109828705B (en) * 2018-12-28 2021-06-08 南京维沃软件技术有限公司 Icon display method and terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500050A (en) * 2013-09-23 2014-01-08 天津三星通信技术研究有限公司 Icon moving method and portable touch terminal using same
JP2016099763A (en) * 2014-11-20 2016-05-30 キヤノン株式会社 Print job management device, management method, and program
CN104793848A (en) * 2015-04-29 2015-07-22 联想(北京)有限公司 Information processing method and electronic equipment
CN104915103A (en) * 2015-06-29 2015-09-16 努比亚技术有限公司 Method for sorting desktop icons and mobile terminal
CN107193438A (en) * 2017-05-03 2017-09-22 维沃移动通信有限公司 One kind management desk-top picture calibration method and mobile terminal
CN110879680A (en) * 2019-11-12 2020-03-13 维沃移动通信有限公司 Icon management method and electronic equipment
CN111949180A (en) * 2020-08-25 2020-11-17 珠海格力电器股份有限公司 Icon arrangement method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111949180A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
US7880728B2 (en) Application switching via a touch screen interface
US10331311B2 (en) Information management with non-hierarchical views
US8418086B2 (en) Isolating received information on a locked device
JP4453738B2 (en) File transfer method, apparatus, and program
US20140075354A1 (en) Apparatus and method for providing user interface for data management
TWI669652B (en) Information processing device, information processing method and computer program
US20140304616A1 (en) Mobile terminal and method for processing notification information
US20150120790A1 (en) Android system-based folder management and display method and mobile terminal
CN107357483B (en) Data sharing method and device, computer equipment and computer readable storage medium
US10664155B2 (en) Managing content displayed on a touch screen enabled device using gestures
US20190220170A1 (en) Method and apparatus for creating group
WO2017088102A1 (en) File selection method for intelligent terminal and intelligent terminal
US20110231424A1 (en) Method and system for automated file aggregation on a storage device
US20150309690A1 (en) Method and system for searching information records
US10459965B2 (en) Method and apparatus for displaying images
CN104731500A (en) Information processing method and electronic equipment
WO2022041609A1 (en) Icon arrangement method and apparatus, storage medium, and electronic device
WO2017008646A1 (en) Method of selecting a plurality targets on touch control terminal and equipment utilizing same
US20200028961A1 (en) Switching presentations of representations of objects at a user interface
US11112938B2 (en) Method and apparatus for filtering object by using pressure
US20130155072A1 (en) Electronic device and method for managing files using the electronic device
CN106775427B (en) Method and device for collecting pages
CN112740161A (en) Terminal, method for controlling terminal, and recording medium having recorded therein program for implementing the method
US11604835B2 (en) User interfaces for selecting media items
US11347392B1 (en) User interactions and feedback signals for sharing items to a network destination

Legal Events

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

Ref document number: 20951275

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20951275

Country of ref document: EP

Kind code of ref document: A1