Desktop icon layout method, device, storage medium and electronic device

By detecting the telescopic operation of the flexible display screen, the desktop icon layout of the electronic device is dynamically adjusted, which solves the problem in the existing technology that the desktop layout cannot adapt, improves the user experience, and ensures that users can quickly find the applications they need after adjusting the screen size. program.

CN113687808BActive Publication Date: 2024-09-24GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202010420636.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-18
Publication Date
2024-09-24
Estimated Expiration
2040-05-18

AI Technical Summary

Technical Problem

When the flexible display screen of existing electronic devices is retracted, the desktop layout cannot adapt, which affects the user experience and makes it difficult to quickly find the application that needs to be opened.

Method used

By detecting the telescopic operation of the flexible display screen, the effective display size after the change is obtained, the matching target application and its desktop layout data are determined, and the icon layout is dynamically adjusted to ensure that the icon can be quickly found in the changed display area.

Benefits of technology

It realizes the adaptive adjustment of the desktop layout when the flexible display screen is retracted, improving the user experience and allowing users to quickly find the applications they need.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113687808B
    Figure CN113687808B
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, storage medium and electronic device for layout of desktop icons, wherein the embodiment of the present application is applied to an electronic device including a flexible display screen, and when the flexible display screen is detected to be retracted, the effective display size of the flexible display screen is obtained; a target application matching the effective display size and the first desktop layout data of the target application are determined; and the icon of the target application is displayed on the desktop interface of the electronic device according to the first desktop layout data. The desktop layout is adaptively adjusted according to the retraction of the flexible display screen, so that the user can quickly and efficiently find the icon of the application to be opened after adjusting the screen size, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic devices, and in particular to a method, device, storage medium and electronic device for arranging desktop icons. Background Art

[0002] With the development of electronic equipment technology, the display screens of smart terminals such as smartphones and tablets are becoming larger, because larger display screens can present richer content, making human-computer interaction more realistic and efficient, and bringing a better user experience; at the same time, in order to make it easier to carry smart terminals, foldable terminals and flexible screen terminals were born, which to a great extent meet the portability requirements of smart terminals with large display screens. Summary of the invention

[0003] The embodiments of the present application provide a method, device, storage medium and electronic device for layout of desktop icons, which can realize adaptive adjustment of desktop layout according to the expansion and contraction of a flexible display screen.

[0004] In a first aspect, an embodiment of the present application provides a method for layout of desktop icons, the method being applied to an electronic device including a flexible display screen, the method comprising:

[0005] When it is detected that the flexible display screen performs a retracting operation, obtaining an effective display size of the flexible display screen;

[0006] Determine a target application matching the effective display size, and first desktop layout data of the target application;

[0007] The icon of the target application is displayed on the desktop interface of the electronic device according to the first desktop layout data.

[0008] In a second aspect, an embodiment of the present application further provides a layout device for desktop icons, the device being applied to an electronic device including a flexible display screen, the device comprising:

[0009] A screen detection module, configured to obtain an effective display size of the flexible display screen when detecting that the flexible display screen is performing a retracting operation;

[0010] A data acquisition module, used to determine a target application matching the effective display size, and first desktop layout data of the target application;

[0011] A desktop layout module is used to display the icon of the target application on the desktop interface of the electronic device according to the first desktop layout data.

[0012] In a third aspect, an embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is run on a computer, the computer executes a method for laying out desktop icons as provided in any embodiment of the present application.

[0013] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a processor and a memory, wherein the memory has a computer program, and the processor is used to execute a desktop icon layout method as provided in any embodiment of the present application by calling the computer program.

[0014] The technical solution provided in the embodiment of the present application is applicable to an electronic device including a flexible display screen, and detects a telescopic operation of the flexible display screen. When the effective display size of the flexible display screen is changed by the telescopic operation, the target application corresponding to the changed effective display size and the first desktop layout data corresponding to these applications are obtained, and the icon of the target application is displayed on the flexible display screen according to the first desktop layout data. Through this solution, when the size of the display area of ​​the flexible display screen changes, the icon of the application matching the changed effective display size is displayed on the desktop, thereby realizing adaptive adjustment of the desktop layout according to the telescopic situation of the flexible display screen, so that the user can quickly and efficiently find the icon of the application to be opened after adjusting the screen size, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0017] Figure 2 is another structural schematic diagram of an electronic device according to an embodiment of the present application;

[0018] Figure 3 is a three-dimensional exploded schematic diagram of an electronic device according to an embodiment of the present application;

[0019] Figure 4 yes Figure 1 A cross-sectional view of the electronic device along V1-V1;

[0020] Figure 5 yes Figure 2 A cross-sectional view of the electronic device along V2-V2;

[0021] Figure 6 A schematic diagram of a first process flow of a method for laying out desktop icons provided in an embodiment of the present application;

[0022] Figure 7 A schematic diagram of an application scenario of the method for laying out desktop icons provided by an application embodiment that does not adopt the embodiment of the present application;

[0023] Figure 8 A schematic diagram of a scenario of a method for layout of desktop icons provided in an embodiment of the present application;

[0024] Fig. 9 A schematic diagram of another scenario of a method for laying out desktop icons provided in an embodiment of the present application;

[0025] Fig.10 A schematic diagram of another scenario of a method for laying out desktop icons provided in an embodiment of the present application;

[0026] Fig.11 A schematic diagram of another scenario of a method for laying out desktop icons provided in an embodiment of the present application;

[0027] Fig.12 A second flow chart of the desktop icon layout method provided in the embodiment of the present application;

[0028] Fig.13 A schematic diagram of the structure of a desktop icon layout device provided in an embodiment of the present application;

[0029] Fig.14 A schematic diagram of a first structure of an electronic device provided in an embodiment of the present application;

