Application icon processing methods, devices, electronic devices and storage media
By sorting and dynamically adjusting the positions of application icons based on their magnification on small-screen devices such as smartwatches, the problem of inflexible desktop icon layout is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202211406587.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-11-10
AI Technical Summary
In existing technologies, the arrangement and management of app icons on the desktop of small-screen electronic devices such as smartwatches are not flexible enough, resulting in a poor user experience.
By obtaining the magnification factor of the application icons, and arranging the application icons in descending order of magnification factor from the center of the display interface to both sides, the position and size of the icons are dynamically adjusted by combining swiping and editing operations.
It improves the efficiency and user experience of app icons on small-screen electronic devices, making the display more user-friendly and enhancing user satisfaction.
Smart Images

Figure CN115617442B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information processing technology, and more specifically, to an application icon processing method, apparatus, electronic device, and storage medium. Background Technology
[0002] The user interface (UI) serves as the bridge between humans and electronic devices, typically encompassing the overall design of human-computer interaction, operational logic, and aesthetic appeal. The user interface's user-friendliness and functional design directly impact the user experience of an electronic product.
[0003] Electronic devices can typically install multiple applications (APPs), and the icons of these APPs are usually arranged in an interface, which can be called the desktop.
[0004] With the development of technology, mobile electronic devices, such as smartwatches, are becoming increasingly popular. Smartwatches are characterized by their small size, small screen, lightweight functionality, and high portability. Due to the small display area of smartwatch screens, the arrangement and management of app icons on the home screen becomes crucial. Therefore, how to effectively display app icons on the home screen to improve the user experience of small-screen electronic devices like smartwatches has always been a hot research topic in the industry. Summary of the Invention
[0005] The purpose of this application is to solve the problem of how to display APP icons on the desktop to improve the user experience of small-screen electronic devices such as smartwatches.
[0006] According to one aspect of the embodiments of this application, an application icon processing method is provided, the method comprising:
[0007] Get the app icon;
[0008] Determine the magnification factor for each obtained application icon;
[0009] The app icons are sorted and displayed according to the magnification factor.
[0010] In one optional implementation, the application icons are sorted and displayed according to the magnification factor, including:
[0011] The application icons are arranged in descending order of magnification, starting from the center of the display interface and moving outwards to both sides.
[0012] In one optional implementation, the corresponding application icons are displayed sequentially from the center of the display interface outwards to both sides, including at least one of the following scenarios:
[0013] Starting from the middle row of the display interface, the corresponding application icons are displayed sequentially on the upper and lower rows.
[0014] Starting from the display column in the middle of the display interface, the corresponding application icons are displayed sequentially to the left and right display columns;
[0015] Each display row or each display column is used to display at least one application icon.
[0016] In one optional implementation, the corresponding application icons are displayed sequentially from the center of the display interface outwards to both sides, including at least one of the following scenarios:
[0017] If the display interface is square, starting from the middle of the display interface, the corresponding application icons are arranged and displayed sequentially on at least one reference line in both directions.
[0018] If the display interface is circular or elliptical, starting from the center of the display interface, the corresponding application icons are arranged sequentially on at least one reference line in both directions, and the distance between the reference lines gradually decreases in both directions.
[0019] In one alternative implementation, obtaining the application icon includes:
[0020] If the total number of applications is less than or equal to the predetermined number of application icons to be displayed on the screen, retrieve each application icon;
[0021] If the total number exceeds the predetermined number, the predetermined number of application icons will be obtained based on the identifier of each application icon.
[0022] In one optional implementation, determining the magnification factor corresponding to each acquired application icon includes:
[0023] Obtain the position information of each application icon on the display screen;
[0024] Based on the location information of each application icon, the magnification factor corresponding to each application icon is determined.
[0025] In one optional implementation, the position information of each application icon in the display interface is obtained, including at least one of the following:
[0026] In response to the display operation of entering the display interface, determine the default first position information of each application icon in the display interface;
[0027] In response to a swipe operation on the display interface, determine the updated second position information of the application icon to be displayed in the display interface after the swipe.
[0028] In response to an editing operation on the application icon in the display interface, determine the updated third position information of the changed application icon in the display interface after the application icon is edited.
[0029] In one optional implementation, in response to an editing operation on an application icon in the display interface, determining the updated third position information of the changed application icon in the display interface after the application icon is edited includes:
[0030] If the editing operation is to add an application icon, the third position information of the newly added application icon in the display interface is determined according to the priority order from the middle to both sides of the display interface.
[0031] If the editing operation is to move an application icon, determine the starting point of the movement, the ending point of the movement, and the third position information of the application icon in the display interface between the two.
[0032] If the editing operation is to delete an application icon, determine the third position information of the application icon that moved forward after the deleted application icon and / or the newly displayed application icon in the updated display interface.
[0033] According to another aspect of the embodiments of this application, an application icon processing apparatus is provided, the apparatus comprising:
[0034] The acquisition module is used to retrieve the application icon;
[0035] The determination module is used to determine the magnification factor corresponding to each acquired application icon;
[0036] The display module is used to sort and display the application icons according to the magnification factor.
[0037] In one optional implementation, when the display module sorts and displays the application icons according to the magnification factor, it is specifically used for:
[0038] The application icons are arranged in descending order of magnification, starting from the center of the display interface and moving outwards to both sides.
[0039] In one optional implementation, when the display module is used to display the corresponding application icons sequentially from the middle of the display interface to both sides, it is specifically used in at least one of the following situations:
[0040] Starting from the middle row of the display interface, the corresponding application icons are displayed sequentially on the upper and lower rows.
[0041] Starting from the display column in the middle of the display interface, the corresponding application icons are displayed sequentially to the left and right display columns;
[0042] Each display row or each display column is used to display at least one application icon.
[0043] In one optional implementation, when the display module is used to display the corresponding application icons sequentially from the middle of the display interface to both sides, it is specifically used in at least one of the following situations:
[0044] If the display interface is square, starting from the middle of the display interface, the corresponding application icons are arranged and displayed sequentially on at least one reference line in both directions.
[0045] If the display interface is circular or elliptical, starting from the center of the display interface, the corresponding application icons are arranged sequentially on at least one reference line in both directions, and the distance between the reference lines gradually decreases in both directions.
[0046] In one optional implementation, when the acquisition module is used to acquire the application icon, it is specifically used for:
[0047] If the total number of applications is less than or equal to the predetermined number of application icons to be displayed on the screen, retrieve each application icon;
[0048] If the total number exceeds the predetermined number, the predetermined number of application icons will be obtained based on the identifier of each application icon.
[0049] In one optional implementation, the determining module, when determining the magnification factor corresponding to each acquired application icon, is specifically used for:
[0050] Obtain the position information of each application icon on the display screen;
[0051] Based on the location information of each application icon, the magnification factor corresponding to each application icon is determined.
[0052] In one optional implementation, the determining module, when used to obtain the position information of each application icon in the display interface, is specifically used in at least one of the following situations:
[0053] In response to the display operation of entering the display interface, determine the default first position information of each application icon in the display interface;
[0054] In response to a swipe operation on the display interface, determine the updated second position information of the application icon to be displayed in the display interface after the swipe.
[0055] In response to an editing operation on the application icon in the display interface, determine the updated third position information of the changed application icon in the display interface after the application icon is edited.
[0056] In one optional implementation, when the determining module determines the updated third position information of the application icon in the display interface after the application icon has been edited, in response to an editing operation on the application icon in the display interface, it is specifically used for:
[0057] If the editing operation is to add an application icon, the third position information of the newly added application icon in the display interface is determined according to the priority order from the middle to both sides of the display interface.
[0058] If the editing operation is to move an application icon, determine the starting point of the movement, the ending point of the movement, and the third position information of the application icon in the display interface between the two.
[0059] If the editing operation is to delete an application icon, determine the third position information of the application icon that moved forward after the deleted application icon and / or the newly displayed application icon in the updated display interface.
[0060] According to another aspect of the embodiments of this application, an electronic device is provided, the electronic device including: a memory, a processor and a computer program stored in the memory, the processor executing the computer program to implement the application icon processing method provided in the embodiments of this application.
[0061] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the application icon processing method provided in the embodiments of this application.
[0062] According to another aspect of the embodiments of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the application icon processing method provided in the embodiments of this application.
[0063] The application icon processing method, apparatus, electronic device, and storage medium provided in this application embodiment determine the magnification factor corresponding to each APP icon, and sort and display each APP icon according to the magnification factor, making the use of APP icons on electronic devices, especially small-screen smartwatches and other electronic devices, simpler and more efficient, and displaying them in a more user-friendly way, thereby improving the user experience. Attached Figure Description
[0064] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.
[0065] Figure 1 A flowchart illustrating an APP icon processing method provided in an embodiment of this application;
[0066] Figure 2This is a schematic diagram illustrating the display effect of an app icon as provided in an embodiment of this application.
[0067] Figure 3 This is a schematic diagram illustrating the display effect of a circular interface APP icon provided in an embodiment of this application;
[0068] Figure 4 A schematic diagram illustrating an APP icon display management method provided in an embodiment of this application;
[0069] Figure 5 A schematic diagram illustrating a method for managing the display of APP icons in editing mode, provided as an embodiment of this application;
[0070] Figure 6 A schematic diagram illustrating a method for managing the display of App icons when the interface is swiped, as provided in an embodiment of this application;
[0071] Figure 7 This is a schematic diagram of the structure of an application icon processing device provided in an embodiment of this application;
[0072] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0073] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.
[0074] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a,” “an,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” can be implemented as “A,” or as “B,” or as “A and B.”
[0075] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0076] A common strategy for displaying app icons is to mechanically arrange them on the desktop. For example, on a small-screen electronic device, there may be three windows on the desktop, with four app icons evenly spaced in each window. Users need to switch windows to view the app icons in different windows, which is inflexible and leads to problems such as low efficiency in operation and management, thus affecting the user experience.
[0077] The application icon processing method, apparatus, electronic device, and storage medium provided in this application are intended to solve the above-mentioned technical problems or areas that need improvement in the related technologies.
[0078] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.
[0079] This application provides an application icon processing method, such as... Figure 1 As shown, the method includes:
[0080] Step S101: Obtain the application icon.
[0081] In this embodiment of the application, the APP to which the obtained application icon belongs refers only to the APP installed on the electronic device and currently needs to be displayed.
[0082] The app icon, also known as an icon object, is used as the identifier for the app.
[0083] Step S102: Determine the magnification factor corresponding to each obtained application icon.
[0084] In this embodiment, the magnification factor of the application icon is the ratio of the size of the application icon displayed on the desktop to its default size. For example, a magnification factor of 1 indicates that the corresponding application icon is displayed at the default display size, and a magnification factor of 2 indicates that the corresponding application icon is displayed at twice the default display size, etc. In practical applications, those skilled in the art can set the value of the magnification factor according to the actual situation; this embodiment does not specifically limit this.
[0085] Step S103: Sort and display the application icons according to the magnification factor.
[0086] In this step, the display interface refers to the interface on the screen used to display application icons, which can also be understood as the desktop. In some embodiments, it may also be directly referred to as the screen.
[0087] Among them, application icons with higher magnification may have higher importance and / or priority, making the use of application icons on electronic devices more efficient, the display method more user-friendly, and improving the user experience.
[0088] In one optional implementation, step S103 may specifically include: displaying the corresponding application icons in descending order of magnification factor, starting from the middle of the display interface and moving outwards to both sides.
[0089] Specifically, the corresponding application icons can be displayed sequentially from the display row (or showcase row) in the middle of the display interface, upwards and downwards to the display rows on both sides.
[0090] Alternatively, you can start from the display column in the middle of the display interface and arrange the corresponding application icons sequentially to the display columns on the left and right sides;
[0091] Each display row or each display column is used to display at least one application icon.
[0092] In practical applications, those skilled in the art can set the number of display rows and / or display columns, the number of application icons displayed in each display row or column, the magnification factor corresponding to each display row or column, and further, the default display size of the application icons, the spacing between application icons, and the distance between display rows / columns, etc., according to the actual situation. This application does not limit the specific implementation details.
[0093] In one example, taking a display interface with 5 display columns as an example, the middle column (i.e., the middle display column of the display interface, which is the 3rd column) is the main display column, with an application icon magnification factor of 2. The 2nd and 4th columns are secondary display columns with a magnification factor of 1. The 1st and 5th columns are display columns located at the edge of the screen with a magnification factor of 0.5.
[0094] In another example, assuming the display interface contains 5 rows, with 3 apps per row (meaning the static display can hold 15 app icons), the middle row (row 3) is the main display row, with each of the 3 app icons magnified by a factor of 2. Rows 2 and 4 are secondary display rows, each with a magnification factor of 1. Rows 1 and 5 are located at the screen edge, each with a magnification factor of 0.5. The possible display effect is as follows. Figure 2 As shown.
[0095] Optionally, when the number of apps to be displayed is less than the number of app icons that can be displayed in all display rows or columns, for example, if the display interface contains 5 display rows and each display row contains 3 apps, when the number of apps to be displayed is less than 15, the app icons are also arranged from the middle to both sides, that is, they are arranged to stand out in the middle display rows or columns first, that is, the app icons are displayed according to the larger magnification factor first.
[0096] It's understandable that application icons closer to the center of the display row or column, and with a higher magnification factor, may have higher importance and / or priority.
[0097] The application icon display method provided in this application embodiment makes the use of APP icons on electronic devices simpler and more efficient, the display method more user-friendly, and improves the user experience.
[0098] The application icon display method provided in this application embodiment can make the main application icons more eye-catching. It is well applicable to electronic devices with small screens, such as smartwatches. In practical applications, it can also be applied to other types of electronic devices and achieve the same effect.
[0099] In an optional implementation, the technical solution of this application embodiment can be implemented based on the LVGL (Light and Versatile Graphics Library) framework. LVGL is a graphics library for creating graphical user interfaces and can be used in mobile electronic devices. LVGL can provide many basic control libraries, such as buttons, text boxes, picture boxes, etc., which are the basic elements for screen UI rendering.
[0100] In the embodiments of this application, an icon management control and / or algorithm and / or corresponding interface can be added on the basis of LVGL to realize the function of a page container / interface (which can also be understood as creating an application icon management object). That is, it can hold the APP icons that want to be placed on the desktop, and dynamically set the size and position of the application icons in real time, as well as automatically arrange the application icons. For example, it can use the public interface methods of LVGL like other LVGL controls, so as to achieve the effects of the above steps S101 to S103.
[0101] Specifically, this icon management control is created on the desktop (it can work on the desktop or serve as the desktop), and all acquired app icons are set within this icon management control. The icon management control can determine the magnification factor corresponding to each acquired application icon, and arrange and display the corresponding application icons in descending order of magnification factor, starting from the center of the display interface and moving outwards to both sides.
[0102] The application icon display method provided in this application embodiment combines LVGL to offer a solution, strategy and / or control for desktop APP icon management, especially for devices with small display areas such as smartwatches, which can effectively improve display effect and user experience.
[0103] In other embodiments, other frameworks or technologies may be used to implement the technical solutions of the embodiments of this application. Those skilled in the art should understand that the technical frameworks used above are only examples, and other implementation methods may also be applied to this application, and should also be included within the protection scope of this application.
[0104] The technical solution of this application embodiment further includes: in response to a click operation on any displayed application icon, displaying the application interface corresponding to the application icon. That is, in this application embodiment, regardless of the size of the displayed application icon, for each magnification level of the application icon, clicking it can jump to the corresponding APP interface and run the corresponding APP, providing high flexibility.
[0105] Accordingly, one can return to the desktop by triggering an activity, such as swiping in a certain direction or clicking a physical button. In practical applications, switching between apps and between an app and the desktop is achieved through specific application activity management mechanisms, which are not specifically limited in this embodiment.
[0106] In this embodiment, the application icon display mode can be set according to the shape of the screen. For example, a circular display interface and a square display interface can adopt two different application icon display modes to better adapt to the screen shape.
[0107] Optionally, for step S103, if the display interface is square, starting from the middle of the display interface, the corresponding application icons are sequentially arranged and displayed on at least one reference line in both directions.
[0108] As explained above, if the display interface is arranged by display rows, the two sides are vertical; if the display interface is arranged by display columns, the two sides are horizontal. That is, the direction of the reference lines is perpendicular to the display rows or columns. Furthermore, the number of reference lines corresponds to the number of app icons that can be placed in each display row or column, and the number of app icons that can be placed on each reference line corresponds to the number of display rows or columns. For example, if the two sides are vertical, and the display interface contains 5 display rows, with 3 apps in each row, there are 3 reference lines, and each reference line can hold 5 app icons. In practical applications, each reference line can be the central axis of that column of app icons, thus representing the movement trajectory of that column of app icons. Alternatively, each reference line can be a reference line for left or right alignment of that column of app icons. Optionally, the reference lines are invisible to the user.
[0109] In this embodiment of the application, when the display interface is square, the APP icon is scaled and shifted only on its respective reference line, which can make full use of the display space of the four corners of the square display interface. Optionally, the distance between each reference line is equal.
[0110] Optionally, for step S103, if the display interface is circular or elliptical, starting from the middle of the display interface, corresponding application icons are sequentially arranged and displayed on at least one reference line in both directions, and the distance between the reference lines gradually decreases in both directions.
[0111] Similarly, if the display interface is oriented by display rows, then the two sides are the up and down directions; if the display interface is oriented by display columns, then the two sides are the left and right directions. For an introduction to reference lines, please refer to the above text, which will not be repeated here.
[0112] In this embodiment, when the display interface is circular or elliptical, the distance between the reference lines gradually decreases along both sides, meaning the APP icon display appears aggregated, converging towards the central axis of the display interface, for example... Figure 3 As shown, this design better fits circular or elliptical display interfaces. In practical applications, the reduction distance and / or minimum distance between reference lines can be set according to actual conditions, and this embodiment does not impose any limitations on this.
[0113] In the embodiments of this application, the timing of displaying the desktop and application icons can be set according to timing requirements, and this application embodiment does not limit this. As an example, after receiving a display operation to enter the display interface when the electronic device is powered on, unlocked, a predetermined interface is triggered, or the device is switched from an app, the desktop and application icons can be displayed according to the technical solution of the embodiments of this application. Furthermore, the desktop and application icons can also be displayed according to the technical solution of the embodiments of this application after receiving related instructions such as swiping operations on the display interface or editing operations on application icons in the display interface.
[0114] In practical applications, those skilled in the art can set the number of display rows and / or display columns, the number of application icons displayed in each display row or each display column, and the magnification factor corresponding to each display row or each display column according to the actual situation. This application embodiment does not limit these settings.
[0115] In this embodiment of the application, after receiving the display operation to enter the display interface, an optional implementation method is provided for step S101. Specifically, if the total number of applications is less than or equal to the predetermined number of application icons displayed on the display interface, each application icon is obtained.
[0116] The predetermined number can be determined based on the number of display rows and / or display columns, and the number of app icons displayed in each display row or column. For example, in the above example, if the screen contains 5 display rows and each display row contains 3 apps, then the predetermined number is 15. If the total number of app icons to be displayed is less than or equal to 15, then all app icons to be displayed are retrieved and arranged according to the strategy described above.
[0117] If the total number exceeds the predetermined number, the predetermined number of app icons will be retrieved based on the identifiers of each app icon. Continuing with the previous example, if the total number of app icons to be displayed is greater than 15, only 15 app icons will be retrieved for display. Other app icons will be hidden in the 6th row, 7th row, etc., and will appear as the screen is swiped or the app icons are edited.
[0118] In practical applications, the order in which application icons are displayed and the order in which they are hidden (i.e., the order in which they appear) can be arranged according to user or system settings, combined with the identifiers of each application icon (including but not limited to name, ID, etc.). For example, a stack can be used for storage, but it is not limited to this, and other storage methods can also be used.
[0119] In this embodiment, the display interface can achieve bidirectional scrolling. For example, the scrolling function of the container / interface can be implemented through the aforementioned icon management control, but it is not limited to this. When the display interface is scrolled, the APP icons placed on it move accordingly.
[0120] Specifically, bidirectional swiping can include vertical swiping, for example, it can be used to display application icons according to display rows.
[0121] Alternatively, two-way swiping can also include left and right swiping, for example, it can be used to display application icons according to display columns.
[0122] In this embodiment of the application, the magnification factor of the application icon changes during the sliding process on the display interface to ensure that the application icon that has been slid to the middle of the display screen maintains the maximum magnification factor. Therefore, in step S102, the updated magnification factor of each application icon can be determined in real time, and in step S103, the application icons after sliding are arranged and displayed sequentially from the middle of the display interface to both sides according to the updated magnification factor from largest to smallest.
[0123] Optionally, the magnification factor of the application icon can change linearly during the scrolling process on the display interface.
[0124] Continuing with the previous example, the display interface contains 5 columns, with magnification factors for columns 1 through 5 being 0.5, 1, 2, 1, and 0.5 respectively. As the screen swipes left, the application icons in column 1 gradually disappear from the screen; the icons in column 2 gradually move to column 1, and their size linearly changes from magnification factor 1 to 0.5; the icons in column 3 gradually move to column 2, and their size linearly changes from magnification factor 2 to 1; the icons in column 4 gradually move to column 3, and their size linearly changes from magnification factor 1 to 2; the icons in column 5 gradually move to column 4, and their size linearly changes from magnification factor 0.5 to 1. When the actual number of application icons exceeds the original number of icons that can be displayed on the desktop, the application icons in column 6, which were not initially displayed, gradually appear in column 5 and are displayed with a magnification factor of 0.5. If the screen continues to swipe left, the above strategy is repeated; similar processes will not be elaborated further here.
[0125] The solution provided in this application embodiment adopts the above display strategy for a desktop containing multiple application icons. When the desktop is dynamically swiped, the display method of the APP icons combines friendliness and flexibility, which can significantly improve the user experience.
[0126] In this embodiment, users can edit app icons, such as adding, deleting, or moving them, to manage the app and its icons. For example, the app icon editing function can be implemented using the icon management control described above, but it is not limited to this. After an app icon is edited, the position of that app icon and / or some other app icons may change.
[0127] Specifically, for the case where the editing operation involves adding a new app icon, when a user downloads a new app, a corresponding app icon should be added to the desktop. In step S101, the newly added app icon can be obtained; in step S102, the magnification factor of the newly added app icon can be determined in real time; and in step S103, according to the updated magnification factor in descending order, the corresponding app icons, including historical and newly added app icons, are arranged sequentially from the center of the display interface outwards, thus placing the newly added app icon in a suitable position.
[0128] Those skilled in the art can set the position of newly added APP icons according to actual conditions, and this application embodiment does not limit this. As an example, the strategy for adding application icons can be to prioritize the middle position of the display interface, followed by the sides. Continuing with the previous example, if the screen contains 5 display rows, and each display row contains 3 APPs, if the screen does not have 3 application icons, the newly added application icon is prioritized to be placed in the 3rd row. If the 3rd row is full (i.e., the number of application icons is greater than 3), it is prioritized to be placed in the 2nd and 4th rows. For example, by default, it is placed in the 2nd row first, and if the 2nd row is full, it is placed in the 4th row, and so on. When the number is greater than 15, the priority is arranged in the order of the 6th row, 7th row, etc. In actual applications, the above strategy is not limited. This strategy is only an illustrative description and does not constitute a limitation on the embodiments of this application.
[0129] Specifically, for editing operations involving moving app icons, long-pressing and dragging the app icon allows you to move it. The editing function automatically exits upon completion. Exiting the editing function can also be triggered in other ways, such as long-pressing the screen again or clicking the exit button, but is not limited to these. During this process, the app icon at the starting position, the app icon at the destination position, and the app icons between the starting and destination positions may change. Therefore, in step S102, the magnification factor of the app icon whose position has changed after the app icon is moved can be determined in real time. In step S103, according to the updated magnification factor from largest to smallest, the corresponding app icons are arranged and displayed sequentially from the center of the display interface to both sides, including the app icon whose position has changed and the app icon whose position has not changed, thus arranging the moved app icon at the destination position.
[0130] Those skilled in the art can set the movement method of the application icons at the starting position and the destination position and / or between the two when the APP icon moves, according to the actual situation. This application embodiment does not impose any limitations on this. For example, only the application icons at the starting position and the destination position can be switched, while the application icons between them remain unchanged; or, if the destination position is before the starting position, the application icon at the destination position and the application icons between them can be moved one position to the right; if the destination position is after the starting position, the application icon at the destination position and the application icons between them can be moved one position to the left, etc. In practical applications, the above strategies are not limited. These strategies are merely illustrative descriptions and do not constitute a limitation on the embodiments of this application.
[0131] Specifically, for editing operations involving deleting app icons, such as long-pressing the screen to enter the app editing function, a deletion marker (like an "×") will appear at the corresponding location of the app icon (e.g., the upper right corner). Clicking the deletion marker will delete the app, its icon, and related data. Exiting the editing function can be triggered in other ways, such as long-pressing the screen again or clicking the exit button, but is not limited to these. After an app icon is deleted, some app icons may change positions to fill the vacancy. Therefore, in step S102, the magnification factor of the app icons whose positions have changed after deletion can be determined in real time. In step S103, according to the updated magnification factor from largest to smallest, the corresponding app icons are arranged sequentially from the center of the display screen outwards, including both those whose positions have changed and those whose positions have not, so that the remaining app icons after deletion are all arranged in appropriate positions. If there are application icons that are not displayed, after the application icon is deleted, there may be application icons that were not displayed (such as the application icon in row 6 in the example above). In this case, for step S101, it is also necessary to obtain the newly displayed application icon and perform subsequent steps. The same processing procedure will not be described in detail here.
[0132] Those skilled in the art can set the movement method of the remaining application icons after deletion according to the actual situation, and the embodiments of this application are not limited here. As an example, the application icons can be automatically rearranged in space in a backward progressive manner, or in a forward-to-middle manner. As an example, continuing the previous example, the screen contains 5 display rows, and each display row contains 3 apps. If the deleted application icon is in the 3rd row, the application icon in the 2nd row can be moved to the 3rd row, the application icon in the 4th row can be moved to the 2nd row, the application icon in the 1st row can be moved to the 4th row, the application icon in the 5th row can be moved to the 1st row, the application icon in the 6th row can be moved to the 5th row, and so on. In actual applications, the above strategies are not limited. These strategies are only illustrative descriptions and do not constitute a limitation on the embodiments of this application.
[0133] In relation to one or more of the above embodiments, this application provides an optional implementation for step S102, which specifically may include the following steps:
[0134] Step S1021: Obtain the position information of each application icon in the display interface;
[0135] Step S1022: Based on the location information of each application icon, determine the magnification factor corresponding to each application icon.
[0136] In this embodiment, the magnification factor of the application icon is related to its position; for example, the magnification factors at specific positions are arranged according to a preset rule. Therefore, by obtaining the position information of the application icon and combining it with the preset rule, the magnification factor of the application icon can be determined.
[0137] In this embodiment of the application, step S1021 may include at least one of the following situations:
[0138] (1) In response to the display operation of entering the display interface, determine the default first position information of each application icon in the display interface;
[0139] (2) In response to a swipe operation on the display interface, determine the second position information of the application icon to be displayed in the display interface after the swipe operation;
[0140] (3) In response to the editing operation of the application icon in the display interface, determine the third position information of the application icon that has changed after the application icon is edited in the display interface.
[0141] As can be seen from the above introduction, the order of application icons can be arranged according to user or system settings. When the display interface is triggered, the first position information obtained is the default position determined based on the set order of application icons.
[0142] When the app's position changes due to scrolling on the display interface or editing the app, the real-time position of the updated app icon can be obtained through function interfaces and / or calculation methods.
[0143] Specifically, for editing application icons, determining the updated third-position information of the changed application icon in the display interface after editing can include:
[0144] If the editing operation is to add an application icon, the third position information of the newly added application icon in the display interface is determined according to the priority order from the middle to both sides of the display interface.
[0145] If the editing operation is to move an application icon, determine the starting point of the movement (i.e., the starting position mentioned above), the ending point of the movement (i.e., the destination position mentioned above), and the third position information of the application icon updated in the display interface between the two.
[0146] If the editing operation is to delete an application icon, determine the third position information of the application icon that moved forward after the deleted application icon and / or the newly displayed application icon in the updated display interface.
[0147] For details on the implementation process, please refer to the above description of the relevant content, which will not be repeated here.
[0148] Based on one or more of the above embodiments, in the embodiments of this application, by Figure 4 A flowchart illustrating a method for managing app icon display is shown, which mainly includes the following steps:
[0149] A basic app icon management object is created on the current active screen, arranging existing app icons according to the app icon display strategy described above. When a new app is downloaded, the system calls the corresponding interface to retrieve the new app icon and adds it to the desktop according to the app icon display / management strategy described above. The system can detect whether the desktop or the app icon management object is long-pressed; if so, a callback mechanism is triggered to execute the corresponding app icon editing mode. The system can also detect whether the desktop is swiped; if so, the app icon swiping strategy described above is used to display the app icon.
[0150] Based on one or more of the above embodiments, in the embodiments of this application, by Figure 5 A flowchart illustrating a display management method in APP icon editing mode is shown, mainly including the following steps:
[0151] After entering the app icon editing mode, a delete icon is displayed in the upper right corner of each app icon, prompting the user to manually delete the app by clicking the delete icon. If an app's delete icon is clicked, the corresponding app and its app icon are deleted, the app management mechanism deletes the app's data, and the app icons are rearranged according to the app icon display / management strategy described above. If an app icon is dragged, the app icons are rearranged according to the app icon display / management strategy described above. If the system detects an exit editing command, it exits the app icon editing mode.
[0152] Based on one or more of the above embodiments, in the embodiments of this application, by Figure 6 A flowchart illustrating a method for managing the display of App icons when the interface is swiped is shown, which mainly includes the following steps:
[0153] As the screen swipes, the positions of the app icons change. The system continuously obtains the position (Y) of each row or column of app icons relative to the center line of the screen (because the app icons are aligned row by row or column by column, the Y coordinate value of each row or column of app icons is equal). Based on this relative Y coordinate, the system updates and calculates the coordinate position of each row or column of app icons and the magnification factor of each app icon in real time. For example, if the Y value of the app icons in the first row is almost equal to H (screen length) / 2, then the magnification factor of the app icons in the first row is 0.5, and the horizontal coordinates of the three app icons on the left, center, and right are x11, x12, and x13, respectively. At this time, the Y value of the app icons in the third row is 0, then the magnification factor of the app icons in the third row is 2, and the horizontal coordinates of the three app icons on the left, center, and right are x31, x32, and x33, respectively. As the app icons swipe, the Y value will change between 0 and H / 2, so the magnification factor will change linearly between 2 and 0.5, and the corresponding horizontal coordinate values will change linearly from x11, x12, x13 to x31, x32, x33. When the Y value is greater than H / 2, it can be set not to be displayed, so that no operation is performed on the various values of the APP to save resources.
[0154] The application icon processing method provided in this application addresses the critical impact of displaying APP icons on the desktop and managing them during APP addition, deletion, and movement on performance and user experience. It proposes a basic control based on LVGL to display and manage APP icons, and offers a flexible and user-friendly method for displaying them. This method solves problems such as how to better display APP icons on the desktop, how to improve the display effect of APP icons when dynamically sliding multiple application icons on the desktop, and how to make APP icon management more convenient. This makes APP icon display and management simpler and more efficient on mobile electronic devices, especially small-screen smartwatches, with a more user-friendly display method, improving product performance and user experience.
[0155] This application provides an application icon processing device, such as... Figure 7 As shown, the application icon processing 70 may include an acquisition module 701, a determination module 702, and a display module 703, wherein,
[0156] Module 701 is used to retrieve the application icon;
[0157] The determination module 702 is used to determine the magnification factor corresponding to each acquired application icon;
[0158] Display module 703 is used to sort and display the various application icons according to the magnification factor.
[0159] In one alternative implementation, when the display module 703 sorts and displays the application icons according to the magnification factor, it is specifically used for:
[0160] The application icons are arranged in descending order of magnification, starting from the center of the display interface and moving outwards to both sides.
[0161] In one optional implementation, when the display module 703 is used to display the corresponding application icons sequentially from the middle of the display interface to both sides, it is specifically used in at least one of the following situations:
[0162] Starting from the middle row of the display interface, the corresponding application icons are displayed sequentially on the upper and lower rows.
[0163] Starting from the display column in the middle of the display interface, the corresponding application icons are displayed sequentially to the left and right display columns;
[0164] Each display row or each display column is used to display at least one application icon.
[0165] In one optional implementation, when the display module 703 is used to display the corresponding application icons sequentially from the middle of the display interface to both sides, it is specifically used in at least one of the following situations:
[0166] If the display interface is square, starting from the middle of the display interface, the corresponding application icons are arranged and displayed sequentially on at least one reference line in both directions.
[0167] If the display interface is circular or elliptical, starting from the center of the display interface, the corresponding application icons are arranged sequentially on at least one reference line in both directions, and the distance between the reference lines gradually decreases in both directions.
[0168] In one optional implementation, when acquiring the application icon, the acquisition module 701 is specifically used for:
[0169] If the total number of applications is less than or equal to the predetermined number of application icons to be displayed on the screen, retrieve each application icon;
[0170] If the total number exceeds the predetermined number, the predetermined number of application icons will be obtained based on the identifier of each application icon.
[0171] In one optional implementation, when determining the magnification factor corresponding to each acquired application icon, the determining module 702 is specifically used for:
[0172] Obtain the position information of each application icon on the display screen;
[0173] Based on the location information of each application icon, the magnification factor corresponding to each application icon is determined.
[0174] In one optional implementation, when determining the position information of each application icon in the display interface, the determining module 702 is specifically used in at least one of the following situations:
[0175] In response to the display operation of entering the display interface, determine the default first position information of each application icon in the display interface;
[0176] In response to a swipe operation on the display interface, determine the updated second position information of the application icon to be displayed in the display interface after the swipe.
[0177] In response to an editing operation on the application icon in the display interface, determine the updated third position information of the changed application icon in the display interface after the application icon is edited.
[0178] In one optional implementation, when determining the third position information of the changed application icon in the display interface in response to an editing operation on the application icon in the display interface, the determining module 702 is specifically used for:
[0179] If the editing operation is to add an application icon, the third position information of the newly added application icon in the display interface is determined according to the priority order from the middle to both sides of the display interface.
[0180] If the editing operation is to move an application icon, determine the starting point of the movement, the ending point of the movement, and the third position information of the application icon in the display interface between the two.
[0181] If the editing operation is to delete an application icon, determine the third position information of the application icon that moved forward after the deleted application icon and / or the newly displayed application icon in the updated display interface.
[0182] The apparatus in this application embodiment can execute the method provided in this application embodiment, and the implementation principle is similar. The actions performed by each module in the apparatus of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the apparatus and the beneficial effects produced, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.
[0183] This application provides an electronic device, including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps of the aforementioned method embodiments.
[0184] In one alternative embodiment, an electronic device is provided, such as Figure 8 As shown, Figure 8 The illustrated electronic device 800 includes a processor 801 and a memory 803. The processor 801 and the memory 803 are connected, for example, via a bus 802. Optionally, the electronic device 800 may further include a transceiver 804, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 804 is not limited to one type, and the structure of this electronic device 800 does not constitute a limitation on the embodiments of this application.
[0185] Processor 801 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 801 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0186] Bus 802 may include a pathway for transmitting information between the aforementioned components. Bus 802 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 802 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0187] The memory 803 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium capable of carrying or storing computer programs and capable of being read by a computer, without limitation herein.
[0188] The memory 803 is used to store computer programs that execute the embodiments of this application, and the execution is controlled by the processor 801. The processor 801 is used to execute the computer programs stored in the memory 803 to implement the steps shown in the foregoing method embodiments.
[0189] The electronic devices include, but are not limited to, mobile terminals and smart terminals, such as smart wearable devices (e.g., smartwatches), mobile phones, smartphones, tablets, laptops, personal digital assistants, portable multimedia players, and navigation devices. Those skilled in the art will understand that, in addition to components specifically designed for mobile purposes, the constructions according to embodiments of this disclosure can also be applied to fixed-type terminals, such as digital televisions and desktop computers.
[0190] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement the steps and corresponding content of the aforementioned method embodiments.
[0191] This application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments.
[0192] The terms "first," "second," "third," "fourth," "1," "2," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that shown in the figures or text.
[0193] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart, based on the actual implementation scenario, may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.
[0194] The above are only optional implementation methods for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application, without departing from the technical concept of this application, also fall within the protection scope of the embodiments of this application.
Claims
1. A method for processing application icons, characterized in that, include: Get the app icon; Determine the magnification factor for each obtained application icon; Based on the magnification factor, the application icons are sorted and displayed. The determined magnification factor for each obtained application icon includes: In response to a swiping operation on the display interface, the system determines the first position information of the application icon to be displayed in the display interface after the swiping operation, and determines the updated magnification factor corresponding to the application icon to be displayed based on the first position information, wherein the updated magnification factor changes linearly with the displacement of the swiping operation. The process of sorting and displaying the various application icons includes: If the display interface is circular or elliptical, starting from the middle of the display interface, corresponding application icons are sequentially arranged and displayed on at least one reference line in both directions, and the distance between the reference lines gradually decreases along the directions in both directions.
2. The application icon processing method according to claim 1, characterized in that, The step of sorting and displaying the application icons according to the magnification factor includes: According to the magnification factor from largest to smallest, the corresponding application icons are displayed sequentially from the middle of the display interface to both sides.
3. The application icon processing method according to claim 1, characterized in that, The process of sorting and displaying the application icons also includes: If the display interface is square, starting from the middle of the display interface, the corresponding application icons are arranged and displayed sequentially on at least one reference line in both directions.
4. The application icon processing method according to claim 1, characterized in that, The process of obtaining the application icon includes: If the total number of applications is less than or equal to the predetermined number of application icons displayed on the display interface, obtain each application icon; If the total number is greater than the predetermined number, the predetermined number of application icons are obtained based on the identifiers of each application icon.
5. The application icon processing method according to any one of claims 1-4, characterized in that, Determine the magnification factor for each obtained application icon, including: Obtain the position information of each application icon in the display interface; Based on the location information of each application icon, the magnification factor corresponding to each application icon is determined.
6. The application icon processing method according to claim 5, characterized in that, Obtaining the position information of each application icon in the display interface includes at least one of the following scenarios: In response to a display operation that enters the display interface, the default second position information of each application icon in the display interface is determined; In response to an editing operation on an application icon in the display interface, the third position information of the changed application icon in the display interface after the application icon is edited is determined.
7. The application icon processing method according to claim 6, characterized in that, The step of responding to an editing operation on an application icon in the display interface, and determining the updated third position information of the changed application icon in the display interface after the application icon is edited, includes: If the editing operation is to add an application icon, the third position information of the newly added application icon in the display interface is determined according to the priority order from the middle to both sides of the display interface. If the editing operation is a move application icon operation, determine the starting point of the move, the ending point of the move, and the third position information of the application icon updated in the display interface between the two; If the editing operation is to delete an application icon, determine the third position information of the application icon that was moved forward after the deleted application icon and / or the newly displayed application icon in the display interface.
8. An application icon processing device, characterized in that, include: The acquisition module is used to retrieve the application icon; The determination module is used to determine the magnification factor corresponding to each acquired application icon; The display module is used to sort and display the application icons according to the magnification factor; The determining module, when determining the magnification factor corresponding to each acquired application icon, is specifically used for: In response to a swiping operation on the display interface, the system determines the first position information of the application icon to be displayed in the display interface after the swiping operation, and determines the updated magnification factor corresponding to the application icon to be displayed based on the first position information, wherein the updated magnification factor changes linearly with the displacement of the swiping operation. When the display module is used to sort and display the various application icons, it is specifically used for: If the display interface is circular or elliptical, starting from the middle of the display interface, corresponding application icons are sequentially arranged and displayed on at least one reference line in both directions, and the distance between the reference lines gradually decreases along the directions in both directions.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-7.
Citation Information
Patent Citations
Icon layout method and device
CN113760136A
Display method, display device, electronic equipment and storage medium
CN113760141A
