CN114816167A - Application icon display method, electronic device and readable storage medium - Google Patents

Application icon display method, electronic device and readable storage medium Download PDF

Info

Publication number
CN114816167A
CN114816167A CN202210562933.4A CN202210562933A CN114816167A CN 114816167 A CN114816167 A CN 114816167A CN 202210562933 A CN202210562933 A CN 202210562933A CN 114816167 A CN114816167 A CN 114816167A
Authority
CN
China
Prior art keywords
application
folder
page
icon
application icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210562933.4A
Other languages
Chinese (zh)
Other versions
CN114816167B (en
Inventor
徐少非
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211347969.7A priority Critical patent/CN115877995A/en
Priority to CN202210562933.4A priority patent/CN114816167B/en
Publication of CN114816167A publication Critical patent/CN114816167A/en
Application granted granted Critical
Publication of CN114816167B publication Critical patent/CN114816167B/en
Priority to PCT/CN2023/072035 priority patent/WO2023226455A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The application discloses a display method of an application icon, electronic equipment and a readable storage medium, and belongs to the technical field of terminals. The method comprises the following steps: and displaying a folder icon of the application folder, wherein the application folder comprises a plurality of application icons, and the plurality of application icons are displayed in a plurality of pages. And responding to a page turning operation on the folder icon, and acquiring a first application icon set included in a target page corresponding to the page turning operation, wherein the target page is a previous page or a next page of a page where a second application icon set currently displayed in the folder icon is located. And updating the display content in the folder icon, and displaying the application icon in the first application icon set in the updated folder icon. According to the method, the user can directly turn pages on the folder icon without opening the application folder, so that the efficiency of searching the application icon is improved, and the management efficiency of the application can be improved.

Description

Application icon display method, electronic device and readable storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a display method of an application icon, an electronic device, and a readable storage medium.
Background
A wide variety of applications can be installed in electronic devices today. In order to facilitate management, an application folder function is provided on the desktop of the electronic device, that is, multiple application icons can be added to the same application folder, so that the desktop of the electronic device is tidier and more attractive.
If the number of application icons included in the application folder is large, it is generally necessary to display the application icons in multiple pages. In this case, if the user wants to open an application, and the application icon of the application is located in a later page in the application folder, the user is required to click on the folder icon of the application folder to trigger the electronic device to open the application folder. The user may then page through the open folder to find the application icon for the application. Then, the user can click the application icon to trigger the electronic device to open the application.
However, in the above process, the user needs to open the application folder and then turn pages to find the application icon, which is cumbersome to operate and results in low management efficiency of the application.
Disclosure of Invention
The application provides a display method of an application icon, an electronic device and a readable storage medium, and can solve the problem that in the process of searching for the application icon in the related art, the management efficiency of the application is low due to the fact that the operation is complex. The technical scheme is as follows:
in a first aspect, a method for displaying an application icon is provided, where the method includes:
displaying a folder icon of an application folder, wherein the application folder comprises a plurality of application icons, and the application icons are displayed in a plurality of pages;
responding to a page turning operation on the folder icon, and acquiring a first application icon set included in a target page corresponding to the page turning operation, wherein the target page is a previous page or a next page of a page where a second application icon set currently displayed in the folder icon is located;
and updating the display content in the folder icon, and displaying the application icon in the first application icon set in the updated folder icon.
Therefore, only the user needs to directly perform page turning operation on the folder icon, page turning can be performed without opening the application folder, the efficiency of searching the application icon can be improved, and the management efficiency of the application can be improved.
As an example of the present application, before the obtaining, in response to a page-turning operation on the folder icon, a first application icon set included in a target page corresponding to the page-turning operation, the method further includes:
loading a third application icon set included in a page adjacent to the page where the second application icon set is located into a first cache space, wherein the first cache space is used for storing attribute information of display content in the folder icon;
the obtaining of the first application icon set included in the target page corresponding to the page turning operation in response to the page turning operation on the folder icon includes:
and responding to the page turning operation on the folder icon, and acquiring the first application icon set from the first cache space.
In this way, after the folder icons of the application folders are displayed, the application icons of the adjacent pages of the page where the second application icon set currently displayed in the folder icons is located are preloaded into the first cache space, and therefore when a page turning operation is detected, the electronic equipment can quickly respond to the page turning operation.
As an example of the present application, the method further comprises:
deleting the third application icon set included in the adjacent page of the page where the second application icon set is located from the first cache space;
and loading a fourth application icon set included in the adjacent page of the target page into the first cache space.
Therefore, the data in the first cache space is updated in a timing mode after page turning, on one hand, page turning operation of a user can be responded in time when subsequent page turning is facilitated, display contents in the folder icons can be updated in time, and on the other hand, occupation of the first cache space can be reduced.
As an example of the present application, the method further comprises:
receiving an application icon updating operation on the application folder, wherein the application icon updating operation comprises adding an application icon in the application folder or deleting the application icon in the application folder;
if the application icon acted by the application icon updating operation is located in the page adjacent to the page where the second application icon set is located, determining a fifth application icon set included in the page adjacent to the page where the second application icon set is located;
updating the third set of application icons in the first cache space to the fifth set of application icons.
In this manner, the updated third set of application icons can be correctly displayed in the folder icons after the user turns the page.
As an example of the present application, before the obtaining, in response to a page-turning operation on the folder icon, a first application icon set included in a target page corresponding to the page-turning operation, the method further includes:
determining adjacent page index information from a first cache space, wherein the first cache space is used for storing attribute information of display content in the folder icon, the first cache space stores an application icon set included in each page of the plurality of pages, each page corresponds to the index information, and the adjacent page index information comprises index information of an adjacent page of a page where the second application icon set is located;
the obtaining of the first application icon set included in the target page corresponding to the page turning operation in response to the page turning operation on the folder icon includes:
in response to a page turning operation on the folder icon, determining target index information corresponding to the page turning operation from the adjacent page index information;
and acquiring an application icon set included in a target page corresponding to the target index information from the first cache space to obtain the first application icon set.
In this way, after the application folder is displayed, the adjacent page index information is determined from the first cache space, and thus when a page turning operation is detected, the target index information can be directly determined from the adjacent page index information, so that the application icon set included in the target page corresponding to the target index information is determined from the first cache space according to the target index information. Therefore, the response speed to the page turning operation can be improved, and especially when the application folders comprise more application icons, the speed of inquiring the target index information can be improved.
As an example of the present application, after updating the display content in the folder icon, the method further includes:
and updating the index information of the adjacent pages, wherein the updated index information of the adjacent pages comprises the index information of the adjacent pages of the target page.
Therefore, after the page is turned, the index information of the adjacent page is updated in time, so that the next page can still respond in time when turned, and the display contents in the file and the icon are updated in time.
As an example of the application, the application folder is a first type application folder, and the first type application folder refers to that, when an application icon displayed in the folder icon is triggered, the electronic device starts a corresponding application when the folder icon is not opened.
Therefore, the method provided by the application is applied to the large folder, so that the user can quickly click the application icon of each page in the large folder, the convenience of operation is improved, and the management efficiency of the application is improved.
As an example of the present application, the method further comprises:
responding to a designated sliding operation of any application icon displayed in the folder icon, and acquiring application data of an application corresponding to the any application icon, wherein the designated sliding operation is different from the page turning operation;
generating a card based on the application data;
displaying the card in an interface of the electronic device.
Therefore, on the basis of supporting the user to directly turn pages on the folder icons, the card is added to the application corresponding to any application icon in the large folder, so that the user can quickly check detailed contents in the application, and the user experience effect is improved.
As an example of the present application, the application folder belongs to a second type of application folder, and the second type of application folder refers to an application folder that is opened by the electronic device when an application icon displayed in the folder icon is triggered without opening the folder icon.
Therefore, the method provided by the application is applied to the small folder, and the user can quickly find out which application icons are checked in the small folder.
In a second aspect, there is provided an apparatus for displaying an application icon, the apparatus including:
the folder icon module is used for displaying folder icons of an application folder, the application folder comprises a plurality of application icons, and the application icons are displayed in a plurality of pages;
the folder icon module is used for responding to page turning operation on the folder icon and acquiring a first application icon set included in a target page corresponding to the page turning operation, wherein the target page is a previous page or a next page of a page where a second application icon set currently displayed in the folder icon is located;
the folder icon module is used for updating the display content in the folder icon, and displaying the application icon in the first application icon set in the updated folder icon.
As an example of the present application, the apparatus further comprises a folder icon module configured to:
loading a third application icon set included in a page adjacent to the page where the second application icon set is located from the folder module into a first cache space, wherein the first cache space is used for storing attribute information of display content in the folder icon;
and responding to the page turning operation on the folder icon, and acquiring the first application icon set from the first cache space.
As an example of the present application, the folder icons module is further configured to:
deleting the third application icon set included in the adjacent page of the page where the second application icon set is located from the first cache space;
loading a fourth set of application icons included in a page adjacent to the target page from the folder module into the first cache space.
As an example of the present application, the folder icons module is further configured to:
receiving an application icon updating operation on the application folder, wherein the application icon updating operation comprises adding an application icon in the application folder or deleting the application icon in the application folder;
if the application icon acted by the application icon updating operation is located in the page adjacent to the page where the second application icon set is located, determining a fifth application icon set included in the page adjacent to the page where the second application icon set is located;
updating the third set of application icons in the first cache space to the fifth set of application icons.
As an example of the present application, the folder icons module is further configured to:
determining adjacent page index information from a first cache space, wherein the first cache space is used for storing attribute information of display content in the folder icon, the first cache space stores an application icon set included in each page of the plurality of pages, each page corresponds to the index information, and the adjacent page index information comprises index information of an adjacent page of a page where the second application icon set is located;
in response to a page turning operation on the folder icon, determining target index information corresponding to the page turning operation from the adjacent page index information;
and acquiring an application icon set included in a target page corresponding to the target index information from the first cache space to obtain the first application icon set.
As an example of the present application, the folder icons module is further configured to:
and updating the index information of the adjacent pages, wherein the updated index information of the adjacent pages comprises the index information of the adjacent pages of the target page.
As an example of the application, the application folder is a first-class application folder, and the first-class application folder refers to that, when an application icon displayed in the folder icon is triggered without opening the folder icon, the electronic device starts a corresponding application.
As an example of the present application, the folder icons module is further configured to:
responding to a designated sliding operation of any application icon displayed in the folder icon, and acquiring application data of an application corresponding to the any application icon, wherein the designated sliding operation is different from the page turning operation;
generating a card based on the application data;
displaying the card in an interface of the electronic device.
As an example of the present application, the application folder belongs to a second type of application folder, and the second type of application folder refers to an application folder that is opened by the electronic device when an application icon displayed in the folder icon is triggered without opening the folder icon.
In a third aspect, an electronic device is provided, which includes a processor and a memory in its structure; the memory is used for storing a program for supporting the electronic device to execute the method provided by the first aspect, and storing data used for implementing the method of the first aspect. The processor is configured to execute programs stored in the memory. The electronic device may further comprise a communication bus for establishing a connection between the processor and the memory.
In a fourth aspect, there is provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method of the first aspect described above.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method as described in the first aspect above.
The technical effects obtained by the second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and are not described herein again.
Drawings
FIG. 1 is a diagram illustrating a method of application folder creation, according to an exemplary embodiment;
FIG. 2 is a diagram illustrating a method of creating a large folder, according to an exemplary embodiment;
FIG. 3 is a schematic flow chart illustrating opening an application according to an example embodiment;
FIG. 4 is a schematic diagram illustrating the structure of an electronic device in accordance with one illustrative embodiment;
FIG. 5 is a software architecture diagram of an electronic device shown in accordance with an exemplary embodiment;
FIG. 6 is a page turning flow diagram illustrating a large folder, according to an exemplary embodiment;
FIG. 7 is a page turning flow diagram illustrating a large folder according to another exemplary embodiment;
FIG. 8 is a schematic diagram illustrating a flow for adding cards to an application in accordance with an illustrative embodiment;
FIG. 9 is a page turning flow diagram of a small folder shown in accordance with an exemplary embodiment;
FIG. 10 is a flowchart illustrating a method of displaying an application icon in accordance with an exemplary embodiment;
FIG. 11 is a schematic flow chart illustrating a process for displaying folder icons in accordance with an exemplary embodiment;
FIG. 12 is a page turning flow diagram illustrating a large folder, according to another exemplary embodiment;
FIG. 13 is a flowchart illustrating a method of displaying an application icon in accordance with another exemplary embodiment;
FIG. 14 is a flowchart illustrating a method of displaying an application icon in accordance with another exemplary embodiment;
FIG. 15 is a flowchart illustrating a method of displaying an application icon in accordance with another exemplary embodiment;
fig. 16 is a schematic structural diagram illustrating a display device of an application icon according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference to "a plurality" in this application means two or more. In the description of the present application, "/" means "or" unless otherwise stated, for example, a/B may mean a or B; "and/or" herein is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, for the convenience of clearly describing the technical solutions of the present application, the terms "first", "second", and the like are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The electronic device can generally support an application folder function, that is, a user is supported to establish an application folder on a desktop of the electronic device, and then a plurality of application icons are added to the application folder, so that the desktop is tidier. An application folder is understood to be a folder that can be used to categorize and manage a plurality of application icons.
In one example, referring to fig. 1 (a), when a user wants to create an application folder, one application icon may be dragged over another application icon. In response to the drag operation, the electronic device establishes an application folder and displays a folder icon of the application folder on the desktop, illustratively, the folder icon is shown as 00 in (b) of fig. 1. It should be noted that, for the application folder of this type, when a user needs to click a certain application icon in the application folder to trigger the electronic device to start the corresponding application, the user needs to click the folder icon of the application folder to open the application folder first, and then the user can click the application icon in the application folder to trigger the electronic device to open the corresponding application. This type of application folder is commonly referred to as a mini-folder.
In one scenario, in order to facilitate a user to directly click on an application icon in an application folder, the type of the small folder may also be modified. Illustratively, the user may press the small folder for a long time, and in response to the long press operation of the small folder by the user, the electronic device displays a setup window in the vicinity of the folder icon of the small folder, as shown in fig. 2 (a), the setup window including a "display as large folder" option. Referring to fig. 2 (b), the user may click on the "show as big folder" option, and in response to the user's trigger operation on the "show as big folder" option, the electronic device sets the small folder as another type of application folder, with the folder icon shown as 21 in fig. 2 (c). It should be noted that, for the application folder of this type, when a user needs to click a certain application icon in the application folder and the application icon is located in the folder icon, the user may directly click the application icon, and in response to a trigger operation of the user on the application icon, the electronic device opens the corresponding application. That is, for the application folder of this type, if the application icon of the application to be opened is located in the folder icon, the user does not need to click the folder icon to trigger the electronic device to open the application folder and then trigger the application icon in the opened application folder, but can directly trigger the application icon on the folder icon to open the corresponding application. For example, referring to fig. 2 (c), when the user wants to open the application a, the user may directly click on an application icon of the application a, and accordingly, in response to the click operation, the electronic device opens the application a. In some embodiments, this type of application folder may be referred to as a large folder.
However, when the number of application icons in the application folder is large, a plurality of application icons need to be displayed in pages, and at this time, no matter whether the application icons are small folders or large folders, if the application icons of the applications to be opened by the user are located in other pages, that is, not located in the currently displayed pages in the folder icons, the user is required to click the folder icons to open the application folder, and then page turning is performed to find the application icons to be searched. For example, referring to fig. 3, when the number of application icons in the large folder is multiple and the multiple application icons are displayed in multiple pages, referring to fig. 3 (a), the application icons that are not displayed are generally stacked in the lower right corner of the folder icon 31 of the large folder. Assuming that the user wants to find and open an application 14 in the application folder, the following three steps need to be performed: 1. the user clicks on the application icon stacked in the lower right hand corner of the folder icon 31 for the large folder, such as shown in figure 3 (b). In response to the user clicking on the stacked application icons, the electronic device opens the large folder, and the display effect is as shown in (c) of fig. 3. 2. The user slides the folder contents to the left. In response to the user's left-swipe operation, the electronic device pages the display content in the folder icon, as shown in fig. 3 (d). 3. The user clicks on the application icon 14. In response to the user's trigger operation on the application icon 14, the electronic device opens the application corresponding to the application icon 14.
Therefore, the operation is complicated, the efficiency of searching the application icon is low, and the management efficiency of the application is reduced. In the method, when the application icons in the application folder are displayed in multiple pages, a user is supported to directly turn pages on the folder icons of the application folder, the need for the user to open the application folder is avoided, the user can quickly find the application icons to be searched, and therefore the management efficiency of the application can be improved.
Before explaining the method for displaying an application icon provided in the embodiments of the present application in detail, the electronic device according to the embodiments of the present application will be described. The electronic equipment can be provided with a plurality of applications, and supports the function of an application folder, namely, supports a user to add a plurality of application icons into one application folder. In one example, the application folder may be a large folder, such as shown at 21 in (c) of FIG. 2. In another example, the application folder may also be a small folder, such as shown by 00 in figure 1 (b). By way of example and not limitation, the electronic device may be a mobile phone motion camera (GoPro), a digital camera, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, a vehicle-mounted device, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, a mobile phone, and the like, which are not limited in this embodiment.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 4, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces, such as an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C interfaces. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C interfaces. Such as: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C interface to implement the touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S interfaces. The processor 110 may be coupled to the audio module 170 via an I2S interface to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset.
The UART interface is a universal serial data bus used for asynchronous communications. The UART interface may be a bi-directional communication bus. The UART interface may convert data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. Such as: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The USB interface 130 may also be used to connect other terminals, such as AR devices, etc.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being an integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when taking a picture, open the shutter, on light passed through the lens and transmitted camera light sensing element, light signal conversion was the signal of telecommunication, and camera light sensing element transmits the signal of telecommunication to ISP and handles, turns into the image that the naked eye is visible. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being an integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is configured to perform fourier transform or the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record video in a plurality of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can implement applications such as intelligent recognition of the electronic device 100, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving files of music, video, etc. in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created by the electronic device 100 during use, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions, such as playing music, recording, etc., through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but have different touch operation intensities may correspond to different operation instructions. Such as: and when the touch operation with the touch operation intensity smaller than the pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor 180K may pass the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys or touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
Next, a software system of the electronic apparatus 100 will be explained.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, an Android (Android) system with a layered architecture is taken as an example to exemplarily describe a software system of the electronic device 100.
Fig. 5 is a block diagram of a software system of an electronic device 100 according to an embodiment of the present disclosure. Referring to fig. 5, the layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android run time (Android runtime) and system layer, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 5, the application package may include desktop applications, cameras, galleries, calls, maps, navigation, bluetooth, music, video, and the like.
As an example of the present application, a desktop application includes a folder icon module and a folder module. By way of example and not limitation, the folder icon module may include a slide listening function, a data presentation refreshing function, and a UI display function. The sliding monitoring function is used for monitoring a trigger event of a user on the folder icon and judging whether page turning is needed or not according to the trigger event. And the data display refreshing function is used for refreshing the application icon set after page turning in the folder icon under the condition that the page turning is determined to be needed through the sliding monitoring function. The UI display function is used to display folder icons on the desktop. Wherein, the folder icon shows the current operable application icon set in the application folder. The application icon set comprises at least one application icon, and one application icon corresponds to one unique application.
As an example of the present application, the folder module may be configured to provide basic application icon related data, such as paging data and content change data, where the paging data refers to paged application icon data, and the content change data is data after application icon change.
As an example of the present application, the Folder icon module is CardFoldericon and the Folder module is Folder.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 5, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like. The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data, which may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc., and makes the data accessible to applications. The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system can be used for constructing a display interface of an application program, and the display interface can be composed of one or more views, such as a view for displaying a short message notification icon, a view for displaying characters and a view for displaying pictures. The phone manager is used to provide communication functions of the electronic device 100, such as management of call states (including connection, hang-up, etc.). The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, etc., to the application. The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. For example, a notification manager is used to notify download completion, message alerts, and the like. The notification manager may also be a notification that appears in the form of a chart or scrollbar text at the top status bar of the system, such as a notification of a background running application. The notification manager may also be a notification that appears on the screen in the form of a dialog window, such as prompting a text message in a status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system. The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules, such as: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like. The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the original input event. Taking the touch operation as a click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application program framework layer, starts the camera application, then calls a kernel layer to start a camera drive, and captures a still image or a video through the camera 193.
Next, taking the electronic device as a mobile phone as an example, several possible application scenarios related to the embodiment of the present application are described.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating an application scenario according to an exemplary embodiment. In this application scenario, a large folder is built in the mobile phone, and a folder icon of the large folder is shown as 61 in fig. 6 (a). The large folder includes 18 application icons, which are displayed in two pages. That is, 9 application icons can be displayed in the folder icon 61 of the large folder, and each page in the large folder includes 9 application icons. In the embodiment of the present application, as shown in fig. 6 (a), the mobile phone does not display application icons in a stack in the folder icon 61, but directly displays all application icons included in each page. When the user wants to query the application icon included in the next page in the large folder, the user can slide leftward on the folder icon 61 to perform a page-turning operation. Referring to fig. 6 (b), in response to a leftward sliding operation by the user on the folder icon 61, the mobile phone displays each application icon included in the next page in the large folder. That is to say, in the embodiment of the present application, the user may slide on the folder icon 61 for turning pages without opening a large folder, so that the application icon to be searched can be quickly found. Thus, the experience of the user can be increased.
In the display state shown in fig. 6 (b), if the user wants to return to view an application icon in the previous page, for example, to open the application 1, the user may slide right on the folder icon. Referring to fig. 6 (c), in response to a user's slide-right operation on the folder icon 61, the cellular phone displays the respective application icons included on one page of the large folder. That is to say, the mobile phone can support the user to page back and forth on the folder icon to quickly find the application icon to be searched.
The above description is given by taking an example in which the mobile phone supports the user to slide left and right to turn pages. In another embodiment, the user can also be supported to slide up and down for turning pages. Illustratively, when the user slides up on the folder icon 61, in response to the upward sliding operation, the cellular phone displays, in the folder icon 61, the respective application icons included in the next page in the large folder; when the user slides down on the folder icon 61, the cellular phone displays, in the folder icon 61, the respective application icons included in the upper page in the large folder in response to the downward sliding operation.
In one example, in order to allow the user to intuitively know that the application icon in the large folder is more than one page, i.e., displayed in multiple pages, a multiple page indicator for indicating that multiple pages are included in the large folder may be displayed in the vicinity of the folder icon 61. Illustratively, referring to fig. 6, a dot mark 62 may be displayed under the folder icon 61. The dot mark corresponding to the current page can be displayed in an enlarged manner, so that a user can know which page the user is located at and can slide in which direction to turn the page. For example, as shown in fig. 6 (a), the user can know that the page can be turned by sliding to the left according to the display state, and as shown in fig. 6 (b), the user can know that the page can be turned by sliding to the right according to the display state.
It should be noted that the above description is only given by taking an example in which the dot mark indicates that there are multiple pages in the large folder. In another embodiment, the indication may be performed by other marks, for example, the indication may also be performed by a triangular mark, and the like, which is not limited in this embodiment of the application.
It should be noted that if the mobile phone supports up-down sliding for page turning, the multi-page indicator can also be displayed on the side of the folder icon 61, for example, on the right of the folder icon 61.
As an example of the present application, in the display state of the diagram (a) in fig. 6, the user may also slide rightward on the folder icon 61, and in response to the user sliding rightward on the folder icon 61, the mobile phone displays, in the folder icon 61, the respective application icons included in the second page in the large folder, as shown in the diagram (b) in fig. 6. That is, the mobile phone may support a user's sliding operation in one direction on the folder icon 61 for a plurality of times, and when a page is turned to the last page, if the sliding operation in the direction by the user is detected again, the loop display may be performed from the first page or the last page.
For example, referring to fig. 7, assuming that three application icons are included in the large folder, if the current display state is as shown in (a) of fig. 7, that is, each application icon included in the first page of the large folder is currently displayed in the folder icon 71, when the user slides to the right on the folder icon 71, the mobile phone updates the display content in the folder icon 71 in response to the user sliding to the right on the folder icon 71, and each application icon included in the third page of the large folder is displayed in the updated folder icon 71 as shown in (b) of fig. 7. Of course, it is understood that if the application icon included in the third page of the large folder is currently displayed in the folder icon 71, when the user slides left on the folder icon 71, in response to the leftward sliding operation of the user on the folder icon 71, the mobile phone may also display each application icon included in the first page of the large folder in the folder icon, that is, the mobile phone may support the user to slide only to the right or only to the left, and may implement circular page turning. Thus, user experience can be improved.
As an example of the present application, on the basis of the above possible implementation manners, when a user wants to set a card for an application corresponding to any application icon in a large folder, the user may select the application icon and slide the application icon in a designated direction, and in response to the sliding operation of the user, the mobile phone may generate and display a card on the desktop, where the card displays information related to the application selected by the user. Wherein the specified direction can be set as required. It should be noted that the sliding in the designated direction is different from the sliding in the page turning, for example, if the sliding operation corresponding to the page turning corresponds to left-right sliding, the sliding in the designated direction may be upward sliding or downward sliding, and if the sliding operation corresponding to the page turning corresponds to up-down sliding, the sliding in the designated direction may be left sliding or right sliding.
Illustratively, assuming that the user wants to add a card of an application of "weather" on the desktop of the mobile phone, the application icon of the application is located on the last page of the large folder, please refer to fig. 8, the application icon of the application is 14, if the display state of the folder icon in the mobile phone is as shown in fig. 8 (a), the user can slide left on the folder icon. In response to the leftward sliding operation of the user, the mobile phone updates the display content in the displayed folder icon, that is, each application folder included in the second page is displayed in the updated folder icon, as shown in fig. 8 (b), so as to find the application icon 14. The user can slide upwards after selecting the application icon 14 in the folder icon, and in response to the user sliding upwards, the mobile phone displays a "weather" card on the desktop of the mobile phone, for example, please refer to fig. 8 (c), and the "weather" card is shown as 81 in fig. 8 (c).
Further, when the card of APP1 is displayed on the desktop, the mobile phone may display a card indication identifier at a position near the application icon corresponding to the APP1 in the folder icon, where the card indication identifier is used to indicate the card on which the APP1 is displayed on the desktop, so that the user may view the card visually. Exemplarily, referring to fig. 8 (c), a card indicator is displayed below the application icon 14.
It is understood that the user can add cards to the applications corresponding to any application icons included in the large folder in the above manner, and in response to the operation of the user to add cards to the applications corresponding to each application icon, the mobile phone sets and displays the cards for the corresponding applications. Further, the mobile phone can display the card indication mark in the folder icon in the area near the application icon corresponding to each application added with the card, so that a user can quickly know which applications are added with the card. For example, as can be seen from fig. 8 (c), the application corresponding to the application icon 13, the application corresponding to the application icon 14, and the application corresponding to the application icon 15 are added with cards.
It should be noted that, a technician may set how many application icons can be displayed in the folder icon according to actual needs, or how many application icons each page in the large folder can be set, and this embodiment of the present application is only described by taking as an example that application icons in 3 rows and 3 columns at most can be displayed in the folder icon. In another embodiment, two rows and two pages of application icons may be displayed in the folder icon, that is, each page in the large folder may include 4 application icons. Alternatively, more application icons may be displayed in the folder icon, for example, three rows and four columns of application icons may be displayed, which is not specifically limited in this embodiment of the application.
In addition, it should be noted that, the application folder is described as an example of a large folder, in another example of the present application, the application folder may also be a small folder, that is, for a small folder displayed in a mobile phone, when a user wants to view which application icons are included in the small folder, the user may slide on the folder icons of the small folder, and in response to a sliding operation of the user on the folder icons, the mobile phone updates display contents in the folder icons of the small folder to turn pages. Illustratively, referring to fig. 9, a folder icon 91 of a small folder is displayed in the mobile phone, as shown in (a) of fig. 9, when the user slides right (or left) on the folder icon 91 of the small folder, in response to the sliding operation of the user, the mobile phone updates the display content in the folder icon 91, and an application icon of a previous page (or a next page) in the small folder is displayed in the updated folder icon 91, for example, the display effect is shown in (b) of fig. 9. Therefore, the user can conveniently and quickly check which application icons are included in the small folder, the condition that the user can turn pages after clicking the folder icon of the small folder to open the small file is avoided, and the efficiency of searching the application icons by the user is improved.
It should be noted that, for a small folder, the mobile phone may also support the user to slide only in one direction, and accordingly, the mobile phone may cycle to turn pages, which may be specifically implemented as the page turning for the large folder described above.
Next, a method for displaying an application icon provided in the embodiment of the present application will be described in detail. Referring to fig. 10, fig. 10 is a flowchart illustrating a method for displaying an application icon according to an exemplary embodiment, where the method is applied to the electronic device shown in fig. 4 and fig. 5, and the electronic device is described as an example implemented by interacting a folder icon module and a folder module, where the method may include some or all of the following:
a1, folder icon module displays the folder icon of the application folder.
The application folder includes a plurality of application icons, and the plurality of application icons are displayed in a plurality of pages.
In one example, displaying the folder icons of the application folders includes: and after loading the interface where the folder icon is located, the mobile phone displays the folder icon of the application folder. For example, referring to fig. 11, assuming that the current display state of the mobile phone is as shown in fig. 11 (a), when the user slides the interface to the interface where the folder icon is located, referring to fig. 11 (b), in response to the interface sliding operation of the user, the mobile phone loads the interface, and displays the folder icon in the interface.
In another example, displaying the folder icon of the application folder includes: and refreshing the display content in the display folder icon by the mobile phone. Illustratively, referring to fig. 6 (a), after the user slides left over the folder icon 61, the mobile phone updates and displays the folder icon in response to the leftward sliding operation of the user.
A2, the folder icons module queries the adjacent page application icons of the current page from the folder module.
The current page is a page where the second application icon set currently displayed in the folder icon is located. For example, referring to fig. 7 (a), in this state, the current page is the first page in the application folder. Referring again to fig. 7 (b), in this state, the current page is the third page in the application folder.
The adjacent page app icons include a third set of app icons in an adjacent page of the current page. Where the number of adjacent pages may be one or two, in one example, if the application folder includes a two-page application icon set, it will be readily understood that the adjacent pages of the current page include one, such as with reference to fig. 6, that in the state of diagram (a) in fig. 6 the adjacent page application icons include application icons in the second page, and further such as in the state of diagram (b) in fig. 6 the adjacent page application icons include application icons in the first page. If the application folder includes three pages or more than three pages of application icon sets, the adjacent pages of the current page include two pages, i.e., a previous page and a next page, for example, referring to fig. 7, in the state of diagram (a) in fig. 7, the adjacent pages include a previous page and a next page, wherein the previous page is the third page in the application folder, and the next page is the second page in the application folder, and further like the state of diagram (b) in fig. 7, the previous page in the adjacent pages is the second page in the application folder, and the next page in the adjacent pages is the first page in the application folder.
As an example of the present application, the folder icon module may determine, according to a page number of the current page in the application folder, a page number of an adjacent page of the current page in the application folder, and then send the determined page number of the adjacent page to the folder module, so that the folder module queries a third application icon set in the adjacent page corresponding to the determined page number. It is understood that in the case where the number of adjacent pages of the current page is two, the adjacent page application icon of each adjacent page is queried from the folder module.
Illustratively, referring to fig. 7 (a), a set of 3-page application icons is included in the application folder. When inquiring the application icons of the adjacent pages of the current page, the folder icon module can determine that the page number of the current page is 1, so that the page numbers of the adjacent pages of the current page are respectively 2 and 3, the folder icon module sends the page numbers 2 and 3 to the folder module, and the folder module inquires each application icon in the adjacent page corresponding to the page number 2, namely each application icon in the adjacent page corresponding to the inquiry page number 3.
A3, folder icon module loads adjacent page application icon into first buffer space.
The first cache space is a cache space for storing attribute information of the display content in the folder icon. Illustratively, the attribute information may include, but is not limited to, location information of an application icon, application name identification, and application launch page information.
The position information of the application icon is used to indicate the display position of the application icon in the folder icon, and the position information may be represented by an array, for example, if three rows and three columns can be displayed in the folder icon, the position information of the application icon at the first position in the folder icon may be represented as a [0] [0], the position information of the application icon at the first row and first column in the folder icon may be represented as a [0] [1], and so on.
The application name identifier is used to uniquely identify an application, and may be represented as APP id, for example.
The application launch page information is used to generate an application page. For any application icon in the folder icons, after the application icon is clicked by a user, the electronic equipment generates and opens an application page corresponding to the application according to application starting page information corresponding to the application icon. In one example, if the application is in the closed state, the application start page information of the application includes page information of an application initial page, for example, the application initial page may be an account login page. In another example, if the application is in a background running state, the application start page information of the application includes page information of a page displayed before the application enters the background, for example, the application start page information includes page information of a chat page.
That is, if the folder icon module displays a folder icon of an application folder, an adjacent page application icon of a current page may be loaded in advance from the folder module into the first cache space. Therefore, when page turning display is needed subsequently, data can be directly acquired from the first cache space, the display efficiency can be improved, and the real-time performance of refreshing and displaying the folder icons is also improved.
It should be noted that, the above steps a2 and A3 are an alternative implementation manner of the embodiment of the present application.
A4, the folder icon module intercepts the touch event of the folder icon.
In one example, a user may want to page an application folder, and at this time, a sliding operation may be performed on the folder icon, and accordingly, the folder icon module may detect a touch event to the folder icon.
In another example, the user may not want to turn a page after touching the folder icon, at which time the user cancels the sliding operation after touching the folder icon, or the user may only want to click on an application icon displayed in the folder icon, at which time the user touches an application icon in the folder icon. Accordingly, the folder icon module may also detect a touch event of the folder icon.
And A5, if the page turning operation is determined according to the touch event, the folder icon module acquires a first application icon set included in the target page from the first cache space.
The first set of application icons includes at least one application icon.
The target page may be a page that is previous or next to the page in which the second set of application icons is currently displayed in the folder icon (i.e., the current page). The target page corresponds to the page turning operation, that is, if the page turning operation is to turn to the next page, the target page is the next page of the current page, and if the page turning operation is to turn to the previous page, the target page is the previous page of the current page.
If the page turning operation is determined according to the touch event, which indicates that the user wants to turn a page, at this time, because the folder icon module loads the adjacent page application icons of the current page into the first cache space in advance, the folder icon module can directly acquire the first application icon set included in the target page from the first cache space.
For example, referring to fig. 12 (a), assuming that the page-turning operation is a leftward sliding operation, it may be determined that the target page is a next page of the current page, that is, a third page in the application folder, and the folder icon module obtains, from the first cache space, a first application icon set included in the third page.
Of course, if it is determined that the page turning operation is not performed according to the touch event, the electronic device performs an operation corresponding to the touch event, for example, if it is determined that the user clicks an application icon in the folder icon according to the touch event, the electronic device pulls up an application corresponding to the application icon.
And A6, turning pages by the folder icon module.
In implementation, the folder icon module updates the display content in the folder icon, so that the application icon in the first application icon set is displayed in the updated folder icon, thereby completing the page turning operation. Illustratively, referring to fig. 12, the display effect of the updated folder icon is shown in (b) of fig. 12.
In order to respond to the next page turning operation of the user in time, the method may further include the following step a 7.
A7, the folder icon module refreshes the data in the first cache space.
As an example of the present application, a specific implementation of refreshing data in the first cache space may include: and deleting the third application icon set included in the adjacent page of the page where the second application icon set is located from the first cache space, and loading the fourth application icon set included in the adjacent page of the target page into the first cache space.
After the folder icon is refreshed, a first application icon set is displayed in the folder icon, that is, the page number of the current page in the folder icon changes, so that in order to facilitate real-time updating of the display content of the folder icon when a page turning operation is detected next time, the application icons of adjacent pages of the target page need to be pre-loaded into the first cache space, and the specific loading process can be referred to in the foregoing, which is not described in detail herein. Therefore, the next page turning operation of the user can be responded in time in the follow-up process.
It should be noted that, there is no strict sequential execution order between step a7 and step a6, and as an example and not by way of limitation, step a7 and step a6 may be performed in parallel, that is, after detecting the page-turning operation, the folder icon module performs the page-turning operation on one hand and updates the data in the first cache space on the other hand.
As an example of the present application, a user may add another application icon in an application folder, or a user may delete an application icon in the application folder, and accordingly, in response to an application icon update operation of the user on the application folder, if an application icon acted by the application icon update operation is located in a page adjacent to a page where the second application icon set is located, a fifth application icon set included in the page adjacent to the page where the second application icon set is located is determined, and the third application icon set in the first cache space is updated to the fifth application icon set.
The application icon updating operation comprises adding an application icon in the application folder or deleting the application icon in the application folder. That is, if the application icons added or deleted in the application folder are located in the adjacent page of the current page, the third set of application icons of the adjacent page of the current page also needs to be updated synchronously in the first cache space, so that the updated third set of application icons (that is, the fifth set of application icons) can be correctly displayed in the folder icons after the user turns the page.
As an example of the present application, the application folder is a first-class application folder, and the first-class application folder refers to that, in a case where a folder icon is not opened, when an application icon displayed in the folder icon is triggered, the electronic device starts a corresponding application. That is, the application folder may be a large folder as described above. Therefore, the method provided by the application is applied to the first-class application folder, so that the user can open the application quickly, the operation convenience is improved, and the application management efficiency is improved.
On the basis that the application folder is the first-type application folder, in response to the designated sliding operation of any application icon displayed in the folder icon, acquiring application data of an application corresponding to any application icon, wherein the designated sliding operation is different from the page turning operation. And generating a card based on the application data, and displaying the card in an interface of the electronic equipment.
That is, when the application folder is a large folder, on the basis of the method provided in the embodiment of the present application, it is further supported to create a card for an application corresponding to any application icon in the folder icons, for example, please refer to fig. 8, when it is needed to create a card for an application corresponding to the application icon 14, the application icon 14 may be selected and then slid upwards, and in response to the specified sliding operation, the electronic device acquires the application data, and generates and displays a card as shown in 81 in (c) diagram in fig. 8. Typically, more detailed and rich application data can be displayed in the card, so that a user can quickly view detailed contents in the application.
It should be noted that the designated sliding operation is different from the page turning operation, so as to avoid the electronic device misjudging the actual purpose of the user's trigger event on the folder icon. In one example, the designated swipe operation may include a swipe up or a swipe down, and the page-flip operation may include a swipe left or a swipe right. In another example, the designated swipe operation may include a leftward swipe or a rightward swipe, and the page-turning operation may include an upward swipe or a downward swipe. In yet another example, the designated sliding operation may include a diagonal slide to the folder icon, the page turning operation may include a left slide or a right slide, or the page turning operation may include an up slide or a down slide.
As another example of the present application, the application folder belongs to a second type of application folder, which means that the electronic device opens the application folder when an application icon displayed in the folder icon is triggered without the folder icon being opened. That is, the application folder may also be a small folder as described above. Therefore, the method provided by the application is applied to the second type of application folder, so that the user can quickly search the application icon.
In an embodiment of the present application, a folder icon of an application folder is displayed, where the folder icon includes a plurality of application icons, and the plurality of application icons are displayed in multiple pages. And responding to a page turning operation on the folder icon, acquiring a first application icon set of a target page corresponding to the page turning operation, and updating display contents in the folder icon to enable the updated folder icon to display the application icon in the first application icon set. Therefore, only the user needs to directly perform page turning operation on the folder icon, page turning can be performed without opening the application folder, the efficiency of searching the application icon can be improved, and the management efficiency of the application can be improved.
In addition, after the folder icons of the application folders are displayed, the application icons of the adjacent pages of the page where the second application icon set currently displayed in the folder icons is located are preloaded into the first cache space, so that when a page turning operation is detected, the electronic equipment can quickly respond to the page turning operation. In addition, only the application icons of the adjacent pages are loaded into the first cache space, and compared with the case that all the application icons are loaded into the first cache space, the first cache space can be saved, and the requirement on the cache performance of the electronic equipment is lowered.
The above embodiment is described by taking an example of loading the page application icons adjacent to the current page into the first cache space after displaying the folder icons. In another embodiment, the set of application icons of all pages in the application folder may also be loaded into the first cache space in advance, specifically, please refer to fig. 13, where fig. 13 is a flowchart illustrating a display method of application icons according to another exemplary embodiment, by way of example and not limitation, the method may be applied to the electronic device shown in fig. 4 and 5, and the method may include the following steps:
and B1, displaying a folder icon of the application folder.
The specific implementation of this method can be seen in step a1 in the embodiment shown in fig. 10, and details are not repeated here.
B2, determining the adjacent page index information from the first buffer space.
The first cache space is used for storing attribute information of display content in the folder icon, the first cache space stores an application icon set included in each page of the plurality of pages, each page corresponds to index information, and the index information of the adjacent page includes index information of the adjacent page of the page (namely, the current page) where the second application icon set is located.
In one example, the index information of each page may be a page number of each page, and illustratively, the index information of the first page is 1, the index information of the second page is 2, and the index information of the third page is 3.
In one example, in the case that the application folder includes two pages of application icons, the adjacent page index information includes index information of another page other than the current page, such as referring to fig. 6 (a), and the adjacent page index information of the current page includes index information of a second page in the application folder.
In another example, in the case where the application folder includes three or more pages of application icon sets, the adjacent page index information includes index information of a previous page and index information of a next page of the current page, such as with reference to fig. 12 (a), and the adjacent page index information of the current page includes index information of a first page and index information of a second page in the application folder.
As an example of the application, an application icon set included in each page of all pages in an application folder may be pre-loaded into a first cache space, and each page corresponds to one piece of index information, so that when a folder icon of the application folder is displayed, index information of a page adjacent to a current page in the application folder is determined, that is, adjacent page index information is determined, so that when a page turning operation of a user is detected subsequently, each application icon included in a target page to be displayed may be determined quickly according to the adjacent page index information. It is worth mentioning that when more pages are included in the application folder, according to this implementation, the query speed for the target page can be increased.
It should be noted that step B2 is an alternative implementation manner in the embodiment of the present application.
B3, in response to the page turn operation on the folder icon, determining target index information corresponding to the page turn operation from the adjacent page index information.
In one example, referring to fig. 12 (a), in this state, when the user slides leftward on the folder icon, in response to the page-turning operation of the user, the electronic device determines target index information corresponding to the page-turning operation as index information of a third page from adjacent page index information.
And B4, acquiring an application icon set included in a target page corresponding to the target index information from the first cache space to obtain a first application icon set.
Since the first cache space stores the application icon set included in each page of all pages in the application folder, after the electronic device determines the target index information, the electronic device can determine which page is the target page corresponding to the target index information, and thus each application icon included in the target page is acquired from the first cache space.
It should be noted that, the foregoing steps B3 through B4 are an alternative implementation manner of acquiring the first application icon set included in the target page corresponding to the page turning operation in response to the page turning operation on the folder icon.
And B5, updating the display content in the folder icon.
Displayed in the updated folder icon is a first set of application icons included in the target page. For example, referring to fig. 12 (b), after the electronic device updates the display content in the folder icon, the folder icon displays each application icon included in the third page of the application folder.
By this point, the electronic device has completed flipping the pages of the application folder. Further, since the display content in the folder icon changes, that is, the page number of the current page in the folder icon changes, in order to enable the electronic device to quickly respond to the page turning operation of the user when the page is turned next time, after the display content in the folder icon is updated, the electronic device may further continue to update the adjacent page index information, specifically, refer to step B6 below.
And B6, updating the index information of the adjacent pages, wherein the updated index information of the adjacent pages comprises the index information of the adjacent pages of the target page.
Illustratively, with continuing reference to fig. 12 (b), since the updated application icon shows the application icon set of the third page in the application folder, it is easy to understand that the index information of the adjacent page at this time should include the index information of the second page and the index information of the first page, where the index information of the second page is the index information of the previous page of the target page, and the index information of the first page is the index information of the next page of the target page. Therefore, when the user performs the page turning operation next time, the electronic device can determine whether to turn the page to the upper page or to the lower page according to the page turning operation, so that the index information of the next target page can be determined from the updated index information of the adjacent pages.
In an embodiment of the present application, a folder icon of an application folder is displayed, where the folder icon includes a plurality of application icons, and the plurality of application icons are displayed in multiple pages. And responding to a page turning operation on the folder icon, acquiring a first application icon set of a target page corresponding to the page turning operation, and updating display contents in the folder icon to enable the updated folder icon to display the application icon in the first application icon set. Therefore, the user only needs to directly perform page turning operation on the folder icon, page turning can be performed without opening the application folder, the efficiency of searching the application icon can be improved, and the management efficiency of the application can be improved.
In addition, after the application folder is displayed, the adjacent page index information is determined from the first cache space, so that when a page turning operation is detected, the target index information can be directly determined from the adjacent page index information, and the application icon set included in the target page corresponding to the target index information is determined from the first cache space according to the target index information. Therefore, the response speed to the page turning operation can be improved, and especially when the application folders comprise more application icons, the speed of inquiring the target index information can be improved.
It should be further noted that, in the above embodiments, the application icons of adjacent pages or all the application icon sets in the application folder are loaded into the first cache space as an example. In another embodiment, after detecting a page-turning operation on a folder icon through the folder icon module, the electronic device may further directly obtain the first application icon set of the target page from the folder module, that is, the application icons of adjacent pages or all the application icon sets in the application folder may not be loaded into the first cache space in advance, and for understanding, the following description is provided with an embodiment shown in fig. 14, specifically:
c1: folder icons of the application folders are displayed.
The application folder includes a plurality of application icons, and the plurality of application icons are displayed in a plurality of pages.
The specific implementation of which can be seen in step a1 in the embodiment shown in fig. 10.
C2: and responding to a page turning operation on the folder icon, and acquiring a first application icon set included in a target page corresponding to the page turning operation from the folder module.
In one example, the page flip operation may be a left swipe operation or a right swipe operation. In another example, the page flip operation may also be a slide up operation or a slide down operation.
For example, referring to fig. 12 (a), if the page-turning operation is a leftward sliding operation, it may be determined that the target page corresponding to the page-turning operation is a next page of the current page, and therefore, the first application icon set included in the next page of the current page is obtained from the folder module.
C3: and updating the display content in the folder icon, and displaying the application icon in the first application icon set in the updated folder icon.
That is, the second set of application icons is no longer displayed in the folder icon, but rather the first set of application icons is displayed.
As an example of the present application, the application folder is a first-type application folder, and the first-type application folder refers to that, in a case where a folder icon is not opened, when an application icon displayed in the folder icon is triggered, the electronic device starts a corresponding application. That is, the application folder may be a large folder.
As an example of the application, when the application folder is a first-type application folder, in response to a designated sliding operation on any one of application icons displayed in the folder icon, application data of an application corresponding to the any one of application icons is acquired, and the designated sliding operation is different from a page turning operation. And generating a card based on the application data, and displaying the card in an interface of the electronic equipment.
As an example of the present application, the application folder belongs to a second type of application folder, and the second type of application folder refers to an application folder that is opened by the electronic device when an application icon displayed in a folder icon is triggered without opening the folder icon. That is, the application folder may also be a small folder.
In an embodiment of the present application, a folder icon of an application folder is displayed, where the folder icon includes a plurality of application icons, and the plurality of application icons are displayed in multiple pages. And responding to a page turning operation on the folder icon, acquiring a first application icon set of a target page corresponding to the page turning operation, and updating display contents in the folder icon to enable the updated folder icon to display the application icon in the first application icon set. Therefore, only the user needs to directly perform page turning operation on the folder icon, page turning can be performed without opening the application folder, the efficiency of searching the application icon can be improved, and the management efficiency of the application can be improved.
For convenience of understanding, the implementation flow of the method provided by the embodiment of the present application is briefly described below through a flowchart shown in fig. 15, and the method is applied to the electronic device shown in fig. 4 or fig. 5, specifically:
d1: folder icons of the application folders are displayed.
The application folder includes a plurality of application icons, and the plurality of application icons are displayed in a plurality of pages.
The specific implementation of which can be seen in step a1 in the embodiment shown in fig. 10.
D2: and monitoring a touch event on the folder icon.
In one example, if a touch event on the folder icon is heard, step D3 is entered as follows. Otherwise, if the touch event on the folder icon is not monitored, the monitoring can be continued.
D3: and judging whether to turn pages according to the touch event.
In one example, the touch event is a swipe operation, such as a left swipe or a right swipe, which may be determined to be a page turn. When it is determined that the page turning is required according to the touch event, the following step D4 is entered.
In another example, the touch event is not a page turn operation. The touch event is triggered by clicking on the application icon, for example, in the case that the application folder is a large folder, the user may want to open an application, at which point the user clicks on the application icon in the folder icon, and accordingly, the electronic device detects the touch event on the folder icon, but the touch event is not a page turn and is only used for starting the application, in which case step D9 is entered.
D4: and judging whether the page is turned forward or not.
For example, taking a left-right sliding for page turning as an example, it is understood that if the sliding operation is a right sliding, it is determined that the page is turned forward, and conversely, if the sliding operation is a left sliding, it is determined that the page is turned backward, that is, it is not turned forward.
If the determination is that the page is turned forward, the following step D5 is entered, and if the page is not turned forward, the following step D7 is entered.
D5: and acquiring each application icon included in the previous page.
D6: each application icon included in the previous page is displayed in the folder icon.
For example, referring to fig. 12, if a set of three pages of application icons is included in an application folder, if the content currently displayed in the folder icon is as shown in (a) of fig. 12, the electronic device displays each application icon included in the first page in the folder icon.
D7: and acquiring each application icon included in the next page.
D8: each application icon included in the next page is displayed in the folder icon.
Illustratively, referring to fig. 12, if a set of three pages of application icons is included in an application folder, if the content currently displayed in the folder icon is as shown in (a) of fig. 12, the electronic device displays each application icon included in the third page in the folder icon.
D9: and executing the operation corresponding to the touch event.
For example, if the touch event is for starting an application, the electronic device pulls up the corresponding application, that is, opens the corresponding application.
Fig. 16 is a schematic structural diagram of a display apparatus for application icons according to an embodiment of the present application, where the display apparatus may be implemented by software, hardware, or a combination of the two as part or all of a computer device, and the computer device may be the electronic device shown in fig. 4. Referring to fig. 16, the apparatus includes: a folder icon module 1610 and a folder module 1620.
A folder icon module 1610 configured to display folder icons of an application folder, where the application folder includes a plurality of application icons, and the plurality of application icons are displayed in multiple pages;
the folder icon module 1610 is configured to, in response to a page turning operation on the folder icon, obtain a first application icon set included in a target page corresponding to the page turning operation, where the target page is a previous page or a next page of a page where a second application icon set currently displayed in the folder icon is located;
the folder icon module 1610 is configured to update display contents in the folder icon, and display an application icon in the first application icon set in the updated folder icon.
As an example of the present application, the folder icons module 1610 is configured to:
loading a third application icon set included in a page adjacent to the page where the second application icon set is located from the folder module 1620 into a first cache space, where the first cache space is used for storing attribute information of display content in the folder icon;
and responding to the page turning operation on the folder icon, and acquiring the first application icon set from the first cache space.
As an example of the present application, the folder icons module 1610 is further configured to:
deleting the third application icon set included in the adjacent page of the page where the second application icon set is located from the first cache space;
a fourth set of application icons included in a page adjacent to the target page is loaded from the folder module 1620 into the first cache space.
As an example of the present application, the folder icons module 1610 is further configured to:
receiving an application icon updating operation on the application folder, wherein the application icon updating operation comprises adding an application icon in the application folder or deleting the application icon in the application folder;
if the application icon acted by the application icon updating operation is located in the page adjacent to the page where the second application icon set is located, determining a fifth application icon set included in the page adjacent to the page where the second application icon set is located;
updating the third set of application icons in the first cache space to the fifth set of application icons.
As an example of the present application, the folder icons module 1610 is further configured to:
determining adjacent page index information from a first cache space, wherein the first cache space is used for storing attribute information of display content in the folder icon, the first cache space stores an application icon set included in each page of the plurality of pages, each page corresponds to the index information, and the adjacent page index information comprises index information of an adjacent page of a page where the second application icon set is located;
in response to a page turning operation on the folder icon, determining target index information corresponding to the page turning operation from the adjacent page index information;
and acquiring an application icon set included in a target page corresponding to the target index information from the first cache space to obtain the first application icon set.
As an example of the present application, the folder icons module 1610 is further configured to:
and updating the index information of the adjacent pages, wherein the updated index information of the adjacent pages comprises the index information of the adjacent pages of the target page.
As an example of the application, the application folder is a first type application folder, and the first type application folder refers to that, when an application icon displayed in the folder icon is triggered, the electronic device starts a corresponding application when the folder icon is not opened.
As an example of the present application, the folder icons module 1610 is further configured to:
responding to a designated sliding operation of any application icon displayed in the folder icon, and acquiring application data of an application corresponding to the any application icon, wherein the designated sliding operation is different from the page turning operation;
generating a card based on the application data;
displaying the card in an interface of the electronic device.
As an example of the present application, the application folder belongs to a second type of application folder, and the second type of application folder refers to an application folder that is opened by the electronic device when an application icon displayed in the folder icon is triggered without opening the folder icon.
In an embodiment of the present application, a folder icon of an application folder is displayed, where the folder icon includes a plurality of application icons, and the plurality of application icons are displayed in multiple pages. And responding to a page turning operation on the folder icon, acquiring a first application icon set of a target page corresponding to the page turning operation, and updating display contents in the folder icon to enable the updated folder icon to display the application icon in the first application icon set. Therefore, only the user needs to directly perform page turning operation on the folder icon, page turning can be performed without opening the application folder, the efficiency of searching the application icon can be improved, and the management efficiency of the application can be improved.
It should be noted that: in the display device of the application icon provided in the above embodiment, when displaying the application icon, only the division of the above functional modules is taken as an example, and in practical application, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions.
Each functional unit and module in the above embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present application.
The embodiment of the display apparatus for application icons and the embodiment of the display method for application icons provided in the above embodiments belong to the same concept, and for specific working processes and brought technical effects of units and modules in the above embodiments, reference may be made to the part of the embodiment of the method, and details are not described here.
In the above embodiments, the implementation may be wholly or partly realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is not intended to limit the present application to the particular embodiments disclosed, but rather, the present application is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present application.

Claims (11)

1. The method for displaying the application icon is applied to electronic equipment, and comprises the following steps:
displaying a folder icon of an application folder, wherein the application folder comprises a plurality of application icons, and the application icons are displayed in a plurality of pages;
responding to a page turning operation on the folder icon, and acquiring a first application icon set included in a target page corresponding to the page turning operation, wherein the target page is a previous page or a next page of a page where a second application icon set currently displayed in the folder icon is located;
and updating the display content in the folder icon, and displaying the application icon in the first application icon set in the updated folder icon.
2. The method of claim 1, wherein before the obtaining, in response to the page-turning operation on the folder icon, the first application icon set included in the target page corresponding to the page-turning operation, further comprises:
loading a third application icon set included in a page adjacent to the page where the second application icon set is located into a first cache space, wherein the first cache space is used for storing attribute information of display content in the folder icon;
the obtaining of the first application icon set included in the target page corresponding to the page turning operation in response to the page turning operation on the folder icon includes:
and responding to the page turning operation on the folder icon, and acquiring the first application icon set from the first cache space.
3. The method of claim 2, wherein the method further comprises:
deleting the third application icon set included in the adjacent page of the page where the second application icon set is located from the first cache space;
and loading a fourth application icon set included in the adjacent page of the target page into the first cache space.
4. The method of claim 2, wherein the method further comprises:
receiving an application icon updating operation on the application folder, wherein the application icon updating operation comprises adding an application icon in the application folder or deleting the application icon in the application folder;
if the application icon acted by the application icon updating operation is located in the page adjacent to the page where the second application icon set is located, determining a fifth application icon set included in the page adjacent to the page where the second application icon set is located;
updating the third set of application icons in the first cache space to the fifth set of application icons.
5. The method of claim 1, wherein before the obtaining, in response to the page-turning operation on the folder icon, the first application icon set included in the target page corresponding to the page-turning operation, further comprises:
determining adjacent page index information from a first cache space, wherein the first cache space is used for storing attribute information of display contents in the folder icons, the first cache space stores an application icon set included in each of the plurality of pages, each page corresponds to the index information, and the adjacent page index information comprises index information of an adjacent page of a page where the second application icon set is located;
the obtaining of the first application icon set included in the target page corresponding to the page turning operation in response to the page turning operation on the folder icon includes:
in response to a page turning operation on the folder icon, determining target index information corresponding to the page turning operation from the adjacent page index information;
and acquiring an application icon set included in a target page corresponding to the target index information from the first cache space to obtain the first application icon set.
6. The method of claim 5, wherein after updating the display in the folder icon, further comprising:
and updating the index information of the adjacent pages, wherein the updated index information of the adjacent pages comprises the index information of the adjacent pages of the target page.
7. The method of any one of claims 1-6, wherein the application folder is a first type of application folder, and the first type of application folder refers to, in a case where the folder icon is not opened, when an application icon displayed in the folder icon is triggered, the electronic device launching the corresponding application.
8. The method of claim 7, wherein the method further comprises:
responding to a designated sliding operation of any application icon displayed in the folder icon, and acquiring application data of an application corresponding to the any application icon, wherein the designated sliding operation is different from the page turning operation;
generating a card based on the application data;
displaying the card in an interface of the electronic device.
9. The method of any of claims 1-6, wherein the application folder belongs to a second class of application folders, the second class of application folders being applications folders that the electronic device opens when an application icon displayed in the folder icon is triggered without the folder icon being opened.
10. An electronic device, wherein the structure of the electronic device comprises a processor and a memory;
the memory is used for storing a program enabling the electronic device to perform the method as provided by any one of claims 1-9 and for storing data involved in implementing the method as claimed by any one of claims 1-9;
the processor is configured to execute programs stored in the memory.
11. A computer-readable storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-9.
CN202210562933.4A 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium Active CN114816167B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202211347969.7A CN115877995A (en) 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium
CN202210562933.4A CN114816167B (en) 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium
PCT/CN2023/072035 WO2023226455A1 (en) 2022-05-23 2023-01-13 Application icon display method, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210562933.4A CN114816167B (en) 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202211347969.7A Division CN115877995A (en) 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114816167A true CN114816167A (en) 2022-07-29
CN114816167B CN114816167B (en) 2022-11-08

Family

ID=82517602

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202211347969.7A Pending CN115877995A (en) 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium
CN202210562933.4A Active CN114816167B (en) 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202211347969.7A Pending CN115877995A (en) 2022-05-23 2022-05-23 Application icon display method, electronic device and readable storage medium

Country Status (2)

Country Link
CN (2) CN115877995A (en)
WO (1) WO2023226455A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661645A (en) * 2022-11-30 2023-08-29 荣耀终端有限公司 Method for displaying application card, electronic device and readable storage medium
CN117130516A (en) * 2023-03-31 2023-11-28 荣耀终端有限公司 Display method and electronic equipment
CN117130698A (en) * 2023-03-29 2023-11-28 荣耀终端有限公司 Menu display method and electronic equipment
WO2023226455A1 (en) * 2022-05-23 2023-11-30 荣耀终端有限公司 Application icon display method, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229395A (en) * 2017-06-14 2017-10-03 深圳传音通讯有限公司 The method for sorting and terminal of application icon
CN110618969A (en) * 2019-08-29 2019-12-27 维沃移动通信有限公司 Icon display method and electronic equipment
CN111339032A (en) * 2013-06-09 2020-06-26 苹果公司 Apparatus, method and graphical user interface for managing a folder having multiple pages
CN111625160A (en) * 2017-06-26 2020-09-04 李丽萍 Application icon adjusting method and device
CN113946250A (en) * 2021-10-19 2022-01-18 维沃移动通信有限公司 Folder display method and device and electronic equipment
CN113986076A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Icon display control method and device, electronic equipment and storage medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4481339B2 (en) * 2008-05-16 2010-06-16 シャープ株式会社 Information processing apparatus, information processing method, information processing program, and computer-readable recording medium recording the same
US8497884B2 (en) * 2009-07-20 2013-07-30 Motorola Mobility Llc Electronic device and method for manipulating graphic user interface elements
US8881060B2 (en) * 2010-04-07 2014-11-04 Apple Inc. Device, method, and graphical user interface for managing folders
CN102110148B (en) * 2011-02-17 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Folder content showing method and terminal
CN104094210B (en) * 2013-12-20 2018-09-21 华为技术有限公司 File opening method and terminal in a kind of file
DE202014004477U1 (en) * 2014-05-30 2014-09-15 Apple Inc. Device and graphical user interface for managing multi-page folders
CN105094736B (en) * 2015-08-03 2018-10-12 联想(北京)有限公司 Display control method, display control unit and electronic equipment
CN107547733A (en) * 2017-07-26 2018-01-05 深圳市金立通信设备有限公司 A kind of icon generation method and terminal
CN108762611B (en) * 2018-05-18 2020-11-03 珠海格力电器股份有限公司 Application icon management method and device and readable storage medium
CN110231897A (en) * 2019-04-26 2019-09-13 维沃移动通信有限公司 A kind of object processing method and terminal device
CN110456953A (en) * 2019-06-27 2019-11-15 维沃移动通信有限公司 File interface switching method and terminal device
CN111459360A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 Folder interface switching method and device
CN112099695B (en) * 2020-09-24 2022-10-21 维沃移动通信有限公司 Icon position adjusting method and device and electronic equipment
CN113589987A (en) * 2021-08-02 2021-11-02 深圳市宝能通讯技术有限公司 Folder display method and device and computer equipment
CN115705124A (en) * 2021-08-04 2023-02-17 Oppo广东移动通信有限公司 Application folder control method and device, terminal equipment and storage medium
CN115877995A (en) * 2022-05-23 2023-03-31 荣耀终端有限公司 Application icon display method, electronic device and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339032A (en) * 2013-06-09 2020-06-26 苹果公司 Apparatus, method and graphical user interface for managing a folder having multiple pages
CN107229395A (en) * 2017-06-14 2017-10-03 深圳传音通讯有限公司 The method for sorting and terminal of application icon
CN111625160A (en) * 2017-06-26 2020-09-04 李丽萍 Application icon adjusting method and device
CN110618969A (en) * 2019-08-29 2019-12-27 维沃移动通信有限公司 Icon display method and electronic equipment
CN113946250A (en) * 2021-10-19 2022-01-18 维沃移动通信有限公司 Folder display method and device and electronic equipment
CN113986076A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Icon display control method and device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佚名: "鸿蒙系统大文件夹怎么玩?鸿蒙大文件翻页调整大小等操作的技巧", 《HTTPS://WWW.JB51.NET/OS/HARMONYOS/788793.HTML》 *
平封: "图片浏览软件――IrfanView六招技巧", 《计算机与网络》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226455A1 (en) * 2022-05-23 2023-11-30 荣耀终端有限公司 Application icon display method, electronic device and readable storage medium
CN116661645A (en) * 2022-11-30 2023-08-29 荣耀终端有限公司 Method for displaying application card, electronic device and readable storage medium
CN116661645B (en) * 2022-11-30 2024-04-05 荣耀终端有限公司 Method for displaying application card, electronic device and readable storage medium
CN117130698A (en) * 2023-03-29 2023-11-28 荣耀终端有限公司 Menu display method and electronic equipment
CN117130516A (en) * 2023-03-31 2023-11-28 荣耀终端有限公司 Display method and electronic equipment

Also Published As

Publication number Publication date
CN115877995A (en) 2023-03-31
CN114816167B (en) 2022-11-08
WO2023226455A1 (en) 2023-11-30

Similar Documents

Publication Publication Date Title
CN110597512B (en) Method for displaying user interface and electronic equipment
WO2022100315A1 (en) Method for generating application interface, and related apparatus
CN114816167B (en) Application icon display method, electronic device and readable storage medium
CN110119296B (en) Method for switching parent page and child page and related device
CN111263002B (en) Display method and electronic equipment
WO2022068483A1 (en) Application startup method and apparatus, and electronic device
CN112114912A (en) User interface layout method and electronic equipment
JP7201827B2 (en) Image classification method and electronic device
WO2022100221A1 (en) Retrieval processing method and apparatus, and storage medium
CN113132526B (en) Page drawing method and related device
CN110830645B (en) Operation method, electronic equipment and computer storage medium
WO2021110133A1 (en) Control operation method and electronic device
WO2020155875A1 (en) Display method for electronic device, graphic user interface and electronic device
WO2023035888A1 (en) Display method, electronic device, and storage medium
EP4310648A1 (en) Service card processing method, and electronic device
WO2022002213A1 (en) Translation result display method and apparatus, and electronic device
WO2023160455A1 (en) Object deletion method and electronic device
WO2024088253A1 (en) Display method for foldable screen and electronic device
WO2022143083A1 (en) Application search method and device, and medium
WO2023246666A1 (en) Search method and electronic device
EP4322144A1 (en) Display screen brightness adjustment method, electronic device and storage medium
CN116661645B (en) Method for displaying application card, electronic device and readable storage medium
WO2022089276A1 (en) Collection processing method and related apparatus
WO2023030198A1 (en) Annotation method and electronic device
WO2024001871A1 (en) Control and operation method and electronic device

Legal Events

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