[0030] Fig.15 A second structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0033] An embodiment of the present application provides a method for laying out desktop icons. The executor of the method for laying out desktop icons may be a desktop icon layout device provided in the embodiment of the present application, or an electronic device integrating the desktop icon layout device, wherein the desktop icon layout device may be implemented in hardware or software.

[0034] The present application embodiment provides a display control method, which is applied to an electronic device including a retractable flexible display screen. Figure 1 , Figure 1 The first structural diagram of the electronic device provided in the embodiment of the present application. The electronic device may be a smart phone, a tablet computer, a PDA, a laptop computer, or a desktop computer. Figure 1 In an example, the electronic device has a flexible display screen, one end of which is disposed on a reel so that a portion of the flexible display screen can be rolled up on the reel, and the reel can be used to roll up and release the flexible display screen, thereby extending the display portion of the flexible display screen assembly. The flexible display screen can be extended or retracted in a direction perpendicular to the reel. For example, see Figure 2 , Figure 2 A second structural schematic diagram of an electronic device provided in an embodiment of the present application. Figure 2 The electronic device shown in the figure has a flexible display screen in an extended state. When the user needs to use a large screen, the display part of the flexible display screen can be extended to improve the user's operating experience. At the same time, when the large screen is not needed, the display part can be left unextended, thereby making the whole device smaller and easier to carry.

[0035] It should be noted that the retractable direction of the flexible display screen shown in FIG1 is only for illustration. In other embodiments, the flexible display screen may also be configured to retract along the vertical direction when the user holds the device vertically.

[0036] When the display screen of the electronic device is in the display state, if the flexible display screen is stretched or retracted, the icons on the desktop interface are rearranged and displayed according to the desktop icon layout method provided in the embodiment of the present application. For example, when it is detected that the flexible display screen is being stretched or retracted, the effective display size of the flexible display screen is obtained; the target application matching the effective display size and the first desktop layout data of the target application are determined; according to the first desktop layout data, the icon of the target application is displayed on the desktop interface of the electronic device. Through this scheme, when the size of the display area of ​​the flexible display screen changes, the icon of the application matching the changed effective display size is displayed on the desktop, so that the desktop layout is adaptively adjusted according to the stretching and retraction of the flexible display screen, so that the user can quickly and efficiently find the icon of the application to be opened after adjusting the screen size, thereby improving the user experience.

[0037] Please combine Figures 1 to 3 The electronic device 100 of this embodiment includes a housing assembly 10 , a flexible display screen 30 , a driving member 50 and a driving mechanism 70 .

[0038] The housing assembly 10 is a hollow structure; components such as the driving member 50, the driving mechanism 70 and the camera 60 can be arranged in the housing assembly 10. It can be understood that the electronic device 100 of the embodiment of the present application includes but is not limited to mobile terminals such as mobile phones and tablet computers or other portable electronic devices. In this article, the electronic device 100 is described as a mobile phone.

[0039] In this embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 can move relative to each other. Specifically, in this embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 can slide relative to the first housing 12.

[0040] For details, please refer to Figure 4 and Figure 5 The first housing 12 and the second housing 14 together form a receiving space 16. The receiving space 16 can be used to place components such as the driving member 50, the camera 60 and the driving mechanism 70. The housing assembly 10 may further include a back cover 18, which together with the first housing 12 and the second housing 14 form the receiving space 16.

[0041] The driving member 50 is disposed on the second housing 14, one end of the flexible display screen 30 is disposed on the first housing 12, the flexible display screen 30 bypasses the driving member 50, and the other end of the flexible display screen is disposed in the accommodating space 16, so that part of the flexible display screen is hidden in the accommodating space 16, and the part of the flexible display screen 30 hidden in the accommodating space 16 may not be illuminated. When the first housing 12 and the second housing 14 are relatively far apart, the flexible display screen 30 can be driven to unfold by the driving member 50, so that more of the flexible display screen 30 is exposed outside the accommodating space 16. The part of the flexible display screen 30 exposed outside the accommodating space 16 is illuminated, so that the display area presented by the electronic device 100 becomes larger.

[0042] The driving member 50 can be specifically a rotating shaft structure with teeth 52 on the outside. The flexible display screen 30 is linked to the driving member 50 by meshing or the like. When the first shell 12 and the second shell 14 are relatively far apart, the driving member 50 drives the part of the flexible display screen 30 meshed on the driving member 50 to move and unfold.

[0043] It can be understood that the driving member 50 can also be a round shaft without teeth 52. When the first shell 12 and the second shell 14 are relatively far away from each other, the driving member 50 is used to open the part of the flexible display screen 30 wound (wound) on the driving member 50, so that more flexible display screens are exposed outside the accommodating space 16 and are in a flat state. Specifically, the driving member 50 is rotatably arranged on the second shell 14. When the flexible display screen 30 is gradually opened, the driving member 50 can rotate with the movement of the flexible display screen 30. In other embodiments, the driving member 50 can also be fixed on the second shell 14, and the driving member 50 has a smooth surface. When the flexible display screen 30 is opened, the driving member 50 can slidably contact with the flexible display screen 30 through its smooth surface.

[0044] When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen can be driven to retract by the driving member 50. Alternatively, the electronic device 100 further includes a reset member (not shown), and one end of the flexible display screen accommodated in the accommodating space 16 is linked to the reset member. When the first housing 12 and the second housing 14 are relatively close to each other, the reset member drives the flexible display screen 30 to reset, thereby partially retracting the flexible display screen into the accommodating space 16.

[0045] In this embodiment, the driving mechanism 70 may be disposed in the accommodating space 16, and the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is used to drive the second housing 14 to move away from the first housing 12, thereby driving the flexible display assembly 30 to extend. It is understood that the driving mechanism 70 may also be omitted, and the user may directly make the first housing and the second housing move relative to each other by manual operation or other means.

