Desktop icon arrangement method, electronic device, and computer-readable storage medium
By using intelligent wrapping technology between the inner and outer screens, the problem of desktop icons obscuring the main subject of the wallpaper on the terminal device is solved, allowing the main subject of the wallpaper to be revealed without manual operation, thus improving user experience and efficiency.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2026-04-02
AI Technical Summary
Desktop icons on terminal devices obscure the main objects in the wallpaper, resulting in a poor user experience. Existing manual icon dragging operations are cumbersome and inefficient.
By intelligently arranging desktop icons between the inner and outer screens, avoiding the main subject on either screen, users can see the main subject in the wallpaper on the screen simultaneously. It provides an intelligent arrangement settings interface and preview function, and supports multiple desktop ranges and layout templates.
It improves the user experience, simplifies the operation process, and allows users to see the complete main object on the desktop wallpaper without manually moving the icons, thus improving efficiency and user satisfaction.
Smart Images

Figure CN2024123130_02042026_PF_FP_ABST
Abstract
Description
Desktop icon arrangement method, electronic device and computer readable storage medium TECHNICAL FIELD
[0001] The present application relates to the technical field of terminals, in particular to a desktop icon arrangement method, an electronic device and a computer readable storage medium. BACKGROUND
[0002] With the development of terminal technology, terminal devices are becoming more and more powerful, and terminal devices are also increasingly involved in people's work and life. People often install various application programs on terminal devices for use, such as chat applications, conference applications, navigation applications, shopping applications, video applications, etc. Each application program can display a corresponding icon on the desktop. When a user needs to use an application program, the user can click the icon of the application program on the desktop to start the application program.
[0003] In order to meet the needs of people's work and life, the number of application programs installed on terminal devices is increasing, resulting in an increasing number of icons on the desktop. When the number of icons on the desktop is large, the icons can fill the entire desktop, or even be arranged in multiple desktops. If the user has also set a desktop wallpaper, the icons that fill the entire desktop can block the desktop wallpaper. When there are also some subjects such as people, buildings or animals in the desktop wallpaper, the user cannot view the complete subject on the desktop wallpaper, resulting in a decrease in experience.
[0004] The user can manually drag the icons that cover the subjects on the desktop wallpaper to other positions to expose the subjects on the desktop wallpaper. However, this way of moving the icons one by one by the user is tedious to operate.
[0005] SUMMARY
[0006] The present application provides a desktop icon display method, device, chip, electronic device, computer readable storage medium and computer program product, which can arrange desktop icons to avoid target objects in the wallpaper, and improve user experience.
[0007] In a first aspect, a desktop icon display method is provided. The method is applied to an electronic device including a first screen and a second screen. The method includes: displaying a first interface on the first screen, the first interface including a first setting pop-up window, the first setting pop-up window including a first control corresponding to the first screen and a second control corresponding to the second screen; in response to a first selection operation of the user selecting the first control, displaying a first desktop on the first screen and displaying a second desktop on the second screen, an overlapping area of a desktop icon in the first desktop and a first target object in a first wallpaper being lower than an overlapping area of a desktop icon in the second desktop and a second target object in a second wallpaper, the first wallpaper being a wallpaper of the first screen, the second wallpaper being a wallpaper of the second screen, and the first wallpaper and the second wallpaper being different; and in response to a second selection operation of the user selecting the second control, displaying a third desktop on the first screen and displaying a fourth desktop on the second screen, an overlapping area of a desktop icon in the fourth desktop and the second target object being lower than an overlapping area of a desktop icon in the third desktop and the first target object.
[0008] The first screen can be an inner screen, and the second screen can be an outer screen. The first setting interface can be a setting pop-up window including a wallpaper setting area and a screen setting area.
[0009] When the user selects to perform intelligent arrangement around the desktop of the inner screen, the terminal device can avoid the desktop icon from the main object (the first target object) in the inner screen on the desktop of the inner screen. The user can see that the main object in the wallpaper of the inner screen is not blocked by the desktop icon on the inner screen.
[0010] When the user selects to perform intelligent arrangement around the desktop of the outer screen, the terminal device can avoid the desktop icon from the main object (the second target object) in the outer screen on the desktop of the inner screen. The user can see that the main object in the wallpaper of the inner screen is not blocked by the desktop icon on the outer screen, thereby improving the user experience.
[0011] In some embodiments, the first setting pop-up window further includes a third control corresponding to a home page desktop. In response to the first selection operation of the user selecting the first control, the first desktop is displayed on the first screen, and the second desktop is displayed on the second screen, including:
[0012] The first selection operation is received, and a third selection operation of the user selecting the third control is received. In response to the first selection operation and the third selection operation, the first desktop is displayed on the first screen, and the second desktop is displayed on the second screen. The first desktop is a home page desktop in multiple pages of the first screen, and the second desktop is a home page desktop in multiple pages of the second screen. The method further includes:
[0013] A first sliding operation performed by the user is received in the first desktop. In response to the first sliding operation, a fifth desktop is displayed on the first screen. An overlapping area of a desktop icon in the fifth desktop and the first target object is higher than an overlapping area of a desktop icon in the first desktop and the first target object.
[0014] The user can also select the range of the desktop to which the smart layout is applied, for example, the first screen desktop or other desktops except the first screen desktop. In this way, the smart layout can be flexibly set to meet various needs of the user.
[0015] In some embodiments, the first setting pop-up window further includes a fourth control corresponding to other desktops, the other desktops being desktops except the first multi-desktop, and in response to a first selection operation of the user selecting the first control, displaying the first desktop in the first screen and the second desktop in the second screen includes: receiving the first selection operation and receiving a fourth selection operation of the user selecting the fourth control; and in response to the first selection operation and the fourth selection operation, displaying the first desktop in the first screen and the second desktop in the second screen, the first desktop being any one of the pages of the multi-page desktop of the first screen except the first page desktop, and the second desktop being any one of the pages of the multi-page desktop of the second screen except the first page desktop; the method further includes: receiving a second sliding operation performed by the user in the first desktop; and in response to the second sliding operation, displaying a sixth desktop in the first screen, the sixth desktop being the first page desktop of the multi-page desktop of the first screen, and the overlapping area of the desktop icons in the sixth desktop and the first target object being higher than the overlapping area of the desktop icons in the first desktop and the first target object.
[0016] The user can also select the range of the desktop to which the smart layout is applied, for example, the first screen desktop or other desktops except the first screen desktop. In this way, the smart layout can be flexibly set to meet various needs of the user.
[0017] In some embodiments, in response to a first selection operation of the user selecting the first control, displaying the first desktop in the first screen includes: in response to the first selection operation, displaying a first editing interface in the first screen, and displaying a first preview interface in a preview area of the first editing interface, the first preview interface including a first preview wallpaper corresponding to the first wallpaper; the first editing interface further includes a fifth control for applying the first preview interface; and in response to a fifth selection operation of the user performing on the fifth control, applying the first preview interface in the first screen to display the first desktop.
[0018] The user can preview the effect of applying the smart layout to the inner screen or the outer screen in the desktop, and when the effect is satisfactory, the user can apply the previewed effect to the desktop.
[0019] In some embodiments, the first editing interface further includes a sixth control, the sixth control being configured to switch the preview interface of the first screen and the second screen, and the method further includes: receiving, in the first editing interface, a sixth selection operation performed by the user on the sixth control; and in response to the sixth selection operation, displaying, in the preview area of the first editing interface, a second preview interface, the second preview interface including a second preview wallpaper corresponding to the second wallpaper, the overlapping area of the desktop icon and the first target object in the first preview wallpaper in the first preview interface being lower than the overlapping area of the desktop icon and the second target object in the second preview wallpaper in the second preview interface.
[0020] The preview interface can be used to observe whether the desktop icon in the different desktops blocks the main object of the wallpaper, and the preview interface of the inner screen and the outer screen can be switched without applying, thereby facilitating the user to set and improving the user experience.
[0021] In some embodiments, the main part of the desktop icon in the first desktop and the first target object in the first wallpaper does not overlap, and the main part of the desktop icon in the fourth desktop and the second target object in the second wallpaper does not overlap.
[0022] When the number of desktop icons is relatively large, the main object in the wallpaper cannot be completely bypassed, and therefore, the desktop icons can be arranged only around the main part (key part), such as a face, a head of a person, or the like. The desktop icons can be arranged as much as possible without affecting the user to view.
[0023] In some embodiments, the other part of the desktop icon in the first desktop and the first target object in the first wallpaper at least partially overlaps, and the other part of the desktop icon in the fourth desktop and the second target object in the second wallpaper at least partially overlaps.
[0024] When the number of desktop icons is relatively large, the main object in the wallpaper cannot be completely bypassed, and therefore, the desktop icons can be arranged only around the key part, such as a face, a head of a person, or the like, and other parts, such as a body, an object carried, or the like, can be blocked. The desktop icons can be arranged as much as possible without affecting the user to view.
[0025] In some embodiments, the first interface is displayed on the first screen, including: displaying, in the first screen, a first setting pop-up window, the first setting pop-up window including a plurality of arrangement template options, the plurality of arrangement template options including a first arrangement template option; receiving a seventh selection operation performed by the user on the first arrangement template option; and in response to the seventh selection operation, displaying the first interface on the first screen.
[0026] The first arrangement template option is an option of intelligent arrangement around. The user can select the intelligent arrangement around in the pop-up window of the arrangement template.
[0027] In some embodiments, in response to the seventh selection operation, the first interface (the interface of the first setting pop-up window) is displayed on the first screen, including: the second interface is displayed on the first screen, the second interface being a lock screen interface; in response to a first double-finger pinch operation performed on the second interface, the third interface is displayed, the third interface being a lock screen editing interface; in response to a third sliding operation performed by the user in the third interface, the fourth interface is displayed, the fourth interface being a desktop editing interface, and the fourth interface including the seventh control; in response to an eighth selection operation of the user selecting the seventh control in the fourth interface, the first interface is displayed.
[0028] In some embodiments, in response to the seventh selection operation, the first interface (the interface of the first setting pop-up window) is displayed on the first screen, including: the second interface is displayed on the first screen, the second interface being a lock screen interface; in response to a first double-finger pinch operation performed on the second interface, the third interface is displayed, the third interface being a lock screen editing interface; in response to a third sliding operation performed by the user in the third interface, the fourth interface is displayed, the fourth interface being a desktop editing interface, and the fourth interface including the seventh control; in response to an eighth selection operation of the user selecting the seventh control in the fourth interface, the first interface is displayed.
[0029] The user can enter the intelligent bypass setting interface from the lock screen interface, or enter the intelligent bypass setting interface from the desktop, which is flexible and convenient for different user experiences.
[0030] In some embodiments, the first setting pop-up window further includes a tenth control corresponding to the first screen and the second screen; and in response to an eleventh selection operation of the user selecting the tenth control, the seventh desktop is displayed on the first screen and the eighth desktop is displayed on the second screen, the desktop icons in the seventh desktop do not overlap with the main part of the first target object in the first wallpaper, and the desktop icons in the eighth desktop do not overlap with the main part of the second target object in the second wallpaper.
[0031] In some embodiments, in response to the eleventh selection operation of the user selecting the tenth control, the seventh desktop is displayed on the first screen and the eighth desktop is displayed on the second screen, including: in response to the eleventh selection operation, the second editing interface is displayed on the first screen, the preview area of the second editing interface displays the third preview interface, the third preview interface includes the first preview wallpaper corresponding to the first wallpaper, and the second editing interface further includes an eleventh control, the eleventh control being used for applying the third preview interface. The second editing interface receives a twelfth selection operation of the user on the eleventh control; and in response to the twelfth selection operation, the seventh desktop is displayed on the first screen and the eighth desktop is displayed on the second screen.
[0032] The user can preview the desktops of the inner screen and the outer screen while avoiding the main object in the inner screen and the outer screen, and can see that the desktop icons do not block the main object or the main part of the main object, thereby improving the user experience.
[0033] In some embodiments, the second editing interface further includes a twelfth selection control, the twelfth selection control being configured to switch the preview interface of the first screen and the second screen, and the method further includes: receiving, in the second editing interface, a thirteenth selection operation performed by the user on the twelfth selection control; and in response to the thirteenth selection operation, displaying, in the preview area of the second editing interface, a fourth preview interface, the fourth preview interface including a second preview wallpaper corresponding to the second wallpaper, the desktop icons in the third preview interface and the main part of the first target object in the first preview wallpaper not overlapping, and the desktop icons in the fourth preview interface and the main part of the second target object in the second preview wallpaper not overlapping.
[0034] The user can preview the desktops of the inner screen and the outer screen while avoiding the main object in both the inner screen and the outer screen, and can see that the desktop icons do not block the main object or the main part of the main object, thereby improving the user experience.
[0035] In some embodiments, displaying the first desktop in the first screen includes: obtaining a plurality of candidate grids in the first screen; parsing the first wallpaper to obtain a first region, the first region being a region in which a first target object in the first wallpaper is distributed; determining a plurality of first-type grids that do not overlap the first region from the plurality of candidate grids; and arranging the desktop icons in the first screen in the plurality of first-type grids to display the first desktop.
[0036] In some embodiments, arranging the desktop icons in the first screen in the plurality of first-type grids to display the first desktop includes: if the number of the plurality of first-type grids is less than the number of the desktop icons in the first screen, parsing the first wallpaper to obtain a second region, the second region being a region in which a main part of the first target object in the first wallpaper is distributed; determining at least one second-type grid that is different from the plurality of first-type grids from the plurality of candidate grids, the at least one second-type grid overlapping the first region and not overlapping the second region; and arranging the desktop icons in the first screen in the plurality of first-type grids and the at least one second-type grid to display the first desktop, the desktop icons in the first screen and the second region not overlapping.
[0037] In some embodiments, in response to the eleventh selection operation of the user selecting the tenth control, displaying the seventh desktop in the first screen and the eighth desktop in the second screen includes: obtaining an intersection region of the first target object and the second target object;
[0038] The first screen is obtained, and a plurality of first candidate grids in the first screen are obtained. A plurality of first type grids which do not overlap with the intersection region are determined from the plurality of first candidate grids in the first screen. The desktop icons in the first screen are arranged in the plurality of first type grids in the first screen to display the seventh desktop. The second screen is obtained, and a plurality of second candidate grids in the second screen are obtained. A plurality of first type grids which do not overlap with the intersection region are determined from the plurality of second candidate grids in the second screen. The desktop icons in the second screen are arranged in the plurality of first type grids in the second screen to display the eighth desktop.
[0039] In some embodiments, the intersection region is a region in which a main part of the first target object and a main part of the second target object are located.
[0040] In some embodiments, the first screen is an inner screen, and the second screen is an outer screen. The first screen is a foldable screen, and an area of the first screen is larger than an area of the second screen.
[0041] In a second aspect, a desktop icon arrangement apparatus is provided, including a unit composed of software and / or hardware, and the unit is configured to execute any one of the methods in the technical solutions of the first aspect.
[0042] In a third aspect, an embodiment of the present application provides a chip, including a processor; the processor is configured to read and execute a computer program stored in a memory, so as to execute any one of the methods in the technical solutions of the first aspect.
[0043] Optionally, the chip further includes a memory, and the memory is connected to the processor through a circuit or a wire.
[0044] Further optionally, the chip further includes a communication interface.
[0045] In a fourth aspect, an electronic device is provided, and the electronic device includes a processor, a memory and an interface; the processor, the memory and the interface cooperate with each other, so that the electronic device executes any one of the methods in the technical solutions of the first aspect.
[0046] In a fifth aspect, an electronic device is provided, and the electronic device includes any one of the chips in the technical solutions of the third aspect.
[0047] Optionally, the electronic device can be a foldable screen device, and the foldable screen device includes a first screen and a second screen.
[0048] Optionally, the first screen is foldable.
[0049] In a sixth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. When the computer program is executed by a processor, the processor executes any one of the methods in the technical solutions of the first aspect.
[0050] In a seventh aspect, a computer program product is provided, which includes computer program codes, when the computer program codes are run on an electronic device, cause the electronic device to execute any one of the technical solutions of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0051] Fig. 1 is a structural schematic diagram of a terminal device 100 provided by an embodiment of the present application;
[0052] Fig. 2 is a software structure block diagram of the terminal device 100 provided by an embodiment of the present application;
[0053] Fig. 3 is a schematic diagram of an interface of entering a smart winding setting interface provided by an embodiment of the present application;
[0054] Fig. 4 is a schematic diagram of another example of entering a smart winding setting interface provided by an embodiment of the present application;
[0055] Fig. 5 is a schematic diagram of another example of entering a smart winding setting interface provided by an embodiment of the present application;
[0056] Fig. 6 is a schematic diagram of another example of entering a smart winding setting interface provided by an embodiment of the present application;
[0057] Fig. 7 is a schematic diagram of an interface of entering a setting interface of a blank layout provided by an embodiment of the present application;
[0058] Fig. 8 is a schematic diagram of an interface of entering a setting interface of a smart winding provided by an embodiment of the present application;
[0059] Fig. 9 is a schematic diagram of a setting pop-up window provided by an embodiment of the present application;
[0060] Fig. 10 is a schematic diagram of an interface of entering a setting interface of a smart winding provided by an embodiment of the present application;
[0061] Fig. 11 is a schematic diagram of another example of a setting interface of a smart winding provided by an embodiment of the present application;
[0062] Fig. 12 is a schematic diagram of a prompt pop-up window provided by an embodiment of the present application;
[0063] Fig. 13 is a schematic diagram of an inner screen desktop provided by an embodiment of the present application;
[0064] Fig. 14 is a schematic diagram of a grid and a main object in an outer screen desktop provided by an embodiment of the present application;
[0065] Fig. 15 is a schematic diagram of another example of a grid and a main object in an outer screen desktop provided by an embodiment of the present application;
[0066] Fig. 16 is a schematic diagram of an outer screen desktop provided by an embodiment of the present application;
[0067] FIG. 17 is a schematic diagram of another example of an outside screen desktop provided by embodiments of the present application;
[0068] FIG. 18 is a schematic diagram of another example of an inside screen desktop provided by embodiments of the present application;
[0069] FIG. 19 is a schematic diagram of another example of an inside screen desktop provided by embodiments of the present application;
[0070] FIG. 20 is a schematic diagram of another example of an inside screen desktop provided by embodiments of the present application;
[0071] FIG. 21 is a schematic diagram of another example of an inside screen desktop provided by embodiments of the present application;
[0072] FIG. 22 is a schematic diagram of another example of an inside screen desktop provided by embodiments of the present application;
[0073] FIG. 23 is a schematic diagram of a grid and a main body of another example of an inside screen and outside screen desktop provided by embodiments of the present application;
[0074] FIG. 24 is a schematic diagram of a grid and a main body of another example of an inside screen and outside screen desktop provided by embodiments of the present application;
[0075] FIG. 25 is a schematic diagram of a grid and a main body of another example of an inside screen desktop provided by embodiments of the present application;
[0076] FIG. 26 is a schematic diagram of a grid and a main body of another example of an inside screen desktop provided by embodiments of the present application;
[0077] FIG. 27 is a schematic diagram of a grid and a main body of another example of an inside screen and outside screen desktop provided by embodiments of the present application;
[0078] FIG. 28 is a schematic diagram of a grid and a main body of another example of an inside screen provided by embodiments of the present application;
[0079] FIG. 29 is a schematic diagram of a grid and a main body of another example of an inside screen provided by embodiments of the present application;
[0080] FIG. 30 is a schematic diagram of a grid and a main body of another example of an inside screen provided by embodiments of the present application;
[0081] FIG. 31 is a schematic diagram of an example of a desktop icon display device structure provided by embodiments of the present application. DETAILED DESCRIPTION
[0082] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" in this document only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0083] Hereinafter, the terms "first", "second", "third" are only for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second", "third" can explicitly or implicitly include one or more features.
[0084] The desktop icon arrangement method provided by the embodiments of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiments of the present application do not make any limitation on the specific type of terminal device.
[0085] Exemplarily, FIG. 1 is a structural schematic diagram of a terminal device 100 provided by an embodiment of the present application. The terminal device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a loudspeaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, and the like. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
[0086] It can be understood that the structure illustrated by the embodiments of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 can include more or fewer components than those illustrated, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0087] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), and the like. Different processing units can be independent devices, or can be integrated in one or more processors.
[0088] The controller can be the nerve center and command center of the terminal device 100. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of fetching instructions and executing instructions.
[0089] The processor 110 can also have a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can hold instructions or data that the processor 110 has just used or is using repeatedly. If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thus improving the efficiency of the system.
[0090] In some embodiments, the processor 110 can include one or more interfaces. The interface can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0091] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 can contain multiple sets of I2C buses. The processor 110 can be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 can be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the terminal device 100.
[0092] The external memory interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external storage card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, music, video, etc. files are saved in the external storage card.
[0093] The internal memory 121 can be used to store computer executable program codes including instructions. The processor 110 performs various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), and the like. The data storage area can store data (such as audio data, a phone book, etc.) created during the use of the terminal device 100, and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
[0094] The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch panel". The touch sensor 180K is used to detect a touch operation acting on or near the touch sensor 180K. The touch sensor 180K can transmit the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the terminal device 100, which is different from the position where the display screen 194 is located.
[0095] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 can also use different interface connection modes or a combination of multiple interface connection modes in the above embodiments.
[0096] The software system of the terminal device 100 can use a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiments of the present application take the Android system with a layered architecture as an example to illustratively describe the software structure of the terminal device 100.
[0097] FIG. 2 is a software structure block diagram of the terminal device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Android runtime and a system library, and a kernel layer. The application layer can include a series of application packages.
[0098] As shown in FIG. 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0099] The application framework layer provides application programming interface (API) and programming framework for the applications of the application layer. The application framework layer includes some pre-defined functions.
[0100] As shown in FIG. 2, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0101] The window manager is used to manage window programs. The window manager can acquire the size of the display screen, determine whether there is a status bar, lock the screen, and capture the screen, etc.
[0102] The content provider is used to store and acquire data, and make the data accessible by the applications. The data can include video, image, audio, dialed and received calls, browsing history and bookmarks, phonebook, etc.
[0103] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0104] The phone manager is used to provide the communication function of the terminal device 100. For example, the management of call state (including call connection, call hang-up, etc.).
[0105] The resource manager provides various resources for the applications, such as localized strings, icons, pictures, layout files, video files, etc.
[0106] The notification manager enables the applications to display notification information in the status bar. The notification manager can be used to convey messages of the notification type, which can automatically disappear after a short stay without user interaction.
[0107] The Android runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0108] The core library includes two parts: one part is the function function required to be called by the java language, and the other part is the core library of Android.
[0109] The application program layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application program layer and the application framework layer as binary files. The virtual machine is used to perform functions such as management of object life cycle, stack management, thread management, management of security and exceptions, and garbage collection.
[0110] The system library can include a plurality of functional modules. For example, a surface manager, media libraries, a three-dimensional graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc.
[0111] The surface manager is used to manage the display subsystem and provides fusion of 2D and 3D layers for a plurality of applications.
[0112] The media libraries support playback and recording of a plurality of commonly used audio, video formats, and still image files. The media libraries can support a plurality of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0113] The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, composition, and layer processing, etc.
[0114] The 2D graphics engine is a drawing engine for 2D drawing.
[0115] The kernel layer is a layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, audio drivers, and sensor drivers.
[0116] For ease of understanding, the following embodiments of the present application will take a terminal device having the structure shown in FIG. 1 and FIG. 2 as an example, and the desktop icon arrangement method provided by the embodiments of the present application will be specifically described in combination with the accompanying drawings and application scenarios.
[0117] With the development of terminal technology, the functions of terminal devices are becoming more and more powerful, and terminal devices are increasingly penetrating into people's work and life. People often install various application programs on terminal devices for use, such as chat applications, conference applications, navigation applications, shopping applications, video applications, etc. Each application program can display a corresponding icon on the desktop. When a user needs to use an application program, the user can click the icon of the application program on the desktop to start the application program.
[0118] In order to meet the needs of people's work and life, the number of applications installed on the terminal device is increasing, which leads to more and more icons (also known as desktop icons) on the desktop. When the number of icons on the desktop is large, the desktop will be full of icons, and even the icons will be arranged in multiple desktops. If the user also sets a desktop wallpaper on the desktop, the icons full of the desktop will block the desktop wallpaper. If the desktop wallpaper is an image containing a subject such as a portrait, a building or an animal, the user cannot view the complete subject on the desktop wallpaper, which leads to a decrease in experience.
[0119] If the user wants to view the complete subject on the desktop wallpaper at any time on the desktop of the terminal device, the user can manually drag the icons arranged in the region of the subject to other regions, so that the subject on the desktop wallpaper can be exposed. In this way, the user needs to manually move the icons one by one, which is relatively cumbersome and inefficient.
[0120] The embodiment of the present application provides an arrangement method of desktop icons, which can automatically avoid the subject on the desktop wallpaper, so that the subject on the desktop wallpaper can be exposed and will not be blocked by the desktop icons, thereby improving the user's experience of viewing the desktop. At the same time, the method can automatically avoid the subject on the desktop wallpaper by one key without the user's cumbersome operation, which is simple and efficient and improves the user's experience.
[0121] Next, the arrangement method of desktop icons provided by the embodiment of the present application is described in detail in combination with the drawings.
[0122] In the embodiment of the present application, the function of automatically avoiding the subject on the desktop wallpaper by the desktop icons is called intelligent arrangement. The ways in which the user enters the intelligent arrangement setting interface can include the following:
[0123] Method one: entering the intelligent arrangement setting interface from the lock screen interface.
[0124] As shown in a of FIG. 3, the interface after unlocking is displayed, and the lock screen wallpaper is displayed on the interface. The user can perform a double-finger pinch operation in the lock screen interface as shown in a of FIG. 3, and the terminal device enters an interface editing state in response to the double-finger pinch operation, and can display a lock screen editing interface as shown in b of FIG. 3. Alternatively, if the user directly performs a double-finger pinch operation in an interface that is not unlocked, the terminal device can first display a to-be-unlocked interface that requires the user to input a password and / or a fingerprint in response to the double-finger pinch operation. When the user inputs any one of a password, a fingerprint and a face to unlock in the to-be-unlocked interface, the terminal device can display the lock screen editing interface as shown in b of FIG. 3.
[0125] It should be noted that, as shown in b of FIG. 3, in response to the double-finger pinch operation, the terminal device can first display a thumbnail of the current lock screen and other historical lock screens, wherein the historical lock screen refers to a lock screen style saved by the user. The thumbnail of the current lock screen has an editing control, and in response to the operation of the user on the editing control, the terminal device can display a lock screen editing interface as shown in c of FIG. 3.
[0126] Optionally, the user can left and right slide in the lock screen editing interface as shown in b of FIG. 3 to select a previously used wallpaper. The user can also click the editing control in the lock screen editing interface as shown in b of FIG. 3, and in response to the operation of the user clicking the editing control, the terminal device can display the lock screen editing interface as shown in c of FIG. 3.
[0127] A return control can be displayed above the lock screen editing interface as shown in c of FIG. 3, and when the user clicks the return control, the terminal device can return to the lock screen interface; the lock screen editing interface can also display prompt information above, such as the word "lock screen"; the lock screen editing interface can also display a complete control above, and when the user clicks the "complete" control, the terminal device can apply the current settings, such as the modification of the lock screen style, the setting of the depth-of-field effect, etc., to the lock screen interface, and can also save the current settings as a historical lock screen.
[0128] The middle area of the lock screen editing interface is a preview area for previewing the lock screen effect set by the user. Optionally, the upper right of the preview area can also display a sharing control. The user can share the current lock screen interface as a picture to other application programs or devices by clicking the sharing control. The user can also click the display area of the clock in the preview area to modify the style, font, and color of the clock display.
[0129] The lower part of the lock screen editing interface also includes a menu bar, and the menu bar includes a plurality of tool controls, such as "lock screen style", "AI style", "personal decoration", and "depth-of-field effect". When the user clicks "lock screen style", the terminal device can display a plurality of candidate lock screen wallpapers and a plurality of lock screen interface templates for the user to select; when the user clicks "AI style", the terminal device can intelligently adapt the style of the lock screen interface; when the user clicks "personal decoration", the lock screen interface can be set according to personal preferences; when the user clicks "depth-of-field effect", the user can select whether the lock screen wallpaper displays the depth-of-field effect.
[0130] The user can also perform a left swipe operation in the lock screen editing interface as shown in c of FIG. 3, and the terminal device responds to the left swipe operation of the user to switch to the preview interface of the desktop while maintaining the interface editing state, that is, display the desktop editing interface, for example, as shown in d of FIG. 3.
[0131] The return control can be displayed above the desktop editing interface. When the user clicks the return control, the terminal device can return to the lock screen interface or return to the desktop. The desktop editing interface can also display prompt information that the current interface is a desktop editing interface, for example, the word "desktop". The desktop editing interface can also display a "complete" control. When the user clicks the "complete" control, the terminal device can apply the current settings, such as the theme of the desktop, the style of the wallpaper, and the like, to the desktop.
[0132] The middle area of the desktop editing interface is a preview area, which is used to preview the desktop interface.
[0133] The bottom of the desktop editing interface includes a theme card and a wallpaper card. The user can click the theme card to enter the theme setting interface to set the desktop theme, and can also click the wallpaper card to enter the desktop wallpaper selection interface to set the desktop wallpaper. Below the theme card and the wallpaper card, the desktop editing interface also includes a menu bar, which includes a plurality of tool controls, such as "icon style", "desktop arrangement", and "switching effect". When the user clicks "icon style", the terminal device can display a plurality of icon styles for the user to select, to set the style of the desktop icon; when the user clicks "switching effect", the terminal device can display a plurality of templates of the switching effect of the desktop for the user to select, to set the display effect when switching the desktop.
[0134] When the user clicks "desktop arrangement", in response to the user operation, the terminal device displays a plurality of arrangement templates of the desktop icon for the user to select. The arrangement template can include an icon of the intelligent arrangement option, which is also called intelligent arrangement. When the user clicks the icon of the arrangement template of the intelligent arrangement, the terminal device can automatically and intelligently arrange the desktop icon according to the wallpaper displayed on the desktop, which is not described here. Alternatively, the arrangement template can also include other arrangement modes for the user to select.
[0135] The user can continue to perform a left swipe operation in the desktop editing interface, and the terminal device can maintain the interface editing state and switch to display a system editing interface, as shown in FIG. 3e.
[0136] The return control can be displayed above the desktop editing interface. When the user clicks the return control, the terminal device can return to the lock screen interface or return to the desktop. The desktop editing interface can also display prompt information that the current interface is a desktop editing interface, for example, the word "desktop". The desktop editing interface can also display a "complete" control. When the user clicks the "complete" control, the terminal device can apply the current settings, such as the theme of the desktop, the style of the wallpaper, and the like, to the desktop.
[0137] The middle area of the desktop editing interface is a preview area, which is used to preview the desktop interface.
[0138] The toolbar below the system editing interface includes an icon for adjusting the rounded corners of the icons in the system interface. The user can drag the progress icon on the toolbar left and right to adjust the size of the rounded corners of the icons in the system interface. The user can also click the "follow icon" control in the toolbar, so that the size of the rounded corners of the card in the system interface follows the size of the rounded corners of the icon.
[0139] Method two: entering the smart layout from the desktop.
[0140] The user can perform a double-finger pinch operation in the desktop as shown in FIG. 4a. In response to the double-finger pinch operation, the terminal device enters an interface editing state, for example, displays the desktop editing interface as shown in FIG. 4b.
[0141] The middle area of the desktop editing interface is a preview area, which is used for previewing the desktop.
[0142] Optionally, when the user performs a double-finger pinch operation in the desktop, the preview area can preview the page of the desktop displayed when the double-finger pinch operation is performed, or can default to preview the first page of the desktop. The embodiments of the present application do not limit this. Optionally, the first page of the desktop is also referred to as the first-screen desktop. Optionally, at this time, the preview desktop displayed in the preview area of the desktop editing interface has the same arrangement of the desktop icons as the original desktop.
[0143] In the desktop editing interface shown in FIG. 4b, the desktop card icon, the personalization icon, and the desktop setting icon can be displayed below the interface. The user can click the desktop card icon to add or modify the card in the desktop. The user can also click the desktop setting icon to set the desktop layout, lock the layout, icon size, and other setting items. When the user clicks the personalization icon (for example, the controls of the magic cube personalization and the wallpaper), the terminal device can display the desktop editing interface as shown in FIG. 4c in response to the user operation. The desktop editing interface shown in FIG. 4c is the same as the content shown in FIG. 3d. The user can slide left and right in FIG. 4c to switch to the interface shown in FIG. 3c or e. Details are not described herein again.
[0144] Optionally, continuing to refer to FIG. 4, the desktop editing interface can further include theme card and wallpaper card below the desktop editing interface. The user can click the theme card to enter the theme setting interface to set the desktop theme, and can click the wallpaper card to enter the desktop wallpaper selection interface to set the desktop wallpaper. Below the theme card and the wallpaper card, the desktop editing interface can further include a menu bar, and the menu bar can include a plurality of tool controls, such as “icon style”, “desktop arrangement” and “switching effect”. When the user clicks “icon style”, the terminal device can display a plurality of icon styles for the user to select; when the user clicks “switching effect”, the terminal device can display a plurality of templates of the switching effect of the desktop for the user to select, and set the display effect when switching the desktop.
[0145] Optionally, continuing to refer to FIG. 4, the desktop editing interface can further include a plurality of setting controls below the desktop editing interface, which are used to set different setting items. For example, as shown in FIG. 4c, the icon style control, the desktop arrangement control and the switching effect control. The user can click the icon style control to set the style of the desktop icon, and can click the switching effect to set the display effect of the desktop. When the user clicks any one of the setting controls to enter the corresponding setting item, if the desktop includes multiple pages, the user can further swipe left and right to switch the desktops of different pages. For example, the user swipes left in the preview interface of the first page of the desktop as shown in FIG. 4d, and the preview area switches to the preview interface of the second page of the desktop, for example, as shown in FIG. 4e. When the preview area displays the last page of the desktop, the user continues to swipe the screen once, and the terminal device displays the control of adding a page of the desktop, for example, “+”, in the preview area, as shown in FIG. 4e. When the user clicks the control of adding a page of the desktop, the terminal device adds a page of the desktop.
[0146] Different from FIG. 4c, the desktop editing interface shown in FIG. 4d can display prompt information prompting the user to adjust the order of the desktop, for example, the words “drag the page to change the order of the page”. The user can drag the page to adjust the order of the desktops of different pages.
[0147] When the user clicks “desktop arrangement” in the interface as shown in FIG. 4c, in response to the user operation, the terminal device displays a plurality of arrangement templates of the desktop icons for the user to select, and the arrangement templates can include intelligent arrangement. When the user clicks the icon of the arrangement template of intelligent arrangement, the terminal device can intelligently arrange the desktop icons, which is not described herein. Optionally, the arrangement templates can further include other arrangement modes for the user to select.
[0148] No matter which page of the desktop is displayed in the preview desktop interface, when the user clicks on the "desktop arrangement", the terminal device displays a plurality of desktop icon arrangement templates for the user to select in response to the user operation, and the arrangement templates can include intelligent winding arrangement. The user can enter the intelligent winding arrangement by clicking on the icon style corresponding to the intelligent winding arrangement.
[0149] Method three: entering the intelligent winding arrangement from the settings.
[0150] The user can open the settings and enter the settings -> desktop and personalization -> desktop settings -> desktop arrangement -> intelligent winding arrangement and the like in sequence, so as to enter the intelligent winding arrangement.
[0151] Method four: entering the intelligent winding arrangement through search.
[0152] After the user unlocks the terminal device, the user performs a right swipe operation in the desktop as shown in FIG. 5a. The terminal device displays a minus one screen interface as shown in FIG. 5b in response to the user's right swipe operation on the first page of the desktop. The user can input the keyword "desktop arrangement" in the search bar of the minus one screen interface to perform a global search, so as to search for the desktop arrangement and enter the intelligent winding arrangement from the desktop arrangement.
[0153] Method five: entering the intelligent winding arrangement through voice wake-up.
[0154] The user can input a related voice such as "open desktop arrangement" through voice input when the terminal device is turned on the voice wake-up function, so as to open the desktop arrangement and enter the intelligent winding arrangement from the desktop. Referring to FIG. 6, when the user speaks the voice of "open desktop arrangement", the terminal device can recognize the text corresponding to the voice and display it in the interface. When the user stops inputting the voice, the terminal device can open the desktop arrangement setting interface, and then enter the intelligent winding arrangement.
[0155] No matter which method is used to enter the intelligent winding arrangement, the terminal device can display the setting interface of the desktop arrangement when the user clicks on the control of "desktop arrangement" (such as "desktop arrangement" in the interface shown in FIG. 3d and the interface shown in FIG. 4c), for example, as shown in FIG. 7a.
[0156] In the setting interface of the desktop arrangement, the middle area is a preview area for previewing the arranged desktop. The user can swipe left and right to switch the desktop previewed in the preview area. Alternatively, the terminal device can default to preview the first page of the desktop or the page of the desktop displayed before the setting interface of the desktop arrangement is entered when the user clicks on the control of "desktop arrangement". In the editing interface of the desktop arrangement, a pop-up window can also be displayed below, and the pop-up window includes options of different arrangement methods.
[0157] In some embodiments, the pop-up window can include two tabs, a layout template tab and a history layout tab. The content or options corresponding to the selected tab can be displayed below the tab. When the pop-up window is popped up, the layout template tab can be selected by default. When the layout template tab is selected, the electronic device can display the options of a plurality of different layout templates and the names of the corresponding layout templates in the pop-up window. For example, the options of the layout templates can be represented by the thumbnails of the layout effects of the layout templates. The options of the layout templates can include, but are not limited to, a blank layout, a classification layout, a color layout, and a smart layout. Each option of the layout templates corresponds to a layout rule. The user can select any option of the layout templates in the layout template tab to apply the corresponding layout mode. Alternatively, the user can also swipe left or right in the pop-up window to switch to display the options of other layout templates that are not shown and the corresponding names, and then select the option to be selected and apply it.
[0158] For example, the user can perform the operation as shown in FIG. 7a to select the blank layout.
[0159] In response to the operation of the user selecting the blank layout, the terminal device can display the preview interface of the blank layout in the preview area as shown in FIG. 7b. Alternatively, when the user selects the option of the blank layout, the terminal device can display the save control in the preview interface as shown in FIG. 7b. Alternatively, the save control can display the word “Save Current Layout” on it. Alternatively, when the user clicks the save control of “Save Current Layout”, the save control will disappear and no longer be displayed. Alternatively, during the process of the save control disappearing, the terminal device can also display the dynamic effect indicating the disappearance of the save control, for example, display the dynamic effect of the save control flying out of the interface, or display the dynamic effect of the save control shrinking and disappearing, etc. When the user clicks the save control, the layout template selected by the user can also be saved in the history layout record. If the user opens the history layout tab, the user can see that the pop-up window displays the option of the layout template saved by the user.
[0160] When the user clicks the "Apply" control in the interface as shown in FIG. 7b, a white space arranged prompt pop-up window can be popped up, for example, as shown in FIG. 7c. The user can click the "Cancel" control in the white space arranged prompt pop-up window to cancel the currently selected white space arrangement. Alternatively, the terminal device can return to the interface as shown in FIG. 7b. The user can also click the "Confirm" control to apply the selected white space arrangement. Alternatively, when the user clicks the "Confirm" control, the terminal device can display a dynamic effect in the application as shown in FIG. 7d, for indicating that the currently selected arrangement mode is being applied. After the dynamic effect is played, the terminal device can display the arranged desktop or return to the interface before the arrangement, which is not limited by the embodiments of the present application. Alternatively, if the user clicks another arrangement template and clicks the "Apply" control, the terminal device can also determine whether the arrangement template selected by the user is the first arrangement. If yes, the prompt pop-up window corresponding to the arrangement template can be displayed, for prompting the user of the function of the arrangement template.
[0161] When the user wants to arrange the desktop icons by using the intelligent winding arrangement mode, the user can slide left and right in the pop-up window (for example, right sliding is illustrated in FIG. 8a), and the intelligent winding arrangement option can be called out in the pop-up window, for example, as shown in FIG. 8b. Alternatively, the save control can also be displayed in FIG. 8b, for saving the arrangement mode selected by the user. The user can also click the save control as shown in FIG. 8b, so as to save the intelligent winding arrangement result in the historical arrangement. Alternatively, when the user selects the intelligent winding arrangement option in the pop-up window as shown in FIG. 8b, the terminal device can display the preview interface of the desktop icons after the intelligent winding arrangement in the preview area, for example, as shown in FIG. 8c.
[0162] When the user determines to use the intelligent winding arrangement mode, the user can click the "Apply" control in the interface as shown in FIG. 8c. Then the terminal device can arrange the desktop icons intelligently, for example, display the desktop after the rearrangement of the desktop icons as shown in FIG. 8d. Alternatively, when the user selects the cancel control in the interface as shown in FIG. 8c, the terminal device can return to the previous interface or display the pop-up window as shown in FIG. 7c.
[0163] In the pop-up window, a label of historical arrangement as shown in FIG. 8(c) is also displayed. The user can click the label of historical arrangement in FIG. 8(c), and the terminal device displays a historical arrangement tab (not shown in the figure). The historical arrangement tab can include options of various saved and used arrangement templates and corresponding names. Alternatively, the historical arrangement tab can also display the number of times of use and the time of use of the used arrangement templates. Alternatively, in the historical arrangement tab, the options of arrangement templates can be arranged in the order from recent to old, or in the order from most to least used. The user can select a previously used arrangement template in the historical arrangement tab to arrange the desktop icons.
[0164] The above-mentioned FIG. 7 and FIG. 8 take the example of displaying icons of two arrangement templates in the pop-up window. Alternatively, the pop-up window can also display options of three arrangement templates and corresponding names. FIG. 9 is a schematic diagram of a pop-up window displaying three arrangement templates. Alternatively, the pop-up window can also display options of more arrangement templates and corresponding names, which will not be described herein. Alternatively, when the number of arrangement templates in the pop-up window is too large, the pop-up window can only display icons of the arrangement templates without displaying the names, or only display the names without displaying the icons.
[0165] Alternatively, after the user selects the option of intelligent arrangement, the terminal device can analyze the wallpaper and display a preview interface, for example, as shown in FIG. 10(a). The user can click the application control in FIG. 10(a), and the terminal device determines whether it is the first time to use the intelligent arrangement in response to the user operation. If the terminal device determines that it is not the first time to use the intelligent arrangement, the terminal device can not display a prompt pop-up window of intelligent arrangement, and directly arranges the desktop icons according to the intelligent arrangement. If the terminal device determines that it is the first time to use the intelligent arrangement, the terminal device can display a prompt pop-up window of intelligent arrangement as shown in FIG. 10(b). The prompt pop-up window can display a template icon of intelligent arrangement, and can also display a template name of intelligent arrangement. Alternatively, the prompt pop-up window can also display an introduction of intelligent arrangement to inform the user of the function of intelligent arrangement.
[0166] Optionally, still referring to b of FIG. 10, the prompt pop-up window of the intelligent arrangement can further display a details control and a confirm control. The details control can display the text of "view details". When the user clicks the details control, the interface of the terminal device can jump to a details page related to the intelligent arrangement in the game playing skills. The details page can display detailed text introduction, operation guidance and arrangement effect of the intelligent arrangement function. The confirm control can display the text of "I know". When the user clicks the confirm control, the terminal device can enter the process of applying the intelligent arrangement. Specifically, the process of applying the intelligent arrangement includes: first analyzing the wallpaper to identify the subject in the wallpaper; and then arranging the desktop icons according to the rule of avoiding the subject, so that the desktop icons do not block the subject of the wallpaper. After the desktop icons are arranged, the terminal device can display the desktop and display the rearranged desktop icons on the desktop.
[0167] Optionally, when the user clicks the confirm control of "I know" in b of FIG. 10, the terminal device can display the dynamic effect of analyzing the wallpaper in the preview area as shown in a of FIG. 11. After analysis, the terminal device can pop up the prompt pop-up window as shown in b of FIG. 11. When the user clicks the confirm control in the prompt pop-up window in b of FIG. 11, the terminal device can display the dynamic effect of applying the currently selected arrangement mode in the screen in response to the user operation of applying the intelligent arrangement as shown in c of FIG. 11. After the arrangement mode is applied, the terminal device can automatically jump to the desktop. The user can see that the desktop icons in the desktop are arranged in a manner of avoiding the subject in the wallpaper, for example, as shown in d of FIG. 11. Optionally, after the arrangement mode is applied, the terminal device can not return to the desktop, but return to the previous interface, and the user can continue to perform other settings in the previous interface.
[0168] Optionally, when the terminal device displays the prompt pop-up window as shown in b of FIG. 11, the terminal device can display different pop-up window contents according to the current arrangement mode. For example, the display mode of the prompt pop-up window can include the following three cases:
[0169] Case one: when the terminal device determines that the currently selected arrangement mode is not the original arrangement mode, and the user has not saved the current arrangement mode.
[0170] For example, when the terminal device judges that the currently selected smart winding arrangement is not the original arrangement (for example, a white space arrangement), and the user has not saved the arrangement of the smart winding arrangement before, the terminal device can display a prompt pop-up window as shown in FIG. 12a. The user can cancel the application of the smart winding arrangement by clicking the cancel control in the prompt pop-up window, and can also apply the smart winding arrangement by clicking the confirm control. Alternatively, the user can also check the option of "save the desktop arrangement before the change" in the prompt pop-up window and click the confirm control. In response to the user operation, the terminal device can save the original arrangement in the history arrangement.
[0171] Case two: when the terminal device judges that the currently selected arrangement is not the original arrangement, and the user has actively saved the current arrangement.
[0172] For example, when the terminal device judges that the currently selected smart winding arrangement is not the original arrangement (for example, a white space arrangement), and the user has saved the arrangement of the smart winding arrangement before (for example, has clicked the "save current arrangement" control shown in FIG. 8a), the terminal device can display a prompt pop-up window as shown in FIG. 12b. The user can click the confirm control in the prompt pop-up window to apply the smart winding arrangement.
[0173] Case three: when the terminal device judges that the currently selected arrangement is the original arrangement.
[0174] For example, when the terminal device judges that the currently selected smart winding arrangement is the original arrangement, and the user has saved the arrangement of the smart winding arrangement before, the terminal device can display a prompt pop-up window as shown in FIG. 12c. The user can cancel the application of the smart winding arrangement by clicking the cancel control in the prompt pop-up window, and can also click the confirm control to apply the smart winding arrangement again.
[0175] Regardless of the prompt pop-up window displayed by the terminal device, the user can cancel the application of the new arrangement by clicking the cancel control in the prompt pop-up window. After cancellation, the terminal device can return to the previous interface. The user can also click the confirm control in the prompt pop-up window to apply the selected arrangement.
[0176] Alternatively, when the user selects other arrangements, the terminal device can also display the content corresponding to the other arrangements according to the currently selected arrangement. Details are not described herein.
[0177] Next, the terminal device describes how to perform the smart winding process. First, the terminal device needs to parse the wallpaper. The process of parsing the wallpaper includes: the terminal device can use a main body cutout model to identify the wallpaper picture, so as to identify the main object in the wallpaper, which is called the main object.
[0178] It should be noted that the subject matter in the wallpaper can include, but is not limited to, one or more of the following types: a person, an animal, a building, a natural scenery, an article, etc. The subject cutout model is an artificial intelligence model. The subject cutout model trained can recognize the subject matter in the image. The specific type of the model is not limited in the present application. For example, if the picture is a photo of a person dancing by a lake, the subject cutout model can recognize that the subject matter of the picture is the dancing person; if the picture is a photo of a cat lying on a bed, the subject cutout model can recognize that the subject matter of the picture is the cat; if a picture is an airplane in the sky, the subject cutout model can recognize that the subject matter of the picture is the airplane.
[0179] The terminal device can divide the desktop area into a plurality of grids, and each grid can be arranged with a desktop icon. Figure 13a is a schematic diagram of a grid distribution obtained by the desktop area of the terminal device.
[0180] Figure 13b is an example of a wallpaper picture. As can be seen in Figure 13b, the subject matter 1301 occupies a certain area. When the user has not performed intelligent arrangement, the arrangement of the desktop icons on the desktop of the terminal device can be as shown in Figure 13c. As can be seen in Figure 13c, the subject matter is partially blocked by the desktop icons and cannot be completely displayed.
[0181] When the user enables intelligent arrangement, the terminal device parses the wallpaper to obtain a subject mask corresponding to the subject matter, for example, as shown in Figure 14a. The terminal device can calculate the intersection of the subject mask and all grids, for example, by judging whether each grid overlaps with the area of the subject matter in the subject mask. Thus, the grids overlapping with the area of the subject matter can be screened out. If a grid overlaps with the area of the subject matter, the terminal device determines that the grid cannot arrange a desktop icon; if a grid does not overlap with the area of the subject matter, the terminal device determines that the grid can arrange a desktop icon. As can be seen in Figure 14b, the black grid is the grid overlapping with the subject matter, that is, the grid that needs to be avoided by the desktop icon, and the white grid does not overlap with the subject matter, that is, the grid that does not need to be avoided by the desktop icon.
[0182] For the convenience of description, in the embodiments of the present application, the grid capable of arranging the desktop icons is referred to as the first type of grid, and the grid incapable of arranging the desktop icons and needing to be avoided is referred to as the second type of grid. In FIG. 14, the grid shown by the solid line is the first type of grid, and the grid shown by the dashed line is the second type of grid. After the terminal device performs the intelligent circumventing arrangement, the desktop icons can be arranged in the first type of grid in turn, that is, the second type of grid is avoided to arrange. FIG. 14(d) is a schematic diagram of the distribution of the desktop icons after the intelligent circumventing arrangement. As can be seen from FIG. 14(d), the desktop icons are distributed around the main object, so that the main object can be displayed in the desktop and is not blocked by the desktop icons, and the user experience is improved.
[0183] In some cases, only a small part of some grids may overlap with the main object, and if it is directly determined as the second type of grid, the number of the first type of grid may be too small, and the desktop icons cannot be arranged. Based on this, the terminal device can also calculate the overlapping area of each grid and the main object. For a grid, if the ratio of the overlapping area of the grid and the main object to the area of the grid is greater than or equal to a preset first percentage, it can be considered that the grid blocks the main object more, and the terminal device can determine that the grid is the second type of grid; if the ratio of the overlapping area of the grid and the main object to the area of the grid is less than the preset first percentage, it can be considered that the grid blocks the main object less, and the terminal device can determine that the grid is the first type of grid. Optionally, the preset first percentage can be forty percent, fifty percent, sixty percent, and the like, and the embodiments of the present application do not limit this.
[0184] Optionally, the terminal device can also perform a first screening on all the grids, and count the number of the first type of grid as a first number. In the first screening process, the terminal device can count the grids that do not overlap with the area of the main object at all as the first type of grid, or count the grids whose overlapping area with the main object is less than a preset first percentage as the first type of grid. If the first number of the first type of grid obtained after the first screening is less than the number of the desktop icons, the terminal device can also re-identify the wallpaper and re-screen to obtain the third type of grid. The third type of grid is part of the second type of grid. Here, the third type of grid is first described: the third type of grid is the grid overlapping with the main region of the main object. For example, when the main object is a person, the grid overlapping with the face region is the third type of grid; when the main object is an animal, the grid overlapping with the head region of the animal is the third type of grid. After the terminal device identifies the third type of grid, the desktop icons can be arranged in the first type of grid and the second type of grid that is not the third type of grid in turn, that is, only the region of the face and the like is avoided to arrange.
[0185] For example, as shown in FIG. 15, after the terminal device performs the first screening on the grid, the terminal device obtains the first number of the first type of grid as 13 (the four icons corresponding to the solid line icons and the unshown empty area in the figure). As shown in FIG. 15a, the icons shown by the dashed line are the second type of grid, and the number is 6. In the desktop shown in FIG. 15a, the number of the desktop icons to be arranged is 16, and the first number of the first type of grid is less than 16. That is, the first type of grid cannot accommodate all the desktop icons. Based on this, the terminal device re-identifies the wallpaper and screens out the third type of grid in which the face area overlaps. The icons shown by the dashed line in FIG. 15b are the third type of icons. Based on this, the terminal device can arrange the desktop icons in the remaining grids except the third type of icons, and FIG. 15c is a schematic diagram of the desktop in which the third type of icons corresponding to the face area are avoided.
[0186] Optionally, if the number of the desktop icons in the current page of the desktop is relatively large, for example, the desktop icons have filled the current page of the desktop, or the number of the desktop icons is greater than the number of the remaining grids except the third type of grid, the terminal device cannot avoid the third type of grid no matter how the desktop icons are arranged. Based on this, when the user selects the intelligent arrangement, the terminal device can automatically increase the number of the pages of the desktop and arrange the remaining desktop icons that cannot be arranged in the current page of the desktop in the newly added page of the desktop.
[0187] Optionally, when the terminal device determines that the third type of grid cannot be avoided, the terminal device can no longer rearrange the desktop icons and still display the desktop according to the previous arrangement. Alternatively, when the terminal device determines that the third type of grid cannot be avoided, the terminal device can display a prompt information in the interface to prompt the user that the intelligent arrangement is not normally performed, for example, the prompt words such as "the face area cannot be avoided" or "the intelligent arrangement fails".
[0188] Optionally, when the number of the second type of grid is less than the number of the desktop icons, after the terminal device identifies the third type of grid, the terminal device can first arrange the desktop icons in the first type of grid one by one, and then arrange the remaining desktop icons that are not arranged in the second type of grid. In this way, the main part of the subject can be ensured not to be blocked, and other parts of the subject can be displayed as much as possible, so that the user can watch as many desktop subject as possible, and the user experience is improved.
[0189] Optionally, after the terminal device acquires the first quantity of the first type of grids by using the above method, if the first quantity is less than the quantity of the desktop icons, the terminal device can arrange the desktop icons in the first type of grids first. Then, the terminal device queries the quantity of the first type of grids without the desktop icons in each row and each column of grids. If the quantity of the empty grids in a row or a column of non-first type of grids is less than a preset second percentage or a preset quantity threshold, the desktop icons can be arranged in the first type of grids automatically. This process can be referred to as empty grid filling, which can fill the relatively scattered empty grids and improve the arrangement effect of the desktop icons.
[0190] For example, if the quantity of the first type of grids is 10 and the quantity of the desktop icons is 12, the terminal device can check the empty grids in each row and each column of grids row by row and column by column. In the desktop shown in FIG. 16a, the terminal device determines that there is one empty grid (the grid shown by the dashed line in the figure) without the desktop icons in the first column on the left (the leftmost column) and the first column on the right (the rightmost column). That is, in the leftmost column, the quantity of the empty grids of the non-first type of grids is 1, which is less than the preset quantity threshold of 2; in the rightmost column, the quantity of the empty grids of the non-first type of grids is 1, which is also less than the preset quantity threshold of 2. The terminal device can fill the two empty grids, that is, arrange the desktop icons in the two empty grids. After filling, the arrangement of the desktop icons can be as shown in FIG. 16b.
[0191] Optionally, before the terminal device arranges the desktop icons in the empty grids, the terminal device can first determine whether the empty grids overlap with the face region. If yes, the empty grids will not be filled; if no, the desktop icons can be arranged in the empty grids. That is, the desktop icons are always arranged away from the key parts such as the face region. In this way, more desktop icons can be arranged without blocking the main parts of the subject, thereby avoiding affecting the user experience.
[0192] It should be noted that the second percentage can be a value less than or equal to 50%, such as 30%, 40%, or 50%, which is not limited in the embodiments of the present application. Optionally, when the terminal device calculates based on each row of grids, the preset quantity threshold can be half or a value less than half of the quantity of the grids in a row, for example, when there are four grids in each row, the preset quantity can be 1 or 2; when the terminal device calculates based on each column of grids, the preset quantity threshold can be half or a value less than half of the quantity of the grids in a column, for example, when there are five grids in each column, the preset quantity can be 1, 2, or other values.
[0193] The foregoing mainly describes the detailed process of intelligent circumventing for the desktop icons of a single-screen terminal device including only one screen. When the terminal device is a dual-screen device including two screens, for example, the terminal device is a foldable screen device including an inner screen and an outer screen, the terminal device can also intelligently circumvent the desktop of any one or both of the inner screen and the outer screen. The user can operate the inner screen to enter the intelligent circumventing setting interface or operate the outer screen to enter the intelligent circumventing setting interface. Regardless of whether the user operates the inner screen or the outer screen, the way of entering the intelligent circumventing setting interface can refer to the foregoing description of various ways, which will not be described here.
[0194] The inner screen of the foldable screen device has a larger size, and the outer screen has a smaller size. In some cases, the size of the inner screen is about twice the size of the outer screen. Taking the user operating the outer screen as an example, after the user determines to use intelligent circumvention, for example, after selecting the option of intelligent circumvention in the interface as shown in FIG. 17a, the terminal device can also pop up a setting pop-up window as shown in FIG. 17b.
[0195] Alternatively, if the user operates in the inner screen, the terminal device can refer to the interface as shown in FIG. 18. FIG. 18a is a schematic diagram of displaying an intelligent circumventing setting interface in the inner screen. After the user selects the option of intelligent circumvention in the interface as shown in FIG. 18a, the terminal device can also pop up a setting pop-up window as shown in FIG. 18b.
[0196] Regardless of whether the user sets intelligent circumvention in the outer screen or in the inner screen, the terminal device has the same effect of arranging desktop icons. The following describes an example in which the user sets intelligent circumvention in the inner screen.
[0197] As shown in FIG. 18b, the setting pop-up window includes a wallpaper setting area and a screen setting area. As shown in FIG. 18b, the wallpaper setting area can be used to select whether the wallpaper to be circumvented is the inner screen wallpaper, the outer screen wallpaper, or the inner screen wallpaper + outer screen wallpaper. Alternatively, the wallpaper setting area can display a prompt text of “Select the wallpaper to be avoided”. Below the prompt text includes the option of the outer screen wallpaper, the option of the inner screen wallpaper, and the option of circumventing the inner and outer screens at the same time, and the corresponding text. If the user wants to avoid the wallpaper of the outer screen, the user can select the option of “outer screen wallpaper”; if the user wants to avoid the wallpaper of the inner screen, the user can select the option of “inner screen wallpaper”; if the user wants to avoid the wallpaper of the inner screen and the outer screen, the user can select the option of “circumvent the inner and outer screens at the same time”.
[0198] In the screen setting area, the wallpaper application that needs to be intelligently arranged can be selected, that is, the desktop range of the wallpaper application that needs to be intelligently arranged is selected. Optionally, the user can select the first page desktop (that is, the home screen), other desktops (desktops other than the home screen), and all desktops (all screens including the home screen and other desktops). Optionally, the screen setting area can display a prompt text of "screen range in which the arrangement mode takes effect". Below the prompt text, options for applying different screen ranges are included, for example, an option of all screens, an option of other than the home screen, and an option of the home screen and corresponding texts. If the user wants to intelligently arrange the first page desktop (that is, the home screen), the option of the home screen can be selected. If the user wants to intelligently arrange the desktops other than the home screen, the option of other than the home screen can be selected. If the user wants to intelligently arrange all desktops (that is, all screens), the option of all screens can be selected. In the implementation mode, the screen corresponds to a desktop, rather than a physical screen such as an inner screen and an outer screen.
[0199] Optionally, if the user operates on the outer screen, that is, the interface is an interface of the outer screen, the terminal device defaults to selecting the "outer screen wallpaper" control in the setting pop-up window as shown in FIG. 17b. If the user operates on the inner screen, that is, the setting pop-up window is displayed on the inner screen, the terminal device defaults to selecting the "inner screen wallpaper" control in the setting pop-up window as shown in FIG. 18b. Optionally, in the setting pop-up window, the "all screens" control can also be selected by default in the screen setting area. When the user clicks the application control, the intelligent arrangement is applied to the inner screen and / or the outer screen and the desktop.
[0200] Optionally, when the user operates on the outer screen and selects to intelligently arrange the outer screen, that is, the outer screen wallpaper is selected in the outer screen, the arrangement mode of the intelligent arrangement can refer to the related description of the single-screen device in the foregoing. That is, the terminal device analyzes the outer screen wallpaper, and arranges the desktop icons to avoid the main body of the outer screen wallpaper on the desktop of the outer screen.
[0201] Optionally, when the user operates on the inner screen and selects to intelligently arrange the inner screen, that is, the user selects the inner screen wallpaper and the option of all screens in the setting pop-up window as shown in FIG. 18b, in response to the selection operation of the user, the terminal device can analyze the inner screen wallpaper, and display the dynamic effect of the analyzed wallpaper in the preview area of the inner screen. After the analysis is completed, the terminal device can display the preview interface as shown in FIG. 19a in the preview area of the inner screen. In FIG. 19a, the desktop icons are arranged to avoid the person in the inner screen wallpaper, and the user can see the complete person.
[0202] On the preview interface as shown in FIG. 19a, the user can click the apply control. In response to the user operation, the inner screen displays an animation of the application arrangement result, and then directly displays the desktop of the arranged inner screen. Alternatively, the user can also click the back control on the preview interface as shown in FIG. 19a. In response to the user operation, the terminal device can return to the previous interface, so as to facilitate the user to continue other settings.
[0203] Alternatively, the interface as shown in FIG. 19a further includes an inner-outer screen switching control. When the user clicks the inner-outer screen switching control in the interface as shown in FIG. 19a, the terminal device displays the display effect of the current arrangement result applied in the outer screen, for example, as shown in FIG. 19b, the desktop icons will block part of the characters in the outer screen wallpaper. As can be seen from FIG. 19b, the wallpapers of the inner screen and the outer screen are different, and the shapes and positions of the main objects in the two are also different. Therefore, when the desktop icons arranged based on the inner screen wallpaper are applied in the outer screen, the main object in the outer screen wallpaper may be blocked by the desktop icons and cannot be completely displayed.
[0204] When the user selects the option of the outer screen wallpaper and the option of all screens in the setting pop-up window as shown in FIG. 18b, in response to the user selection operation, the terminal device can parse the outer screen wallpaper and display the dynamic effect of the parsed wallpaper in the preview area in the inner screen. After parsing is completed, the terminal device can display the preview interface as shown in FIG. 20a in the preview area of the inner screen. In FIG. 20a, the desktop icons are arranged away from the characters in the outer screen wallpaper, and the user can see the complete characters in the first page of the desktop and the second page of the desktop.
[0205] On the preview interface as shown in FIG. 20a, the user can click the apply control. In response to the user operation, the inner screen displays an animation of the application arrangement result, and then directly displays the desktop of the arranged outer screen. Alternatively, the user can also click the back control on the preview interface as shown in FIG. 20a. In response to the user operation, the terminal device can return to the previous interface, so as to facilitate the user to continue other settings.
[0206] Alternatively, when the user clicks the inner-outer screen switching control in the interface as shown in FIG. 20a, the terminal device can display the display effect of the current arrangement result applied in the inner screen, for example, as shown in FIG. 20b, the desktop icons will block part of the characters in the inner screen wallpaper. As can be seen from FIG. 20b, the wallpapers of the inner screen and the outer screen are different, and the shapes and positions of the main objects in the two are also different. Therefore, when the desktop icons arranged based on the outer screen wallpaper are applied in the inner screen, the main object in the inner screen wallpaper may be blocked by the desktop icons and cannot be completely displayed.
[0207] When the user taps the option of simultaneous around arrangement of the inner and outer screens and the option of all screens in the setting pop-up window as shown in FIG. 18b, the terminal device can parse the outer screen wallpaper and display the dynamic effect of the parsed wallpaper in the preview area in the inner screen. After the parsing is completed, the terminal device can display the preview interface as shown in FIG. 21a in the preview area in the inner screen. In FIG. 21a, the desktop icons are arranged away from the person in the outer screen wallpaper and the person in the inner screen wallpaper, and the user can see the complete person in the first page of the desktop and the second page of the desktop.
[0208] The user can click the application control above the preview interface as shown in FIG. 21a, and the inner screen displays the animation of the application arrangement result and then directly displays the desktop of the arranged outer screen in response to the user operation. Alternatively, the user can click the back control above the preview interface as shown in FIG. 21a, and the terminal device returns to the previous interface in response to the user operation, so that the user can continue to perform other settings.
[0209] It should be noted that in the above FIG. 21a, the preview area can display the display effect of the current arrangement result applied in the inner screen by default.
[0210] Alternatively, when the user clicks the inner and outer screen switching control in the interface as shown in FIG. 21a, the terminal device can display the display effect of the current arrangement result applied in the outer screen, for example, as shown in FIG. 21b, the desktop icons are arranged away from the person in the inner screen wallpaper. As can be seen from FIG. 21b, the wallpapers of the inner and outer screens are different, and the shapes and positions of the main objects in the two are also different. Therefore, in the desktop arranged based on the simultaneous around arrangement of the inner and outer screens, the main object in the wallpaper will not be blocked by the desktop icons whether the desktop icons are applied in the inner screen or the outer screen, and can be completely displayed.
[0211] If the user is operating in the outer screen, for example, after the user taps the option of simultaneous around arrangement of the inner and outer screens and the option of all screens in the setting pop-up window as shown in FIG. 17b and then clicks the application control. In response to the user's selection operation, the terminal device can display the display effect of the current arrangement result applied in the outer screen in the preview area in the outer screen by default.
[0212] Alternatively, if the user selects the option of simultaneous around arrangement of the inner and outer screens and the option of the first screen in FIG. 18b, the terminal device can apply the arrangement result only to the first screen for preview, for example, as shown in FIG. 22a. As can be seen from the figure, in the first page of the desktop (the first screen), the desktop icons are arranged away from the person in the inner screen wallpaper, while in the second page of the desktop, the desktop icons are not rearranged and may block the person in the inner screen wallpaper.
[0213] Optionally, when the user clicks the inner-outer screen switching control in the interface as shown in FIG. 22a, the terminal device can display the display effect of the current arrangement result applied in the outer screen, for example, as shown in FIG. 22b, in the first screen, the desktop icons are arranged to avoid the figures in the outer screen wallpaper, and in the second page of the desktop, the desktop icons are not rearranged and can block the figures in the outer screen wallpaper. When the user switches other desktops, the desktop icons will not be rearranged and can block the figures in the outer screen wallpaper.
[0214] Optionally, if the user selects the inner-outer screen simultaneous arrangement option and the other screen option in FIG. 18b, the terminal device can apply the arrangement result to other screens except the first screen for preview, which is not described here.
[0215] Optionally, the user can also switch the wallpaper range option and the screen range option in the setting pop-up window. After switching, the terminal device can display the preview interface again according to the user's wallpaper range option and screen range option.
[0216] No matter whether the user selects the inner screen wallpaper or the outer screen wallpaper, the terminal device can arrange the desktop icons in the manner described above, except that when the inner screen is operated and displayed, the corresponding interface is switched to the inner screen display mode, which is not described here.
[0217] Optionally, in the interfaces shown in FIGS. 19-22, the terminal device can also display a pop-up window for setting the arrangement mode. The user can select and set other arrangement modes in the pop-up window, which is not described here. In the interfaces shown in FIGS. 19-22, after the user clicks the application icon, the terminal device can set the currently previewed effect as the desktop.
[0218] Optionally, when the terminal device is a folding screen device, the terminal device can fill the empty grids in each row based on the half screen. For example, the terminal device first fills the empty grids in each row in the left half screen, and then fills the empty grids in each row in the right half screen, that is, the left and right half screens fill the empty grids respectively.
[0219] The above describes the arrangement result of the folding screen device. Next, based on the interfaces shown in FIGS. 17-22, the detailed process of how to calculate the grid for arranging the desktop when the user selects the inner-outer screen simultaneous arrangement is described.
[0220] When the user selects the "inner-outer screen simultaneous arrangement" option, the terminal device arranges the desktop icons by taking into account the main objects of the inner screen wallpaper and the main objects of the outer screen wallpaper, and the specific manner is as follows:
[0221] For example, FIG. 23a is a schematic diagram of the grid of the inner screen desktop and the inner screen wallpaper, and FIG. 23b is a schematic diagram of the grid of the outer screen desktop and the outer screen wallpaper. As can be seen, the wallpapers of the inner screen and the outer screen are different, and the shapes and sizes of the main objects in the inner screen and the outer screen are also different. FIG. 24a is a schematic diagram of the overlap of the main object in the inner screen and the grid in the desktop shown in FIG. 23a. FIG. 24b is a schematic diagram of the overlap of the main object in the outer screen and the grid in the desktop shown in FIG. 23b.
[0222] FIG. 25a shows a manner of merging the main object of the inner screen wallpaper and the main object of the outer screen wallpaper, i.e., the main object in the outer screen wallpaper can be mapped in the left half screen and the right half screen of the inner screen respectively. Then, the terminal device can obtain the intersection area shown in FIG. 25b based on the mapping relationship shown in FIG. 25a, i.e., the black irregular figure area.
[0223] The terminal device screens the grids of the inner screen one by one, so as to select the first type of grids that overlap with the intersection area. FIG. 26a shows the overlap relationship between the intersection area and the grid. Based on the overlap relationship shown in FIG. 26a, the desktop icons in the inner screen desktop after intelligent winding are away from most of the intersection area. After intelligent winding, the inner screen desktop can be seen in FIG. 27a, the first page of the outer screen desktop can be seen in FIG. 27b, and the second page of the outer screen desktop can be seen in FIG. 27c. As can be seen, the desktop icons are arranged away from the main object of the inner screen wallpaper and the main object of the outer screen wallpaper, and the user can view a relatively complete main object whether in the inner screen or in the outer screen.
[0224] Alternatively, when the number of desktop icons is relatively large, it can not be possible to arrange all the desktop icons to be arranged away from the main object. The terminal device can arrange the desktop icons by avoiding only the third type of grid. FIG. 28 shows the arrangement effect in the case of a large number of desktop icons, taking the inner screen as an example. In FIG. 28a, the grid shown by the dashed line is the corresponding third type of grid such as the face area or the animal head area. The terminal device can only avoid the third type of grid, and arrange the desktop icons in the first type of grid and the second type of grid outside the third type of grid in turn. This manner can arrange a larger number of desktop icons, and does not block the main part of the main object, ensuring the user experience.
[0225] FIG. 29 shows an example of a third type of grid corresponding to the desktop icon avoidance of a face in the inner screen of the foldable screen device. As shown in FIG. 29a, the grid filled with diagonal lines is the third type of grid corresponding to the face region overlapping in the wallpaper. The terminal device can arrange the desktop icons in the grid other than the third type of grid. FIG. 29b shows the arrangement of the desktop icons based on the third type of grid shown in FIG. 29a. In FIG. 29b, the desktop icons are arranged in the grid filled with the "well" grid, and the grid shown by the dashed line is not arranged with the desktop icons. Alternatively, when the number of desktop icons is large, the desktop icons can be arranged in the grid shown by the dashed line.
[0226] In the inner screen of the foldable screen device, in order to prevent the arrangement of the desktop icons from being too scattered, the terminal device can also fill the empty grids in each row and each column. As shown in FIG. 30, the grid shown by the dashed line in FIG. 30 is an empty grid, and the grid shown by the solid line is a grid in which the desktop icons have been arranged. The terminal device first calculates the number of empty grids in each row in the left half screen, and determines that the number of empty grids in the third row of the left half screen and the fourth row of the left half screen is 1, which is less than the preset number threshold of 2. Alternatively, the terminal device can determine that the empty grids in the third row of the left half screen and the fourth row of the left half screen need to be filled, i.e., the desktop icons are arranged in the empty grids in the third row of the left half screen and the fourth row of the left half screen. Alternatively, the terminal device can first determine whether the empty grids in the third row of the left half screen and the fourth row of the left half screen are the third type of grid. If the empty grids are the third type of grid, the terminal device does not arrange the desktop icons in the empty grids. If the empty grids are not the third type of grid, the terminal device can arrange the desktop icons in the empty grids.
[0227] Continuing to refer to FIG. 30, next, the terminal device calculates the number of empty grids in each row in the right half screen, and determines that the number of empty grids in the fourth row of the right half screen is 2, which is equal to the preset number threshold of 2. Alternatively, the terminal device can determine that the empty grids in the fourth row of the right half screen need to be filled, i.e., the desktop icons are arranged in the empty grids in the fourth row of the right half screen. Alternatively, the terminal device can first determine whether the empty grids in the fourth row of the right half screen are the third type of grid. If the empty grids are the third type of grid, the terminal device does not arrange the desktop icons in the empty grids. If the empty grids are not the third type of grid, the terminal device can arrange the desktop icons in the empty grids.
[0228] Afterwards, the terminal device can further calculate the number of empty grids in each column of the first column to the eighth column, and find that the number of empty grids in the eighth column is 2, which is equal to the preset number threshold 2. Optionally, the terminal device can determine that the empty grids in the eighth column need to be filled, i.e., arranging desktop icons in the empty grids in the eighth column. Optionally, the terminal device can further first determine whether the empty grids in the eighth column are the third type of grids. If the empty grids in the eighth column are the third type of grids, the terminal device will not arrange desktop icons in the empty grids. If the empty grids in the eighth column are not the third type of grids, the terminal device can arrange desktop icons in the empty grids.
[0229] The above describes examples of the method provided in the present application in detail. It can be understood that the corresponding device includes the corresponding hardware structure and / or software module for implementing the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed in the present application, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0230] The present application can divide the function modules of the desktop icon display device according to the above method examples. For example, each function can be divided into a function module, or two or more functions can be integrated into one module. The above integrated module can be realized in the form of hardware or software function module. It should be noted that the division of modules in the present application is illustrative, and is only a logical function division. Actual implementation can have another division method.
[0231] FIG. 31 shows a structural schematic diagram of a desktop icon display device provided in the present application. The device 3100 applied to an electronic device includes a first screen and a second screen, and the device 3100 includes:
[0232] A first display module 3101 is configured to display a first interface on the first screen, and the first interface includes a first setting pop-up window, and the first setting pop-up window includes a first control corresponding to the first screen and a second control corresponding to the second screen.
[0233] The second display module 3202 is configured to, in response to a first selection operation of the user selecting the first control, display a first desktop in the first screen and display a second desktop in the second screen, an overlapping area of a desktop icon in the first desktop and a first target object in a first wallpaper being lower than an overlapping area of a desktop icon in the second desktop and a second target object in a second wallpaper, the first wallpaper being a wallpaper of the first screen, the second wallpaper being a wallpaper of the second screen, and the first wallpaper and the second wallpaper being different.
[0234] The second display module 3202 is further configured to, in response to a second selection operation of the user selecting the second control, display a third desktop in the first screen and display a fourth desktop in the second screen, an overlapping area of a desktop icon in the fourth desktop and the second target object being lower than an overlapping area of a desktop icon in the third desktop and the first target object.
[0235] The specific manners in which the apparatus 3100 performs the desktop icon display method and the beneficial effects produced thereby can be understood in light of the relevant descriptions in the method embodiments, which will not be repeated here.
[0236] The embodiments of the present application further provide an electronic device including the processor described above. The electronic device provided by the embodiments of the present application can be the terminal device 100 shown in FIG. 1, and is configured to perform the desktop icon display method described above. In the case of using an integrated unit, the terminal device can include a processing module, a storage module and a communication module. The processing module can be configured to control and manage the actions of the terminal device, for example, can be configured to support the terminal device to perform the steps performed by the display unit, the detection unit and the processing unit. The storage module can be configured to support the terminal device to execute program codes and data and the like. The communication module can be configured to support the terminal device to communicate with other devices.
[0237] The processing module can be a processor or a controller. It can realize or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor can also be a combination realizing a computing function, for example, a combination of one or more microprocessors, a combination of a digital signal processor (DSP) and a microprocessor, and the like. The storage module can be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and the like for interacting with other terminal devices.
[0238] In one embodiment, when the processing module is a processor and the storage module is a memory, the terminal device involved in the embodiments of the present application can be a device having the structure shown in FIG. 1.
[0239] The embodiment of the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program causes a processor to execute the desktop icon display method in any of the above embodiments when the computer program is executed by the processor.
[0240] The embodiment of the present application further provides a computer program product, which causes a computer to execute the above related steps to implement the desktop icon display method in the above embodiments when the computer program product is run on the computer.
[0241] The electronic device, the computer readable storage medium, the computer program product or the chip provided by the embodiment can be used to execute the corresponding method provided above, and thus the beneficial effects achieved by the electronic device, the computer readable storage medium, the computer program product or the chip can refer to the beneficial effects of the corresponding method provided above, which will not be described here again.
[0242] In the several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only schematic. The division of the modules or units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, access units, or intermediate units. The integrated unit can or can not be physically integrated, and can exist in one place or different places. Depending on the actual needs, some or all of the units can be selected to implement the purposes of the embodiments.
[0243] In addition, each functional unit in the embodiments of the present application can be integrated in one processing unit, or each unit can exist alone physically, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0244] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The software product is stored in a storage medium, including a plurality of instructions to make a device (which can be a single-chip microcomputer, a chip, etc.) or a processor execute all or part of the steps of the various embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0245] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method of displaying desktop icons, characterized by, The method is applied to an electronic device including a first screen and a second screen, and the method comprises: displaying a first interface on the first screen, the first interface including a first setting pop-up window, the first setting pop-up window including a first control corresponding to the first screen and a second control corresponding to the second screen; in response to a first selection operation of the user selecting the first control, displaying a first desktop on the first screen and a second desktop on the second screen, an overlapping area of a desktop icon in the first desktop and a first target object in a first wallpaper being lower than an overlapping area of a desktop icon in the second desktop and a second target object in a second wallpaper, the first wallpaper being a wallpaper of the first screen, the second wallpaper being a wallpaper of the second screen, and the first wallpaper and the second wallpaper being different; in response to a second selection operation of the user selecting the second control, displaying a third desktop on the first screen and a fourth desktop on the second screen, an overlapping area of a desktop icon in the fourth desktop and the second target object being lower than an overlapping area of a desktop icon in the third desktop and the first target object.
2. The method of claim 1, wherein, The first setting pop-up window further includes a third control corresponding to a home page desktop, and the response to the first selection operation of the user selecting the first control to display the first desktop on the first screen and the second desktop on the second screen comprises: receiving the first selection operation and receiving a third selection operation of the user selecting the third control; in response to the first selection operation and the third selection operation, displaying the first desktop on the first screen and the second desktop on the second screen, the first desktop being a home page desktop in multiple pages of desktops of the first screen, and the second desktop being a home page desktop in multiple pages of desktops of the second screen; The method further comprises: receiving a first sliding operation of the user in the first desktop; in response to the first sliding operation, displaying a fifth desktop on the first screen, an overlapping area of a desktop icon in the fifth desktop and the first target object being higher than an overlapping area of a desktop icon in the first desktop and the first target object.
3. The method according to claim 1 or 2, characterized in that, The first setting pop-up window further includes a fourth control corresponding to other desktops, the other desktops being desktops other than the home page desktop, and the response to the first selection operation of the user selecting the first control to display the first desktop on the first screen and the second desktop on the second screen comprises: receiving the first selection operation and receiving a fourth selection operation of the user selecting the fourth control; in response to the first selection operation and the fourth selection operation, displaying the first desktop on the first screen and the second desktop on the second screen, the first desktop being any one of the multiple pages of desktops of the first screen other than the home page desktop, and the second desktop being any one of the multiple pages of desktops of the second screen other than the home page desktop; The method further comprises: receiving a second sliding operation of the user in the first desktop; In response to the second sliding operation, a sixth desktop is displayed in the first screen, the sixth desktop being a first page desktop in multiple page desktops of the first screen, and an overlapping area of a desktop icon in the sixth desktop and the first target object being higher than an overlapping area of a desktop icon in the first desktop and the first target object.
4. The method according to any one of claims 1 to 3, characterized in that, The displaying the first desktop in the first screen in response to the first selection operation of the first control includes: In response to the first selection operation, a first editing interface is displayed in the first screen, a preview area of the first editing interface displays a first preview interface, the first preview interface includes a first preview wallpaper corresponding to the first wallpaper, and the first editing interface further includes a fifth control for applying the first preview interface. In response to a fifth selection operation of the fifth control performed by the user, the first preview interface is applied in the first screen to display the first desktop.
5. The method of claim 4, wherein, The first editing interface further includes a sixth control for switching preview interfaces of the first screen and the second screen, and the method further includes: The sixth selection operation of the sixth control performed by the user is received in the first editing interface; In response to the sixth selection operation, a second preview interface is displayed in the preview area of the first editing interface, the second preview interface includes a second preview wallpaper corresponding to the second wallpaper, and an overlapping area of a desktop icon in the first preview interface and a first target object in the first preview wallpaper is lower than an overlapping area of a desktop icon in the second preview interface and a second target object in the second preview wallpaper.
6. The method according to any one of claims 1 to 4, characterized in that, A main part of a desktop icon in the first desktop and a first target object in the first wallpaper does not overlap; A main part of a desktop icon in the fourth desktop and a second target object in the second wallpaper does not overlap.
7. The method of claim 6, wherein, The method further includes that other parts of the desktop icon in the first desktop and the first target object in the first wallpaper at least partially overlap, and other parts of the desktop icon in the fourth desktop and the second target object in the second wallpaper at least partially overlap.
8. The method according to any one of claims 1 to 7, characterized in that, The displaying the first interface in the first screen includes: A first setting pop-up window is displayed in the first screen, the first setting pop-up window includes a plurality of arrangement template options, and the plurality of arrangement template options include a first arrangement template option; A seventh selection operation of the first arrangement template option performed by the user is received; In response to the seventh selection operation, the first interface is displayed in the first screen.
9. The method of claim 8, wherein, The displaying the first interface in the first screen in response to the seventh selection operation includes: A second interface is displayed in the first screen, the second interface being a lock screen interface; In response to a first double-finger pinch operation performed in the second interface, a third interface is displayed, the third interface being a lock screen editing interface; In response to a third sliding operation performed by the user in the third interface, a fourth interface is displayed, the fourth interface being a desktop editing interface, and the fourth interface includes a seventh control; The seventh control is used for switching the first screen and the second screen. In response to an eighth selection operation of the user selecting the seventh control in the fourth interface, the first interface is displayed.
10. The method of claim 9, wherein, The displaying the first interface on the first screen in response to the seventh selection operation comprises: The first interface is a fifth interface, and the fifth interface is a desktop; In response to a second double-finger pinch operation performed on the fifth interface, a sixth interface is displayed, the sixth interface is a desktop editing interface, and the sixth interface comprises an eighth control; In response to a ninth selection operation of the user selecting the eighth control in the sixth interface, a seventh interface is displayed, and the seventh interface comprises a ninth control; In response to a tenth selection operation of the user selecting the ninth control in the seventh interface, the first interface is displayed.
11. The method according to any one of claims 1 to 10, characterized in that, The first setting pop-up window further comprises a tenth control corresponding to the first screen and the second screen; In response to an eleventh selection operation of the user selecting the tenth control, a seventh desktop is displayed on the first screen, and an eighth desktop is displayed on the second screen, the desktop icons in the seventh desktop do not overlap with the main part of the first target object in the first wallpaper, and the desktop icons in the eighth desktop do not overlap with the main part of the second target object in the second wallpaper.
12. The method of claim 11, wherein, The displaying the seventh desktop on the first screen and the eighth desktop on the second screen in response to the eleventh selection operation of the user selecting the tenth control comprises: In response to the eleventh selection operation, a second editing interface is displayed on the first screen, a third preview interface is displayed in a preview area of the second editing interface, the third preview interface comprises a first preview wallpaper corresponding to the first wallpaper, and the second editing interface further comprises an eleventh control, the eleventh control being used for applying the third preview interface; In the second editing interface, a twelfth selection operation of the user on the eleventh control is received; In response to the twelfth selection operation, the seventh desktop is displayed on the first screen, and the eighth desktop is displayed on the second screen.
13. The method of claim 12, wherein, The second editing interface further comprises a twelfth selection control, the twelfth selection control being used for switching preview interfaces of the first screen and the second screen, and the method further comprises: In the second editing interface, a thirteenth selection operation of the user on the twelfth selection control is received; In response to the thirteenth selection operation, a fourth preview interface is displayed in the preview area of the second editing interface, the fourth preview interface comprises a second preview wallpaper corresponding to the second wallpaper, the desktop icons in the third preview interface do not overlap with the main part of the first target object in the first preview wallpaper, and the desktop icons in the fourth preview interface do not overlap with the main part of the second target object in the second preview wallpaper.
14. The method of claim 1, wherein, The displaying the first desktop on the first screen comprises: A plurality of candidate grids in the first screen are obtained; The first wallpaper is parsed to obtain a first region, the first region being a region in which a first target object in the first wallpaper is distributed; From the plurality of candidate grids, a plurality of first-type grids that do not overlap with the first region are determined; The desktop icons in the first screen are arranged in the plurality of first type grids to display the first desktop.
15. The method of claim 14, wherein, The arranging the desktop icons in the first screen in the plurality of first type grids to display the first desktop comprises: If the number of the plurality of first type grids is less than the number of the desktop icons in the first screen, a second region is obtained by parsing the first wallpaper, the second region being a region in which a main part of the first target object in the first wallpaper is distributed; At least one second type grid different from the plurality of first type grids is determined from the plurality of candidate grids, the at least one second type grid being overlapped with the first region and not overlapped with the second region; The desktop icons in the first screen are arranged in the plurality of first type grids and the at least one second type grid to display the first desktop, the desktop icons in the first screen and the second region being not overlapped.
16. The method of claim 11, wherein, The displaying the seventh desktop in the first screen and the eighth desktop in the second screen in response to the eleventh selection operation of selecting the tenth control by the user comprises: An intersection region of the first target object and the second target object is obtained; A plurality of first candidate grids in the first screen are obtained; A plurality of first type grids not overlapped with the intersection region are determined from the plurality of first candidate grids in the first screen; The desktop icons in the first screen are arranged in the plurality of first type grids in the first screen to display the seventh desktop; A plurality of second candidate grids in the second screen are obtained; A plurality of first type grids not overlapped with the intersection region are determined from the plurality of second candidate grids in the second screen; The desktop icons in the second screen are arranged in the plurality of first type grids in the second screen to display the eighth desktop.
17. The method of claim 16, wherein, The intersection region is a region in which the main part of the first target object and the main part of the second target object are located.
18. The method of any one of claims 1 to 17, wherein, The first screen is an inner screen, the second screen is an outer screen, the first screen is a foldable screen, and an area of the first screen is larger than an area of the second screen.
19. An electronic device, comprising: The electronic device comprises a first screen and a second screen, and further comprises a processor, a memory and an interface; The processor, the memory and the interface cooperate with each other to enable the electronic device to perform the method in any one of claims 1 to 18.
20. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the processor performs the method in any one of claims 1 to 18. The computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the processor performs the method in any one of claims 1 to 18.
Citation Information
Patent Citations
Desktop icon display method and device
CN103246500A
Information processing method and electronic equipment
CN104216614A
Desktop icon management method and terminal equipment
CN110244884A
Desktop display control method and device, terminal and storage medium
CN113010056A
Wallpaper linkage interaction method and device and computer readable storage medium
CN114415910A