[0046] See also Figure 6 , Figure 6 This is a schematic diagram of a first process flow of a method for layout of desktop icons provided in an embodiment of the present application. The specific process flow of the method for layout of desktop icons provided in an embodiment of the present application may be as follows:

[0047] In 101, when it is detected that the flexible display screen performs a retracting operation, an effective display size of the flexible display screen is obtained.

[0048] In an embodiment of the present application, the telescopic operation includes an extension operation and a retraction operation. The user controls the flexible display screen of the electronic device to perform a telescopic operation to increase or decrease the size of the display area of ​​the electronic device. Among them, the user can control the flexible display screen of the electronic device to extend or retract as needed to adjust the screen size to any size between the minimum screen and the maximum screen that the electronic device can support. For example, when the flexible display screen of the electronic device is in a normal state, its effective display size is 5.5 inches and the resolution is 1080x2340; the user controls the flexible display screen to stretch along the length direction of the display screen through a stretching operation, and the effective display size after stretching is 6.5 inches and the resolution is 1920×2340; the user controls the flexible display screen to retract a certain distance along the length direction of the display screen through a retraction operation, and the effective display size after retraction is 4 inches and the resolution is 640x 2340.

[0049] In the embodiment of the present application, the electronic device monitors the scaling execution of the flexible display screen according to the scaling instruction of the electronic device or the change of the display area of ​​the flexible display screen. When the electronic device detects the extension instruction or the retraction instruction, the flexible display screen is controlled to perform the extension operation or the retraction operation, and when the extension operation or the retraction operation is detected, the current effective display size is obtained.

[0050] In 102, a target application matching the effective display size and first desktop layout data of the target application are determined.

[0051] In this embodiment, the application programs installed in the electronic device are sorted and grouped based on the stretchability of the flexible display screen to adaptively adjust the desktop layout.

[0052] Since different applications have different properties and different requirements for whether full-screen display is required, when users use these applications, they have different requirements for the display size of the display screen. For example, when playing games, reading e-books or watching videos, users may be more inclined to adjust the display screen of the electronic device to a large screen state. When listening to music, answering calls or replying to text messages, in order to save power, users may be more inclined to adjust the display screen of the electronic device to a small screen state. Or, when the effective display size of the electronic device is different, the applications that can be opened are different. Based on the above situation, an association relationship between the effective display size and the application is established in advance. Since the user can control the flexible display screen of the electronic device to extend or retract as needed, the screen size can be adjusted to any size between the minimum screen and the maximum screen that the electronic device can support. Therefore, an association relationship between the effective display size interval and the application can be established. After obtaining the effective display size, the effective display size interval to which the effective display size belongs is determined, and the target application corresponding to the effective display size interval is used as the target application matching the effective display size.

[0053] For example, in some embodiments, the method also includes: obtaining an application list of the electronic device; obtaining system interface call information and attribute information of each application in each application list; generating an association relationship between the preset effective display size and the application based on the system interface call information and attribute information, and the system interface call information and attribute information matching each preset effective display size; and storing the association relationship in a desktop database.

[0054] In this embodiment, all applications installed in the electronic device are grouped in advance and associated with preset effective display sizes, respectively, to establish an association relationship. The preset effective display size refers to the size that the flexible display screen of the electronic device can display. First, the desktop database of the electronic device stores desktop layout data, for example, icons of each application on the desktop, as well as the size of each icon, the display position of each icon, the row and column of each icon, etc. The electronic device manages the desktop layout according to the relevant data in the desktop database through the desktop management program, and when displaying the desktop, controls the data such as icons or controls on the desktop to be displayed according to the desktop layout data.

[0055] The electronic device obtains the system interface call information and attribute information of each installed application. Taking the Android operating system as an example, the application architecture layer of the system provides a variety of services for the upper-layer applications. The system interface call information of the application indicates the system services that the application needs to use when running, such as camera services, media services, microphone services, etc. The attribute information of the application may include: whether it needs to run in full screen, application type, whether data processing can be performed in the background, etc. Application types may include game applications, image processing applications, social applications, word processing applications, video playback applications, audio playback applications, etc.

[0056] The electronic device obtains the system interface call information and attribute information of each application, and establishes an association relationship between the preset effective display size and the application based on the system interface call information and attribute information corresponding to each preset effective display size. For example, if the preset effective display size is 1920×2340, the associated applications may include game applications, video playback applications, and other applications that are generally used in full screen mode; or, if the preset effective display size is 1920×2340, the associated applications may include applications that need to call media services. If the preset effective display size is 1080x2340, the associated applications may include social applications, word processing applications, such as WeChat, Weibo, camera applications, etc., which do not require full screen display; or, if the preset effective display size is 1080x2340, the associated applications may include applications that do not need to call camera services or media services. If the preset effective display size is 640x 2340, the associated applications may include video playback applications, such as music players, etc.

[0057] After the electronic device sets an associated application for each preset effective display size, an association relationship between the preset effective display size and the application is generated; and the association relationship is stored in a desktop database.

[0058] For another example, in another embodiment, the method further includes:

[0059] An application program set by a user for a preset effective display size is determined, an association relationship is established between the application program set by the user and the preset effective display size, and the association relationship is stored in a desktop database.

[0060] In this embodiment, the user establishes the association between the preset effective display size and the application according to his / her own usage requirements. Alternatively, the user can also set the arrangement mode of the application icons corresponding to each preset effective display size on the desktop.

[0061] For another example, in another embodiment, the method further includes:

[0062] When the flexible display screen is detected to be retracted, it is determined whether the current display interface is the desktop;

[0063] If the current display interface is not the desktop, determine the application running in the foreground, and update the number of times the application is used when the flexible display screen is of an effective display size;

[0064] According to the recorded usage counts of each application corresponding to each preset effective display size, an association relationship between the preset effective display size and the application is established, wherein the application whose usage count is greater than the preset count when the flexible display screen is the target effective display size is associated with the target effective display size;

[0065] Store the association relationships in a desktop database.

[0066] In this embodiment, each time the user adjusts the effective display size through the telescopic operation, the application running in the foreground is recorded, and then the application that is used more than the preset number of times when the flexible display screen is the target effective display size is associated with the target effective display size. For example, when the effective display size of the flexible display screen is C1, the application that is used more than the preset number of times is associated with C1. When the effective display size of the flexible display screen is C2, the application that is used more than the preset number of times is associated with C2. In this way, without the need for manual settings by the user, the electronic device automatically generates an association relationship between the preset effective display size and the application based on the recorded data, so that the desktop layout conforms to the user's habits, so that the user can quickly find the application that needs to be opened after adjusting the effective display size.

[0067] In 103, the icon of the target application is displayed on the desktop of the electronic device according to the first desktop layout data.

[0068] See also Figure 7 , Figure 7 A schematic diagram of an application scenario of the method for laying out desktop icons provided in an application embodiment that does not adopt the embodiment of the present application. Assume that 22 applications are installed on the electronic device, and the user sets their arrangement to the style shown in the figure. In the case where the solution of the embodiment of the present application is not adopted, if the user controls the flexible display screen to retract inward, the icons originally displayed on the first desktop interface and the second desktop interface will be expanded to three desktop interfaces because the display area of ​​the desktop interface becomes smaller, and the 22 applications will still be displayed on the three desktop interfaces in sequence according to the arrangement order originally set by the user.

[0069] Wherein, in one embodiment, the determination of the target application matching the effective display size includes: obtaining the initial application corresponding to each desktop interface, wherein the electronic device includes at least one desktop interface; and determining the target application matching the effective display size in each desktop interface from the corresponding initial application. The displaying of the icon of the target application on the desktop interface of the electronic device according to the first desktop layout data includes: displaying the target application corresponding to each desktop interface on the corresponding desktop interface according to the first desktop layout data. Wherein, the initial application corresponding to the desktop interface refers to the application set by the user on each desktop interface.

[0070] In this embodiment, the electronic device includes one or more desktop interfaces. When the flexible display screen is extended and retracted, icons on each desktop interface are adaptively arranged. For example, in one embodiment, the electronic device includes two desktop interfaces: a first desktop interface and a second desktop interface. Figure 8 , Figure 8 A schematic diagram of a scenario of a method for laying out desktop icons provided in an embodiment of the present application. When the flexible display screen is retracted, the effective display size of the screen becomes smaller. For the first desktop interface, target applications that match the current effective display size are determined from all initial applications set by the user on the desktop interface, and only these target applications are displayed on the first desktop interface. For example, on the first desktop interface, the initial applications originally set include application 1, application 2, application 3, application 4, application 5, application 6, application 7, application 8, application 9, application 10, application 11, application 12, application 13, application 14, and application 15.

[0071] Among them, when the user extends the flexible display screen outward and the screen becomes larger, only 9 applications, namely Application 1, Application 3, Application 6, Application 7, Application 8, Application 10, Application 12, Application 14, and Application 15, are target applications that match the enlarged effective display size, and only the icons of these applications need to be displayed on the first desktop interface. Conversely, when the user retracts the flexible display screen inward and the screen becomes smaller, the target applications that match the reduced effective display size are Application 2, Application 4, Application 5, Application 9, Application 11, and Application 13, and only the icons of these applications need to be displayed on the first desktop interface. The same applies to the second desktop interface.

[0072] For the initial application corresponding to the first desktop interface, the initial application that does not match the current effective display size may not be displayed on the first desktop interface in one embodiment. Figure 8As shown, the icons of these matching initial applications are not displayed on the desktop, and the same is true for the second desktop interface. In another embodiment, these initial applications that do not match the current effective display size can be aggregated in a folder and displayed on the first desktop interface, such as Fig. 9 As shown, the second desktop interface is the same.

[0073] Alternatively, in other embodiments, no matter how many desktop interfaces the electronic device includes, after obtaining the effective display size of the flexible display screen, the electronic device determines the target application that matches the effective display size from all the applications. The icons of these target applications are displayed on the desktop interface. For example, after determining the target application that matches the effective display size, the electronic device obtains the first desktop layout data, which records the icon of each target application, the size of each icon, the display position of each icon, the row and column of each icon, etc. The electronic device displays the icon of the target application on the desktop of the electronic device based on these data.

[0074] Among them, for other applications in the electronic device except the target application, whether to display them on the display screen and the display position, etc., there can be multiple implementation methods. For example, in one embodiment, according to the first desktop layout data, the icon of the target application is displayed on the desktop of the electronic device, including: according to the first desktop layout data, the icon of the target application is displayed on the first desktop interface of the desktop of the electronic device; determining other applications on the electronic device except the target application, and obtaining the second desktop layout data of other applications; according to the second desktop layout data, the icons of other applications are displayed on other desktop interfaces except the first desktop interface. Among them, the first desktop interface can be the main interface among multiple desktop interfaces. If the current display interface is another desktop interface, if the user clicks the home button, it will switch to the main interface.

[0075] In this embodiment, the desktop of the electronic device includes at least a first desktop interface, and may also include a second desktop interface, a third desktop interface, etc., wherein the number of specific desktop interfaces may be determined by user settings or by the total number of applications. The icon of the target application is displayed on the first desktop interface of the desktop of the electronic device, and other applications except the target application are displayed on the second desktop interface, the third desktop interface, etc. according to the number.

[0076] For example, see Fig.10 , Fig.10Another scenario diagram of the layout method of desktop icons provided for the embodiment of the present application. When the user extends the flexible display screen outward and the screen becomes larger, only 9 applications, namely Application 1, Application 3, Application 6, Application 7, Application 8, Application 10, Application 12, Application 14, and Application 15, are target applications that match the enlarged effective display size, then the icons of these applications are displayed on the first desktop interface, and the icons of other applications except these applications are displayed on the second desktop interface. Conversely, when the user retracts the flexible display screen inward and the screen becomes smaller, the target applications that match the reduced effective display size are Application 2, Application 4, Application 5, Application 9, Application 11, and Application 13, then the icons of these applications are displayed on the first desktop interface, and the icons of other applications except these applications are displayed on the second desktop interface and the third desktop interface.

[0077] After the user performs the telescopic operation on the flexible display screen, the user can quickly obtain the required application on the first desktop interface. When the application to be found is not on the first desktop interface, the user can swipe to other desktop interfaces to search. It is understandable that when there are many target applications and the first desktop interface is not large enough to display them, multiple target applications can be aggregated in a folder for display. Alternatively, based on the frequency of use of these target applications by users, the icons of the most frequently used target applications are displayed on the first desktop interface, and other target application icons that cannot be displayed on the first desktop interface are displayed on the second desktop interface.

[0078] For example, in another embodiment, the icon of the target application is displayed on the desktop of the electronic device according to the first desktop layout data, including: displaying the icon of the target application on the first desktop interface of the desktop of the electronic device according to the first desktop layout data; determining other applications on the electronic device except the target application, and obtaining second desktop layout data of the other applications; according to the second desktop layout data, aggregating the icons of the other applications in a folder, and displaying the folder on the first desktop interface.

[0079] For example, see Fig.11 , Fig.11Another scenario diagram of the method for laying out desktop icons provided for the embodiment of the present application. When the user extends the flexible display screen outward and the screen becomes larger, the target application icon matching the enlarged effective display size is displayed on the first desktop interface, and the icons of other applications other than these applications are gathered in a folder and displayed on the first desktop interface. After the user retracts the flexible display screen inward and the screen becomes smaller, the layout is performed according to the same principle, which will not be repeated. It can be understood that when the space on the first desktop interface is not enough to display the target application and folder, it can also be displayed on the second desktop interface.

[0080] In this embodiment, the electronic device may have only one desktop interface. The electronic device displays the icon of the target application on the first desktop interface of the desktop of the electronic device, and aggregates other applications except the target application into at least one folder, and displays the at least one folder on the first desktop interface.

[0081] For example, in another embodiment, after the icon of the target application is displayed on the desktop of the electronic device, the method also includes: when an instruction triggered by the user based on a preset control to instruct to exit the preset desktop layout mode is received, obtaining third desktop layout data; based on the third desktop layout data, displaying the icons of all applications of the electronic device on the desktop of the electronic device according to the layout set by the user.

[0082] In this embodiment, the electronic device sets a preset desktop layout mode. When the user performs a telescopic operation on the flexible display screen to adjust the effective display size, the preset desktop layout mode is entered. In this mode, the electronic device will display icons of target applications that match different effective display sizes on the desktop, such as Figure 8 When the application that the user wants to find is not on the desktop, an instruction to exit the current preset desktop layout mode can be triggered. When the electronic device detects the instruction, the third desktop layout data is obtained. After the electronic device obtains the third desktop layout data, according to the third desktop layout data, the icons of all application programs of the electronic device are displayed on the desktop of the electronic device according to the layout set by the user, and the layout of the desktop icons is restored to the arrangement mode set by the user, such as Figure 7 As shown, it is convenient for users to find the icons they need.

[0083] In specific implementation, the present application is not limited by the execution order of the various steps described. If no conflict occurs, some steps can be performed in other orders or simultaneously.

[0084] As can be seen from the above, the desktop icon layout method provided in the embodiment of the present application is suitable for an electronic device including a flexible display screen, and detects the telescopic operation of the flexible display screen. When the effective display size of the flexible display screen is changed by the telescopic operation, the target application corresponding to the changed effective display size and the first desktop layout data corresponding to these applications are obtained. According to the first desktop layout data, the icon of the target application is displayed on the flexible display screen. Through this scheme, when the size of the display area of ​​the flexible display screen changes, the icon of the application matching the changed effective display size is displayed on the desktop, thereby realizing adaptive adjustment of the desktop layout according to the telescopic situation of the flexible display screen, so that the user can quickly and efficiently find the icon of the application to be opened after adjusting the screen size, thereby improving the user experience.

[0085] The method described in the above embodiment is further described in detail below with examples.

[0086] See also Fig.12 , Fig.12 A second flow chart of a method for laying out desktop icons provided by an embodiment of the present invention. The method comprises:

[0087] 201. When it is detected that the flexible display screen is performing a retracting operation, it is determined whether the current display interface is a desktop.

[0088] The electronic device monitors the zoom execution of the flexible display screen according to the zoom instruction of the electronic device or the change of the display area of ​​the flexible display screen. When the electronic device detects the extension instruction or the retraction instruction, the flexible display screen is controlled to perform the extension operation or the retraction operation. When the extension operation or the retraction operation is detected to be completed, it is determined whether the display interface of the flexible display screen at this time is the desktop interface. If the current display interface is the desktop interface, execute 202; if the current display interface is not the desktop interface, execute 207.

[0089] 202. Obtain an effective display size of the flexible display screen.

[0090] If the display interface of the flexible display screen is a desktop at this time, the current effective display size is obtained, and then the application programs installed in the electronic device are sorted and grouped based on the extensibility of the flexible display screen to adaptively adjust the desktop layout.

[0091] 203. Obtain the association between the preset effective display size and the application from the desktop database.

[0092] 204. Determine a target application matching the effective display size and identifier information of the target application according to the association relationship.

[0093] 205. Acquire first desktop layout data corresponding to the identifier information from a desktop database.

[0094] The desktop database of the electronic device stores desktop layout data, for example, icons of various applications on the desktop, as well as the size of each icon, the display position of each icon, the row and column of each icon, etc. The electronic device manages the desktop layout according to the relevant data in the desktop database through the desktop management program, and controls the icons or controls on the desktop to be displayed according to the desktop layout data when displaying the desktop.

[0095] The electronic device groups all the application programs installed in the electronic device in advance, associates them with preset effective display sizes respectively to establish association relationships, and stores the association relationships in a desktop database.

[0096] After obtaining the effective display size of the flexible display screen, the electronic device generates a desktop layout instruction. After detecting the desktop layout instruction sent by the bottom layer of the system, the desktop management program obtains the association relationship between the preset effective display size and the application from the desktop database, and determines the target application matching the effective display size according to the association relationship. Each target application has corresponding identifier information, and the desktop database uses the identifier information as the identification of the application, and stores the desktop layout data of each application.

[0097] After determining the target application matching the effective display size, the electronic device acquires the corresponding first desktop layout data according to the identifier information of the target application.

[0098] 206. Display an icon of the target application on the desktop of the electronic device according to the first desktop layout data.

[0099] After determining the target application that matches the effective display size, the electronic device obtains the first desktop layout data, which records the icons of each target application, the size of each icon, the display position of each icon, the row and column of each icon, etc. The electronic device displays the icon of the target application on the desktop of the electronic device based on these data. Please refer to the above embodiment for the display method of the icons on each desktop interface, which will not be repeated here.

[0100] 207. Determine the application running in the foreground, and update the number of times the application is used when the flexible display screen has an effective display size.

[0101] 208. Establish an association relationship between the preset effective display size and the application program according to the recorded usage counts of each application program corresponding to each preset effective display size.

[0102] Wherein, an application program that is used more than a preset number of times when the flexible display screen is the target effective display size is associated with the target effective display size.

[0103] 209. Store the association relationship in a desktop database.

[0104] After 201, if the display interface of the flexible display screen is not a desktop interface at this time, but an application is running in the foreground, the application running in the foreground is determined.

[0105] Among them, every time the electronic device detects that the user adjusts the effective display size, and an application is currently running in the foreground, the electronic device updates the number of times the application is used at the current effective display size. For example, the user adjusts the size of the display area from a small screen to a large screen, and the application running in the foreground after the adjustment is WeChat, and the number of times WeChat is used when the effective display size is a large screen is updated. In this way, the number of times each application is used at each effective display size can be recorded, and these usage times reflect the user's usage habits for the effective display size. If the number of times an application is used is greater than the preset number when the flexible display is the target effective display size, it can be determined that the user uses the application more frequently at the target effective display size. In other words, when the user adjusts the size of the flexible display to the target effective display size, the probability of the user using the application is relatively high, so it can be displayed directly on the desktop, which can facilitate the user to quickly open the application.

[0106] From the above, it can be seen that the desktop icon layout method proposed in the embodiment of the present invention establishes an association relationship between applications and effective display sizes according to user habits. When the size of the display area of ​​the flexible display screen changes, the icon of the application matching the changed effective display size is displayed on the desktop according to the association relationship, thereby realizing adaptive adjustment of the desktop layout according to the expansion and contraction of the flexible display screen, so that the user can quickly and efficiently find the icon of the application to be opened after adjusting the screen size, thereby improving the user experience.

[0107] In one embodiment, a layout device for desktop icons is also provided. Fig.13 , Fig.13 This is a schematic diagram of the structure of a desktop icon layout device 300 provided in an embodiment of the present application. The desktop icon layout device 300 is applied to an electronic device, and the desktop icon layout device 300 includes a screen detection module 301, a data acquisition module 302, and a desktop layout module 303, as follows:

[0108] The screen detection module 301 is used to obtain the effective display size of the flexible display screen when it is detected that the flexible display screen performs a retracting operation;

[0109] A data acquisition module 302 is used to determine a target application matching the effective display size and first desktop layout data of the target application;

[0110] The desktop layout module 303 is used to display the icon of the target application on the desktop interface of the electronic device according to the first desktop layout data.

[0111] In some embodiments, the data acquisition module 302 is further used to: acquire an initial application corresponding to each desktop interface, wherein the electronic device includes at least one desktop interface; determine a target application matching the effective display size in each desktop interface from the corresponding initial application;

[0112] The desktop layout module 303 is further used to: display the target application corresponding to each desktop interface on the corresponding desktop interface according to the first desktop layout data.

[0113] In some embodiments, the desktop layout module 303 is further used to:

[0114] Displaying the icon of the target application on a first desktop interface of the desktop of the electronic device according to the first desktop layout data;

[0115] Determine other applications on the electronic device except the target application, and obtain second desktop layout data of the other applications;

[0116] According to the second desktop layout data, the icons of the other applications are displayed on other desktop interfaces except the first desktop interface; or, according to the second desktop layout data, the icons of the other applications are aggregated in a folder, and the folder is displayed on the first desktop interface.

[0117] In some embodiments, the desktop layout module 303 is further used to:

[0118] When receiving an instruction triggered by the user based on the preset control for instructing to exit the preset desktop layout mode, acquiring third desktop layout data;

[0119] According to the third desktop layout data, icons of all application programs of the electronic device are displayed on the desktop interface of the electronic device.

[0120] In some embodiments, the data acquisition module 302 is further configured to:

[0121] Obtain the association between the preset effective display size and the application program from the desktop database;

[0122] Determining a target application matching the effective display size according to the association relationship;

[0123] The first desktop layout data corresponding to the target application is obtained from the desktop database.

[0124] In some embodiments, the desktop icon layout device 300 further includes a first association setting module, and the first association setting module is used to:

[0125] Obtaining a list of applications of the electronic device;

[0126] Obtaining system interface call information and attribute information of each application in the application list;

[0127] Generate an association relationship between a preset effective display size and an application program according to the system interface call information and the attribute information, as well as the system interface call information and the attribute information matching each preset effective display size;

[0128] The association relationship is stored in a desktop database.

[0129] In some embodiments, the screen detection module 301 is further used to:

[0130] When it is detected that the flexible display screen performs a retracting operation, determining whether the current display interface is a desktop interface;

[0131] If the current display interface is a desktop interface, obtaining the effective display size of the flexible display screen is performed.

[0132] In some embodiments, the desktop icon layout device 300 further includes a second association setting module, and the second association setting module is used to:

[0133] If the current display interface is not a desktop interface, determining the application running in the foreground, and updating the number of times the application is used when the flexible display screen is the effective display size;

[0134] Establishing an association relationship between the preset effective display size and the application program according to the recorded usage counts of each application program corresponding to each preset effective display size, wherein an application program that has been used more than a preset number of times when the flexible display screen is a target effective display size is associated with the target effective display size;

[0135] The association relationship is stored in a desktop database.

[0136] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined and implemented as the same or several entities. The specific implementation of the above modules can be found in the previous method embodiments, which will not be repeated here.

[0137] It should be noted that the desktop icon layout device provided in the embodiment of the present application and the desktop icon layout method in the above embodiment belong to the same concept. Any method provided in the desktop icon layout method embodiment can be run on the desktop icon layout device. The specific implementation process is detailed in the desktop icon layout method embodiment, which will not be repeated here.

[0138] As can be seen from the above, the desktop icon layout device proposed in the embodiment of the present application includes a screen detection module 301, a data acquisition module 302 and a desktop layout module 303, wherein the screen detection module 301 detects the telescopic operation of the flexible display screen. When the effective display size of the flexible display screen is changed by the telescopic operation, the data acquisition module 302 obtains the target application corresponding to the changed effective display size, and the first desktop layout data corresponding to these applications. The desktop layout module 303 displays the icon of the target application on the flexible display screen according to the first desktop layout data. Through this scheme, when the size of the display area of ​​the flexible display screen changes, the icon of the application matching the changed effective display size is displayed on the desktop, thereby realizing adaptive adjustment of the desktop layout according to the telescopic situation of the flexible display screen, so that the user can quickly and efficiently find the icon of the application to be opened after adjusting the screen size, thereby improving the user experience.

[0139] The present application also provides an electronic device. The electronic device may be a smart phone, a tablet computer, or other device. Fig.14 , Fig.14 The first structural diagram of the electronic device provided in the embodiment of the present application is as follows: The electronic device 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.

[0140] The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or calling computer programs stored in the memory 402, and calling data stored in the memory 402, thereby monitoring the electronic device as a whole.

[0141] The memory 402 may be used to store computer programs and data. The computer programs stored in the memory 402 include instructions that can be executed in the processor. The computer programs may constitute various functional modules. The processor 401 executes various functional applications and data processing by calling the computer programs stored in the memory 402.

[0142] In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 runs the computer programs stored in the memory 402 to implement various functions:

[0143] When it is detected that the flexible display screen performs a retracting operation, obtaining an effective display size of the flexible display screen;

[0144] Determine a target application matching the effective display size, and first desktop layout data of the target application;

[0145] The icon of the target application is displayed on the desktop interface of the electronic device according to the first desktop layout data.

[0146] In some embodiments, see Fig.15 , Fig.15 A second structural diagram of an electronic device provided in an embodiment of the present application. The electronic device 400 further includes: a radio frequency circuit 403, a display screen 404, a control circuit 405, an input unit 406, an audio circuit 407, a sensor 408, and a power supply 409. The processor 401 is electrically connected to the radio frequency circuit 403, the display screen 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power supply 409, respectively.

[0147] The radio frequency circuit 403 is used to send and receive radio frequency signals to communicate with network devices or other electronic devices through wireless communication.

[0148] The flexible display screen 404 may be used to display information input by a user or information provided to a user and various graphical user interfaces of the electronic device. These graphical user interfaces may be composed of images, texts, icons, videos and any combination thereof.

[0149] The control circuit 405 is electrically connected to the display screen 404 and is used to control the display screen 404 to display information.

[0150] The input unit 406 can be used to receive input numbers, character information or user feature information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. The input unit 406 can include a fingerprint recognition module.

[0151] The audio circuit 407 can provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 407 includes a microphone. The microphone is electrically connected to the processor 401. The microphone is used to receive voice information input by the user.

[0152] The sensor 408 is used to collect external environment information. The sensor 408 may include one or more sensors such as an environment brightness sensor, an acceleration sensor, and a gyroscope.

[0153] The power supply 409 is used to supply power to various components of the electronic device 400. In some embodiments, the power supply 409 may be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, power consumption, and other functions.

[0154] Although not shown in the figure, the electronic device 400 may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0155] In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 runs the computer programs stored in the memory 402 to implement various functions:

[0156] When it is detected that the flexible display screen performs a retracting operation, obtaining an effective display size of the flexible display screen;

[0157] Determine a target application matching the effective display size, and first desktop layout data of the target application;

[0158] The icon of the target application is displayed on the desktop interface of the electronic device according to the first desktop layout data.

[0159] As can be seen from the above, an embodiment of the present application provides an electronic device, which detects the telescopic operation of a flexible display screen. When the effective display size of the flexible display screen is changed by the telescopic operation, the target application corresponding to the changed effective display size and the first desktop layout data corresponding to these applications are obtained. According to the first desktop layout data, the icon of the target application is displayed on the flexible display screen. Through this scheme, when the size of the display area of ​​the flexible display screen changes, the icon of the application matching the changed effective display size is displayed on the desktop, thereby realizing adaptive adjustment of the desktop layout according to the telescopic situation of the flexible display screen, so that the user can quickly and efficiently find the icon of the application to be opened after adjusting the screen size, thereby improving the user experience.

[0160] An embodiment of the present application further provides a storage medium, wherein a computer program is stored in the storage medium. When the computer program is executed on a computer, the computer executes the method for laying out desktop icons described in any of the above embodiments.

[0161] It should be noted that, a person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the storage medium can include but is not limited to: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0162] In addition, the terms "first", "second", and "third" in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules inherent to these processes, methods, products, or devices.

[0163] The above is a detailed introduction to the desktop icon layout method, device, storage medium and electronic device provided in the embodiments of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application; at the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for layout of desktop icons. It is characterized in that The method is applied to an electronic device including a flexible display screen, and the method comprises: When it is detected that the flexible display screen performs a retracting operation, obtaining an effective display size of the flexible display screen; Determine a target application matching the effective display size and first desktop layout data of the target application, wherein an association relationship between the effective display size and the application is pre-established, and the target application matching the effective display size is determined according to the association relationship, and the association relationship between the effective display size and the application is pre-established based on the following situations: different attributes of the application have different requirements for the display size of the display screen, or when the effective display size of the electronic device is different, different applications can be supported to be opened; Displaying the icon of the target application on the desktop interface of the electronic device according to the first desktop layout data; When receiving an instruction triggered by the user based on the preset control for instructing to exit the preset desktop layout mode, acquiring third desktop layout data; According to the third desktop layout data, icons of all application programs of the electronic device are displayed on the desktop interface of the electronic device.

2. The desktop icon layout method according to claim 1, It is characterized in that The determining of a target application matching the effective display size comprises: Acquire an initial application corresponding to each desktop interface, wherein the electronic device includes at least one desktop interface; Determining, from the corresponding initial applications, a target application matching the effective display size in each desktop interface; The step of displaying the icon of the target application on the desktop interface of the electronic device according to the first desktop layout data includes: The target application corresponding to each desktop interface is displayed on the corresponding desktop interface according to the first desktop layout data.

3. The desktop icon layout method according to claim 1, It is characterized in that The step of displaying the icon of the target application on the desktop interface of the electronic device according to the first desktop layout data includes: Displaying the icon of the target application on a first desktop interface of the desktop of the electronic device according to the first desktop layout data; Determine other applications on the electronic device except the target application, and obtain second desktop layout data of the other applications; According to the second desktop layout data, the icons of the other applications are displayed on other desktop interfaces except the first desktop interface; or, according to the second desktop layout data, the icons of the other applications are aggregated in a folder, and the folder is displayed on the first desktop interface.

4. The method for laying out desktop icons according to any one of claims 1 to 3, It is characterized in that The determining of a target application matching the effective display size and first desktop layout data of the target application comprises: Obtain the association between the preset effective display size and the application program from the desktop database; Determining a target application matching the effective display size according to the association relationship; The first desktop layout data corresponding to the target application is obtained from the desktop database.

5. The desktop icon layout method as claimed in claim 4, It is characterized in that The method further comprises: Obtaining a list of applications of the electronic device; Obtaining system interface call information and attribute information of each application in the application list; Generate an association relationship between a preset effective display size and an application program according to the system interface call information and the attribute information, as well as the system interface call information and attribute information matching each preset effective display size; The association relationship is stored in a desktop database.

6. The desktop icon layout method according to claim 1, It is characterized in that Before obtaining the effective display size of the flexible display screen, the method further includes: When it is detected that the flexible display screen performs a retracting operation, determining whether the current display interface is a desktop interface; If the current display interface is a desktop interface, obtaining the effective display size of the flexible display screen is performed.

7. The desktop icon layout method according to claim 6, It is characterized in that After determining whether the current display interface is a desktop, the method further includes: If the current display interface is not a desktop interface, determining the application running in the foreground, and updating the number of times the application is used when the flexible display screen is the effective display size; Establishing an association relationship between the preset effective display size and the application program according to the recorded usage counts of each application program corresponding to each preset effective display size, wherein an application program that has been used more than a preset number of times when the flexible display screen is a target effective display size is associated with the target effective display size; The association relationship is stored in a desktop database.

8. A desktop icon layout device, It is characterized in that The device is applied to an electronic device including a flexible display screen, and the device comprises: A screen detection module, configured to obtain an effective display size of the flexible display screen when detecting that the flexible display screen is performing a retracting operation; A data acquisition module, used to determine a target application matching the effective display size and first desktop layout data of the target application, wherein an association relationship between the effective display size and the application is pre-established, and the target application matching the effective display size is determined according to the association relationship, and the association relationship between the effective display size and the application is pre-established based on the following situations: different attributes of the application have different requirements for the display size of the display screen, or when the effective display size of the electronic device is different, different applications can be supported to be opened; A desktop layout module is used to display the icon of the target application on the desktop interface of the electronic device according to the first desktop layout data, and is also used to obtain third desktop layout data when receiving an instruction triggered by the user based on a preset control to instruct to exit the preset desktop layout mode; according to the third desktop layout data, the icons of all applications of the electronic device are displayed on the desktop interface of the electronic device.

9. A storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed on a computer, the computer is enabled to execute the method for laying out desktop icons according to any one of claims 1 to 7.

10. An electronic device comprising a processor and a memory, wherein the memory stores a computer program, It is characterized in that The processor is used to execute the desktop icon layout method according to any one of claims 1 to 7 by calling the computer program.

Citation Information

Patent Citations

  • Method and device for processing display icon and electronic device

    CN103631469A

  • Flexible display screen electronic device and control system thereof

    CN103941816A

  • Application icon adaptive adjustment method and terminal

    CN104903856A

  • Automatic collating method for desktop application icons of mobile terminal and mobile terminal thereof

    CN105302540A

  • Method and apparatus for displaying screen on electronic device

    CN106030496A